/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
  .hp-slideshow-inner #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas,
  .hp-slideshow-inner #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-custom-video canvas,
  .hp-slideshow-inner > canvas{
    min-height: 100vh;
  }
}
@media only screen and (max-width: 1510px) {
  .fixed-contact {
    right: 15px;
  }
}
@media only screen and (max-width: 1440px) {
  .header-nav > li {
    padding: 0 13px;
  }
  .header-nav li a {
    letter-spacing: 0.02em;
    padding: 2px 0;
    font-size: 12px;
  }

  .header-nav > li:before {
    height: 14px;
  }

  .fixed-header .header-navigation .header-nav .sub-menu {
    padding-top: 47px;
  }

}

@media only screen and (max-width: 1368px) {
	body #listings-results .listings-grid .listings-footer {
		bottom: 44%;
	}
}

@media only screen and (max-width: 1360px) {

  .fixed-contact {
    right: 54px;
  }
}

@media only screen and (max-width: 1280px) {
  .header-nav > li {
    padding: 0 7px 0 8px;
  }
  .fixed-contact {
    right: 15px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (max-width: 1199px) {
  .header-inner {
    align-items: center;
  }
  .header-contact-navigation {
    margin-top: 0;
  }
  .header-nav > li:before {
    height: 13px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-nav li a {
    /* text-align: center; */
    font-size: 11px;
  }
  .header-logo img {
    max-width: 191px;
  }

  .burger-holder {
    margin-top: 0;
    margin-left: 15px;
  }
  .fc-items {
    margin: 0 calc(calc(calc(-100vw + 970px) / 2) - 19px);
  }
  .hp-welcome .section-button {
    margin-bottom: 50px;
  }

  .sb-qs .qs-field-single input#min-price,
  .sb-qs .qs-field-single input#max-price,
  .sb-qs .qs-field-single select {
    font-size: 12px;
  }
  #content .ip-wcu.image-wcu {
    margin: 0 -10px 0 -20px;
  }

  .header-nav > li {
    padding: 0 9px;
  }

  .fixed-header .header-navigation .header-nav .sub-menu {
    padding-top: 37px;
  }

  .footer-nav li {
    padding: 0 10px;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {
  *[data-aios-animation*="fade"]{
    transform: none !important;
    opacity: 1 !important;
  }
  #pojo-a11y-toolbar{
    display: none;
  }
  #content .archive-content {
    width: 100% !important;
  }
  /* The following are used on inner pages. Please edit carefully. */
  .inner {
    width: 100%;
  }
  #content-sidebar,
  #content-full {
    width: 100%;
  }
  #content-sidebar aside, 
  #content-full aside{
    margin-top: 30px;
  }
  .outer {
    width: 100%;
    min-width: 100%;
  }
  #content-sidebar #content {
    width: 100%;
  }
  #main-wrapper {
    padding-top: 52px;
  }
  .header {
    position: relative;
    background: #0b2951;
  }
  .header-inner {
    justify-content: center;
  }
  .header-logo img {
    max-width: 300px;
  }
  .header-logo img.mob-only {
    display: block;
    margin: 15px auto 0;
  }
  .header-contact-navigation,
  .burger-holder,
  .fixed-header,
  .fixed-contact {
    display: none;
  }
  .slideshow-logo {
    padding: 30px 0;
  }

  .slideshow-logo-inner img {
    max-width: 150px;
  }

  .section-title {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
    position: relative !important;
    padding: 0 !important;
  }
  .section-content {
    text-align: center;
  }
  .section-button {
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .hp-welcome .section-title h2 em {
    font-weight: 600;
  }

  #hp-ss {
    padding: 0;
  }

  #hp-wcu {
    padding: 0 50px;
  }

  #hp-fc {
    padding: 50px 0;
  }

  .fc-items {
    flex-flow: column;
    margin: 0;
  }
  .fc-items-col {
    width: 100%;
    padding: 0 !important;
  }
  .fc-item {
    margin-bottom: 8px !important;
  }
  .fc-items-col:last-child .fc-item:last-child {
    margin-bottom: 0 !important;
  }
  .hp-ss-inner {
    padding: 0;
  }

  .hp-ss-inner .section-title {
    margin-bottom: 40px;
  }

  .hp-wcu .row,
  .hp-welcome .row {
    display: inherit;
  }
  .hp-wcu .section-content {
    text-align: left;
  }
  .hp-wcu .section-button {
    margin-bottom: 50px;
  }
  .hp-welcome .content-wrapper {
    padding: 0 30px;
  }
  .hp-welcome .content-wrapper:before {
    left: 0;
    width: 100%;
  }

  #hp-testi {
    padding: 50px 0;
  }

  .hp-testi .section-title {
    margin-bottom: 0;
  }

  .testi-item {
    border: 0 !important;
  }

  .blog-item .section-content {
    text-align: left;
  }
  .footer-form {
    margin: 0 0 60px;
  }
  .footer-nav {
    flex-flow: column;
  }

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

  #content
    .archive-list
    .article-long
    .archive-has-thumbnail
    .archive-subtitle {
    margin: 0.75em 0;
  }

  #content .archive-list .article-long p {
    font-size: 15px;
  }

  #content .archive-list .archive-content .global-button {
    margin: 0 auto;
    justify-content: center;
    display: flex;
    align-items: center;
  }

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

  /* lenders page  */

  .lender-row {
    flex-direction: column;
  }

  .lender-row .lender-photo img {
    margin: 0 auto;
    max-width: 400px;
  }

  .lender-row .lender-text {
    text-align: center;
    margin-top: 20px;
  }
  #content .ip-wcu.image-wcu {
    margin: 0 auto;
    max-width: 450px;
  }

  body.page-id-0 #content .entry-title {
    font-size: 34px;
    letter-spacing: 0.03em;
  }

  .slideshow-logo-inner img {
    display: none;
  }

  .wcu-photo {
    display: none;
  }

  .footer {
    padding: 45px 0 66px;
  }

  .page-template-template-blogs #content .archive-subtitle {
    margin-top: 20px;
  }

  #content .archive-thumbnail {
    width: 100%;
    max-width: 500px;
  }
  
  .page-id-1028 #content .entry-title{
    font-size: 55px;
  }
  .team-agent img{
    padding-right: 0px;
    padding-bottom: 0px;
    width: 100%;
    max-width: 450px;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {
  .ip-banner .container {
    width: 100%;
  }

  .qlq {
    width: 100%;
    max-width: 500px;
  }

  .qlq-field {
    float: none !important;
    width: 100%;
  }

  .hp-welcome .section-title h2 {
    font-size: 48px;
  }

  body.page-template-template-blogs #content .entry-title, body.post-page-why-choose-us #content .entry-title, body.page-template-template-agent-archive #content .entry-title, body.post-page-lenders-info #content .entry-title, body.post-page-featured-communities #content .entry-title, body.page-id-39 #content .entry-title, body.page-id-49 #content .entry-title, body.ihf-results-template-shortcode #content .entry-title, body.ihf-results-template-shortcode #content .archive-title, body.page-id-43 h1.entry-title, body.page-id-48 h1.entry-title, body.page-id-45 h1.entry-title, .post-type-archive-testimonials h1.archive-title, body.page-id-13 h1.entry-title, body.page-id-693 h1.entry-title, body.page-id-696 h1.entry-title, body.page-id-699 h1.entry-title, body.page-id-690 h1.entry-title, body.page-id-702 h1.entry-title, body.page-id-704 h1.entry-title, body.page-id-875 h1.entry-title, body.page-id-874 h1.entry-title, body.page-id-873 h1.entry-title, body.page-id-872 h1.entry-title, body.page-id-871 h1.entry-title, body.page-id-870 h1.entry-title {
    font-size: 30px !important;
  }
  .section-title h2{
    font-size: 58px;
  }

  #inner-page-wrapper #content .wcu-photo {
      float: none;
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 0 30px !important;
  }
}
@media only screen and (max-width: 568px) {
  #content-sidebar aside,
  #content-full aside{
    display: none;
  }
}
/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
  .section-title h2,
  #content .entry-title,
  #content .archive-title {
    font-size: 27px;
  }

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

  .home .section-title h2 span {
    padding-left: 170px;
  }

  #hp-wcu {
    padding: 0 17px;
  }

  .hp-welcome .content-wrapper {
    padding: 0 8px;
  }

  .home .section-title h2 span:before {
    width: 140px;
  }

  .footer-additional-info {
    margin: 1rem 0;
  }

  #hp-welcome {
    padding: 23px 0;
  }

  body.page-id-0 #content .entry-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .ss-slider {
    padding-left: 0;
  }
  .ss-info {
    position: relative;
    padding: 35px 15px;
  }
  .ss-info h2 {
    text-align: center;
  }
  .ss-info:before {
    display: none;
  }
  .ss-slider-arrows {
    position: relative;
    justify-content: center;
  }
  .blog-item {
    flex-flow: column;
  }
  .blog-photo {
    max-width: 100%;
  }
  .blog-item .section-content {
    padding-left: 0;
    padding-top: 30px;
    text-align: center;
  }
  .git-form-row {
    flex-flow: column;
    margin: 0 !important;
  }
  .git-form-col {
    position: relative;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 20px;
  }
  .git-form-col input[type="submit"] {
    margin: 0 auto;
  }
  .footer-contact {
    flex-flow: column;
  }
  .footer-contact a {
    line-height: 2;
    letter-spacing: 2.5px;
    text-align: center;
  }
  .footer-copyright p {
    text-align: center;
  }

  .page-id-1028 #content .entry-title{
    font-size: 30px;
  }
}

@media print {
  .footer,
  .header,
  .fixed-header,
  .ip-banner-wrap,
  #breadcrumbs,
  .ihf-virtual-tour-link,
  h1.entry-title.title-intro {
    display: none;
  }
  #content .entry-title,
  #content .archive-title {
    margin: 0 0;
    font-size: 35px;
    letter-spacing: 0;
  }
}
