/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1366px) {
  .ip-container .header-logo img {
    max-width: 200px;
  }
  #nav {
    max-width: 860px;
  }
  .ip-container #nav {
    max-width: 700px;
  }

  #nav>li::after {
    right: -36px;
  }

  .fixed-header .fh-inner {
    max-width: 1170px;
  }

  .hp-banner .slideshow::after {
    width: 304px;
    height: 434px;
  }

  .hp-wc .wc-text {
    margin-right: -10px;
  }
}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .section-title h2 {
    font-size: 55px;
  }

  #nav {
    max-width: 780px;
  }

  .ip-container #nav {
    max-width: 500px;
  }

  #nav>li::after {
    right: -29px;
  }

  #fixed-nav {
    max-width: 575px;
  }

  #fixed-nav>li::after {
    right: -13px;
  }

  .main-header .header-wrapper {
    padding: 40px 15px;
  }

  .fixed-header .fh-inner {
    max-width: 962px;
  }

  .fixed-header .fh-bm-btn {
    margin-left: 20px;
  }

  .bm {
    max-width: 840px;
  }

  .bm .bm-inner {
    padding: 80px 281px 80px 55px;
  }

  .bm .bm-content::after {
    width: 228px;
    height: 294px;
    right: -229px;
    top: 148px;
  }

  .bm .contact-item {
    font-size: 20px;
  }

  .hp-fp .fp-title {
    margin-bottom: 10px;
  }

  .hp-fp .fp-bottom {
    margin-top: -280px;
  }

  .hp-fp .fp-details {
    font-size: 14px;
  }

  .hp-fp .row-2 .fp-box .fp-details,
  .hp-fp .fp-details,
  .hp-fp .row-3 .fp-box .fp-details {
    padding: 30px 15px !important;
  }

  .hp-fp .fp-hover-address {
    width: calc(100% - 130px);
  }

  .hp-fp .fp-btn {
    width: 130px;
  }

  .hp-wc .wc-text {
    padding: 70px 60px 60px;
  }

  .hp-testi .testi-slider-holder {
    padding: 46px 35px;
  }

  .hp-testi .testi-item {
    font-size: 14px;
  }

  .hp-testi .testi-btn {
    margin-top: 40px;
  }

  .hp-wwu .wwu-item h3 {
    font-size: 30px;
  }

  .hp-wwu .wwu-list {
    margin: 0 -15px;
  }

  .main-footer .contact-item {
    font-size: 18px;
  }

  .main-footer .ftr-text p {
    font-size: 14px;
  }

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

  .sb-contact .contact-item {
    font-size: 11px;
    line-height: 23px;
  }

  .sb-cta-wrapper .sb-cta::after {
    width: 27px;
  }
}

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

  .mobile-hidden {
    display: none !important;
  }

  .desktop-hidden {
    display: block !important;
  }

  .ip-container .header-logo {
    position: relative;
    top: auto;
  }

  .main-header {
    position: relative;
    background-color: var(--color-primary);
    text-align: center;
    margin-top: 52px;
    display: none !important;
  }

  .hp-banner .banner-content {
    top: 50%;
  }

  .hp-fp .fp-top {
    padding: 0;
  }

  .hp-fp .fp-bottom {
    margin-top: 35px;
  }

  .hp-fp .fp-title {
    text-align: center;
  }

  .hp-fp .fp-box {
    display: block;
    width: 100% !important;
    max-width: 380px;
    margin: 0 auto;
  }

  .hp-fp .cta-box-inner {
    padding: 20px;
  }

  .hp-fp .row-3 .fp-details {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .hp-fp .fp-img canvas {
    height: 250px;
  }

  .hp-fp .fp-top-inner {
    padding: 0;
  }

  .hp-fp .row-3 .fp-address {
    margin: 0;
  }

  .hp-qs .qs-col-left {
    padding: 0;
    border: none;
  }

  .hp-qs .qs-col {
    display: block;
    width: 100%;
  }

  .hp-qs .qs-row {
    display: block;
    margin: 0;
  }

  .hp-qs .qs-row>div {
    width: 100%;
  }

  .hp-qs .qs-field {
    margin-bottom: 25px;
  }

  .hp-qs .qs-form {
    max-width: 500px;
    margin: 0 auto;
  }

  .hp-wc .wc-photo {
    margin: 0 auto;
    max-width: 350px;
  }

  .hp-wc .wc-title {
    padding: 0;
    text-align: center;
  }

  .hp-wc .wc-text {
    margin: 0;
    text-align: center;
  }

  .hp-wc .wc-btn {
    margin: 50px auto 0;
  }

  .hp-fc .fc-title {
    text-align: center;
  }

  .hp-fc .fc-bottom {
    margin-top: 60px;
  }

  .hp-fc .fc-item {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto !important;
    display: block;
  }

  .hp-fc .fc-col {
    width: 100% !important;
    display: block;
  }

  .hp-fc .fc-row {
    margin: 0;
  }

  .hp-fc .fc-img canvas {
    height: 245px;
  }

  .hp-fc .testi-photo {
    margin: 0 auto;
    max-width: 400px;
  }

  .hp-testi .testi-title {
    padding: 0;
    text-align: center;
    margin-top: 30px;
  }

  .hp-testi .testi-title span {
    left: 0;
    font-size: 17px;
  }

  .hp-testi .testi-photo {
    margin: 0 auto;
    max-width: 400px;
  }

  .hp-testi .testi-text {
    text-align: center;
  }

  .hp-wwu .wwu-item,
  .hp-wwu .wwu-item:first-child,
  .hp-wwu .wwu-item:last-child {
    display: block;
    border: none;
    width: 100%;
    margin: 50px 0;
  }

  .main-footer .ftr-col {
    display: block;
    text-align: center;
  }

  .main-footer .ftr-logo-list>* {
    display: block;
    margin: 15px 0;
  }

  .main-footer .broker-logo {
    margin-top: 0;
  }

  .main-footer .ftr-logos {
    padding: 0;
  }

  .main-footer nav li {
    display: block;
    margin: 10px 0;
  }

  .main-footer .ftr-text p {
    line-height: 24px;
  }

  .homes-for-sale-search-advanced a.ihf-advanced-search-launch {
    max-width: 85%;
    margin: 15px auto !important;
    display: flex;
    min-height: 116px;
  }

  .category-blog #content .archive-thumbnail {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .category-blog #content .archive-content.archive-has-thumbnail {
    width: 100%;
  }

  .category-blog #content .entry {
    display: block;
  }

  .contact-container {
    flex-flow: column-reverse wrap;
  }
  .contact-container .contact-left{
    align-self: flex-start;
  }
  .contact-container .contact-right {
    margin: 0 0 30px;
  }

  .hp-banner {
    margin-top: 52px;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .ip-banner .container {
    width: 100%;
  }

  .hp-banner .banner-logo img {
    max-width: 305px;
  }

  .hp-banner .banner-tagline {
    margin: 11px auto 0;
  }

  .hp-banner .banner-tagline h2 {
    font-size: 18px;
    line-height: 20px;
    padding: 0;
  }

  .hp-banner .banner-tagline h2::before,
  .hp-banner .banner-tagline h2::after {
    display: none;
  }

  .hp-banner .banner-btn {
    margin-top: 25px;
    left:0;
  }

  .hp-banner .slideshow::after {
    width: 144px;
    height: 206px;
  }

  #content .archive-subtitle {
    font-size: 28px;
  } 
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .section-title h2 {
    font-size: 45px;
  }

  .section-title .line-left::after {
    right: calc(100% + 15px);
  }

  .section-title .line-right::after {
    left: calc(100% + 15px);
  }

  .hp-banner .cycloneslider-canvas,
  .hp-banner canvas {
    min-height: 270px;
  }

  .hp-wc .wc-text {
    padding: 60px 15px;
  }

  .hp-testi .testi-slider-holder {
    padding: 46px 15px;
  }

  .hp-testi .testi-arr {
    font-size: 30px;
  }

  .hp-testi .testi-item {
    font-size: 13px;
    line-height: 24px;
  }

  .hp-testi .testi-btn {
    margin-top: 40px;
    width: 180px;
    height: 50px;
  }

  .hp-testi .testi-item {
    padding: 0 15px;
  }

  .testi-prev {
    left: -7px;
  }

  .testi-next {
    right: -7px;
  }

  .hp-wwu {
    padding: 60px 0;
  }

  .hp-wwu .wwu-title h2 {
    font-size: 35px;
  }

  .hp-jon {
    padding: 60px 0;
  }

  .hp-jon .cf-field-row {
    display: block;
  }

  .hp-jon .cf-field-row .cf-field {
    width: 100%;
  }

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

  .pum-theme-198 .pum-container, .pum-theme-lightbox .pum-container {
    width: 100% !important;
    max-width: 90%;
  }

  .popmake-content h2 {
    font-size: 18px;
  }
}

 @media print{
  header.main-header, .fixed-header, #navigation, .entry-title, .yoast-breadcrumbs,footer,
  .side-smi-inner, .ld-info-cta-wrapper, .ld-info-map, .bm-inner, .ld-form-wrapper, .drift-widget-chat-layout,
  .drift-frame-chat, .grecaptcha-badge, .drift-widget-controller, .ip-custom-breadcrumbs, #breadcrumbs, #root,
  .drift-controller-icon--close, .drift-conductor-item {
    display:none !important;
  }

  body {
    background-image: none !important;
    color: #000 !important;
  }
  #content{
    width: 100%!important;
    margin-top: -780px !important;
  }
  .ld-info-title {
    font-size: 40px !important;
    width: 750px !important;
  }
  .ld-info-content {
    color: #000 !important;
    width: 100%!important;

  }
  img.for-print {
    display: block !important;
    margin-bottom: 30px !important; 
  }
  #ip-ld .ld-info-text p {
    font-weight: normal !important;
    font-size: 25px !important;
     width: 750px !important;
  }
  .ld-info-content img {
    padding: 0 !important;
  }
  .ld-info-list {
    text-align: center !important;
  }
  .ld-info-left {
    width: 100% !important;
  }

}
