/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1366px) {
    .ui-dialog[aria-labelledby="ui-dialog-title-IDX-registration"] {
        margin: auto 579px;
        left: 0 !important;
        right: 0 !important;
    }

    .about-text {
        padding: 3rem 30px 20px 4rem;
    }

    .about-text-cont p {
        font-size: 14px;
        margin: 20px 0;
        line-height: 25px;
    }

    .aiosp-content {
        margin: 50px auto;
    }

    .fp-list .fp-details {
        padding: 0 25px;
    }

    .fp-list .fp-hover .fp-details-h .view {
        margin-right: 25px;
    }

    .fp-list .fp-hover .fp-details-h .view span.v-details {
        width: 160px;
        font-size: 12px;
        letter-spacing: .1em;
    }

}

@media only screen and (max-width:1280px) {
    body #nav li {
        margin: 0 0 0 30px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .transformpopup .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.IDX-registrationModal.IDX-registration-requestRecurring {
        left: 20% !important;
    }

    .su-cont-r {
        padding: 70px 25px;
    }

    .su-cont-l {
        padding: 0 20px;
    }

    .ui-dialog[aria-labelledby="ui-dialog-title-IDX-registration"] {
        margin: auto 142px;
        left: 0 !important;
        right: 0 !important;
    }

    .fc-text {
        padding: 30px 90px;
    }

    .about-text {
        padding: 3rem 30px 20px 4rem;
    }

    #nav li {
        margin: 0 0 0 20px;
    }

    .about-text-cont h1 {
        font-size: 60px;
    }

    .about-text-cont h1 > span {
        font-size: 27px;
        letter-spacing: 0.5em;
    }

    .fp-list .fp-details {
        padding: 0 10px;
    }

    .fp-list .fp-details:before {
        left: 20px;
    }

    .ftr-cont-text span {
        font-size: 14px;
    }

    .footernav li a {
        font-size: 11px;
    }

    .page-template-template-meet-our-agents .ip-banner {
        background-position: left center !important;
    }

    .page-template-template-meet-our-agents .ip-banner canvas {
        min-height: 250px !important;
    }

    .qs-cont select {
        font-size: 11px !important;
    }

    .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 11px !important;
    }

    .fp-list .fp-hover .fp-details-h .view span.v-details {
        width: 145px;
        font-size: 12px;
    }

    .fp-list .fp-hover .fp-details-h .view {
        margin-right: 10px;
    }

    .fp-list .fp-details span.fp-price {
        font-size: 24px;
    }

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

    .fp-list .fp-hover .fp-details-h .view span.v-details > em {
        right: 10px;
    }

    .fp-list .fp-details span {
        padding-left: 20px;
    }

    .transformmobile img.leftimg {
        max-width: 407px;
    }

    .ip-det-ament-title {
        font-size: 28px !important;
    }

    .reg_dash input.wpcf7-form-control.wpcf7-submit {
        right: 2%;
    }
}

@media only screen and (max-width: 1198px) {
    .ui-dialog[aria-labelledby="ui-dialog-title-IDX-registration"] {
        margin: 0 auto;
        left: 0 !important;
        right: 0 !important;
    }
}

