
.popup-title {
  font-family: FuturaNewBold, sans-serif;
  font-size: 19px;
  color: #377d21;
  margin-bottom: 5px;
}

.popup .popup-section {
  border-radius: 0;
  border: 1px solid #377d21;
}

.popup .popup-content {
  padding: 35px 20px 25px;
}

.popup .popup-content ul li::before {
  content: '- ';
}

.popup .popup-content ul li,
.popup .popup-content p {
  font-family: FuturaNewBook, sans-serif;
  font-size: 15px;
  color: #848484;
  margin-bottom: 6px;
}

.popup .popup-content .close,
.popup .popup-content .close:hover,
.popup .popup-content .close:focus {
  position: absolute;
  right: 10px;
  top: 5px;
  opacity: 1;
  color: #377d21;
}

.profile_picture-popup {
  width: 86px;
  height: 86px;
  overflow: hidden;
}

.profile_content-popup {
  margin: 0 20px;
  text-align: left;
}

.profile_content-popup span {
  color: #696969;
  text-transform: uppercase;
  font-family: FuturaNewBold, sans-serif;
}

.popup .popup-content ul li::before {
  color: #377d21;
}

/* ===== Org chart ===== */

.organizational-chart {
  margin-bottom: 50px;
}

.profile-item--1 .profile {
 width: 360px;
}

.profile .profile-picture {
  border-radius: 50%;
  margin-bottom: -30px;
  /* width: 86px; */
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

.profile-content {
  padding: 10px;
  background: #ffffff;
  transition: .3s;
  text-align: center;
}

.profile-content span,
.profile-content a,
.profile-content i {
  display: block;
}

.profile:hover .profile-content {
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
}

.profile .profile-function {
  font-family: FuturaNewBook, sans-serif;
  font-size: 12px;
  color: #000000;
  margin-bottom: 8px;
  min-height: 0px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.profile-item--3 .profile .profile-function {
  min-height: 0px;
}

.profile .profile-function--dg {
  color: #377d21;
}

.profile .profile-name {
  font-family: FuturaNewDemi, sans-serif;
  font-size: 15px;
  color: #000;
  min-height: 0px;
  margin-bottom: 0px;
  font-weight: bold;
}

.profile .profile-mail,
.profile .profile-phone {
  font-family: FuturaNewBook, sans-serif;
  font-size: 15px;
  color: #6a7271;
  margin-bottom: 5px;
}

.profile .profile-missions {
  background: #377d21;
  color: #ffffff;
  padding: 5px 25px;
  font-family: FuturaNewBold, sans-serif;
  font-size: 15px;
  margin-top: 15px;
}

.profile-item--1,
.profile-item--2,
.profile-item--3,
.profile-item--4,
.profile-item--5 {
  width: 100%;
  display: block;
  position: relative;
}


/*sk*/


/*.profile-item--1, .profile-item--2, .profile-item--3, .profile-item--4, .profile-item--5 {
    z-index: 9;
}*/

profile-item--1 .profile .profile-function {
  min-height: auto;
}

.profile-item--2 {
  padding-left: 70px;
  padding-right: 70px;
  max-width: 1238px;
  margin: 0 auto;
  top: 0px;
  min-height: 180px;
}

.profile-item--3 {
  background-repeat: no-repeat;
  background-position: 50% 8%;
  margin-top: -50px;
  margin-top: 0;
  text-align: center;
}

.prfl-itm--4--2 {
  background-position: 50% -60%;
  padding-left: 150px;
}

.prfl-itm--4--3 {
  background-position: 50% -60%;
  padding-left: 20px;
}

.profile-item--1:after {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-left: 1px dashed #377d21;
  top: 100%;
  height: 160%;
  left: 50%;
}

.profile-item--2:before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  width: 70%;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-item--3:before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: -30px;
  width: 68.3%;
  left: 50%;
  transform: translateX(-50%);
}

.profile-item--1 .profile {
  margin: 0 auto;
}

.profile-item--2 .profile {
  position: relative;
  display: inline-block;
  margin-top: -15px;
}

.profile-item--2 .profile:last-child {
  float: right;
  min-width: 300px;
}

.profile-item--3 .profile {
  display: inline-block;
  position: relative;
  /*sk*/
  padding: 0 5px;
}

.profile-item--3 .profile:before {
  content: "";
  display: inline-block;
  position: absolute;
  /* z-index: -1; */
  z-index: 0;
  border-left: 1px dashed #377d21;
  top: -30px;
  height: 30%;
}

.profile-item--3 .profile-content,
.profile-item--4 .profile-content {
  position: relative;
}

.profile-item--4,.profile-item--5{
  display: block !important;
}

.profile-item--4 .profile {
  display: inline-block;
  margin-left: 50px;
  max-width: 360px;
}

.profile-item--5 .profile {
  display: inline-block;
  margin-left: 15px;
  margin-right: 30px;
  width: 200px;
  max-width: 360px;
}



.profile .profile-function-name {
  display: flex;
  justify-content: left;
  align-items: left;
}

.profile .fa-angle-down {
    color: #377d21;
    font-size: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.active-organizational-chart {
  border-bottom: 5px solid #377d21;
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
}

.prfl-itm--chld--4,
.prfl-itm--chld--5 {
  padding-top: 90px;
}

.prfl-itm--chld--4 .profile,
.prfl-itm--chld--5 .profile {
  position: relative;
}

.prfl-itm--chld--5 .profile,
.prfl-itm--chld--5 .profile .profile-content {
  position: relative;
}

.prfl-itm--chld--5 .profile:before {
  content: "";
  display: inline-block;
  position: absolute;
  /* z-index: -1; */
  z-index: 0;
  border-left: 1px dashed #377d21;
  top: -40px;
  height: 30%;
  left: 50%;
}

.active--profile-item--3:after,
.active--profile-item--4:after {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-left: 1px dashed #377d21;
  top: 100%;
  height: 50px;
  left: 51%;
}

.prfl-itm--chld--4:first-of-type:before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  left: 98px;
  width: 63.4%;
}

.prfl-itm--chld--4 .profile:before {
  content: "";
  display: inline-block;
  position: absolute;
  /* z-index: -1; */
  z-index: 0;
  border-left: 1px dashed #377d21;
  top: -40px;
  height: 30%;
  left: 50%;
}

.prfl-itm--chld--4:first-of-type {
  padding-left: 20%;
  justify-content: left;
}

.prfl-itm--chld--4:nth-of-type(2):before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  width: 21.6%;
  left: 29.1%;
}

