/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  line-height: 1.4;
}
body{
    background-color: #fff;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}
a, .alink {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   www.codesigner.com.mx
   ========================================================================== */
   /* fonts */
@font-face {
    font-family: 'airbnb_cereal_appblack';
    src: url('../fonts/airbnbcerealblack-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcerealblack-webfont.woff') format('woff');

}
@font-face {
    font-family: 'airbnb_cereal_appbold';
    src: url('../fonts/airbnbcerealbold-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcerealbold-webfont.woff') format('woff');

}
@font-face {
    font-family: 'airbnb_cereal_appbook';
    src: url('../fonts/airbnbcerealbook-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcerealbook-webfont.woff') format('woff');

}
@font-face {
    font-family: 'airbnb_cereal_appextra_bold';
    src: url('../fonts/airbnbcerealextrabold-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcerealextrabold-webfont.woff') format('woff');

}
@font-face {
    font-family: 'airbnb_cereal_applight';
    src: url('../fonts/airbnbcereallight-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcereallight-webfont.woff') format('woff');

}
@font-face {
    font-family: 'airbnb_cereal_appmedium';
    src: url('../fonts/airbnbcerealmedium-webfont.woff2') format('woff2'),
         url('../fonts/airbnbcerealmedium-webfont.woff') format('woff');

}
.txt-yellow{
  color: #dd9b4b;
}
.txt-center{
  text-align: center;
}
.txt-right{
  text-align: right;
}
.txt-left{
  text-align: left;
}
p {
    font-size: 1.1em;
    line-height: 1.6em;
    font-family: airbnb_cereal_applight;
}
/* icons */
.icon {
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: 0 5px;
}
.i-fb{
  background-image: url("../images/icons/i-fb.png");
  height: 25px;
  width: 25px;
}
.i-mail{
  background-image: url("../images/icons/i-mail.png");
  height: 25px;
  width: 25px;
}
.i-wp{
  background-image: url("../images/icons/i-wp.png");
  height: 25px;
  width: 25px;
}
.i-fb-b{
  background-image: url("../images/icons/i-fb-b.png");
  height: 20px;
  width: 20px;
}
.i-mail-b{
  background-image: url("../images/icons/i-mail-b.png");
  height: 20px;
  width: 20px;
}
.i-wp-b{
  background-image: url("../images/icons/i-wp-b.png");
  height: 20px;
  width: 20px;
}
.i-bed{
  background-image: url("../images/icons/i-bed.png");
  height: 80px;
  width: 80px;
}
.i-bath{
  background-image: url("../images/icons/i-bath.png");
  height: 80px;
  width: 80px;
}
.i-garage{
  background-image: url("../images/icons/i-garage.png");
  height: 80px;
  width: 80px;
}
.i-meters{
  background-image: url("../images/icons/i-meters.png");
  height: 80px;
  width: 80px;
}

.i-bed-small{
  background-image: url("../images/icons/i-bed.png");
  height: 25px;
  width: 25px;
}
.i-bath-small{
  background-image: url("../images/icons/i-bath.png");
  height: 25px;
  width: 25px;
}
.i-garage-small{
  background-image: url("../images/icons/i-garage.png");
  height: 25px;
  width: 25px;
}
.i-meters-small{
  background-image: url("../images/icons/i-meters.png");
  height: 25px;
  width: 25px;
}

.i-share-fb{
  background-image: url("../images/icons/share-fb.png");
  height: 20px;
  width: 20px;
}
.i-share-wp{
  background-image: url("../images/icons/share-wp.png");
  height: 20px;
  width: 20px;
}
.i-print{
  background-image: url("../images/icons/printer.png");
  height: 20px;
  width: 20px;
}
.font-air-book{
  font-family: airbnb_cereal_appbook;
}
.font-air-m{
  font-family: airbnb_cereal_appmedium;
}
.font-air-l{
  font-family: airbnb_cereal_applight;
}
.font-air-b{
  font-family: airbnb_cereal_appbold;
}
.font-air-xb{
  font-family: airbnb_cereal_appextra_bold;
}
.font-air-black{
  font-family: airbnb_cereal_appblack;
}
/* fonts */
a.logo.col-md-4 {
    display: block;
}
#header-home{
  background: url("../images/back-home.jpg");
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;

}
header#header-home:before {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000;
    content: "";
    opacity: .5;
}
  .nav-sections,.navigation {
      background: transparent;
  }
  .logo {
      margin: 0;
  }
  .logo img {
      max-height: inherit;
      width: 200px;
  }
  .header-middle {
      padding: 20px;
  }
  .block-search input{
    background: transparent;
      color: #fff;
      border: none;
      border-bottom: 1px solid #fff;
  }
  #about-home{
    padding: 40px 0 0 0;
    background-position: left;
    background-repeat: no-repeat;
    background-size: auto 125%;
    background-image: url("../images/about-logo.png");
  }
  .agentes-sudesa{
    width: 110%;
  }
  .content-property{
      background-color: rgba(0, 0, 0, 1.0);
      padding: 90px 20px;
      text-align: center;
      display: inline-block;
      position: relative;
      overflow: hidden;
      margin-top: 25px;
  }
  .background-image-prop{
      position: absolute;
      width: 120%;
      height: auto;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      opacity: .4;
  }
  .info-prop{
    position: relative;
    z-index: 1;
    color: #fff;
  }
  img, object, video, embed {
      max-height: 1000%;
      max-width: 1000%;
  }
  div#new-property {
      background-color: #f3f3f3;
      padding: 80px 0 150px 0;
  }
  #calltoaction:before {
    background-image: url(../images/porque-vivir-en-yucatan.jpg);
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .6;
}
#calltoaction.callto-about:before {
    background-image: url(../images/about-calltoaction.jpg);
}
  .header-top{
    color: #fff;
  }
  div#calltoaction {
    padding: 80px 0;
    position: relative;
    background-color: #000;
}
#calltoaction big{
  font-size: 4em;
    color: #fff;
    line-height: 1.4em;
}
#calltoaction p{
    font-size: 1.3em;
    color: #fff;
}
.header-top{
  color: #fff;
}
.navigation .level0>.level-top {
    color: #fff;
    font-weight: normal;
    font-size: 1.1em;
}
.navigation .level0.active>.level-top, .navigation .level0.has-active>.level-top {
    border-color: #f4e14c;
    color: #fff;
}
.navigation .level0>.level-top:hover, .navigation .level0>.level-top.ui-state-focus {
    color: #f5e24c;
    text-decoration: none;
}
.navigation .level0 .sellprop {
    background-color: #f2b155;
    color: #1a1a1a;
    padding: 0 30px;
}
.navigation .level0 .sellprop:hover {
  border: none;
    background-color: #dd9b4b;
    color: #161616;
}
.title{
  font-size: 2.5em;
  margin-bottom: 5px;
}
.btn{
    display: inline-block;
    padding: 12px 50px;
    font-family: 'airbnb_cereal_appmedium';
    color: #1a1a1a;
    border: none;
    border-radius: 0;
    font-weight: normal;
    font-size: 1.2em;
}
.btn-large{
  width: 100%;
}
.btn-whatsapp {
    color: #fff;
    background-color: #00d656;
    text-align: center;
    font-size: 1em;
    padding: 12px 50px 12px 60px;
    background-image: url(../images/icons/i-wp.png);
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 22% center;
    cursor: pointer;
}
.btn-whatsapp:hover { 
  text-decoration: none;
  background-color: #00ab45;
  color: #fff;
}
.btn-yellow{
    background-color: #f2b155;
}
.btn-yellow:hover {
    color: #1a1a1a;
    background-color: #dd9b4b;
    text-decoration: none;
    border: none;
}
.btn-yellow:visited {
    color: #1a1a1a;
    text-decoration: none;
}
.info-prop h2{
  line-height: 1.3em;
  margin: 0;
  font-size: 1.8em;
}
.info-prop .price {
    font-size: 2em;
    color: #f2b155;
    margin: 5px 0;
    display: inline-block;
}
.info-prop .descrip-prop {
    font-size: 1em;
    line-height: 1.5em;
    height: 4.7em;
    overflow: hidden;
}
.info-prop .btn {
    padding: 5px 80px;
    margin-top: 15px;
}
.article .see-more{
  color: #dd9b4b;
}
#blog{
  padding: 80px 0 120px 0;
}
footer {
    padding: 70px 0 100px 0;
    background-color: #f3f3f3;
    margin-top: 0;
}
footer address {
    margin-top: 70px;
}
a.logo.col-md-4 {
    display: block;
}
.container-nav{
    display: block;
}
.navigation ul {
    padding: 0;
    text-align: right;
}
.navigation .level0 .submenu{
    text-align: left;
    padding: 0;
}
.block-search {
    width: 100%;
    text-align: left;
    padding: 0;
}
.header-top {
    padding: 15px 0;
    background-color: rgba(0,0,0,.1);
    position: relative;
    z-index: 9;
}
ul.contact-h {
    display: inline-block;
    padding: 0;
    width: 100%;
    list-style: none;
    text-align: right;
    margin: 0;
}
ul.contact-h li{
    display: inline-block;
    margin-left: 10px;

}
.block-search .nested{
    display: none;
}
.block-search .control{
    padding: 0;
}
.navigation .level0 .submenu .active>a {
  border-color: #f2b155;
  border-style: solid;
  border-width: 0 0 0 3px;
}
.searchsuite-autocomplete{
  left: 0;
}
.searchsuite-autocomplete .title{
  display: none;
}
.searchsuite-autocomplete ul li .qs-option-image {
    float: left;
    max-width: 1000px;
    width: 50%;
}
.searchsuite-autocomplete ul li a,.searchsuite-autocomplete ul li a img {
    width: 100%;
    display: inline-block;
}
.searchsuite-autocomplete ul li .qs-option-info {
    width: 50%;
    margin-top: 24px;
}
.searchsuite-autocomplete ul li .qs-option-info .qs-option-price {
    margin-top: 5px;
}
.searchsuite-autocomplete .price-container .price {
    font-size: 1.3em;
}
.searchsuite-autocomplete ul li a:hover {
    color: #000;
}
.modes {
    display: none;
}
/* final */
/* responsive */
@media (max-width: 1000px) {

  }
@media (min-width: 768px) {

}
@media (max-width: 768px) {

}
@media (max-width: 520px) {  

}
/* responsive */
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (-o-min-device-pixel-ratio: 5/4),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
