/* Container: Carousel
/* Basic carousel rules that can be extended to create different carousel types */

/*.Carousel__Media:not([aria-selected]),
.Carousel__Caption:not([aria-selected]) {
    visibility: hidden;
    opacity: 0;
}*/

/* Show UI controls above slides */
/* .Carousel [aria-controls]{
  position: relative;
  z-index: 1;
}*/

.Carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  box-shadow: 0 9px 6px 0 rgba(0,0,0,0.07);
  position: relative;
}

.Carousel__Media,
.Carousel__Caption{
  z-index: -1;
  opacity: 0;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  -ms-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
  transition: opacity 1s linear;
}

.Carousel__Media.active,
.Carousel__Caption.active{
  z-index: 0;
  opacity: 1;
}

.Carousel__Media {
  grid-column: 1 / span 3;
  grid-row: 1;
  position: relative;
  padding-top: 56.25%;
}

.Carousel__Media:after {
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(0deg, #000000 0%, rgba(0,0,0,0) 100%);
  top: 0;
  left: 0;
}

.Carousel__Media img{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.Carousel .Carousel__Media img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.Carousel__Caption {
  position: absolute;
  bottom: 0;
  color: #ffffff;
  width: 100%;
  text-align: left;
  padding: 10px;
  text-align: left;
}

.Carousel__Caption__Date{
  color: #ffffff;
  font-size: 16px;
  line-height: 19px;
}

.Carousel .Carousel__Caption h3.Carousel__Caption__Title,
.Carousel .Carousel__Caption h3.Carousel__Caption__Title a{
  color: #78c7a4;
  font-weight: 600;
  margin: 0;
}

h5.Carousel__Caption__Subtitle{
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}
.Carousel__Controls{
  display: none;
}

@media only screen and (min-width: 690px) and (max-width: 1000px){
  .Carousel .Carousel__Caption h3.Carousel__Caption__Title{
    font-size: 35.2px;
    line-height: 43.2px;
  }
}


@media only screen and (min-width: 1000px){
  .Carousel__Caption {
    padding: 18px;
    width: 75%;
  }

  .Carousel__Controls{
    /*display: block;*/
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 25%;
    padding: 18px;

    display: grid;
    justify-content: center;
    align-content: end;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
  }

  .Carousel__Controls *{
    display: none;
  }

  .Carousel__Dot{
    background-color: transparent;
    height: 40px;
    border: none;
    border-bottom: 2px solid #fff;
    cursor: pointer;
    display: block;
  }

  .Carousel__Dot:hover{
    border-bottom: 5px solid #fff;
    background-color: #fff;
  }

  .Carousel__Dot[aria-selected]{
    cursor: default;
    border-bottom: 5px solid #fff;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
  .Carousel .Carousel__Caption h3.Carousel__Caption__Title{
    font-size: 37.4px;
    line-height: 45.9px;
  }
}
@media only screen and (min-width: 1300px){
  .Carousel__Caption {
    padding: 36px;
  }
  .Carousel .Carousel__Caption h3.Carousel__Caption__Title{
    font-size: 44px;
    line-height: 54px;
  }
}
