.f-carousel__slide.is-selected .top-slider__video-poster {
  display: block;
  width: 100%;
  height: 600px;
  /* background-color: #FFC845; */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.video-player__28785.playing~.video-poster {
  display: none;
  pointer-events: none;
}


.r1_sl {
  background-color: #FFC845;
  top: calc(var(--bnr_h) - 5px);
  position: absolute;
  margin-top: 0px;
  height: 5px;
  /*    width:0px;*/
}


.tvid_line {
  /*     height:5px;
       width:100%;
       transition:width 7s linear; */
  /*     width:100%; */
  /*     transition-timing-function: linear;*/
}

/* :root {
  --bnr_h: 90vh;
}*/
.r1 .slide_line {
  /*animation-duration:7s;*/
}

:root {
  --r1_h: 620px;
  --bnr_h: 600px;
}

.r1 {
  width: auto;
  height: var(--r1_h);
}

.info-slide {
  width: 100%;
}

.r1_el {
  width: 100%;
}

/*----------------------------------------------------------------------------------*/

/* :root {
  --bnr_h: 90vh;
}*/

/* .r1 div.bnr {
position:absolute;
left:0px;
top:0px;
right: 0px;
width:auto;
height:var(--bnr_h);
}*/

.r1 div.bnr img,
.r1 div.bnr video {
  width: auto;
  height: var(--bnr_h);
}

.r1 .intro__content {
  background: transparent;
  color: white;
}

.r1 .f-carousel__dots {
  display: flex;
  justify-content: center;
}



.r1 .f-carousel__nav {
  display: none !important;
  opacity: 0 !important;
}

@media (max-width: 767px) {

  /*@media (width < 768px) {*/
  /* :root {
      --bnr_h: 620px;
   }*/
  .r1_txt_hdr {
    font-family: Manrope;
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
  }

  .r1 .container button span {
    font-family: Manrope;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
  }

  .r1 .intro__btn {
    margin-top: 30px;
  }

  .r1 div.bnr img,
  .r1 div.bnr video {
    width: 100%;
    object-fit: cover;
  }

}


@media (min-width: 768px) and (max-width: 1439px) {

  /*@media (768px <= width < 1440px) {*/
  /* :root {
      --bnr_h: 600px;
   }*/
  .r1_txt_hdr {
    font-family: Manrope;
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
  }

  .r1 .container {
    height: 100%;
    margin-top: 406px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 16px;
  }

  .r1 .container button {
    width: 100%;
  }

  .r1 .container button span {
    font-family: Manrope;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
  }

  .r1 .intro__btn {
    margin-top: 30px;
  }

  .r1 div.bnr img,
  .r1 div.bnr video {
    width: 100%;
    object-fit: cover;
    object-position: top;
  }

  .r1 .intro__btn {
    min-width: 176px;
    width: auto !important;
    display: inline-block;
    height: 42px;
    margin-left: 0;
    margin-right: 0;
  }

}

@media (min-width: 1440px) {

  /* @media (1440px <= width) {*/
  .r1 .bnr,
  .r1 .bnr video,
  .r1 .bnr img {
    width: 100% !important;
    height: 600px !important;
    padding: 0px;
    object-fit: cover;
  }


  .r1_txt_hdr {
    font-family: Manrope;
    font-size: 50px;
    font-weight: 500;
    line-height: 45px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
  }

  .r1 .intro__content button {
    height: 52px;
  }

  .r1 .intro__content button span {
    font-family: Manrope;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: left;
    text-underline-position: from-font;
  }

}

/* HTML slider */
.html-banner {
    box-sizing: border-box;
}
.html-banner * {
    box-sizing: border-box;
}
.html-banner__container {
    min-height: 600px;
    display: grid;
    grid-template-columns: 754px 1fr;
    gap: 20px;
    max-width: 2300px;
    margin: 0 auto;
    padding: 20px;
}
.html-banner__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 50px 40px 50px;
    color: #212121;
    border-radius: 20px;
    background: #FBF7EB;
}
.html-banner__tag {
    width: fit-content;
    padding: 15px 30px;
    margin-bottom: 12px;
    leading-trim: both;
    text-edge: cap;
    font-size: 32px;
    font-weight: 600;
    line-height: 90%;
    letter-spacing: -0.64px;
    border-radius: 100px;
    background: #FFC845;
}
.html-banner__title {
    font-size: 72px;
    font-weight: 700;
    line-height: 90%;
    letter-spacing: -1.44px;
}
.html-banner__subtitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.64px;
}
.html-banner__description {
    max-width: 375px;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.2px;
}
.html-banner__image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #C2D2E1;
}
.html-banner__image picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.html-banner__image picture img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
}
.html-banner .intro__btn {
    margin-top: auto;
    white-space: nowrap;
}

