/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
* SLICK BLOCKS..................
* CARROUSEL BLOCKS..............
* CARROUSEL CARROUSEL BLOCKS....
* RESPONSIVE BLOCKS.............
*/

/* ------------------------------------ *\
  ==SLICK BLOCKS
\* ------------------------------------ */

.slick-slider .slick-arrow {
  background-color: rgb(0 0 0 / 40%);
  border-radius: 50%;
  transition: all .3s ease 0s;
  z-index: 10;
}

.slick-slider .slick-arrow:hover {
  opacity: .8;
  background: #000;
}

.slick-prev {
  left: 1rem;
  top: 50%;
}

.slick-next {
  right: 1rem;
  top: 50%;
}

.bloc-video--mode-slider .slick-prev {
  left: -22px;
  top: 23%;
}

.bloc-video--mode-slider .slick-next {
  right: 4px;
  top: 23%;
}

.bloc-video--mode-slider .slick-prev::before,
.bloc-video--mode-slider .slick-next::before {
  font-size: 1.5rem;
}

.bloc-video--mode-slider .slick-prev:before {
  margin-right: .25rem;
}

.bloc-video--mode-slider .slick-next:before {
  margin-left: .25rem;
}

.slick-prev::before,
.slick-next::before {
  color: #fff;
  font-family: "Font Awesome 5 Pro", sans-serif;
  font-weight: 900;
}

.slick-prev:before,
.slick-next:before {
  opacity: 1;
}

.slick-dots {
  bottom: 1rem;
  display: unset;
  position: absolute;
}

.slick-dots li button::before,
.slick-dots li button::after {
  font-size: 1rem;
}

.slick-dots li button::before {
  color: #fff;
  opacity: .6;
}

.slick-dots li.slick-active button::before {
  color: #fff;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

.slick-dotted.slick-slider {
  margin-bottom: 3rem;
}

/* ------------------------------------ *\
  ==CARROUSEL BLOCKS
\* ------------------------------------ */
.carrousel__body-container {
  background-color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.carrousel__body-container .button {
  margin-bottom: 0;
  margin-top: 1rem;
}

.carrousel__body {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.carrousel__tags {
  background-color: #fafafa;
  color: #222;
  display: inline-block;
  font-size: .85rem;
  line-height: initial;
  margin-bottom: .75rem;
  padding: .25rem .75rem;
}

.carrousel__body h2 {
  display: inline-block;
  line-height: 2rem;
  margin-bottom: .25rem;
  max-width: 30em;
  text-shadow: 1px 1px 2px #222;
}

@media screen and (min-width: 40em) {
  .carrousel__body {
    padding: 2rem 0 4rem 8rem;
  }
}

.carrousel__images {
  line-height: 0;
}

/* Surcharge le theme Zurb. Les liens dans la région "Messages" sont soulignés */
div.carrousel__type a {
  text-decoration: none;
}

.carrousel__visuel img {
  width: 100%;
  height: auto;
}

.carrousel__body p {
  font-size: 1.5rem;
  line-height: 2rem;
  max-width: 45em;
  text-shadow: 1px 1px 2px #222;
}

.carrousel__body p,
.carrousel__body h2 {
  color: #fff;
  margin: 0;
}

.carrousel__visuel > div::before {
  background-image: linear-gradient(to top, rgb(0 0 0 / 25%), rgb(85 85 85 / 30%));
  content: "";
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

/* ------------------------------------ *\
  ==VIDEO CARROUSEL BLOCKS
\* ------------------------------------ */

/*  Video title */
.video .video__title {
  display: none;
}

.carrousel__videos .slick-dots {
  bottom: -3rem;
}

.highlighted .carrousel__videos.slick-slider .slick-arrow {
  background: #eee;
}

.highlighted .slick-slider .slick-arrow {
  height: 3.5rem;
  width: 3.5rem;
}

.highlighted .button:hover {
  border: 2px solid #fff;
}

.carrousel__videos.slick-slider .slick-arrow {
  background: #555;
  height: 3rem;
  width: 3rem;
}

.carrousel__videos.slick-slider .slick-arrow:hover {
  background: #000;
}

.carrousel__videos .slick-dots li button::before {
  color: #ccc;
}

.carrousel__videos .slick-dots li.slick-active button::before {
  color: #931111;
}

/* ------------------------------------ *\
  ==RESPONSIVE BLOCKS
\* ------------------------------------ */

/* Small only */
@media screen and (max-width: 39.9375em) {
  .carrousel__body {
    padding: .625rem;
  }

  .carrousel__body h2 {
    font-size: 1.1rem;
  }

  .carrousel__body p {
    font-size: .9rem;
  }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .carrousel__body {
    padding: 2rem;
  }
}

/* Large down */
@media screen and (max-width: 74.9375em) {
  .carrousel__body,
  .carrousel__visuel {
    height: auto;
    max-height: 400px;
  }

  .carrousel__body {
    word-break: break-all;
  }

  .carrousel__body h2 {
    line-height: 1.1;
  }

  .carrousel__visuel > div {
    height: 100%;
  }

  .carrousel__body-container {
    height: 400px;
  }

  .carrousel__visuel {
    height: 100%;
  }

  .card__img img {
    width: 100%;
    height: auto;
  }

  .carrousel__body p {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  .slick-dots {
    bottom: .5rem;
  }
}

/* Medium and up */
@media screen and (min-width: 40em) {
  .slick-dotted.slick-slider {
    margin-bottom: 5rem;
  }
}
