@media only screen and (min-width: 1600px) {
    .history {
        background-position: right center !important;
    }
}

@media only screen and (min-width: 992px) {
    .gallery {
        overflow: hidden;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
	
	
    header .logo {
        margin-bottom: 26px;
    }
    /*header .navbar { float: right; }*/
    header .navbar-nav > li:last-child {
        margin-right: 0;
    }

    .filter .selectBox.location,
    .filter .selectBox.cata {
        width: 171px !important;
    }

    .blog-posts .post article {
        padding: 30px 30px;
        width: 257px;
    }
    .blog-posts .post article h3 {
        font-size: 26px;
    }

    footer ul li {
        margin: 0 25px;
    }

    .item .item-detail span {
        margin-right: 15px;
    }
    .properties-list .item figure {
        width: 300px;
    }
    .properties-list .item .item-data {
        width: 316px;
    }
    .map-properties .property-search {
        width: 293px;
    }

    .property-slider .thumbnails a {
        width: 160px;
    }

    .pricing-tables .price-col {
        padding: 42px 48px 60px;
    }

    .team-posts .post article {
        width: 157px;
        padding-bottom: 0;
    }
    .agent-social a {
        margin-right: 11px;
    }

    .contact-form {
        padding: 55px 44px 64px;
    }
}

@media only screen and (max-width: 991px) {
	
	
    .call-action {
        text-align: center;
    }
    .call-action .btn {
        float: none;
        margin-top: 30px;
    }

    footer {
        text-align: center;
    }
    footer .copy-right {
        margin-bottom: 30px;
    }
    footer ul {
        text-align: center;
    }

    .personal-agent {
        min-height: inherit;
    }

    .page-contents figure {
        margin: 0;
    }

    .properties-page aside {
        clear: both;
        margin-bottom: 60px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
    header .logo {
        margin-bottom: 26px;
    }
    /*header .navbar { float: right; }*/
    header .navbar-nav > li:last-child {
        margin-right: 0;
    }
    header .navbar-nav > li {
        margin-right: 30px;
    }
    /*header .navbar { margin-left: 0 !important; }*/

    .filter .selectBox.location,
    .filter .selectBox.cata {
        width: 308px !important;
        margin-bottom: 20px;
    }
    .filter .selectBox.cata {
        margin-right: 0;
    }
    .filter .selectBox.type,
    .filter .btn {
        width: 197px !important;
    }
    .filter .selectBox.type {
        margin: 0 20px 0 0 !important;
    }
    .filter .btn {
        margin: 0;
    }
    .filter .adv-srch {
        top: auto;
        bottom: 35px;
    }

    .team-posts,
    .blog-posts {
        text-align: center;
    }
    .team-posts .post {
        text-align: left;
    }
    .blog-posts .post {
        text-align: left;
        display: inline-block;
    }

    .error-page h4 {
        font-size: 80px;
    }

    .team-single figure {
        margin-bottom: 60px;
    }

    .pricing-tables .price-col {
        padding: 30px 30px 35px;
    }

    .page-contents .row > div {
        margin-bottom: 65px;
    }
    .page-contents .row > div:last-child {
        margin-bottom: 0;
    }

    .grid-sizer,
    .grid-item {
        width: 33.33%;
    }

    .personal-agent article {
        padding-top: 50px;
    }
    .design article {
        padding: 50px 0;
    }
    .design figure {
        height: 444px;
    }
    .design figure img {
        height: 100%;
    }

    .infra-elements {
        margin-bottom: 60px;
    }

    .property-single .property-filter {
        overflow: hidden;
    }
    .property-single .property-filter .view-map {
        margin: 20px 0 0;
    }

    .map-properties .property-search {
        width: 320px;
    }
    .properties-list .item .item-data {
        width: 365px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 879px) {
    header .navbar {
        margin-left: 50px !important;
    }
    header .navbar li {
        margin-right: 20px;
    }
}

@media only screen and (max-width: 768px) {
    body:not(.offline) header .adress,
    body:not(.offline) header .phone {
        display: none;
    }
    header .right-side {
        margin-top: 5px;
        margin-left: 20px;
    }
    header .nav > li.active > a:before {
        display: none;
    }
    header .navbar-toggle {
        display: block;
        margin: 0 0 27px;
    }
    header .collapse {
        display: none;
    }
    header .navbar {
        float: none;
        clear: both;
        margin: 0 !important;
        width: 100%;
    }
    header .navbar {
        position: absolute;
        top: 60px !important;
        left: 0;
        background: #000;
        width: 100%;
        z-index: 999;
        padding-left: 20px;
        padding-top: 20px;
    }
    header .navbar .navbar-nav {
        margin: 0;
        padding: 0 0 20px;
        width: 100%;
    }
    header .navbar li {
        margin: 0;
        padding: 0;
        float: none;
    }
    header .navbar li a {
        padding: 12px 25px !important;
        display: block;
    }
    header .navbar .dropdown-menu {
        position: static;
        width: 100%;
        padding: 0;
        margin: 0;
        left: 0;
    }
    header .navbar-nav > li:last-child {
        margin-right: 0;
    }
    header .navbar {
        margin-left: 0 !important;
    }

    .top-bar {
        text-align: center;
    }
    .top-bar .text,
    .top-bar .social {
        float: none;
    }

    #slider .detail {
        display: none;
    }

    .filter .selectBox.location,
    .filter .selectBox.type,
    .filter .selectBox.cata {
        width: 100% !important;
        margin: 0 0 20px !important;
    }
    .filter .btn {
        width: 100%;
        margin: 0;
    }
    .filter .adv-srch {
        top: auto;
        bottom: 39px;
    }

    .item figure .overlay .btn {
        position: absolute;
        top: 50%;
        margin-top: -20px;
        margin-left: -38px;
    }
    .item figure img {
        width: 100%;
        height: auto;
    }
    .item .item-detail span {
        margin-right: 10px;
    }

    .grid-sizer,
    .grid-item {
        width: 33.33%;
    }

    .blog-posts .post article {
        float: none;
        width: auto;
    }
    .blog-posts .post figure {
        margin-right: 30px;
    }

    .facts_wrap ul li {
        margin-bottom: 60px;
    }
    .facts_wrap ul li:last-child {
        margin-bottom: 0;
    }
    .facts_wrap ul li > div {
        border: none;
    }

    .rewiews .row > div {
        margin-bottom: 60px;
    }
    .rewiews .row > div:last-child {
        margin-bottom: 0;
    }

    .personal-agent figure {
        padding: 50px 0 0;
    }
    .personal-agent article {
        padding: 50px 0;
    }

    .coming-soon .error-page {
        padding-bottom: 100px;
    }
    .offline .page-wrap {
        padding-top: 140px;
    }
    .offline header .logo {
        float: none;
    }
    .offline header .left-side {
        float: none;
        text-align: center;
    }
    .offline header .right-side {
        margin: 20px 0 0;
        float: none;
        text-align: center;
    }
    .offline footer .copy-right {
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    .top-bar .text {
        display: none;
    }
    .top-bar {
        padding: 0;
        /* display: none; */
    }
    .blog-posts .post figure {
        width: 100%;
        margin: 0 0 30px;
        height: auto;
    }
    .blog-posts .post figure img {
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 413px) {
    .filter .adv-srch {
        display: none;
    }
    .filter .range p input {
        width: 100px;
    }
}

@media only screen and (max-width: 320px) {
    .filter {
        margin-top: 15px !important;
    }
}

.flexslider .slides > li {
    border-bottom: 1px solid #ededed;
}

.frase-portada {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    text-align: center;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding-top: 24%;
    font-weight: 400;
    padding-bottom: 24%;
    font-size: 28px;
}

@media only screen and (max-width: 1200px) {
    header .user {
        display: none;
    }

    header .logo img {
        margin-right: 0;
        width: 200px;
    }

    header .navbar-nav > li > a {
        font-size: 14px;
        padding: 3px !important;
    }
}


@media only screen and (max-width: 920px) {
	
	
    article .thumb-info-caption.background-color-light.text-left,
    article h2 {
        text-align: center;
    }

    header .collapse {
        display: none;
    }

    header .logo {
        margin-bottom: 7px;
    }

    .container {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }

    header .navbar {
        position: absolute;
        top: 60px !important;
        left: 0;
        width: 100%;
        z-index: 999;
        margin-left: 0 !important;
    }

    .navbar-nav > li {
        float: none;
        padding-top: 0 !important;
    }

    header .user {
        display: none;
    }

    header .logo img {
        margin-right: 12px;
        width: 200px;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #lahomedelmes2 {
        padding-top: 0 !important;
    }

    #lahomedelmes2 span {
        margin-bottom: 20px !important;
    }

    #lahomedelmes2 h1 {
        font-size: 26px !important;
    }

    #lahomedelmes {
        margin-bottom: -10px !important;
    }

    .frase-portada {
        font-size: 23px;
    }

    .chicas {
        background: none !important;
    }

    footer .copy-right {
        margin-bottom: 0;
    }

    .quitar {
        display: none;
    }

    .design article {
        padding: 25px 0;
    }

    header .navbar-toggle {
        display: block;
        margin: 0;
        /*margin-top:26px;*/
    }

    header .navbar {
        top: 95px;
    }

    #boton-buscador-sidebar {
        display: block !important;
    }
    #buscador-sidebar {
        display: none;
    }

    header .logo img {
        margin-right: 12px;
        width: 145px;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .logo-footer img {
        width: 100%;
    }

    header {
        padding: 15px 0px 0;
    }

    header .navbar {
        background: #000;
        padding-left: 20px;
        padding-top: 15px;
    }

    h2 {
        font-size: 23px !important;
    }

    .property-data .prop-price {
        width: 100%;
    }

    .infra-elements .element {
        padding: 5px;
        min-height: 65px;
    }

    .properties-list .item figure {
        width: auto;
    }

    .properties-list .item .item-data {
        width: 100%;
    }

    .properties-list .item .item-detail {
        padding: 15px 10px 0 10px;
        margin-bottom: 5px;
    }
    .properties-list .item .item-header {
        padding: 4px 15px 22px 15px;
    }

    h1 {
        font-size: 26px !important;
    }

    .contact-form-wrap {
        position: unset;
        top: 140px;
        width: 100%;
        background: #f5f5f5;
        padding-top: 20px;
    }

    .address {
        margin-top: 0px;
    }

    a.nav-a-destacado {
        background: #0075cf !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        border-radius: 5px !important;
        color: #fff !important;
		display:inline-block !important;
    }
}

.filter .selectBox.cata {
    width: 100% !important;
    min-width: 100% !important;
}

.filter .selectBox-dropdown .selectBox-label {
    width: 61px;
    font-size: 9px;
}
