/*******************************************************

 *

 * Mobile styles and other media queries

 *

 *******************************************************/

@media only screen and (max-width: 1366px) {
    #nav > li {
        margin: 0 10px;
    }
    .contact-content {
        padding: 67px 15px 30px 0;
    }
}


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

@media only screen and (max-width: 1199px) {
    #nav > li {
        margin: 0 5px;
    }
    #nav > li > a {
        font-size: 15px;
    }
    .header-contact {
        padding: 0 0 3px 15px;
    }
    .slider-tagline-txt {
        font-size: 80px;
    }
    .slider-arrow-icon {
        height: 80px;
        width: 80px;
    }
    .section-title-main,
    .section-title-sub {
        font-size: 40px;
    }
    .about-txt {
        font-size: 14px;
    }
    .stats-lists-sm {
        font-size: 15px;
    }
    .list-content-price {
        font-size: 20px;
    }
    .list-content-address {
        font-size: 15px;
    }
    .list-content-address span {
        font-size: 10px;
    }
    .footernav li {
        padding: 0 10px;
    }
}


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

@media only screen and (max-width: 991px) {
    /* 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%;
    }
    #content .entry-title,
    #content .archive-title {
        font-size: 25px;
    }
    body.aios-custom-ihomefinder-results-template #content-full .entry-title,
    .page-id-60512 #content .archive-title {
        font-size: 45px;
    }
    .agents-testi-arrow.agents-testi-next.slick-arrow {
        right: 42% !important;
    }
    .agents-testi-arrow.agents-testi-prev.slick-arrow {
        left: 42% !important;
    }
    /* Custom */
    .hidden-mb {
        display: none !important;
    }
    .aios-mobile-header-wrapper {
        z-index: 1010 !important;
    }
    .header,
    .fh.header {
        position: relative;
        padding: 62px 15px 10px;
        background: var(--primary);
    }
    .header-logo img {
        margin: auto;
        filter: grayscale(1) brightness(15);
    }
    .header-main {
        justify-content: center;
    }
    .slider-tagline-main {
        flex-direction: column;
    }
    .slider-min-txt {
        line-height: 1.5;
    }
    .slider-arrow {
        display: none;
    }
    .slider-tagline-txt {
        font-size: 50px;
        text-align: center;
        margin-bottom: 40px;
    }
    .slider-tagline {
        bottom: 0;
    }
    .about-img {
        width: 100%;
    }
    .about-content {
        width: 100%;
        padding: 30px 15px;
        text-align: center;
    }
    .about-img-holder {
        margin: auto;
    }
    .about-txt {
        font-size: 16px;
        max-width: 100%;
    }
    .section-title {
        justify-content: center;
        display: flex;
        text-align: center;
    }
    .section-title-sub {
        justify-content: center;
        font-size: 25px;
    }
    .section-title-sub::after {
        width: 25px;
    }
    .section-btn {
        margin: auto;
    }
    .stats-lists-item {
        width: 100%;
    }
    .awards-holder::before {
        width: 100%;
        /*height: 50%;*/
    }
    .ip-mt-stas-feed-list .awards-holder::before {
        height: 100%;
    }
    .awards-holder-container {
        padding: 0;
    }
    .awards-logo-holder {
        justify-content: center;
    }
    .awards-logo-item img {
        margin: auto;
    }
    .awards-logo-item {
        width: 100%;
    }
    .list-top-main,
    .blog-top-main {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .list-btn,
    .blog-btn {
        padding: 30px 0 0;
    }
    .list-holder-wrap,
    .blog-holder-wrap {
        max-width: 500px;
        width: 100%;
        margin: auto;
    }
    .list-holder:not(.slick-initialized) .list-item ~ div {
        display: none;
    }
    .list-item,
    .blog-item {
        width: 100%;
    }
    .blog-item {
        margin-bottom: 30px;
    }
    .blog-content-hover {
        padding: 5px;
    }
    .blog-content-hover p {
        font-size: 13px;
        line-height: 1.5;
    }
    .contact-wrap {
        padding: 11px;
    }
    .contact-content {
        width: 100%;
        text-align: center;
        padding: 0 0 30px;
    }
    .contact-desc {
        margin: 40px auto 0;
    }
    .contact-form {
        width: 100%;
        max-width: 500px;
    }
    .contact-logo {
        right: 0;
        left: 0;
        top: 0;
        margin: auto;
        transform: none;
        width: 99px;
    }
    .contact-main {
        padding: 150px 0 190px;
    }
    .contact-bg-logo {
        display: none;
    }
    .footer-contact-item.footer-c-email {
        max-width: 100%;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-left: 0;
        border-right: 0;
        height: auto;
    }
    .footer-contact-main {
        min-height: auto;
    }
    .footer-contact-item {
        padding: 15px;
        min-height: 73px;
    }
    .footer-contact a {
        letter-spacing: 0.5px;
    }
    .footer-contact a i {
        margin: 0 0 10px;
    }
    .footer-contact a {
        flex-direction: column;
    }
    .footer-c-smi.footer-contact-item a i {
        margin-bottom: 0;
    }
    .footernav {
        flex-direction: column;
    }
    .footernav li {
        padding: 5px;
    }
    .footer-copyright {
        line-height: 1.5;
    }
    #pojo-a11y-toolbar {
        display: none;
    }
    .single-aios-agents #inner-page-wrapper {
        padding: 0 0 60px;
    }
    #agents-single ul.agents-contact li > div:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #listings-results .listings-table .listings-table-body .listings-img:after {
        display: none;
    }
    #listings-results .listings-table .listings-table-body .listings-item span.for-sm {
        color: #000
    }
    #listings-results .listings-table .listings-table-body .listings-plan p,
    #listings-results .listings-table .listings-table-body .listings-plan a {
        color: #000;
    }
    .single-aios-communities .hentry .section-title {
        color: #000;
    }
    body.aios-custom-ihomefinder-results-template.single-aios-communities #content-full .entry-title {
        font-size: 0;
    }
    .communities-links .comm-list {
        flex-flow: column;
        align-items: center;
    }
    .communities-links .comm-list ul {
        text-align: center;
        margin-bottom: 20px;
    }
    .stats-lists {
        flex-flow: column;
    }
    body.home .stats-lists-item {
        width: 100%;
    }
    .aios-mobile-header-wrapper.aios-mobile-header-wrapper-breakpoint-992 {
        display: block;
    }
    .sizes {
        top: -50px;
    }
    body.single-post p#breadcrumbs {
        margin-top: 50px;
    }
    .aios-mobile-header-wrapper {
        display: block!important;
    }

    .page-id-60531 .aios-testimonials-title .section-title::before{
        right: -135px;
        aspect-ratio: 200 / 122;
        width: 200px;
    }
}


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

@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }
    #ihf-main-container .form-inline #ihf-advsearch-features .checkbox input[type=checkbox] {
        margin-top: 0;
    }
    #ihf-main-container #ihf-advsearch-features label {
        font-size: .9em;
        padding: 0;
    }
    .subscribe-wrap {
        margin-top: 0;
    }
}


@media only screen and (max-width: 600px) {
    .page-id-60531 .aios-testimonials-title .section-title::before{
        right: unset;
        left: 50%;
        transform: translateX(-50%)
    }
}

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

@media only screen and (max-width: 480px) {
    .slider-tagline-txt {
        font-size: 35px;
    }
    .agents-testi-arrow.agents-testi-next.slick-arrow {
        right: 35% !important;
    }
    .agents-testi-arrow.agents-testi-prev.slick-arrow {
        left: 35% !important;
    }
}