
.item {
  background: #384A4E;
  text-align: center;
  /* initial height according to design */
  /* height: 600px !important; */
  /*height: 540px !important;*/
  height: 100%;
}

/* replaced with vh below */
/* .carousel-inner {
  height: 540px;
} */

#myCarousel .carousel-inner {
  height: 60vh;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
  width: 100%;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  height: 101%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
}

.carousel-inner>.item>.carousel-img-full {
  height: auto;
  min-height: 101%;
  min-width: 100%;
}

.item-v2 .carousel-img-full {
  height: auto;
  min-height: 101%;
  width: 100%;
}

.transition-timer-carousel-progress-bar {
  height: 7px;
  background-color: var(--main-color);
  width: 0;
  margin: 0;
  top: -7px;
  border: none;
  z-index: 9;
  position: relative;
}

.carousel-caption {
  padding: 5em 2em 5em 10em;
  position: absolute;
  left: 0;
  right: 50%;
  bottom: 0;
  text-align: left;
  background: rgba(56,61,66,0.9);
}

.carousel-container {
  height: 100%;
  display: flex;
  align-items: self-end;
}

.carousel-container .carousel-caption {
  position: relative;
  padding: 3em 2em 3em 40px;
  margin-left: -40px;
  max-width: 70%;
}


.item-v2 .carousel-caption {
  width: 40%;
  height: 100%;
}

.item-v2 .carousel-img {
  width: 60%;
  height: 100%;
  position: absolute;
  right: 0px;
}

.carousel-caption .carousel-info {
  margin-bottom: 1.5em;
}

.carousel-caption .carousel-info .time {
  margin-left: 10px;
  opacity: .65;
}

.carousel-caption .carousel-title {
  margin-bottom: 1.1em;
}

.carousel-caption .title-xl {
  font-size: 57px;
  color: #ffffff;
  /* initial value according to design */
  /* padding-right: 35%;*/
  padding-right: 5%;
}

.text-small {
  font-size: 10px;
}

.text-medium {
  font-size: 13px;
  position: relative;
  right: 3px;
  -webkit-transition: all ease .4s;
  -moz-transition: all ease .4s;
  -ms-transition: all ease .4s;
  -o-transition: all ease .4s;
  transition: all ease .4s;
}

.text-large {
  font-size: 15px;
}

.box-list li:hover .text-medium {
  right: -5px;
}

.carousel-caption .carousel-title .dash {
  float: left;
  margin-top: 1.1em;
  margin-right: 1.5em;
}

.carousel-caption .carousel-title .dash img {
  width: 80%;
}

.carousel-caption .carousel-title .title {
  font-size: 57px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.04;
  margin: 0;
  padding-right: 50%;
}

.carousel-caption .carousel-description {
  font-size: 19px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  padding-right: 35%;
}

.carousel-caption .carousel-foot {
  margin-top: 3em;
}

.carousel-caption .carousel-foot .read-more {
  font-size: 18px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: bolder;
  font-variant: all-small-caps;
}

.carousel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.currentSlide,
.totalSlides {
  color: #ffffff;
  padding: 5px;
  font-size: 15px;
  font-weight: 600;
}

.currentSlide {
  color: var(--main-color);
}

a.carousel-controller {
  color: #ffffff;
  text-decoration: none;
}

.carousel-controller .urb-icon {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 50%;
  opacity: .5;
  padding: 15px 18px;
  font-size: 12px;
  -webkit-transform: scale(.8);
  -moz-transform: scale(.8);
  -ms-transform: scale(.8);
  -o-transform: scale(.8);
  transform: scale(.8);
}

.carousel-controller.left {
  display: inline-block;
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

/* Animation delays */
.carousel-caption .carousel-info {
  animation-delay: .25s;
}
.carousel-caption .carousel-title {
  animation-delay: .4s;
}
.carousel-caption .carousel-description {
  animation-delay: .6s;
}
.carousel-caption .carousel-foot {
  animation-delay: .9s;
}

.playButton {
  display: none;
}

#divers .section-header {
  display: flex;
  align-items: center;
}

