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

@media only screen and (min-width: 992px) {
    .hp-slideshow #aios-slider-homepage-slideshow .aios-slider-splide .aios-slider-img canvas,
    .hp-slideshow #aios-slider-homepage-slideshow .aios-slider-splide .aios-slider-custom-video canvas {
        height: 800px;
    }

    /* Widget uses Bootstrap row/col inside .container (not direct .section-title + form) */
    #hp-qs .hp-qs .container .row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-left: 0;
        margin-right: 0;
    }

    #hp-qs .hp-qs .container .col-md-4 {
        flex: 0 0 33.333333%;
        width: 33.333333%;
        max-width: 33.333333%;
        padding-left: 0;
        padding-right: 15px;
    }

    #hp-qs .hp-qs .container .col-md-8 {
        flex: 0 0 66.666667%;
        width: 66.666667%;
        max-width: 66.666667%;
        padding-left: 15px;
        padding-right: 0;
    }

    #hp-qs .hp-qs .container .col-md-4 .section-title {
        margin: 0;
        padding: 0;
    }

    #hp-qs .hp-qs .container .row {
        align-items: flex-end;
    }

    #hp-qs .qs-form-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 28px;
        width: 100%;
        max-width: 100%;
    }

    #hp-qs .qs-form-row + .qs-form-row {
        margin-top: 2px;
    }

    #hp-qs .qs-form-col {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }

    #hp-qs .qs-form-row:first-child .qs-form-col:first-child,
    #hp-qs .qs-form-row + .qs-form-row .qs-form-col:first-child {
        flex: 1.25 1 0;
    }

    #hp-qs .qs-form-row:first-child .qs-form-col:last-child,
    #hp-qs .qs-form-row + .qs-form-row .qs-form-col:last-child {
        flex: 1 1 0;
    }
}

