body, html {
  width: 100%;
  overflow-x: hidden;
}
body {
  font: 75% Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 0;
  background: #529ac9;
}
#webc{
  background: white;
  float: left;
  width: 100%;
  border-bottom: 3px solid #1475b4;
  padding-bottom: 50px;
}
#web{
  width: 960px;
  margin: 0 auto;
  padding: 10px 0 0 0;
}
a img{
  border: 0;
}
a{
  color: #0376af;
}
#home h1{
  color: #1475b4;
  font-size: 120%;
  text-transform: uppercase;
  margin: 60px 0 10px 0;
  padding: 0;
}
#home p{
  margin: 5px 0;
}
#header img{
  margin: 7px 0;
}
p, li{
  line-height: 180%;
}
form{
  margin: 50px 0 0 0px;
}
form#contactform{
  margin: 0;
}
label{
  display: block;
  margin-bottom: 10px;
}
#footer, #header, #prefooter{
  text-align: left;
  width: 960px;
  margin: 0 auto;
  padding: 0;
}
#breadcrumbs{
  width: 960px;
  margin: 0 auto;
}
#breadcrumbs p{
  width: 750px;
  float: left;
  text-align: left;
  margin: 0;
  padding: 0;
}
#footer{
  padding: 20px 0;
  margin-bottom: 30px;
  color: white;
  text-align: center;
}
#footer a{
  text-decoration: none;
  color: white;
  padding-right: 10px;
}
#footer a:hover{
  color: #0376af;
}
#breadcrumbs{
  background: #fee6c5;
  border-top: 2px solid #f9a22f;
  padding: 5px;
}
#breadcrumbs a{
  padding: 0 5px;
  text-decoration:none;
}
#breadcrumbs span{
  padding: 0 5px;
}
#breadcrumbs span.origenName, #breadcrumbs span.destinoName{
  padding: 0;
}
ul.places{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.places li{
  width: 182px; margin-right: 10px; text-align: left; float: left; list-style: none;
}
ul.states li{
  width: 132px; margin-right: 5px; text-align: left; float: left; list-style: none;
  font-size: 85%;
}
ul.placeslong{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.placeslong li{
  width: 300px; margin-right: 10px; text-align: left; float: left; list-style: none;
}

ul.distances{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.distances li{
  width: 182px; width: 230px; margin-right: 10px; text-align: left; float: left; list-style: none;
  margin-bottom: 8px;
}
ul.distances a {
  text-decoration:none; color: #b8c2c8;
}
ul.distances span{
  font-size: 80%; display:block; line-height: 110%;
}
ul.distances strong{
  color: #0376af; font-size: 105%; font-weight: normal;
}

ul.random{
  margin: 0 0 30px 0;
  padding: 0;
  float: left;
  width: 100%;
}
ul.random li{
  width: 310px; margin-right: 10px; text-align: left; float: left; list-style: none;
  font-size: 95%;
}

#straightbox strong{
  color:#e14ed5;
}
#straightbox, #drivingbox, #timebox{
  display: block;
  float: left;
  width: 33%;
  text-align: center;
}
#straightbox strong, #drivingbox strong, #timebox strong{
  font-size: 200%;
  display: block;
  margin-bottom: 4px;
}
#drivingbox{
  border-left: 1px dotted #ccc;
  border-right: 1px dotted #ccc;
}
#drivingbox strong{
  color: #5b5ebd;
}
#timebox strong{
  color: #8bd708;
}

form #from, form #to{
  padding: 2px;
}

#pagination {
  display:block;
  height:25px;
  line-height:21px;
  clear:both;
  padding-top:3px;
  font-family:Arial, Helvetica, sans-serif;
  font-size:14px;
  font-weight:normal;
  text-align: center;
  margin-left: -10px;
  margin-bottom: 20px;
}

#pagination a, #pagination a{
  padding:3px 7px;
  border:1px solid #EBEBEB;
  margin-left:8px;
  text-decoration:none;
  background-color:#F5F5F5;
  color:#0376af;
  width:18px;
  font-weight:normal;
}

#pagination a:hover {
  background-color:#DDEEFF;
  border:1px solid #BBDDFF;
  color:#0376af;  
}

#pagination .active {
  border:1px solid #BBDDFF;
  background-color:#DDEEFF;
  cursor:default;
}

#pagination .disabled {
  padding:7px;
  padding-top:2px;
  padding-bottom:2px;
  border:1px solid #EBEBEB;
  margin-left:10px;
  text-decoration:none;
  background-color:#F5F5F5;
  color:#D7D7D7;
  cursor:default;
}

