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

@media only screen and (min-width: 992px) {
    #inner-page-wrapper #ai-minimalist-properties-results .ai-minimalist-properties-results-table .ai-minimalist-properties-results-img {
        width: 34.5%;
    }
    #inner-page-wrapper #ai-minimalist-properties-results .ai-minimalist-properties-results-table .ai-minimalist-properties-results-info {
        width: 65.5%;
    }
    #inner-page-wrapper #ai-minimalist-properties-results .ai-minimalist-properties-results-table .ai-minimalist-properties-results-media span[data-media="virtual-tour"]:before {
        aspect-ratio: 1/1;
    }
}

@media only screen and (min-width: 1371px) {
    .custom-container {
        width: 1370px;
        ;
    }
}

@media only screen and (max-width: 1439px) {
    .custom-ai-minimalist-properties-results-address strong {
        font-size: 23px;
    }
    .custom-ai-minimalist-properties-results-extras li {
        letter-spacing: 0;
    }
    .custom-ai-minimalist-properties-results-extras li+li {
        padding-left: 5px;
        margin-left: 5px;
    }
}

@media only screen and (max-width: 1370px) {
    .testi-list {
        margin: 0;
        padding: 0 30px;
    }
    .testi-list .custom-slick-arrow.slick-prev {
        left: 0;
    }
    .testi-list .custom-slick-arrow.slick-next {
        right: 0;
    }
}

@media only screen and (max-width: 1280px) {
    .qs-form {
        margin-right: 0;
        padding-left: 0;
    }
    .qs-form .section-title {
        left: 0;
    }
}


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

@media only screen and (max-width: 1199px) {
    .section-title,
    #content .entry-title,
    #content .archive-title,
    body .ai-minimalist-column-content-left .entry-title {
        font-size: 40px;
    }
    .advocacy-logos img {
        margin: 0 30px;
    }
    #hp-git .bg-parallax {
        max-width: 155vw;
        width: initial;
    }
    .footer i.ai-font-compass {
        font-size: 19px;
    }
    body.aios-custom-ihomefinder-template-minimalist #content p#breadcrumbs {
        padding: 0 50px;
    }
    .custom-ai-minimalist-properties-results-address strong {
        font-size: 20px;
    }
    .custom-ai-minimalist-properties-results-extras li {
        font-size: 12px;
    }
    .mb-media p {
        font-size: 15px;
    }
    .mb-blog-post p {
        font-size: 14px;
        line-height: 1.3;
    }
    #nav li a,
    .header-contact-info span a,
    .header-contact-info span select {
        font-size: 12px;
    }
    .about-text {
        padding: 100px 60px;
    }
    .footernav > li > a {
        font-size: 16px;
    }
    .footernav .sub-menu li a {
        font-size: 13px;
    }
}


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

