/*Teaser Slider*/
#teaser-slider {
  width: 658px;
  height: 300px;
  border: 1px solid #fff;
  position: relative;
  font-family: "Arial", sans-serif;
  font-size: 11px;
  color: #000;
}

#teaser-slider .teaser-slider-nav-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 201px;
  height: 100%;
  border-right: 1px solid #fff;
}

#teaser-slider .teaser-slider-nav-panel UL {
  list-style-type: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

#teaser-slider .teaser-slider-nav-panel UL LI {
  margin: 0;
  padding: 5px;
  height: 40px;
  line-height: 40px;
  background-image: -webkit-linear-gradient(bottom, #f5d9b7 25%, #faf2e5 100%);
  background-image: -moz-linear-gradient(bottom, #f5d9b7 25%, #faf2e5 100%);
  background-image: -o-linear-gradient(bottom, #f5d9b7 25%, #faf2e5 100%);
  background-image: linear-gradient(to top, #f5d9b7 25%, #faf2e5 100%);
  cursor: pointer;
  position: relative;
}

#teaser-slider .teaser-slider-nav-panel UL LI IMG {
  position: relative;
  float: left;
  z-index: 300;
}

#teaser-slider .teaser-slider-nav-panel UL LI SPAN {
  position: relative;
  margin-left: 5px;
  top: 0;
  z-index: 300;
}

#teaser-slider .teaser-slider-nav-panel UL LI.active {
  color: #fff;
}

#teaser-slider .teaser-slider-nav-panel UL LI .box-background {
  position: absolute;
  width: 0;
  height: 100%;
  background-image: -webkit-linear-gradient(bottom, #442994 25%, #923fa7 100%);
  background-image: -moz-linear-gradient(bottom, #442994 25%, #923fa7 100%);
  background-image: -o-linear-gradient(bottom, #442994 25%, #923fa7 100%);
  background-image: linear-gradient(to top, #442994 25%, #923fa7 100%);
  top: 0;
  left: 0;
  -webkit-transition: all 0.25s;
  /* Safari */
  transition: all 0.25s;
  z-index: 100
}

#teaser-slider .teaser-slider-nav-panel UL LI.active .box-background {
  width: 100%;
}

#teaser-slider .teaser-slider-nav-panel UL LI.active .box-background:after {
  position: absolute;
  content: " ";
  background-image: url('/themes/images/teaser-slider-arrow-right.png');
  background-size: 10px 50px;
  width: 10px;
  height: 50px;
  right: -10px;
  height: 100%;
}

#teaser-slider .teaser-slider-image-panel {
  margin-left: 201px;
  width: 499px;
  height: 299px;
  position: relative;
}

#teaser-slider .teaser-slider-image-panel a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#teaser-slider {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
}

#teaser-slider .teaser-slider-image-panel {
  width: 100%;
  height: auto;
  display: block;
  margin-left: 0;
}

#teaser-slider .teaser-slider-image-panel a {
  position: relative;
}

#teaser-slider .teaser-slider-image-panel a+a {
  position: absolute;
  width: 100%;
}

#teaser-slider .teaser-slider-image-panel img {
  position: relative;
  width: 100%;
}

#teaser-slider .teaser-slider-nav-panel {
  position: relative;
}

#teaser-slider .teaser-slider-nav-panel ul li {
  height: 50px;
  width: 168px;
}

@media (max-width: 768px) {
  #teaser-slider .teaser-slider-nav-panel {
    display: none;
  }
}

.main-content {
  width: 100% !important;
}

.home .col-left .region--hero {
  padding-top: 0 !important;
  padding-left: 0 !important;
}

.layout--two--col {
  display: flex;
  flex-direction: column;
}
.col-right {
  width: 100%;
}

@media (min-width: 62.5rem) {

  .layout--two--col {
    flex-direction: row-reverse;
  }

  .home .col-left .region--hero {
    width: 170px !important;

  }

}

.teaser-slider2 .slide {
  opacity: 0;
  transition: opacity .5s;
  display: flex;
  z-index: 0;
  height: 100% !important;
}

.teaser-slider2 .slide.active {
  opacity: 1;
  z-index: 2 !important;
}

.teaser-slider2 .slide img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  margin-top: 0 !important;
}

.teaser-slider2 .slide-text {
  position: absolute;
  bottom: 1.5rem;
  right: 0;
  color: #fff;
  width: 60%;
}

.teaser-slider2 .slide-text .slide-author {
  display: block;
  background: linear-gradient(to right, rgba(91, 33, 87, 1) 0%, rgba(91, 33, 87, .5) 100%);
  margin-bottom: 5px;
  font-size: 1.5rem;
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.85);
}

.teaser-slider2 .slide-text div {
  display: flex;
  background: rgb(48, 40, 125, .75);
  padding: 5px 15px;
  justify-content: space-between;
}

.teaser-slider2 .slide-text .slide-title {
  display: block;
  font-size: 1.2rem;
  padding-right: 20px;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.teaser-slider2 .slide-text .button {
  background: linear-gradient(to right, rgba(91, 33, 87, 1) 0%, rgba(91, 33, 87, .5) 100%);
  color: #fff;
  border: 0;
  box-shadow: -2px 0px 29px -3px rgba(255, 255, 255, 0.75);
  -webkit-box-shadow: -2px 0px 29px -3px rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  padding: 0 15px;
  height: var(--sp2);
  line-height: var(--sp2);
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  #teaser-slider.teaser-slider2 {
    flex-direction: column-reverse;
  }

  #teaser-slider.teaser-slider2 .teaser-slider-nav-panel {
    width: 100%;
    text-align: center;
    display: block;
  }

  #teaser-slider.teaser-slider2 .teaser-slider-nav-panel ul li *:not(.box-background) {
    display: none;
  }

  #teaser-slider.teaser-slider2 .teaser-slider-nav-panel ul li {
    width: 5px;
    height: 5px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    margin: 20px 10px;
  }
  .teaser-slider2 .slide-text {
    width: 80%;
  }
  .teaser-slider2 .slide-text .slide-author {
    font-size: 1.2rem;
  }

  .teaser-slider2 .slide-text .slide-title {
    font-size: 1rem;
  }

  .teaser-slider2 .slide-text .button {
    font-size: .75rem;
    height: var(--sp1-5);
    line-height: var(--sp1-5);
  }

}

@media (max-width: 700px) {
  #teaser-slider.teaser-slider2 {
    margin-left: -18px;
    margin-right: -18px;
    width: auto;
  }
}