/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.error-number {
    font-size: 200px;
    line-height: 180px;
    padding-bottom: 40px;
    margin-bottom: 20px;
    color: #5795C8;
    border-top: solid 1px #5795C8;
    border-bottom: solid 1px #5795C8;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
/*.container-fluid {
    max-width: 1700px;
}*/
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
.botonSh {
    width: 100px;
    background-color: #fff;
    padding: 2px 0 2px 5px;
    margin: 2px 20px 2px 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    float: left;
}
    .botonSh a {
        color: #222;
    }

    .botonSh i {
        font-size: 25px;
        padding-right: 4px;
    }
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

a{
    text-decoration: none;
}


/*custom styles*/

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

html, body{   
    height: 100%;
    min-height: 100%;
}


a:hover{
    text-decoration: none;
}

 #headerFix{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 901;
 }

#headerFix + section{
    margin-top: 40px;
 }

 #details-fixed.affix + section{
    margin-top: 160px;
 }

.site-header{
    position: relative;
    background-color: #4b92de;
    height: 40px;
}
.full-site {
    max-width:1600px; 
    margin: 0 auto;
}

.logo{
    position: absolute;
    left: 10px;
    top: 7px;
}

.site-nav a{
    color: #fff;
    font-size: 15px;
    vertical-align: bottom;
    padding: 10px 20px 0px;
    line-height: 40px;
    position: relative;
}

.site-nav a .facebook{
    position: relative;
    top: -6px;
    left: -12px;
}

.banner-full-width{
    height: auto;
    width: 100%;
}