#fromInfo{
  float: left;
}
#toInfo{
  float: right;
}
.info{
  width: 440px;
}
.info img{
  padding: 1px;
  border: 1px solid #ccc;
  margin: 4px;
}

form#searchcities{
  background: #529ac9;
  width: 680px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  padding: 3px;
  margin: 0;
  margin: 30px auto 8px;
}
form#searchcities div{
  background: #c3e1f4;
  width: 660px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 20px 10px;
  text-align: center;
}
#searchcities input{
  font-size: 150%;
  padding: 4px;
  vertical-align:middle;
}
#searchcities input.text{
  width: 200px;
}

#home h2{
  border-bottom: 1px solid #ddd;
}
#home #footer h2{
  border:0;
}
#home h2 a{
  text-decoration: none;
  color: black;
  padding-left: 25px;
  background-repeat: no-repeat;
  background-position: 3px 3px;
  margin-right: 3px;
}
#country{
  background: #fee6c5;
  -moz-border-radius: 5px;
  border-radius: 5px;
  float:left;
  margin-top: 14px;
  padding: 2px 10px 0;
  width: 38px;
  position: relative;
}
#country ul{
  display:none;
  margin: 0;
  padding: 10px 10px 5px 10px;
  background: #fee6c5;
  -moz-border-radius: 5px;
  border-radius: 5px;
  float: left;
  width: 100px;
  position: absolute;
  top: 20px;
  left: 0px;
}
#country li{
  list-style: none;
  margin: 0 -10px;
}
#country li a{
  background-position: 10px 6px;
  background-repeat: no-repeat;
  color: black;
  display: block;
  padding: 1px 0 1px 32px;
  text-decoration: none;
}
#country li.active{
  background-color:#fef2e2;
}
#country li:hover{
  background-color:#f9c581;
}

#footer #countries{
  padding: 0;
  float:left;
  margin: 0;
  clear:both;
}
#footer #countries li{
  list-style: none;
  float: left;
  margin: 0 4px 0;
}
#footer #countries img{
  border:1px solid white;
}

#socialhome{
  text-align: center;
  position: relative;
  width: 371px;
  margin: 0 auto;
  height: 157px;
  padding: 0;
  float: none;
  background: url('/circulo.jpg') no-repeat center;
}
#socialhome div{
  position: absolute;
  top: 30px;
}
#socialhome div:first-of-type {
  left: 55px;
}
#socialhome div:nth-of-type(2) {
  left: 120px;
}
#searchform input[type="text"]{
  width: 130px;
}
#searchform {
  float: right;
  margin: 8px 0;
}
#header > a > img {
  margin-top: 8px;
}
#mobile-menu {
  display: none;
}
#map_canvas {
  height: 280px; width: 623px;
}
#straightbox strong, #straightbox span{
  color:#e14ed5;
}
#straightbox, #drivingbox, #timebox{
  display: block;
  float: left;
  width: 318px;
  text-align: center;
  padding: 17px 0 8px 0;
  min-height: 46px;
}
#straightbox strong, #drivingbox strong, #timebox strong{
  font-size: 200%;
  display: block;
  margin-bottom: 4px;
}
#straightbox{
  background-color: #fdf0fc; 
}
#drivingbox{
  border-left: 1px dotted #ccc;
  border-right: 1px dotted #ccc;
  background-color: #f2f2fe;
}
#timebox{
  background-color: #f8ffed;
  width: 320px;
}
#drivingbox strong, #drivingbox span{
  color: #5b5ebd;
}
#timebox strong{
  color: #8bd708;
}
#main-column {
  float: left;width:620px;
}
.adp, .adp table {
  width: 100%;
}
#contactform {
  width: 450px;
}
#contact-name {
  float:left; width: 215px; margin-right: 18px
}
#contact-email {
  float:left; width: 215px;
}
#contactform textarea {
  width: 445px; height: 190px
}