@media only screen and (max-width:1024px) {
    body #nav li {
        margin: 0 0 0 10px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .hdr-logo img {
        margin: 0 auto;
    }

    .aiosp-ref-popup .aios-popup-body {
        padding: 60px 30px !important;
    }

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

    .ui-dialog[aria-labelledby="ui-dialog-title-IDX-registration"] {
        margin: 0 auto;
        left: 0 !important;
        right: 0 !important;
    }

    .transformmobile .ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
        top: 0 !important;
    }

    .transformmobile .popupleftbar {
        padding: 50px 0;
    }

    .transformmobile img.leftimg {
        width: 80%;
        max-width: 407px;
    }

    .ui-dialog .ui-dialog-content {
        padding: 3.5em 1em !important;
    }

    .IDX-signupLoginToggleWrap p {
        padding-right: 0;
        margin: 20px auto;
        padding: 0;
    }

    #IDX-lp-group, #IDX-hp-group {
        width: 130px !important;
    }

    #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas, #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-custom-video canvas {
        min-height: auto !important;
    }

    #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-custom-video video {
        transform: scale(1) !important;
    }


}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .signup-idx-body {
        flex-direction: column;
    }

    .su-cont {
        width: calc(100% / 12 * 12);
    }

    a.idxlogin {
        margin-top: 20px;
    }

    .su-cont-r {
        padding: 40px 50px;
    }

    .su-cont-r .aiosp-close {
        left: auto;
        top: 0;
    }

    .idxsubmit {
        margin-top: 40px;
    }

    .su-cont-l img {
        display: block;
        margin: 0px auto;
        padding: 40px;
    }

    .floating-button-freehome {
        position: fixed;
        z-index: 3;
        top: 35%;
        left: 0;
    }

    .floating-button-freehome img {
        max-width: 150px;
    }

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

    .header-main,
    .header-main.short {
        position: relative;
        padding: 80px 0 30px;
        background: #fff;
        height: auto;
        text-align: center;
        display: block;
        z-index: 100 !important;
    }

    .hdr-logo {
        width: 100%;
        margin: 0 auto;
    }

    .hdr-cont-text, .hdr-cont-wrapp, .navigation {
        display: none;
    }

    .slideshow-canvas canvas,
    .slideshow-canvas .slideshow-button {
        display: none;
    }

    .hpslideshow button.banner-scroll-d,
    .hpslideshow .mute-btn-wrap {
        bottom: 10px;
    }

    .slideshow-fixed {
        position: relative;
    }

    .about-text {
        width: 100%;
        padding: 50px 30px;
        margin: 0 auto;
    }

    .team-img-wrapp {
        width: 100%;
    }

    .fc-list:nth-child(even) {
        flex-direction: unset;
    }

    .fc-text, .fc-image {
        width: 100%;
    }

    .fc-image .img-overlay .img-top-overlay {}

    .fc-image .img-overlay .img-top-overlay-r {
        right: 0;
    }

    .ae-area-wrapper {
        height: 100%;
    }

    .copyright, .ftr-logos {
        text-align: center;
        margin: 30px auto;
    }

    .ftr-cont-text {
        position: relative;
        text-align: center;
    }

    .footernav {
        display: block;
        font-size: 0;
        text-align: center;
        margin: 30px auto;
    }

    .fc-text {
        background: #fff;
    }

    .ftr-cont-text span {
        font-size: 14px;
    }

    .qs-wrapper {
        position: relative;
        padding: 30px 0;
    }

    .qs-field-wrapp {
        display: block;
    }

    .qs-cont .field {
        width: 100%;
        display: block;
        padding: 20px 0;
    }

    .qs-cont .qs-sub {
        max-width: 250px;
        width: 100%;
        background-position: 78%;
        margin: 0 auto;
        display: block;
        font-size: 16px;
        letter-spacing: 0.25em;
        float: none;
    }

    .fp-list-wrapp > a {
        width: calc(100% / 2);
    }

    .home a:nth-child(4) .fp-hover,
    .home a:nth-child(1) .fp-hover {
        transform-origin: center center;
    }

    .home a:nth-child(3) .fp-hover,
    .home a:nth-child(6) .fp-hover {
        transform-origin: center center;
    }

    .home a:nth-child(odd) .fp-hover {
        transform-origin: left center;
    }

    .home a:nth-child(even) .fp-hover {
        transform-origin: right center;
    }

    .home .fc-list-wrapp .fc-content p {
        display: none;
    }

    .comm-list:before {
        display: none;
    }

    .qs-cont .field-w, .qs-cont .field-s {
        padding: 2px !important;
    }

    .blog-list-wrapp {
        display: inline-block;
        width: 100%;
    }

    .blog-list {
        position: relative;
        padding: 0 15px;
        width: 100%;
        max-width: 360px;
        margin: 30px auto;
    }

    .blog-cont {
        flex-direction: row;
    }

    .blog-title .title-widget {
        padding-top: 0;
    }

    .blog-title {
        width: 100%;
        text-align: center;
    }

    .select2-drop {
        z-index: 100 !important;
    }

    #capture-form {
        height: 100%;
    }

    #capture-form .app-cont {
        display: block;
    }

    #capture-form .app-cont .cont-left > h2 {
        font-size: 41px;
    }

    #capture-form .app-cont .cont-left, #capture-form .app-cont .cont-right {
        width: 100%;
    }

    #capture-form .app-cont .cont-left > p {
        width: 100%;
    }

    #capture-form .app-cont .cont-right {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        position: relative;
        top: 0;
        text-align: center;
    }

    .fc-text {
        padding: 30px 15px !important;
    }

    .fc-content {
        padding: 0 !important;
    }

    .fc-title {
        text-align: center;
        font-size: 45px !important;
        padding: 0;
        margin: 0 auto;
    }

    a.r-more-d {
        display: block;
        width: 195px;
        max-width: 100%;
        line-height: 64px;
        text-transform: uppercase;
        font-size: 14px;
        color: #16bcb2;
        border: 1px solid #16bcb2;
        letter-spacing: 0.2em;
        position: relative;
        text-align: center;
        margin-top: 30px;
        transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        -webkit-transition: all .25s ease-in-out;
        margin: 30px auto;
    }

    .fc-text:before {
        display: none;
    }

    /*  IDX Registration form */
    .transformmobile div#IDX-registrationContent {
        padding: 40px 50px 0;
    }

    .transformmobile #IDX-toggleLogIn,
    .transformmobile div#IDX-registrationSignup p {
        float: none;
    }

    .transformmobile div#IDX-registrationSignup p {
        margin: 0 auto;
    }

    .transformmobile .IDX-signupLoginToggleWrap {
        width: 100%;
    }

    .m-top-wrapper {
        align-items: flex-start;
    }

    .page-id-2384 span.wpcf7-list-item {
        display: block;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .fp-list-wrapp > a {
        width: 100%;
        max-width: 600px;
    }

    .home a:nth-child(odd) .fp-hover {
        transform-origin: center center;
    }

    .home a:nth-child(even) .fp-hover {
        transform-origin: center center;
    }

    .aidefcf-wrapper div.wpcf7-response-output {
        width: 100%;
    }

    .col-h {
        padding: 0px !important;
        width: calc(100% / 12 * 12);
    }

    .ip-banner .container {
        width: 100%;
    }

    /*.fp-list {
        width:50%;
    }*/
    .blog-title {
        width: 100%;
        text-align: center;
    }

    .fp-bttn {
        display: block;
    }

    .fp-list .fp-hover .fp-details-h .view {
        margin-right: 30px;
    }

    #content .entry-title,
    #content .archive-title {
        font-size: 40px;
    }

    .fc-title {
        font-size: 30px !important;
        margin: 0px auto;
    }

    .fcol {
        width: 100%;
    }

    .reg_dash input.wpcf7-form-control.wpcf7-submit {
        position: relative;
        right: 114px;
        bottom: 0;
        background: #282C54;
        color: #fff;
        text-transform: uppercase;
        border: none;
        padding: 9px 29px;
        margin: 20px 0;
        margin: 2;
        right: 0;
    }

    .flabel {
        display: inline-block;
        vertical-align: top;
        width: 100%;
    }

    .ffield {
        width: 100%;
    }

    .ffield input, .ifyes input {
        border: none;
        border-bottom: 1px solid;
        width: 100%;
    }

    .hpslideshow button.banner-scroll-d {
        right: 10px;
    }

    .hpslideshow .banner-scroll-d span.arrow-label {
        font-size: 15px;
    }

    .hpslideshow .banner-scroll-d span[class^="ai-font"] {
        font-size: 25px;
        left: 10px;
    }

    .hpslideshow .mute-btn-wrap {
        right: 65px;
    }

    .hpslideshow .mute-btn-wrap button.mute-btn {
        height: 40px;
        width: 40px;
        font-size: 15px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 749px) {
    #IDX-lp-group, #IDX-hp-group {
        width: 50% !important;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 567px) {
    body .wb-photos img {
        width: 100%;
    }

    body .wb-photos {
        display: block;
    }

    body .wb-photos img:nth-child(2) {
        padding: 0;
    }

    .m-top-wrapper {
        display: block;
    }

    #content .entry-title, #content .archive-title {
        line-height: 1;
        font-size: 40px;
    }

    .ip-det-map-img canvas {
        height: 300px !important;
    }

    .ig-list {
        display: block;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-left: -3px;
        margin-right: -3px;
        text-align: center;
    }

    .page-id-2384 table.rmbac-table {
        width: 80%;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .transformmobile .IDX-signupLoginToggleWrap {
        width: 54%;
        text-align: center;
        margin: 0 auto;
    }

    .transformmobile .ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
        top: 117px;
    }

    .transformmobile div#IDX-registrationContent {
        padding: 40px 10px 0;
    }

    .su-cont-r {
        padding: 40px 20px;
    }

    .fp-list {
        width: 100%;
    }

    .about-text-cont h1 {
        font-size: 41px;
    }

    .about-text-cont h1 > span {
        font-size: 16px;
    }

    .fp-bttn {
        display: inline-block;
    }

    .fc-content, .fc-title {
        padding-left: 0;
    }

    .title-widget {
        font-size: 40px;
    }

    .contact-add-item a {
        font-size: 13px !important;
    }

    .fp-list .fp-details span.fp-price {
        font-size: 20px;
    }

    .fp-list .fp-details span.fp-address {
        font-size: 11px;
    }

    .fp-list .fp-hover .fp-details-h .view span.v-details {
        width: 115px;
        font-size: 10px;
        letter-spacing: .05em;
    }

    .fp-list .fp-hover .fp-details-h .view span.v-details > em {
        right: 5px;
        top: 31px;
    }

    .fp-list .fp-details span {
        padding-left: 30px;
    }

    .fp-list:hover .fp-hover {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }

    .page-id-2384 table.rmbac-table {
        width: 100%;
    }
}