/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (min-width: 1921px) {
    .about-agent-photo {
        padding-bottom: 0;
    }

    .popup-wrapper {
        display: flex;
    }
}

@media only screen and (max-width: 1560px) {
    .custom-container {
        max-width: 100%;
        padding: 0 80px;
    }

    .popup-content .global-title h2 {
        font-size: 55px!important;
    }

    .popup-content h3 {
        font-size: 30px;
    }

    .popup-content p {
        font-size: 17px;
    }

    .popup-main {
        padding: 65px 30px 0 25px;
    }

    .popup-form-container {
        padding: 70px 40px 55px;
    }

    .popup-form-container .custom-title {
        margin-bottom: 25px;
    }

    .popup-form-widget .wpcf7 form .wpcf7-response-output {
        bottom: -40px;
    }

    #fixed-header > .container, .header-wrapper > .container {
        padding: 0 80px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline {
        padding: 0 80px;
    }

    body #aios-slider-hp-slideshow .splide__pagination {
        right: 80px;
    }

    .rbs-main-title, .rbs-slide-control {
        left: 120px;
    }

    .rbs-content {
        right: 80px;
    }

    .in-content-container {
        padding: 69px 118px 0 15px;
    }

    .in-post-content-inner h2 {
        font-size: 32px;
    }

    .testi-container > .custom-container {
        max-width: 100%;
    }

    .sm-container > .custom-container {
        max-width: 100%;
    }

    .smi-content-img {
        margin-right: -30px;
    }

    .footer-container > .custom-container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1440px) {
    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 75px !important;
    }

    .side-menu-wrapper {
        padding: 40px 60px 50px;
    }

    body #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 700px;
    }

    .about-content-container .custom-title h2 span {
        font-size: 100px;
    }

    .about-agent-photo {
        padding-bottom: 33%;
    }

    .stats-item li span {
        font-size: 60px;
    }

    .cta-title h2 {
        font-size: 45px;
    }

    .cta-text {
        max-width: 95%;
    }

    .cta-text p {
        font-size: 19px;
    }

    .rbs-img canvas {
        min-height: 600px;
    }

    .rbs-main-title {
        top: 100px;
    }

    .in-post-content-inner {
        padding: 0;
    }

    .in-post-content-inner h2 {
        font-size: 27px;
    }

    .in-post-content-inner p {
        font-size: 15px;
    }

    .prop-more-btn a {
        font-size: 30px;
    }

    .prop-more-btn a:before {
        width: 50px;
    }

    .prop-main-title .global-title h2 {
        font-size: 49px !important;
    }
}

