@import url('https://fonts.googleapis.com/css?family=Lato:400,700');
body {
  width: 100%;
  max-width: 800px;
  margin: 15px auto;
  background-color: #fff;
  color: #000;
}
body,
th,
td,
div,
button {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}
a {
  color: #333;
}
a:visited {
  color: #333;
}
a:active {
  color: red;
}
a:hover {
  color: #840000;
  text-decoration: none;
}
table {
  border-collapse: collapse;
}
form {
  display: inline;
}
button {
  color: #fff;
  background: #333;
  border: none;
  padding: 4px 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}
button:hover {
  background: #c00;
  cursor: pointer;
}
img {
  border: 0;
}
p {
  margin-top: 0;
}
abbr {
  border-bottom: 1px dotted black;
  cursor: help;
}
.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}
table td.caption {
  color: inherit;
  font-weight: bold;
}
input,
textarea,
select {
  font-family: 'Lato', sans-serif;
  color: #333;
  font-size: 12px;
  padding: 2px;
}
#header {
  text-align: left;
  margin-bottom: 10px;
  padding: 0 15px;
  position: relative;
}
#header .logo {
  width: 393px;
  height: 58px;
  margin-top: 3px;
}
#header h1.title {
  font-size: 11px;
  margin: -5px 2px 0 1px;
  text-transform: uppercase;
  /*border-bottom: 3px dotted @color-red;*/

  letter-spacing: 1px;
  word-spacing: 3px;
}
#header .banner {
  border: 0px solid #666;
  position: absolute;
  top: 6px;
  right: 45px;
}
#sidebar {
  margin-top: 8px;
}
#sidebar div {
  background-color: #F7F7F7;
  border: 1px solid #000;
  padding: 8px;
  font-size: 14px;
  margin-bottom: 0;
}
#sidebar div a {
  font-size: 14px;
}
#sidebar div br {
  display: none;
}
#sidebar div.banner {
  display: none;
  text-align: center;
  padding-bottom: 5px;
}
#sidebar div:first-child {
  font-size: 12px;
  line-height: 21px;
}
#sidebar h3 {
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 8px 0;
}
#meta-nav {
  background-color: #cc0000;
  border: 1px solid #000;
  color: #FFFFFF;
  padding: 3px 15px;
}
#meta-nav a {
  color: #FFFFFF;
}
#meta-nav .breadcrumb {
  float: left;
  font-size: 18px;
  font-weight: bold;
}
#meta-nav .breadcrumb a {
  font-weight: normal;
  font-size: 14px;
  position: relative;
  bottom: 1px;
}
#meta-nav .add-ad {
  float: right;
  line-height: 16px;
  font-weight: bold;
}
#meta-nav .add-ad a {
  display: inline-block;
  background: #fff;
  color: #333;
  font-size: 12px;
  text-decoration: none;
  padding: 1px 4px 1px 5px;
  margin-top: 1px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#meta-nav .add-ad a span {
  font-weight: normal;
  font-size: 13px;
  padding-right: 1px;
}
#meta-nav .add-ad a:hover {
  color: #c00;
}
#footer {
  clear: both;
  text-align: center;
  padding-bottom: 8px;
}
#footer .banner {
  padding: 8px 0 15px 0px;
  /*
    img,
    .right {
      border: 1px solid #666;
    }
    */

}
#footer .meta {
  font-size: 12px;
  font-weight: bold;
}
#footer .meta a {
  color: #000;
}
.index-container {
  border: 1px solid #000;
  background-color: #F7F7F7;
  padding: 15px;
}
.index-container .intro {
  line-height: 20px;
  margin-bottom: -10px;
}
.index-container h2 {
  clear: both;
  background-color: #cc0000;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 3px 7px;
  margin: 30px 0 8px 0;
  border: 1px solid #000;
}
.category {
  float: left;
  width: 47%;
  padding: 0 8px;
}
.category a {
  font-weight: bold;
  font-size: 20px;
}
.category .ad-count,
.category .last-entry,
.category .last-entry-date {
  font-size: 11px;
}
#browse-ads table {
  width: 100%;
}
#browse-ads tr {
  background-color: #F7F7F7;
}
#browse-ads tr:nth-child(odd) {
  background-color: #eaeaea;
}
#browse-ads tr:hover {
  background-color: #fff;
}
#browse-ads th,
#browse-ads td {
  border: 1px solid #999;
}
#browse-ads th {
  font-weight: bold;
  background-color: #eaeaea;
  text-align: center;
  padding: 3px 6px;
  border-top: none;
}
#browse-ads td {
  text-align: center;
  padding: 3px 6px;
  font-size: 12px;
}
#browse-ads td a {
  font-size: 11px;
  display: inline-block;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 1px 4px 1px 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#browse-ads td a :visited {
  background: #999;
}
#browse-ads td a :hover {
  background: #c00;
}
#browse-ads td .ad-id,
#browse-ads td .date {
  font-size: 10px;
}
#browse-ads td .banner {
  padding: 2px 0;
}
#browse-detail {
  border: 1px solid #000;
  border-top: none;
  padding: 21px 24px 24px 24px;
  background-color: #F7F7F7;
}
#browse-detail .base-info {
  font-size: 11px;
  font-weight: bold;
  color: #aa0000;
  padding: 0 0 3px 9px;
}
#browse-detail .base-info span {
  color: #007700;
}
#browse-detail table {
  width: 100%;
  margin-bottom: 8px;
  line-height: 20px;
}
#browse-detail table td {
  padding: 3px;
  border-top: 1px solid #000;
}
#browse-detail table td.caption {
  padding-left: 8px;
  width: 25%;
  vertical-align: top;
  font-weight: bold;
}
#browse-detail table tr:last-child td {
  border-bottom: 1px solid #000;
}
#browse-detail .bookmark {
  font-size: 10px;
  font-weight: bold;
  margin: 22px 0 -10px -10px;
}
#add-form {
  border: 1px solid #000;
  border-top: none;
  padding: 15px 10px;
  background-color: #F7F7F7;
}
#add-form table {
  width: 100%;
}
#add-form table td {
  padding: 5px;
}
#add-form table td.caption {
  width: 200px;
}
#add-form table tr:last-child td {
  text-align: center;
}
#add-form .required {
  color: #cc0000;
}
#add-form textarea {
  width: 100%;
  height: 130px;
  padding: 3px;
}
#add-form span.hint {
  color: #aaa;
  font-size: 10px;
  font-weight: normal;
}
#add-form div.hint {
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  padding: 5px;
}
#message {
  border: 1px solid #000;
  border-top: none;
  text-align: center;
  background-color: #F7F7F7;
  padding-top: 12px;
}
#message .error {
  color: #880000;
}
#message .success {
  color: green;
}
#page {
  background-color: #F7F7F7;
}
#page .content {
  border: 1px solid #000;
  border-top: none;
  padding: 5px;
  line-height: 20px;
}
::-webkit-input-placeholder {
  /* WebKit browsers */

  color: transparent;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */

  color: transparent;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */

  color: transparent;
}
:-ms-input-placeholder {
  /* Internet Explorer 10+ */

  color: transparent;
}
@media (max-device-width: 700px) and (orientation: portrait) {
  #header img {
    width: 100%;
    height: auto;
  }
  #header img h1.title {
    font-size: 66%;
    text-align: center;
  }
  .index-container,
  .index-container .category,
  #sidebar,
  #browse-ads,
  #page {
    float: none;
    width: auto;
  }
  #sidebar {
    margin-top: 8px;
    margin-left: 0;
  }
  #sidebar div {
    width: auto !important;
    font-size: 1rem !important;
    margin-right: 0 !important;
    margin-bottom: 8px;
    float: none;
  }
  .category {
    margin-bottom: 6px;
  }
  #browse-ads .date,
  #browse-ads .plz {
    display: none;
  }
}
