.imag-layer {
    width: calc(27% - 40px) !important;
}
.imag-layer img {
    width: 250px;
    height: 250px !important;
}
#customLayer {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap:wrap;
}
#leadership_team_layout {
  padding-top: 30px;
  padding-bottom: 30px;
}
.custom-layer .slick-next:before,
.custom-layer .slick-prev:before {
  color: #000;
}
.leader-details {
  text-align: center;
  padding: 10px 20px;
  font-size: 16px;
}
.leader-details p {
  color: #297abd !important;
  font-weight: 700;
  font-size: 16px;
  line-height: inherit;
  letter-spacing: 0.9px !important;
  margin: 0 auto;
  transition: .5s ease-in-out;
}
.leader-details span {
  font-size: 16px;
  line-height: 1.5;
}
.leader-details p:hover {
  color: #f79433 !important;
}
.leader-details a:hover {
  color: #297abd;
  text-decoration: none;
}
#customLayer .slick-slide {
  margin: 0 20px;
}
#customLayer .slick-slide img {
  width: 100%;
}
#customLayer .slick-disabled {
  opacity: 0.5;
}
.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100000;
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 20px 10px;
  border: 1px solid #888;
  width: 80%;
  top: 50%;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  transform: translate(0, -50%);
}
.modal-header span {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: 700;
}
.modal-header span:focus,
.modal-header span:hover {
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
.modal-footer,
.modal-header {
  padding: 2px 16px;
  color: #fff;
}
.modal-body {
  padding: 2px 16px;
}
.model-details {
  display: flex;
  width: 100%;
  position: relative;
  justify-content: space-between;
}
.left-section {
  width: 50%;
  text-align: center;
}
.right-section {
  width: 50%;
}
.details-section h2 {
  margin: 0;
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 32px;
  color: #3a3a3d;
  line-height: 1.2;
}
.details-section span {
  font-size: 16px;
  line-height: 1.5;
  color: #3a3a3d;
}
.right-section .details-section p {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.6;
  font-size: 16px;
}
.details-section ul {
  margin: 0;
  padding: 0;
}
.details-section ul li {
  display: inline-block;
  margin-right: 10px;
}
.details-section ul li a img {
  width: 25px;
}
.leader-details .leader_position {
  display: block;
}
.leader-details .leader_name {
  color: #297abd;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .9px;
  cursor: pointer;
  transition: .5s ease-in-out;
}
.leader-details .leader_name:hover {
  color: #f79433;
}
.details-section ul {
  display: none;
}
.details-section p span {
  padding-bottom: 10px;
}
@media only screen and (max-width: 767px) {
  .hs-content-id-189436340897 .it-staffing-heading {
    text-align: center;
}
  .modal-header span {
    position: absolute;
    right: 20px;
    top: 0px;
}
  .modal-content{
    top: 70% !important;
  }
      .page-banner {
        height: 15vh !important;
    }
  .imag-layer {
    width: calc(100% - 100px) !important;
    margin: auto;
}
}
@media only screen and (device-width: 1024px) {
      .imag-layer {
        margin: auto !important;
        width: calc(35% - 40px) !important;
    }
}

}
@media only screen and (max-width: 280px) {

}
@media only screen and (max-width: 600px) {

  #leadership_team_layout .slick-prev {
    left: -5px;
  }
  #leadership_team_layout .slick-next {
    right: -5px;
  }
  #leadership_team_layout {
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .model-details {
    display: block;
  }
  .left-section,
  .right-section {
    width: 100%;
  }
  .modal-body {
    padding: 2px 0px;
  }
  .modal-content {
    width: 100%;
  }
  .details-section h2 {
    font-size: 26px;
  }
}
/* Media for ipaid View */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) {
  .extra__height_70 {
        height: 20vh;
    }
  #customLayer .imag-layer:last-child {
    margin-left: 50px;
}
  .model-details .left-section {
    padding-top: 100px;
    width: 100%;
}
.model-details .right-section {
    width: 100%;
    padding: 0 5px;
}
  .imag-layer {
    width: calc(40% - 40px) !important;
    margin: auto;
}
  #leadership_team_layout .slick-prev {
    left: -5px;
  }
  #leadership_team_layout .slick-next {
    right: -5px;
  }
  #leadership_team_layout {
    padding-bottom: 15px;
    padding-top: 15px;
  }
  #leadership_team_layout {
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .model-details {
    display: block;
  }
  .left-section,
  .right-section {
    width: 100%;
  }
  .modal-body {
    padding: 2px 0px;
  }
  .modal-content {
    width: 100%;
  }
  .details-section h2 {
    font-size: 26px;
  }
}

/* iPhone SE Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape) {  

    #leadership_team_layout .slick-next {
      right: -5px;
    }
    #leadership_team_layout .slick-prev {
      left: -5px;
    }
    .model-details {
      display: block;
    }
    .left-section,
    .right-section {
      width: 100%;
    }
    .modal-body {
      padding: 2px 0px;
    }
    .modal-content {
      width: 100%;
    }
    .details-section h2 {
      font-size: 26px;
    }
}