@media only screen and (max-width: 1366px) {
    .global-title h2 span:before, .custom-title h2 small:before {
        width: 70px;
    }

    .custom-container {
        padding: 0 50px;
    }

    .popup-form-container {
        padding: 70px 30px 55px;
    }

    .popup-form-container .custom-title h2 span {
        font-size: 60px;
    }

    .popup-form-container .custom-title h2 small {
        font-size: 33px;
    }

    .popup-content {
        padding: 65px 0 0 30px;
    }

    #fixed-header > .container, .header-wrapper > .container {
        padding: 0 50px;
    }

    .side-menu-wrapper {
        padding: 40px 50px 50px;
    }

    .side-menu-smis {
        margin-top: 80px;
    }

    .side-menu-logo {
        margin-bottom: 70px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline {
        padding: 0 50px;
    }

    body #aios-slider-hp-slideshow .splide__pagination {
        right: 50px;
    }

    .rbs-content {
        right: 50px;
    }

    .rbs-main-title, .rbs-slide-control {
        left: 120px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title {
        font-size: 65px;
    }

    .about-row {
        max-width: 1120px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-border {
        top: 50px;
    }

    .about-content-container .custom-title h2 span {
        font-size: 90px;
    }

    .about-bg, .about-bg.attachment-fixed {
        height: 519px;
    }

    .about-agent-photo {
        padding-bottom: 27%;
        margin-right: calc((100vw - 1090px) / -2);
    }

    .about-content-container {
        padding-bottom: 80px;
    }

    .cq-content p {
        font-size: 35px;
    }

    .cq-content span {
        font-size: 22px;
    }

    .cta-more-btn .global-btn {
        font-size: 22px;
    }

    .cta-more-btn .global-btn em[class^=ai-font] {
        width: 64px;
        height: 64px;
    }

    .rbs-main-title, .rbs-slide-control {
        left: 70px;
    }

    .fa-main .global-title {
        max-width: 1000px;
    }

    .in-content-container {
        padding: 69px 75px 0 15px;
    }

    .testi-container .border-container {
        padding: 80px 70px 70px;
    }

    .testi-container > .custom-container {
        padding: 0 90px;
    }

    .testi-main .global-title {
        padding-right: 50px;
    }
}

@media only screen and (max-width: 1280px) {
    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 70px !important;
    }

    .global-title h2 span:before, .custom-title h2 small:before {
        left: calc(100% + 20px);
        width: 70px;
    }

    .custom-container {
        padding: 0 30px;
    }

    .popup-main {
        padding: 45px 25px 0 15px;
    }

    .popup-content {
        padding: 50px 0 0 20px;
    }

    .popup-content p {
        font-size: 16px;
    }

    .popup-content .global-title h2 {
        font-size: 53px!important;
    }

    .popup-content .global-title h2 em {
        font-size: 55px;
    }

    .popup-form-container {
        padding: 50px 20px 55px;
        margin-top: -80px;
    }

    #fixed-header > .container, .header-wrapper > .container {
        padding: 0 30px;
    }

    .side-menu-wrapper {
        padding: 40px 30px 50px;
    }

    .side-menu-smis {
        margin-top: 50px;
    }

    .side-menu-logo {
        margin-bottom: 50px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline {
        padding: 0 30px;
    }

    body #aios-slider-hp-slideshow .splide__pagination {
        right: 30px;
    }

    .rbs-content {
        right: 30px;
    }

    .prop-main-title-inner {
        padding: 0 30px 0;
    }

    .prop-more-btn:not(:last-child) {
        margin-bottom: 40px;
    }

    .prop-more-btn a {
        font-size: 30px;
    }

    .about-content {
        margin-bottom: 25px;
        margin-top: 35px;
    }

    .about-content p:not(:last-child) {
        margin-bottom: 25px;
    }

    .about-bg, .about-bg.attachment-fixed {
        height: 500px;
    }

    .cta-content {
        padding: 0 30px;
    }

    .cta-title h2 {
        font-size: 40px;
    }

    .cta-text {
        margin-bottom: 50px;
        max-width: 100%;
    }

    .rbs-main-title, .rbs-slide-control {
        left: 50px;
    }

    .fa-title span {
        font-size: 35px;
    }

    .in-content-container {
        padding: 50px 75px 0 15px;
    }

    .in-item:nth-child(even) .in-post-content-inner {
        padding: 0 15px;
    }

    .in-post-row > div {
        padding: 0 15px;
    }

    .in-list {
        margin: 0 -15px;
    }

    .in-post-content-inner h2 {
        margin-right: 0;
        font-size: 25px;
    }

    .in-post-img a canvas {
        min-height: 250px;
    }

    .smi-content-img {
        margin-right: -15px;
    }
}