#divers .section-header .dash {
  margin-right: 1em;
}

#divers .section-header .header-title {
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.9;
  letter-spacing: -0.7px;
  margin: 0;
  color: var(--lighter-black);
  font-size: 25px;
}

#divers .section-content {
  margin-top: 3em;
}

#divers .section-content .media-box {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

#divers .section-content .media-box::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: -100%;
  z-index: -1;
  background-color: #383e42;
  opacity: .9;
}

#divers .section-content .media-box::after {
  content: '';
  background-image: url("../img/mask.png");
  background-position: center;
  background-size: cover;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: -100%;
  z-index: -2;
  background-color: #383e42;
  opacity: .6;
}

#divers .section-content .box-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#divers .section-content .box-list li {
  padding: 0 0 0 14px;
  border-bottom: 1px solid var(--main-color);
}

#divers .section-content .box-list li:hover {
  background-color: var(--main-color);
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#divers .section-content .box-list a {
  padding: 14px 0;
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  text-decoration: none;
}

#divers .section-content .box-list .icon-video {
  font-size: 15px;
}

#divers .section-content .event:not(:last-child) {
  border-bottom: 1px solid var(--pastel-white);
}

#divers .section-content .event {
  padding-bottom: 1.5em;
  margin-bottom: 1.5em;
}

#divers .section-content .event .title .text {
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.43;
  letter-spacing: normal;
  color: var(--lighter-black);
}

/*
#divers .section-content .event .place{
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  color: var(--main-color);
}

#divers .section-content .event .place {
  color: var(--lighter-black);
  font-size: 13px;
  margin-top: 1em;
}
*/

#divers .section-content .event .date,
#divers .section-content .event .place {
  font-weight: 600;
  color: var(--fade-black);
  font-size: 15px;
}
#divers .section-content .event .place {
  margin-top: 0.3em;
}

#divers .section-content .event .half-img {
  width: 2%;
  margin-right: 0.4em;
}

#divers .section-content .event .download {
  margin-top: 0.3em;
}

#divers .section-content .event a.download-link {
  color: var(--main-color);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/**
 *  Sections styles
 */
.section-btn {
  min-height: 45px;
  transition: all 0.3s ease;
}

.section-btn:hover {
  /* color: var(--main-color);
  background-color: transparent; */
  background-color: var(--lighter-grey);
}

.section #agence {
  background-image: url(/themes/custom/urbalyon/img/backgrounds/fond_1.png);
  background-repeat: no-repeat;
  background-position: right;
}

.section #ressources {
  background-image: url(/themes/custom/urbalyon/img/backgrounds/fond_2.jpg);
  background-repeat: no-repeat;
  background-position: left;
}

#agence.home-section, #productions.home-section, #ressources.home-section {
  padding-bottom: 6rem;
}

#productions.home-section {
 background-color: #F5F7F6;
}

#ressources.home-section {
  background-color: var(--main-color);
}

#ressources.home-section h2, #ressources.home-section h2:before {
  color: #fff;
}

#ressources.home-section .section-btn {
  background-color: #fff;
  color: var(--main-color);
  transition: all 0.3s ease;
}

#ressources.home-section .section-btn:hover {
  color: var(--lighter-grey);
}
.modal-header .head {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.modal-content {
  border-radius: 0;
}

.modal-title {
  margin: 0 0 0 8px;
  font-size: 32px;
  font-weight: bold;
}

.modal-header, .modal-body {
  padding: 25px;
}

.modal-header {
  border: none;
  padding-bottom: 12px;
}

.modal-body {
  padding-top: 12px;
  padding-bottom: 50px;
}

.modal-head__title {
  font-size: 20px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 2em;
}

.modal-head__title.with-sub-description {
  margin-bottom: 1em;
}

.modal-head__title__sub_description {
  margin-bottom: 1.5em;
}


button.close {
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid;
}