/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
  /* Hero : START */
  .slide-holder .aios-slider,
  .slide-holder .cycloneslider {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .slide-holder>canvas{
    min-height: 100vh;
  }
  .slide-holder #aios-slider-homepage-slideshow .aios-slider-splide .aios-slider-img canvas,
  .slide-holder #aios-slider-homepage-slideshow .aios-slider-splide .aios-slider-custom-video canvas{
    min-height: 100vh;
  }
  /* Hero : END */
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  :root {
    --font-size-title: 60px;
  }
  /* Header : START */
  .site-navi > li {
    margin: 0 12px;
  }
  /* Header : END */
  /* Hero : START */
  .tagline-holder {
    bottom: 50px;
  }
  .tagline-holder h2 {
    font-size: 70px;
  }
  .qsearch-holder {
    bottom: 50px;
  }
  /* Hero : END */
  /* Communities : START */
  .communities-name {
    font-size: 18px;
  }
  /* Communities : END */
  /* Properties : START */
  .properties-text {
    padding: 40px 20px;
  }
  /* Properties : END */
  /* Testimonials : START */
  .testimonials-item {
    padding: 0 30px;
  }
  /* Testimonials : END */
  /* Footer : START */
  .footer-logo img {
    width: 320px;
  }
  /* Footer : END */
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  #main-wrapper {
    padding-top: 52px;
  }
  /* Header : START */
  .header {
    position: relative;
    padding: 20px 0;
  }
  .header-left {
    width: 100%;
  }
  .header-button.mobile-view {
    display: block;
  }
  /* Header : END */
  /* Hero : START */
  .hp-qsearch .qsearch-form {
    padding: 15px;
    max-width: 400px;
    margin: 0 auto;
  }
  .hp-qsearch .qsearch-form .form-input {
    padding: 4px;
    margin-right: 0;
  }
  .hp-qsearch .qsearch-form .form-lg {
    width: 100%;
  }
  .hp-qsearch .qsearch-form .form-sm {
    width: calc( 50% - 8px);
  }
  .hp-qsearch .qsearch-form .form-button,
  .hp-qsearch .qsearch-form a.advanced-button {
    width: calc( 50% - 16px);
    margin: 4px;
  }
  .hero-accent {
    display: none;
  }
  /* Hero : END */
  /* Communities : START */
  .communities-holder {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Communities : END */
  /* Properties : START */
  .properties-holder {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Properties : END */
  /* Welcome : START */
  .welcome-container {
    width: 500px;
  }
  .welcome-image {
    width: 100%;
    padding-right: 30px;
  }
  a.welcome-logo {
    width: 150px;
    height: 150px;
  }
  a.welcome-logo img {
    width: 50%;
  }
  .welcome-text {
    width: 100%;
    padding-right: 0;
  }
  /* Welcome : END */
  /* Testimonials : START */
  .testimonials-holder {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials-item p {
    min-height: auto;
  }
  /* Testimonials : END */
  /* Footer : START */
  .footer-top .heading-title {
    text-align: center;
  }
  .footer-logo {
    width: 100%;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .footer-contact {
    width: 100%;
    margin: 20px 0;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .footer-smis {
    width: 100%;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .footer-brokerage .footer-brokerage-item:last-child {
    margin-top: 20px;
  }
  .footer-brokerage .footer-brokerage-item::before {
    display: none;
  }
  .footer-brokerage .footer-brokerage-logo {
    min-height: auto;
  }
  .footernav li {
    display: block;
    text-align: center;
    margin: 10px 0;
  }
  .footer-accessibility {
    padding-left: 10px;
    padding-right: 10px;
  }
  /* Footer : END */
  /* 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%;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  :root {
    --font-size-title: 35px;
  }
  .global-site-title {
    padding: 10px 20px 8px;
  }
  .global-site-title::before {
    height: calc( 100% - 8px);
  }
  .global-site-title::after {
    height: 34px;
  }
  .global-site-title span {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .global-site-button, a.global-site-button {
    width: 220px;
  }
  .global-site-button div, .global-site-button span, a.global-site-button div, a.global-site-button span {
    height: 40px;
  }
  /* Hero : START */
  .tagline-holder {
    bottom: 20px;
  }
  .tagline-holder .tagline-inner {
    padding-left: 15px;
  }
  .tagline-holder .tagline-inner::after {
    height: 50%;
  }
  .tagline-holder h2 {
    font-size: 20px;
    margin-bottom: 0;
  }
  /* Hero : END */
  /* Communities : START */
  .hp-communities {
    padding: 50px 0;
  }
  .communities-holder {
    margin-top: 20px;
  }
  /* Communities : END */
  /* Properties : START */
  .hp-featured {
    padding: 50px 0;
  }
  .properties-holder {
    margin-top: 20px;
  }
  .properties-text {
    padding: 20px 15px;
    -webkit-transform: translateY(60px);
            transform: translateY(60px);
  }
  .properties-price {
    font-size: 22px;
  }
  .properties-address {
    font-size: 12px;
  }
  /* Properties : END */
  /* Sold : START */
  .hp-sold {
    padding: 50px 0;
  }
  /* Sold : END */
  /* Welcome : START */
  .hp-welcome {
    padding: 50px 0;
  }
  .welcome-text .global-site-title {
    max-width: 250px;
  }
  /* Welcome : END */
  /* Testimonials : START */
  .hp-testimonials {
    padding: 50px 0;
  }
  .testimonials-holder {
    padding-top: 35px;
  }
  .testimonials-item {
    padding: 0 10px;
  }
  /* Testimonials : END */
  /* Contact : START */
  .hp-contact {
    padding: 50px 0;
  }
  .contact-form .form-sm {
    width: 100%;
  }
  .contact-form .form-input input:not([type="submit"]), .contact-form .form-input textarea {
    height: 45px;
  }
  /* Contact : END */
  /* Footer : START */
  .footer {
    padding: 50px 0;
  }
  /* Footer : END */
  .ip-banner .container {
    width: 100%;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  /* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
  #content .entry-title,
  #content .archive-title,
  #content .aios-cu-inner .aios-cu-left .aios-cu-main .aios-cu-title strong {
    font-size: 35px;
  }
  /* Styles for category/archive/search/etc subheadings (h2) */
  #content .archive-subtitle {
    font-size: 30px;
  }
}

 @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: 440px !important;
  }

  #main-wrapper{
        overflow: unset !important;
    }
}
