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

@media only screen and (min-width: 1366px) {
    .container.cm-container {
        width: 1510px;
        max-width: 100%;
    }
}

@media only screen and (max-width: 1550px) {
    .fp-list {
        margin: 0;
        max-width: 95%;
        margin: 0 auto;
    }
    .gtitle {
        padding-left: 3%;
    }
    .testi-wrap {
        width: 90%;
    }
    .qs-wrap {
        width: 90%;
    }
    .jon-form .jon-submit .jon-submit-col:after {
        width: 260px;
    }
    .fc-item a.fc-btn {
        width: 95%;
    }
}

@media only screen and (max-width: 1366px) {
    .fc-list .slick-list {
        padding: 50px 10%;
    }
    .fp-item .hrv-dtls .address,
    .fp-item .hrv-dtls .price {
        font-size: 24px;
        padding-top: 10px;
        margin-bottom: 5px;
    }
    .fp-item .hrv-dtls .pp-hvr-btn .btn-col {
        padding: 5px 0;
    }
    .fp-item .dflt-dtls {
        font-size: 14px;
    }
    .fc-item a.fc-btn {
        width: 92%;
    }
    a.fc-btn .btn-border:before {
        top: 2%;
        left: -4.5%;
    }
    a.fc-btn .btn-border:after {
        bottom: 4%;
        right: .2%;
        transform: rotate(-165deg);
    }
    .nav > li:first-child ul.sub-menu {
        margin-left: -69px;
    }
    .ip-container #inner-page-wrapper #content {
        padding-left: 50px;
    }
    .fixed-smi {
        right: 50px;
    }
    .jon-form {
        width: calc(100% - 25px);
    }
    header ul.aios-split-nav li.col2-submenu > .sub-menu {
        min-width: 360px;
        margin-left: -180px;
        text-align: left;
    }
    header ul.aios-split-nav li.col2-submenu > .sub-menu > li {
        width: calc(50% - 1px);
        display: inline-block;
        vertical-align: middle;
        margin-right: 1px;
        text-align: center;
    }

    header .nav-wrap ul.nav .menu-item-55 a{
        padding: 0 5px;
    }
}

@media only screen and (max-width: 1280px) {
    header .nav-wrap ul.nav .menu-item-55 a{
        width: auto;
        font-size: 14px;
    }
    header .nav-wrap ul.nav a{
        font-size: 14px;
    }

    header .logo-wrap img{
        width: 160px;
    }

    header .nav-wrap ul.nav{
        align-items: center;
    }
}

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

@media only screen and (max-width: 1199px) {
    header .logo-wrap img{
        width: 130px;
    }
    .gtitle .gtitle-inner > em {
        min-width: 400px;
    }
    .hp-fp .gtitle .tagline .tagline-inner:before {
        width: 170px;
    }
    .fp-list {
        max-width: 98%;
    }
    .fp-item .img-wrap canvas {
        min-height: 200px;
    }
    .fp-item .hrv-dtls .address,
    .fp-item .hrv-dtls .price {
        font-size: 18px;
    }
    .fp-item .dflt-dtls {
        font-size: 12px;
    }
    .hp-fp .gtitle h2 {
        padding-left: 100px;
    }
    .gtitle h2 {
        font-size: 50px;
    }
    .gtitle .sub-title {
        font-size: 18px;
    }
    .gtitle .tagline .tagline-inner {
        font-size: 20px;
        left: 10px;
    }
    a.fc-btn .btn-border:before,
    a.fc-btn .btn-border:after {
        background-size: contain;
    }
    .jon-form .jon-submit .wpcf7-submit {
        width: 180px;
    }
    .jon-submit span[class^="ai-font"] {
        font-size: 28px;
    }
    .qs-wrap .qs-col-lg .dropdown-menu {
        left: auto;
        right: 0;
    }
    header .nav-wrap ul.nav > li {
        padding: 0 10px;
    }
    header .nav-wrap ul.nav a {
        font-size: 14px;
    }
    header .nav-wrap ul.nav .menu-item-55 a {
        font-size: 14px;
        width: 130px;
    }
    .ss-link a {
        font-size: 14px;
    }
    .ss-tagline-inner h2 {
        font-size: 45px;
    }
    .ss-tagline-inner a {
        font-size: 16px;
        width: 160px;
        height: 50px;
    }

    header .nav-wrap ul.nav .menu-item-55 a {
        width: auto;
        height: auto;
        padding: 5px;
    }

    .header-smi ul.smi-links li a,
    header .nav-wrap ul.nav a{
        font-size: 13px;
    }

    header .nav-wrap ul.nav > li,
    .header-smi ul.smi-links li{
        padding: 0 8px;
    }
}


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