.prfl-itm--chld--4:nth-of-type(2) {
  padding-left: 180px;
}

.prfl-itm--chld--4:nth-of-type(2) {
  padding-left: 180px;
  justify-content: left;
}

.prfl-itm--chld--4:nth-of-type(3):before {
  content: "";
  display: inline-block;
  position: absolute;
  /*sk*/
  /*z-index: -1;*/
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  width: 75.1%;
  left: 18.9%;
}

.prfl-itm--chld--4:nth-of-type(3) {
  padding-left: 10%;
}


/*sk*/


/*.prfl-itm--chld--4:nth-of-type(4) .profile:first-of-type .profile-content {
    padding-top: 88px;
}
*/


/*end sk*/

.prfl-itm--chld--4:nth-of-type(4) .profile {
  width: 210px;
}

.prfl-itm--chld--4:nth-of-type(4) {
  padding-left: 37%;
}

.prfl-itm--chld--4:nth-of-type(4):before {
  content: "";
  display: inline-block;
  position: absolute;
  /*sk*/
  /*z-index: -1;*/
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  width: 33.3%;
  right: 32.7%;
  left: initial;
}

.prfl-itm--chld--4:nth-of-type(5) {
  padding-left: 10%;
  column-gap: 20px;
}

.prfl-itm--chld--4:nth-of-type(5) .profile {
  margin-left: 15px;
}

.prfl-itm--chld--4:nth-of-type(5):before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  width: 64.6%;
  right: 15.6%;
  left: initial;
}

.prfl-itm--chld--5 {
  padding-left: 223px;
  justify-content: left !important;
}


/*sk i add after to p-5-8 and p-5-2 and p-5-1 and p-5-10 class ORG*/

.prfl-itm--chld--5:before,
.prfl-itm--chld--5.p-5-2:after,
.prfl-itm--chld--5.p-5-8:after,
.prfl-itm--chld--5.p-5-1:after,
.prfl-itm--chld--5.p-5-10:after {
  content: "";
  display: inline-block;
  position: absolute;
  /*sk*/
  /*z-index: -1;*/
  z-index: 0;
  border-top: 1px dashed #377d21;
  top: 50px;
  width: 51%;
  left: 16%
}


/*sk*/

