/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (min-width: 1600px) {
    section.section-2 {
        background-size: 100% auto;
    }
    footer.footer-wrapper {
        background-size: 100% auto;
    }
}

@media only screen and (max-width: 1440px) {
    .slide-address-price {
        /*margin: 60px auto 0;*/
    }

    /*.home .cycloneslider-template-fixed .cycloneslider-pager {
        bottom:200px;
    }*/

}

@media only screen and (max-width: 1366px) {
    .slide-address-price {
        margin: 60px auto 0;
    }

    section.section-2 {
        background-size: 100% 100%;
    }

    footer.footer-wrapper {
        background-size: 100% 100%;
    }

}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (min-width: 1300px) {
    .section-container {
        width: 1310px;
    }
    a.cta:before {
        right: -36px;
    }

    .ip-agents-details-left {
        margin-left: 5%;
    }
}

@media only screen and (max-width: 1199px) {

    .home .cycloneslider-caption-description h2 {
        font: 400 45px/1 'Heebo', sans-serif;
    }

    .home .cycloneslider-template-fixed .cycloneslider-caption-description {
        margin-top: -50px;
    }

    .home .cycloneslider-template-fixed .cycloneslider-pager {
        bottom: 90px;
    }

    .header-container {
        padding: 0 50px;
    }
    #nav > li {
        margin-left: 30px;
    }
    .floating-smi {
        left: 15px;
    }
    .hero-tagline h2 {
        font-size: 50px;
    }
    .hero-tagline h2 span {
        margin-bottom: 20px;
    }
    a.cta {
        min-height: 273px;
    }
    .cta-details {
        padding-left: 10px;
        padding-right: 10px;
    }
    .cta-details h2 {
       /* font-size: 20px;
        margin-bottom: 4px;*/
    }
    .cta-details p {
        /*font-size: 12px;
        line-height: 20px;*/
    }
    a.cta:hover .cta-details p {
        margin-bottom: 6px;
    }
    #featured-properties {
        padding: 0 30px;
    }
    /*.ip-single-pp .single-pp-moredetails .pp-cta-col {
        padding: 0 35px;
    }*/

    /* AGENTS DETAILS PAGE */
    .ip-agents-details-info .ip-agents-details-info-item {
        letter-spacing: 0;
    }
    .ip-press-txt {
        font-size: 13px;
    }
    .ip-latest-item-txt {
        font-size: 15px;
    }
    #content .ip-agents-details-title h2, #content .ip-agents-details-title h1 {
        font-size: 40px;
        line-height: 1;
    }

    .ios-true .fp-details .btn-a,
    .ios-true .ip-fp-details .btn-a {
        display: none;
    }
    .ios-true .fp a:hover .fp-details {
        padding-bottom: 31px;
    }
    .ios-true .ip-fp-item a:hover .ip-fp-details {
        padding-bottom: 19px;
    }
    /*.ip-single-pp video, .ip-single-pp .single-pp-banner canvas {
        height: 675px;
    }*/

    a.cta {
        margin: 0 50px;
    }

    .about-text {
        padding: 0 50px;
    }

    .section-title, #content .section-title {
        font: 300 45px/1.2 'Heebo', sans-serif;
    }

    #IDX-main.IDX-wrapper-standard.IDX-category-search.IDX-page-advanced input[type="radio"]{
            margin: 4px 15px 0 15px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {

    section.section-2 {
        background-size: contain;
    }

    footer.footer-wrapper {
        background-size: contain;
    }
    .header-container {
        padding: 0 15px;
    }
    /* The following are used on inner pages. Please edit carefully. */
    .inner {
        width: 100%;
    }
    #content-sidebar,
    #content-full {
        width: 100%;
    }
    .outer {
        width: 100%;
        min-width: 100%;
    }
    #content-sidebar #content {
        width: 100%;
    }
    .mob_show {
        display: block;        
    }
    .mob_show.left .mob_show {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .mob_hidden {
        display: none!important;
    }
    .section-title,
    #newsletter .section-title {
        font-size: 40px;
    }
    header.header-wrapper {
        position: fixed;
        background: #191606;
        padding: 15px 15px;
    }
    .header-container {
        display: block;
    }
    .header-logo img {
        width: 70px;
    }
    .hero-overlay,
    #section-tagline-b .hero-overlay {
        padding-top: 73px;
    }
    .hero-canvas canvas {
        height: 100vh;
        min-height: 500px;
    }
    .hero-tagline h2,
    #section-tagline-b .hero-tagline h2 {
        font-size: 35px;
    }
    #about,
    #call-to-action {
        display: block;
        width: 100%;
        float: none;
    }
    #about {
        padding-bottom: 30px;
        text-align: center;
    }
    section.section-2 {
        padding: 90px 0;
    }
    .cta-list {
        font-size: 0;
    }
    a.cta {
        display: block;
        max-width: 360px;
        margin: 20px auto;
        position: relative;
        width: 100%;
        margin: 0 auto 10px;
    }
    a.cta:before {
        right: 0;
    }
    .cta-img,
    .cta-details {
        width: 100%;
        text-align: center;
    }
    .cta-details {
        /*padding: 25px 0 35px;
        position: absolute;
        bottom: 0;*/
    }
    .cta-details span {
        left: 0;
        right: 0;
        top: initial;
        bottom: 12px;
    }
    a.cta .cta-details h2:after,
    .sidebar a.cta .cta-details h2:after {
        left: 0;
        right: 0;
        background: #fff;
    }
    a.cta:hover .cta-details h2:after {
        left: 0;
        right: 0;
    }
    a.cta:hover .cta-details p {
        margin-bottom: 0;
    }
    #featured-properties {
        padding: 0 15px;
    }
    .fp {
        width: 50%!important;
    }
    .home .fp {
        padding: 10px;
    }
    .home .fp:nth-child(3) {
        width: 100%!important;
    }
    .fp-list .slick-arrow {
        top: 41.3%;
        transform: translateY(-50%);
    }
    .fp-list .slick-next {
        right: 1px;
    }
    .fp-list .slick-prev {
        left: 1px;
    }
    section.section-5 {
        padding-left: 0;
        padding-right: 0;
    }
    .footer-contact-list span {
        margin: 0 5px 5px;
        display: inline-block;
    }
    .sidebar a.cta .cta-details p {
        /*margin: 1.12em 0;*/
    }
    
    .hero-tagline a.btn-a:hover {
        color: #fff;
        background: #000;
        border-color: #000;
    }
    #about {
        padding-right: 0;
    }
    #about a.btn-a {
        margin: 34px auto 0;
    }
    .cta-details p {
        /*display: none;
        width: 80%;
        margin: auto;*/
    }
    .cta-details h2,
    .cta-details p {
        color: #fff;
    }
    a.cta:hover .cta-details p {
        display: block;
        /*margin: 1.12em auto !important*/
    }
    a.cta .cta-details {
        /*-webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;*/
        /*padding: 60px 0 20px;*/
        background: rgba(0, 0, 0, 0);
    }
    a.cta:hover .cta-details {
        height: 100%;
        background: none;
        /*padding: 60px 0 20px;*/
        /*padding: 0;*/
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .cta-details h2 {
        /*margin-bottom: 12px;
        margin-top: 0;*/
    }
    .cta-details span {
        display: none;
    }
    a.cta:hover .cta-details span {
        position: relative;
        display: block;
        margin-top: 12px;
        top: initial;
        bottom: initial;
    }
    .footer-nav {
        display: none;
    }
    section.section-4 {
        padding: 61px 0 0;
    }
    section.section-5 {
        padding: 0 43px 0;
    }
    section.section-5 #newsletter {
        border: none;
    }
    .nl-form input[type="email"] {
        padding-left: 0;
        text-align: center;
        width: 100%;
    }
    .nl-form input[type="submit"] {
        width: 100%;
        margin-top: 15px;
        border-left: 1px solid #000;
    }
    header.header-wrapper {
        background: #000;
    }
    .header-logo {
        text-align: center;
    }
    .mobile-header.left button,
    .mobile-header.left .mobile-header-button {
        left: 30px;
    }
    .section-title {
        font-size: 40px !important;
    }
    .footer-contact-list {
        font-size: 13px;
    }
    .footer-copyright {
        line-height: 1.5;
        width: 80%;
        margin: auto;
    }
    .footer-smi {
        text-align: center;
        margin-top: 50px;
    }
    .footer-smi a {
        font-size: 20px;
        color: #fff;
        margin: 0 10px;
    }
    .fp-img {
        height: 200px;
    }
    .fp-ammenities {
        /*display: none;*/
    }
    .fp a:hover .fp-details {
        padding-bottom: 31px;
    }
    .ip-fp-item a:hover .ip-fp-details {
        padding-bottom: 19px;
    }
    .fp-details .btn-a,
    .ip-fp-item .btn-a {
        display: none;
    }
    .hero-tagline h2 {
        font-size: 33px;
    }
    .mobile-header-button i.ai-font-menu {
        background: url(images/burger-menu.png);
        width: 21px;
        height: 21px;
        background-position: center center;
        background-size: contain;
        margin: auto;
    }
    .mobile-header-button i.ai-font-menu:before {
        display: none;
    }
    
    .mobile-header-button.open i.ai-font-phone-alt {
        opacity: 0;
    }

    .ip_mot_agent  {
        width: 33.333333333%;
    }

    


    /* AGENTS DETAILS PAGE */
    .ip-agents-details-wrap {
        text-align: center;
    }
        .ip-agents-details-left, .ip-agents-details-right {
            width: 100%;
        }
        .ip-agents-details-txt-wrap {
            padding-right: 0;
        }

    /* THE LATEST PAGE */
    .ip-latest-content .ip-latest-item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .ip-latest-content .ip-latest-item:nth-child(2) {
        margin-top: 40px;
    }
    .page-template-template-latest .aiosp-wrap .aiosp-container .aios-popup-body {
        padding: 30px 20px;
    }

    #listing-map-canvas {
        width: 100% !important;
    }

    .press-wrapper-item {
        display: none;
        width: 100%;
        max-width: 100%;
        float: left;
        padding: 40px 19px 0px;
    }

    .mobile-header .menu-primary-menu-container,
    .mobile-header .menu-dashboard-navigation-container {
        overflow: auto;
        padding-top: 60px;
        padding-left: 100px;
        width: 100%;  
    }

    .mobile-header .open ~ .menu-primary-menu-container,
    .mobile-header .open ~ .menu-dashboard-navigation-container {
        transform: translateX(0);
        background: rgba(25, 22, 6, .5) !important;              
    }

    #nav li a, #nav_ li a {
        font: 300 18px 'Heebo', sans-serif;
        letter-spacing: .1em;
        color: #fff;
        text-transform: uppercase;
        display: block;
        margin-bottom: 30px;
    }
    .ip-agents-details-tab-btns:after {
        right: 0;
    }

    .easyPaginateNav {
        width: 100%!important;   
    }
        .easyPaginateNav a {
            margin-bottom: 5px;
            margin-left: 2.5px;
            margin-right: 2.5px;
        }

    .single-aios-listings main, .single-aios-listings #inner-page-wrapper {
        z-index: initial;
    }

    #content .ip-about-content img.left-img {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    
    .single-aios_agent .ip-agents-details-txt-wrap a.ip-agents-inquire-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .ip-press-inner-wrap {
        margin: 0;
    }
    .ip-banner[data-id="36"] .jarallax > div > div {
        background-position: 50% 60px!important;
    }

    .page-id-1214 .sidebar a.cta {
        display: block;
        max-width: 360px;
        /*margin: 20px auto;*/
        position: relative;
    }

    .page-id-1214 .sidebar a.cta:before {
        right: 0;
    }

    .page-id-1214 .sidebar .cta-img, .page-id-1214 .sidebar .cta-details {
        width: 100%;
        text-align: center;
    }

    .page-id-1214 .sidebar .cta-details {
        /*padding: 60px 0 20px;
        background: rgba(0, 0, 0, 0);
        position: absolute;
        bottom: 0;*/
    }
    .page-id-1214 .sidebar .cta-details h2 {
        /*font-size: 20px;
        color: #fff;
        margin-bottom: 12px;
        margin-top: 0;*/
    }

    .page-id-1214 .sidebar a.cta .cta-details h2:after {
        left: 0;
        right: 0;
    }

    .cta-list a:first-child, .cta-list a:last-child {
        margin: 0 auto 10px
    }

    .cta-list a {
        /*margin-bottom: 30px !important;*/
    }

    .slide-address-price {
        margin: 40px auto 0;
    }




    #IDX-main.IDX-wrapper-standard.IDX-category-search .IDX-navbar #IDX-navbar-collapse ul li a{
        font-size: 9px;
        padding: 5px;
    }

   

    #content .entry-title.idx-search-title{
        padding: 12px 25px;
        font-size: 7vw;
        margin: 25px auto !important;
    }


    #content .entry-title.idx-search-title::before, #content .entry-title.idx-search-title::after{
        height: 100%;
    }

    #IDX-main.IDX-wrapper-standard.IDX-category-search.IDX-page-advanced input[type="radio"]{
            margin: 4px 5px 0;
    }

    @media screen and (orientation:landscape) {
        .home .cycloneslider-caption-description h2 span {
            margin-bottom: 10px;
        }

        .home .cycloneslider-caption-description a.btn-a {
            margin-top: 10px;
        }

        .home .cycloneslider-template-fixed .cycloneslider-pager{
            bottom: 5px;
        }

        .home .cycloneslider-template-fixed .cycloneslider-caption-description {
            margin-top: 29px;
        }

        .slide-address-price {
            margin: 24px auto 0 !important;
        }
    }
}


