/**/
.ourtean-sec {
  width: 100%;
  padding: 80px 0;
  background: #ffffff;
}
.ourtean-sec .heading-row {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 20px;
}
.teambox-col {
  width: 100%;
  display: inline-block;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  margin: 12px 0;
}
.teambox-col:before {
  content: "";
  background: transparent
    linear-gradient(179deg, #3e3e3e33 0%, #1c1c1c86 68%, #342f2f 100%) 0% 0%
    no-repeat;
  opacity: 0.75;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s;
}
.teambox-col > .img-fluid {
  width: 100%;
  height: 450px;
  object-fit: none;
}
.teamname-dag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 15px 25px 25px;
  z-index: 2;
}
.teamname-dag h5 {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 5px;
}
.teamname-dag p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin: 0;
}
.team-hover {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  transform: translateY(-50px);
  visibility: hidden;
  transition: all 0.5s;
}
.team-hover h6 {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  display: inline-block;
}
.team-hover h6:hover {
  text-decoration: underline;
  text-underline-position: under;
}
.teambox-col:hover:before {
  opacity: 1;
}
.teambox-col:hover .team-hover {
  visibility: visible;
  transform: translateY(0px);
}

/*modal*/
.popupteam .modal-dialog {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 12px;
}
.popupteam .modal-content {
  width: 100%;
  box-shadow: 5px 15px 25px #00000033;
  border: 1px solid #707070;
  border-radius: 20px;
}
.popupteam .modal-body {
  width: 100%;
  padding: 40px 30px;
}
.teamodal-datarow {
  display: flex;
  flex-wrap: wrap;
  margin: 0px;
  position: relative;
}
.teamimg-left {
  width: 40%;
  padding: 0 20px;
}
.teamimg-left .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.teamdata-right {
  width: 60%;
  padding: 40px 20px 0;
}
.popupteam .btn-close {
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
  padding: 10px;
  box-shadow: none;
}
.teamname-row {
  margin: 0 0 30px;
  padding-right: 35px;
}
.teamname-row h2 {
  font-size: 32px;
  color: #1f1c1c;
  font-weight: 700;
  margin: 0 0 7px;
}
.teamname-row h5 {
  font-size: 22px;
  color: #1f1c1c;
  font-weight: 500;
  opacity: 0.7;
  margin: 0;
}
.teamname-details h3 {
  font-size: 25px;
  color: #1f1c1c;
  font-weight: 700;
  margin: 0 0 10px;
}
.teamname-details p {
  font-size: 18px;
  color: #4f4f4f;
  font-weight: 400;
  margin: 0;
}
.teamname-details div {
  max-width: 100%;
  width: 100%;
}

/*-------------------------------- Responsive Media Query --------------------------------*/
@media (min-width: 1600px) {
  .teamname-dag h5 {
    font-size: 25px;
  }
  .teamname-dag p {
    font-size: 18px;
  }
}

@media (max-width: 1199px) {
  .teambox-col > .img-fluid {
    height: 300px;
  }
  .team-hover h6 {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .popupteam .modal-body {
    padding: 20px 20px;
  }
  .teamimg-left {
    padding: 0 20px 0 0px;
  }
  .teamdata-right {
    padding: 30px 20px 0 0;
  }
  .teamname-row h2 {
    font-size: 26px;
  }
  .teamname-row h5 {
    font-size: 18px;
  }
  .teamname-details h3 {
    font-size: 20px;
  }
  .teamname-details p {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .teamodal-datarow {
    flex-direction: column-reverse;
  }
  .teamimg-left {
    padding: 0;
    width: 100%;
  }
  .teamdata-right {
    padding: 0 0 20px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .teambox-col {
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
  }
  .teambox-col > .img-fluid {
    height: 450px;
  }
}
