/*******************************************************

 *

 * Mobile styles and other media queries

 *

 *******************************************************/
 @media only screen and (max-width: 1560px) {
    .header-broker-logo {
        margin-right: 50px;
    }

    .header-wrapper > .container {
        padding: 0 40px;
    }

    .side-menu-wrapper {
        /*        padding: 130px 50px 50px 157px;*/
        padding: 130px 50px 50px 50px;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 800px;
    }

    .fp-content-container {
        padding: 100px 50px 50px 80px;
    }

    .fp-content-container .global-accent-logo {
        left: 19.5%;
    }
}

@media only screen and (max-width: 1440px) {
    body.single-page.postid-0 h1.entry-title,
    #content .entry-title, #content .archive-title, .global-title h2 > span, .page-id-21 #content .aios-contact-title, #content .ai-modern-blog-title {
        font-size: 65px;
    }

    .global-title h2 > small {
        font-size: 18px;
    }

    .logo img {
        max-width: 200px;
    }

    #nav li {
        margin-right: 35px;
    }

    .fp-address h2 {
        font-size: 65px;
    }

    .testi-content p {
        font-size: 58px;
        width: 98%;
    }

    .testi-container .custom-container {
        max-width: 1110px;
    }

    .testi-slide {
        margin: 0 -100% 0 -3.5%;
    }
}

@media only screen and (max-width: 1366px) {
    .header-broker-logo img {
        max-width: 190px;
    }

    .header-broker-logo {
        margin-right: 30px;
    }

    .side-menu-wrapper {
        padding: 100px 50px 50px 50px;
    }

    .slideshow-tagline-text h2 {
        font-size: 80px;
    }

    .slideshow-tagline-text > span {
        font-size: 18px;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 745px;
    }

    .fp-content-container {
        padding: 90px 20px 50px 50px;
    }

    .fp-title {
        margin-bottom: 40px;
    }

    .hp-map-list-areas li.hp-map-list-title a {
        font-size: 20px;
        padding: 5px 16px;
    }

    .hp-map-list-areas ul {
        max-width: 1130px;
    }
}

