.banner {
  display: flex;
  position: relative;
  flex-direction: column;
}

/* .slider__slide .slideshow__text-wrapper.banner__content.banner__content--top-center{
      align-items: center;
    justify-content: center;
    margin-top: -51px;
} */
.banner__box {
  text-align: center;
}

@media only screen and (max-width: 749px) {
  .banner--content-align-mobile-right .banner__box {
    text-align: right;
  }

  .banner--content-align-mobile-left .banner__box {
    text-align: left;
  }
}
.banner__box.content-container .banner__text.body{line-height: 25px; font-size: var(--font-base-size);}
@media only screen and (min-width: 750px) {
  .banner--content-align-right .banner__box {
    text-align: right;
  }

  .banner--content-align-left .banner__box {
    text-align: left;
  }

  .banner--content-align-left.banner--desktop-transparent .banner__box,
  .banner--content-align-right.banner--desktop-transparent .banner__box,
  .banner--medium.banner--desktop-transparent .banner__box {
    max-width: 83rem;
  }
}

@media screen and (max-width: 749px) {
  .banner--small.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--small.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 28rem;
  }

  .banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 30rem;
  }

  .banner--large.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--large.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 35rem;
  }

  .banner--small:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 28rem;
  }

  .banner--medium:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 50rem;
  }

  .banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 39rem;
  }
}
@media screen and (max-width: 480px) {
  .banner--small.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--small.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 20rem;
  }

  .banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 25rem;
  }

  .banner--large.banner--mobile-bottom:not(.banner--adapt) .banner__media,
  .banner--large.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt) > .banner__media {
    height: 30rem;
  }

  .banner--small:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 15rem;
  }

  .banner--medium:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 20rem;
  }

  .banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: 28rem;
  }
}

@media screen and (min-width:1200px) {
    .banner--medium:not(.banner--adapt) {
        min-height: 60rem;
    }
}
@media screen and (max-width:1199px) {
    .banner--medium:not(.banner--adapt) {
        min-height: 40rem;
    }
}
@media screen and (max-width:749px) {
    .banner--medium:not(.banner--adapt) {
        min-height: 30rem;
    }
}
@media screen and (max-width:480px) {
    .banner--medium:not(.banner--adapt) {
        min-height: 25rem;
    }
}

