a:hover {
  opacity: .80;
  transition: all ease-in-out .5s;
}

html {
  scroll-behavior: smooth;
}

#logo {
  transition: all ease-in-out .5s;
}
.homepage {
    overflow: hidden;
}

.header__title {
    font-size: 80px;
    border: 225px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    font-family: 'Londrina Solid', cursive;
    text-align: right;
    bottom: 5vw;
    position: absolute;
    z-index: 2;
}

.header {
    position: relative;
    height: 805px;
}

.header__background {
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
    width: 100%;
}

.header__bottom-decord {
    position: absolute;
    bottom: -1px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.header__hgroup {
    height: 100%;
}

.blue_text_with_right_image {
    font-size: 18px;
    line-height: 1.2;
    color: #164ba7;
    font-weight: 500;
    font-family: "Barlow";
}

.blue_text_with_right_image__img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
  }

.blue_text_with_right_image__content-side {
    padding: 3rem 0;
}

@media (min-width: 989px) {
  .blue_text_with_right_image__content-side {
      max-width: 680px;
      margin-left: auto;
     padding: 7rem 0;
  }
}

.blue_text_with_right_image__title {
    font-size: 55px;
    line-height: 1.2;
    color: #164ba7;
    font-weight: 400;
    padding-bottom: 2.4rem;
    font-family: 'Londrina Solid', cursive;
}

.blue_text_with_right_image__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #164ba7;
}

.btn-block {
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
    height: 56px;
    width: 243px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-image: url("http://wordpressmu-94771-1841854.cloudwaysapps.com/wp-content/themes/b4k-corporate/b4kassets/botton.svg");
            mask-image: url("http://wordpressmu-94771-1841854.cloudwaysapps.com/wp-content/themes/b4k-corporate/b4kassets/botton.svg");
}

.btn-block--blue {
    background-color: #164ba7;
    color: #fff;
}

.check_out_programs {
    background-color: #51b8e4;
    color: #fff;
    text-align: center;
    position: relative;
    /* overflow: hidden; */
    padding: 4rem 0 8rem;
    margin-top: 3rem;
    z-index: 1;
}

.check_out_programs:before {
  content: "";
  display: block;
  height: 8rem;
  width: 100%;
  background: #51b8e4;
  position: absolute;
  top: -3.3rem;
  left: 0;
  transform: skewY(-3deg);
}

.check_out_programs__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #ffffff;
    margin: 2rem auto 0;
}

.check_out_programs__title {
    font-size: 55px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
    padding-bottom: 2rem;
}

.check_out_programs__desc {
    font-size: 18px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 500;
    font-family: "Barlow";
    text-align: center;
    margin-bottom: 1rem;
}

.check_out_programs__gallery {
    display: flex;
    flex-flow: column wrap;
    height: 520px;
}

.gallery-item__content {
    position: absolute;
    display: none;
    transition: all ease-in-out 1s;
}

.gallery-item__title {
    position: absolute;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
    width: 100%;
    z-index: 2;
    bottom: 0;
    transition: all ease 1s;
}

.check_out_programs__gallery-item:after {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: inline-block;
    position: absolute;
    opacity: .55;
    z-index: 1;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);
}

.gallery-item__bg {
    z-index: 1;
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.check_out_programs__gallery-item {
    position: relative;
    overflow: hidden;
    width: calc(33% - 1.5rem);
    margin-top: 1.2rem;
    font-size: 16px;
    transition: all ease 1s;
}

.check_out_programs__gallery-item:hover .gallery-item__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    z-index: 10;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 500;
    font-family: "Barlow";
    height: 100%;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: rgb(0 0 0 / 70%);
    transition: all ease 1s;
}

@media (max-width: 999px) {
  .check_out_programs__gallery-item {
    font-size: 12px;
  }
}

.check_out_programs__gallery-item:hover .gallery-item__title {
  display: none;
}

.btn-block--white {
    background-color: #fff;
    color: #51b8e4;
}

.check_out_programs__bg {
    position: absolute;
    bottom: -200px;
    right: -140px;
    width: 650px;
    height: 690px;
    z-index: -1;
}

.check_out_programs__cta {
    margin: 50px auto 0;
}

.orange_text_with_left_image {
    position: relative;
    z-index: 3;
    background-color: #f69433;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    font-weight: 500;
    font-family: "Barlow";
    /* max-width: 646px; */
}

.bgallery-item__link {
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Barlow";
    text-align: center;
    margin-top: 1rem;
}

