/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1440px) {
  .hp-wc .wc-title h2 {
    font-size: 66px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1366px) {
  .hp-fl .fl-title {
    margin-left: 0;
  }

  .hp-fl .fl-slider-wrap {
    margin: 0;
    max-width: 1050px;
    margin: 0 auto;
  }

  .hp-wc .wc-photo {
    margin-left: -20px;
  }

  .hp-wc .wc-content {
    margin-right: -15px;
  }

  .hp-wc .wc-content-inner {
    padding: 60px 111px 80px 130px;
  }

  .hp-wc .wc-title h2 {
    font-size: 62px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  #nav>li {
    margin-right: 61px;
  }

  .section-title span {
    font-size: 25px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .hp-fn .fn-label {
    bottom: -14px;
  }

  .hp-fl .fl-slider-wrap {
    max-width: 890px;
  }

  .hp-fl .fl-details-holder {
    width: 35.27%;
  }

  .hp-wc .wc-title h2 {
    font-size: 45px;
    margin-right: 0;
    margin-left: 76px;
  }

  .hp-wc .wc-content-inner {
    padding: 60px 53px 80px 117px;
  }

  .hp-wc .wc-text p {
    font-size: 12px;
    line-height: 21px;
  }

  .sb-contact .sb-contact-list li {
    font-size: 9px;
  }

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

  .sb-qs .qs-field input, .sb-qs .qs-field select {
    font-size: 8px;
    letter-spacing: 0;
    padding: 0 18px;
  }

  .sb-qs .qs-sm {
    width: calc(50% - 2.5px);
  }

  .sb-qs .qs-field {
    margin-bottom: 5px;
  }

  .sb-qs .qs-btn {
    margin-bottom: 5px;
  }
  
  #nav>li {
    margin-right: 40px;
  }

  #content .archive-subtitle {
    font-size: 33px;
    line-height: 1;
  }

  #nav .two-col-menu > .sub-menu {
    left: 80%;
  }

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  #content-sidebar aside, #content-full aside {
    clear: both;
  }
  /* 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-header {
    position: relative;
    z-index: 1;
    margin-top: 52px;
  }

  .main-header .hdr-top {
    text-align: center;
    padding: 30px 0;
  }

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

  .hp-banner .banner-tagline h2 {
    font-size: 39px;
  }

  .hp-qs .qs-lg {
    width: 100%;
  }

  .hp-qs .qs-sm {
    width: calc(50% - 5px);
  }

  .hp-qs .qs-right {
    float: right;
  }

  .hp-qs .qs-field {
    margin: 0 0 10px;
  }

  .hp-qs .qs-btn {
    width: 100%;
    margin-bottom: 10px;
  }

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

  .hp-fn .fn-title-holder {
    display: block;
    width: 100%;
  }

  .hp-fn .fn-title {
    position: relative;
    text-align: center;
  }

  .hp-fn .fn-box {
    width: 50%;
  }

  .hp-fn .fn-list {
    margin: 0 auto;
    max-width: 700px;
  }

  .hp-fn .fn-label h2 {
    font-size: 25px;
  }

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

  .hp-fl .fl-slider-wrap {
    padding: 0 45px;
  }

  .hp-fl .fl-details-holder {
    width: 100%;
    max-width: 340px;
  }

  .hp-fl .fl-address {
    font-size: 15px;
  }

  .hp-fl a:hover .fl-details-inner {
    padding-bottom: 112px;
  }

  .hp-fl a:hover .fl-details-holder {
    padding: 30px 38px 23px;
  }

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

  .hp-wc .wc-title h2 {
    margin-left: 0;
    font-size: 39px;
  }

  .hp-wc .wc-col {
    display: block;
  }

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

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

  .hp-wc .wc-content-inner {
    padding: 60px 30px;
  }

  .main-footer .ftr-contact-list .contact-phone:first-child,
  .main-footer .ftr-contact-list .contact-phone {
    display: block;
    margin: 11px 0;
  }

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

  .main-footer .ftr-nav li::after {
    display: none;
  }

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

  .main-footer .ftr-brokerage {
    text-align: center;
    margin-top: 10px;
  }

  #inner-page-wrapper {
    padding-top: 60px;
  }

  .homepage-qs {
    width: 100%;
    margin: 0 0 10px;
  }

  .sb-contact .sb-contact-list li {
    font-size: 13px;
  }

  #gallery-2 .gallery-item {
    float: none !important;
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }

  .cycloneslider-template-video .cycloneslider-volume {
    top: unset !important;
    bottom: 30px;
  }
}

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

  .hp-banner .banner-tagline h2 {
    font-size: 30px;
    line-height: 1;
  }

  .hp-fn .fn-box {
    width: 100%;
  }

  .hp-fn .fn-list {
    max-width: 450px;
  }

  .hp-fl .fl-title h2 {
    font-size: 19px;
    letter-spacing: 12px;
  }

  .hp-fl .fl-title {
    margin-bottom: 24px;
  }

  .hp-fl .fl-details-holder {
    max-width: unset;
    width: 100%;
    text-align: center;
    bottom: 0;
    right: 0;
    padding: 15px !important;
    position: relative;
  }

  .hp-fl .fl-address {
    margin: 0 auto 16px;
  }

  .hp-fl .fl-details-content {
    position: relative;
    opacity: 1;
  }

  .hp-fl .fl-btn {
    margin: 9px auto 0;
  }

  .hp-fl a:hover .fl-details-inner {
    padding: 0;
  }

  .hp-sp .sp-slider-wrapper {
    margin: 0 auto;
    max-width: 430px;
  }

  .hp-wc .wc-title h2 {
    font-size: 25px;
    margin-top: 0;
  }

  .hp-wc .wc-title span {
    font-size: 18px;
  }

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

  .single-communities a.fancybox.image {
    padding: 0 15px;
    display: block;
  }

  #content .property-description .prop-cta a {
    width: 27.2%;
  }


  .footer-logos .broker-logo img {
    max-width: 200px;
  }
}

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

  .section-title span {
    font-size: 19px;
  }

  .hp-fl .fl-title h2 {
    line-height: 24px;
  }

  .hp-fl .fl-slider-wrap {
    padding: 0 31px;
  }

  .hp-fl .fl-price {
    font-size: 22px;
  }

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

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

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

  .hp-wc .wc-title h2 {
    line-height: 1;
    font-size: 22px;
    margin-top: 12px;
  }

  .hp-wc .wc-title span {
    font-size: 13px;
  }

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

    #ihf-main-container .g-recaptcha {
      transform-origin: left;
      transform: scale(0.78);
    }

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

    #ihf-refine-search + .btn-group button, #ihf-refine-search-button {
      font-size: 12px !important;
    }

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

    .footer-logos .broker-logo img {
      max-width: 150px;
    }
    
}

 @media print{
  header.header-wrapper, #fixed-header, #navigation, .entry-title, .yoast-breadcrumbs,footer,
  .sidebar, .amh-fixed-header-nav, .ip-bg, .header-content.wrapper, .menu-main-nav-container,
  a.header-logo, .header-logo,.amh-header-buttons, .sidebar, .top-logo, #navi, #headerwrapper,
  .transition, a, #breadcrumbs, .header-ip, .ip-image, .fixed-header, .ip-banner, .addtoany_share_save_container,
  .yoast-breadcrumbs, .entry-title, #ihf-leadcapture-btns, #footerwrapper, .footer, .grecaptcha-badge {
    display:none !important;
  }
  #content-sidebar #content{
    width:100% !important;
  }
  #content-sidebar, #content-full {
    margin-top: -440px;
  }
  body {
    background-image: none !important;
  }
  #content{
    width: 100%!important;
    margin-top: 350px !important;
  }
}
