/* carousels */
.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}

.carousel-control-next, .carousel-control-prev {
  z-index: 16;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

@media screen and (min-width: 576px) {
  .carousel-control-next.selector {
    right: 3%;
  }

  .carousel-control-prev.selector {
    left: 3%;
  }
}
.carousel-indicators {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

@media screen and (min-width: 992px) {
  .carousel-indicators {
    /*position:absolute;
    bottom:0;
    margin-bottom:1.5rem*/
    margin-top: 1.5rem;
  }
}
.carousel-indicators li {
  display: inline-block;
  cursor: pointer;
  height: 10px;
  width: 10px;
  border: 1px #1b1b1b solid !important;
  border-radius: 5px;
  opacity: 1 !important;
  margin-left: 10px;
  background-color: #fff;
}

.carousel-indicators li.active {
  background-color: #1b1b1b !important;
}

@media screen and (min-width: 992px) {
  .carousel-indicators li {
    border: 1px #1b1b1b solid !important;
    background-color: #f7f7f7 !important;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.15);
  }

  .carousel-indicators li.active {
    background-color: #1b1b1b !important;
  }
}
.rdx-text-left, .rdx-text-right, .flex-wrapper {
  background-color: #fff;
}

@media screen and (min-width: 992px) {
  .rdx-text-right {
    position: absolute;
    max-width: 45%;
    top: 0;
    right: 0;
    margin-right: 2rem;
    margin-top: 2rem;
    border-radius: 0.5rem;
    background-color: transparent;
    z-index: 10;
    padding: 2rem;
    /*box-shadow: 0 0 10px 2px rgba(0,0,0,0.15);*/
  }

  .rdx-text-left {
    position: absolute;
    max-width: 45%;
    top: 0;
    left: 0;
    margin-left: 2rem;
    margin-top: 2rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0);
    z-index: 10;
    padding: 2rem !important;
    /*box-shadow: 0 0 10px 2px rgba(0,0,0,0.15);*/
  }

  .rdx-carousel {
    background-color: #f7f7f7;
  }
}
.rdx-carousel {
  /*border-radius: 0.5rem!important;*/
  border: 1px #dddddd solid;
  overflow: hidden;
}

.carousel-control-next-icon {
  background-image: url(../images/carousel-arrows.png);
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-position: -34px 0;
  background-size: 68px 52px;
  width: 34px;
  height: 52px;
  outline: 0;
}

.carousel-control-prev-icon {
  background-image: url(../images/carousel-arrows.png);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  background-position: 0 0;
  background-size: 68px 52px;
  width: 34px;
  height: 52px;
  outline: 0;
}

.carousel-control-next-desktop, .carousel-control-prev-desktop {
  position: absolute;
  height: 1.5rem;
  width: 1.5rem;
  bottom: 0;
  margin-bottom: 1rem;
  z-index: 20;
  cursor: pointer;
}

.carousel-control-next-desktop {
  right: 2rem;
}

.carousel-control-prev-desktop {
  left: 2rem;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
}


.flex-wrapper {
  position: relative;
}

@media screen and (min-width: 992px) {
  .flex-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    height: 100%;
    padding-bottom: 4rem;
    align-self: flex-end;
    background: transparent;
  }

  .flex-wrapper.right {
    right: 0;
  }

  .flex-wrapper.left {
    left: 0;
  }

  .flex-wrapper.mw-60 {
    max-width: 60%;
  }

  .flex-wrapper.mw-50 {
    max-width: 50%;
  }
}