.bgallery-item__link:after {
    content: "";
    display: inline-block;
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin: 0 0 1px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.orange_text_with_left_image__title {
    font-size: 55px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-transform: uppercase;
}

.orange_text_with_left_image__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #ffffff;
    margin: 2rem 0 0;
}


.orange_text_with_left_image__img {
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
    width: 100%;
}

.orange_text_with_left_image__title {
    font-size: 55px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
}

.orange_text_with_left_image__content-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
    z-index: 1;
}

@media (min-width: 989px) {
.orange_text_with_left_image__content-box {
    padding: 90px;
  }
}

.orange_text_with_left_image__img {
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
    width: 100%;
}

.orange_text_with_left_image__content-box:before {
  content: "";
  display: block;
  height: 100%;
  width: 9rem;
  background: #f69432;
  position: absolute;
  top: 0;
  left: -2rem;
  transform: skewX(-5deg);
  z-index: -1;
}

.orange_text_with_left_image__cta {
  color: #f69432;
}

@media (min-width: 989px) {
  .orange_text_with_left_image__content,
  .orange_text_with_left_image__hgroup {
      max-width: 646px;
  }
}
.orange_text_with_left_image__img-box {
    padding: 0;
}

@media (max-width: 1350px) {
  .orange_text_with_left_image__content-box:before {
      left: -4rem;
  }
}

.centered_text_white_background__title {
    font-size: 55px;
    line-height: 1.2;
    color: #164ba7;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
}

.centered_text_white_background__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #164ba7;
    margin: 1rem auto 0;
}

.centered_text_white_background {
    padding-top: 5rem;
    padding-bottom: 12vw;
    overflow: hidden;
    position: relative;
}

.centered_text_white_background__content {
    font-size: 18px;
    line-height: 28px;
    color: #164ba7;
    font-weight: 500;
    font-family: "Barlow";
    text-align: center;
}

.centered_text_white_background__bg {
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    bottom: -7rem;
}

.centered_text_white_background__cta {
  margin: 50px auto 0;
}

/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* Custom styles */

.video {
    background-color: #95c525;
    padding: 5rem 0 7vw;
    position: relative;
}

.video-image-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-prev,
.slick-next {
  font-size: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.slick-prev:after,
.slick-next:after {
  content: "";
  display: block;
  margin: 0px auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.slick-prev:after{
  transform: rotate(-45deg);
}

.slick-next:after{
 transform: rotate(135deg);
}

.triangle-left,
.triangle-right,
.triangle-top,
.triangle-bottom{
  width: 0;
  height: 0;
  margin: 0 0 0 8px;
}
.triangle-left,
.triangle-right{
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.triangle-right{
  border-left: 18px solid #164ba7;
}

.white-popup {
  position: relative;
  background: #fff;
  padding: 30px;
  width: auto;
  max-width: 700px;
  margin: 20px auto;
}

.play-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 41px;
    width: 61px;
    height: 61px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #ffffff solid 2px;
}

.play-button:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: transparent;
    border-radius: 50%;
    border: 2px solid #164ba7;
}

.video-gallery__item a {
    position: relative;
}

.video-gallery-item-thumb {
    position: relative;
    z-index: 1;
}

.video-gallery__thumb {
    height: 108px;
}

.video-gallery__thumbs  .slick-track {
    /* width: 100%!important; */
}

.video-gallery__thumb img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-right: .5rem;
    position: relative;
}

.video-gallery__items .slick-arrow {
    position: absolute;
}

.video-gallery__items .slick-prev.slick-arrow {
    bottom: -4rem;
    left: -2rem;
}

.video-gallery__items .slick-next.slick-arrow {
    bottom: -4rem;
    right: -2rem;
}

.video-gallery__bg {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.video-gallery__thumbs .slick-slide {
    margin-right: 0.7rem;
}

.video-gallery__thumbs .slick-current {
    opacity: .65;
}

.locations {
    padding: 5rem 0 6rem;
}

.locations__title {
    font-size: 55px;
    line-height: 1.2;
    color: #164ba7;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
    margin-bottom: 1rem;
}

.locations__item-title {
    position: absolute;
    bottom: 1.8rem;
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 25px;
    line-height: 1;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
    z-index: 1;
}

.locations__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #164ba7;
    margin: 1rem auto 0;
}

.locations__item {
    /* height: 395px; */
    position: relative;
}

.locations__item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.locations__item a:before {
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: inline-block;
    position: absolute;
    opacity: .55;
    z-index: 1;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);

}

.locations__image {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
}

.locations__item-title:after {
    content: "";
    display: inline-block;
    margin: 0 auto 2px 3px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
}