.prfl-itm--chld--5.p-5-9:before {
  left: 14%;
  width: 35%;
}

.profile-item--5 .prfl-itm--chld--5.p-5-2:after,
.profile-item--5 .prfl-itm--chld--5.p-5-1:after {
  width: 0%
}

.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--12:after,
.prfl-itm--chld--5.p-5-8:after,
.prfl-itm--chld--5.p-5-1:after,
.prfl-itm--chld--5.p-5-10:after {
  width: 33.5%;
  right: 14%;
  left: initial;
}

.prfl-itm--chld--5.p-5-1:after,
.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--11:after {
  width: 14.5%;
  right: 39%;
  left: initial;
}

.prfl-itm--chld--5.p-5-8:after,
.prfl-itm--chld--5.p-5-10:after {
  right: 7%;
}


/* end sk*/

.prfl-itm--chld--4:nth-of-type(3) .active--profile-item--4:nth-of-type(3):after {
  border-left: 0;
}

.prfl-itm--chld--5:nth-of-type(4):before {
  left: 36%;
}


/*sk*/


/*.prfl-itm--chld--5:nth-of-type(7):before {
    border-top: 0;
}

.prfl-itm--chld--5:nth-of-type(7) {
    padding-top: 0;
}

.prfl-itm--chld--5:nth-of-type(9):before {
    width: 60%;
}
.prfl-itm--chld--5:nth-of-type(9) .profile:first-of-type .profile-content {
    padding-top: 66px;
}
*/


/*end sk*/

.prfl-itm--chld--5:nth-of-type(4) {
  padding-left: 220px;
}


/* i replaced it inside sk ^| */

.prfl-itm--chld--5:nth-of-type(10):before {
  width: 40%;
  /*sk*/
  /*left: 13.3%;*/
  left: 20%;
}

.prfl-itm--chld--5:nth-of-type(11):before {
  width: 60%;
}

.prfl-itm--chld--5:nth-of-type(12):before {
  /* width: 43%; */
}

.prfl-itm--chld--5:nth-of-type(13):before {
  width: 67.7%;
}

/* ===== / Org chart ===== */
@media (max-width: 1024px) {
  .profile-item--3 .profile-content,
  .profile-item--4 .profile-content {
    padding: 45px 10px 8px;
  }
}

@media (max-width: 768px) {
  .profile-item--3 .profile {
    max-width: 134px;
  }
  .profile-item--3 .profile-content,
  .profile-item--4 .profile-content {
    padding: 45px 10px 8px;
  }
  .profile {
    width: 150px;
  }
  .prfl-itm--chld--4,
  .prfl-itm--chld--5 {
    padding-top: 50px;
  }
  .prfl-itm--chld--4:first-of-type,
  .prfl-itm--chld--4:nth-of-type(2),
  .prfl-itm--chld--4:nth-of-type(3) {
    padding-left: 0px;
  }
}

@media (max-width: 750px) {
  .profile-item--2 {
    top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .profile-item--2 .profile {
    margin-top: 15px;
  }
  .profile-item--3 {
    margin-top: 15px;
  }
  .profile-item--3:before {
    border-top: 0;
  }
  .active--profile-item--3:after,
  .active--profile-item--4:after {
    border-left: 0;
  }
  .profile-content {
    padding: 45px 10px 20px;
  }
  /*sk*/
  /* .profile-item--1:after {
      border-left: 0;
  }
  .profile-item--2:before {
      border-top: 0;
  }*/
  .prfl-itm--chld--4:first-of-type:before {
    border-top: 0;
  }
  .prfl-itm--chld--4:nth-of-type(2):before {
    border-top: 0;
  }
  .prfl-itm--chld--5:before {
    border-top: 0;
  }
  .prfl-itm--chld--4:nth-of-type(3):before {
    border-top: 0;
  }
  .prfl-itm--chld--4:nth-of-type(4):before {
    border-top: 0;
  }
  .prfl-itm--chld--4:nth-of-type(5):before {
    border-top: 0;
  }
  .profile-item--4 .profile {
    margin-left: 0;
  }
  .profile-item--5 .profile {
    margin-left: 15px;
    margin-right: 15px;
  }
}

/*org sk 10-07*/

.organizational-chart .profile-item--3,
.organizational-chart .profile-item--4,
.organizational-chart .profile-item--5,
.prfl-itm--chld--4,
.prfl-itm--chld--5,
.prfl-itm--chld--3 {
  display: flex;
  justify-content: center;
}

.organizational-chart .profile {
  flex: 1;
}

.organizational-chart .profile-content {
  height: 100%;
}

.profile .modal .close {
  padding: 0;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.profile .modal {
  text-align: justify;
}

.profile .fa-angle-down {
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
}

.organizational-chart .profile-item--3 {
  margin-top: 61px;
  width: 100%;
  column-gap: 20px;
}

.organizational-chart .profile-item--4 {
  column-gap: 20px;
}

.profile-item--3:before {
  width: 100%;
}

.prfl-itm--chld--4:nth-of-type(5):before {
  width: 86%;
  right: 0;
}

.prfl-itm--chld--5.p-5-2#prftab2-pprftab-prfl-itm--chld--4--12::before,
.prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--11::before {
  content: none;
}

.prfl-itm--chld--5.p-5-2#prftab2-pprftab-prfl-itm--chld--4--12::after {
  width: 40.5%;
  right: 17%;
}

.prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--11::after {
  width: 22.5%;
  right: 35%;
}

.prfl-itm--chld--5.p-5-9#prftab2-pprftab-prfl-itm--chld--4--9::before {
  left: 16%;
  width: 53.5%;
}