@media only screen and (max-width: 991px) {
    /* 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%;
    }
    .gtitle .tagline {
        display: none;
    }
    .testi-list .testi-item {
        border-left: 0 !important;
    }
    .jon-form .wpcf7-response-output {
        font-size: 12px;
        margin: 4px auto;
    }
    .agent-holder .render-all-description {
        text-align: center;
    }
    .intro-animation {
        display: none;
    }
    /* Genearl */
    .fixed-smi {
        display: none;
    }
    .gtitle {
        padding-left: 0;
        text-align: center;
    }
    .gtitle .tagline .tagline-inner:before,
    .gtitle .tagline .tagline-inner:after {
        display: none;
    }
    .gtitle .tagline .tagline-inner {
        position: relative;
        width: initial;
        transform: rotate(0);
        color: #818181;
        text-align: center;
    }
    .gtitle .tagline {
        height: initial;
        background: transparent;
    }
    .gtitle .gtitle-inner {
        text-align: center;
        width: 100%;
    }
    .gtitle .tagline .tagline-inner > div {
        padding: 0;
    }
    .gtitle .tagline .tagline-img {
        position: relative;
    }
    .gtitle .gtitle-inner > em {
        min-width: initial;
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        left: 0;
        padding: 10px 0;
        max-width: 320px;
        margin: 0 auto;
    }
    .gtitle {
        margin-bottom: 25px;
    }
    /* End of General */
    /* HEader */
    header.header,
    header.header.fixed {
        position: relative;
        background: #41b6e6;
        padding: 20px 0;
        text-align: center;
        z-index: 1;
        margin-top: 52px;
    }
    header .nav-wrap ul.aios-split-nav {
        display: none;
    }
    header .logo-wrap {
        width: 100%;
    }
    header .logo-wrap a,
    header.fixed .logo-wrap a {
        max-width: 100%;
    }
    /* End Of HEader */
    /** Quicksearch **/
    .qs-wrap > form {
        display: flex;
        flex-direction: column-reverse;
    }
    .qs-wrap {
        width: 100%;
        padding: 10px;
        max-width: 420px;
        margin: 0 auto;
        display: block;
    }
    .qs-wrap .qs-col-lg {
        width: 100%;
        padding: 0;
        margin-bottom: 5px;
    }
    .qs-wrap .qs-col-sm {
        width: 100%;
        padding: 0;
        margin-bottom: 5px;
    }
    .qs-wrap .qs-btn {
        width: 100%;
        height: 50px;
        padding: 0;
    }
    .qs-wrap .qs-col-btn {
        width: 100%;
    }
    /* End Of Quicksearch */
    /* Featured Properties */
    section.hp-section2 {
        padding: 30px 0;
    }
    .hp-fp .gtitle h2 {
        padding-left: 40px;
    }
    .hp-fp .gtitle .tagline .tagline-inner {
        color: #818181;
        left: 0;
    }
    .hp-fp .gtitle h2 {
        padding: 0;
    }
    .fp-item .hrv-dtls .address,
    .fp-item .hrv-dtls .price {
        font-size: 2.5vw;
        padding-top: 20px;
    }
    .hp-fp {
        margin-bottom: 30px;
    }
    .fp-item .dflt-dtls {
        font-size: 1.8vw;
    }
    /* End of Featured Properties*/
    /* Featured Communities */
    .hp-fc .gtitle h2 {
        padding-left: 0;
    }
    .fc-list .slick-list {
        padding: 30px 0;
    }
    /* End Of Communities */
    /* Teastimonials */
    .hp-testi .gtitle h2 {
        padding-left: 0;
    }
    .testi-wrap {
        width: 100%;
    }
    .testi-list .testi-item {
        border-right: 0;
        padding: 30px;
    }
    .testi-wrap .testi-nav {
        padding: 20px 0;
    }
    .testi-nav .gbtn.blue-btn {
        width: 180px;
    }
    .testi-wrap:before,
    .testi-wrap:after {
        max-width: 50%;
    }
    /** End Of Testimonials **/
    /* Join Our Network */
    .f-jon .gtitle h2 {
        padding-left: 0;
    }
    .jon-form {
        width: 100%;
        padding: 30px;
        overflow: hidden;
    }
    .jon-wrap .jon-col-md,
    .jon-wrap .jon-col-sm {
        display: block;
        width: 100%;
        padding: 0;
    }
    .jon-form:before {
        display: none;
    }
    .jon-form .jon-submit {
        padding: 30px;
        text-align: center;
    }
    /* Enf of JOin Our Network */
    /* Footer */
    footer .logo-wrap:before,
    footer .logo-wrap:after {
        display: none;
    }
    /* End Of Footer */
    /* IP Page */
    .ip-container #inner-page-wrapper #content {
        padding-left: 0;
    }
    .sidebar span.wpcf7-not-valid-tip {
        max-width: 115px;
        left: 10px;
    }
    .single-aios_agent .agent-contacts .agent-active-property a {
        word-break: break-all;
    }
    /* Enf of Ip */
    header .nav-wrap,
    .header-smi {
        display: none;
    }
    header .logo-wrap {
        margin-right: 0;
        display: flex;
        justify-content: center;
    }
    .ss-links {
        display: none;
    }

    .closing-attorneys-content {
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
    }

    .slicker-instagram-placeholder.fts-instagram-wrapper {
        width: 100% !important;
    }
}


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

