﻿.min_height {
  min-height: 80vh;
}

.about_us .Teamtitle p {
  font-size: var(--font-size-18);
}

.teamsGrid .teamContent {
  border-radius: 5px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2.2rem;
}
.teamsGrid .teamContent .team-members {
  border-radius: 1.2rem;
  background: var(--naa-tables-alt);
  text-align: center;
  position: relative;
  transition: 0.4s;
  cursor: pointer;
}
.teamsGrid .teamContent .team-members .social_media {
  position: absolute;
  left: 0.5rem;
  top: 0;
  opacity: 0;
  /*transition: 0.4s;*/
  z-index: 9;
}
.teamsGrid .teamContent .team-members .social_media a {
  margin-right: 0.5rem;
}
.teamsGrid .teamContent .team-members .social_media svg {
  width: 1.2rem !important;
  height: 1.2rem !important;
}
.teamsGrid .teamContent .team-members .team-profile-pic {
  overflow: hidden;
  height: 11rem;
  position: relative;
  border-radius: 1.2rem 1.2rem 0 0;
}
.teamsGrid .teamContent .team-members .team-profile-pic img {
  width: 9rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -0.1rem;
}
.teamsGrid .teamContent .team-members .teamsWrapper {
  background: var(--naa-cards-bg-alt);
  padding: 0.8rem 0.9rem;
  height: 8.5rem;
  border-radius: 0 0 1.2rem 1.2rem;
  position: relative;
}
.teamsGrid .teamContent .team-members .teamsWrapper h5 {
  font-size: var(--font-size-16);
  margin-bottom: 0.5rem;
  line-height: 1;
  font-family: var(--ff-regular) !important;
}
.teamsGrid .teamContent .team-members .teamsWrapper p {
  font-size: var(--font-size-14);
  margin: 0;
}
.teamsGrid .teamContent .team-members::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--naa-tables-alt);
  border-radius: 1.2rem;
  z-index: 1;
  opacity: 0.7;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
}
.teamsGrid .teamContent .team-members:hover .team-profile-pic {
  background: var(--naa-cards-bg-alt);
  z-index: 3;
}
.teamsGrid .teamContent .team-members:hover .teamsWrapper {
  z-index: 3;
}
.teamsGrid .teamContent .team-members:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--naa-cards-bg-alt);
}
.teamsGrid .teamContent .team-members:hover .social_media {
  opacity: 1;
}

.customModal .modal-dialog.cusmodallg {
  max-width: var(--teammodal-width);
}
.customModal .modal-dialog .modal-content {
  background: var(--naa-cards-bg-alt);
  border-radius: 1.5rem;
}
.customModal .modal-dialog .modal-content .modal-header {
  border: 0;
}
.customModal .modal-dialog .modal-content .profileDetails {
  display: flex;
  grid-gap: 2.5rem;
}
.customModal .modal-dialog .modal-content .profileDetails .team-profile-pic {
  overflow: hidden;
  cursor: pointer;
  background: var(--naa-para-text);
  width: 14rem;
  border-radius: 1.5rem;
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}
.customModal .modal-dialog .modal-content .profileDetails .team-profile-pic img {
  width: 100%;
  position: relative;
  bottom: -0.1rem;
  min-width: auto;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.customModal .modal-dialog .modal-content .profileDetails h5 {
  font-size: var(--font-size-18);
  font-family: var(--ff-medium);
  margin-bottom: 0.5rem;
}
.customModal .modal-dialog .modal-content .profileDetails .role-text {
  font-size: var(--font-size-16);
}
.customModal .modal-dialog .modal-content .profileOverview {
  max-height: 35rem;
  overflow: auto;
  padding-top: 1.2rem;
}
.customModal .modal-dialog .modal-content .profileOverview p {
  font-size: var(--font-size-14);
  color: var(--naa-para-text);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