.prfl-itm--chld--4.p-4-4#prftab-prfl-itm--chld--4--4::before {
  width: 46%;
  right: 6%;
}

.prfl-itm--chld--5.p-5-8#prftab2-pprftab-prfl-itm--chld--4--8::before {
  width: 20%;
  left: 32%;
}

.prfl-itm--chld--5.p-5-8#prftab2-pprftab-prfl-itm--chld--4--8::after {
  right: 26%;
  width: 22%;
}

.prfl-itm--chld--5.p-5-7#prftab2-pprftab-prfl-itm--chld--4--7::before {
  width: 20.5%;
  left: 42.2%;
}


.prfl-itm--chld--5.p-5-6#prftab2-pprftab-prfl-itm--chld--4--6{
  justify-content: center !important;
}

.prfl-itm--chld--5.p-5-6#prftab2-pprftab-prfl-itm--chld--4--6::before {
  width: 43%;
  left: 42%;
}

.prfl-itm--chld--5.p-5-5#prftab2-pprftab-prfl-itm--chld--4--5::before {
  width: 51%;
  left: 18.5%;
}

.prfl-itm--chld--4.p-4-2#prftab-prfl-itm--chld--4--2::before {
  width: 56%;
  left: 243px;
}

.prfl-itm--chld--5.p-5-4#prftab2-pprftab-prfl-itm--chld--4--4{
  justify-content: center !important;
}
.prfl-itm--chld--5.p-5-4#prftab2-pprftab-prfl-itm--chld--4--4::before {
  left: 38%;
  width: 35%;
}

.prfl-itm--chld--5.p-5-3#prftab2-pprftab-prfl-itm--chld--4--3::before {
  width: 38.4%;
  left: 21.2%;
}


.prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--1::before {
  left: 20%;
  width: 42%;
}


.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--8
{
  justify-content: right !important;
}

.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--8::before{
  left: 31% !important;
  width: 24% !important;
}
.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--8::after{
  right: 6% !important;
  width: 43% !important;
}

.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--7{
    padding-left: 223px;
    justify-content: right !important;
}

.profile-item--5 #prftab2-pprftab-prfl-itm--chld--4--7::before{
    width: 40.5% !important;
    left: 52.2% !important;
}


#prftab2-pprftab-prfl-itm--chld--4--7 {
  min-height: 0;
}


.profile-item--2,
.profile-item--1 {
  min-height: auto;
}

.profile-item--2 .profile,
.profile-item--1 .profile {
  flex: none;
}

.profile-item--2 .profile-function-name,
.profile-item--1 .profile-function-name {
  display: block;
  min-height: auto;
}

.profile-item--2 .profile-name,
.profile-item--1 .profile-name {
  margin-bottom: 0;
}

.profile-item--2 .fa-angle-up,
.profile-item--1 .fa-angle-up,
.profile-item--1 .fa-angle-down {
  display: none;
}

.profile-name {
  margin: 0;
}


#prftab2-pprftab-prfl-itm--chld--4--9 .profile-function-name {
  min-height: 0px;
}

.prfl-itm--chld--5.p-5-9#prftab2-pprftab-prfl-itm--chld--4--9 .profile::before {
  height: 44%;
}