@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }
    .gtitle .sub-title {
        font-size: 16px;
    }
    .gtitle h2 {
        font-size: 40px;
    }
    /* Genearl */
    /* End of Genearl */
    /* Featured Properties */
    .fp-list button.fp-arrow {
        display: none;
    }
    .fp-list {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    /* End of Featured Properties*/
    /* Teastimonials */
    .testi-nav button.arrow-btn {
        font-size: 14px;
    }
    .testi-list .testi-item {
        padding: 15px;
    }
    .testi-nav .gbtn.blue-btn {
        width: 140px;
    }
    .testi-nav .gbtn.blue-btn span {
        font-size: 14px;
    }
    .testi-nav button.arrow-btn {
        font-size: 14px;
        padding: 0 4px;
    }
    .hp-testi {
        margin: 0 -15px;
    }
    section.hp-section4 {
        overflow: hidden;
    }
    .testi-nav .testi-readmore:before,
    .testi-nav .testi-readmore:after {
        width: 15px;
    }
    /* Enf of Testimonials */
    /* Join Our Network */
    .jon-form {
        padding: 15px;
        text-align: center;
    }
    /* End Of Or networks */
}


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

@media only screen and (max-width: 480px) {
    /* General */
    .gtitle h2 {
        font-size: 30px;
    }
    /* Enf of General */
    #content .entry-title,
    #content .archive-title {
        font-size: 31px;
    }
    /* Slideshow */
    .hp-ss button.arrow-down-btn {
        height: 40px;
        width: 40px;
        font-size: 17px;
    }
    .hp-ss .arrow-down:after {
        height: 25px;
    }
    /* End Of slideshow */
    /* Featured Properties */
    .fp-list button.fp-arrow {
        display: none !important;
    }
    /* End of Featured Properties*/
    /* Featured Communities */
    .fc-list button.fc-arrow {
        display: none !important;
    }
    .fc-nav {
        display: none;
    }
    .fc-item a.fc-btn {
        width: 89%;
    }
    /* End of Featured Communities */
    /* Join Our Network */
    .jon-submit span[class^="ai-font"] {
        display: none;
    }
    /* End Of Or networks */
    .fp-item .dflt-dtls {
        font-size: 3.8vw;
    }
    .fp-item .hrv-dtls .address,
    .fp-item .hrv-dtls .price {
        font-size: 4.5vw;
    }
    .jon-form .wpcf7-response-output {
        font-size: 10px;
        margin: 2px auto;
        line-height: 0.9;
        /* position: relative; */
    }
    .ss-tagline-inner h2 {
        font-size: 24px;
    }
    .ss-tagline-inner a {
        font-size: 14px;
        width: 140px;
        height: 40px;
    }
}

@media print {
    .header-wrapper,
    .header-bg,
    .header-fixed.ease-transition,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    .footer-form-wrapper,
    .footer-wrapper,
    footer.footer-wrap,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default,
    .menu-main-navigation-container,
    .entry.entry-content>a,
    .footer-links,
    p#breadcrumbs,
    .menu-main-menu-container,
    .footer {
        display: none !important;
    }
    #content {
        width: 100% !important;
    }
    div#inner-page-wrapper {
        padding-top: 0px;
    }
}