/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (min-width: 992px) {

  .slideshow-inner .cycloneslider {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
  }

  .slideshow-inner .cycloneslider * {
    width: 100%;
    height: 100%;
  }
  .cycloneslider-template-video .cycloneslider-slides {
    height: 100% !important;
  }

}
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (min-width: 1200px) {
  .custom-container {
    width: 1200px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (min-width: 1500px) {
  .custom-container {
    width: 1430px;
  }
}

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

  .mh-nav {
    margin-right: 40px;
  }

  .blog-post-title {
    font-size: 14px;
  }

  .blog-post-text p {
    font-size: 13px;
  }

  .cta-label {
    font-size: 24px;
  }

  .cta-label span {
    font-size: 14px;
  }

  .sponsors-logo:not(:last-child) {
    margin-right: 35px;
  }

  .site-title span {
    font-size: 55px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1366px) {
  .mh-wrapper {
    padding: 0 30px;
  }

  #nav li a {
    font-size: 12px;
  }

  .slideshow-tagline h3 {
    margin-bottom: 13px;
    font-size: 50px;
  }

  .slideshow-tagline span {
    font-size: 20px;
  }

  .hfs-right {
    padding-right: 30px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .mh-wrapper {
    padding: 0 15px;
  }

  .mh-logo img {
    max-width: 130px;
  }

  .scrolled .mh-logo img {
    max-width: 110px;
  }

  #nav li a {
    font-size: 10px;
  }

  .slideshow .cycloneslider-template-video.cycloneslider-width-full .cycloneslider-slide canvas {
    background-attachment: scroll;
  }

  .slideshow-tagline h3 {
    font-size: 38px;
  }

  .slideshow-tagline span {
    font-size: 16px;
  }

  .banner-cta {
    margin-top: 30px;
  }

  .wc-text p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .wc-text p:first-of-type {
    font-size: 16px;
  }

  .wc-right {
    width: 40.71%;
  }

  .property-item-content {
    padding: 22px 20px;
  }

  .property-price,
  .property-address {
    font-size: 18px;
  }

  .property-address span {
    font-size: 12px;
    margin-top: 11px;
  }

  .site-title span {
    font-size: 50px;
  }

  .site-title small {
    font-size: 15px;
    letter-spacing: .5em;
  }

  .hfs-text p {
    font-size: 16px;
    line-height: 24px;
  }

  .hfs-slider .property-item-content {
    padding: 10px;
  }

  .hfs-slider .property-address {
    font-size: 13px;
  }

  .blog-post-content {
    padding: 30px 20px 25px;
  }

  .blog-post-text p {
    font-size: 12px;
    line-height: 20px;
  }

  .blog-post-title {
    min-height: 35px;
  }

  .blog-cta-label span {
    font-size: 20px;
  }

  .sponsors-logo {
    max-width: 158px;
  }

  .sponsors-logo:nth-child(2) {
    max-width: 111px;
  }

  .sponsors-logo:nth-child(5) {
    max-width: 78px;
  }

  .site-contact-list li,
  .site-contact-list .contact-address {
    font-size: 14px;
  }

  .site-smi a:not(:last-child) {
    margin-right: 19px;
  }

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

  .sidebar-contact-list li,
  .sidebar-contact-list .contact-address {
    font-size: 12px;
  }

  .sidebar-smi a:not(:last-child) {
    margin-right: 13px;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  .main-header {
    position: relative;
    margin-top: 52px;
    background: var(--primary);
    text-align: center;
    z-index: 100;
  }

  .mh-inner {
    display: block;
  }

  .mh-logo img {
    max-width: 172px;
  }

  .mh-right {
    display: none !important;
  }

  .slideshow-inner {
    position: relative;
  }

  .banner-content-holder {
    position: relative;
    top: unset;
    -webkit-transform: unset;
    transform: unset;
    background: var(--primary);
    padding: 30px 0;
  }

  .banner-agent {
    display: none !important;
  }

  .fv-section,
  .welcome-section {
    background-attachment: scroll;
  }

  .wc-row {
    display: block;
  }

  .wc-right {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: none;
  }

  .welcome-holder {
    position: relative;
    display: block;
  }

  .welcome-canvas {
    display: none;
  }

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

  .welcome-section {
    padding-bottom: 60px;
  }

  .stat-list {
    display: block;
  }

  .stat-item {
    width: 100%;
    border: none !important;
    padding: 0;
  }

  .stat-item:not(:last-child) {
    margin-bottom: 40px;
  }

  .property-slider {
    margin: 0 auto;
    max-width: 500px;
  }

  .hfs-row {
    display: block;
  }

  .hfs-left {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .hfs-right {
    padding: 0;
    width: 100%;
    margin-top: 40px;
  }

  .hfs-btn-group {
    display: block;
  }

  .hfs-btn-group .site-cta-btn {
    width: 100%;
    margin: 0 auto 15px;
    display: block;
  }

  .hfs-slider {
    margin: 34px auto 0;
    max-width: 600px;
  }

  .blog-feeds {
    margin: 0;
  }

  .blog-item {
    width: 50%;
  }

  .blog-cta {
    width: 50%;
  }

  .cta-item {
    width: 50%;
    margin-bottom: 40px;
  }

  .sponsors-logo {
    max-width: unset;
    margin: 10px !important;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-row {
    display: block;
  }

  .footer-contact-left {
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .site-contact-list li span {
    display: block;
    width: 100%;
  }

  .footer-contact-right {
    width: 100%;
    text-align: center;
  }

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

  .ct-page {
    padding: 20px
  }

  .ct-field--half,
  .ct-field--third,
  .ct-field--fourth {
    width: 100%;
  }
  
  .ip-ll-blog-list {
    max-width: 400px;
    margin: 0 auto;
  }
  .ip-ll-blog-item {
    padding: 0;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .site-title span {
    padding: 0;
  }

  .site-title span::before,
  .site-title span::after {
    display: none;
  }

  .blog-item {
    width: 100%;
    padding: 0;
  }

  .blog-cta-list {
    margin: 0;
  }

  .blog-cta {
    width: 100%;
    padding: 0;
  }

  .cta-list {
    margin: 0;
  }

  .cta-item {
    width: 100%;
  }

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

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

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

  .site-slide-control .site-btn {
    margin: 0 10px;
  }

  .fp-control-btn {
    max-width: 235px;
  }

  .site-btn {
    font-size: 12px;
  }

  .property-price,
  .property-address {
    font-size: 14px;
  }

  .property-address span {
    font-size: 10px;
  }

  .blog-date {
    font-size: 10px;
  }

  .blog-date span {
    font-size: 23px;
  }

  .blog-cta {
    margin-bottom: 15px;
  }

  .site-field-row {
    display: block;
  }

  .site-field-sm {
    width: 100%;
  }
  .site-slide-control {
    display: flex;
  }
  .site-slide-control .site-btn {
    width: 100%;
  }   
}