@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  /* border: 1px solid red; */
}

html, body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

a {
  text-decoration: none;
}

a:hover {
  color: green;
}

.show {
  display: none;
}

/* Preheader */
#preheader {
  width: calc(100% - 1.2rem);
  padding: 0.6rem;
  font-size: 1.4rem;
  line-height: 1.4rem;
  background-color: #e2e2e2;
}

#preheader>div {
  max-width: 120rem;
  margin: auto;
}

/* Preheader ends */
/* header */
header {
  max-width: 120rem;
  height: 15rem;
  margin: auto;
  clear: both;
}

header #title {
  width: 100%;
  height: 12rem;
}

header #slogan h2 {
  font-weight: bold;
  color: #999999;
  width: calc(100% - 4.6rem);
  text-align: center;
  font-size: 1.6rem;
  padding: 0.6rem;
}

#logo {
  width: 32rem;
  height: auto;
  float: left;
}

#logo a img {
  width: 100%;
  height: auto;
}

/* header ends */
/* Add Ad */
#addadbttn {
  width: 20rem;
  height: 3.6rem;
  font-size: 1.8rem;
  font-weight: bold;
  background-color: #FF0000;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  line-height: 3.6rem;
  display: block;
  float: left;
}

#addadbttn:hover {
  background-color: #FF6600;
}

#addadbttn a:hover {
  background-color: #FF6600;
}

/* Add Ad ends */
/* searchbox */
#searchbox {
  margin: 6rem 0 0 3rem;
  padding: 1.6rem;
  height: auto;
  max-width: 44rem;
  width: calc(100% - 3.2rem);
  clear: both;
  float: left;
  background-color: white;
  border: 1px solid blue;
}

#searchbox form {
  margin: 0px;
}

#searchbox fieldset {
  border: 0;
}

#searchbox legend {
  width: 100%;
  color: #2E3192;
  font-size: 1.4rem;
  padding: 0 0 1.4rem 0;
}

#searchbox input[type="text"] {
  box-sizing: border-box;
  display: block;
  float: left;
  width: 70%;
  height: 4rem;
  font-size: 2rem;
  padding-left: 0.6rem;
  margin: 0;
  border: .2rem solid gray;
}

#searchbox input[type="submit"] {
  box-sizing: border-box;
  display: block;
  float: left;
  width: 30%;
  height: 4rem;
  background-color: #FF0000;
  color: #FFFFFF;
  font-weight: bolder;
  border: 0;
}

#searchbox input[type="submit"]:hover {
  background-color: orange;
}

#searchbox input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
}

#searchbox p {
  margin-bottom: 0.4rem;
}

#searchbox p label {
  font-size: 1.4rem;
  line-height: 2rem;
}

/* searchbox ends */
body>#slogan {
  background-image: url('graficos/bluebar.jpg');
  background-repeat: repeat-x;
  padding-top: 0.7rem;
  height: 3.3rem;
  width: 100%;
  text-align: center;
  color: white;
}

#banner {
  height: 360px;
  width: 100%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%), url('graficos/bg_banner.jpg');
  background-size: cover;
  clear: both;
}

#banner>div {
  max-width: 120rem;
  margin: auto;
}

#banner>div div:first-of-type {
  font-size: 2.4em;
  font-weight: bold;
  color: white;
  margin: 1em;
  padding: 0.3em;
  float: left;
  text-shadow: 2px 2px 4px black;
}

#banner div:first-of-type a {
  color: white;
}

#menu {
  height: 3.6rem;
  width: 100%;
  clear: both;
  border-bottom: .4rem solid #666666;
}

#menu>div {
  max-width: 120rem;
  margin: auto;
}

#catnav {
  background-color: #666666;
  height: 3rem;
  margin-top: .6rem;
  max-width: 120rem;
  width: calc(100% - 20rem);
  float: left;
}

#catnav a {
  font-weight: bold;
  text-decoration: none;
  color: #FFFFFF;
}

#catnav a:hover {
  background-color: #F04E00;
}

#catnav ul {
  height: auto;
}

#catnav li {
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#catnav ul #submenu {
  font-size: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
  border-top: .4rem solid #F04E00;
  border-bottom: 4rem solid gray;
  background-color: #EFEFEF;
  display: none;
  /* here none */
  position: absolute;
}

#cat:hover #submenu {
  display: block;
  left: 0;
}

#catnav ul li #submenu ul {
  display: block;
  float: left;
  margin: 1.2rem .6rem 0 3.4rem;
  padding-right: 1.6rem;
  min-height: 24rem;
  border-right: 1px solid gray;
}

#catnav ul li #submenu ul li:first-of-type {
  list-style-type: none;
  margin-left: -1.6rem;
}

#catnav ul li #submenu ul li {
  float: none;
  position: relative;
  background-color: #EFEFEF;
  list-style-type: disc;
}

#catnav ul li #submenu a {
  text-decoration: none;
  background-color: #EFEFEF;
  color: #003399;
}

#catnav ul li #submenu a:hover {
  color: #CC0000;
  color: green;
}

#cat>a {
  line-height: 3rem;
  height: 3rem;
  padding: 0 1.6rem;
  display: inline-block;
  border-right: .1rem solid black;
  font-size: 1.8em;
}

#submenu {
  width: 100%;
  height: auto;
}

