/******************************
RESPONSIVE STYLES 
******************************/

@media screen and (max-width: 1250px) {
    .banner .slick-arrow.slick-prev{
        left: 15px;
    }
    .banner .slick-arrow.slick-next{
        right: 15px;
    }
    .banner .banner-text{
        max-width: 620px;
        padding-left: 20px;
    }
}
@media screen and (max-width: 1150px) {
    .logo-wrapper{
        width: 330px;
    }
    .nav-menu > li{
        padding: 0 5px;
    }
    .banner .banner-text{
        padding-left: 40px;
    }
    .nav-menu{
        margin: 0 -5px;
    }
}
@media screen and (max-width: 1100px) {
    .logo-wrapper{
        width: 300px;
    }
    .nav-menu{
        margin: 0;
    }
    .nav-menu > li{
        padding: 0;
    }
    .slick-arrow.slick-prev{
        left: 15px;
    }
    .slick-arrow.slick-next{
        right: 15px;
    }
    .listing-label-info{
        max-width: 400px;
        text-align: center;
    }
    .listing-label-info strong{
        display: block;
    }
    .listing-gallery .slick-arrow{
        bottom: 28px;
    }
    .footer-wrapper li:not(:last-child) {
        margin-right: 20px;
    }
    .details-wrapper .listing-price span{
        display: none;
    }
}

@media screen and (max-width: 1000px) { /* Target Screen Width */
    h1, h2 {
        font-size: 62px;
    }
    .large-text{
        font-size: 70px;
    }
    #header{
        height: 65px;
        background: none;
    }
    .top-bar{
        display: none;
    }
    .header-menu{
        background-color: #061349;
        padding: 13px 0;
    }
    .logo-wrapper {
        width: 250px;
    }
    .header-menu > .flexbox{
        padding-right: 60px;
    }
    #nav-btn{
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        font-size: 32px;
        font-weight: normal;
    }
    #nav-close-btn{
        position: absolute;
        top: 35px;
        right: 55px;
        display: block;
        font-size: 30px;
        z-index: 5;
    }
    .main-nav{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        margin: 0;
        -webkit-transition: all 0.5s ease 0s;
        -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
        -o-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
        color: #fff;
        background-color: #061349;
        overflow: hidden;
        overflow-y: auto;
        z-index: 110;
    }
    .open .main-nav{
        width: 450px;
    }
    .main-nav nav{
        position: relative;
        min-width: 450px;
        padding: 80px 80px 40px 40px;
        text-align: left;
    }
    .nav-menu{
        margin: 0;
        padding: 0;
        text-align: inherit;
    }
    .nav-menu > li,
    .top-menu li{
        display: block;
        margin: 0;
        padding: 0;
    }
    .nav-menu > li.active > a:after, 
    .nav-menu > li > a:after{
        content: none;
    }
    .nav-menu > li > a,
    .top-menu li a{
        display: block;
        padding: 18px 30px 14px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-transform: uppercase;
        font-size: 24px;
        font-weight: 500;
        color: inherit;
    }
    .nav-menu a i{
        margin-right: 10px;
        position: relative;
        top: 5px;
    }
    .sub-ctrl{
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 60px;
        text-align: center;
        cursor: pointer;
        z-index: 1;
    }
    .sub-ctrl:after{
        content: "\f105";
        font: 22px/62px Font Awesome\ 5 Pro;
    }
    .sub-ctrl.show{
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    .sub-menu{
        position: static;
        display: none;
        min-width: 100%;
        width: 100%;
        margin: 0;
        border: 0;
        padding: 18px 25px 10px;
        text-align: inherit;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform:none;
        -o-transform: none;
        transform: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        box-shadow: none;
        background-color: transparent;
        color: #e7e7e7;
        font-weight: 500;
        opacity: 1;
        visibility: visible;
    }
    .sub-menu li{
        margin-bottom: 15px;
    }
    .sub-menu li a{
        text-transform: none;
        font-size: 20px;
    }
    .sub-menu li a:hover{
        color: #e7e7e7;
    }
    .bar-callout .flexbox{

    }
    .footer-wrapper .flexbox,
    .bar-callout .flexbox{
        flex-direction: column;
    }
    .footer-wrapper .flexbox > div:first-child,
    .bar-callout .flexbox > div:first-child{
        padding: 0 0 20px;
        text-align: center;
    }
    .bar-callout .flexbox div:last-child{
        padding: 0;
    }
    .listing-gallery .slick-arrow {
        bottom: auto;
        top: 50%;
    }
    .listing-nav{
        left: 15px;
        right: 15px;
    }
    .details-name{
        padding-left: 0;
    }
    .details-wrapper .attribute-list li{
        margin-right: 10px;
        height: 170px;
    }
    .details-wrapper .listing-price strong{
        font-size: 70px;
    }

}   