/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {

    .ip-logo-list {
        width: 100%;
    }

    .hero-tagline h2,
    #section-tagline-b .hero-tagline h2 {
        font-size: 30px;
    }
    .section-title,
    #newsletter .section-title {
        font-size: 30px;
    }
    
    .fp {
        width: 100%!important;
        padding: 0;
        margin-bottom: 20px;
    }
    .home .fp {
        padding: 0 1px;
    }
    .fp-img {
        height: 200px;
    }
    .fp-title {
        font-size: 18px;
    }
    .fp-ammenities {
        font-size: 13px;
    }
    .ip-fp-actions .ip-fp-search,
    .ip-fp-actions .ip-fp-sort {
        float: right;
        display: block;
        width: 100%;
        text-align: right;
    }
    .ip-fp-actions .ip-fp-search {
        margin-bottom: 10px;
    }
    .ip-fp.fp-list {
        max-width: 320px;
        margin: 0 auto;
    }
    .ip-cm-container {
        padding: 0 15px;
    }
    .ip-fp-pagination ul a {
        width: 40px;
        height: 40px;
    }
    

    .ip_mot_pagination {
        flex-wrap: wrap;
    }
        #content .ip_mot_pagination > li {
            width: 22px;
            margin-bottom: 5px;
        }
        .ip_mot_wrapper .ip_mot_page_button {
        border-right: 1px solid #969696;
        }
    .ip_mot_agent  {
        width: 50%;
    }

    /* AGENTS DETAILS PAGE */
    #content .ip-agents-details-tab-btns ul li a {
        padding: 0 20px;
    }
    #content .ip-agents-details-title h2 {
        line-height: 1;
    }
    .ip-agents-details-info .ip-agents-details-info-item {
        display: block;
        line-height: 1.5;
    }
    .ip-agents-details-info .ip-agents-details-info-item:nth-child(2) {
        border: none;
    }
    .ip-fp-list, .ip-press-inner-wrap {
        margin: 0;
    }
    .ip-fp-item {
        width: 100%;
        padding: 15px 0;
    }
        .ip-fp-item a {
            max-width: 360px;
            margin: 0 auto;
        }
    .ip-press-item {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
        .ip-press-txt {
            font-size: 15px;
            min-height: auto;
            text-align: center;
        }
        .ip-press-item:nth-child(2):before {
            display: block;
        }

    .fp-details .btn-a,
    .home .fp:nth-child(4) .fp-details .btn-a, .home .fp:nth-child(8) .fp-details .btn-a {
        display: none;
    }

    .about-source {
        float: none;
        max-width: 100%;
    }

    #content .ip_about_title h1 {
        font-size: 30px;
    }

    #content .ip_about_title h1 strong {
        display: block;
    }

    .ip_about_wrapper {
        padding: 24px 0px 38px;
        overflow: hidden;
    }
    
    section.section-5 {
        padding: 0 15px 0;
    }
    #content .ip-agents-details-title h2, #content .ip-agents-details-title h1 {
        font-size: 30px;
    }
    

    .home .cycloneslider-template-fixed .cycloneslider-pager {
        /*bottom: 100px;*/
    }

    .home .cycloneslider-caption-description h2 {
        font: 400 20px/1 'Heebo', sans-serif;
        color: #fff;
        text-transform: uppercase;
    }

    .slide-address-price {
        margin: 80px auto 0;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .slide-address-price .hidden {
        display: block !important;
        margin: 10px auto 0 !important;
    }

    .hp-vid-wrap button.play-btn {
        height: 60px;
        width: 60px;
        font-size: 20px;
    }

    .hp-vid-wrap button.play-btn span[class^="ai-font-pause"] {
        left: 20px;
        top: 20px;
    }

    .hp-vid-wrap button.play-btn span[class^="ai-font-play"]{margin-left: 4px;}

    .cta-details p {
        font-size: 11px;
    }

    .home .fp:nth-child(4) .fp-img, .home .fp:nth-child(8) .fp-img {
        height: 200px;
    }
    .about-text {
        padding: 0;
    }
    .ip-press-row {
        display: block;
    }
        .ip-press-title, 
        .ip-press-list {
            display: block;
            width: 100%;
        }
        .ip-press-list {
            margin-top: 30px;
        }
            .ip-press {
                width: 50%;
            }

    #content .ip-press-title h2 {
        margin-bottom: 50px;
    }

    #IDX-main.IDX-wrapper-standard.IDX-category-search .IDX-navbar #IDX-navbar-collapse ul li a {
        font-size: 14px;
        padding: 10px 15px; 
    }

    #IDX-main.IDX-wrapper-standard.IDX-category-search .IDX-navbar #IDX-navbar-collapse ul li a {
        font-size: 14px;
        padding: 10px 15px;
        display: inline-block;
        height: 64px;
    }

}

