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

@media only screen and (max-width: 1526px) {
    .header-phone {
        font-size: 20px;
    }
    .header-mail {
        font-size: 20px;
    }
    .header-smi a {
        font-size: 25px;
    }
    #navi li {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1399px) {
    .footer-contact.footer-column span {
        line-height: 26px;
    }
    .footer-contact.footer-column {
        text-align: center;
    }
    .welcome-text-holder p {
        line-height: 22px;
        text-align: justify;
    }
    #navi>li>a {
        padding: 11px 0 11px;
    }
    #navi .sub-menu a {
        color: #FFFFFF;
        display: block;
    }
    .header-phone {
        padding-right: 5px;
    }
    .header-phone .phone-icon::before {
        -webkit-transform: scale(.65);
        -moz-transform: scale(.65);
        -ms-transform: scale(.65);
        transform: scale(.65);
    }
    .header-mail .mail-icon::before {
        -webkit-transform: scale(.65);
        -moz-transform: scale(.65);
        -ms-transform: scale(.65);
        transform: scale(.65);
    }
    .header-phone {
        font-size: 16px;
    }
    .header-mail {
        font-size: 16px;
    }
    .header-smi a {
        font-size: 21px;
    }
    #navi li {
        font-size: 14px;
    }
/*    #navi .sub-menu {
        width: 150px;
        margin-left: -75px;
    }*/

    #navi li{
        
    padding: 0 12px;
    }

    .slideshow-wrapper .cycloneslider-template-responsive-img .cycloneslider-caption {
        bottom: 75px;
    }
    .slick-prev {
        left: 3%;
    }
    .slick-next {
        right: 3%;
    }
    .footer-nav .footer-link {
        font-size: 15px;
    }
    .footer-smi-title {
        font-size: 15px;
    }
    .footer-office span {
        font-size: 15px;
    }
    .footer-contact span {
        font-size: 15px;
    }
    .page-id-4 .ip-bg {
        background-position: -50px;
    }
    .page-id-145 .ip-bg {
        background-position: -100px;
    }
    .page-id-147 .ip-bg {
        background-position: -100px;
    }
    .page-id-195 .ip-bg {
        background-position: -100px;
    }
    .page-id-149 .ip-bg {
        background-position: -130px;
    }
    .page-id-151 .ip-bg {
        background-position: -100px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1299px) {
    .back-top-button {
        bottom: 65px;
    }
}

@media only screen and (max-width: 1299px) {
    .welcome-text-holder p {
        line-height: 22px;
        text-align: justify;
    }
    .slick-prev {
        left: 1%;
    }
    .slick-next {
        right: 1%;
    }
    .page-id-4 .ip-bg {
        background-position: -100px;
    }
    .page-id-11 .ip-bg {
        background-position: -70px;
    }
    .page-id-145 .ip-bg {
        background-position: -150px;
    }
    .page-id-195 .ip-bg {
        background-position: -150px;
    }
    .page-id-147 .ip-bg {
        background-position: -150px;
    }
    .page-id-149 .ip-bg {
        background-position: -180px;
    }
    .page-id-151 .ip-bg {
        background-position: -150px;
    }
}


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

@media only screen and (max-width: 1199px) {

    .header-phone{
        
    padding: 0 8px;
    }
    .header-logo img {
        max-width: 365px;
    }
    .header-translator select {
        font-size: 0;
    }
    .header-top>div {
        vertical-align: middle;
        font-size: 13px;
    }
    #navi .sub-menu .sub-menu {
        left: -320px;
    }
    .header-mail,
    .header-smi,
    .header-translate {
        padding: 0 8px;
    }
    .header-phone .phone-icon::before {
        -webkit-transform: scale(.5);
        -moz-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }
    .header-mail .mail-icon::before {
        -webkit-transform: scale(.5);
        -moz-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }
    #navi>li>a {
        padding: 3px 0 6px;
    }
    .header-phone {
        font-size: 12px;
    }
    .header-mail {
        font-size: 12px;
    }
    .header-smi a {
        font-size: 17px;
        padding: 0 5px;
    }
    #navi li {
        font-size: 14px;
        padding: 0 8px;
    }
    .tagline-text span {
        font-size: 40px;
    }
    .welcome-wrapper {
        background: url(images/welcome-bg-temp.jpg) #b29f8c top left 40% no-repeat;
    }
    .welcome-text-holder h1 {
        font-size: 50px;
    }
    .footer-nav .footer-link {
        font-size: 13px;
    }
    .footer-smi-title {
        font-size: 13px;
    }
    .footer-aff-icon {
        margin: 0px 20px 10px 0px;
        padding: 0 3px;
    }
    .footer-office span {
        font-size: 13px;
    }
    .footer-contact span {
        font-size: 13px;
    }
    .ip-bg/*.ip-img*/
    {
        background: url(images/welcome-bg-temp.jpg) #b29f8c bottom left no-repeat;
    }
    .page-id-195 .ip-bg {
        background-position: -150px;
    }
    .page-id-147 .ip-bg {
        background-position: -150px;
    }
    .page-id-149 .ip-bg {
        background-position: -150px;
    }
    .page-id-151 .ip-bg {
        background-position: -150px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1100px) {
    .back-top-button {
        bottom: 65px;
    }
}


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

