/*******************************************************
 *
 * 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) {
  header.header {
    padding: 31px 1%;
  }

  header.header.fh-show {
    padding: 27.5px 1%;
  }

  .fixed-social-info {
    right: 30px;
  }

  .hp-latest-wrap .ln-lists a h3 {
    padding: 35px 69px 0px;
  }

  .hp-latest-wrap .ln-lists a {
    min-height: 561px;
  }

  .hp-latest-wrap .ln-lists a p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1199px) {
  header.header {
    padding: 30px 2%;
  }

  header.header .hd-wrap .logo a i {
    font-size: 39px;
  }

  header.header .hd-wrap .logo a h3 {
    font-size: 17px;
  }

  header.header .hd-wrap .logo a .logo-divider {
    height: 28px;
    margin: 0 14px;
  }

  header.header .navigation .menu li {
    padding: 0 7px;
  }

  header.header .navigation .menu li a {
    font-size: 12px;
  }

  .cycloneslider-template-video .cycloneslider-caption-description {
    font-size: 50px;
  }

  .hp-quick-search .hp-qc-wrap {
    padding: 23px 15px;
  }

  .fixed-social-info {
    right: 20px;
    display: none;
  }

  .hp-latest-wrap .ln-lists a h3 {
    font-size: 16px;
    padding: 35px 40px 0px;
  }

  .hp-latest-wrap .ln-lists a p {
    font-size: 13px;
    padding: 20px 39px;
  }

  .hp-featured-properties .hp-fp-list a .hp-fp-content {
    padding: 23px 61px;
  }

  .hp-featured-properties .hp-fp-list a .fp-view-bttn {
    right: 20px;
    bottom: 23px;
  }

  .hp-featured-properties .hp-fp-list a .hp-fp-content p {
    font-size: 17px;
  }

  .hp-featured-properties .slick-list {
    padding: 0 90px !important;
  }

  .hp-featured-properties .slick-arrow.slick-next {
    right: 125px;
  }

  .hp-featured-properties .slick-arrow.slick-prev {
    left: 125px;
  }

  .hp-quick-search .hp-qc-wrap h2 {
    font-size: 14px;
  }

  .hp-quick-search .hp-qc-wrap .qcforms {
    margin: 0 1%;
  }

  .hp-quick-search .hp-qc-wrap .qc-bttn {
    width: 23.3%;
  }

  .hp-welcome-area .hp-welcome-wrap .hp-welcome-content p {
    padding: 25px 0;
  }

  .footer .footernav li {
    padding: 0px 15px;
  }

  .footer .footer-copyright span {
    line-height: 1.6;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

  .welcome-right img {
    max-width: 100%;
  }

  header.header .hd-wrap .logo img {
    margin: 0 auto;
  }

  .container-spacer {
    padding: 15px;
  }

  .amh-header-buttons {
    background: var(--primary) !important;
  }

  .amh-header-buttons .amh-navigation-trigger,
  .amh-header-buttons .amh-center,
  .amh-header-buttons .amh-header-right-btn {
    color: var(--secondary);
  }

  .amh-navigation .amh-menu li a {
    color: var(--primary-text-color) !important;
  }

  .amh-navigation .amh-menu li:hover>a,
  .amh-navigation .amh-menu li.open>a {
    background: var(--primary-color-accent) !important;
  }

  .amh-header-buttons.amh-1a .amh-center .amh-phone-text,
  .amh-header-buttons.amh-1a .amh-center .amh-phone-text a {
    color: var(--secondary) !important;
  }

  .amh-navigation .amh-menu li ul li a {
    color: var(--secondary) !important;
  }

  .amh-navigation .amh-menu li:hover>a,
  .amh-navigation .amh-menu li.open>a {
    color: var(--secondary) !important;
  }

  .amh-navigation {
    background: var(--background-color) !important;
  }

  header.header {
    position: relative !important;
    background: var(--primary);
    margin-top: 52px;
    z-index: 2;
  }

  header.header .hd-wrap {
    display: block;
    text-align: center;
  }

  header.header .navigation {
    display: none;
  }

  header.header .hd-wrap .logo a {
    display: block;
  }

  header.header .hd-wrap .logo a i {
    display: none;
  }

  header.header .hd-wrap .logo a .logo-divider {
    display: none;
  }

  header.header .hd-wrap .logo a h3 {
    font-size: 24px;
  }

  .slideshow #aios-slider-homepage-slidershow .aios-slider-splide .aios-slider-tagline {
    padding: 0 7.375vw 0;
  }

  .slideshow .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title,
  .hero .cycloneslider-template-video .cycloneslider-caption-title {
    font-size: 28px;
  }

  .slideshow .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-description,
  .hero .cycloneslider-template-video .cycloneslider-caption-description {
    /* font-size: 46px; */
    font-size: 22px;
  }

  .hp-quick-search .container {
    width: 100%;
  }

  .hp-quick-search .hp-qc-wrap {
    display: block;
    padding: 32px 15px;
  }

  .hp-quick-search .hp-qc-wrap h2 {
    font-size: 18px;
    text-align: center;
    width: 100%;
  }

  .hp-quick-search .hp-qc-wrap .qcforms {
    width: 100%;
    flex-flow: row wrap;
    margin-top: 25px;
  }

  .hp-quick-search .hp-qc-wrap .qcforms .qc-form,
  .hp-quick-search .hp-qc-wrap .qcforms .qc-form.qc-form-long {
    width: 49%;
    margin: 1px;
  }

  .hp-quick-search .hp-qc-wrap .qcforms .qc-form select {
    border: transparent;
    background: url(images/dd-bg.png) no-repeat center right #f3f3f3;
    color: #3b3c3e;
    height: 36px;
  }

  .hp-quick-search .hp-qc-wrap .qc-bttn {
    width: 100%;
    margin-top: 20px;
  }

  .hp-welcome-area .hp-welcome-wrap {
    display: block;
  }

  .hp-welcome-area .hp-welcome-wrap .hp-welcome-photo {
    width: 100%;
  }

  .hp-welcome-area .hp-welcome-wrap .hp-welcome-content {
    width: 100%;
    padding: 40px;
  }

  .hp-featured-properties .slick-list {
    padding: 0 !important;
  }

  .hp-featured-properties::after {
    width: 100%;
  }

  .hp-featured-properties .hp-fp-list {
    padding: 0;
  }

  .hp-featured-properties .hp-fp-list a {
    border: none;
  }

  .hp-featured-properties .fp-button {
    display: none;
  }

  .hp-featured-properties .hp-fp-lists .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .hp-featured-properties .hp-fp-lists .slick-dots li {
    margin: 0 5px;
  }

  .hp-featured-properties .hp-fp-lists .slick-dots li button {
    width: 10px;
    height: 12px;
    font-size: 0;
    border: none;
    background: #9a9a9a;
    border-radius: 50%;
  }

  .hp-featured-properties .hp-fp-lists .slick-dots li.slick-active button {
    width: 15px;
    height: 15px;
  }

  .hp-featured-properties .slick-arrow.slick-prev {
    left: 0;
  }

  .hp-featured-properties .slick-arrow.slick-next {
    right: 0;
  }

  .hp-testimonials-wrap .slick-list {
    width: 100%;
  }

  .hp-communities .hpcom-lists .hpcom-list {
    width: 100%;
    margin: 10px 0;
    padding: 0;
  }

  .hp-communities .hpcom-lists {
    padding: 0 15px;
  }

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

  .hp-latest-news {
    padding: 40px 0;
  }

  .hp-latest-news .hp-latest-wrap {
    display: block;
    margin: 0;
  }

  .hp-latest-wrap .ln-lists {
    width: 100%;
    padding: 0 0;
    margin: 20px 0;
  }

  .hp-cta {
    padding: 0;
  }

  .hp-cta .hp-cta-wrap .hp-cta-container {
    display: block;
    margin: 0;
  }

  .hp-cta .hp-cta-wrap .hp-cta-container .hp-cta-list {
    margin: 20px 0;
    padding: 0;
    width: 100%;
  }

  .hp-fb .hp-fb-content .hp-fb-list {
    width: 100%;
    padding: 0 15px;
    margin: 20px 0;
  }

  .hp-ig-wrap::after {
    max-height: 380px;
  }

  .hp-ig-wrap .hp-ig-content .hp-ig-col {
    width: calc(100% / 2);
  }

  /** Footer **/
  .footer .footer-info ul.contact-info {
    display: block;
    text-align: center;
    margin-top: 25px;
  }

  .footer .footer-info ul.contact-info li {
    padding: 6px 20px;
  }

  .footer .ft-logo-smi {
    flex-flow: column-reverse;
    padding: 35px 0;
  }

  .footer .ft-logo-smi .ft-smi {
    margin-left: 0;
    margin-bottom: 12px;
  }

  .footer .footernav {
    display: block;
  }

  .footer .footernav li {
    padding: 12px 0;
    text-align: center;
  }

  .footer .footernav li a {
    padding: 12px 0;
    text-align: center;
  }

  .footer .footer-copyright {
    text-align: left;
    line-height: 1.6;
  }

  /** Footer **/
  .ip-banner .container {
    top: 50%;
  }

  #content .archive-list .article-long .archive-has-thumbnail {
    width: 100%;
    margin-left: 0;
  }

  #content .archive-list .article-long .archive-thumbnail {
    width: 100%;
  }

  #content .archive-list>article p {
    font-size: 22px;
  }

  #content .archive-thumbnail,
  #content .archive-content h2 {
    text-align: left;
  }

  .hp-quick-search .hp-qc-wrap .qcforms .qc-form .dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
  }

  html:not(.no-js) .post-page-who [data-aos^=fade][data-aos^=fade].aos-animate,
  html:not(.no-js) .post-page-who [data-aos^=fade][data-aos^=fade] {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .th-mobile-show {
    display: block;
  }

  .slideshow #aios-slider-homepage-slidershow .aios-slider-splide .aios-slider-img canvas,
  .slideshow #aios-slider-homepage-slidershow .aios-slider-splide .aios-slider-custom-video canvas,
  .cycloneslider-template-video .canvas-holder,
  .cycloneslider-template-video.cycloneslider-width-full .cycloneslider-slide canvas,
  .cycloneslider-template-video.cycloneslider-width-full .cycle-sentinel canvas {
    min-height: 547px;
  }

  .cycloneslider-template-video .cycloneslider-slides {
    height: 100% !important;
  }

  .hp-welcome-area .hp-welcome-wrap .hp-welcome-content {
    width: 100%;
    padding: 40px 15px;
  }

  .hp-welcome-area .hp-welcome-wrap .hp-welcome-content h1 {
    font-size: 35px;
  }

  .hp-communities .hpcom-lists {
    margin: 15px 0;
    padding: 0;
  }

  .hp-featured-properties {
    background: var(--primary);
  }

  .hp-featured-properties::after {
    display: none;
  }

  .hp-featured-properties h2.default-title {
    padding-bottom: 20px;
    color: #fff;
  }

  .hp-featured-properties h2.default-title span {
    color: #fff;
  }

  .hp-featured-properties .hp-fp-list a {
    background: transparent;
  }

  .hp-featured-properties .hp-fp-list a .hp-fp-content {
    position: relative;
    padding: 0 20px;
  }

  .hp-featured-properties .hp-fp-list a .hp-fp-content h3 {
    display: none;
  }

  .hp-featured-properties .hp-fp-list a .fp-view-bttn {
    position: static;
    margin: 20px;
  }

  .hp-testimonials-wrap .hp-testimonials-button a {
    font-size: 10px;
    padding: 17px 20px;
  }

  .hp-testimonials-wrap .hp-testimonial-list p {
    padding: 30px 0;
  }

  .hp-fb .hp-fb-header {
    flex-flow: column;
  }

  .hp-fb .hp-fb-header a {
    margin-top: 27px;
  }

  .hp-fb .hp-fb-header a i {
    display: none;
  }

  .hp-fb .hp-fb-content {
    margin: 15px -15px 0;
  }

  .hp-ig-wrap .hp-ig-header {
    flex-flow: column;
  }

  .hp-ig-wrap .hp-ig-header a i {
    display: none;
  }

  .hp-ig-wrap .hp-ig-header a {
    margin-top: 27px;
  }

  .global-default-form .form-row.form-col-3 {
    flex-flow: column;
  }

  .form-row.form-col-3 .form-col {
    width: 100%;
    padding: 13px 0;
  }

  .global-default-form .form-col {
    padding: 0;
  }

  .footer .footer-info h2 {
    font-size: 25px;
  }

  .ip-banner .container {
    width: 100%;
  }

  #aios-testimonials .aios-testimonials-lists {
    padding: 15px !important;
  }

  .hp-quick-search .hp-qc-wrap .qcforms .qc-form .dropdown-menu>li {
    font-size: 12px;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {

  .hp-quick-search .hp-qc-wrap .qcforms .qc-form,
  .hp-quick-search .hp-qc-wrap .qcforms .qc-form.qc-form-long {
    width: 100%;
  }

  .hp-quick-search .hp-qc-wrap .qcforms {
    margin: 25px 0 0;
  }

  .hp-testimonials .default-title {
    font-size: 28px !important;
  }
}

@media only screen and (max-width: 357px) {
  .hp-testimonials-wrap .hp-testimonials-button a {
    padding: 13px 20px;
  }
}