@media only screen and (max-width: 1440px) {
    .fp-item.left .fp-hover {
        left: 0;
    }
    .fp-item.right .fp-hover {
        left: -27%;
    }
}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (max-width: 1199px) {
    .header-nav > li {
        padding: 0 10px;
    }
    .qs-form-col {
        width: calc(50% - 15px);
    }
    .qs-form-field.dual input,
    .qs-form-field.dual a {
        padding: 10px 0;
        min-height: 48px;
    }

    
    
    .section-title h2 {
        font-size: 45px;
    }
    
    .section-title h2 span {
        font-size: 25px;
    }
    
    .fp-items {
        margin: 0 -15px;
    }
    .fp-item {
        margin: 0 15px;
    }
    
    .fp-default .fp-price:after {
        width: 30%;
    }
    
    .fc-title {
        font-size: 25px;
    }
    
    .fc-items {
        margin: 0 -15px;
    }
    .fc-item {
        width: calc(33.33% - 30px);
        margin: 0 15px 30px;
    }
    
    .footer-contact-form {
        width: 55%;
        padding: 0 15px;
    }
    
    .footer-contact-form .section-title h2 {
        font-size: 35px;
    }
    
    .footer-contact-info {
        width: 45%;
        padding: 0 15px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {
	body #ihf-main-container .col-xs-6 {
		width: 100%;
	}
    /* 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%;
    }
    #main-wrapper {
        padding-top: 52px;
    }

    .qs-form-field.dual a {
        line-height: 1.95;
    }
    .header-contact-navigation,
    .fixed-header {
        display: none;
    }
    .header {
        position: relative;
    }
    .header-inner {
        justify-content: center;
    }
    .header-logo img {
        filter: invert(1);
    }
    .hp-slideshow-tagline h2 {
        font-size: 35px;
    }
    .hp-slideshow-overlay {
        margin-top: 0;
    }
    .hp-slideshow-contact {
        padding: 40px 20px;
    }
    .hp-slideshow-contact .gsite-input.sm {
        width: 100%;
    }
    .hp-cta {
        position: relative;
        bottom: 0;
        margin-top: 67px;
    }
    .cta-item a {
        padding: 15px 0;
        margin: 15px 0;
        border: 1px solid #ffa500;
        font-size: 15px;
        color: #ffa500;
    }
    .cta-item a:hover {
        color: #fff;
    }
    .hp-fp .section-title{
        margin-bottom: 50px;
    }
    .fp-items {
        margin: 0 -15px;
    }
    .fp-item {
        margin: 0 15px;
    }
    .fp-default .fp-price:after {
        width: 40%;
    }
    .fp-hover {
        width: 100%;
        top: 0;
        left: 0;
    }
    .fc-items {
        margin: 0 -15px;
    }
    .fc-item {
        width: calc(50% - 30px);
        
    }
    .footer-top-inner {
        margin: 0;
    }
    .footer-bottom-inner {
        flex-flow: column;
        justify-content: center;
    }
    .footer-navigation-copyright {
        margin-bottom: 13px;
    }
    .footer-nav {
        justify-content: center;
    }
    .footer-copyright {
        text-align: center;
    }
    .footer-bottom .footer-logo {
        text-align: center;
    }


    .header{
        display: none;
    }

    .mobile-logo-wrapper{
        display: block;
    }

    .hp-slideshow::before,
    .hp-slideshow::after{
        display: none;
    }

    .hp-slideshow div#cycloneslider-hp-slideshow-1:before {
        content: '';
        width: 100%;
        height: 100%;
        background-image: url(/wp-content/themes/miamicondosforrent/images/slideshow-overlay.png);
        background-size: auto;
        background-position: top center;
        background-repeat: repeat-x;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
    }

    .hp-slideshow div#cycloneslider-hp-slideshow-1::after{
        content: '';
        width: 100%;
        height: 100%;
        background: #000;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 91;
        opacity: .3;
    }

    .ip-banner-wrap{
        position: relative;
    }

    .ip-container .mobile-logo-wrapper{
        z-index: 2;
    }

    .hp-cta,
    #hp-qs,
    #hp-fp,
    #hp-fc{
        margin: 0;
        padding: 65px 0;
    }

    .hp-cta{
        padding: calc(65px - 15px) 0;
    }

    .hp-qs .section-title{
        padding: 0 0 50px;
        display: flex;
        justify-content: center;
    }

    .hp-fp .section-title{
        padding: 0 0 65px;
        margin-bottom: 0;
    }

    .hp-fc .section-title{
        padding: 0 0 65px;
        margin-bottom: 0;
    }

    .fc-items > div:last-child, .fc-items > div:nth-last-child(2) {
        margin-bottom: 0;
    }

    .footer-top{
        padding: 65px 0;
    }

    .flex-btn br{
        display: none;
    }


    p#breadcrumbs{
        margin-bottom: 0;
    }

    #content .entry-title, #content .archive-title{
        margin: 65px 0;
        line-height: 1;
    }


}

@media (min-width: 768px) {

    .offset-md-2 {
        margin-left: 16.666667%;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }
    #ihf-main-container .ihf-market-report-header-toggle ul.dropdown-menu.pull-right {
        left: 0;
        right: auto;
        z-index: 999999;
    }

    .hp-slideshow-contact {
        padding: 20px 15px;
    }
    .hp-slideshow-contact-title {
        font-size: 20px;
        max-width: 250px;
        margin: 0 auto 10px;
    }
    .hp-slideshow-contact-form .gsite-input input {
        height: 40px;
    }
    .hp-slideshow-contact-form .gsite-input textarea {
        height: 50px;
    }

    .hp-cta {
        padding: 20px 0;
    }

    #hp-welcome {
        margin-top: 20px;
    }

    a.ip-comm-button {
        font-size: 12px; 
    }
    .hp-fc .section-title h2,
    .hp-fp .section-title h2{
        font-size: 40px;
    }
    /*.footer-top {
        padding: 80px 0;
    }*/
    .footer .footer-top-inner {
        flex-flow: column;
    }
    .footer .footer-contact-form,
    .footer .footer-contact-info {
        width: 100%;
        max-width: 450px;
        margin: 32.5px auto;

        min-height: unset;
        padding: 65px 0;
    }

    .footer .footer-contact-form{
        padding: 65px 15px;
        margin-top: 0;
    }

    .footer .footer-contact-info{
        margin-bottom: 0;
    }
    .footer .footer-contact-form .section-title {
        text-align: center;
    }
    .footer .footer-git-row input[type="submit"]{
        margin: 0 auto;
    }
}

@media only screen and (max-width: 700px) {
    .qs-form-field.dual a{
        font-size: 9px;
        padding: 14px 0;
    }
}

@media only screen and (max-width: 605px) {
    .ihf-eureka .ihf-listings-container{
        margin-top: 0 !important;
    }
    .ihf-eureka .ihf-mapboxgl-canvas{
        width: 100% !important;
    }
    .ihf-grid-result .ihf-grid-result-address-container a span {
        display: block;
    }
}

@media only screen and (max-width: 567px) {
    .qs-form-row {
        flex-wrap: wrap;
    }
    .qs-form-col {
        width: 100%;
    }

    #ihf-market-report-nav-container a.ihf-market-report-nav {
            padding: 10px 5px;
    }

    .qs-form-row + .qs-form-row .qs-form-col:nth-child(2) .qs-form-field.dual {
        display: block;
    }
    .qs-form-field.dual input[type="submit"], .qs-form-field.dual a {
        width: 100%;
        margin-bottom: 10px;
    }
    /*.qs-form-row:last-child .qs-form-field {
        margin-bottom: 25px;
    }*/
    .qs-form-field.dual input{
        margin-top: 10px;
    }
    .qs-form-field.dual input,
    .qs-form-field.dual a {
        min-height: unset;
        /*padding: 20px 0;*/
    }

    .qs-form-field.dual a{
        font-size: 13px;
        padding: 10px 0;
        line-height: 1;
    }
}