#submenu div {
  width: 100%;
  height: auto;
  clear: right;
}

#content #pieanuncios a {
  text-decoration: none;
}

#content td {
  font-size: 10px;
}

#content>div {
  max-width: 96rem;
  margin: auto;
}

#content>div p, #content>div li {
  font-size: 1.6rem;
  padding: 1rem;
}

/* Ad */
.ad {
  color: #0000CC;
  width: 33rem;
  height: 22rem;
  border: 1px solid blue;
  padding: 1rem;
  margin: 1rem;
  float: left;
  font-size: 1.4em;
}

.ad:hover {
  background-color: #FFFFCC;
}

.ad ul {
  list-style-type: none;
}

.ad .image ul a {
  font-size: 1.2rem;
  line-height: 18rem;
}

.ad .image li img {
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
}

.ad div {
  float: left;
}

.ad .image {
  width: 11rem;
  height: 11rem;
  float: left;
}

.ad .image img {
  width: 100%;
  height: 100%;
  border: 1px solid blue;
}

.ad .info {
  width: calc(100% - 12.6rem);
  margin-left: 1.4rem;
  float: left;
}

.ad .title {
  font-size: 1.6rem;
  line-height: 1.6rem;
  height: 3.2rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.ad .state {}

.ad .price {
  text-align: right;
}

.ad .description {
  width: 100%;
  height: 10.8rem;
  margin-bottom: 1rem;
}

.ad .iddate {
  color: gray;
  font-size: 1rem;
}

.ad .showfull {
  border: 1px solid green;
  margin-top: .4rem;
  padding: .2rem;
  background-color: #ffc882;
  text-align: center;
}

/* Ad ends */
#pager {
  clear: both;
  border-bottom: 1px solid gray;
  padding: 2rem;
  background-color: #fcfcfc;
}

#pager a {
  font-size: 1.6rem;
}

#pager a.current {
  color: #000000;
  font-weight: bold;
}

#pager a.paginate {
  font-weight: bold;
}

footer {
  clear: both;
  background-color: #e2e2e2;
}

footer>div {
  padding: 2rem;
  max-width: calc(120rem - 2rem);
  margin: auto;
}

footer p {
  font-size: 12px;
}

footer a {
  text-decoration: none;
}

.servername {
  color: white;
}

.foto {
  width: 120px;
  float: left;
  text-align: center;
}

.warnings {
  font-size: 1.4rem;
  color: red;
}

/* Registration */
#reprolo {
  max-width: 36rem;
  width: calc(100% - 3rem);
  margin: auto;
  padding: 0 1rem 0 1rem;
}

#reprolo h2 {
  font-size: 2rem;
}

#reprolo table {
  width: 100%;
  border-spacing: 0 1rem;
  border-collapse: separate;
}

#reprolo input[type="text"], #reprolo input[type="password"], #reprolo input[type="submit"], #reprolo textarea {
  width: 100%;
  height: 3.6rem;
  border: 2px solid gray;
  padding-left: .4rem;
  box-sizing: border-box;
  font-size: 1.6rem;
}

#reprolo input[type="file"] {}

#reprolo textarea {
  height: 20rem;
  border: 2px solid gray;
}

#reprolo select {
  border: 2px solid gray;
  width: calc(50% - 4px);
  height: 3.6rem;
}

#reprolo label {
  font-size: 1.2rem;
}

/* Full ad */
#full {
  height: 1100px;
  max-width: 72rem;
  width: 100%;
  height: auto;
  margin: auto;
}

#full div:first-of-type {
  font-size: 1.4rem;
  padding: 1.6rem;
}

#full #ad {
  box-sizing: border-box;
  width: 70%;
  float: left;
}

#full #ad .mainimg {
  background-color: gray;
}

#full #ad .mainimg img {
  width: 100%;
  height: auto;
}

#full #ad h1, #full #ad h2, #full #ad p {
  margin: 1.6rem;
}

#full div#contact {
  box-sizing: border-box;
  width: 30%;
  padding: .6rem;
  float: left;
  background-color: #FFFFCC;
  border: .1rem solid orange;
}

#full #contact h2 {
  font-size: 1.4rem;
  padding-bottom: 2rem;
}

#full #contact table {
  width: 100%;
}

#full #contact textarea, #full #contact input[type="text"], #full #contact input[type="submit"] {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid gray;
  height: 3rem;
}

#full #contact input[type="submit"] {
  background-color: green;
  color: white;
  font-weight: bold;
}

#full #contact textarea {
  height: 12rem !important;
}

#full #contact label {
  display: inline-block;
  font-size: 1.4rem;
  padding: .6rem 0 .3rem 0;
}

/* full ad ends */
#addimagelink {
  color: #000066;
  cursor: pointer;
  text-decoration: underline
}

/* Registration ends */
@media only screen and (max-width: 640px) {
  #searchbox {
    margin: 0;
    padding: 1rem;
    height: auto;
    width: calc(100% - 2.2rem);
  }

  #catnav {
    width: calc(100% - 20rem);
  }

  .hide {
    display: none;
  }

  .show {
    display: inline;
  }

  .ad {
    width: calc(100% - 3.4rem);
    height: 22rem;
    padding: 1.6rem;
    margin: 0;
    float: left;
    font-size: 1.4em;
  }
}

#activationmsg {
  margin-top: 3em;
  font-size: 1.6em;
}