.html-banner--wide-img .html-banner__image picture {
    width: auto;
    margin-left: -290px;
}

@media (max-width: 2559px) {
    .html-banner__container {
        grid-template-columns: 672px 1fr;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin-left: -145px;
    }
}

@media (max-width: 1919px) {
    .html-banner__container {
        grid-template-columns: 672px 1fr;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin-left: -230px;
    }
}

@media (max-width: 1619px) {
    .html-banner__container {
        grid-template-columns: 536px 1fr;
    }
    .html-banner__text {
        padding: 70px 50px 40px 50px;
    }
    .html-banner__tag {
        font-size: 28px;
    }
    .html-banner__title {
        font-size: 60px;
    }
    .html-banner__subtitle {
        font-size: 28px;
    }
    .html-banner__description {
        font-size: 20px;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin-left: -135px;
    }
}

@media (max-width: 1279px) {
    .html-banner__container {
        grid-template-columns: 389px 1fr;
        padding: 10px;
        gap: 10px;
    }
    .html-banner__text {
        gap: 10px;
        padding: 86px 30px 60px;
    }
    .html-banner__tag {
        font-size: 20px;
        margin-bottom: 22px;
        padding: 12px 20px;
    }
    .html-banner__title {
        font-size: 40px;
    }
    .html-banner__subtitle {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .html-banner__description {
        font-size: 16px;
    }
}

@media (max-width: 1023px) {
    .html-banner__container {
        grid-template-columns: 1fr;
    }
    .html-banner__text {
        display: grid;
        grid-template-columns: 1fr 255px;
        column-gap: 60px;
        padding: 30px 30px 40px;
    }
    .html-banner__tag {
        font-size: 24px;
        margin-bottom: 13px;
        grid-column: span 2;
    }
    .html-banner__title {
        font-size: 48px;
        margin-bottom: 10px;
        order: 2;
    }
    .html-banner__subtitle {
        font-size: 24px;
        order: 4;
    }
    .html-banner__description {
        font-size: 16px;
        margin-bottom: 10px;
        order: 3;
    }
    .html-banner .intro__btn {
        order: 5;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin-left: 0;
        margin-top: -80px;
        height: calc(100% + 80px);
    }
}

@media (max-width: 767px) {
    .html-banner__text {
        padding: 50px 30px 30px;
        column-gap: 30px;
        grid-template-columns: 1fr 225px;
    }
    .html-banner__tag {
        font-size: 20px;
        margin-bottom: 10px;
        padding: 10px 15px;
    }
    .html-banner__title {
        font-size: 48px;
        margin-bottom: 2px;
        grid-column: span 2;
    }
    .html-banner__subtitle {
        font-size: 20px;
        margin-bottom: 10px;
        order: 3;
        grid-column: span 2;
    }
    .html-banner__description {
        font-size: 14px;
        order: 5;
        margin-bottom: 0;
    }
    .html-banner .intro__btn {
        order: 4;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin-left: 0;
        margin-top: -110px;
        height: calc(100% + 110px);
    }
}

@media (max-width: 576px) {
    .html-banner__text {
        grid-template-columns: 1fr;
        padding: 50px 10px 20px;
    }
    .html-banner__tag,
    .html-banner__title,
    .html-banner__subtitle,
    .html-banner__description,
    .html-banner .intro__btn {
        order: 1;
        grid-column: auto;
    }
    .html-banner__title {
        font-size: 36px;
    }
    .html-banner__subtitle {
        font-size: 18px;
    }
    .html-banner__description {
        font-size: 14px;
    }
    .html-banner--wide-img .html-banner__image picture {
        margin: 0;
        height: auto;
    }
    .html-banner .intro__btn {
        width: 100%;
        margin-top: 10px;
    }
}