@media screen and (max-width: 960px) {
  #web, #footer, #header, #prefooter {
    width: 95%;
  }
  ul.places li {
    width: calc(100%/3 - 10px);
  }
  #countries li {
    margin-bottom: 5px;
  }
  #breadcrumbs {
    width: 100%;
  }
  #breadcrumbs p {
    width: 100%;
  }
  #drivingbox, #straightbox, #timebox {
    width: calc(100%/3 - 1px);
  }
  #map_canvas {
    width: 100%;
  }
  .info {
    width: 100%;
  }
  #main-column {
    width: 100%;
  }
}
@media screen and (max-width: 715px) {
  #header {
    text-align: center;
  }
  #header #logo {
    text-align: center;
    float: none;
  }
  ul.places li {
    width: calc(100%/2 - 10px);
  }
  form#searchcities {
    width: 95%;
    margin: 10px auto 30px;
  }
  form#searchcities div {
    width: auto;
  }
  #searchcities input.text, #searchform input[type="text"] {
    width: calc(100% - 8px);
  }
  #searchcities input[type="submit"], #searchform input[type="submit"] {
    width: 100%;
  }
  input[type="submit"] {
    margin-top: 10px;
    width: 255px;
    padding: 10px 0 !important;
    background: #1475B4;
    box-shadow: 0px 2px 0px #004775;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
  }
  #searchform input[type="text"] {
    font-size: 150%;
    padding: 4px;
    vertical-align: middle;
  }
  #searchcities span {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
  }
  #breadcrumbs {
    display: none;
  }
  #searchform {
    width: 100%;
    display: none;
  }
  #mobile-menu {
    cursor: pointer;
    float: right;
    display: block;
    margin-top: 15px;
    width: 30px; height: 30px;
    background: url('/images/mobile-search.svg') no-repeat top 3px right 1px;
    background-size: 27px 27px;
  }
  #mobile-menu.on {
    background: url('/images/mobile-searchx.svg') no-repeat top 0 right 0;
    background-size: 30px 30px;
  }
  #drivingbox, #straightbox, #timebox {
    width: 100%;
    margin: 5px 0;
    border: none;
  }
  #country {
    float: right;
  }
  #pagination a, #pagination a {
    margin-left: 10px;
    margin-bottom: 10px;
    display: block;
    float: left;
    padding: 10px 0;
    text-align: center;
    width: calc(100%/8 - 12px);
  }
}
@media screen and (max-width: 580px) {
  #pagination a, #pagination a {
    width: calc(100%/6 - 12px);
  }
  #header > a > img {
    width: calc(100% - 98px);
    margin-top: 10px;
  }
  #webc {
    padding-bottom: 25px;
  }
  h1, h2, h3, h4, li, li a, p, li, ul.random {
    text-align: center;
  }
  ul.random {
    width: 100%;
    margin: 0; padding: 0;
  }
  li, ul.random li {
    line-height: 1.5;
    font-size: 16px;
    text-align: center;
    margin: 0; padding: 0;
    width: 100%;
    margin-bottom: 15px;
  }
  ul.places li {
    text-align: center;
    width: calc(100% - 10px);
  }
  #mobile-menu {
    margin-left: 10px;
  }
  #home h1 {
    font-size: 21px;
    margin: 10px 0;
  }
  #home h2 {
    padding-bottom: 10px;
  }
  #home h2 a {
    font-size: 18px;
  }
  ul.places:last-of-type {
    margin: 0;
  }
  #countries {
    margin: 0;
  }
  #header #countries {
    padding: 0;
  }
  #header #country li {
    width: auto;
    display: block;
    margin: 10px 0;
  }
  #countries li {
    margin-bottom: 10px;
    float: none;
    display: inline-block;
    width: calc(100%/3 - 8px);
  }
  #countries li a {
    line-height: 1.5;
  }
  #langs {
    font-size: 0;
  }
  #langs a {
    display: block;
  }
  #footer > p > a, #footer p:first-of-type {
    font-size: 16px;
    line-height: 300%;
  }
  #country-bg {
    background-position: center top 250px !important;
    background-size: 100% !important;
    height: 230px !important;
    margin-top: -270px !important;
    padding-top: 330px !important;
  }
  #contactform {
    width: 95%;
  }
  #contactform input {
    font-size: 150%;
    padding: 4px;
    vertical-align: middle;
    width: 100%;
  }
  #contact-name, #contact-email, #contactform textarea {
    width: 100%; margin: 10px 0;
  }
  #lightbox-container-image-box, #lightbox-container-image {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    padding: 0;
  }
  #lightbox-image {
    max-width: calc(100% - 20px);
    padding: 10px !important;
  }
  #lightbox-container-image-data-box {
    width: calc(100% - 20px) !important;
  }
  .panofotos {
    text-align: center;
  }
  ul {
    padding: 0;
  }
  #header #countries {
    left: auto;
    right: 0;
    width: 170px;
  }
  #header #country li {
    width: 100%;
    display: block;
  }
  #header #country li a {
    text-align: left;
  }
  p {
    font-size: 16px;
  }
}