/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (min-width: 992px) {
    .slideshow-wrapper, .slideshow-wrapper #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas {
        min-height: 100vh;
    }

    body #agents-results .agents-contact {
        justify-content: center;
    }
}

@media only screen and (max-width: 1560px) {
    .custom-container {
        max-width: 1200px;
    }

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

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

    .sidemenu-nav > li:nth-child(5) {
        margin-bottom: 0;
    }

    .mtt-team-bg img {
        left: 30px;
        max-width: 180px;
    }

    .sm-title-holder {
        padding: 68px 56px 30px;
    }

    .sm-bg:before {
        height: calc(100% - 130px);
    }

    .hi-content-container {
        padding: 0 45px;
    }

    .hi-featured-image img {
        height: 381px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
    }

    .gb-container .custom-container {
        max-width: 1280px;
    }

    .gb-item img {
        width: 130px;
        height: 90px;
        max-width: 100%;
        -o-object-position: center;
        object-position: center;
    }

    body .ai-minimalist-communities-content-wrap .ai-minimalist-communities-content-text {
        padding: 50px 30px;
    }

    body #ai-minimalist-communities-wrap {
        padding: 0 50px;
    }

    body #listings-results .listings-table .listings-table-body .listings-price {
        min-width: 150px;
    }
}

@media only screen and (max-width: 1440px) {
    .main-nav > li a {
        letter-spacing: 0.100em;
    }

    .mtt-content-container {
        padding: 30px 45px 30px;
    }

    .mtt-row {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

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

    .mtt-content p {
        font-size: 13px;
    }

    .mtt-team-bg {
        margin-top: 0;
    }

    .mtt-team-bg, .mtt-agent-photo canvas {
        height: 349px;
    }

    .blog-content {
        width: calc(100% - 140px);
    }

    .gb-container .custom-container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1366px) {
    #content .entry-title, #content .archive-title, .global-title h2 > span {
        font-size: 65px;
    }

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

    .custom-container {
        max-width: 1080px;
    }

    #floating-form {
        top: 20vh;
    }

    .slideshow-tagline-text h2 {
        font-size: 65px;
    }

    .slideshow-tagline-text span {
        font-size: 23px;
    }

    .slideshow-cta-container {
        max-width: 1080px;
    }

    .qs-container > .container {
        width: 100%;
        max-width: 1080px;
    }

    .qs-title .global-title h2 > span {
        font-size: 35px;
    }

    .mtt-content-container {
        padding: 30px 35px 30px;
    }

    .mtt-content p {
        font-size: 12px;
    }

    .fp-info, .fp-hover-price {
        max-width: 260px;
    }

    .fp-hover-price span, .fp-price span {
        font-size: 23px;
    }

    .fp-hover-address span, .fp-address span, .fp-hover-info span {
        letter-spacing: 0.150em;
        font-size: 12px;
    }

    .fp-hover-address span {
        font-size: 12px;
    }

    .sm-title-holder {
        padding: 68px 45px 30px;
    }

    .sm-slide-control {
        margin: 0 60px 0 0;
    }

    .sm-control-holder {
        margin-top: 20px;
    }

    .hi-content-container {
        padding: 0 29px 0 45px;
    }

    .hi-content p {
        font-size: 13px;
    }

    .hi-content strong {
        font-size: 16px;
    }

    .hi-featured-image img {
        height: 355px;
    }

    .blog-content {
        padding: 20px 30px 20px;
    }

    .blog-content h2 {
        font-size: 18px;
    }

    .gb-tagline {
        font-size: 14px;
    }

    .gb-slide {
        padding: 0 60px;
    }

    .gb-container .custom-container {
        max-width: 1140px;
    }

    .footer-contacts-container {
        padding: 88px 60px 93px;
    }

    .footer-form-container {
        padding: 93px 60px;
    }

    .footer-disclaimer p {
        font-size: 10px;
    }

    body.post-page-homeowners-insurance .global-title h2 > small {
        font-size: 25px !important;
    }
}

@media only screen and (max-width: 1280px) {
    .header-wrapper > .container {
        width: 100%;
        max-width: 1080px;
    }

    .mtt-team-bg img {
        max-width: 150px;
        left: 20px;
    }

    .mtt-content-container {
        padding: 30px 27px 30px 35px;
    }

    .mtt-team-bg, .mtt-agent-photo canvas {
        height: 327px;
    }

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

    .gb-container .custom-container {
        max-width: 1080px;
    }


    body #listings-results .listings-table .listings-table-body .listings-address, 
    body #listings-results .listings-table .listings-table-body .listings-sqft {
        width: 200px;
        max-width: 200px;
    }
}

