.carousel-inner {
  max-width: 90%;
}
.custom-slider {
  padding: 0;
}
.carousel-inner {
  margin: 0 auto !important;
}
.carousel-inner>div {
  margin-bottom: 5rem;
}
.carousel-item>* {
  margin: auto;
}
.carousel-indicators {
  margin-left: 0;
  margin-right: 0;
}
.carousel-indicators li {
  background-color: #b3c8e7;
  text-indent: -9999px;
  background-color: #0393;
}
.carousel-indicators li.active {
  background-color: #0046ad;
  color: #fff;
  background-color: #039;
}
.carousel-indicators li:before,
.carousel-indicators li:after {
  display: none;
}
.custom-slider.paging-top .carousel-indicators {
  position: static;
  margin-bottom: 3rem;
}
.custom-slider.labels .carousel-indicators li {
  width: auto;
  height: auto;
  font-size: 1.2em;
  line-height: 1.3;
  text-indent: 0;
  text-align: center;
  padding: 0.3em 0.5em;
  margin: 0 0.8rem;
}
.carousel-control {
  cursor: pointer;
  top: 7rem;
  width: 8%;
  color: #039 !important;
}
.carousel-control:hover {
  background-image: radial-gradient(circle, rgba(0, 51, 153, 0.05) 0%, rgba(0, 51, 153, 0) 100%);
}
@media (max-width: 480px) {
.custom-slider {
  margin-left: -15px;
  margin-right: -15px;
}
.carousel-indicators {
  margin-left: 5%;
  margin-right: 5%;
}
.carousel-indicators li {
  font-size: 1em !important;
  padding: .4rem !important;
  margin: 0 .5rem !important;
}
.custom-slider .image-wrapper {
  display: flex;
  align-items: center;
}
.custom-slider .teaser .image-wrapper {
  _aspect-ratio: 3/2;
}
}
@media (min-width: 480px) {
.carousel-control {
  width: 10%;
}
.carousel-control-prev {
  left: -3%;
}
.carousel-control-next {
  right: -3%;
}
.carousel-control i {
  font-size: 5rem;
}
}
@media (min-width: 768px) {
.carousel-control {
  width: 8%;
}
.carousel-control-prev {
  left: -4%;
}
.carousel-control-next {
  right: -4%;
}
.carousel-control i {
  font-size: 5rem;
}
}
@media (min-width: 992px) {
.custom-slider:not(.var1) .carousel-item > div > .elementlist{
  display: flex;
  flex-wrap: nowrap;
}
.custom-slider:not(.var1) .carousel-item > div > .elementlist > div{
  flex: 0 1 50%;
}
}
@media (min-width: 1100px) {
.carousel-inner {
  width: auto;
  max-width: unset;
}
.carousel-control-prev {
  left: -7.5%;
}
.carousel-control-next {
  right: -7.5%;
}
}
@media (min-width: 1400px) {
.custom-slider {
  margin-left: 0;
  margin-right: 0;
}
.carousel-inner {
  margin-left: -15px !important;
  margin-right: -15px !important;
}
.carousel-control-prev {
  left: -15%;
}
.carousel-control-next {
  right: -15%;
}
}
.custom-slider .btn-block{
  white-space: normal;
}


/*
@media (min-width: 768px) {
.carousel-item .textfragment {
    _display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 0;
}
.carousel-item .textfragment>.row:first-child {
    grid-area: 1 / 2 / 2 / 3;
}
.carousel-item .textfragment>.row:nth-child(2) {
    grid-area: 1 / 1 / 3 / 2;
}
.carousel-item .textfragment>.row:last-child {
    grid-area: 2 / 2 / 3 / 3;
}
}
*/