/* 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;
    }

    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 60px !important;
    }

    .custom-title h2 small {
        font-size: 25px;
    }

    .custom-title h2 small:before {
        width: 50px;
    }

    .global-title h2 span:before, .custom-title h2 small:before {
        left: calc(100% + 15px);
        width: 50px;
    }

    .global-btn em[class^=ai-font] {
        width: 50px;
        height: 50px;
        margin-left: 20px;
    }

    .global-btn {
        font-size: 16px;
    }

    .custom-container {
        padding: 0 20px;
        max-width: 992px;
    }

    .popup-content .global-title h2 {
        font-size: 40px!important;
    }

    .popup-content .global-title h2 em {
        font-size: 45px;
    }

    .popup-content h3 {
        letter-spacing: 0.100em;
        font-size: 25px;
    }

    .popup-content p {
        font-size: 14px;
        width: 83%;
    }

    .popup-form-container .custom-title h2 span {
        font-size: 50px;
    }

    .popup-form-container .custom-title h2 small {
        font-size: 25px;
    }

    .popup-form-field input:not([type=submit]), .popup-form-field textarea {
        font-size: 12px;
        height: 35px;
    }

    .popup-form-field textarea {
        height: 50px;
        padding: 5px 0;
    }

    .popup-close {
        top: 15px;
        right: 15px;
    }

    .popup-form-container {
        padding: 50px 15px;
    }

    .popup-form-field.form-submit {
        margin-top: 20px;
    }

    .popup-form-widget .wpcf7 form .wpcf7-response-output {
        font-size: 10px;
    }

    .popup-col:last-child {
        width: 32.842%;
    }

    .popup-col:nth-child(2) {
        width: 40.388%;
    }

    #fixed-header > .container, .header-wrapper > .container {
        padding: 0 20px;
    }

    .side-menu-wrapper {
        padding: 40px 20px 50px;
    }

    .main-nav li {
        margin-right: 35px;
    }

    .fixed-header-nav {
        margin-right: auto;
    }

    .main-nav li a {
        font-size: 14px;
        letter-spacing: 0.050em;
    }

    .main-nav .sub-menu {
        min-width: 180px;
    }

    .side-menu-nav h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .side-menu-contacts span {
        line-height: 2.1;
    }

    .sidemenu-nav > li > a {
        font-size: 20px;
    }

    .sidemenu-nav .sub-menu li a, .side-menu-contacts span {
        font-size: 13px;
        letter-spacing: 0.020em;
    }

    .side-menu-smis a:not(:last-child) {
        margin-right: 35px;
    }

    .side-menu-smis a {
        font-size: 23px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline {
        padding: 0 20px;
    }

    body #aios-slider-hp-slideshow .splide__pagination {
        right: 20px;
    }

    .rbs-content {
        right: 20px;
    }

    .rbs-slide-control button {
        width: 50px;
        height: 50px;
    }

    .logo img, .footer-logo img, .side-menu-logo a img {
        max-width: 450px;
        width: 100%;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title {
        font-size: 55px;
    }

    .prop-container {
        padding: 90px 0;
    }

    .prop-more-btn a:before {
        width: 45px;
        margin-right: 10px;
    }

    .prop-more-btn a {
        font-size: 24px;
    }

    .about-agent-photo {
        margin-right: calc((100vw - 920px) / -2);
        padding-bottom: 22%;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-bg, .about-bg.attachment-fixed {
        height: 442px;
    }

    .about-content {
        margin-top: 20px;
    }

    .about-content-container .custom-title h2 span {
        font-size: 80px;
    }

    .about-border {
        top: 35px;
    }

    .about-content-container {
        padding-bottom: 50px;
    }

    .stats-item li {
        font-size: 16px;
        line-height: 1.5;
    }

    .stats-item li span {
        font-size: 50px;
    }

    .stats-container {
        padding: 90px 0;
    }

    .cq-container {
        padding: 90px 0;
    }

    .border-container {
        padding: 70px 30px 60px;
    }

    .cq-container > .custom-container {
        max-width: 992px;
    }

    .cq-content p {
        font-size: 31px;
    }

    .cta-text p {
        font-size: 16px;
    }

    .cta-content {
        padding: 0 15px;
    }

    .cta-more-btn .global-btn em[class^=ai-font] {
        width: 54px;
        height: 54px;
    }

    .cta-more-btn .global-btn {
        font-size: 20px;
    }

    .cta-title h2 {
        font-size: 35px;
    }

    .cta-text {
        margin-bottom: 40px;
    }

    .rbs-main-title, .rbs-slide-control {
        left: 30px;
    }

    .rbs-img canvas {
        min-height: 500px;
    }

    .rbs-main-title {
        top: 55px;
    }

    .fa-container {
        padding: 90px 0 50px;
    }

    .fa-main .global-title {
        max-width: 940px;
        padding-bottom: 50px;
    }

    .fa-main .global-title:before, .fa-main .global-title:after {
        top: 30px;
    }

    .fa-title {
        padding: 0 10px 50px;
    }

    .fa-img:before {
        height: 60px;
        bottom: -30px;
    }

    .in-container {
        margin-top: -180px;
        padding: 200px 0 90px;
    }

    .in-content-container {
        padding: 30px 50px 0 0;
    }

    .in-item:not(:last-child) {
        margin-bottom: 40px;
    }

    .in-content-container .global-title {
        margin-bottom: 40px;
    }

    .in-post-content-inner p {
        font-size: 14px;
    }

    .in-item:nth-child(even) .in-post-content-inner {
        padding: 0;
    }

    .in-post-content-inner h2 {
        font-size: 23px;
    }

    .in-post-row > div {
        padding: 0 10px;
    }

    .in-list {
        margin: 0 -10px;
    }

    .in-content p {
        font-size: 15px;
    }

    .testi-container {
        padding: 90px 0 70px;
    }

    .testi-bg {
        width: 40%;
        height: 50%;
    }

    .testi-container > .custom-container {
        padding: 0 50px;
        max-width: 992px;
    }

    .testi-main .global-title {
        margin-bottom: 50px;
    }

    .testi-container .border-container {
        padding: 70px 30px 60px;
    }

    .testi-content p {
        font-size: 20px;
    }

    .testi-controls {
        width: calc(100% + 55px);
    }

    .sm-container > .custom-container {
        max-width: 992px;
    }

    .sm-content p {
        font-size: 14px;
    }

    .sm-smi-holder {
        margin-top: 30px;
    }

    .sm-smis ul li {
        width: 45px;
        height: 45px;
    }

    .sm-smis ul li a {
        font-size: 16px;
    }

    .sm-container {
        padding: 90px 0 70px;
    }

    .sm-content-container .custom-title {
        margin-bottom: 20px;
    }

    .sm-smi-label span {
        font-size: 16px;
    }

    .footer-container > .custom-container {
        max-width: 992px;
    }

    .ff-form-col input:not([type=submit]), .ff-form-col textarea {
        font-size: 14px;
    }

    .ff-container {
        padding: 90px 0;
    }

    .ff-form-widget {
        max-width: 760px;
    }

    .footer-inner .border-container {
        padding: 70px 40px 60px;
    }

    .footer-contacts span {
        font-size: 16px;
    }

    #footer-nav > li > a {
        font-size: 14px;
    }

    .footer-smi-holder a {
        font-size: 14px;
    }

    .footer-contacts span:first-child {
        margin-bottom: 20px;
        line-height: 1.7;
    }

    .footer-contacts span:not(:first-child) {
        margin-top: 10px;
    }

    #footer-nav > li {
        margin-bottom: 17px;
    }

    .footer-smi-holder a:not(:last-child) {
        margin-bottom: 16px;
    }

    .footer-label span {
        font-size: 25px;
    }

    #footer-nav {
        -webkit-column-gap: 45px;
        -moz-column-gap: 45px;
        column-gap: 45px;
    }

    .footer-disclaimer {
        margin: 50px auto 20px;
    }

    .footer-container {
        padding: 90px 0 70px;
    }

    .prop-main-title .global-title h2 {
        font-size: 40px !important;
    }
}

/* 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;
    }

    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 45px !important;
    }

    .custom-title, .custom-title h2 {
        text-align: center;
    }

    .popup-col {
        width: 100%!important;
    }

    .popup-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .popup-col:nth-child(2) {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .popup-col:first-child {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .popup-col:last-child {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .popup-content {
        padding: 40px 10px;
        text-align: center;
    }

    .popup-content p {
        width: 100%;
        font-size: 16px;
    }

    .popup-content h3 {
        margin: 20px 0 20px;
    }

    .popup-agent-photo {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .popup-form-widget .wpcf7 form .wpcf7-response-output {
        font-size: 11px;
    }

    .popup-bg {
        height: 35%;
        top: auto;
        bottom: 0;
        width: 50%;
        display: none;
    }

    .popup-main {
        padding: 0;
        max-width: 567px;
        width: calc(100% - 30px);
        margin: 80px auto;
    }

    .popup-form-container {
        margin: 0 auto;
    }

    .slideshow-container #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        height: auto;
        min-height: 350px;
    }

    .slideshow-container .slide-spacer {
        display: none;
    }

    .slideshow-container .aios-slider {
        position: relative;
        z-index: 1;
        height: 100%;
    }

    .header-nav {
        display: none;
    }

    .header-wrapper {
        position: fixed;
        z-index: 10;
        padding: 15px 0;
        background-color: var(--primary-color);
        min-height: 90px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .logo {
        margin-bottom: 0;
    }

    .logo img, .footer-logo img, .side-menu-logo a img {
        max-width: 300px;
    }

    .burger-menu-wrap {
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .sidemenu-nav > li {
        display: block;
        text-align: center;
    }

    .sidemenu-nav {
        display: block;
    }

    .sidemenu-nav > li:not(:last-child) {
        margin-bottom: 20px;
    }

    .sidemenu-nav .sub-menu {
        margin-top: 20px;
    }

    .sidemenu-nav .sub-menu li:not(:last-child) {
        margin-bottom: 10px;
    }

    .side-menu-nav h2 {
        margin-bottom: 30px;
    }

    .side-menu-contacts {
        margin-top: 15px;
    }

    .side-menu-contacts span {
        line-height: 2;
    }

    .side-menu-nav {
        text-align: center;
    }

    .side-menu-nav h2:after {
        position: absolute;
        content: '';
        top: 50%;
        right: calc(100% + 40px);
        background-color: var(--secondary-color);
        width: 100vw;
        height: 1px;
    }

    .side-menu-smis {
        margin-top: 40px;
    }

    .side-menu-wrapper {
        padding: 35px 20px 100px;
    }

    .side-menu-logo {
        padding-top: 30px;
        margin-bottom: 40px;
    }

    body #aios-slider-hp-slideshow .splide__pagination {
        display: none;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline {
        padding: 0 15px;
        text-align: center;
        bottom: 30px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title {
        font-size: 45px;
        line-height: 1;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-description {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .slideshow-btn {
        display: block;
        margin: 0 0 10px;
    }

    .slideshow-counter {
        display: block;
    }

    .ip-banner, #slideshow {
        margin-top: 90px;
    }

    .prop-main-title, .prop-more-btns {
        position: relative;
        width: 100%;
        height: 100%;
        display: block;
    }

    .prop-item {
        width: 100%;
        display: block;
        padding: 0;
        max-width: 460px;
        margin: 0 auto 15px;
    }

    .prop-item a .prop-price, .prop-item a .prop-address, .prop-item a {
        -webkit-transform: none!important;
        -ms-transform: none!important;
        transform: none!important;
    }

    .prop-details {
        padding: 0 15px 35px!important;
    }

    .prop-item a .prop-info {
        opacity: 1!important;
        visibility: visible!important;
        height: auto!important;
        margin-top: 15px!important;
        -webkit-transform: none!important;
        -ms-transform: none!important;
        transform: none!important;
    }

    .prop-item a:before {
        opacity: 1!important;
        visibility: visible!important;
    }

    .prop-main-title-inner {
        text-align: center;
        padding: 0;
    }

    .prop-main-title {
        margin-bottom: 40px;
    }

    .prop-btn {
        margin-top: 30px;
    }

    .prop-container {
        padding: 70px 0;
    }

    .prop-more-btn-inner {
        margin: 0 auto;
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
    }

    .prop-more-btn:not(:last-child) {
        margin-bottom: 20px;
    }

    .prop-more-btns {
        margin-top: 40px;
    }

    .prop-more-btn a:before {
        width: 30px;
        margin-right: 10px;
    }

    .about-content-container .custom-title h2 span {
        font-size: 60px;
    }

    .about-content-container .custom-title h2 span {
        margin-top: 5px;
    }

    .about-col {
        width: 100%!important;
        display: block;
    }

    .about-bg, .about-bg.attachment-fixed {
        height: 30%;
    }

    .about-border {
        top: 0;
    }

    .about-main {
        padding-top: 50px;
    }

    .about-content p {
        color: var(--primary-color);
    }

    .about-content {
        text-align: center;
        margin: 30px 0 40px;
        padding: 0;
    }

    .about-content p:not(:last-child) {
        margin-bottom: 15px;
    }

    .about-more-btn {
        text-align: center;
    }

    .about-more-btn a {
        color: var(--primary-color);
    }

    .about-more-btn a em[class^=ai-font] {
        color: var(--primary-color);
    }

    .about-agent-photo {
        margin: 0 -60px;
        padding: 0;
    }

    .stats-item {
        display: block;
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }

    .stats-item:not(:last-child) ul {
        border: none;
        border-bottom: 2px solid var(--secondary-color);
    }

    .stats-item ul {
        padding: 30px 0;
    }

    .stats-container {
        padding: 70px 0 30px;
    }

    .stats-main .global-title {
        margin-bottom: 20px;
    }

    .cq-container {
        padding: 70px 0;
    }

    .border-container {
        padding: 60px 15px;
    }

    .cq-content p {
        font-size: 25px;
    }

    .cq-content span {
        font-size: 18px;
        margin-top: 25px;
    }

    .cta-item {
        width: 100%;
        padding: 0;
        display: block;
        margin: 0 auto;
    }

    .cta-holder canvas {
        height: 400px;
    }

    .cta-content {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
        right: 0;
    }

    .cta-item:not(:last-child):after {
        position: absolute;
        content: '';
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        z-index: 1;
    }

    .cta-main:before, .cta-main:after {
        display: none;
    }

    .cta-item:not(:last-child):before {
        display: none;
    }

    .rbs-main-title {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        text-align: center;
        margin-bottom: 35px;
    }

    .rbs-img img {
        opacity: .95;
    }

    .rbs-container {
        background-color: var(--primary-color);
        padding: 50px 0 0;
    }

    .rbs-slide-control {
        position: relative;
        bottom: 0;
        left: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 30px auto 0;
    }

    .rbs-content {
        right: 0;
        text-align: center;
        left: 0;
        margin: 0 auto;
        bottom: 30px;
        padding: 0 15px;
    }

    .rbs-img canvas {
        min-height: 350px;
    }

    .rbs-address {
        margin-bottom: 25px;
    }

    .rbs-address span {
        font-size: 25px;
    }

    .rbs-price span {
        font-size: 33px;
        letter-spacing: 0.050em;
    }

    .fa-container {
        padding: 70px 0 30px;
    }

    .fa-main .global-title {
        width: 100%;
        padding-bottom: 30px;
    }

    .fa-main .global-title h2:before, .fa-main .global-title h2:after {
        left: calc(100% + 15px);
    }

    .fa-main .global-title h2:after {
        left: auto;
        right: calc(100% + 15px);
    }

    .fa-main .global-title:before, .fa-main .global-title:after {
        top: 30px;
        display: none;
    }

    .fa-item {
        width: 100%;
        display: block;
        max-width: 420px;
        margin: 0 auto;
        padding: 0;
    }

    .fa-item:not(:last-child) {
        margin-bottom: 50px;
    }

    .fa-more-btn {
        margin: 50px auto 0;
    }

    .in-col {
        display: block;
        width: 100%!important;
    }

    .in-content-container {
        text-align: center;
        padding: 0;
        margin-bottom: 40px;
    }

    .in-post-row {
        display: block;
    }

    .in-list {
        margin: 0;
    }

    .in-post-row > div {
        padding: 0;
    }

    .in-post-img, .in-post-content {
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .in-post-content-inner {
        padding: 20px 15px 0!important;
        text-align: center;
    }

    .in-post-content-inner h2 br {
        display: none;
    }

    .in-post-btn {
        margin: 0;
    }

    .in-container {
        margin-top: 0;
        padding: 50px 0 50px;
    }

    .in-content p:not(:last-child) {
        margin-bottom: 15px;
    }

    .in-content {
        margin-bottom: 25px;
    }

    .in-content-container .global-title {
        margin-bottom: 25px;
    }

    .accent-bg {
        width: 50%;
        height: 50%;
    }

    .testi-container > .custom-container {
        padding: 0 20px;
    }

    .testi-bg {
        width: 100%;
        height: 100%;
    }

    .testi-main .global-title {
        text-align: center;
        margin: 0 auto 30px;
        padding: 0;
    }

    .testi-main .global-title h2 {
        text-align: center;
    }

    .testi-bg canvas {
        opacity: .20;
    }

    .testi-container .border-container {
        padding: 60px 15px;
    }

    .testi-content p {
        font-size: 18px;
    }

    .testi-content span {
        font-size: 22px;
        margin-top: 20px;
    }

    .testi-controls {
        position: relative;
        width: 100%;
        max-width: 70px;
        margin: 40px auto 0;
        top: 0;
        left: 0;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        padding-top: 20px;
    }

    .testi-controls:after {
        position: absolute;
        content: '';
        bottom: 100%;
        left: 0;
        right: 0;
        width: 1px;
        margin: 0 auto;
        height: 30px;
        background-color: #163153;
    }

    .testi-more-btn:after {
        display: none;
    }

    .testi-more-btn {
        padding: 30px 0 0;
    }

    .sm-col {
        display: block;
        width: 100%!important;
    }

    .sm-content-container {
        padding: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .smi-content-img {
        max-width: 480px;
        margin: 0 auto;
    }

    .sm-container {
        padding: 70px 0;
    }

    .sm-smis, .sm-smi-label {
        display: block;
    }

    .sm-smis {
        margin: 15px auto 0;
    }

    .ff-main .custom-title {
        margin-bottom: 30px;
    }

    .ff-caption {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .ff-form-col.form-submit {
        margin-top: 10px;
    }

    .ff-container {
        padding: 70px 0 70px;
    }

    .footer-row {
        display: block;
    }

    .footer-col {
        display: block;
    }

    .footer-label {
        text-align: center;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .footer-contacts {
        text-align: center;
    }

    .footer-label:before {
        right: 0;
        margin: 0 auto;
    }

    .footer-col:not(:last-child) {
        margin-bottom: 35px;
    }

    .footer-nav-holder {
        padding: 0;
    }

    #footer-nav {
        -webkit-column-count: auto;
        -moz-column-count: auto;
        column-count: auto;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
        display: block;
        text-align: center;
    }

    #footer-nav > li {
        margin-bottom: 0;
    }

    .footer-smi-holder {
        margin: 0 auto;
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
    }

    .footer-smi-holder a span:before {
        margin-right: 15px;
    }

    .footer-contacts span {
        font-size: 16px;
        padding: 9px 0;
        margin: 0!important;
    }

    .footer-inner .border-container {
        padding: 60px 15px;
    }

    .footer-disclaimer {
        margin: 30px auto 20px;
        padding: 0;
    }

    .footer-container {
        padding: 70px 0 40px;
    }

    #footer-nav > li > a {
        padding: 16px 5px;
        font-size: 16px;
        display: inline-block;
    }

    .footer-contacts span:not(:first-child) {
        margin-top: 0;
    }

    .copyright {
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .mls-logo span {
        font-size: 25px;
    }

    .mls-logo span.ai-font-realtor-mls {
        font-size: 32px;
    }

    /* 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 .archive-list .article-long .archive-has-thumbnail {
        width: 100%;
        margin: 0 auto;
    }

    #content .archive-list .article-long .archive-thumbnail {
        width: 100%;
    }

    #content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
        margin-top: .75em;
    }

    #content .archive-list .article-long p {
        font-size: 16px;
    }

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

    .ip-banner canvas {
        min-height: 350px;
    }

    body.page-id-12 #content .col-md-6 img.img-responsive {
        height: auto;
        width: 100%;
        max-width: 400px;
    }

    .prop-more-btns {
        min-height: 0;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }

    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 45px !important;
    }

    .about-content-container .custom-title h2 span {
        font-size: 50px;
    }

    .stats-item li span {
        font-size: 45px;
    }

    .cq-content p {
        font-size: 23px;
    }

    .rbs-address span {
        font-size: 23px;
    }

    .fa-title span {
        font-size: 30px;
    }

    .ff-form-col {
        margin-bottom: 15px;
        width: calc(50% - 5px);
    }

    .ff-form-col input:not([type=submit]), .ff-form-col textarea {
        font-size: 13px;
    }

    .footer-inner:before {
        height: 30px;
    }

    .footer-inner .border-container:before {
        height: 25px;
    }

    .footer-inner .border-container:after {
        top: 30px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    #content .entry-title, #content .archive-title, .custom-title h2 span, .global-title h2 {
        font-size: 35px !important;
    }

    .custom-title h2 small {
        font-size: 23px;
        letter-spacing: 0.050em;
    }

    .global-btn em[class^=ai-font] {
        margin-left: 15px;
    }

    .global-title {
        max-width: 240px;
        margin: 0 auto;
    }

    .popup-content .global-title h2 {
        font-size: 26px!important;
    }

    .popup-content .global-title h2 span:before {
        width: 30px;
    }

    .popup-content h3 {
        font-size: 20px;
        letter-spacing: 0.050em;
    }

    .popup-content p {
        font-size: 14px;
    }

    .popup-content .global-title h2 em {
        font-size: 30px;
    }

    .header-wrapper {
        min-height: 74px;
    }

    .ip-banner, #slideshow {
        margin-top: 74px;
    }

    .side-menu-wrapper {
        padding: 25px 20px 80px;
    }

    .logo img {
        max-width: 225px;
    }

    .footer-logo img, .side-menu-logo a img {
        max-width: 270px;
    }

    .header-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .header-wrapper > .container {
        padding: 0 15px;
    }

    body #aios-slider-hp-slideshow.aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title {
        font-size: 35px;
    }

    body .aios-slider-tagline-description {
        margin-top: 20px;
    }

    .slideshow-counter span {
        font-size: 16px;
    }

    .prop-container {
        padding: 50px 0;
    }

    .prop-info span {
        letter-spacing: 0.050em;
    }

    .prop-more-btn a {
        font-size: 22px;
    }

    .about-content-container .custom-title h2 span {
        font-size: 45px;
    }

    .about-content-container {
        padding-bottom: 40px;
    }

    .about-bg, .about-bg.attachment-fixed {
        height: 20%;
    }

    .stats-item li {
        font-size: 14px;
    }

    .stats-item li span {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .cq-content p {
        font-size: 22px;
        line-height: 1.4;
    }

    .cta-holder canvas {
        height: 330px;
    }

    .cta-text {
        margin-bottom: 30px;
    }

    .cta-more-btn .global-btn {
        font-size: 18px;
    }

    .cta-more-btn .global-btn em[class^=ai-font] {
        width: 50px;
        height: 50px;
    }

    .cta-title {
        margin-bottom: 15px;
    }

    .fa-img:before {
        height: 40px;
        bottom: -20px;
    }

    .fa-title {
        padding: 0 10px 40px;
    }

    .fa-item:not(:last-child) {
        margin-bottom: 40px;
    }

    .in-post-content-inner h2 {
        margin-bottom: 15px;
    }

    .testi-main .global-title {
        max-width: 290px;
    }

    .footer-container {
        padding: 50px 0 40px;
    }

    .footer-logo {
        margin-bottom: 45px;
    }

    .footer-smi-holder a:not(:last-child) {
        margin-bottom: 10px;
    }

    .prop-main-title .global-title h2 {
        font-size: 35px !important;
    }
}
