/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (min-width: 1200px) {
    #inner-page-wrapper .ai-modern-testimonials-results-wrapper::before,
    .aiosp-wrap.aiosp-ready div[class*=aiosp-ref-ai-modern-testimonials-results-popup-] .aiosp-content::before{
        background-attachment: fixed;
    }
 }
 @media only screen and (max-width: 1600px) {
}

@media(max-width: 1580px) {
    #site-header .header-logo.partner {
        /* width: 220px; */
    }
}

@media only screen and (max-width: 1440px) {
    #site-header .header-logo.main {
        /* max-width: 120px; */
    }
}

@media only screen and (max-width: 1366px) {
    #site-header .header-logo.partner {
        /* width: 170px; */
    }

    #site-header .header-logo.main {
        /* max-width: 100px; */
    }

    #hp-testimonials .testimonials-list .testimonials-item {
        min-height: 631px;
    }
}

@media only screen and (max-width: 1280px) {
    #site-header .header-navigation ul.site-menu {
        gap: 10px;
        grid-gap: 10px;
    }

    #hp-social .social-video .social-popup:after {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    #site-header {
        padding: 15px 30px
    }
}

@media only screen and (max-width: 1199px) {
    #site-header {
        padding: 15px 20px;
    }

    #site-header .header-logo.main {
        width: 100px;
    }

    #site-header .header-logo.partner {
        width: 150px;
    }

    #site-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    #site-header .header-contact ul {
        gap: 10px;
        grid-gap: 10px;
    }

    #site-header .header-navigation ul.site-menu>li>a {
        font-size: 10.5px;
    }

    #hp-search {
        padding-left: 50px;
        padding-right: 50px;
    }

    #site-fsmi .fsmi-list {
        left: 10px;
    }

    #hp-slideshow .slideshow-info {
        padding-left: 50px;
        padding-right: 50px;
    }

    #hp-search .search-form .search-col {
        width: 70px;
    }

    #hp-welcome .welcome-video {
        left: 220px;
    }

    #hp-welcome .welcome-video .welcome-popup:after {
        width: 60px;
        height: 60px;
    }

    #hp-welcome {
        padding-right: 50px;
    }

    #hp-welcome .welcome-main {
        padding-left: 30px;
    }

    #hp-testimonials .testimonials-title .site-title {
        padding-right: 50px;
    }

    #hp-testimonials .testimonials-title .site-title small {
        margin-right: -50px;
    }

    #hp-social .social-title {
        padding-left: 0;
    }

    #site-footer .footer-top {
        padding: 0;
    }

    #site-footer .footer-main {
        padding-left: 50px;
        padding-right: 50px;
    }

    #hp-testimonials .testimonials-list .testimonials-item {
        min-height: 670px;
    }

    body.page-id-331 .ip-comm-content-container .site-title strong:before {
        left: -10%;
        top: calc(100% + max(1.875vw, 22px) - 2px);
    }
}

@media only screen and (max-width: 1024px) {
    #site-header .header-logo.main {
        width: 80px;
    }

    #site-header .header-navigation ul.site-menu>li>a {
        font-size: 8.5px;
    }
}