.red_background_with_right_image {
    background-color: #d31145;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    font-weight: 500;
    font-family: "Barlow";
}

.btn-block--red-font {
    color: #d31145;
}

.red_background_with_right_image__title {
    font-size: 55px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
}

.red_background_with_right_image__title:after {
    content: "";
    display: block;
    width: 113px;
    height: 5px;
    background-color: #ffffff;
    margin: 1rem 0 0;
}

.red_background_with_right_image__content-box:after {
  content: "";
  display: block;
  height: 100%;
  width: 5rem;
  background: #d31145;
  position: absolute;
  top: 0;
  right: -3rem;
  transform: skewX(-5deg);
  z-index: 1;
}

.red_background_with_right_image__img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.red_background_with_right_image__wrapper {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 989px) {
  .red_background_with_right_image__wrapper {
      padding: 5rem 0;
      max-width: 678px;
      margin-left: auto;
  }
}

.red_background_with_right_image__content-box {
    align-items: center;
    justify-content: flex-end;
}


.footer__topfooter {
    background-color: #2579BF;
    color: #fff;
    padding: 3rem 0;
}

.social-links__icon {
    width: 29px;
    height: 29px;
    margin-right: .5rem;
    margin-top: 0.3rem;
}

.footer-title {
    font-size: 25px;
    line-height: 35px;
    color: #ffffff;
    font-weight: 900;
    font-family: "Barlow";
}

.topfooter__title {
    font-size: 50px;
    line-height: 35px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Londrina Solid";
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1;
}



.footer__bottomfooter p {
    font-size: inherit;
}

.footer__topfooter a {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    margin: 0.6rem 0;
    color: #ffffff;
    font-weight: 600;
    font-family: "Barlow";
}

.footer__topfooter .menu-footer-about-container a:after,
#menu-item-547516 a:after {
    content: "";
    display: inline-block;
    margin: 0 auto 0 3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
}

.footer__bottomfooter {
    background-color: #164ba7;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Barlow";
    padding: 3rem 0;
}

.back-to-top {
    width: 56px;
    height: 56px;
    background-color: #95c525;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 5%;
    bottom: 4rem;
    cursor: pointer;
    z-index: 99;
}

.back-to-top .social-links__icon {
    margin: 0;
    padding: 0;
    fill: #fff;
}

.gallery-item--tall {
    height: 283px;
}

.gallery-item--short {
    height: 186px;
}

@media (max-width: 999px) {
  .locations__item {
      margin-bottom: 2rem;
  }

  .locations {
      padding: 3rem 1rem;
  }

  .locations__item-title {
      font-size: 1.2rem;
      bottom: 1rem;
  }

  .locations__item-title:after {
      width: 8px;
      height: 8px;
  }

  .locations__title,
  .centered_text_white_background__title,
  .orange_text_with_left_image__title,
  .check_out_programs__title,
  .blue_text_with_right_image__title,
  .topfooter__title,
  .red_background_with_right_image__title {
      font-size: 40px;
  }


  .header__title {
      font-size: 50px;
      line-height: 1;
      margin-right: 1rem;
  }

  .header {
      height: 295px;
  }

  .check_out_programs__gallery-item {
      width: calc(50% - 1.5rem);
  }

  .check_out_programs__gallery {
      height: 890px;
  }

  .check_out_programs {
      padding: 2rem 0 4rem;
  }

  .check_out_programs__gallery {
      align-items: center;
  }

  .slick-arrow {
    display: none!important;
  }

  .triangle-right {
      margin-left: 5px;
  }
}

@media (max-width: 600px) {
  .check_out_programs__gallery-item {
      width: 100%;
  }
  .topfooter__title {
      text-align: left;
  }
  .check_out_programs__gallery {
      height: auto;
  }

  .video {
      padding: 3rem 0;
  }

  .header__title {
      bottom: 0;
  }

  .blue_text_with_right_image__title:after {
      top: 1rem;
      position: relative;
  }

  .check_out_programs__title:after {
      margin: 1rem auto 0;
  }

  .topfooter__title {
      margin-bottom: 0;
  }

  .centered_text_white_background {
      padding-top: 3rem;
      padding-bottom: 3rem;
  }

  .et_header_style_left .logo_container {
      width: 300px;
      padding-top: 70px;
  }

  .btn-block {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 1920px) {
    .check_out_programs:before {
        top: -5.3rem;
        height: 10rem;
    }

    .orange_text_with_left_image__content-box:before {
        left: -6rem;
    }
}

