/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1440px) {
    .fl-btn-arrow {
        max-width: 1006px
    }

    section.fl-wrapper::before {
        width: 158px;
    }

    .meet-col.meet-left {
        padding-right: 10px;
    }

    .news-right-main {
        font-size: 45px;
        line-height: 54px;
    }

    .news-right-text {
        padding-left: 8px;
    }
}

@media only screen and (max-width: 1365px) {
    .slide-desc-left {
        margin-left: -11px;
    }

    .meet-col.meet-right {
        width: 45%;
        padding-left: 45px;
        padding-right: 15px;
    }

    .news-right-main {
        font-size: 41px;
        line-height: 46px;
    }

    .news-right-text {
        padding-left: 25px;
    }

    .news-left-bottom {
        font-size: 13px;
    }

    section.fl-wrapper::before {
        width: 87px;
    }

    .slide-desc {
        bottom: 50px;
    }

    .meet-col.meet-left{
        padding-top: 100px;
    }
}

@media only screen and (max-width: 1199px) {
    .slide-desc-para {
        font-size: 25px;
        color: #000;
        line-height: 32px;
        margin-top: 20px;
    }

    .slide-btn-item {
        max-width: 229px;
    }

    .fl-desc-right.fl-desc-col {
        padding-left: 16px;
    }

    .slide-desc {
        bottom: 16px;
    }

    .slide-desc-title .slide-desc-sub span {
        font-size: 31px;
    }

    ul#nav {
        max-width: 710px;
    }

    .fl-btn-arrow {
        max-width: 796px;
    }

    .meet-agent canvas {
        display: block;
        width: 100%;
        height: 100%;
    }

    .meet-col.meet-left {
        padding-left: 45px;
    }

    .testi-para {
        max-width: 685px;
        margin: 0 auto;
    }

    .cta-title span {
        font-size: 25px;
        line-height: 34px;
    }

    .news-left-bottom {
        font-size: 12px;
        line-height: 24px;
    }

    .footer-contact-item a {
        font-size: 11px;
    }

    .footer-det-col.footer-del-col-mid {
        padding: 0 13px;
    }

    .footer-mid-title {
        font-size: 16.75px;
    }

    #nav .sub-menu {
        padding-top: 20px;
    }

    #nav > li > a::before {
        bottom: -20px;
    }

    header.header.fixed #nav .sub-menu {
        padding-top: 30px;
    }

    header.header.fixed #nav > li > a::before {
        bottom: -30px;
    }

    .testi-list {
        max-width: 736px;
        margin: 0 auto;
        overflow: hidden;
    }

    .slideshow-inner{
        padding-top: 50px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ipsell-roadmap-title{
        font-size: 15.02px !important;
    }
    
    .copyright {
        line-height: 1.6;
    }
    #pojo-a11y-toolbar {
         display:none;
    }
    .slide-desc-title > div {
        line-height: 1.2;
    }
    .slide-desc-title::after {
        height: 37px;
    }
    .slide-desc-para {
        font-size: 20px;
    }
    .bs-btns-flex {
        flex-direction: column;
    }

    .bs-link {
        width: 100%;
    }

    .header-right {
        display: none;
    }

    header.header {
        position: relative;
        margin-top: 52px;
    }

    .header-logo {
        width: 100%;
    }

    .header-logo a {
        display: block;
        max-width: 340px;
        margin: 0 auto;
    }

    .slide-desc {
        position: relative;
        background: #f1c735;
        bottom: 0;
        padding: 20px 0;
    }

    .slide-desc-left {
        margin: 0;
        margin: 0 auto !important;
        text-align: center;
    }

    .fl-line, section.fl-wrapper::before, section.hp-meet::after {
        display: none;
    }

    .sg-title {
        margin: 0 auto !important;
        text-align: center;
    }

    .fl-title.sg-title {
        margin-bottom: 47px !important;
    }

    .sg-title::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .meet-list {
        display: block;
    }

    .meet-agent {
        margin: 0 auto;
    }

    .meet-col.meet-right {
        padding: 0;
        width: 100%;
    }

    .meet-col.meet-left {
        padding: 0;
        width: 100%;
        text-align: center;
        margin-top: 40px;
    }

    .meet-btn-holder {
        margin: 0 auto;
        margin-top: 66px;
    }

    .testi-photo {
        bottom: -219px;
    }

    .testi-para {
        margin: 0 auto;
        padding: 0 67px;
    }

    section.hp-cta {
        margin-top: 120px;
    }

    .cta-inner > div {
        display: block;
        margin: 0;
    }

    .cta-item {
        max-width: 498px;
        margin: 0 auto;
        margin-bottom: 20px;
        width: 100% !important;
    }

    .meet-left-inner {
        margin: 0 auto;
    }

    .news-list {
        display: block;
    }

    .news-col {
        width: 100%;
        padding: 0;
        margin: 0;
        max-width: 500px;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .news-col.news-left::after {
        display: none;
    }

    .footer-det-wrap {
        display: block;
    }

    .footer-det-col {
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .footer-det-col.footer-det-col-right {
        text-align: center;
    }

    .footer-smi {
        margin: 0 auto;
    }

    .footer-nav ul {
        display: block;
        text-align: center;
    }

    .footer-nav ul > li {
        margin-bottom: 10px;
    }

    .slideshow-inner{
        padding-top: 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%;
    }

    .ip-banner {
        margin-top: 0;
    }

    section.hp-meet {
        padding: 107px 20px 0;
    }

    .footer-contact .wpcf7-response-output {
        bottom: -53px !important;
    }

    .footer-insta-title.sg-title {
        margin-bottom: 10px !important;
    }

    .bpc-title span span {
        font-size: 30px;
        line-height: 32px;
    }

    .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-ultimate-buyers-guide .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-pre-approved .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-elevate-process .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#popup-footer-signup .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#selling-your-home .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#vns-popup .aiosp-content.aios-popup-body, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#mu-popup .aiosp-content.aios-popup-body {
        padding: 40px 10px;
        width: 100%;
    }

    .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-ultimate-buyers-guide button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-pre-approved button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#ip-elevate-process button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#popup-footer-signup button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#selling-your-home button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#vns-popup button.aiosp-close, .aiosp-container.aiosp-inline-holder.aiosp-ref-\#mu-popup button.aiosp-close {
        top: -30px;
        right: 0;
    }

    .testi-list {
        max-width: 521px;
    }

    .sg-btn a {
        background: #d4547e !important;
        line-height: 65px !important;
        color: #fff !important;
        border: 1px solid #d4547e !important;
    }

    .bpc-btn .bpc-btn-sign {
        opacity: 0 !important;
    }

    .bpc-btn input {
        background: #d4547e !important;
        z-index: 2 !important;
        border: 1px solid #d4547e !important;
    }

    .bpc-btn::after {
        z-index: -1 !important;
        background: transparent !important;
        border-color: #fff !important;
    }

    .bs-custom-btn-flex {
        flex-direction: column;
    }

    .bpc-form-hold span.wpcf7-spinner {
        bottom: -32px;
    }

    body.page-id-11 .ip-hw-iframe {
        margin: 0 -10px;
    }

    body.page-id-22 .entry.entry-content h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    body #agents-results .agents-button {
        margin-left: 0;
        margin-right: auto;
    }

    body.page-id-22 h1.entry-title {
        font-size: 45px;
    }

    .testi-para {
        font-size: 14px;
    }

    .testi-photo-item {
        max-width: 200px;
    }

    .testi-btn.sg-btn {
        margin-top: 20px;
        margin-bottom: 70px;
    }

    .cta-item canvas {
        height: 295px;
    }

    .footer-det-inner {
        padding: 42px 10px 51px;
    }

    .ip-comm-details-price-range-list a {
        width: 100%;
        max-width: 235px;
    }

    .ip-comm-details-location-photo {
        width: 100% !important;
    }

    .ipsell-roadmap-main span {
        font-size: 15px !important;
        padding: 0 20px !important;
    }

    .footer-right-inner .footer-contact-item:nth-child(3){
        justify-content: center;
    }

    #agents-single .agents-listings-slider {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 580px !important;
        max-width: 100%;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .single-aios-communities .ip-comm-details-title span {
        font-size: 40px !important;
    }
    .ip-comm-details-title-line {
        bottom: 25px !important;
    }
    .testi-photo-item {
        max-width: 160px;
    }
    .testi-btn.sg-btn {
        margin-bottom: 100px;
    }
    .testi-arrow {
        position: relative;
        top: -165px;
        transform: translateY(0);
    }
    .ip-banner .container {
        width: 100%;
    }

    .slide-desc-main {
        font-size: 54.16px;
    }

    .slide-desc-btn {
        /*display: block;*/
    }

    .slide-btn-item a {
        max-width: 210px;
        margin: 0 auto;
    }

    .slide-desc-para {
        font-size: 17px;
    }

    .testi-arrow.testi-arrow {
        /*display: none;*/
    }

    .slide-desc-btn > div {
        display: block;
        margin: 7px auto;
    }

    .sg-title span span {
        font-size: 51.16px;
    }

    .meet-right-inner {
        max-width: 337px;
        margin: 0 auto;
    }

    .meet-title.sg-title span span {
        font-size: 83.47px;
    }

    .meet-title.sg-title i {
        font-size: 64.07px;
    }

    .testi-photo {
        bottom: -248px;
    }

    .news-left-top {
        display: block;
    }

    .news-left-top > div {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    .news-right-text {
        padding: 0 !important;
        margin-top: 54px !important;
    }

    .news-right-main::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .news-left-bottom {
        padding: 0 20px;
    }

    .bpc-form .wpcf7-response-output {
        position: relative;
        bottom: -22px;
    }

    .listings-video {
        width: 100%;
        max-width: 500px;
    }

    .footer-det-col {
        margin-bottom: 50px;
    }

    #content h2.bs-title {
        font-size: 30.16px;
        line-height: 1.4;
    }

    .ipsell-elevate-links a {
        font-size: 13px !important;
        letter-spacing: 0.5px;
        max-width: 350px !important;
    }

    .aios-cu-inner .aios-cu-left .aios-cu-main .aios-cu-form {
        margin: 30px auto 80px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .aios-cu-inner .aios-cu-left .aios-cu-main .aios-cu-title {
        margin-top: 15px;
    }
    .ip-comm-details-title::after {
        margin: 20px auto 0 !important;
    }
    .single-aios-communities .ip-comm-details-title span {
        font-size: 25px !important;
    }
    .ip-comm-details-title-line {
        bottom: 12px;
    }
    .ipsell-elevate-links a {
        font-size: 11px !important;
    }
    .cta-item canvas {
        height: 230px;
    }
    .testi-photo {
        margin-bottom: -300px;
    }
    .testi-photo-item {
        margin: 0 auto 20px;
    }
    .testi-photo {
        transform: translateX(0);
    }
    .slide-desc-title::after {
        height: 27px;
    }
    .slide-desc-para {
        font-size: 14px;
        margin-top: 5px;
    }
    .slide-desc-btn {
        margin-top: 10px;
    }
    .slide-btn-item a {
        max-width: 135px;
        height: 60px;
    }
    #content .entry-title, #content .archive-title {
        font-size: 25px;
        line-height: 1;
        
    }

    .aios-custom-ihomefinder-results-template #content .entry-title, #content .archive-title{
        line-break: anywhere;
    }
    
    .fl-desc-hover-inner > div {
        margin: 0 auto;
        text-align: center !important;
        margin-bottom: 8px;
        padding: 0 !important;
    }

    .bpc-btn input {
        font-size: 9px;
    }

    .fl-desc-hover-inner {
        display: block;
        text-align: center;
    }

    .fl-desc-left.fl-desc-col > div, .fl-desc-left.fl-desc-col > div span {
        text-align: center;
    }

    .fl-btn-arrow > div {
        margin: 15px auto;
    }

    .fl-btn-arrow {
        display: block;
    }

    .sg-title span span {
        font-size: 34.16px;
    }

    .slide-desc-title .slide-desc-sub span {
        font-size: 19px;
    }

    .slide-desc-main {
        font-size: 34.16px;
    }

    .fl-add span {
        font-size: 12px;
    }

    .fl-util li {
        font-size: 8px;
    }

    .fc-btn-arrow {
        text-align: center;
    }

    .fc-btn-arrow .fl-arrows {
        position: relative;
        display: inline-block !important;
        margin: 0 9px;
        margin-bottom: 20px;
    }

    .fc-btn-arrow .fl-arrows img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .meet-right-inner {
        max-width: 187px;
    }

    .meet-btn-holder {
        display: block;
    }

    .meet-btn-holder > div {
        margin: 0 auto;
        margin-bottom: 19px;
    }

    /*.testi-arrow {
        display: none;
    }*/

    section.hp-testimonials .fl-arrows {
        width: 48px;
        height: 45px;
    }

    .testi-btn.sg-btn a {
        max-width: 130px;
        height: 50px;
        line-height: 55px !important;
    }

    .testi-arrow {
        top: -145px;
    }

    .testi-para {
        padding: 0;
    }

    .testi-photo {
        left: 50%;
        /*transform: translateX(-50%);*/
        right: auto;
        bottom: -65px;
    }

    section.hp-cta {
        margin-top: 40px;
    }

    .cta-desc-hover {
        font-size: 12px;
        line-height: 17px;
        padding: 0 5px;
    }

    .cta-btn.sg-btn > div {
        height: 48px;
        line-height: 49px;
    }

    .cta-btn.sg-btn {
        margin-top: 8px;
    }

    .news-left-bottom {
        padding: 0 50px;
        margin: 0;
        margin-top: 26px;
    }

    .news-btn.sg-btn a {
        max-width: 287px;
    }

    .news-left-top {
        display: block;
        padding: 0 73px;
    }

    section.hp-news {
        padding: 280px 10px 50px;
    }

    .ft-suam-short {
        width: 100%;
        padding: 0 !important;
    }

    .footer-contact::before {
        display: none;
    }

    .footer-insta-title.sg-title {
        font-size: 23px;
    }

    .fl-desc-mid.fl-desc-col {
        margin-bottom: 16px;
    }

    .meet-title.sg-title span span {
        font-size: 69.47px;
    }

    .meet-title.sg-title i {
        font-size: 40.07px;
    }

    .testi-inner {
        padding: 95px 10px 193px;
        position: relative;
        z-index: 4;
    }

    .testi-hold {
        position: initial;
    }

    .footer-bottom {
        padding: 79px 20px 53px;
    }

    .bpc-title span span {
        font-size: 19px;
        line-height: 23px;
    }

    .bpc-btn-sign {
        font-size: 9px;
    }

    .bpc-form .wpcf7-response-output {
        position: relative;
        bottom: -21px;
    }

    .bpc-form-inner span.wpcf7-not-valid-tip {
        width: 77%;
    }
    
    #listings-details .listings-cta>li>a.button-legacy{
        height: auto !important;
        line-height: 3 !important;
    }
}