@media only screen and (max-width: 991px) {
    *[class*="col-md"] {
        width: 100%;
    }
    .col-sm-1 {
        width: 8.33333333%;
    }
    .col-sm-2 {
        width: 16.66666666%;
    }
    .col-sm-3 {
        width: 25%;
    }
    .col-sm-4 {
        width: 33.33333333%;
    }
    .col-sm-5 {
        width: 41.66666666%;
    }
    .col-sm-6 {
        width: 50%;
    }
    .col-sm-7 {
        width: 58.33333333%;
    }
    .col-sm-8 {
        width: 66.66666667%;
    }
    .col-sm-9 {
        width: 75%;
    }
    .col-sm-10 {
        width: 83.33333333%;
    }
    .col-sm-11 {
        width: 91.66666667%;
    }
    .col-sm-12 {
        width: 100%;
    }
    /* 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%;
    }
    .bg-parallax {
        transform: none!important;
        max-width: 100%;
        height: 100%;
    }
    body.home .aios-mobile-header-wrapper.aios-mobile-header-wrapper-breakpoint-992 {
        z-index: 1011;
    }
    header.header,
    header.header.sticking {
        position: relative;
        padding: 52px 0 0;
        z-index: 1;
    }
    .header-logo {
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        margin: 0;
    }
    .sticking .header-logo a,
    .header-logo a {
        /*        width: 100px;*/
    }
    .header-logo a img {
        margin: 0 auto;
    }
    .header-navigation {
        display: none;
    }
    .slideshow-tagline {
        padding: 0 15px;
    }
    .slideshow-tagline h2 {
        font-size: 30px;
    }
        .slideshow-tagline span {
            font-size: 20px;
        }
    .slideshow-tagline h3 {
        margin-bottom: 20px;
        font-size: 20px;
    }
    .slideshow-tagline p {
        font-size: 12px;
    }
    #hp-slide .aios-slider-img canvas[style*="slide-1.jpg"] {
        background-image: url(images/slide-1-fixed.jpg)!important;
    }
    .qs-form {
        margin: 0 -10px;
        padding-left: 0;
    }
    .qs-form i {
        position: relative;
        top: 0;
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
    #hp-qs .section-title {
        text-align: center;
    }
    .qs-field {
        margin-bottom: 10px;
        padding: 0 10px;
    }
    .qs-field.pt,
    .qs-field.city {
        width: 100%;
    }
    .qs-field.field-sm {
        width: 50%;
    }
    .qs-field select,
    .qs-field button[data-toggle="dropdown"],
    .qs-field input[type="text"] {
        padding-bottom: 0;
    }
    .qs-field.field-btn {
        width: 100%;
        margin-top: 15px;
    }
    .qs-field.field-btn .btn-a {
        margin: 0 auto;
    }
    .qs-form .section-title {
        position: relative;
        left: 0;
        right: 0;
        text-align: center;
        margin: 0 auto 20px;
        font-size: 40px;
    }
    .about-img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px;
    }
    .about-text {
        width: 100%;
    }
    .about-text .accent-line:before {
        left: 0;
    }
    #hp-stats {
        padding: 60px 0;
    }
    .stats-item {
        width: 100%;
    }
    .stats-item:not(:last-child) {
        margin: 0 0 30px;
    }
    .stats-item-number {
        font-size: 50px;
        margin-bottom: 15px;
    }
    .stats-item p {
        font-size: 15px;
    }
    #hp-fp {
        padding: 80px 0;
    }
    .fp-controls .custom-slick-arrow.slick-prev {
        left: 10px;
    }
    .fp-controls .custom-slick-arrow.slick-next {
        right: 10px;
    }
    .fp-controls .custom-slick-arrow:not(:hover) {
        color: #fff;
    }
    .fp-address {
        font-size: 25px;
    }
    .fp-amenities span {
        font-size: 15px;
    }
    .fp-amenities span:after {
        margin: 0 10px;
    }
    .fp-btns a.btn-a {
        margin-bottom: 15px;
    }
    .map-wrap {
        overflow: hidden;
        max-height: 35vw;
    }
    .map-list-wrap {
        position: relative;
        max-width: 750px;
        bottom: 0;
        pointer-events: all!important;
        padding: 0 15px;
    }
    .map-list-wrap .section-title {
        text-align: center;
        margin: 50px 0 30px;
    }
    .map-list-wrap .accent-line {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
    }
    .map-list-wrap .accent-line:after {
        margin-left: auto;
    }
    .map-list {
        max-height: initial;
        flex-flow: row wrap;
    }
    .map-list li {
        width: 50%;
        text-align: center;
    }
    .map-list li a {
        font-size: 15px;
        padding: 15px 0;
    }
    .map-list li:nth-child(5n) {
        border-bottom: 1px solid rgba(72, 77, 84, 0.1);
    }
    #hp-developments {
        padding: 80px 0;
    }
    .dev-controls .custom-slick-arrow.slick-prev {
        left: 10px;
    }
    .dev-controls .custom-slick-arrow.slick-next {
        right: 10px;
    }
    .dev-controls .custom-slick-arrow:not(:hover) {
        color: #fff;
    }
    .dev-address {
        font-size: 25px;
    }
    .dev-desc {
        font-size: 15px;
    }
    .dev-btns a.btn-a {
        margin-bottom: 15px;
    }
    #hp-sold {
        padding: 0 5% 80px;
    }
    .sold-properties-list {
        margin: 0 -15px;
    }
    .sp-item {
        width: 50%;
        padding: 0 15px;
    }
    .sp-address {
        font-size: 25px;
    }
    .sp-price {
        font-size: 15px;
    }
    #hp-testimonials {
        padding: 60px 0;
    }
    .testi p,
    .testi span {
        font-size: 15px;
    }
    .testi-list .custom-slick-arrow {
        bottom: 0;
    }
    #hp-media-blog {
        padding: 80px 0;
    }
    .mb-media {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 50px;
    }
    .mb-video .icon-play {
        width: 80px;
        height: 80px;
        font-size: 25px;
    }
    .mb-blog {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    a.mb-blog-img {
        margin-bottom: 0;
    }
    .mb-blog-text {
        position: relative;
    }
    .mb-blog-post p {
        font-size: 16px;
        line-height: 1.5;
    }
    #hp-advocacy {
        padding: 60px 0;
    }
    .advocacy-logos {
        flex-flow: column;
    }
    .advocacy-logos img {
        max-height: 80px;
        width: auto;
        margin: 15px auto;
    }
    .soc-left {
        width: 100%;
        text-align: center;
    }
    .soc-left .accent-line {
        margin: 30px auto 0;
    }
    .soc-left .accent-line:after {
        margin-left: auto;
    }
    .soc-left a.btn-a {
        margin: 0 auto 40px;
    }
    .soc-right {
        width: 100%;
    }
    #hp-git {
        padding: 60px 0;
    }
    #hp-git .bg-parallax {
        width: 100%;
    }
    .git-info {
        width: 100%;
        margin-bottom: 50px;
    }
    .git-form {
        width: 100%;
        padding: 77px 30px 99px;
    }
    .footernav li {
        width: 100%;
        text-align: center;
    }
    .footernav > li:not(:last-child) {
        margin-bottom: 30px;
    }
    p.footer-copyright {
        margin-bottom: 30px;
    }
    #pojo-a11y-toolbar {
        display: none;
    }
    body.aios-custom-ihomefinder-template-minimalist #content p#breadcrumbs {
        padding: 0 15px;
        margin-left: auto;
        margin-right: auto;
        max-width: 750px;
    }
    .ip-banner-breadcrumbs:before {
        width: 100%;
    }
    .custom-ai-minimalist-properties-results-item {
        width: 100%;
    }
    .custom-ai-minimalist-properties-results-info {
        padding: 0 0 30px;
        text-align: center;
    }
    .custom-ai-minimalist-properties-results-footer {
        display: flex;
        flex-flow: column;
    }
    .custom-ai-minimalist-properties-results-button {
        position: relative;
        top: 0;
        margin: 0 auto;
    }
    .custom-ai-minimalist-properties-results-extras {
        justify-content: center;
    }
    .custom-ai-minimalist-properties-results-extras li {
        margin: 0!important;
        padding: 5px 5px!important;
        text-align: center;
        border: none!important;
    }
    .section-title {
        align-items: center !important;
    }
    .section-title span {
        text-align: center;
    }
    .about-text .section-title {
        max-width: 100%;
        text-align: center;
    }
    .about-text p,
    .about-text ul {
        max-width: 100%;
        text-align: center;
    }
    .about-text a.btn-a {
        margin: 61px auto 0;
    }
    .about-img::before {
        border-right: 2px solid #ee4d9b;
        border-bottom: none;
        right: -27px;
    }
    .testi {
        text-align: center;
    }
    .footer-en .textwidget {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }
    .footernav .sub-menu li a {
        font-size: 14px;
    }
    .en-form {
        margin: 30px auto 0;
    }
    .footer-disclaimer p,
    .footer-copyright p {
        text-align: center;
    }
    .post-page-invest-in-new-condo-construction .dev-item {
        width: 50%;
    }
    .ip-git > div:first-child,
    .ip-git > div:last-child {
        width: 100%;
        padding: 0;
    }
    .ip-git .entry-title,
    .ip-git p,
    .ip-git .git-name,
    .ip-git .git-contact,
    .ip-git .git-address,
    .ip-git .git-license,
    .ip-git .git-smi {
        text-align: center;
        justify-content: center;
    }
    
    .ip-git p {
        margin: 1.12em auto !important;
    }
    .ip-git .git-address {
        margin: 0 auto;
    }
    .ip-git .git-photo {
        max-width: 576px;
        margin: 60px auto 0;
    }

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

    body.single-aios-communities.aios-custom-ihomefinder-template-minimalist #content .entry-title,
    body.single-aios-communities.aios-custom-ihomefinder-template-minimalist #content p#breadcrumbs {
        max-width: 100%;
    }

    .page-id-36 .aiosp-wrap div[class*=ai-minimalist-testimonials-results-popup-] button.aiosp-close {
        right: -35px;
    }

    .custom-banner-breadcrumbs::before {
        width: 100%;
    }


    body.single-aios-communities.aios-custom-ihomefinder-template-minimalist #content .entry-title {
        margin-top: 0.67em;
    }
}


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

