@charset "utf-8";

@media only screen and (max-width: 1400px) {
  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 80vh;
  }
}
@media only screen and (min-width: 992px) {
  .dropdown-menu {
    width: 220px;
  }

  .dropdown-item {
    white-space: normal;
    padding: 0.25rem 1rem;
  }
}

@media only screen and (max-width: 991px) {
  .fancybox-slide {
    padding: 0;
  }
  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 50vh;
  }

  .blog-item .card-image {
    height: 250px;
    position: relative;
  }

  .text-block-right {
    display: flex;
    -ms-flex-direction: column-reverse !important;
    flex-direction: column-reverse !important;
  }

  .navbar-nav .nav-link {
    padding-left: 10px;
    padding-right: 10px;
  }

  .dropdown-menu {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .header .nav-item a[aria-expanded="true"],
  .header .nav-item a:not(.dropdown-item):hover,
  .header .nav-item a:not(.dropdown-item):focus {
    color: #0d7534;
    background-color: #f3fdeb;
  }

  .header .nav-item a:not(.nav-link):hover,
  .header .nav-item a:not(.nav-link):focus {
    color: #0d7534;
    background-color: #e1f5d1;
  }

  .nav-item.dropdown a span {
    width: calc(100% - 26px);
    display: inline-block;
  }

  .navbar-nav .dropdown-menu {
    background-color: #f3fdeb;
    margin: 0;
    padding-top: 0;
  }

  .header .nav-item .dropdown-menu a,
  .dropdown-item {
    padding: 0.25rem 0.75rem;
  }

  .header .nav-item .dropdown-menu a,
  .header .nav-item a:not(.dropdown-item) {
    border-bottom: 1px solid #e1f5d1;
  }

  .header .nav-item:first-child a:not(.dropdown-item) {
    border-top: 1px solid #e1f5d1;
  }

  .blockquote-block blockquote {
    padding-left: 50px;
  }

  .blockquote-block blockquote p {
    font-size: 1.2rem;
    line-height: 1.6rem;
    padding-left: 0;
    padding-right: 20px;
  }

  .blockquote-block blockquote:before {
    top: -20px;
    left: -10px;
    z-index: -1;

    width: 88px;
    height: 60px;
    -moz-background-size: 88px 60px;
    -webkit-background-size: 88px 60px;
    background-size: 88px 60px;
  }
}

@media only screen and (max-width: 768px) {
  /*.statistic-content{
    display: flex;
    -ms-flex-direction: column-reverse!important;
    flex-direction: column-reverse!important;
  }*/

  .memberDescription{
    min-height: auto;
   height:auto !important;
   height: auto;
  }


  .cover-portrait img {
    width: 150px;
    height: 228px;
  }

  .statistics-holder .statistics-slider .sub-text {
    font-size: 1.5rem;
  }

  .statistics-holder .statistics-slider .number-text {
    font-size: 2rem;
  }

  .two-column-block .column-image {
    min-height: 340px;
  }

  h1 {
    font-size: 2.5em;
  }

  .lets-chat h2,
  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.5em;
  }

  .two-column-block h4,
  h4 {
    font-size: 1.3em;
  }

  .btn-large {
    font-size: 1.1rem;
  }

  .buttons .btn {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-links li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #343434;
  }

  .footer-links li:first-child {
    border-top: 1px solid #343434;
  }

  .video-block {
    min-height: 371px;
  }
}

@media only screen and (max-width: 576px) {
  body[data-page-type="blog-categories"] .hero-banner.blog-cat-hero,
  body[data-page-type="blogLanding"] .hero-banner.hero-page,
  body[data-page-type="blogLanding"] .hero-banner.hero-page .hero-content {
    height: 92px; /* header height */
  }

  .header .navbar-brand img {
    width: 100px;
    height: 62px;
  }

  .blockquote-block blockquote p {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }

  .slider-icon img {
    width: 100px;
    height: 100px;
    display: inline-block;
  }

  h1 {
    font-size: 2.2em;
  }

  .lets-chat h2,
  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1.3em;
  }

  .two-column-block h4,
  h4 {
    font-size: 1.1em;
  }

  html,
  body {
    font-size: 14px;
  }
}

@media only screen and (max-width: 400px) {
  .blockquote-block blockquote {
    font-size: 1.2rem;
    padding-left: 50px;
    padding-right: 0;
    margin-bottom: 0;
  }

  .blockquote-block blockquote:before {
    top: -20px;
    left: 10px;
    z-index: -1;

    width: 68px;
    height: 50px;
    -moz-background-size: 68px 50px;
    -webkit-background-size: 68px 50px;
    background-size: 68px 50px;
  }
}

/*iPhone 5 & 5S in portrait*/
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
  .hero-banner.hero-home,
  .hero-banner.hero-home .hero-content {
    height: 98vh;
  }

  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 70vh;
  }
}

/*iPhone 6, 7, & 8 in portrait  */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
  .hero-banner.hero-home,
  .hero-banner.hero-home .hero-content {
    height: 90vh;
  }

  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 70vh;
  }
}

/*iPhone X in portrait*/
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .hero-banner.hero-home,
  .hero-banner.hero-home .hero-content {
    height: 90vh;
  }

  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 70vh;
  }
}

@media screen and (max-height: 790px) and (min-width: 900px) {
  .header .navbar-brand img {
    width: 80px;
    height: 49px;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }

  .navbar-expand-lg .navbar-nav {
    padding-top: 1.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  .header .nav-item a {
    font-size: 16px;
  }

  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 90vh;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }

  .h1,
  h1 {
    font-size: 2.5rem;
  }

  navbar-nav {
    padding-top: 1.5rem !important;
    margin-top: 100px;
  }

  .no-hero {
    margin-top: 69px;
  }

  .no-hero-text {
    padding-top: 1.3rem;
    padding-bottom: 1.8rem;
  }

  /*body[data-page-type="pageNoHero"] .wrapper,*/
  body[data-page-type="blog"] .wrapper,
  body[data-page-type="search"] .wrapper {
    padding-top: 100px;
  }

  body[data-page-type="blog-categories"] .hero-banner.blog-cat-hero,
  body[data-page-type="blogLanding"] .hero-banner.hero-page,
  body[data-page-type="blogLanding"] .hero-banner.hero-page .hero-content {
    height: 88px;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }
}

@media screen and (max-height: 550px) and (min-width: 900px) {
  .hero-banner.hero-page,
  .hero-banner.hero-page .hero-content {
    height: 95vh;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }
}