/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
    .qs-form-row {
        flex-wrap: wrap;
    }
    .qs-form-col {
        width: 100%;
    }

    #ihf-market-report-nav-container a.ihf-market-report-nav {
            padding: 10px 5px;
    }

    .qs-form-row + .qs-form-row .qs-form-col:nth-child(2) .qs-form-field.dual {
        display: block;
    }
    .qs-form-field.dual input[type="submit"], .qs-form-field.dual a {
        width: 100%;
        margin-bottom: 10px;
    }
    /*.qs-form-row:last-child .qs-form-field {
        margin-bottom: 25px;
    }*/
    /*.qs-form-field.dual input,
    .qs-form-field.dual a {
        min-height: none;
        padding: 20px 0;
    }*/
    .section-title {
        display: flex;
        justify-content: center;
    }
    .section-title h2 {
        font-size: 30px !important;
    }
    .section-title h2 span {
        font-size: 22px;
    }
    .hp-fc .section-title h2,
    .hp-fp .section-title h2 {
        font-size: 22px !important;
    }
    .hp-fc .section-title h2 span,
    .hp-fp .section-title h2 span {
        font-size: 18px;
    }
    .fc-item {
        width: 100%;
    }
    .fc-title {
        font-size: 25px;
    }
    .footer-nav {
        flex-flow: column;
    }
    .footer-nav li {
        padding: 0;
        line-height: 1.5;
    }
    .footer-copyright {
        line-height: 1.5;
    }
    #content .entry-title,
#content .archive-title {
    
    font-size: 30px;
    
    }
 .flex-btn {
        display: block;
    }
     a.ip-comm-button {
        margin: 10px auto;
    }

    #ihf-main-container .ihf-market-report-header-toggle .btn-group.text-right.pull-right-sm .dropdown-menu a {
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #ihf-main-container .ihf-market-report-header-toggle .btn-group.text-right.pull-right-sm .dropdown-menu {
        left: 0px !important;
        right: auto !important;
        width: 200px !important;
    }

    .page-id-139 a.ip-comm-button {
        margin-top: 120px;
    }

    .cs-btn a.ip-comm-button{
        width: 100%;
        max-width: 300px;
        margin: 1px auto;
    }

    .fc-items > div:nth-last-child(2){
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 340px) {
    #ihf-main-container .btn-group > .btn-group {
        float: right!important;
    }
}