@media only screen and (max-width: 991px) {
    #site-header {
        position: relative;
        z-index: 1;
        margin-top: 52px;
        padding: 30px;
        background: #000;
    }

    #site-header .header-wrap>*:not(.header-logo.main) {
        display: none;
    }

    #site-header .header-wrap {
        justify-content: center;
    }

    #site-fsmi {
        display: none;
    }

    .site-title {
        display: inline-block;
        text-align: center !important;
        padding: 0 !important;
    }

    .site-title:before {
        margin: 0 auto 20px;
    }

    .site-title small {
        margin-top: 10px !important;
        padding: 0 !important;
    }

    .site-title strong:before, .site-title small:before {
        display: none;
    }

    .site-title strong, .site-title small {
        display: block;
        text-align: inherit;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #hp-slideshow .slideshow-cycle .cycloneslider .cycloneslider-canvas, #hp-slideshow .slideshow-cycle .cycloneslider .canvas-holder {
        min-height: 400px;
    }

    #hp-slideshow .slideshow-info {
        text-align: center;
    }

    #hp-fmenu {
        position: relative;
        margin: 0;
        transform: none;
        background: rgba(var(--primary), 1);
    }

    #hp-fmenu .fmenu-wrap, #hp-search .search-wrap, #hp-properties .properties-wrap, #hp-welcome .welcome-wrap, #hp-communities .communities-wrap, #hp-stats .stats-wrap, #hp-cta .cta-wrap, #hp-testimonials .testimonials-wrap, #hp-social .social-wrap, #site-footer .footer-top, #site-footer .footer-bottom {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }

    #hp-fmenu .fmenu-list {
        max-width: 400px;
        display: flex;
        justify-content: center;
        flex-flow: row wrap;
        margin: 0 auto;
    }

    #hp-fmenu .fmenu-list li {
        width: 50%;
        padding: 10px;
        border: none !important;
    }

    #hp-fmenu .fmenu-list li a {
        display: block;
        width: 100%;
        font-size: 13px;
        border: 1px solid #fff;
    }

    #hp-fmenu .fmenu-list li a br {
        display: none;
    }

    #hp-search {
        position: relative;
        transform: none;
        padding: 50px 30px;
        background: #aaaaaa;
    }

    #hp-fmenu, #hp-search, #hp-properties, #hp-welcome, #hp-communities, #hp-stats, #hp-cta, #hp-testimonials, #hp-social, #site-footer .footer-git, #site-footer .footer-main {
        padding: 50px 15px;
    }

    #hp-search .search-container {
        flex-direction: column;
        text-align: center;
    }

    #hp-search .search-form {
        gap: 15px 0;
        grid-gap: 15px 0;
        flex-flow: row wrap;
        margin-top: 30px;
    }

    #hp-search .search-form .search-col {
        width: 50% !important;
        margin: 0 !important;
        padding: 0 10px;
    }

    #hp-search .search-form .search-col.lg {
        width: 100%;
    }

    #hp-search .search-form .search-col.submit button, #hp-search .search-form .search-col.advanced a {
        width: 100%;
    }

    #hp-search .search-poweredby {
        text-align: center;
        margin-top: 30px;
    }

    #hp-properties .properties-list .properties-col {
        width: 50%;
    }

    #hp-properties .properties-list .properties-col:nth-child(n + 5) {
        display: none;
    }

    #hp-properties .properties-wrap:before, #hp-properties .properties-wrap:after {
        left: -25vw;
        right: -25vw;
    }

    #hp-properties .properties-list .properties-link .site-button {
        display: none !important;
    }

    #hp-properties .properties-list .properties-info {
        display: block;
        text-align: center;
    }

    #hp-properties .properties-list .properties-info .properties-left, #hp-properties .properties-list .properties-info .properties-right {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #hp-properties .properties-list .properties-content, #hp-properties .properties-list .properties-link {
        display: none !important;
    }

    #hp-properties .properties-list .properties-amenities ul {
        justify-content: center;
        flex-flow: row wrap;
    }

    #hp-properties .properties-control {
        margin-top: 30px;
    }

    #hp-properties .properties-list .properties-amenities ul li {
        font-size: 11px;
    }

    #hp-welcome .welcome-container {
        display: block;
    }

    #hp-welcome:after {
        clip-path: none;
        background-color: rgba(255, 255, 255, 0.75);
    }

    #hp-welcome .welcome-title {
        text-align: center;
    }

    #hp-welcome .welcome-img {
        margin: 30px auto 0;
    }

    #hp-welcome .welcome-img:before {
        display: none;
    }

    #hp-welcome .welcome-main {
        padding: 30px;
        text-align: center;
        margin-left: 0;
    }

    #hp-welcome .welcome-video {
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 30px auto 0;
        width: 500px;
        max-width: 100%;
        background: rgba(var(--secondary), 1);
    }

    #hp-welcome .welcome-video .welcome-popup .site-img canvas {
        height: auto;
    }

    #hp-communities .communities-list {
        margin: 30px auto 0;
    }

    #hp-communities .communities-list .communities-col {
        width: calc(100% / 3);
    }

    #hp-communities .communities-list .communities-link {
        display: none;
    }

    #hp-communities .communities-list .communities-name {
        transform: none !important;
        min-height: auto;
    }

    #hp-communities .communities-list .communities-info {
        bottom: 20px;
    }

    #hp-stats .stats-list {
        display: block;
    }

    #hp-stats .stats-list .stats-col {
        border-left: none !important;
        border-right: none !important;
        width: 100%;
    }

    #hp-stats .stats-list .stats-col:before, #hp-stats .stats-list .stats-col:after {
        display: none !important;
    }

    #hp-stats .stats-list .stats-col+.stats-col {
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.43);
    }

    #hp-cta .cta-list {
        margin: 0;
    }

    #hp-cta .cta-list .cta-col {
        width: calc(100% / 3);
    }

    #hp-cta .cta-list .cta-link {
        display: none;
    }

    #hp-cta .cta-list .cta-name {
        min-height: 0;
        transform: none !important;
    }

    #hp-testimonials .testimonials-list .testimonials-col {
        width: 50%;
    }

    #hp-testimonials .testimonials-main:before {
        left: -25vw;
        right: -25vw;
    }

    #hp-testimonials .testimonials-main {
        padding-top: 100px;
    }

    #hp-social .social-title {
        padding-right: 0;
    }

    #hp-social .social-top {
        flex-direction: column;
        text-align: center;
    }

    #hp-social .social-content {
        text-align: inherit;
        max-width: 500px;
    }

    #hp-social .social-content {
        flex-direction: column;
    }

    #hp-social .social-main {
        flex-direction: column;
    }

    #hp-social .social-group {
        width: 100%;
        display: block;
    }

    #hp-social .social-video .social-col:nth-child(1) .social-popup .site-img canvas {
        height: auto;
    }

    #hp-social .social-video .social-col .social-popup .site-img canvas {
        max-height: 300px !important;
    }

    #hp-social .social-label {
        flex-flow: row nowrap;
        margin-bottom: 20px;
    }

    #hp-social .social-label strong {
        transform: none;
        writing-mode: horizontal-tb;
    }

    #hp-social .social-label:before {
        height: 1px;
        flex-grow: 1;
    }

    #hp-social .social-list, #hp-social .social-video {
        width: 100%;
    }

    #site-footer .footer-git .git-container {
        max-width: 780px;
        margin: 0 auto;
    }

    #site-footer .footer-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #site-footer .footer-smi ul {
        justify-content: center;
    }

    #site-footer .footer-contact ul {
        flex-direction: column;
    }

    #site-footer .footer-contact ul li {
        align-items: center;
        justify-content: center;
    }

    #site-footer .footer-navigation ul {
        column-count: auto;
    }

    #site-footer .footer-smi {
        margin-top: 20px;
    }

    #site-footer .footer-partners ul {
        flex-flow: row wrap;
        justify-content: center;
    }

    #site-footer .footer-partners {
        padding-left: 30px;
        padding-right: 30px;
    }

    #ip-banner .banner-img:after {
        display: none;
    }

    #ip-banner .banner-info {
        position: relative;
        bottom: 0;
        margin-top: 30px;
    }

    #ip-banner .banner-title h1, #ip-banner .banner-breadcrumbs {
        color: #000;
    }

    .inner {
        width: 100%;
    }

    #content-sidebar, #content-full {
        width: 100%;
    }

    .outer {
        width: 100%;
        min-width: 100%;
    }

    #content-sidebar #content {
        width: 100%;
    }

    #hp-testimonials .testimonials-list .testimonials-item {
        min-height: 500px;
    }

    #pojo-a11y-toolbar {
        display:none;
   }

    #post-328 > .entry-content > p {
        padding: 0 20px;
    }

    #post-328 > .entry-content > .row {
        display: flex;
        flex-wrap: wrap;
    }

    body.page-id-328 .ip-comm-title .site-title span,
    body.page-id-331 .ip-comm-title .site-title span {
        margin: 0;
    }
}