@media screen and (min-width: 750px) {
  .banner {
    flex-direction: row;
  }

   .banner--small:not(.banner--adapt) {
    min-height: 42rem;
  }

 
  .banner--large:not(.banner--adapt) {
    min-height: 100rem;
  }

  .banner__content.banner__content--top-left {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .banner__content.banner__content--top-center {
    align-items: flex-start;
    justify-content: center;
  }

  .banner__content.banner__content--top-right {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .banner__content.banner__content--middle-left {
    align-items: center;
    justify-content: flex-start;
  }

  .banner__content.banner__content--middle-center {
    align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--middle-right {
    align-items: center;
    justify-content: flex-end;
  }

  .banner__content.banner__content--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .banner__content.banner__content--bottom-center {
    align-items: flex-end;
    justify-content: center;
  }

  .banner__content.banner__content--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
  }
}
@media screen and (max-width: 1200px) {
 
  .banner__content.banner__content--top-left {
     align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--top-center {
   align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--top-right {
    align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--middle-left {
     align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--middle-center {
    align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--middle-right {
   align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--bottom-left {
     align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--bottom-center {
      align-items: center;
    justify-content: center;
  }

  .banner__content.banner__content--bottom-right {
      align-items: center;
    justify-content: center;
  }
}


@media screen and (max-width: 749px) {
  .banner:not(.banner--stacked) {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .banner--stacked {
    height: auto;
  }

  .banner--stacked .banner__media {
    flex-direction: column;
  }
}

.banner__media {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.banner__media-half {
  width: 50%;
}

.banner__media-half + .banner__media-half {
  right: 0;
  left: auto;
}

@media screen and (max-width: 749px) {
  .banner--stacked .banner__media-half {
    width: 100%;
  }

  .banner--stacked .banner__media-half + .banner__media-half {
    order: 1;
  }
}

@media screen and (min-width: 750px) {
  .banner__media {
    height: 100%;
  }
}

.banner--adapt,
.banner--adapt_image.banner--mobile-bottom .banner__media:not(.placeholder) {
  height:100%;
}

@media screen and (max-width: 749px) {
  .banner--mobile-bottom .banner__media,
  .banner--stacked:not(.banner--mobile-bottom) .banner__media {
    position: relative;
  }

  .banner--stacked.banner--adapt .banner__content {
    height: auto;
  }

  .banner:not(.banner--mobile-bottom):not(.email-signup-banner) .banner__box {
    background-color: transparent;
  }

  .banner:not(.banner--mobile-bottom) .banner__box {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .banner:not(.banner--mobile-bottom) .button--secondary {
    --color-button: var(--color-base-background-1);
    --color-button-text: 0, 0, 0;
    --alpha-button-background: 1;
  }

  .banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)
    .banner__content {
    position: absolute;
    height: auto;
  }

  .banner--stacked.banner--adapt:not(.banner--mobile-bottom) .banner__content {
    max-height: 100%;
    overflow: hidden;
    position: absolute;
  }

  .banner--stacked:not(.banner--adapt) .banner__media {
    position: relative;
  }

/*   .banner::before {
    display: none !important;
  } */

  .banner--stacked .banner__media-image-half {
    width: 100%;
  }

 
}

.banner__content {
  padding: 0;
  display: flex;
/*   position: absolute; */
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2;
/*   height:100%; */
}

@media screen and (min-width: 750px) {
  .banner__content {
    padding: 5rem;
  }

  .banner__content--top-left {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .banner__content--top-center {
    align-items: flex-start;
    justify-content: center;
  }

  .banner__content--top-right {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .banner__content--middle-left {
    align-items: center;
    justify-content: flex-start;
  }

  .banner__content--middle-center {
    align-items: center;
    justify-content: center;
  }

  .banner__content--middle-right {
    align-items: center;
    justify-content: flex-end;
  }

  .banner__content--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .banner__content--bottom-center {
    align-items: flex-end;
    justify-content: center;
  }

  .banner__content--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 749px) {
  .banner--mobile-bottom:not(.banner--stacked) .banner__content {
    order: 2;
  }

  .banner:not(.banner--mobile-bottom) .field__input {
    background-color: transparent;
  }
}

.banner__box {
  padding: 4rem 3.5rem;
  position: relative;
  height: fit-content;
  align-items: center;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
  z-index: 1;
}

@media screen and (min-width: 750px) {
  .banner--desktop-transparent .banner__box {
    background-color: transparent;
  }



  .banner--desktop-transparent .content-container:after {
    display: none;
  }
}

/* @media screen and (max-width: 749px) {
  .banner--mobile-bottom::after,
  .banner--mobile-bottom .banner__media::after {
    display: none;
  }
} */

.banner::after,
.banner__media::after{
  content: '';
  position: absolute;
  top: 0;
  background: #000000;
  opacity: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.banner__box > * + .banner__text {
  margin-top: 1.5rem;
}

@media screen and (min-width: 750px) {
  .banner__box > * + .banner__text {
    margin-top: 2rem;
  }
}


.banner__box > * + .banner__list {
  margin-top: 1.5rem;
}

@media screen and (min-width: 750px) {
  .banner__box > * + .banner__list {
    margin-top: 2rem;
  }
}  
  
  
.banner__box > * + * {
  margin-top: 1rem;
}

.banner__box > *:first-child {
  margin-top: 0;
}

@media screen and (max-width: 749px) {
  .banner--stacked .banner__box {
    width: 100%;
  }
}

@media screen and (min-width: 750px) {
  .banner__box {
    width: auto;
    max-width: 71rem;
    min-width: 45rem;
  }
 
}
@media screen and (min-width: 990px) {
 .banner__heading {
  margin-bottom: 0rem;
}
}
@media screen and (min-width: 1400px) {
  .banner__box {
    max-width: 90rem;
  }
}



.banner__box .banner__heading + * {
  margin-top: 1rem;
}

.banner__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  word-break: break-word;
}

@media screen and (max-width: 749px) {
  .banner--content-align-mobile-right .banner__buttons--multiple {
    justify-content: flex-end;
  }

  .banner--content-align-mobile-center .banner__buttons--multiple > * {
    flex-grow: 1;
    min-width: 22rem;
  }
}

@media screen and (min-width: 750px) {
  .banner--content-align-center .banner__buttons--multiple > * {
    flex-grow: 1;
    min-width: 22rem;
  }

  .banner--content-align-right .banner__buttons--multiple {
    justify-content: flex-end;
  }
}

.banner__box > * + .banner__buttons {
  margin-top: 1.5rem;
}

/* custom css */
@media screen and (max-width: 749px) {
.image-banner-style .banner__content{flex-direction: column;}
}

.about-image-banner .banner__media.banner__media-half:first-child{width:100%;border-radius: var(--media-radius);}
.about-image-banner .banner__media.banner__media-half:nth-child(2){position: absolute;width: 595px;height: 180px;background: transparent;left: 0;right: 0;top: 0;bottom: 0;margin:auto;z-index:2;}
.about-image-banner .banner__media.banner__media-half:nth-child(2) img{object-fit:contain;}
@media screen and (max-width: 1199px) {
.about-image-banner .banner__media.banner__media-half:nth-child(2){  width: 350px;}
}
@media screen and (max-width: 750px) {
.about-image-banner .banner__media.banner__media-half:nth-child(2){  width: 250px;}
}
@media screen and (max-width: 576px) {
.about-image-banner .banner__media.banner__media-half:nth-child(2){  width: 200px;}
}
@media screen and (max-width: 479px) {
.about-image-banner .banner__media.banner__media-half:nth-child(2){  width: 150px;}
}

.demo9-image-banner{margin-bottom:316px;}
.demo9-image-banner  .banner__media.banner__media-half:first-child{width:100%;}
.demo9-image-banner .banner__media.banner__media-half:nth-child(2){border-radius: var(--media-radius); bottom: -142px;width: calc(100% - 180px); margin: auto;left: 0;right: 0;transform: translateY(50%);height:544px;}
.demo9-image-banner .banner__box.content-container{padding:0;transform: translateY(-40px);}
.demo9-image-banner .banner__content{max-width: calc(100% - 180px);padding:0;}
.demo9-image-banner .banner__content .banner__text.subtitle{    font-size: var(--font-h2-size);color: rgba(var(--color-foreground), 1);letter-spacing: 0;font-weight: var(--font-heading-weight);line-height:normal}

@media screen and (max-width: 1199px) {
.demo9-image-banner .banner__content{max-width: calc(100% - 80px);}  
.demo9-image-banner .banner__media.banner__media-half:nth-child(2){ width: calc(100% - 80px);height:400px;bottom: -245px;} 
.demo9-image-banner {margin-bottom: 222px;}  
}
@media screen and (max-width: 749px) {
 .demo9-image-banner .banner__media.banner__media-half:nth-child(2){ height:350px;} 
 .demo9-image-banner .banner__content .banner__heading{font-size: calc(var(--font-h1-size) * 0.8);} 
 .demo9-image-banner .banner__box.content-container{transform: translateY(0px);} 
}
@media screen and (max-width: 576px) {
.demo9-image-banner .banner__content{max-width: calc(100% - 50px);}  
.demo9-image-banner .banner__media.banner__media-half:nth-child(2){ width: calc(100% - 50px)}  
}
@media screen and (max-width: 480px) {
 .demo9-image-banner .banner__content .banner__heading{font-size: calc(var(--font-h1-size) * 0.6);}  
 .demo9-image-banner .banner__content .banner__text.subtitle{ font-size: calc(var(--font-h2-size) * 0.8);} 
 .demo9-image-banner .banner__media.banner__media-half:nth-child(2){ height:160px;bottom:-344px;} 
.demo9-image-banner {margin-bottom: 82px;}     
}