@media only screen and (max-width: 991px) {
    #ihf-main-container #ihf-map-canvas {
        height: 400px !important;
        max-width: 90%;
        margin: 10px auto;
    }
    body #content-sidebar,
    body #content-full {
        padding-left: 0;
    }
    /* The following are used on inner pages. Please edit carefully. */
    .header-wrapper {
        z-index: 0;
    }
    .testi-wrapper .slick-arrows {
        display: none !important;
    }
    .ip-bg {
        display: none;
    }
    .ip-bg::before,
    .ip-bg::after {
        display: none;
    }
    body.ip-container {
        background: #b29f8c !important;
    }
    .inner {
        width: 100%;
    }
    #content-sidebar,
    #content-full {
        width: 100%;
    }
    .outer {
        width: 100%;
        min-width: 100%;
    }
    #content-sidebar #content {
        width: 100%;
    }
    .mobile-hide {
        display: none;
    }
    .header-wrapper {
        position: relative;
        text-align: center;
        padding: 0;
        padding-top: 52px;
    }
    .header-logo {
        padding: 20px 0;
        margin-bottom: 0;
    }
    .caption-text-holder {
        height: 110px;
    }
    .caption-text-holder span {
        font-size: 30px !important;
        line-height: 35px;
    }
    .tagline-text span {
        font-size: 35px;
        padding: 2px 0 10px;
    }
    .welcome-wrapper {
        background: #b29f8c;
        padding-bottom: 30px;
    }
    .footer-column {
        width: 50%;
        padding-bottom: 50px;
    }
    .footer-logo {
        width: 100%;
        padding-bottom: 0;
    }
    .footer-nav span::before {
        left: 48%;
    }
    .amh-navigation .amh-menu li:hover>a,
    .amh-navigation .amh-menu li.open>a {
        background: #2d180a;
    }
    .amh-navigation .amh-menu li ul {
        background: #b29f8c;
    }
    .amh-navigation .amh-menu li ul a {
        color: #ffffff;
    }
    /*.ip-bg {
	    height: 300px;
	}*/
    #inner-page-wrapper {
        padding-top: 15px;
    }
    .mls-logo {
        margin: 0;
    }
    .copyright {
        text-align: center;
        max-width: 620px;
        margin: 0 auto;
        display: block;
    }
    .copyright-wrapper {
        text-align: center;
    }
    .mls-logo {
        float: none;
    }
    .agent-holder #tabs {
        margin-top: 20px;
    }
}

@media only screen and (max-height: 800px) {}


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

@media only screen and (max-width: 767px) {
    .agent-holder .agent-contact-detail.agent-contact-email {
        font-size: 16px;
        padding: 0;
    }
    #ihf-main-search-form .row.mt-25>div {
        display: block;
        float: none;
    }
    #content .agent-holder .ihf-agent-info {
        display: block;
        width: 100%;
        float: none;
        text-align: center;
    }
    #content .agent-description {
        width: 100%;
    }
    .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
        font-size: 16px;
    }
    #ihf-main-container .btn-primary[type="submit"] {
        margin-top: 10px;
    }
    #tabs #ihf-main-container .ihf-grid-result {
        width: 100% !important;
    }
    .slideshow-wrapper .cycloneslider-template-responsive-img .cycloneslider-caption {
        bottom: 10px;
    }
    .caption-text-holder {
        height: 50px;
    }
    .caption-text-holder span {
        font-size: 15px !important;
        line-height: 20px;
    }
    .tagline-text span {
        font-size: 22px;
        padding: 5px 0 10px;
    }
    .welcome-text-holder span {
        font-size: 15px;
    }
    .welcome-text-holder h1 {
        font-size: 45px;
    }
    .welcome-text-holder {
        padding: 30px 0 0;
    }
    .city-title h2 {
        font-size: 30px;
        line-height: 30px;
        font-weight: 700;
    }
    .property-title h2 {
        font-size: 30px;
        line-height: 30px;
        font-weight: 700;
    }
    .testi-title h2 {
        font-size: 30px;
        line-height: 30px;
        font-weight: 700;
    }
    .footer-column {
        width: 100%;
        padding-bottom: 25px;
    }
    .footer-logo {
        padding-bottom: 0;
    }
    .footer-disclaimer p {
        font-size: 10px;
    }
    .copyright {
        text-align: center;
        padding-bottom: 20px;
    }
    .mls-logo {
        float: none;
        width: 100%;
        text-align: center;
    }
    /*.ip-bg {
	    height: 150px;
	}*/
    #inner-page-wrapper {
        padding-top: 0;
    }
}

@media only screen and (max-width: 480px) {
    .ui-tabs .ui-tabs-nav li {
        width: 70%;
    }
    #areaPickerClearAll {
        margin-left: 0;
        margin-right: 0;
    }
    #areaPickerExpandAllCloseButton {
        margin-right: 10px;
    }
    .single-aios_agent .ui-widget-content {
        padding: 0;
    }
    .ihf-listing-detail #ihf-agent-sellers-rep {
        width: 100%;
        overflow: scroll;
    }
    .aiosp-content.aios-popup-body #email-alerts #ihf-main-search-form button#ihf-search-profile-submit {
        font-size: 12px;
    }
}

@media print {
    .header-wrapper,
    .entry-title,
    .yoast-breadcrumbs,
    footer,
    .sidebar,
    .amh-fixed-header-nav,
    .ip-bg {
        display: none;
    }
    #content-sidebar #content {
        width: 100% !important;
    }
    #content-sidebar,
    #content-full {
        padding-left: 0px !important;
        margin-top: -228px !important;
    }
}