@media only screen and (max-width: 1280px) {
    body.single-page.postid-0 h1.entry-title,
    #content .entry-title, #content .archive-title, .global-title h2 > span, .page-id-21 #content .aios-contact-title, #content .ai-modern-blog-title {
        font-size: 50px;
    }

    .global-title .global-accent-logo {
        width: 150px;
    }

    .global-accent-logo {
        width: 500px;
        height: auto;
    }

    .global-btn {
        font-size: 14px;
        max-width: 230px;
        height: 50px;
    }

    .global-slide-control button, .global-slide-control .global-slide-btn a {
        font-size: 14px;
    }

    .global-slide-btn {
        margin: 0 20px;
    }

    .header-wrapper > .container {
        padding: 0 30px;
    }

    .logo img {
        max-width: 180px;
    }

    .header-broker-logo img {
        max-width: 165px;
    }

    .testi-container .custom-container {
        max-width: 1000px;
    }

    .testi-content p {
        font-size: 52px;
    }

    .testi-disclaimer span {
        font-size: 14px;
    }

    .testi-slide-control .global-slide-btn {
        width: 280px;
    }

    .footer-copyright .custom-container, .fn-container .custom-container, .blog-container .custom-container {
        max-width: 1100px;
    }

    .fn-form-field.form-submit button {
        font-size: 15px;
    }

    .fp-address h2 {
        font-size: 50px;
    }

    .fp-title span {
        font-size: 16px;
        letter-spacing: 0.400em;
    }

    .fp-content-container .global-accent-logo {
        top: 16%;
        left: 13%;
    }

    .fp-img canvas {
        min-height: 560px;
    }

    .fp-content-container {
        padding: 74px 20px 50px 50px;
    }

    .testi-icon {
        width: 184px;
        height: auto;
        right: calc(100% - 100px);
    }

    .sm-smis-list ul li:not(:last-child) {
        margin-right: 15px;
    }

    .blog-more-btn {
        max-width: 230px;
    }

    body.single-page.postid-0 h1.entry-title:before,
    #content .custom-title h2::before {
        content: '';
        width: 150px;
        height: 150px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    html.safari-true .attachment-fixed canvas {
        background-attachment: scroll!important;
        background-size: 170vw!important;
    }

    .header-wrapper > .container {
        padding: 0 20px;
    }

    .header-broker-logo {
        margin-right: 20px;
    }

    .side-menu-wrapper {
        padding: 100px 50px 50px;
    }

    .side-menu-bg {
        max-width: 567px;
    }

    .sidemenu-nav .sub-menu li a {
        font-size: 15px;
    }

    .sidemenu-nav > li > a {
        font-size: 22px;
    }

    .bm-lines {
        width: 35px;
        height: 20px;
    }

    .burger-menu-icon span:nth-child(2) {
        top: 8px;
    }

    .burger-menu-icon.active span:nth-child(1) {
        -webkit-transform: translate(0px, 8px) rotate(45deg);
        -ms-transform: translate(0px, 8px) rotate(45deg);
        transform: translate(0px, 8px) rotate(45deg);
    }

    #nav li {
        margin-right: 20px;
    }

    #nav li a {
        letter-spacing: 0.100em;
    }

    #nav .sub-menu {
        min-width: 169px;
    }

    .logo img {
        max-width: 170px;
    }

    .header-wrapper.active .logo img {
        max-width: 135px;
    }

    .header-broker-logo img {
        max-width: 150px;
    }

    .qs-btn a {
        height: 55px;
        max-width: 270px;
        font-size: 15px;
    }

    .qs-form form {
        padding: 20px;
    }

    .qs-container .custom-container {
        max-width: 934px;
    }

    .qs-field > input:not([type=submit]), .qs-field > select {
        font-size: 14px;
        padding: 0 10px;
        height: 45px;
    }

    .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle {
        padding: 0 10px;
        height: 45px;
    }

    .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 14px;
    }

    .qs-field.has-caret:before {
        right: 10px;
    }

    .qs-form {
        margin-top: 30px;
    }

    .slideshow-tagline-text h2 {
        font-size: 75px;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 680px;
    }

    .fp-img canvas {
        min-height: 485px;
    }

    .fp-info {
        margin-bottom: 30px;
    }

    .fp-info span {
        font-size: 17px;
    }

    .fp-info span em {
        font-size: 22px;
    }

    .fp-address {
        margin-bottom: 35px;
    }

    .fp-content-container {
        padding: 50px 20px 50px 50px;
    }

    .testi-content p {
        font-size: 43px;
        width: 94%;
    }

    .testi-container .custom-container {
        max-width: 870px;
    }

    .testi-disclaimer span {
        margin: 0 10px;
        font-size: 13px;
        letter-spacing: 0.020em;
    }

    .testi-slide-control .global-slide-btn {
        width: 250px;
    }

    .testi-slide-control .global-slide-btn a {
        font-size: 13px;
    }

    .testi-icon {
        width: 170px;
    }

    .testi-container {
        padding: 100px 0 70px;
    }

    .sm-container {
        padding: 100px 0 70px;
    }

    .blog-container {
        padding: 100px 0 70px;
    }

    .footer-copyright .custom-container, .fn-container .custom-container, .blog-container .custom-container {
        max-width: 940px;
    }

    .blog-top-holder {
        margin-bottom: 50px;
    }

    .blog-content p {
        font-size: 24px;
    }

    .blog-btn a {
        margin-right: 30px;
    }

    .fn-caption p {
        font-size: 14px;
    }

    .fn-caption {
        /* width: 83%; */
    }

    .fn-container {
        padding: 100px 0 90px;
    }

    .fn-form-field input:not([type=submit]) {
        font-size: 16px;
    }

    .fn-form-field.form-submit button {
        font-size: 14px;
    }

    .footer-disclaimer p, .copyright {
        font-size: 13px;
    }

    .footer-copyright {
        padding: 70px 0 80px;
    }

    .footer-logo a img {
        max-width: 200px;
    }

    .footer-logo img {
        max-width: 175px;
    }

    .footer-contacts span {
        font-size: 17px;
    }

    .hp-map-list-areas ul {
        max-width: 845px;
    }

    .hp-map-list-areas li.hp-map-list-title a {
        font-size: 14px;
        padding: 5px 10px;
        height: 35px;
    }

    .hp-map-content .global-title {
        margin-bottom: 35px;
    }

    .hp-map-content .global-title .global-accent-logo {
        bottom: -49px;
    }

    .ios-true .aios-rm-buyers-template-default #inner-page-wrapper:before, .mobile-true .aios-rm-buyers-template-default #inner-page-wrapper:before, .ipad-true .aios-rm-buyers-template-default #inner-page-wrapper:before, .ios-true .aios-rm-sellers-template-default #inner-page-wrapper:before, .mobile-true .aios-rm-sellers-template-default #inner-page-wrapper:before, .ipad-true .aios-rm-sellers-template-default #inner-page-wrapper:before {
        background-attachment: scroll;
    }

    .financing-imgs {
        margin: 0 -70px;
    }

    .hp-map-choices-list-item2 .hp-map-list-areas ul {
        max-width: 700px;
    }

    .page-id-399 #inner-page-wrapper > .container {
        max-width: 970px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    html.safari-true .attachment-fixed canvas {
        background-position: center!important;
        background-size: cover!important;
    }

    body.single-page.postid-0 h1.entry-title,
    #content .entry-title, #content .archive-title, .global-title h2 > span, .page-id-21 #content .aios-contact-title, #content .ai-modern-blog-title {
        font-size: 54px;
    }

    .global-btn {
        font-size: 16px;
        height: 58px;
        max-width: 270px;
    }

    .global-slide-control button, .global-slide-control .global-slide-btn a {
        font-size: 16px;
    }

    .global-accent-logo {
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        right: auto;
        margin: 0 auto;
    }

    .global-title.is-center .global-accent-logo {
        right: auto;
        left: 50%;
    }

    .header-nav, .header-broker-logo {
        display: none;
    }

    .header-wrapper {
        padding: 8px 0;
        background-color: rgba(0,0,0,.90);
        min-height: 100px;
        z-index: 1001;
    }

    .logo img {
        max-width: 148px;
    }

    .logo a img.fixed-logo {
        opacity: 1;
    }

    .logo a img.default-logo {
        opacity: 0;
        pointer-events: none;
    }

    .bm-lines {
        width: 41px;
        height: 23px;
    }

    .burger-menu-icon span:nth-child(2) {
        top: 10px;
    }

    .burger-menu-icon.active span:nth-child(1) {
        -webkit-transform: translate(0px, 11px) rotate(45deg);
        -ms-transform: translate(0px, 11px) rotate(45deg);
        transform: translate(0px, 11px) rotate(45deg);
    }

    .side-menu-bg {
        max-width: 366px;
        overflow: hidden;
    }

    .side-menu-wrapper {
        padding: 135px 30px 70px 30px;
    }

    .sidemenu-nav {
        display: block;
    }

    .sidemenu-nav:not(:last-child) {
        margin: 0 0 20px;
    }

    .sidemenu-nav > li {
        margin-bottom: 40px;
    }

    .sidemenu-nav .sub-menu {
        /*margin-top: 25px;

        margin-left: 14px;*/
    }

    .side-menu-main-bg {
        width: 659px;
        bottom: 0;
        height: auto;
        left: 50%;
        right: auto;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .slideshow-tagline-text h2, .slideshow-tagline-text h2 span {
        margin: 0 auto;
    }

    .slideshow-tagline-text h2 span {
        text-align: center;
    }

    .slideshow-tagline-text > span {
        text-align: center;
        margin: 0 auto 20px;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 710px;
    }

    .slideshow-container .slide-spacer {
        display: none;
    }

    .slideshow-container .aios-slider {
        position: relative;
        z-index: 1;
        height: 100%;
    }

    .slideshow-tagline {
        top: 45%;
        max-width: 375px;
        margin: 0 auto;
    }

    .qs-btn {
        flex-flow: column;
    }

    .qs-btn a {
        height: 50px;
        margin: 0 auto 10px;
    }

    .qs-container {
        padding: 0;
        bottom: auto;
        top: 65%;
    }

    .qs-field.long {
        width: 100%;
    }

    .qs-field {
        margin: 0 0 7px!important;
    }

    .qs-field.short-b, .qs-field.short-i {
        width: calc(50% - 3px);
    }

    .qs-form form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 0;
        background-color: transparent;
    }

    .qs-field > input:not([type=submit]), .qs-field > select {
        height: 50px;
        font-size: 17px;
    }

    .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle {
        height: 50px;
    }

    .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 17px;
    }

    .qs-field.submit {
        width: 100%;
        margin: 30px auto 0!important;
    }

    .qs-disclaimer {
        margin-top: 25px;
    }

    .qs-form {
        position: absolute;
        top: calc(100% - 300px);
        right: 0;
        left: 0;
        padding: 38px 27px 56px;
        width: 100%;
        max-width: 359px;
        margin: 0 auto;
        background-color: #000;
    }

    .slideshow-tagline-text h2 {
        font-size: 59px;
    }

    .header-wrapper > .container {
        padding: 0 27px;
    }

    .qs-btn a {
        max-width: 275px;
        height: 50px;
        font-size: 15px;
    }

    .hp-areas-container {
        width: 100%;
        max-width: 414px;
        margin: 0 auto;
        padding: 50px 0 0;
    }

    .fp-col {
        width: 100%!important;
        display: block;
    }

    .fp-main {
        padding: 0 28px;
        max-width: 567px;
        margin: 0 auto;
    }

    .fp-slide-control {
        display: none;
    }

    .fp-slide-control.is-mobile {
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: flex!important;
        position: relative;
        padding: 0;
        margin: 50px auto 0;
    }

    .fp-title span {
        font-size: 19px;
        letter-spacing: 0.570em;
    }

    .fp-title {
        margin-bottom: 30px;
    }

    .fp-content-container {
        padding: 17px 0 0 24px;
        background-color: #fff;
        width: 100%;
        max-width: 420px;
        margin-left: auto;
    }

    .fp-title {
        display: none;
    }

    .fp-col:last-child {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .fp-address h2 {
        font-size: 40px;
    }

    .fp-info span:not(:last-child) {
        margin-right: 15px;
    }

    .fp-info span {
        font-size: 14px;
    }

    .fp-info span em {
        font-size: 18px;
    }

    .fp-more-btn {
        display: none;
    }

    .fp-info {
        margin-bottom: 0;
    }

    .fp-address {
        margin-bottom: 20px;
    }

    .fp-content-container .global-accent-logo {
        left: 0;
        width: 390px;
        top: 6px;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .fp-slide-holder {
        padding-bottom: 74px;
    }

    .fp-img canvas {
        min-height: 325px;
    }

    .fp-container {
        margin-top: 66px;
    }

    .mtt-container {
        padding: 80px 0 0;
    }

    .mtt-title {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .mtt-title .global-title.is-center .global-accent-logo {
        bottom: -45px;
    }

    .mtt-map-main {
        /*width: 100%!important;
        -webkit-transform: none!important;
        -ms-transform: none!important;
        transform: none!important;*/
    }

    .mtt-map-outer {
       /* height: auto!important;
        margin: 0 -45px;*/
    }

    .mtt-more-btn a {
        margin: 0 auto;
    }

    .mtt-more-btn {
        margin: 54px auto 0;
    }

    .mtt-map-main img.mtt-map-base {
        /*width: 100%;
        height: auto;*/
    }

    .mtt-map-hovers, .mtt-img-hover {
        display: none;
    }

    .testi-item {
        padding: 0;
        width: 100%;
        opacity: 0!important;
    }

    .slick-slide.slick-current.slick-active .testi-item {
    opacity: 1!important;
}

    .testi-content p {
        width: 100%;
        font-size: 35px;
        line-height: 1;
    }

    .testi-slide {
        margin: 0;
    }

    .testi-slide .slick-list {
        overflow: hidden;
    }

    .testi-disclaimer-container {
        display: block;
    }

    .testi-slide-control .global-slide-btn {
        width: 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin: 0 0 30px;
    }

    .testi-slide-control {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        max-width: 325px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .testi-slide-control .global-prev.testi-prev {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        margin-right: 25px;
    }

    .testi-slide-control .global-next.testi-next {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .testi-disclaimer {
        margin: 0 0 44px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }

    .testi-disclaimer span:first-of-type {
        display: block;
        width: 100%;
        margin: 0 0 20px;
    }

    .testi-disclaimer span {
        font-size: 17px;
        letter-spacing: 0.050em;
    }

    .testi-container {
        padding: 159px 0 54px;
    }

    .testi-icon {
        width: 252px;
        right: 0;
        left: 0;
        margin: 0 auto;
        top: auto;
        bottom: calc(100% - 60px);
    }

    .sm-container {
        padding: 90px 0 80px;
    }

    .sm-top-holder {
        display: block;
        padding: 0 30px;
        margin: 0 auto 40px;
    }

    .sm-smis-list {
        margin: 30px 0 0;
    }

    .sm-item {
        width: calc(100% / 2);
        padding: 3px;
    }

    .sm-list {
        margin: -3px;
    }

    .sm-item a span.ai-font-instagram {
        right: auto;
        left: 15px;
        font-size: 25px;
    }

    .sm-more-btn {
        margin: 46px auto 0;
    }

    .sm-main {
        width: 100%;
        max-width: 567px;
        margin: 0 auto;
    }

    .testi-container .custom-container, .fn-container .custom-container, .blog-container .custom-container {
        max-width: 567px;
        padding: 0 30px;
    }

    .blog-container {
        padding: 90px 0 60px;
    }

    .footer-copyright .custom-container, .fn-container .custom-container, .blog-container .custom-container {
        padding: 0 25px;
    }

    .blog-top-holder {
        display: block;
        margin-bottom: 45px;
    }

    .blog-mob-btn {
        margin-top: 30px;
        padding-left: 5px;
    }

    .blog-more-btn {
        display: none;
    }

    .blog-list {
        margin: 0;
    }

    .blog-item {
        width: 100%;
        padding: 0;
    }

    .blog-img a canvas {
        height: 382px;
    }

    .blog-top-holder .global-accent-logo {
        left: -15px;
        right: auto;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .blog-content p {
        font-size: 26px;
    }

    .blog-list:not(.slick-initialized) .blog-item:nth-child(n+2) {
        display: none;
    }

    .fn-caption p {
        font-size: 17px;
    }

    .fn-caption {
        width: 100%;
        margin-bottom: 35px;
    }

    .fn-form {
        display: block;
    }

    .fn-form-field {
        display: block;
        width: 100%;
    }

    .fn-form-field.form-submit {
        width: 100%;
        margin-top: 28px;
        padding-left: 5px;
        max-width: 270px;
    }

    .fn-container {
        padding: 90px 0 80px;
    }

    .fn-main .global-accent-logo {
        left: 50%;
        bottom: -17px;
    }

    .fn-main .global-title {
        margin-bottom: 40px;
    }

    .fn-form-field.form-submit button {
        font-size: 16px;
    }

    .footer-logo a img {
        max-width: 270px;
    }

    .footer-logo img {
        max-width: 228px;
        margin: 0;
    }

    .footer-logo {
        display: block;
    }

    .footer-logo:not(:last-child) {
        margin: 0 0 30px;
    }

    .footer-logo-holder {
        margin-bottom: 55px;
    }

    .footer-contacts span {
        border: none!important;
        padding: 0;
        font-size: 19px;
        display: block;
    }

    .footer-contacts span:not(:last-child) {
        margin: 0 0 6px;
    }

    .footer-smis {
        margin-bottom: 40px;
    }

    .footer-disclaimer p, .copyright {
        font-size: 14px;
    }

    .copyright {
        padding-top: 25px;
        margin-top: 25px;
        border: none;
    }

    .copyright:before {
        position: absolute;
        content: '';
        top: 0;
        left: 50%;
        right: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        height: 1px;
        background: rgba(255,255,255,.30);
        width: 100vw;
    }

    .footer-copyright {
        padding: 50px 0 70px;
        overflow: hidden;
    }

    .hp-map-choices-item.hp-map-choices-item2 {
        margin: 0;
    }

    /* 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%;
    }

    #pojo-a11y-toolbar {
        display: none;
    }

    .is-desktop {
        display: none!important;
    }

    .is-mobile {
        display: block!important;
    }

    .hp-map-list-areas li.hp-map-list-title {
        width: calc(100% / 2);
        padding: 5px;
    }

    .hp-map-list-areas li.hp-map-list-title:before {
        display: none;
    }

    .hp-map-list-areas li.hp-map-list-title a {
        height: 40px;
        padding: 0 5px 5px;
        background-color: transparent!important;
        color: #000!important;
        border: 1px solid #cbcbcb;
        font-size: 12px;
    }

    .hp-map-list-areas li.hp-map-list-title.active a, .hp-map-list-areas li.hp-map-list-title a:hover, .hp-map-list-areas li.hp-map-list-title:hover a {
        background-color: #000!important;
        border-color: #000!important;
        color: #fff!important;
        padding: 0 5px;
        font-size: 12px;
    }

    .hp-map-list-areas ul {
        max-width: 400px !important;
    }

    .hp-map-list-areas li.hp-map-list-title a:before {
        opacity: 1!important;
    }

    .hp-map-content {
        padding: 0 15px;
    }

    .hp-map-content .global-title .global-accent-logo {
        top: 50%;
        transform: translate(-50%,-50%);
    }

    .hp-map-outer {
        display: none;
    }

    .hp-map-container {
        padding: 70px 0 0;
    }

    .hp-map-content .global-title {
        margin-bottom: 40px;
    }

    .footernav li {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .financing-imgs {
        margin: 0 -55px;
    }

    .hp-map-main-btn .global-btn {
        font-size: 14px;
        letter-spacing: 0.200em;
    }

    .page-id-399 #inner-page-wrapper > .container {
        max-width: 750px;
    }

    body.page-id-36 #content .col-md-4 img[class*="align"] {
        margin: 0 auto;
        display: block;
    }
    
    body.page-id-36 #content .col-md-8 {
        text-align: center;
    }
    
    body.page-id-36 #content p a.global-btn {
        margin: 0 auto;
    }

    body #agents-results .agents-img {
        margin: 0 auto;
        max-width: 350px;
    }
    
    body.post-page-meet-the-team #content #agents-results .agents-button {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.single-aios-agents .ip-about-col.img .ip-about-col-inner {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    body.page-id-543 #content .col-md-6 ul {
        margin-left: 20px;
    }

        
    body.aios-custom-ihomefinder-details-template.ihf-details-template .img-wrapper #ihf-mortgage-calculator-tab-content {
        position: relative;
    }

    body.aios-custom-ihomefinder-details-template.ihf-details-template .ip-ld-tab-content-item[data-tabpanel="Mortage Calculator"] .img-wrapper canvas {
        display: none;
    }

    body.aios-custom-ihomefinder-details-template.ihf-details-template #ihf-mortgage-calculator-tab-content .row.mc-container {
        margin: 0!important;
    }

    body.aios-custom-ihomefinder-details-template.ihf-details-template .img-wrapper canvas {
        min-height: 250px;
    }

    #content .ip-comm-list ul {
        display: block;
    }

    body.single-page.postid-0 h1.entry-title:before, #content .custom-title h2::before {
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    #content .ip-text-content p.is-center {
        font-size: 19px;
    }
    
    #content .ip-text-content {
        font-size: 17px;
    }
    
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }

    .fp-content-container {
        max-width: 250px;
    }

    .financing-imgs {
        margin: 0 -15px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    body.single-page.postid-0 h1.entry-title,
    #content .entry-title, #content .archive-title, .global-title h2 > span, .page-id-21 #content .aios-contact-title, #content .ai-modern-blog-title {
        font-size: 40px;
    }

    .global-btn {
        max-width: 250px;
    }

    .header-wrapper > .container {
        padding: 0 15px;
    }

    .side-menu-wrapper {
        padding: 100px 30px 70px;
    }

    .side-menu-bg {
        max-width: 100%;
        width: calc(100% - 30px);
    }

    .sidemenu-nav > li {
        margin-bottom: 30px;
    }

    .slideshow-tagline-text h2 {
        font-size: 50px;
    }

    .slideshow-tagline-text > span {
        letter-spacing: 0.250em;
        margin: 0 auto 15px;
    }

    .qs-btn a {
        max-width: 250px;
        font-size: 14px;
    }

    .qs-close {
        right: -12px;
        top: -23px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .qs-form {
        padding: 38px 15px 50px;
    }

    .qs-field > input:not([type=submit]), .qs-field > select {
        font-size: 16px;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 640px;
    }

    .slideshow-tagline {
        max-width: 250px;
    }

    .bm-lines {
        width: 35px;
        height: 20px;
    }

    .burger-menu-icon span:nth-child(2) {
        top: 8px;
    }

    .burger-menu-icon.active span:nth-child(1) {
        -webkit-transform: translate(0px, 8px) rotate(45deg);
        -ms-transform: translate(0px, 8px) rotate(45deg);
        transform: translate(0px, 8px) rotate(45deg);
    }

    .qs-container {
        top: 65%;
    }

    .fp-main {
        padding: 0 15px;
    }

    .mtt-title {
        padding: 0 20px;
    }

    .mtt-title .global-title.is-center .global-accent-logo {
        /* bottom: -31px; */
    }

    .testi-icon {
        width: 225px;
    }

    .sm-top-holder {
        padding: 0 15px;
    }

    .blog-content p {
        font-size: 24px;
    }

    .footer-copyright .custom-container, .fn-container .custom-container, .blog-container .custom-container {
        padding: 0 15px;
    }

    .fn-form-field.form-submit {
        max-width: 250px;
    }

    .footer-contacts span {
        font-size: 17px;
    }

    .footer-copyright {
        padding: 50px 0 50px;
    }

    .copyright {
        line-height: 1.2;
    }
}

@media print {
/*    .header-wrapper,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    p#breadcrumbs,
    .footer-form-wrapper,
    .footer-wrapper,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    section.ld-gallery-wrap,
    .ld-slider-holder-wrap .slick-slide:not(.slick-active) img*/

    header.header-wrapper,
    p#breadcrumbs,
    section.ld-gallery-wrap,
    section.ld-tabs-wrap,
    .ld-slider-nav.ld-nav,
    footer.footer
    {
        display: none !important;
    }
    section.ld-slider-wrap{
        padding: 0 !important;
    }
    .ld-slider-details-col.title h1{
        margin: 0 !important;
    }

}