@media only screen and (max-width: 767px) {
    *[class*="col-sm"] {
        width: 100%;
    }
    .col-xs-1 {
        width: 8.33333333%;
    }
    .col-xs-2 {
        width: 16.66666666%;
    }
    .col-xs-3 {
        width: 25%;
    }
    .col-xs-4 {
        width: 33.33333333%;
    }
    .col-xs-5 {
        width: 41.66666666%;
    }
    .col-xs-6 {
        width: 50%;
    }
    .col-xs-7 {
        width: 58.33333333%;
    }
    .col-xs-8 {
        width: 66.66666667%;
    }
    .col-xs-9 {
        width: 75%;
    }
    .col-xs-10 {
        width: 83.33333333%;
    }
    .col-xs-11 {
        width: 91.66666667%;
    }
    .col-xs-12 {
        width: 100%;
    }
    .ip-banner .container {
        width: 100%;
    }
    .section-title,
    #content .entry-title,
    #content .archive-title,
    body .ai-minimalist-column-content-left .entry-title {
        font-size: 30px;
    }
    .section-title small,
    #content .section-title small {
        letter-spacing: 0.5em;
    }
    body .ai-minimalist-column-content-left .entry-sub-title {
        font-size: 20px;
    }
    .sp-item {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 30px;
        display: block;
    }

    #listings-details .listings-breadcrumbs {
        margin-bottom: 0 !important;
    }
    #listings-details .listings-breadcrumbs p#breadcrumbs {
        margin: 0 !important;
    }



}


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