#prftab2-pprftab-prfl-itm--chld--4--12::before {
  width: 36%;
  right: 122px;
  left: auto;
}

#prftab2-pprftab-prfl-itm--chld--4--11::before {
  width: 70%;
  left: 26%;
}

.profile-item--5 .prfl-itm--chld--5 .p-5-10::before{
  width: 34%;
  left: 15%;
}

.profile-item--5 .prfl-itm--chld--5 .p-5-9::before{
    left: 17%;
    width: 33.5%;
}

.prfl-itm--chld--5.p-5-11{
  padding-left: 25%;
}
.prfl-itm--chld--5.p-5-11::before{
  width: 52%;
}


/*organigramme responsive*/

@media (max-width: 1199px) {
  .profile-item--3:before {
    width: 79%;
  }
  .prfl-itm--chld--4.p-4-5#prftab-prfl-itm--chld--4--5::before {
    width: 66%;
    right: 10.5%;
  }
  .prfl-itm--chld--5.p-5-2#prftab2-pprftab-prfl-itm--chld--4--12::after {
    width: 47.3%;
    right: 12%;
  }
  .prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--11::after {
    width: 25.5%;
    right: 33.5%;
  }
  .prfl-itm--chld--5.p-5-10#prftab2-pprftab-prfl-itm--chld--4--10::before {
    width: 31%;
    left: 16%;
  }
  .prfl-itm--chld--5.p-5-10#prftab2-pprftab-prfl-itm--chld--4--10::after {
    right: 12%;
    width: 45.5%;
  }
  .prfl-itm--chld--5.p-5-9#prftab2-pprftab-prfl-itm--chld--4--9::before {
    left: 24%;
    width: 41%;
  }
  .prfl-itm--chld--4.p-4-4#prftab-prfl-itm--chld--4--4::before {
    width: 25%;
    right: 24.5%;
  }
  .prfl-itm--chld--5.p-5-8#prftab2-pprftab-prfl-itm--chld--4--8::before {
    width: 31%;
    left: 28.58%;
  }
  .prfl-itm--chld--5.p-5-8#prftab2-pprftab-prfl-itm--chld--4--8::after {
    right: 22.5%;
    width: 23%;
  }
  .prfl-itm--chld--5.p-5-7#prftab2-pprftab-prfl-itm--chld--4--7::before {
    width: 80%;
    left: 41.2%;
  }
  .prfl-itm--chld--4.p-4-3#prftab-prfl-itm--chld--4--3::before {
    width: 50%;
    left: 16.5%;
  }
  .prfl-itm--chld--5.p-5-6#prftab2-pprftab-prfl-itm--chld--4--6::before {
    width: 24%;
    left: 41%;
  }
  .prfl-itm--chld--5.p-5-5#prftab2-pprftab-prfl-itm--chld--4--5::before {
    width: 32%;
    left: 33%;
  }
  .prfl-itm--chld--4.p-4-2#prftab-prfl-itm--chld--4--2::before {
    width: 44%;
    left: 31%;
  }
 
  
  .profile-item--4 .prfl-itm--chld--4.p-4-1#prftab-prfl-itm--chld--4--1::before {
    justify-content: left;
    left: 84px;
    width: 65.4%;
  }
  .prfl-itm--chld--5.p-5-2#prftab2-pprftab-prfl-itm--chld--4--2::before {
    width: 54%;
    left: 16%;
  }
  .prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--1::before {
    left: 41%;
    width: 24%;
  }

  .prfl-itm--chld--4.p-4-1#prftab-prfl-itm--chld--4--1::before{
    left: 112px;
    width: 62.4%;
  }
  .profile {
    width: 190px;
    max-width: 190px;
  }
}

