
.home-video__block iframe{
  display: none;
}
.home-video__block.videoloaded iframe{
  display: block;
}
.home-video__block.videoloaded .before-load-img{
  display: none;
}
.ui-datepicker-trigger img {
  width: 16px;
  margin-bottom: 5px;
}
.home-video__wrapper > .edit-overlay {
  top: 30px !important;
}
.home-video__btn:focus-visible {
  outline: 1px solid var(--secondary-color);
  box-shadow: 0 0 2px var(--highlight-color) inset;
  -webkit-box-shadow: 0 0 2px var(--highlight-color) inset;
  -ms-box-shadow: 0 0 2px var(--highlight-color) inset;
  -moz-box-shadow: 0 0 2px var(--highlight-color) inset;
}
.hero-image {
  margin: auto;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.home-banner-slider {
  background: var(--primary-color);
}
.video-overlay-title {
  position: absolute;
  bottom: 216px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px;
  width: 100%;
  z-index: 2;
  text-align: center;
  filter: opacity(1);
}
.overlay-sub-title {
  font-style: italic;
}
.overlay-main-desc {
    margin: 45px 0 0;
}
.scroll-discover {
  position: absolute;
  bottom: 35px;
  color: var(--inverse-font-color);
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3.6px;
}
.scroll-discover .template-icon-cta-arrow {
  display: block;
  text-align: center;
  transform: rotate(-90deg);
  margin-top: 10px;
  line-height: 1;
}
.scroll-discover:hover, .scroll-discover:focus, .scroll-discover:focus-visible {
  color: var(--inverse-font-color);
  opacity: 70%;
}
.home-video__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.is-on .home-video__btn-icon svg {
  width: 23px;
  position: relative;
  top: 1px;
}
.home-video__block {
  background-size: cover !important;
  background-size: 100% !important;
  width: 100%;
  height: 100%;
  position: relative;
  background-position: center;
  overflow: hidden;
  background-repeat: no-repeat;
}

.home-video__block iframe {
  position: absolute;
  object-fit: cover;
  /*left: 0!important;*/
  top: 0!important;
  /*width: 100%!important;
  height: 100%!important;*/
  pointer-events: none;
}

.home-video__block video,.home-video__block img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  object-position: center;
}

.home-video__actions {
  z-index: 9;
  position: absolute;
  left: 5px;
  bottom: 0
}

.home-video__trigger {
  width: 30px;
  font-weight: normal;
  height: 30px;
  min-height: 30px;
  color: #fff;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-out;
  margin: 30px;
  text-transform: capitalize;
  padding: 0 10px;
  line-height: 30px
}

.home-video__actions.is-active .home-video__trigger,.home-video__trigger:hover,.home-video__trigger:focus {
  background: var(--highlight-color);
  width: 80px;
  height: 80px
}

.home-video__trigger:hover .home-video__trigger-text,.home-video__trigger:focus .home-video__trigger-text {
  display: block
}

.is-off {
  display: none
}

.home-video__actions.is-active .home-video__trigger .is-off {
  display: block
}

.home-video__actions.is-active .home-video__trigger .is-on {
  display: none
}

.home-video__actions-more {
  display: none;
  position: absolute;
  bottom: 110px;
  left: 30px
}

.home-video__actions.is-active .home-video__actions-more {
  display: block
}

@media screen and (min-width: 480px)and (max-width:896px)and (orientation:landscape) {
  .home-video__actions.is-active .home-video__actions-more {
    grid-column-gap:5px;
    display: flex
  }
}

.home-video__trigger-icon {
  display: flex!important;
  justify-content: center;
  width: 18px;
  height: 11px;
  margin: auto!important
}

.home-video__trigger-text {
  display: none;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 10px
}

.home-video__btn {
  width: 80px;
  height: 80px;
  color: var(--primary-color);
  display: flex;
  line-height: 1.5;
  margin-bottom: 3px;
  background: var(--primary-color);
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  opacity: .9;
  font-size: 11px;
  padding: 0 5px;
  flex-direction: column;
  text-transform: capitalize;
  letter-spacing: 0;
  transition: all .3s ease;
  font-weight: 400;
}

.home-video__btn:hover,.home-video__btn:focus {
  background: var(--highlight-color)
}

.home-video__btn .is-off,.home-video__btn.active .is-on {
  display: none
}

