.team-grid {
  width: auto;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}
.our-team {
  padding-top: 100px;
  padding-bottom: 50px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 5%, rgba(103,191,194,0.4) 100%);
}
.member-img img {
  border: 5px solid #17254d;
  margin-bottom: 20px;
}
.member-name {
  font-size: 22px;
  text-transform: uppercase;
  max-width: 265px;
  font-weight: 700;
  line-height: 1.2;
}
.member-position {
  color: rgba(24,36,77,0.70);
  font-size: 18px;
  margin-top: 10px;
  letter-spacing: 1px;
}
.each-member-info {
  position: relative;
}
.member-popup-icon {
  position: absolute;
  top: 0;
  right: 0;
}
.popup-icon-style {
  background-color: #67bfc2;
  width: 55px;
  height: 55px;
  border-radius: 110px;
  position: relative;
  box-shadow: 0 0 40px -3px rgba(23,36,77,0.3);
}
.popup-icon-style::before, .popup-icon-style::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 3px;
  background-color: white;
}

.popup-icon-style::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.popup-icon-style::after {
  transform: translate(-50%, -50%);
}
.each-member {
  margin-bottom: 100px;
}
.member-img img {
  width: 100%;
}
.our-team-header .page-header-content {
  letter-spacing: 2px;
}
.each-team:first-child {
  margin-top: 0 !important;
}
.each-team:nth-child(odd) {
  margin-top: 270px;
}
.each-team:nth-child(even) {
  margin-top: 120px;
}
.teams-popup-close {
  width: 50px;
  height: 50px;
  background-color: #67bfc2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 0 40px -3px rgba(23,36,77,0.3);
}
.teams-popup-close::before, .teams-popup-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: white;
}
.teams-popup-close::before {
  transform: rotate(45deg);
}
.teams-popup-close::after {
  transform: rotate(-45deg);
}
/*Results*/
#teams-results {
  background-color: #f5f6fa;
}
.teams-res-wrap.has-popup {
  cursor: pointer;
}
.teams-res-image {
  position: relative;
  padding-top: 137%;
  overflow: hidden;
}
.teams-res-image > img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.teams-res-image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.teams-res-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  background-color: white;
  height: 35px;
  padding: 5px 9px;
}
.teams-res-wrap.has-popup .teams-res-image:hover > img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
/*Popup*/
#teams-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#teams-popup.active {
  pointer-events: all;
  opacity: 1;
}
.teams-popup-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.8);
}
.teams-popup-container {
  background-color: white;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  width: 290px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.teams-popup-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100%;
}
.teams-popup-close {
  cursor: pointer;
}
::selection {
  color: white;
  background: #18244d;
}
.teams-popup-member-item:not(.active) {
  display: none;
}
.teams-popup-member-image {
  margin-bottom: 10px;
}
.teams-popup-member-description p strong {
  color: #18244d;
}

.teams-popup-inner {
  padding: 40px 55px;
}
.teams-popup-top {
  margin-bottom: 30px;
}
.c-scrollbar::-webkit-scrollbar {
  width: 4px;
  background: #1e1e2d;
  border-radius: 3px;
}
.c-scrollbar::-webkit-scrollbar-track {
  background: #fff;
}
.c-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.c-scrollbar {
  scrollbar-color: rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
}

.c-scrollbar-light::-webkit-scrollbar,
.uppy-Dashboard-files::-webkit-scrollbar,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar {
  width: 4px;
  background: rgba(24, 28, 41, 0.08);
  border-radius: 3px;
}
.c-scrollbar-light::-webkit-scrollbar-track,
.uppy-Dashboard-files::-webkit-scrollbar-track,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar-track {
  background: transparent;
}
.c-scrollbar-light::-webkit-scrollbar-thumb,
.uppy-Dashboard-files::-webkit-scrollbar-thumb,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar-thumb {
  background: rgba(24, 28, 41, 0.1);
  border-radius: 3px;
}
.c-scrollbar-light,
.uppy-Dashboard-files,
.bootstrap-select .dropdown-menu .inner {
  scrollbar-color: rgba(24, 28, 41, 0.08);
  scrollbar-width: thin;
}