@media (max-width: 991px) {
  /*remove before*/
  .profile-item--3 .profile:before {
    content: none;
  }
  /*remove before*/
  .organizational-chart .profile-item--3,
  .organizational-chart .profile-item--4,
  .organizational-chart .profile-item--5,
  .prfl-itm--chld--4,
  .prfl-itm--chld--5,
  .prfl-itm--chld--3 {
    display: inline-block;
    justify-content: initial;
  }
  .organizational-chart .profile {
    flex: none;
  }
  .profile-item--3 .profile .profile-function {
    min-height: 0;
  }
  .profile-item--3 .profile-content,
  .profile-item--4 .profile-content {
    padding: 30px 5px;
  }
  .organizational-chart .profile-item--3 {
    margin-top: 0px;
  }

  .organizational-chart .profile-item--3 .profile-content{
    width: 1638px;
  }
  .profile-item--2 .profile-content,
  .profile-item--1 .profile-content {
    padding: 15px 5px;
  }
  .page_organigramme .container {
    width: 95%;
    max-width: 100%;
  }
  /*organigrame*/
  .profile .modal-content p {
    margin-bottom: 8px;
  }
  .profile-item--1 {
    margin-bottom: 60px;
  }

  .profile-item--1 .profile,.profile-item--2 .profile{
    width: 360px;
  }
  .profile-item--2:before {
    width: 27%;
    left: 50%;
    transform: translateX(-50%);
  }
  .profile-item--1:after {
    height: 240%;
  }
  .profile-item--3:before {
    content: none;
  }
  .profile-item--3 .profile:nth-child(odd) .profile-content::before {
    content: "";
    position: absolute;
    border-top: 1px dashed #a3b80d;
    width: 60%;
    left: 100%;
  }
  .profile-item--3 .profile,
  .profile-item--2 .profile {
    display: inline-block;
    max-width: 50%;
    position: relative;
    padding: 0 5px;
    width: 40%;
    margin-bottom: 30px;
  }
  .profile-item--1 .profile {
    width: 40%;
    max-width: 50%;
  }
  .profile-item--3 .profile:nth-child(odd),
  .profile-item--2 .profile:nth-child(odd) {
    float: left;
  }
  .profile-item--3 .profile:nth-child(even),
  .profile-item--2 .profile:nth-child(even) {
    float: right;
  }
  .profile-item--3 .profile:last-child .profile-content::before {
    width: 27%;
  }
  .profile-item--3 {
    position: relative;
    display: inline-block;
  }
  .profile-item--3::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 0;
    border-left: 1px dashed #a3b80d;
    top: 0;
    height: 72%;
    left: 50%;
  }
  .profile-item--4,
  .profile-item--5,
  .profile-content .fa {
    display: none !important;
  }
  .profile-item--2 {
    padding: 0;
  }
}

/* .profile-image img{
  width: 60px;
  height: 60px;
  object-fit: cover;
} */



@media (max-width: 1737px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 123px !important;
    top: -17px !important;
    left: -16px !important;
    width: 134px !important;
  }
}

@media (max-width: 1380px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 135px !important;
    top: -16px !important;
    left: -16px !important;
    width: 126px !important;
  }
}

@media (max-width: 1304px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 139px !important;
    width: 133px !important;
  }
}

@media (max-width: 1278px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 135px !important;
  }

  .organizational-chart .profile-item--3 {
      column-gap: 9px;
    }
}

@media (max-width: 1278px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 138px !important;
  }

}
@media (max-width: 1234px) {
  .organizational-chart .profile-item--3 .profile .profile-content::before{
    height: 138px !important;
  }

}

@media (max-width: 1024px) {
   .organizational-chart .profile .profile-content::before{
    display: none;
  }

   .organizational-chart .profile-item--1 .profile .profile-content{
    /* border-radius: 0 !important; */
    border-left: 5px solid #259790;
  }

  .organizational-chart .profile-item--2 .profile .profile-content{
    border-left: 5px solid #6BBC38;
  }

  .organizational-chart .profile-item--3 .profile .profile-content{
    border-left: 5px solid #FAC300;
  }
  .organizational-chart .profile-item--4 .profile .profile-content{
    border-left: 5px solid #FAC300;
  }
  .organizational-chart .profile-item--5 .profile .profile-content{
    border-left: 5px solid #FAC300;
  }

}

@media (max-width: 1200px) {

  .wrap-profile-custum {
    width: 100%;
  }
  .profile-content{
    flex-direction: column;
    align-items: center;
  }

  .profile-item--1:after{
    height: 35%;
  }

}

@media (max-width: 991px) {
  .organizational-chart .profile-item--3 .profile-content{
    width: auto;
  }

   .profile-item--1:after{
    height: 92px;
  }
}

@media (max-width: 759px) {
  .profile-item--2 .profile:nth-child(2) .profile-function {
    min-height: 44px;
  }
}

@media (max-width: 740px) {
  .profile-item--3 .profile:nth-child(2) .profile-name {
    min-height: 66px;
  }
}

