

/*--------------------------------------------------------------
# Hero Section - Gestion du caroussel (Bannière d'accueil)
--------------------------------------------------------------*/
#hero {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: calc(100vh - 110px);
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

#hero .carousel-item {
  width: 100%;
  height: calc(100vh - 110px);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  overflow: hidden;
}

#hero .carousel-item::before {
  content: "";
  /* background-color: rgba(13, 30, 45, 0.6); */
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

/* Slider 1 */
#hero  #slide-1 {
      background-image: url('../img/slide/slider-une-seule-mission-servir-le-vaillant-peuple-ivoirien-depuis-1946.png');
    }

    @media (max-width: 1024px) {
    #hero  #slide-1 {
        background-image: url('../img/slide/slider-une-seule-mission-servir-le-vaillant-peuple-ivoirien-depuis-1946-m.png');
      }
    }


/* Slider 2 */
  #hero  #slide-2 {
      background-image: url('../img/slide/slider-une-seule-vision-unifier-dynamiser-et-moderniser-un-parti-conquerant.png');
    }

    @media (max-width: 1024px) {
    #hero  #slide-2 {
        background-image: url('../img/slide/slider-une-seule-vision-unifier-dynamiser-et-moderniser-un-parti-conquerant.png');
      }
    }


/* Slider 3 */
  #hero  #slide-3 {
      background-image: url('../img/slide/yako-condoleances-du-president-tidjane-thiam-a-la-famille-bedie-au-pdci-rda-et-a-la-nation-ivoirienne.png');
    }

    @media (max-width: 1024px) {
    #hero  #slide-3 {
        background-image: url('../img/slide/yako-condoleances-du-president-tidjane-thiam-a-la-famille-bedie-au-pdci-rda-et-a-la-nation-ivoirienne-m.png');
      }
    }


  /* Slider 4 */
  #hero  #slide-4 {
      background-image: url('../img/slide/slider-qui-sommes-nous-nous-sommes-le-parti-democratique-de-cote-divoire-pdci.png');
    }

    @media (max-width: 1024px) {
    #hero  #slide-4 {
        background-image: url('../img/slide/slider-qui-sommes-nous-nous-sommes-le-parti-democratique-de-cote-divoire-pdci.png');
      }
    }


  /* Slider 5 */
  #hero  #slide-5 {
      background-image: url('../img/slide/slider-hommage-en-memoire-du-president-henri-konan-bedie.png');
    }

    @media (max-width: 1024px) {
    #hero  #slide-5 {
        background-image: url('../img/slide/slider-hommage-en-memoire-du-president-henri-konan-bedie-m.png');
      }
    }



#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#hero .carousel-content {
  text-align: left;
}

@media (max-width: 992px) {

  #hero,
  #hero .carousel-item {
    height: calc(100vh - 70px);
  }

  #hero .carousel-content.container {
    padding: 0 50px;
  }
}

#hero h2.text-gros {
  font-weight: 800 !important;
  color: #fff;
  font-size: 52px;
  letter-spacing: 10;
  line-height: 1;
}

#hero p.text-fin {
  width: 80%;
  animation-delay: 0.4s;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

 @media (max-width: 768px) {
    #hero h2.text-gros {
        font-weight: 800 !important;
        color: #fff;
        font-size: 28px;
        letter-spacing: 10;
        line-height: .9;
        text-align: center;
      }

      #hero p.text-fin {
        width: 100%;
        animation-delay: 0.4s;
        color: #fff;
        text-transform: uppercase;
        margin: 0;
        text-align: center;
      }

      #hero .carousel-container .carousel-content{
        position: absolute;
        bottom: 50px;
        left: 0;
        right: 0;
      }
    }


#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 35px;
  line-height: 1;
  width: auto;
  height: auto;    
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 10px;
}

#hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  animation-delay: 0.8s;
  border: 0;
  background: #428bca;
}

#hero .btn-get-started:hover {
  background: #1c5c93;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (max-height: 500px) {

  #hero,
  #hero .carousel-item {
    height: 120vh;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}
