.bodyclass .component.carousel {
  width: 100vw;
  max-height: 500px;
  position: relative;
  padding: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-bottom: 66px;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel {
    max-height: 400px;
    height: 400px;
    margin-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .bodyclass .component.carousel {
    max-height: 400px;
    height: 400px;
    margin-bottom: 36px;
  }
}

.bodyclass .component.carousel .slide {
  height: 500px;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .slide {
    height: 400px;
  }
}

.bodyclass .component.carousel .slide .field-slidetext {
  min-width: 800px !important;
  margin: 0 auto;
  top: 140px;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.bodyclass .component.carousel .slide .field-slidetext h1, .bodyclass .component.carousel .slide .field-slidetext h2, .bodyclass .component.carousel .slide .field-slidetext h3, .bodyclass .component.carousel .slide .field-slidetext h4, .bodyclass .component.carousel .slide .field-slidetext h5, .bodyclass .component.carousel .slide .field-slidetext h6 {
  color: white !important;
  font-size: 48px !important;
  text-align: center !important;
}

.bodyclass .component.carousel .slide .field-slidetext h1 {
  max-width: 100%;
}

.bodyclass .component.carousel .slide .field-slidetext span, .bodyclass .component.carousel .slide .field-slidetext p {
  color: white !important;
  display: block;
  font-size: 26px !important;
  text-align: center !important;
  max-width: none;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .slide .field-slidetext {
    top: 80px;
    min-width: auto !important;
    left: 50px !important;
    right: 50px !important;
  }
  .bodyclass .component.carousel .slide .field-slidetext h1, .bodyclass .component.carousel .slide .field-slidetext h2, .bodyclass .component.carousel .slide .field-slidetext h3, .bodyclass .component.carousel .slide .field-slidetext h4, .bodyclass .component.carousel .slide .field-slidetext h5 {
    font-size: 30px !important;
  }
  .bodyclass .component.carousel .slide .field-slidetext span, .bodyclass .component.carousel .slide .field-slidetext p {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  .bodyclass .component.carousel .slide .field-slidetext {
    top: 50px;
  }
}

.bodyclass .component.carousel .slide .field-slideimage {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .slide .field-slideimage {
    height: 400px;
  }
}

.bodyclass .component.carousel .slide .field-slideimage img {
  position: absolute;
  width: initial !important;
  max-width: none !important;
  min-height: 500px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0 auto;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .slide .field-slideimage img {
    min-height: 400px;
  }
}

.bodyclass .component.carousel .nav {
  bottom: 45px !important;
  max-width: 100vw;
}

.bodyclass .component.carousel .nav .prev-text,
.bodyclass .component.carousel .nav .next-text {
  color: #fff;
  position: absolute;
  bottom: -45px;
  width: 100px;
  height: 500px;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .nav .prev-text,
  .bodyclass .component.carousel .nav .next-text {
    height: 400px;
    width: 50px;
  }
}

.bodyclass .component.carousel .nav .prev-text:after,
.bodyclass .component.carousel .nav .next-text:after {
  margin-top: 220px;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .nav .prev-text:after,
  .bodyclass .component.carousel .nav .next-text:after {
    margin-top: 180px;
  }
}

.bodyclass .component.carousel .nav .prev-text {
  left: 0;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .nav .prev-text {
    left: 0;
  }
}

.bodyclass .component.carousel .nav .next-text {
  right: 0;
}

@media (max-width: 991px) {
  .bodyclass .component.carousel .nav .next-text {
    right: 0;
  }
}

@media (max-width: 767px) {
  .bodyclass .component.carousel .nav-items {
    display: none;
  }
}

.bodyclass .component.carousel .nav-items .sxa-bullets {
  width: 50px !important;
  height: 15px !important;
  margin: 0 6px;
}

@media (max-width: 767px) {
  .bodyclass .component.carousel .nav-items .sxa-bullets {
    width: 45px !important;
  }
}

.bodyclass .component.carousel .nav-items .sxa-bullets::before {
  background: rgba(255, 255, 255, 0.7) !important;
  content: '';
  position: absolute;
  width: 50px !important;
  height: 2px !important;
}

.bodyclass .component.carousel .nav-items .sxa-bullets.active::before {
  background: #0D4486 !important;
  background: linear-gradient(270deg, #09A965 0%, #02AEEF 100%) !important;
  top: -8px !important;
}

.bodyclass .component.carousel .btn--primary {
  color: #fff;
  margin-top: 20px;
}

.bodyclass .component.carousel .btn--secondary {
  background-color: #fff;
}

@media (max-width: 767px) {
  .bodyclass .component.carousel a.btn.btn--primary, .bodyclass .component.carousel a.btn.btn--secondary {
    width: 100%;
  }
  .bodyclass .component.carousel a.btn + a.btn {
    margin-left: 0px;
    margin-top: 10px;
  }
}

@media (min-width: 768px) {
  .bodyclass .component.carousel a.btn + a.btn {
    margin-left: 20px;
    margin-top: 20px;
  }
}

main > #content > .row > .carousel {
  top: 0;
  margin-top: -60px;
}

@media (max-width: 991px) {
  main > #content > .row > .carousel {
    margin-top: -40px;
    min-width: 320px !important;
  }
}