@media only screen and (max-width: 640px){
    #IDX-main.IDX-wrapper-standard.IDX-category-search .IDX-navbar #IDX-navbar-collapse ul li a{
        height: auto;
        display: block;
    }
     #IDX-main.IDX-wrapper-standard.IDX-category-search .IDX-navbar #IDX-navbar-collapse ul li, #IDX-main.IDX-wrapper-standard.IDX-category-map .IDX-navbar #IDX-navbar-collapse ul li{
        width: 100%;
        margin: 5px 0;
    }

    div#IDX-ccz-group {
        float: none;
        padding-left: 0;
        margin-top: 0;
    }

    #IDX-bd-group, #IDX-tb-group, #IDX-sqft-group, #IDX-acres-group {
        width: 50%;
    }
    

    #IDX-main.IDX-wrapper-standard.IDX-category-search #IDX-coreSearchFields,
    .IDX-searchAdvancedFields{
        margin-left: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 601px) {
    #IDX-main.IDX-wrapper-standard.IDX-category-search #IDX-action-buttons button{
        padding: 15px 0;
        margin: 10px 2px 0;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
    .section-title,
    #newsletter .section-title,
    .hero-tagline h2,
    #section-tagline-b .hero-tagline h2 {
        font-size: 25px;
    }
    #content .ip_about_title h1 {
        font-size: 27px;
    }
    #content .ip_mot_pagination > li {
        width: 20px;
    }
    .hero-tagline h2 span {
        font-size: 14px;
    }
    .nl-form span.wpcf7-form-control-wrap.your-email {
        display: block;
    }
    .nl-form input[type="email"] {
        display: block;
        width: 100%;
    }
    .nl-form input[type="submit"] {
        display: block;
        margin: 15px auto 0;
        border-left: 1px solid #000;
    }
    

    .ip_mot_agent {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 13px;
    }

    /* AGENTS DETAILS PAGE */

    .ip-agents-details-tab-btns:after {
        left: 0;
    }
    #content .ip-agents-details-tab-btns ul li a {
        font-size: 11px;
        padding: 0 8px;
    }
   /* .ip-single-pp video, .ip-single-pp .single-pp-banner canvas {
        height: 350px;
    }*/

    .fp-list {
        padding: 0 15px;
    }

    .fp-list .slick-prev {
        left: -15px;
    }

    .fp-list .slick-next {
        right: -15px;
    }

    .fp-list .slick-arrow {
        width: 47px;
        height: 47px;
        background: rgb(221, 221, 221);
        font-size: 22px;
    }

    .fp-details {
        padding: 35px 18px 31px;
    }

    .fp-title {
        font-size: 15px;
    }

    .fp-ammenities {
        font-size: 12px;
    }

    .fp-ammenities span.list-price {
        font-size: 14px;
    }

    .home .cycloneslider-template-fixed .cycloneslider-caption-description {
        padding: 0 20px;
    }

    .home .cycloneslider-caption-description h2 span {
        font-size: 14px;
        letter-spacing: .3em;
    }

    .home .cycloneslider-caption-description h2 {
        font: 400 17px/1 'Heebo', sans-serif;
    }

    #IDX-bd-group, #IDX-tb-group, #IDX-sqft-group, #IDX-acres-group {
        width: 100%;
        float: none;
    }

    #IDX-advanced_viewYN, #IDX-advanced_poolYN{
        width: 100%;
        float: none;
    }

}