/*Time Line Old CSS*/
/*.time-lines-holder .time_line {
    display: flex;
}

.image_holder {
    flex: 1 0 40%;
    text-align:right
}

.time_line_desc_holder {
    flex: 1 0 40%;
}

.year_holder {
    flex: 1 0 10%;
    text-align:center;
    position: relative;
}
.time_line:nth-child(even) .image_holder {
    text-align:left
}

.time_line:nth-child(even) {
    flex-direction: row-reverse;
}

.image_holder img.time_line_image {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    max-width: 100%;
    text-align: right;
}
.year_holder:after {
    content: "";
    display: block;
    width: 0px;
    height: 78%;
    border: 1px solid #285477;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}
.year_holder:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: #285477;
    border: 1px solid #285477;
    border-radius: 50%;
    position: relative;
    left: 50%;
    top: 75px;
    transform: translate(-50%, 0px);
}*/
/*Time Line Slider*/
.time_line_desctiption_holder {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.time_line_image {
    flex: 1 1 40%;
    max-width: 40%;
}

.time_line_image img.timeline_image {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.time_line_desctiption {
    flex: 1 1 60%;
    max-width: 60%;
    padding: 40px 80px;
    background: #c5e2ec69;
}

.slider-for {
    margin-top: 30px;
}

.slider-for .slick-slide:nth-child(even) .time_line_desctiption_holder {
    flex-direction: row-reverse;
}
.slider-for .slick-slide:nth-child(even) .time_line_desctiption_holder .time_line_desctiption {
    padding-left: 40px;
}
.time_line_year {
    border-top: 1px dashed #285477;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 2;
    position: relative;
    margin-top: 28px;
    padding-top: 23px;
}

.time_line_title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #285477;
}

.time_line_year h5 {
    color: transparent !important;
    -webkit-text-stroke: 2px var( --e-global-color-primary );
    font-size: 40px !important;
    margin-bottom: 0;
    margin-top: 0;
}
.slide-btn {
    color: transparent !important;
    -webkit-text-stroke: 2px var(--e-global-color-primary );
    font-size: 35px !important;
    margin-bottom: 0px;
    margin-top: 0;
    line-height: 1.8;
    text-align: center;
}

button.slide-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translate(0%, -50%);
    border-radius: 10px !important;
    background: #285477 !important;
}
button.slide-arrow:hover {
    background: #e7f3f7 !important;
}
.slider-nav {
    position: relative;
}
.slick-current .slide-btn {
    -webkit-text-fill-color: #285477;
}
button.slide-arrow.prev-arrow {
    left: 0px;
}

button.slide-arrow.next-arrow {
    right: 0px;
}

button.slide-arrow.next-arrow:before {
    content: ">";
}
button.slide-arrow.prev-arrow:before {
    content: "<";
}
button.slide-arrow:before {
    color: #7ddfff;
    line-height: 1.5;
    font-size: 23px;
}
button.slide-arrow:hover:before{
  color: #285477;
}

/*Team member css*/
.member_list {
    display: flex;
    flex-wrap: wrap;
}

.gride_of_2 .member_card {
    flex: 1 1 calc( 50% - 20px);
    max-width: calc( 50% - 20px);
}
.gride_of_3 .member_card {
    flex: 1 1 calc( 33.33% - 20px);
    max-width: calc( 33.33% - 20px);
}
.gride_of_4 .member_card {
    flex: 1 1 calc( 25% - 20px);
    max-width: calc( 25% - 20px);
}
.gride_of_5 .member_card {
    flex: 1 1 calc( 20% - 20px);
    max-width: calc( 20% - 20px);
}
.gride_of_6 .member_card {
    flex: 1 1 calc( 16.60% - 20px);
    max-width: calc( 16.60% - 20px);
}


.member_card img.member_image {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center center;
}

.member_card {
    margin: 0 10px;
    border: 1px solid #285477;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.member_card .member_name {
    text-align: center;
    background: #c5e1ec;
    padding: 10px 0;
}
.member_name span {
    display: block;
    font-weight: 800;
    color: #285477;
}
.member_image_holder {
    display: block;
    height: 360px;
}

/*modal*/
.model_trigger {
    cursor: pointer;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 6; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgb(125 125 125 / 27%); /* Black w/ opacity */
}
.modal.show {
    display: block;
}

.modal-header {
  padding: 2px 7% 2px 15px;
  background-color: #c5e2ec;
  color: white;
  position: relative;
}
.modal-header h2 {
    font-size: 25px !important;
    margin-bottom: 5px;
    text-align: center;
}
.modal-header span.designation_of_member {
    font-size: 18px;
    display: block;
}

/* Modal Body */
.modal-body {
    padding: 20px 25px;
}

.modal-body .member_img {
    width: 25%;
    float: left;
    margin-right: 15px;
}
.modal-body .member_desc p,.modal-body .member_desc ul li {
    font-size: 16px;
    line-height: 1.7;
}

/* Modal Footer */
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 3% auto 3% auto;
  padding: 0;
  border: 1px solid #888;
  width: 75%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 10px;
  overflow: hidden;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}
.close {
  color: #c5e2ec;
  font-size: 28px;
  position: absolute;
  font-weight: bold;
  right: 0;
  background: #285477;
  top: 0px;
  width: 7%;
  height: 100%;
  line-height: 2.8;
  text-align: center;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
  background: #000;
}
@media only screen and (max-width: 768px) {
  .gride_of_2 .member_card,
  .gride_of_3 .member_card,
  .gride_of_4 .member_card,
  .gride_of_5 .member_card{
      flex: 1 1 calc( 50% - 20px);
      max-width: calc( 50% - 20px);
  }
  .modal-body .member_img {
      width: 45%;
  }
  .modal-content {
      width: 90%;
  }
  .modal-header h2 {
      font-size: 20px !important;
  }
  .close {
      font-size: 25px;
      width: 13%;
      line-height: 2.7;
  }

  /*  Time Line  */
  .time_line_desctiption_holder {
      flex-wrap: wrap;
  }
  .slider-for .slick-slide:nth-child(even) .time_line_desctiption_holder .time_line_desctiption {
      padding-left: 20px;
  }
  .time_line_desctiption {
      flex: 1 1 100%;
      max-width: 100%;
      padding: 20px 20px;
  }
  .time_line_image {
      flex: 1 1 100%;
      max-width: 100%;
  }
  .time_line_year {
      margin-top: 10px;
      padding-top: 0px;
  }
  .slide-btn {
    font-size: 25px !important;
  }
  .modal-header span.designation_of_member{
   font-size: 17px;
  }
  .modal-body .member_desc p,.modal-body .member_desc ul li {
      font-size: 15px;
      line-height: 1.7;
  }
  .modal-header {
      padding: 2px 13% 2px 16px;
  }
}
@media only screen and (max-width: 426px) {
    .gride_of_2 .member_card,
    .gride_of_3 .member_card,
    .gride_of_4 .member_card,
    .gride_of_5 .member_card{
        flex: 1 1 calc( 100% - 20px);
        max-width: calc( 100% - 20px);
    }
  .modal-body .member_desc p,.modal-body .member_desc ul li {
      font-size: 14px;
      line-height: 1.7;
  }
}