/* 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, .global-title h2 > span {
        font-size: 50px;
    }

    .global-title h2 > small {
        font-size: 20px;
    }

    .global-btn {
        width: 150px;
        height: 45px;
        font-size: 12px;
    }

    .custom-container {
        max-width: 880px;
    }

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

    .slideshow-tagline-text h2 {
        font-size: 50px;
    }

    .slideshow-tagline-text span {
        font-size: 20px;
    }

    .main-nav:first-of-type {
        padding-right: 30px;
    }

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

    .main-nav li:focus-within > .sub-menu, .main-nav li:hover > .sub-menu {
        padding-top: 28px;
    }

    .header-wrapper > .container {
        max-width: 920px;
    }

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

    .main-nav:last-of-type {
        padding-left: 29px;
        align-items: center;
    }

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

    .sidemenu-nav > li {
        margin-bottom: 53px;
    }

    .sidemenu-nav > li > a {
        font-size: 16px;
        letter-spacing: 0.150em;
    }

    .sidemenu-nav .sub-menu li a {
        font-size: 12px;
    }

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

    .side-menu-close {
        font-size: 17px;
    }

    .floating-form-btn {
        left: 23px;
    }

    .floating-form-col input:not([type=submit]), .floating-form-col textarea {
        font-size: 12px;
        padding: 0 15px;
    }

    .floating-form-col textarea {
        height: 100px;
        padding: 10px 15px;
    }

    .floating-form-holder h2 {
        font-size: 25px;
    }

    .floating-form-holder {
        padding: 44px 20px;
        max-width: 380px;
    }

    .floating-form div.wpcf7-response-output {
        bottom: -35px;
    }

    .floating-form .use-floating-validation-tip .wpcf7-not-valid-tip {
        font-size: 11px;
    }

    .slideshow-cta-container {
        max-width: 920px;
    }

    .qs-container > .container {
        max-width: 920px;
    }

    .qs-title .global-title h2 > span {
        font-size: 32px;
    }

    .qs-title .global-title h2 > small {
        font-size: 14px;
        margin-right: -10px;
    }

    .qs-field > select, .qs-field > input {
        font-size: 11px;
        letter-spacing: 0.,050em;
    }

    .slideshow-cta-item a {
        font-size: 16px;
    }

    .slideshow-cta-item {
        padding: 0 10px;
    }

    .slideshow-cta-list {
        margin: 0 -10px;
    }

    .mtt-content-container {
        padding: 30px 20px 30px;
    }

    .mtt-content p {
        font-size: 10px;
    }

    .mtt-content-container .global-title {
        margin-bottom: 20px;
    }

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

    .mtt-team-bg, .mtt-agent-photo canvas {
        height: 275px;
    }

    .mtt-content {
        margin-bottom: 20px;
    }

    .mtt-agent-photo img {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    .mtt-agent-photo {
        overflow: hidden;
    }

    .mtt-team-bg img {
        max-width: 125px;
    }

    .fp-container {
        padding: 60px 0 40px;
    }

    .fp-info, .fp-hover-price {
        max-width: 211px;
    }

    .fp-price {
        margin-bottom: 13px;
        padding-bottom: 15px;
    }

    .fp-info {
        padding: 20px 0 15px;
    }

    .fp-img:before {
        height: 40px;
    }

    .fp-hover-price span, .fp-price span {
        font-size: 20px;
        letter-spacing: 0.050em;
    }

    .fp-hover-address span, .fp-address span, .fp-hover-info span {
        letter-spacing: 0.050em;
        font-size: 12px;
    }

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

    .testi-content p, .testi-content span.testi-author {
        font-size: 12px;
    }

    .testi-content span.testi-author {
        margin-top: 30px;
    }

    .testi-slide-control {
        margin-top: 30px;
    }

    .testi-container {
        padding: 67px 0;
    }

    .sm-slide-control {
        margin: 0 35px 0 0;
    }

    .sm-title-holder {
        padding: 55px 25px 22px;
    }

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

    .sm-bg:before {
        height: calc(100% - 110px);
    }

    .hi-content-container {
        padding: 0 0 0 36px;
    }

    .hi-container .global-title h2 > small {
        margin-right: -45px;
    }

    .blog-content h2 {
        font-size: 16px;
    }

    .blog-content {
        padding: 20px 20px;
        width: calc(100% - 85px);
    }

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

    .blog-img canvas {
        min-height: 280px;
    }

    .gb-slide {
        padding: 0 50px;
    }

    .gb-container .custom-container {
        max-width: 920px;
    }

    .gb-item img {
        width: 120px;
        height: 70px;
    }

    .gb-slide-control button {
        font-size: 35px;
    }

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

    .fixed-smi-holder ul li {
        width: 32px;
        height: 32px;
    }

    .fixed-smi-holder ul li a {
        font-size: 16px;
    }

    .fixed-smi-label {
        font-size: 10px;
        letter-spacing: 0.200em;
        margin-top: 70px;
    }

    .fixed-smi-holder ul:after {
        height: 35px;
        top: calc(100% + 15px);
    }

    .footer-contacts span {
        font-size: 11px;
        padding: 9px 23px;
    }

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

    .footer-smi a:not(:last-child) {
        margin-right: 40px;
    }

    .footer-smi {
        margin-bottom: 27px;
    }

    .footer-logo a img {
        max-width: 200px;
    }

    .footer-contacts-container {
        padding: 60px 50px;
    }

    .footer-form-container {
        padding: 60px 55px;
    }

    .footer-form-col input:not([type=submit]), .footer-form-col textarea {
        font-size: 12px;
        padding: 0 15px;
    }

    .footer-form-col textarea {
        height: 130px;
        padding: 10px 15px;
    }

    .footer-form-widget .use-floating-validation-tip .wpcf7-not-valid-tip {
        font-size: 11px;
    }

    .footer-contacts span em[class^=ai-font] {
        font-size: 14px;
    }

    .footer-contacts span em.ai-font-location-c {
        font-size: 20px;
    }

    .footer-contacts span em.ai-font-envelope {
        font-size: 11px;
    }

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

    .footer-form-container h2 {
        font-size: 25px;
    }

    .footer-disclaimer p {
        letter-spacing: normal;
    }

    .copyright {
        font-size: 11px;
        letter-spacing: 0.020em;
    }

    #footer-nav > li > a {
        font-size: 12px;
        letter-spacing: 0.150em;
    }

    #footer-nav > li {
        padding: 0 20px;
    }

    body #ip-amante-ii-about .welcome-text .section-title-a {
        font-size: 30px;
    }

    body.post-page-homeowners-insurance .global-title h2 > small {
        font-size: 20px !important;
    }

    .main-nav > li {
        /* margin: 0 8px; */
    }

    body #listings-results .listings-table .listings-table-body .listings-address, body #listings-results .listings-table .listings-table-body .listings-sqft {
        width: 165px;
        max-width: 150px;
    }

    body .ai-minimalist-communities-content-wrap .ai-minimalist-communities-content-text {
        padding: 50px 15px;
    }

    body #listings-results .listings-table .listings-table-body .listings-address {
        min-width: 180px;
    }

    body #listings-results .listings-table .listings-table-body .listings-price {
        min-width: 170px;
    }

    body #listings-results .listings-table .listings-table-body .listings-type {
        min-width: 140px;
    }

    body .ai-minimalist-communities-content-wrap .ai-minimalist-communities-content-text p {
        font-size: 14px;
    }
}