@media only screen and (max-width: 480px) {
    .map-list li {
        width: 100%;
    }
    a.soc-ig-link {
        font-size: 20px;
    }
    .git-contact {
        margin-bottom: 0;
    }
    .git-contact span {
        border: 0;
        width: 100%;
        margin-bottom: 15px;
    }
    .git-smi a {
        margin: 0 10px;
    }
    #hp-qs {
        padding: 31px 15px 26px;
    }
    #hp-qs .textwidget {
        padding-left: 15px;
        padding-right: 15px;
    }
    #hp-qs .section-title {
        font-size: 20px;
        letter-spacing: 0.02em;
    }
        #hp-qs .section-title small {
            letter-spacing: 0.2em;
        }
    #hp-bl {
        padding: 0 15px;
    }
    .about-text {
        padding: 60px 30px;
    }
    .sp-list,
    .dev-list {
        padding: 0;
        margin: 0;
    }
    .sp-item,
    .dev-item {
        padding: 0;
    }
    .custom-slick-arrow {
        color: #fff;
        text-shadow: 0 0 10px #000;
    }
    .dev-list .custom-slick-arrow {
        bottom: 52px;
    }
    .ig-post {
        width: 50%;
    }
    .post-page-invest-in-new-condo-construction .dev-item {
        width: 100%;
    }
    
    .ip-git .git-contact span {
        padding: 0;
    }

    .invest-new-condo-buttons {
        flex-flow: column;
    }
        .invest-new-condo-buttons a {
            margin-bottom: 10px;
        }
}