.no-scrollbar::-webkit-scrollbar {
  width: 0;
}
.no-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.no-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
}
.img-fit {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
}
.our-team-header .page-header {
  background: none !important;
  padding-bottom: 20px;
}
.our-team-header .page-header::before {
  display: none !important;
}
.teams-popup-member-image {
  border: 5px solid #17254d;
}
.teams-popup-member-text h2 {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 600;
}
.teams-popup-member-text h3 {
  font-size: 18px;
  color: rgba(24,36,77,0.70);
  margin-top: 8px;
}
.teams-popup-member-description {
  font-size: 18px;
  color: rgba(24,36,77,0.70);
  margin-top: 50px;
  line-height: 1.6;
}
.teams-popup-member-text {
  margin-top: 30px;
}
.team-content p {
  font-size: 27px;
  font-weight: 700;
  line-height: 2;
}
.team-icon {
  position: absolute;
  bottom: 0;
  right: 0;
}
.team-bottom-container {
  position: relative;
}
.team-bottom {
  position: relative;
  padding-bottom: 300px;
  padding-top: 150px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 5%, rgba(103,191,194,0.4) 100%);
}
.team-bottom::before {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  content: "";
  background: -moz-linear-gradient(top, rgb(255, 255, 255) 0%, rgba(103,191,194,0) 100%);
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(103,191,194,0) 100%);
  background: linear-gradient(to top, rgb(255, 255, 255) 0%,rgba(103,191,194,0) 100%);
  height: 140px;
}
.our-team-header {
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 5%, rgba(103,191,194,0.4) 100%);
  position: relative;
}
.our-team-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  content: "";
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(59,62,65,0) 100%);
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(59,62,65,0) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%,rgba(59,62,65,0) 100%);
  height: 175px;
}
/*Responsive - Mobile First*/
/* md */
@media (min-width: 768px) {
  /*Popup*/
  .teams-popup-container {
    width: 500px;
  }
}
@media only screen and (max-width: 1800px) {
  .team-grid {
    padding-left: 35px;
    padding-right: 35px;
  }
}
@media only screen and (max-width: 1500px) {
  .our-team .row-100 {
    margin-left: -60px;
    margin-right: -60px;
  }
  .our-team .col-100 {
    padding-left: 60px;
    padding-right: 60px;
  }
  .team-bottom {
    padding-bottom: 220px;
    padding-top: 90px;
  }
}
@media only screen and (max-width: 1280px) {
  .our-team .row-100 {
    margin-left: -30px;
    margin-right: -30px;
  }
  .our-team .col-100 {
    padding-left: 30px;
    padding-right: 30px;
  }
  .team-bottom {
    padding-bottom: 200px;
    padding-top: 30px;
  }
  .team-content p {
    font-size: 25px;
  }
}
@media only screen and (max-width: 1150px) {
  .team-content p {
    font-size: 23px;
  }
  .team-bottom {
    padding-bottom: 130px;
    padding-top: 10px;
  }
  .team-icon {
    right: -40px;
  }
  .member-name {
    font-size: 21px;
    max-width: 255px;
  }
  .popup-icon-style::before, .popup-icon-style::after {
    top: 50%;
    left: 53%;
    width: 16px;
  }
  .popup-icon-style {
    width: 45px;
    height: 45px;
  }
}
@media only screen and (max-width: 1040px) {
  .our-team {
    padding-top: 40px;
    padding-bottom: 0;
  }
  .member-name {
    font-size: 19px;
  }
  .member-position {
    font-size: 16px;
    margin-top: 6px;
    letter-spacing: 0px;
  }
  .our-team .row-100 {
    margin-left: -15px;
    margin-right: -15px;
  }
  .our-team .col-100 {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media only screen and (max-width: 1024px) {
  .teams-popup-close {
    width: 45px;
    height: 45px;
  }
  .teams-popup-top {
    margin-bottom: 25px;
  }
  .teams-popup-inner {
    padding: 30px 35px;
  }
  .teams-popup-member-description {
    margin-top: 40px;
  }
  .member-name {
    max-width: 350px;
  }
  .team-grid {
    padding-left: 25px;
    padding-right: 25px;
  }
  .each-team:nth-child(2n) {
    margin-top: 0;
  }
  .team-icon {
    position: relative;
    bottom: -40px;
    right: 0;
    text-align: right;
  }
  .team-bottom {
    padding-bottom: 80px;
  }
  .team-content p br {
    display: none;
  }
}
@media only screen and (max-width: 900px) {
  .member-name {
    max-width: 320px;
  }
}
@media only screen and (max-width: 825px) {
  .member-name {
    max-width: 300px;
  }
}
@media only screen and (max-width: 769px) {
  .teams-popup-container {
    width: 550px;
  }
  .teams-popup-member-text h2 {
    font-size: 20px;
  }
  .teams-popup-member-description {
    margin-top: 30px;
  }
  .team-content p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }
  .team-grid {
    padding-left: 15px;
    padding-right: 15px;
  }
  .member-name {
    max-width: 550px;
  }
  .each-member {
    margin-bottom: 50px;
  }
  .popup-icon-style::before, .popup-icon-style::after {
    left: 50%;
  }
}
@media only screen and (max-width: 600px) {
  .teams-popup-container {
    width: 90%;
  }
  .teams-popup-inner {
    padding: 25px 25px;
  }
  .teams-res-image {
    padding-top: 110%;
  }
  .teams-popup-member-text h2 {
    font-size: 18px;
  }
  .teams-popup-member-text h3 {
    font-size: 17px;
  }
  .teams-popup-member-description {
    font-size: 16px;
  }
  .teams-popup-member-description {
    margin-top: 20px;
  }
  .teams-popup-member-description p {
    margin-bottom: 8px;
  }
  .member-name {
    max-width: 450px;
  }
}
/*Responsive - Desktop First*/
/* xs */
@media (max-width: 575.98px) {
  /*Results*/
  .team-group-title {
    cursor: pointer;
  }
  .team-group-title .toggle::after {
    content: "+";
    margin-left: 10px;
  }
  .team-group-item.active .team-group-title .toggle::after {
    content: "-";
  }
  .team-group-item:not(.active) .team-group-members {
    display: none;
  }
  .team-group:last-child .teams-res-item:last-child {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 550px) {
  .member-name {
    max-width: 400px;
    font-size: 18px;
  }
}
@media only screen and (max-width: 500px) {
  .member-name {
    max-width: 300px;
  }
  .each-member {
    margin-bottom: 40px;
  }
  .team-content p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 414px) {
  .teams-popup-inner {
    padding: 20px 15px;
  }
}

@media only screen and (max-width: 375px) {
  .member-name {
    max-width: 250px;
    font-size: 17px;
  }
}