/* 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, .global-title h2 > span {
        font-size: 40px;
    }

    .global-title h2 > small {
        margin-right: 0;
        text-align: center;
        font-size: 18px;
    }

    .global-title {
        text-align: center;
        display: block;
    }

    .custom-container {
        max-width: 567px;
    }

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

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

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

    .header-wrapper {
        position: relative;
        z-index: 10;
        display: block;
        padding: 20px 0;
        margin-top: 52px;
        top: 0;
        background-color: var(--primary-color);
    }

    .logo a {
        display: inline-block;
        padding: 0;
    }

    .main-nav {
        display: none!important;
    }

    .logo {
        width: 100%;
    }

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

    .burger-menu-wrap {
        display: none;
    }

    .slideshow-tagline {
        z-index: 10;
    }

    .slideshow-cta-container {
        z-index: 5;
        position: relative;
        top: 0;
        background-color: var(--primary-color);
        padding: 40px 0;
        max-width: 100%;
    }

    .slideshow-cta-list {
        margin: 0;
        padding: 0;
    }

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

    .slideshow-cta-item:not(:last-child) {
        margin-bottom: 15px;
    }

    .slideshow-cta-item a:hover {
        background-color: #fff;
        color: var(--primary-color);
        border-color: #fff;
    }

    #fixed-smi {
        display: none;
    }

    #floating-form {
        z-index: 20;
    }

    .floating-form div.wpcf7-response-output {
        bottom: -38px;
    }

    .qs-title, .qs-form {
        display: block;
    }

    .qs-title {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .qs-form {
        width: 100%;
    }

    .qs-field.long {
        width: 100%;
    }

    .qs-field {
        margin: 0 0 5px;
    }

    .qs-field.short-b, .qs-field.short-i {
        width: calc(50% - 5px);
        margin: 0 0 5px;
    }

    .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;
    }

    .qs-field.short-i.fl-r {
        margin-right: 0;
    }

    .qs-field.submit {
        width: 100%;
        max-width: 160px;
        margin: 20px auto 0;
    }

    .qs-disclaimer {
        margin-top: 20px;
    }

    .qs-main {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .mtt-row {
        display: block;
    }

    .mtt-agent-photo {
        padding: 50px 0 0;
    }

    .mtt-agent-photo img {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        width: 100%;
    }

    .mtt-agent-photo canvas {
        height: 70%;
    }

    .mtt-content-container .global-title h2 {
        display: inline-block;
    }

    .mtt-content-container .global-title {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
    }

    .mtt-content-container .global-title h2 > small {
        margin-right: 0;
    }

    .qs-title .global-title h2 > small {
        margin-right: 0;
        text-align: center;
        font-size: 18px;
    }

    .qs-title .global-title h2 > span {
        font-size: 40px;
    }

    .mtt-content p {
        font-size: 13px;
    }

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

    .mtt-content {
        text-align: center;
    }

    .mtt-content-container {
        padding: 50px 50px;
    }

    .mtt-more-btn a {
        margin: 0 auto;
    }

    .mtt-team-bg img {
        max-width: 200px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .mtt-team-bg {
        height: 200px;
    }

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

    .fp-item {
        width: calc(100% / 2);
    }

    .fp-slide:not(.slick-initialized) .fp-item:nth-child(n+2) ~ div {
        display: none;
    }

    .fp-info, .fp-hover-price {
        max-width: 230px;
    }

    .fc-map-base, .fc-map-transparent, #map-area, .fc-map-hovers, .fc-map-label {
        display: none;
    }

    .fc-map-main {
        width: 100%;
        -webkit-transform: none!important;
        -ms-transform: none!important;
        transform: none!important;
    }

    .fc-map-outer {
        height: auto!important;
    }

    .fc-map-content {
        position: relative;
        top: 0;
        left: 0;
        padding: 50px 30px;
    }

    .fc-comm-areas {
        display: block;
        max-width: 215px;
        margin: 0 auto;
    }

    .fc-comm-areas ul {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .fc-comm-areas li.fc-comm-title {
        font-size: 13px;
        letter-spacing: 0.150em;
    }

    .fc-comm-areas li.fc-comm-title a {
        padding: 13px 30px;
        color: #fff!important;
        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;
        width: 100%;
    }

    .fc-comm-areas li.fc-comm-title:hover a {
        opacity: .75!important;
    }

    .fc-comm-areas li.fc-comm-title a span:before {
        right: calc(100% + 15px);
        background-color: #fff!important;
    }

    .fc-comm-areas li.fc-comm-title a span {
        -webkit-transform: translateX(0)!important;
        -ms-transform: translateX(0)!important;
        transform: translateX(0)!important;
        color: #fff!important;
    }

    .fc-comm-areas li.fc-comm-title a:after {
        opacity: 1!important;
        visibility: visible!important;
        width: 100%!important;
    }

    .fc-map-content .global-title h2 > span {
        font-size: 40px;
    }

    .fc-map-content .global-title h2 > small {
        font-size: 16px;
    }

    .fc-map-content .global-title {
        margin-bottom: 30px;
    }

    .testi-col {
        width: 100%!important;
        display: block;
        padding: 0;
        border: none!important;
    }

    .testi-row {
        margin: 0;
    }

    .testi-container > .container {
        max-width: 600px;
    }

    .testi-container .global-title h2 > small {
        margin-left: 0;
    }

    .testi-slide-control {
        margin: 30px auto 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .testi-col:not(:last-child) {
        margin-bottom: 30px;
    }

    .testi-content {
        text-align: center;
    }

    .testi-content p, .testi-content span.testi-author {
        font-size: 13px;
    }

    .testi-container {
        padding: 65px 0;
    }

    .sm-slide-item {
        margin: 0!important;
        width: calc(100% / 2);
    }

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

    .sm-bg {
        height: calc(100% - 350px);
    }

    .sm-title-holder {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0 0 40px;
        display: block;
        text-align: center;
    }

    .sm-control-holder {
        display: block;
        margin-top: 30px;
    }

    .sm-slide-control {
        margin: 0 auto 30px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .sm-control-btn a {
        margin: 0 auto;
    }

    .sm-bg:before {
        display: none;
    }

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

    .hi-container .global-title h2 > small {
        margin-right: 0;
    }

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

    .hi-content-container {
        padding: 0;
    }

    .hi-content {
        text-align: center;
    }

    .hi-more-btn a {
        margin: 0 auto;
    }

    .hi-logos {
        display: block;
        text-align: center;
        margin: 0 auto 26px;
    }

    .hi-logo {
        display: block;
        padding: 0;
    }

    .hi-logo:not(:last-child) {
        margin-bottom: 20px;
    }

    .hi-featured-image {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .hi-container {
        padding: 60px 0;
    }

    .blog-slide-col {
        display: block;
        width: 100%;
        padding: 0!important;
    }

    .blog-slide-row {
        margin: 0;
    }

    .blog-slide-col:not(:last-child) {
        margin-bottom: 20px;
    }

    .blog-title-holder {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0 0 30px;
        text-align: center;
        display: block;
    }

    .blog-container .global-title h2 > small {
        margin-right: 0;
    }

    .blog-control-holder {
        position: relative;
        bottom: 0;
        width: 100%;
        margin: 30px auto 0;
        padding: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .blog-more-btn a {
        margin: 0 auto;
    }

    .blog-slide-control {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 auto 20px;
    }

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

    .gb-container {
        padding: 50px 0 60px;
    }

    .gb-slide {
        padding: 0;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .gb-slide:not(.slick-initialized) .gb-item:nth-child(n+3) ~ div {
        display: none;
    }

    .gb-slide-control {
        position: relative;
        top: 0;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        width: 100%;
        max-width: 100px;
        margin: 40px auto 0;
    }

    .gb-item img {
        width: 100%;
        height: 100px;
    }

    .gb-item {
        width: calc(100% / 3);
        padding: 0 25px;
    }

    .gb-container .custom-container {
        max-width: 567px;
    }

    .gb-tagline span br {
        display: none;
    }

    .footer-col {
        display: block;
        width: 100%;
    }

    .footer-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .footer-form-container, .footer-contacts-container {
        padding: 60px 30px;
    }

    .footer-disclaimer p {
        font-size: 11px;
    }

    .footer-form-widget div.wpcf7-response-output {
        bottom: -38px;
    }

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

    .flex-col-md-3 {
        display: block;
        width: 100%;
        position: relative;
        padding: 10px;
        margin-bottom: 30px;
    }

    .flex-col-md-3 span {
        margin-top: 17px;
        min-height: 0;
    }

    #content .flex-col-md-3 .aligncenter {
        min-height: 0;
    }

    body #ip-amante-ii-about .welcome-text .section-title-a {
        letter-spacing: normal;
    }

    body.post-page-homeowners-insurance .global-title h2 > small {
        font-size: 18px !important;
    }

    .aios-mobile-header-wrapper {
        z-index: 1001 !important;
    }

    .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 11px;
    }

    body.single-post.postid-65 #content img[class*="align"] {
        max-width: 100%!important;
        width: 100%;
    }

    body.single-post.postid-65 #content img[class*="align"] {
        margin-bottom: 15px;
    }

    #footer-nav > li {
        display: block;
        text-align: center;
        margin: 15px 0 0;
        padding: 0 0;
    }

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

    body .aios-cu-form form .cu-fields {
        width: 100%;
        padding: 0;
    }

    body .aios-cu-form .wpcf7-spinner {
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    body .aios-cu-form form div.wpcf7-response-output {
        font-size: 11px;
        bottom: -45px;
        transform: none;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    body .aios-cu-form form span.wpcf7-not-valid-tip {
        font-size: 11px;
    }

    body .aios-cu-form {
        margin-bottom: 50px;
    }

    body .ai-minimalist-communities-content-wrap .ai-minimalist-communities-content-image {
        margin: 0 auto;
    }

    body #ai-minimalist-communities-wrap {
        padding: 0 15px;
    }

    body .ai-minimalist-communities-content-wrap .ai-minimalist-communities-content-text {
        padding: 15px;
    }

    body #listings-results .listings-table .listings-table-body .listings-item p {
        padding: 0;
    }

    body #listings-results .listings-table .listings-table-body .listings-item>div {
        padding: 15px;
    }
}

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

    .custom-container {
        max-width: 410px;
    }

    #floating-form {
        top: 60%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .slideshow-tagline-text h2 {
        font-size: 35px;
        letter-spacing: 0.050em;
    }

    .slideshow-tagline-text span {
        font-size: 15px;
        letter-spacing: 0.050em;
    }

    .qs-main {
        max-width: 340px;
    }

    .fp-item {
        width: 100%;
        padding: 0;
    }

    .fp-slide {
        margin: 0 auto;
        width: 100%;
        max-width: 380px;
    }

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

    .gb-container .custom-container {
        max-width: 410px;
    }

    .gb-item {
        width: calc(100% / 2);
        padding: 0 20p;
    }

    .footer-form-inner {
        max-width: 387px;
    }

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

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

    #footer-nav > li {
        padding: 5px 13px!important;
    }

    .copyright {
        line-height: 1.2;
    }

    body #listings-details .listings-form {
        padding: 75px 15px;
    }

    body #listings-details .listings-form h2 span {
        font-size: 30px;
    }

    body #listings-details .listings-box {
        padding: 43px 15px 49px;
    }

    body #listings-details .listings-cta>li>a {
        font-size: 13px;
        text-align: center;
        letter-spacing: 0.050em;
    }
}

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

    .global-title h2 > small {
        font-size: 16px;
        letter-spacing: 0.200em;
    }

    .slideshow-tagline-text h2 {
        letter-spacing: normal;
        font-size: 30px;
    }

    .slideshow-tagline-text span {
        font-size: 14px;
    }

    .slideshow-cta-item {
        max-width: 230px;
    }

    .slideshow-cta-item a {
        font-size: 14px;
        height: 64px;
    }

    .mtt-content-container {
        padding: 50px 15px;
    }

    .sm-slide-item {
        padding: 2px;
    }

    .sm-slide {
        margin: 0 -2px;
    }

    .hi-featured-image img {
        height: 250px;
    }

    .hi-featured-image:before {
        bottom: -10px;
        left: -10px;
        width: 130px;
        height: 130px;
    }

    .blog-content {
        width: calc(100% - 20px);
        padding: 20px 15px;
    }

    .blog-content h2 {
        letter-spacing: 0.030em;
        font-size: 13px;
    }

    .blog-content span {
        letter-spacing: 0.200em;
    }

    .gb-tagline {
        font-size: 12px;
    }

    .footer-logo a img {
        max-width: 160px;
    }

    .footer-contacts span {
        padding: 9px 15px;
    }

    .footer-contacts span em[class^=ai-font] {
        margin-right: 10px;
    }

    .footer-smi a:not(:last-child) {
        margin-right: 34px;
    }

    body.post-page-homeowners-insurance .global-title h2 > small {
        font-size: 16px !important;
    }
}

@media only screen and (max-height: 520px) {
    #floating-form {
        top: 18vh;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .floating-form-btn {
        top: 78%;
    }

    .floating-form-col input:not([type=submit]), .floating-form-col textarea {
        height: 34px;
        padding: 0 10px;
    }

    .floating-form-col textarea {
        height: 55px;
        padding: 7px 10px;
    }

    .floating-form-holder {
        padding: 30px 20px;
    }

    .floating-form-holder h2 {
        font-size: 20px;
        margin-bottom: 11px;
    }

    .floating-form .wpcf7-response-output {
        font-size: 10px;
        bottom: -24px;
    }

    .floating-form .use-floating-validation-tip .wpcf7-not-valid-tip {
        font-size: 11px;
    }
}