.home-video__btn .is-on,.home-video__btn.active .is-off {
  display: block
}

.home-video__btn .uk-icon {
  display: block;
  margin-bottom: 8px
}

.banner-caption {
  position: absolute;
  bottom: 51px;
  right: auto;
  max-width: 1070px;
  width: 100%;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  text-align: center
}

.banner-text h1 {
  color: transparent;
  text-shadow: 0 0 #fff;
  margin: 0;
  font-size: 60px;
  letter-spacing: 7.8px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 45px
}

.banner-text h1 strong {
  display: block;
  font-size: 30px;
  letter-spacing: 3.9px
}

.banner-text {
  position: absolute;
  bottom: 157px;
  right: auto;
  max-width: 935px;
  width: 100%;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  text-align: center
}
.home-hero-video-slider, .home-hero-video-slider .uk-slideshow-items {
  height: calc(100vh - var(--header-height));
  aspect-ratio: 16/9;
  min-width: 100%;
  max-width: 100%;
  overflow: hidden;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  aspect-ratio: auto !important;
}
@media only screen and (min-width: 768px)and (max-width:990.98px) {
  /*.home-hero-video-slider .uk-slideshow-items {
  height: 100% !important;
  overflow: hidden !important;
  max-height: 100% !important;
}
  .home-hero-video-slider, .home-hero-video-slider .uk-slideshow-items {
  aspect-ratio: unset;
}*/

  .banner-text {
    bottom: 55px
  }
}
@media (max-width: 1199.98px){
}
@media(max-width: 1100.98px) {
  .banner-caption {
    display:none
  }

  .banner-text {
    bottom: 55px;
    max-width: 750px
  }

  .banner-text h1 {
    line-height: 60px
  }
}

@media only screen and (max-width:1200px) and (min-width:1024px) and (orientation:landscape){
  .cirque-hero-video .home-video__block {
    padding-bottom: 56.25%;
  }
  .videoloaded{
    background-image: none !important;
  }
  .home-video__actions{
    bottom: 20%;
  }
}
@media (max-width: 959.98px){
  .video-overlay-title {
    font: var(--mob-xl-title-fonts);
    padding-inline: 20px;
    width: 100%;
    letter-spacing: 2.5px;
  }
  .scroll-discover {
    bottom: 80px;
  }
  /*.is-on .home-video__btn-icon svg {
  width: 20px;
  left: 3px;
}*/
  .home-hero-video-slider, .home-hero-video-slider .uk-slideshow-items{
    height: calc(71vh - var(--header-height));
  }
}
@media(max-width: 767.98px) {
  .overlay-top-title {
    font-size: 26px;
    margin-bottom: 0;
  }
  .hero-slideshow {
    overflow: hidden
  }

  .hero-slideshow__media {
    transform: none!important;
    object-position: center
  }

  .hero-slideshow:after {
    height: 40%
  }

  /*.hero-slideshow .uk-slideshow-items {
  height: 100%;
  max-height: 100vh;
}*/

  .hero-slideshow__caption-wrapp {
    max-width: unset;
    padding-bottom: 20px;
    text-align: center
  }

  .hero-slideshow__caption-title {
    font-size: 42px;
    line-height: 1.4
  }

  .hero-slideshow__caption-subtitle {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 0
  }

  .banner-text {
    max-width: 510px;
    padding: 0 20px;
    bottom: 55px
  }

  .banner-text h1 {
    font-size: 40px;
    line-height: 45px;
    letter-spacing: 5px
  }
  .banner-text h1 strong {
    font-size: 24px
  }
  /*.home-hero-video-slider {
  padding: 20px 20px 0;
}*/
}

@media(max-width: 575px) {
  .hero-slideshow__caption-title,.hero-slideshow__caption-subtitle {
    font-size:20px
  }
}
@media (max-height: 575px){
  /*.home-hero-video-slider, .home-hero-video-slider .uk-slideshow-items {
  max-height: 120vh;
}*/
}
.hero-image.cms6 {
  max-height: 750px
}

.home-video__block.cms6 {
  max-height: 750px
}