.banner-full-width img{
    display: block;
    margin:auto;
    max-width: 1200px;
}
.form-control {
    padding: 5px 5px;
    margin-bottom: 15px;
    float: left;
    width: 90%;
}
    .form-group {
    clear:both;
}
section[name="search"]{
    background-image: url(../img/bnr52.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-position: top center;
    padding-bottom: 120px;
}


.wrap-search-inner{
    padding: 25px;
    background-color: rgba(0,0,55,0.5);
}

section[name="search"] .form-group{
    padding: 0 10px;
}

section[name="search"] button{
    margin-top: 18px;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #3d7abb;
    color: #fff;
    font-size: 15px;
}

h4{
    font-weight: 700;
    text-align: left;
    font-size: 15px;
}

footer nav{
    text-align: left;
}

footer nav a{
    color: #fff;
    opacity: 0.2;
    text-align: left;
    display: block;
}

footer nav a:hover{
    opacity: 1;
    color: #fff !important;
}

.firma {
    font-size: 13px;
    color: #3d7abb;
    padding-top: 30px;
    line-height: 26px;
}

.item{
    position: relative;
    margin: 13px 0;
}

.item figure img{
    width: 100%;
    height: auto;
}

section[name="results"]{
    padding: 20px;
    background-color:#fff;
    max-width: 1700px;
}

figcaption{
    background-color: #272a31;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px 25px 10px 55px;
}

.icono-marker-casasweb{
    width: 37px;
    height: 42px;
    background: url(../img/icono-marker-casasweb.png) no-repeat top left;
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 0;
}

.btn-primary{
    font-weight: 700;
}

.btn-secondary { 
  color: #ffffff; 
  background-color: #272A31; 
  border-color: #272A31; 
      font-weight: 700;
} 
 
.btn-secondary:focus, 
.btn-secondary:active, 
.btn-secondary.active, 

.btn-secondary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.open .dropdown-toggle.btn-secondary { 
  color: #ffffff; 
  background-color: #343d51; 
  border-color: #272A31; 
} 
 
.btn-secondary:active, 
.btn-secondary.active, 
.open .dropdown-toggle.btn-secondary { 
  background-image: none; 
} 
 
.btn-secondary.disabled, 
.btn-secondary[disabled], 
fieldset[disabled] .btn-secondary, 
.btn-secondary.disabled:hover, 
.btn-secondary[disabled]:hover, 
fieldset[disabled] .btn-secondary:hover, 
.btn-secondary.disabled:focus, 
.btn-secondary[disabled]:focus, 
fieldset[disabled] .btn-secondary:focus, 
.btn-secondary.disabled:active, 
.btn-secondary[disabled]:active, 
fieldset[disabled] .btn-secondary:active, 
.btn-secondary.disabled.active, 
.btn-secondary[disabled].active, 
fieldset[disabled] .btn-secondary.active { 
  background-color: #272A31; 
  border-color: #272A31; 
} 
 
.btn-secondary .badge { 
  color: #272A31; 
  background-color: #ffffff; 
}

.btn-lg{
    font-size: 18px;
        margin-top: 5px;
}

.item-destacado{
    position: relative;
}

.item-search{
    background-color: #4b92de;
    color: #fff;
    /*position: absolute;*/
    height: 100%;
    width: 100%;
    height: auto;
    padding: 10px;
    max-height: 208px;
    overflow: hidden;
    position: absolute;
    top: 0;
}

.item-search-title{
    font-size: 15px;
    vertical-align: bottom;
}

.label-search{
    color: #4b92de;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-opciones {
    font-weight: 700;
    color: #6aa6e6;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

label {
    color: #b3d4fc;
    font-weight:bold;
    font-size: 15px;
}

.item-search-content{
    margin-top: 6px;
    line-height: 19px;
    white-space: nowrap;
}

.link-search{
    display: block;
    /*color: #fff;*/
}

.title-results{
    line-height: 46px;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 24px;
    color: #272a31;
    overflow: hidden;
    text-overflow:ellipsis;
}

.title-details{
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

section[name="mapa"]{
    background-color: #f2f2f2;
    font-size:13px;
    color:#666;
}

.item-result{
    position: relative;
        /*background-color: #eef;*/
}

.item-star{
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 2;
    width: 25px;
    height: 25px;
    background: url(../img/star.png) no-repeat top left;
}
.item-result figcaption{
    left: 0;
    bottom: 0;
    padding: 0 0 0 10px;
    background-color: transparent;	
}
h1 {
    font-size: 20px;
    margin-bottom: 6px;
    margin-top: 0;
    color: #fff;
}
h2 {
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 8px;
    font-weight: bold;
    color: #7dd17f;
}
h3 {
    font-size: 16px;
    color: #4caf4e;
    margin-bottom: 6px;
    margin-top: 10px;
    font-weight: bold;
}
h4{
    color: #272a31;
    font-size: 14px;
    margin-bottom: 2px;
    margin-top:4px;
}
h5{
    color: #4b92de;
    font-size: 12px;
    margin-bottom: 2px;
    margin-top:3px;
}

.item-summary {
    font-size: 14px;
    color: #666;
    min-height: 120px;
    height: 120px;
    overflow: hidden;
    text-align: Justify;
    padding-left: 5px;
    padding-right: 5px;
}

.item-price{
    position:static;
    float:left;
        padding: 6px 10px;
        width: 140px;
    text-align: center;
    bottom: 0;
}

.item-features .item-price{
    position: static;
}

.item-image{
    position: relative;
}

.item-price.item-price-primary{
    background-color: rgba(51, 122, 183,0.9);
      
}

.item-price.item-price-secondary {
    background-color: rgba(76, 175, 78,0.9);
    left: 150px;
}
.item-price.item-price-third {
    background-color: rgba(246, 72, 226, 0.90);
    left: 150px;
    width: 110px;
}
.item-price.item-price-deuda {
    background-color: rgba(243, 171, 57, 0.90);
    left: 150px;
}

.label-price-wrap{
    color: #fff;
}

.label-item-type{
    color: #fff;
    opacity: 0.8;
    text-transform: uppercase;
    font-size: 12px;
    vertical-align: middle;
}

.label-price{
    font-size: 27px;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1;
}

.item-price-arrow{
    width: 13px;
    height: 7px;
    position: absolute;
    bottom: -7px;
    left: 10px;
}

.item-price-primary .item-price-arrow{
    background: url(../img/arrow-down-primary.png) no-repeat top left;
}

.item-price-secondary .item-price-arrow{
    background: url(../img/arrow-down-secondary.png) no-repeat top left;
}

.item-price.item-price-primary.has-two-price{
    left: 154px;
}

.item-price.has-two-price .item-price-arrow{
    display: none;
}

.header-results, .header-details{
    padding: 0 0 5px;
}

section[name="header-details"]{
    background-color: rgba(242,242,242,0.85);
}

.header-details{
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-results.affix{
    position: fixed !important;
    top: 40px;
    width: 100%;
    z-index: 9999999;
    background-color: rgba(255,255,255,0.85);
    padding: 20px;
    margin-left: -20px;
}

#details-fixed.affix{
    position: fixed !important;
    top: 40px;
    width: 100%;
    z-index: 900;
}

.header-results.affix + .row{
    padding-top: 52px;
}

.footer-title{
    color: #fff;
    opacity: 0.5;
}

section[name="slider"]{
    margin-bottom: 25px;
}
section[name="info"]{
    margin-bottom: 25px;
}
 section[name="item-features"]{
    min-height: 59px;
 }

 .item-features-wrap{
    vertical-align: middle;
    display: inline-block;
    height: auto;
    position: relative;
 }

 .item-features-list{
    list-style: none;
    margin: 0;
    padding: 0;
    /*line-height: 36px;*/
    font-size: 1.05em;
 }
 .captcha{
     float: left;
    width: 50%;
    text-align: center;
}
.error {
font-size:20px;
color:orangered;
    margin-right:5px;
    float: left;
}

 .item-features-list li{
    display: inline-block;
    padding: 4px 5px;
 }

 .item-features-list .ok{
    color: #4b92de !important;
 }

 .item-features-list .ok .icon-check{
    width: 12px;
    height: 8px;
    background: url(../img/icon-check.png) no-repeat top left;
    display: inline-block;
 }

 section[name="summary"]{
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
 }


 .info-text{
font-size: 15px;
    line-height: 1.5;
    margin-top: 15px;
 }

 #info-map{
    min-height: 350px;
    background-color: #f2f2f2;
    margin-bottom: 20px;
 }
  #pano{
    min-height: 350px;
    background-color: #f2f2f2;
    margin-bottom: 20px;
 }

 .details-banner{
    background-color: #f2f2f2;
    min-height: 200px;
 }

 .details-banner img{
    display: block;
    margin: auto;
 }

 .header-related{
    position: relative;
 }

 .title-related{
    font-size: 24px;
    font-weight: 700;
    color: #4b92de;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 20px;
 }

 .title-related span{
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-left: 30px;
    padding-right: 30px;
 }

.title-related::before{
    content: "";
    position: absolute;
    height: 1px;
    background-color: #4082CB;
    width: 35%;
    top: 50%;
    left: 50%;
    z-index: 0;
 }

 .title-related::after{
    content: "";
    position: absolute;
    height: 1px;
    background-color: #4082CB;
    width: 35%;
    top: 50%;
    right: 50%;
    z-index: 0;
 }

 .bx-viewport{
    border: 0 !important;
 }

 .bxslider li img{
    width: 100%;
 }

 .bx-wrapper{
    margin-bottom: 10px;
 }

 #bx-pager{
    text-align: center;
 }

 #bx-pager a img{
    width: 25%;
    max-width: 200px;
 }

 .bx-wrapper .bx-viewport{
    left: 0;
 }

 .navbar-toggle .icon-bar{
    background-color: #fff;
 }

 .navbar-toggle{
    margin-top: 2px;
    margin-right: 4px;
    margin-bottom: 0;
 }

