/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1600px) {}

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

    /* START HP MAP*/
    .map_left_wrap {
        max-width: 400px;
    }

    .map_left_txt {
        margin-top: 29px;
    }

    .map_left_txt li a {
        font-size: 17px;
        padding: 13px 0 7px 25px;
    }

    /* END HP MAP*/
}

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

    /* START HP MAP*/
    .map_left_wrap {
        left: 7.375%;
        max-width: 360px;
    }

    .map_title h2 {
        font-size: 65px;
    }

    .map_left_txt li a {
        font-size: 15px;
        padding: 10px 0 4px 25px;
    }

    /* END HP MAP*/
}

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

    .site-git .git-wrap,
    #hp-search .search-main,
    #site-footer .footer-wrap {
        padding: 0 max(6.25vw, 50px);
    }

    #hp-cta .cta-buttons li a {
        padding: max(2.5vw, 20px);
        padding-right: calc(max(2.5vw, 20px) + 30px);
    }

    #hp-cta .cta-buttons li a:before {
        width: 21px;
        margin-bottom: 10px;
    }

    #hp-cta .cta-buttons li a:after {
        height: 21px;
        margin-right: 10px;
    }

    #hp-popup .popup-content {
        padding-left: 55px;
    }
}

@media only screen and (max-width: 1199px) {
    body .archive-thumbnail a img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    #hp-instagram .instagram-links .site-button {
        min-width: 0;
    }

    #hp-facebook .facebook-posts .facebook-content {
        padding-right: 0;
    }

    /*START 6-2-2023 CUSTOM*/
    body.home #site-header-custom .header-logo a img.custom-header-logo {
        max-width: 225px;
    }

    #site-header-custom img.broker-logo {
        max-width: 200px;
        width: 100%;
    }

    /* START HP MAP*/
    .map_left_wrap {
        top: 35px;
        left: 4.375%;
        max-width: 370px;
    }

    .map_title h2 {
        font-size: 55px;
    }

    .map_title h2 span {
        font-size: 16px;
    }

    .map_left_txt {
        margin-top: 20px;
    }

    .map_left_txt li a {
        padding: 8px 0 2px 25px;
        font-size: 14px;
    }

    .map_left_txt li a span::before {
        width: 8px;
        height: 10px;
        margin-top: -5px;
    }

    /* END HP MAP*/
    #hp-popup .popup-cta .site-button {
        font-size: 12px;
    }
}

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

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

    body #listings-results .listings-list .listings-img a::after,
    body #listings-results .listings-grid .listings-img::after,
    body #listings-results .listings-table .listings-table-body .listings-img::after {
        opacity: 0;
    }

    /** Site Mobile Container | Start */
    #main-wrapper .site-mobile-container {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /** Site Mobile Container | End */

    /** Site Mobile Horizontal Padding | Start */
    #main-wrapper .site-mobile-hpadding {
        padding-left: 25px;
        padding-right: 25px;
    }

    /** Site Mobile Horizontal Padding | End */

    /** Site Img | Start */
    .site-img canvas {
        max-height: 450px;
    }

    /** Site Img | End */

    /** Site Title | Start */
    .site-title {
        text-align: center;
    }

    .site-title span,
    .site-title span.mb-0 {
        margin-bottom: 15px;
    }

    .site-title span.wt-mt {
        margin-top: 15px;
    }

    .site-title strong {
        letter-spacing: 0.05em !important;
        font-size: max(3.125vw, 38px);
    }

    /** Site Title | End */

    /** Site Get In Touch | Start */
    .site-git .git-main {
        display: block;
    }

    .site-git .git-form {
        margin-left: 0;
    }

    /** Site Get In Touch | End */

    /** Site Floating Social Media Icons | Start */
    #site-fsmi {
        display: none;
    }

    /** Site Floating Social Media Icons | End */

    /** Site Header | Start */
    #site-header {
        position: relative;
        margin-top: 52px;
        z-index: 1;
        background: var(--secondary);
        background: #ffffff;
        transition: none;
    }

    #site-header .header-logo {
        margin: 0 auto;
        width: 100%;
    }

    #site-header .header-logo a span {
        font-size: 23px;
    }

    #site-header .header-navigation {
        display: none;
    }

    #site-header .header-logo a {
        justify-content: center;
        width: 100%;
    }

    #site-header .header-logo a img.hp-logo {
        display: block
    }

    #site-header .header-logo a img.ip-logo {
        display: none;
    }

    body.ip-container #site-header .header-logo a img.ip-logo {
        display: none;
    }

    body.ip-container #site-header .header-logo a img.hp-logo {
        display: block;
    }

    /** Site Header | End */

    /** Site Footer | Start */
    #site-footer .footer-navigation {
        margin-top: 30px;
    }

    #site-footer .footer-contact ul li {
        width: 100%;
        margin: 10px 0 0 !important;
        padding: 0 !important;
        border-left: none !important;
    }

    #site-footer .footer-contact ul li.lg {
        order: 1;
    }

    #site-footer .footer-navigation ul {
        display: block;
    }

    #site-footer .footer-navigation ul li {
        text-align: center;
        margin: 10px 0 0 !important;
        padding: 0 !important;
    }

    #site-footer .footer-mls span {
        font-size: 30px;
    }

    /** Site Footer | End */

    /** Slideshow | Start */
    #hp-slideshow .slideshow-cycle .cycloneslider-canvas {
        min-height: 430px;
    }

    #hp-slideshow .slideshow-tagline {
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        padding: 30px;
    }

    /** Slideshow | End */

    /** Search | Start */
    #hp-search .search-form {
        flex-flow: row wrap;
    }

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

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

    #hp-search .search-form .search-input {
        font-size: var(--font-size-default);
    }

    #hp-search .search-form .search-submit {
        background: var(--primary);
        border: 1px solid var(--primary);
        color: #fff !important;
        width: 100%;
        height: 38px;
        background: var(--secondary);
        border: 1px solid var(--secondary);
    }

    #hp-search .search-form .search-advanced {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: transparent;
        border: 1px solid #fff;
        width: 100%;
        height: 38px;
        font-size: var(--font-size-default);
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    #hp-search .search-form .search-submit:focus,
    #hp-search .search-form .search-submit:hover,
    #hp-search .search-form .search-advanced:focus,
    #hp-search .search-form .search-advanced:hover {
        opacity: 1;
        background: #fff;
        border-color: #fff;
        color: var(--secondary);
    }

    #hp-search .search-form .search-submit span {
        display: block;
        font-size: max(1vw, var(--font-size-default));
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    #hp-search .search-form .search-submit i,
    #hp-search .search-form .search-advanced i {
        display: none;
    }

    #hp-search .search-form .dropdown-menu {
        min-width: 100%;
    }

    /** Search | End */

    /** Properties | Start */
    #hp-properties .properties-slider .properties-item {
        flex-flow: column;
    }

    #hp-properties .properties-slider .properties-img,
    #hp-properties .properties-slider .properties-info {
        width: 100%;
    }

    #hp-properties .properties-slider .properties-link {
        order: 1;
        text-align: center;
    }

    #hp-properties .properties-slider .properties-info {
        order: -1;
        padding: 40px 0 35px;
    }

    /** Properties | End */

    /** Welcome | Start */
    #hp-welcome .welcome-main {
        padding-top: 0;
        text-align: center;
    }

    #hp-welcome .welcome-img {
        float: none;
        margin: 35px auto 0;
        padding: 0;
        width: 100%;
    }

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

    /** Welcome | End */

    /** Communities | Start */
    #hp-communities .communities-list {
        display: block;
        margin-top: 35px;
    }

    #hp-communities .communities-list .communities-col+.communities-col {
        margin-top: 20px;
    }

    #hp-communities .communities-viewmore {
        margin-top: 35px;
    }

    /** Communities | End */

    /** Testimonials | Start */
    #hp-testimonials .testimonials-container {
        flex-direction: column;
    }

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

    #hp-testimonials .testimonials-img {
        order: 1;
        width: 100%;
        margin: 40px 0 0;
    }

    #hp-testimonials .testimonials-slider {
        display: block;
    }

    #hp-testimonials .testimonials-slider .testimonials-col {
        text-align: center;
    }

    #hp-testimonials .testimonials-slider .testimonials-rating {
        justify-content: center;
        margin: 30px 0;
    }

    #hp-testimonials .testimonials-slider .testimonials-control {
        margin: 0;
        justify-content: center;
    }

    #hp-testimonials .testimonials-viewmore {
        margin-top: 35px;
        text-align: center;
    }

    /** Testimonials | End */

    /** Call To Action | Start */
    #hp-cta {
        margin-top: 80px;
    }

    #hp-cta .cta-buttons {
        display: block;
    }

    #hp-cta .cta-buttons li+li {
        margin-top: 20px;
    }

    /** Call To Action | End */

    /** Blogs | Start */
    #hp-blog .blog-list {
        margin-top: 30px;
        display: block;
    }

    #hp-blog .blog-list .blog-col {
        width: 100% !important;
    }

    #hp-blog .blog-wrap:before {
        display: none;
    }

    #hp-blog .blog-list.slick-initialized .slick-slide+.slick-slide {
        margin: 0;
        padding: 0;
    }

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

    #hp-blog .blog-list .blog-name {
        margin-top: 35px;
    }

    #hp-blog .blog-list .blog-content {
        padding-right: 0;
    }

    #hp-blog .blog-list .blog-link {
        margin-top: 30px;
        padding-top: 0;
    }

    #hp-blog .blog-list .blog-link .site-button {
        padding-left: 24px;
        color: #555;
        border: 1px solid #c1c1c1 !important;
    }

    #hp-blog .blog-list .blog-link .site-button:before,
    #hp-blog .blog-list .blog-link .site-button:after {
        opacity: 1;
        visibility: visible;
        background: var(--primary);
    }

    #hp-blog .blog-control {
        position: relative;
        left: 0;
        width: 100%;
        margin-top: 30px;
        justify-content: center;
    }

    #hp-blog .blog-control .blog-spacer {
        display: none;
    }

    /** Blogs | End */

    /** Facebook | Start */
    #hp-facebook .facebook-main {
        display: flex;
        align-items: center;
        flex-direction: column;
        grid-gap: 0;
    }

    #hp-facebook .facebook-posts {
        margin-top: 30px;
        display: block;
    }

    #hp-facebook .facebook-posts .facebook-col+.facebook-col {
        margin-top: 20px;
    }

    #hp-facebook .facebook-links {
        order: 1;
        margin: 35px 0 0;
        width: 100%;
        max-width: 290px;
    }

    #hp-facebook .facebook-links .site-button {
        width: 100%;
    }

    #hp-facebook .facebook-viewmore {
        order: 2;
        margin-top: 20px;
    }

    /** Facebook | End */

    /** Instagram | Start */
    #hp-instagram .instagram-main {
        display: flex;
        align-items: center;
        flex-direction: column;
        grid-gap: 0;
    }

    #hp-instagram .instagram-posts {
        margin-top: 30px;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    #hp-instagram .instagram-links {
        order: 1;
        margin: 35px 0 0;
        justify-content: center;
        display: block;
        width: 100%;
        max-width: 290px;
    }

    #hp-instagram .instagram-links .site-button {
        width: 100%;
    }

    #hp-instagram .instagram-links .site-button+.site-button {
        margin: 20px 0 0;
    }

    /** Instagram | End */

    .inner {
        width: 100%;
    }

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

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

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

    #site-header .header-logo a img {
        filter: unset;
    }

    /*START 6-2-2023 CUSTOM*/
    body.home #site-header {
        display: none;
    }

    body.home #site-header-custom.fixed {
        visibility: visible;
        opacity: 1;
    }

    body.home #site-header-custom .header-navigation {
        display: none;
    }

    body.home #site-header-custom .header-wrap {
        justify-content: space-between;
    }

    #site-header-custom .header-logo {
        margin-left: 30px;
    }

    #site-header-custom div.broker-logo {
        margin-right: 30px;
    }

    body.home #site-header-custom {
        bottom: 20px;
    }

    #site-footer .footer-navigation ul {
        display: block;
    }

    #site-footer .footer-navigation ul li {
        margin: 10px 5px 0 !important;
    }

    #site-footer .footer-navigation ul li a {
        font-size: max(1vw, 14px);
    }

    .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        display: block;
    }

    .slideshow-wrap .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-custom-video {
        padding-top: 0;
    }

    .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-img canvas,
    .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: calc(100vh - 50px);
    }

    html.ipad-true .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: calc(100vh - 80px);
    }

    html.android.tablet-true .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: calc(100vh - 160px);
    }

    /*END 6-2-2023 CUSTOM*/

    /*START HP MAP*/
    #hp_map_wrap {
        padding-top: 50px;
    }

    .map_left_wrap {
        width: 100%;
        position: relative;
        left: auto;
        top: auto;
        text-align: center;
        margin: auto;
    }

    .map_title h2 {
        text-align: center;
    }

    .map_left_txt ul {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .map_left_txt li a {
        width: 100%;
        padding: 13px 0 7px 0px;
        padding: 0px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
    }

    .map_left_txt li a span::before {
        margin-right: 15px;
    }

    .map_left_txt li a:hover::before,
    .map_left_txt li.active a::before {
        width: 100%;
    }

    /*END HP MAP*/

    #hp-slideshow {
        margin-top: 55px;
    }

    body.home #site-header-custom .header-logo a img.custom-header-logo {
        max-width: 150px;
    }

    #site-header-custom img.broker-logo {
        max-width: 150px;
    }

    .aios-about-right img {
        margin: 0 auto;
    }

    .aios-cu-contact br,
    #site-footer .footer-contact ul li br {
        display: block;
    }

    #hp-popup .popup-image {
        display: none;
    }

    .aiosp-wrap .aiosp-ref-\#hp-popup .aios-popup-body {
        max-width: 682px;
    }

    #hp-popup .popup-content {
        width: 100%;
        padding-left: 15px;
    }

    #hp-popup .popup-cta .site-button {
        font-size: 14px;
    }

    #hp-popup .popup-text {
        line-height: 1.2;
    }
}

@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }
}

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

    /*START 6-2-2023 CUSTOM*/
    #site-header-custom .header-logo {
        margin-left: 15px;
        margin-right: 10px;
    }

    #site-header-custom div.broker-logo {
        margin-right: 15px;
        margin-left: 10px;
    }

    body.home #site-header-custom .header-logo a img.custom-header-logo {
        max-width: 150px;
    }

    #site-header-custom img.broker-logo {
        max-width: 120px;
    }

    .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: calc(100vh - 100px);
    }

    html.iphone-true .slideshow-wrap #aios-slider-hp-video .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: calc(100vh - 130px);
    }
}


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

    /*START HP MAP*/
    .map_left_txt li a {
        font-size: 13px;
    }

    .map_left_txt li a span::before {
        margin-right: 15px;
    }

    /*END HP MAP*/
    #content .entry-title,
    #content .archive-title,
    #content .archive-subtitle {
        padding-left: 0 !important;
        font-size: 40px;
    }

}

@supports(padding:max(0px)) {

    body,
    header,
    footer {
        padding-left: min(0vmin, env(safe-area-inset-left));
        padding-right: min(0vmin, env(safe-area-inset-right));
    }
}