
.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 {
  text-align: center;
  width: 185px;
}

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

.profile-content {
  border-left: 1px solid #377d21;
  border-right: 1px solid #377d21;
  border-top: 1px solid #377d21;
  border-bottom: 5px solid #d4d6d6;
  padding: 20px 20px 20px;
  background: #ffffff;
  transition: .3s;
}

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

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

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

.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: #377d21;
  min-height: 0px;
  margin-bottom: 0px;
}

.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: 900px;
  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: 140%;
  left: 50%;
}

.profile-item--2:before {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 0;
  border-top: 1px dashed #377d21;
  width: 50%;
  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;
}

.profile-item--3 .profile {
  display: inline-block;
  max-width: 185px;
  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;
  padding: 20px 12px 8px;
}

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

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

.profile .profile-function-name {
  min-height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile .fa-angle-down {
  color: #377d21;
  font-size: 30px;
  margin-top: 5px;
  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%;
}

.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: 178px;
  width: 38.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%;
}

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

.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;
}

.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: 43.1%;
  left: 22.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: 20%;
}

.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%;
}

.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: 70px;
}


/*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: 21%;
  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: 31.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: 20%;
}


/* 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%;
}

.profile-content a:hover span {
  color: #377d21;
}


/* ===== / 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: 0;
  left: 0;
  right: 0;
}

.organizational-chart .profile-item--3 {
  margin-top: 50px;
}

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

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

.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-10#prftab2-pprftab-prfl-itm--chld--4--10::before {
  width: 15%;
  left: 32%;
}

.prfl-itm--chld--5.p-5-10#prftab2-pprftab-prfl-itm--chld--4--10::after {
  right: 27%;
  width: 26.5%;
}

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

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

.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--4.p-4-3#prftab-prfl-itm--chld--4--3::before {
  width: 42%;
  left: 36.5%;
}

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

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

.prfl-itm--chld--4.p-4-2#prftab-prfl-itm--chld--4--2::before {
  width: 37%;
  left: 34%;
}

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

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

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

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

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

.profile-content {
  padding: 20px 15px 20px;
}

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

.profile-item--4 .profile .profile-function {
  min-height: 66px;
}

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

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

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

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

.profile-item--2 .profile-content,
.profile-item--1 .profile-content {
  padding: 15px;
}

.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-content {
  padding: 15px;
}

.profile-name {
  margin: 0;
}

.profile-item--3 .profile-content,
.profile-item--4 .profile-content {
  padding-bottom: 30px;
}

#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: 40%;
  left: 42.5%;
}

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


/*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: 18%;
    left: 28.5%;
  }
  .prfl-itm--chld--5.p-5-10#prftab2-pprftab-prfl-itm--chld--4--10::after {
    right: 22.5%;
    width: 31%;
  }
  .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: 23.5%;
    left: 41.2%;
  }
  .prfl-itm--chld--4.p-4-3#prftab-prfl-itm--chld--4--3::before {
    width: 50%;
    left: 32.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%;
  }
  .prfl-itm--chld--5.p-5-4#prftab2-pprftab-prfl-itm--chld--4--4::before {
    width: 26%;
  }
  .prfl-itm--chld--5.p-5-3#prftab2-pprftab-prfl-itm--chld--4--3::before {
    width: 24%;
    left: 41.2%;
  }
  .prfl-itm--chld--4.p-4-1#prftab-prfl-itm--chld--4--1::before {
    left: 103px;
    width: 64%;
  }
  .prfl-itm--chld--5.p-5-2#prftab2-pprftab-prfl-itm--chld--4--2::before {
    width: 34%;
    left: 41%;
  }
  .prfl-itm--chld--5.p-5-1#prftab2-pprftab-prfl-itm--chld--4--1::before {
    left: 41%;
    width: 24%;
  }
  .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;
  }
  .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--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;
  }
}

@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*/