.home-video__block.cms6 video {
  max-height: 750px
}
.home-video__modal .modal__close{
  background: transparent;
  border: 0;
  outline: none; cursor:pointer;
}
.home-video__modal .modal__close:hover svg path, .home-video__modal .modal__close:focus svg path {
  fill: var(--highlight-color);
}
/* new style for video controls */
.home-video__actions-more {
  display: flex;
  background: var(--inverse-font-color);
  border-radius: 22px;
  padding: 0 5px;
  position: static;
  gap: 0;
  margin: 0;
  border: 1px solid var(--primary-color);
}
.home-video__trigger,
.video-icon-content{
  display:none;
}
.home-video__btn {
  width: 35px;
  height: 33px;
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  margin-left: 0 !important;
}
.home-video__btn .uk-icon {
  margin-bottom: 0;
}
.home-video__actions-more{
  bottom:30px;
}
.home-video__btn:hover, .home-video__btn:focus {
  color: var(--highlight-color);
  background: transparent;
}
.home-video__actions {
  left: 30px;
  bottom: 30px;
  margin: 0;
}
.home-banner-slider .slider-controls {
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(255,255,255,30%);
  position: absolute;
}
@media (min-width: 768px) and (max-width: 991.98px){
  .home-hero-video-slider, .home-hero-video-slider .uk-slideshow-items {
    overflow: hidden;
  }
  .home-banner-slider .slider-controls {
    bottom: 130px !important;
  }
}
@media (min-width: 960px){
  .home-video__wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, 0.83) 0%, rgba(0, 0, 0, 0) 57.94%), linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 52.87%);*/
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62.43%, rgba(0, 0, 0, 0.4) 100%);
  }
}
@media (min-width: 768px){
  /*.home-video__wrapper::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.83) 0%, rgba(0, 0, 0, 0) 57.94%), linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 52.87%);
}*/
}
@media (max-width: 1399.98px){
  .home-banner-slider .slider-controls {
    bottom: 20px;
  }
  .video-overlay-title {
    max-width: calc(100% - 40px);
    bottom: 170px;
  }
}
@media (max-width: 959.98px){
}
@media (max-width: 767px) {
  .home-video__actions {
    left: 10px;
    bottom: 10px;
  }
  .home-video__btn{
    min-height: 35px;
  }
  .home-video__actions-more {
    padding: 0;
  }
}
@media (max-width: 639.98px){
  /*.home-hero-video-slider {
  height: 100vh;
  margin: 0;
  max-height: 100vh;
}*/
  .home-video__container, .home-banner-slider, .home-banner-slider > div, .hero-slideshow, .home-slider-item, .home-video__wrapper, .home-video__block, .home-video__block video{
    /*height: 100%;*/
    max-height: 100%;
    padding: 0;
    border-radius: 0;
  }
  .home-banner-slider .slider-controls {
    bottom: 80px;
  }
  /*.home-banner-slider {
  background: transparent;
}*/
}
/*
.home-hero-video-slider, 
.home-hero-video-slider .uk-slideshow-items {
    height: calc(100vh - var(--header-height, 0)) !important;
    min-width: 100%;
    max-width: 100%;
    overflow: hidden;
  	aspect-ratio: 16 / 7.7 !important;
}
*/
.video-overlay-title:has(.overlay-main-logo) {
    bottom: 50%;
    transform: translate(-50%, 50%);
}

.overlay-main-logo > img {
    width: 100%;
    height: auto;
    aspect-ratio: unset;
}

.overlay-main-logo {
    width: 480px;
    margin: 0 auto 50px;
}

.home-video:has(.video-overlay-title) .home-video__block:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
}


@media (max-width: 639.98px), (max-width: 950px) and (orientation: landscape) {
  .overlay-main-logo {
      width: 300px;
        margin: 0 auto 30px;
  }
  .home-hero-video-slider, 
  .home-hero-video-slider .uk-slideshow-items {
    width: 100% !important;
    height: calc(100dvh - var(--header-height, 0)) !important;
    min-height: calc(100dvh - var(--header-height, 0)) !important;
    aspect-ratio: auto !important;
  }
  
  body:not(:has(header)) .home-hero-video-slider, 
  body:not(:has(header)) .home-hero-video-slider .uk-slideshow-items {
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    aspect-ratio: auto !important;
  }
  
  .overlay-main-title {
    font: var(--mob-h3-title-fonts);
  }
  .overlay-main-desc {
    font-size: 14px;
  }
}