

/**********************************************************************************************************************
|                                                   ETUDES DE CAS                                                     |
**********************************************************************************************************************/


.wrapper-etudes-de-cas {
    padding: 57px 0 90px;
    background-color: #F3F5F7;
    background-image: url(../images/shape/shape3.png);
    background-position: top right;
    background-repeat: no-repeat;
    position: relative;
}

.container-etudes-de-cas {
    width: 100%;
}

.parent-section-title-etudes-de-cas {
    width: 50%;
}
  
.wrap-etudes-de-cas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
  
.parent-etudes-de-cas {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
  
.parent-etudes-de-cas::after {
    content: "";
    height: 50%;
    width: 100%;
    background-image: linear-gradient(to top, var(--black-color),transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}
  
.img-etudes-de-cas {
    display: flex;
}
  
.parent-etudes-de-cas .content-item-etudes-de-cas {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0px 30px 25px;
    transform: translateY(74px);
    z-index: 5;
    transition: all 0.3s ease-in-out;
}
    
.cat-list {
    position: relative;
    display: inline-block;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    text-transform: capitalize;
}
    
.content-item-etudes-de-cas h3 {
    margin-bottom: 5px;
    font-size: 23px;
    color: var(--white-color);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    line-height: 1.1;
}
  
.content-item-etudes-de-cas h3 a {
    color: var(--white-color);
}

.content-item-etudes-de-cas {
    width: 76%;
}

.content-item-etudes-de-cas p {
    visibility: hidden;
    opacity: 0;
    color: #d4d4d4;
    line-height: 1.5;
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

.parent-etudes-de-cas:hover .content-item-etudes-de-cas {
    transform: translateX(0);
}

.parent-etudes-de-cas:hover .content-item-etudes-de-cas p {
    visibility: visible;
    opacity: 1;
}

.wrapper-parent-etudes-de-cas:hover  .portfolio-btn .btn-style2 span {
    visibility: visible;
    opacity: 1;
}

.wrapper-parent-etudes-de-cas:hover .portfolio-btn .btn-style2::after {
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.wrapper-parent-etudes-de-cas:hover  .portfolio-btn .btn-style2 {
    opacity: 1;
}

.portfolio-btn:hover .btn-style2 {
    color: var(--second-color);
}

.btn-style2 {
    position: relative;
    display: inline-flex;
    font-size: 24px;
    font-weight: 500;
    color: var(--white-color);
    padding: 7px 17px 7px 17px;
    border: none;
    width: max-content;
    opacity: 1;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-style2 span {
    color: var(--white-color);
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    visibility: hidden;
    opacity: 0;
    margin-left: 10px;
    transition: all 0.5s ease-in-out;
}

.parent-etudes-de-cas:hover::after {
    height: 100%;
}
  
.wrapper-parent-etudes-de-cas   .portfolio-btn .btn-style2::after {
    content: "";
    width: 65px !important;
    height: 65px;
    background-color: var(--primary-color);
    border-radius: 8px;
    position: absolute;
    top: 50%;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    z-index: -1;
    transition: all 0.8s ease;
}

.date-agenda {
  position: absolute;
  width: 65px;
  background: var(--primary-color);
  top: 0;
  right: 0;
  /* padding-bottom: 5px; */
  /* padding-top: 18px; */
  padding: 18px 5px 5px;
  border-radius: 0 0 50px 50px;
  text-align: center;
  text-transform: uppercase;
}

.date-agenda span {
  display: block;
  font-size: 12px;
  /* font-family: 'League Spartan'; */
  font-weight: 500;
  line-height: 20px;
  color: var(--white-color);
}

span.date_in_number {
  position: relative;
  width: 50px;
  background: var(--white-color);
  font-size: 15px;
  /* line-height: 58px; */
  aspect-ratio: 1;
  color: #4a4e56;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  margin: 4px auto 0px;
  /* -webkit-transition: .9s ease-in-out; */
  transition: .9s ease-in-out;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}



/********************************************************************************************************************|
                                                    SERVICES                                                         |
**********************************************************************************************************************/
  
    
    
.wrapper-parent-etudes-de-cas {
    width: 50%;
    padding: 0 15px 30px;
    position: relative;
}

.portfolio-btn {
    position: absolute;
    left: 83%;
    transform: translateX(-50%);
    z-index: 2;
    top: 70%;
}

.img-etudes-de-cas {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.img-etudes-de-cas img {
    object-fit: cover;
    width: 100%;
    height: 430px;
}

.parent-title::before {
    content: "";
    width: 3px;
    height: 100%;
    position: absolute;
    background: var(--primary-color);
    left: 0px;
}

.parent-title {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
}

.parent-etudes-de-cas:hover  .parent-title {
    margin-bottom: 20px;
}

.wrapper-parent-etudes-de-cas .portfolio-btn:hover .btn-style2::after {
    border: 2px solid var(--second-color);
    background: var(--white-color);
}


/* 
 */



 .top-left-galerie {
    width: 65%;
    padding-right: 10px;
  }
  .top-right-galerie {
    width: 35%;
    padding-left: 0;
    /*! padding-right: 35px; */
  }
  .scroller {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scrollbar-color: #0a090b #284d28;
    scrollbar-width: thin;
  }
  
  .item-boc-left-photo {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
  }
  .img-bloc-left-photo {
    height: 370px;
    overflow: hidden;
    position: relative;
  }
  .btn-photo-bloc-left-photo {
    position: absolute;
    top: 10%;
    color: white;
    z-index: 2;
    position: absolute;
    z-index: 10;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #fff;
    top: 50%;
    left: 50%;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    justify-content: center;
    display: flex;
    color: var(--second-color);
    transition: all .3s ease-in-out;
    align-items: center;
    z-index: 2;
  }
  .tite-and-categorie-item-left-photo.row-container {
    padding: 15px 20px;
    background: white;
    z-index: 20;
    border: ;
  }
  .title-photo-bloc-left-photo h3 {
    font-size: 18px;
    text-align: left;
    color: black;
    font-weight: 600;
    margin: 3px 0 4px;
  }
  .title-photo-bloc-left-photo span {
    float: left;
    color: var(--primary-color);
    font-size: 15px;
    margin-top: 0px;
    font-weight: 500;
  }
  .category-bloc-left-photo {
    padding: 6px 13px;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    background: var(--second-color);
    height: fit-content;
  }
  .wrap-item-top-right-photo {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
  }
  .btn-photo-item-right-photo {
    position: absolute;
    left: 26px;
    width: 40px;
    height: 40px;
    top: 30px;
    line-height: 40px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    font-size: 11px;
    transition: all .3s ease-in-out;
    cursor: pointer;
    justify-content: center;
    display: flex;
    align-items: center;
    color: var(--second-color);
    z-index: 4;
  }
  .img-item-right-photo {
    height: 260px;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .img-item-right-photo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.9) 90%);
  }
  .title-photo-item-right-photo {
    position: absolute;
    position: absolute;
    bottom: 0;
    z-index: 20;
    left: 0;
    right: 0;
    padding: 10px 20px 20px;
  }
  .category-item-right-photo {
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 10;
    padding: 6px 13px;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    background: var(--primary-color);
  }
  .title-photo-item-right-photo h3 {
    text-align: left;
    color: #fff;
    float: left;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
  }
  
  .category-img::before {
    width: 100%;
    height: 100%;
    background: #0000003b;
    content: '';
    position: absolute;
    z-index: 2;
  }
  .title-photo-item-right-photo h3 {
  }
  .title-photo-item-right-photo span {
    float: left;
    color: var(--second-color);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 700;
  }
  .img-bloc-left-photo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.6) 90%);
  }
  .wraapper-galerie-photo {
    position: relative;
    padding: 50px 0 40px;
    /* top: -30px; */
    position: relative;
    background-image: url(../images/bg/bg-galerie.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }
  .btn-photo-bloc-left-photo::before {
    height: 85px;
    content: '';
    position: absolute;
    aspect-ratio: 1;
    border: 16px solid #b9b4b475;
    z-index: -1;
    border-radius: 50%;
    animation: pulse-border 1.9s ease-in-out 0s infinite;
    left: 31px;
    bottom: -54px;
  }
  
  .owl-nav.disabled {
    display: block !important;
  }
  .wrap-bloc-bottom-galerie-photo .nav-btn {
    position: absolute;
    bottom: 57%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-bottom: -18px;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    background: var(--second-color);
    font-size: 11px;
    left: -58px;
  }
  .wrap-bloc-bottom-galerie-photo .nav-btn.next-slide {
    right: -5%;
    left: 102%;
  }
  .wrap-bloc-bottom-galerie-photo .owl-dot {
    aspect-ratio: 1;
    background: white;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    top: 10%;
    position: relative;
    margin: 0 6px;
    width: 6px;
  }
  .wrap-bloc-bottom-galerie-photo .owl-dots {
    width: 19%;
    left: 94%;
    position: absolute;
    height: 9%;
    top: -18%;
  }
  .btn-photo-item-right-photo::before {
    height: 60px;
    content: '';
    position: absolute;
    aspect-ratio: 1;
    /*! background: #b9b4b475; */
    z-index: -2;
    border-radius: 50%;
    border: solid 13px #b9b4b475;
    animation: pulse-border 1.9s ease-in-out 0s infinite;
    left: 19px;
    bottom: -40px;
  }
  .item-top-right-galerie.item-bottom-galerie-photo {
    padding: 0 10px;
  }
  .wrap-bloc-bottom-galerie-photo {
    /*! background: #222; */
    /*! padding: 20px 40px 30px; */
  }
  .bloc-bottom-galerie-photo {
    background: #222;
    padding: 20px 40px 30px;
    margin-top: 29px;
    border-radius: 5px;
  }
  .title-bloc-bottom-galerie-photo {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
  }
  
  .wraapper-galerie-photo::before {
    position: absolute;
    height: 100%;
    content: '';
    width: 100%;
    /*! background: #191919; */
    top: 0;
  }
  .img-item-right-photo img {
    height: 100%;
  }
  .first-tite-left-galerie {
    text-align: left;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    float: left;
  }
  .first-tite-left-galerie span {
    margin-left: 20px;
    color: var(--second-color);
    font-weight: 600;
    padding-top: 14px;
    font-size: 13px;
  }
  .btn-tite-left-galerie {
    float: right;
    color: #fff;
    padding: 10px 40px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    background: var(--primary-color);
  }
  .btn-tite-left-galerie a i {
    margin-left: 6px;
  }
  
  .date-item-botttom-banniere i {
    margin-right: 5px;
    color: var(--primary-color);
  }
  .date-item-botttom-banniere span i {
    margin-right: 7px;
  }
  .title-photo-item-right-photo i {
    margin-right: 7px;
    color: var(--second-color);
  }
  
  .wrap-bloc-bottom-galerie-photo .owl-dot.active::before {
    background: transparent;
    width: 20px;
    height: 20px;
    position: absolute;
    content: '';
    left: -7px;
    /*! background: red; */
    top: -7px;
    border-radius: 50%;
    border: 1px solid white;
  }
  .wrap-bloc-bottom-galerie-photo .owl-dot.active {
    background: var(--second-color);
  }
  .title-photo-bloc-left-photo i {
    color: var(--primary-color);
    margin-right: 7px;
  }
  .img-item-right-photo img {
  }
  .img-item-right-photo img {
    width: 100%;
    position: relative;
    object-fit: cover;
  }
  .boc-title-left-galerie {
    margin-bottom: 30px;
    position: relative;
  }
  
  .item-top-right-galerie {
    padding-bottom: 15px;
  }
  .wrap-top-right-galerie.scroller {
    padding-right: 13px;
  }
  /* css pour galerie */

.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    opacity: 0;
    flex-direction:row-reverse;
}

.gallery a {
    display: flex;
    width: 100%;
    position: absolute;
    height: 100%;
    flex-wrap: wrap;
}

.gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* fin  */