@media only screen and (max-width: 767px) {
    #hp-social .social-video .social-popup:after {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }

    .ip-banner .container {
        width: 100%;
    }

    #post-328 > .entry-content > .row  > div {
        width: 50%;
    }

    #post-328 > .entry-content > .row  > div  .site-button {
         width: 100%;   
    }
}

@media only screen and (max-width: 567px) {
    .site-control {
        flex-flow: row wrap;
    }

    .site-control .site-viewall {
        width: 100%;
        order: 1;
        text-align: center;
    }

    #hp-properties .properties-list .properties-col, #hp-testimonials .testimonials-list .testimonials-col {
        width: 100%;
    }

    #hp-properties .properties-list .properties-col:nth-child(n + 2) {
        display: none;
    }

    #hp-testimonials .testimonials-main {
        padding: 75px 0 0;
    }

    #hp-communities .communities-list .communities-col, #hp-cta .cta-list .cta-col {
        width: 50%;
    }

    #hp-social .social-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #hp-social .social-video {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #hp-social .social-video .social-col {
        grid-column: auto / auto !important;
    }

    #site-footer .footer-git .git-form .git-col {
        grid-column: span 2;
    }
}

@media only screen and (max-width: 480px) {
    #hp-fmenu .fmenu-list li {
        width: 100%;
        padding: 5px;
    }

    #hp-search .search-form .search-col {
        width: 100% !important;
    }

    #hp-social .social-list, #hp-social .social-video {
        grid-template-columns: 1fr;
    }

    #hp-social .social-list .social-img .site-img canvas, #hp-social .social-video .social-col .social-popup .site-img canvas {
        max-height: 200px !important;
    }

    #post-328 > .entry-content > .row  > div {
        width: 100%;
    }

    body:not(.page-template-templatesluxury-condos-php) #ip-banner .banner-title h1 {
        font-size: 35px;
    }
}


@media(max-width:375px) {
    body:not(.page-template-templatesluxury-condos-php) #ip-banner .banner-title h1 {
        font-size: 25px;
    }
    .cycloneslider-template-standard {
        max-width: 100% !important;
    }
}