@media screen and (max-width: 900px) {
    h1, h2{
        font-size: 58px;
    }
    .details-name h1 span{
        font-size: 35px; 
    }
    .large-text,
    .bar-callout .large-text{
        font-size: 60px;
    }
    .slick-arrow:after, .listing-nav a:after, 
    .listing-nav a:before{
        font-size: 55px;
    }
    .quick-links .callout-box{
        margin: 0 10px;
    }
    .listing-overview .container{
        padding: 0 15px;
        flex-direction: column;

    }
    .listing-main-gallery{
        width: 100%;
        height: 400px;
    }
    .listing-main-info{
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    .listing-main-info .attribute-list li{
        width: 33.333%;
    }
    .listing-main-info .inner-box{
        max-width: 100%;
        padding: 20px 0 40px;
    }
    .listing-main-gallery:before{
        left: 50%;
        margin-left: -13px;
    }
    .banner .container, .sub-banner .container{
        padding: 60px 15px;
    }
    .main-content .container > .table{
        display: flex;
        flex-direction: column;
    }
    .main-content .container > .table > .cell{
        display: block;
    }
    .main-content .sidebar{
        width: 100%;
        max-width: 300px;
        margin: 50px auto 0 ;
        padding: 0;
    }
    .sub-banner {
        height: 250px;
    }
    .details-wrapper .flexbox > div:first-child{
        padding: 0;
    }
    .details-wrapper .flexbox > div:last-child{
        padding-right: 0;
    }
    .details-wrapper .attribute-list i{
        transform: scale(0.8);
        margin-bottom: 0;
    }
    .details-wrapper .attribute-list li{
        height: auto;
    }
    .details-wrapper .listing-price{
        display: block;
    }
    .details-wrapper .listing-price strong{
        font-size: 58px;
    }
    .listing-agent-box{
        max-width: 465px;
        margin: 0 auto 30px;
    }
    .details-wrapper .listing-price strong{
        margin-right: 0;
    }
    .details-wrapper .flexbox{
        flex-direction: column;
    }
    .details-wrapper .flexbox > div:first-child{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .details-wrapper .flexbox > div:last-child{
        width: 100%;
        padding: 0;
    }
    .details-wrapper .listing-controls ul{
        justify-content: center;
    }
    .details-logo{
        display: inline-block;
    }
    .details-wrapper .flexbox > div:last-child .btn, 
    .details-wrapper .flexbox > div:last-child .details-social{
        margin-top: 40px;
    }
}   

@media screen and (max-width: 770px) { /* Tablet View */
    body{
        cursor: pointer; /* iOS Clicking Fix */
    }
    .callout-box{
        flex-direction: column;
        text-align: center;
    }
    .callout-box i{
        margin-bottom: 10px;
    }
    .callout-box h3{
        font-size: 44px;
    }
    .listing-nav a{
        font-size: 0;
    }   
    .listing-nav{
        top: 49%;
        bottom: auto;
    }
    .time-label{
        top: auto;
        bottom: 0;
    }
    .listing-nav a:hover:before{
        right: 0;
    }
    .listing-nav a:hover:after{
        left: 0;
    }
}

@media screen and (max-width: 670px) { /* Phone View */
    .nav-menu > li > a{
        padding: 16px 30px 12px 15px;
    }
    #nav-close-btn{
        top: 30px;
        right: 30px;
    }
    .open .main-nav{
        width: 350px;
    }
    .main-nav nav{
        min-width: 350px;
        padding: 80px 30px 30px;
    }
    .banner-text{
        padding-left: 0;
    }
    .quick-links .flexbox{
        flex-direction: column;
    }
    .quick-links .callout-box{
        width: 100%;
        margin: 0;
    }
    .quick-links .callout-box:not(:last-child){
        margin-bottom: 40px;
    }
    .listing-main-info .listing-info{
        margin-left: 0;    
    }
    .property-filter .main-filters{
        padding: 35px 15px 20px; 
    }
    .property-filter .main-filters li:nth-child(3), 
    .property-filter .main-filters li:last-child{
        width: 30%;
    }
    .quantity-counter input, 
    .property-filter .filter-row input, 
    .advanced-filters li > input{
        font-size: 24px;
    }
    .property-filter .advanced-filters ul{
        padding: 0 15px;
    }
    .advanced-filters .filter-row{
        padding-right: 0;
    }
    .property-filter .advanced-filters li:last-child{
        width: 280px;
    }
    .sub-banner .container{
        padding-bottom: 70px;
    }
    .gallery-wrapper{
        margin: 40px 0;
    }
    .details-wrapper .attribute-list{
        margin: 0 -15px 30px;
    }
    .details-wrapper .attribute-list li{
        width: 20%;
        box-shadow: none;
        font-size: 30px;
        margin: 0;
    }
    .details-wrapper .listing-controls .btn{
        background: #89c031;
        color: #e7e7e7;
    }
    .main-content,
    .details-wrapper {
        padding-bottom: 70px;
    }
    .details-wrapper .flexbox > div:last-child .details-social{
        display: block;
        margin: 20px 0 0;
    }
}
@media screen and (max-width: 480px) {
    h1, h2,
    .main-content .content h1, 
    .main-content .content h2 {
        font-size: 52px;
    }
    .large-text, .bar-callout .large-text {
        font-size: 54px;
    }
    .btn-lg{
        font-size: 32px;
        padding: 5px 15px;
    }
    .logo-wrapper {
        width: 160px;
    }
    .logo-wrapper .logo img{
        display: none;
    }
    .logo-wrapper .logo-mob{
        display: block !important;
    }
    .banner{
        min-height: 450px;
    }
    .listing-box.long-box .listing-image{
        height: 450px;
    }
    .listing-main-info{
        text-align: center;
    }
    .listing-main-info .listing-info{
        text-align: left;
    }
    .listing-main-info .listing-price{
        font-size: 44px;
    }
    .category-section + .category-section .category-title{
        height: auto;
    }
    .listing-label-info{
        bottom: 0;
        left: 0;
        transform: none;
    }
    .more-link{
        white-space: pre-wrap;
    }
    .property-filter .main-filters {
        padding: 20px 5px;
    }
    .quantity-counter input, 
    .property-filter .filter-row input, 
    .advanced-filters li > input{
        display: block;
        font-size: 18px;
        height: 26px;
    }
    .prop-filters li:nth-child(3) 
    .quantity-counter input{
        width: 60px;
    }
    .quantity-counter button{
        font-size: 16px;
    }
    .property-filter .main-filters li i{
        margin-bottom: 10px;
    }
    .property-filter .ico-bed,
    .property-filter .main-filters li i{
        width: 41px;
    }
    .advanced-filters li:last-child .filter-row > span:first-child{
        font-size: 14px;
        min-width: 80px;
    }
    .advanced-filters .filter-row{
        flex-direction: column;
        align-items: flex-start;
    }
    .property-filter .advanced-filters ul{
        padding: 0 5px;
    }
    .property-filter .advanced-filters li:last-child{
        width: 200px;
        margin-top: -5px;
    }
    .property-filter .advanced-filters .active + ul{
        height: 135px;
    }
    .property-filter .quantity-counter{
        padding-right: 15px;
    }
    .main-content{
        padding-bottom: 40px;
    }
    .details-wrapper .flexbox > div:last-child{
        text-align: center;
    }
    .details-wrapper .attribute-list i{
        transform: scale(0.7);
    }
    .details-wrapper .attribute-list li{
        font-size: 24px;
        padding: 5px;
    }
    .listing-agent-box{
        flex-direction: column;
        align-items: center;
        border: none;
        padding: 0;
    }
    .listing-agent-box .img-box{
        margin: 0 0 15px;
    }
    .details-name h1{
        font-size: 46px;
    }
    .details-name h1 span{
        font-size: 30px;
    }
    .listing-nav{
        top: 40%;
    }
    .sub-banner .btn-play{
        top: 45%;
        width: 90px;
        height: 90px;
    }
    .sub-banner .btn-play:after{
        font-size: 34px;
    }
}

@media screen and (max-width: 360px) {
    .large-text,
    .bar-callout .large-text {
        font-size: 50px;
    }
    #nav-btn{
        right: 12px;
    }
    #nav-close-btn{
        top: 20px;
        right: 20px;
    }
    .open .main-nav{
        width: 320px;
    }
    .main-nav nav{
        min-width: 320px;
        padding: 60px 20px 25px;
    }
    .nav-menu > li > a{
        padding: 16px 30px 12px 15px;
        font-size: 18px;
    }
    .sub-ctrl{
        height: 49px;
    }
    .sub-ctrl:after{
        line-height: 51px;
        font-size: 20px;
    }
    .btn-login, 
    .btn-login:hover{
        font-size: 0;
        min-width: 0;
        padding: 7px 10px;
    }
    .btn-login i{
        margin-right: 0;
    }
    .listing-main-info .listing-controls{
        display: block;
        text-align: center;
    }
    .listing-main-info .listing-controls .btn{
        margin-top: 15px;
    }
    .ico-garage-blue,
    .ico-home-blue{
        width: 40px;
        background-size: contain !important;
    }
    .property-filter .advanced-filters i{
        margin: 0 auto;
    }
    .property-filter .advanced-filters li:last-child{
        width: 160px;
    }
    .footer-wrapper li{
        display: block;
    }
    .footer-wrapper li:not(:last-child){
        margin: 0 0 5px;
    }
    .main-content .sidebar{
        width: 100%;
    }
    .details-wrapper .attribute-list i{
        transform: scale(0.6);
    }
}