@media (max-width: 559px) {
  .profile-item--3 .profile:nth-child(2) .profile-name {
    min-height: 44px;
  }
}

@media (max-width: 441px) {
  .profile-item--2 .profile:nth-child(2) .profile-function {
    min-height: 66px;
  }
  .profile-item--3 .profile:nth-child(2) .profile-name {
    min-height: 55px;
  }
  .profile-item--3::after {
    top: -35px;
    height: 76%;
  }
}

@media (max-width: 389px) {
  .profile-item--2 .profile:nth-child(2) .profile-name {
    min-height: 44px;
  }
  .profile-item--3::after {
    top: -45px;
    height: 77%;
  }
}

@media (max-width: 375px) {
  .profile-item--3 .profile,
  .profile-item--2 .profile,
  .profile-item--1 .profile {
    padding: 0;
    max-width: 45%;
    width: 45%;
  }
  .profile-item--3 .profile:last-child .profile-content::before {
    width: 13%;
  }
  .profile-item--2 .profile:nth-child(2) .profile-name {
    min-height: 0;
  }
  .profile-item--2 .profile:nth-child(2) .profile-function {
    min-height: 0;
  }
}

@media (max-width: 372px) {
  .profile-item--2 .profile:nth-child(2) .profile-function {
    min-height: 66px;
  }
}

@media (max-width: 326px) {
  .profile-item--2 .profile:nth-child(2) .profile-name {
    min-height: 44px;
  }
}


/*end of organigramme responsive*/

/* Mes styles */

.org_builder{
  background-color: #f4f3f2;
}
.org_builder .container{
  max-width: 100%;
  width: 100%;
}
.organizational-chart{
  margin-top: 140px;
}

.organizational-chart .profile-content .wrap-profile-custum{
  width: calc(100% - 70px);
  margin: 0 auto;
	    text-align: left;
    padding-left: 5px;
    padding-top: 5px;
}

.profile-item--1 .wrap-profile-custum{
  width: 100%;
}
.organizational-chart .profile .profile-content{
  position: relative;
  min-width: 100%;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(91deg, #D3D4D1 0%, #ffffff 68%);
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
  display: flex;
}

.organizational-chart .profile .profile-content::before{
    content: '';
    position: absolute;
    width: 101px;
    height: 95px;
    border: 13px solid #B67A7A;
}

.organizational-chart .profile-item--1 .profile .profile-content::before{
    top: -16px;
    left: -15px;
    width: 101px;
    height: 95px;
    border-radius: 50%;
    clip-path: inset(0 50% 0 0);
    border: 13px solid #B67A7A;
}

.organizational-chart .profile-item--2 .profile .profile-content::before{
    top: -16px;
    left: -16px;
    width: 118px;
    height: 112px;
    border-radius: 50%;
    clip-path: inset(0 50% 0 0);
    border: 13px solid #9DC44C;
}

.organizational-chart .profile-item--3 .profile .profile-content::before{
    top: -16px;
    left: -15px;
    width: 118px;
    height: 112px;
    border-radius: 50%;
    clip-path: inset(0 50% 0 0);
    border: 13px solid #E39A39;
}

.organizational-chart .profile-item--4 .profile .profile-content::before{
    top: -16px;
    left: -15px;
    width: 118px;
    height: 112px;
    border-radius: 50%;
    clip-path: inset(0 50% 0 0);
    border: 13px solid #7CBFE6;
}

.organizational-chart .profile-item--5 .profile .profile-content::before{
    top: -16px;
    left: -15px;
    width: 118px;
    height: 112px;
    border-radius: 50%;
    clip-path: inset(0 50% 0 0);
    border: 13px solid #78C599;
}

.organizational-chart .profile .profile-content .niveau{
  position: absolute;
  width: 84px;
  height: 30px;
  background: green;
  border-radius: 60px;
  top: -15px;
  right: 28px;
  color: #fff;
  font-size: 12px;
}


.profile .profile-function{
  margin: 0;

}

.organizational-chart .profile .profile-content .profile-image{
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
}
.organizational-chart .profile-item--1 .profile .profile-content .profile-image{
  width: 120px;
  height: 120px;
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
}

.organizational-chart .profile-item--1 .profile .profile-content .profile-image img{
  width: 100% !important;
}

.prfl-itm--chld--5.p-5-12{
  justify-content: right !important;
}

.prfl-itm--chld--5.p-5-12::before{
  width: 32%;
  left: 61%;
}