.navbar-collapse{
    background-color: #4b92de;
}

.navbar-collapse{
    background: #4b92de;
}

.navbar-nav>li>a{
    padding: 10px 20px 0;
}

.nav.navbar-nav a{
    color: #fff;
}

/*.nav.navbar-nav a:hover, .nav.navbar-nav a:active{
    color: #4b92de;
}*/

.nav>li>a:focus, .nav>li>a:hover{
    background-color: transparent;
    color: #aaa;
    opacity: 0.5;
}

.bgBanner {
       background-color: #ddd;
    padding-top: 4px;
    padding-bottom: 4px;
}

@media (max-width: 768px){
    .navbar-collapse {
        overflow-y: auto;
        width: 100%;
        border: 0;
    }

    .icon-facebook{
        display: none !important;
    }
}

@media only screen and (min-width: 1300px) {
    section[name="results"] > .row > div{
        width: 25%;
    }

    .item-search-content > .row > div{
        width: 50%;
    }
}

@media only screen and (max-width: 385px){
    label{
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .label-price{
        font-size: 18px;    
    }

    .item-price.item-price-primary.has-two-price {
        left: 113px;
    }
}

@media only screen and (max-width: 560px){
    .title-results{
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.img-responsive{
    width: 100%;
    height: auto;
}

.socicon-skype, .socicon-whatsapp {
    color: #4caf4e;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 28px;
    vertical-align: middle;
}
.thumb {
background-size:cover;
background-position:50% 50%;
background-color: #666; 
 background-repeat: no-repeat;
 }

.fullscreen-bg {
  position: fixed;
  top: 40px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
}

.fullscreen-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 130%;
}
/*lightbox*/
.lg-progress-bar .lg-progress { /*progress*/
    background-color: #4caf4e;
}
.lg-backdrop {/*centro*/
    background-color: #4b92de;
}
.lg-outer .lg-thumb-outer {/*pie*/
    background-color: #3569A4;
}
/*@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 300%;
    left: -100%;
  }
}

@media (max-width: 767px) {
  .fullscreen-bg {
    background: url('../img/videoframe.jpg') center center / cover no-repeat;
  }

  .fullscreen-bg__video {
    display: none;
  }*/
