.ac-team {
  position: relative;
}

.ac-team--grid {
  display: flex;
  flex-wrap: wrap;
}

.ac-team--grid > .ac-team__card-col {
  flex: 0 0 100%;
  max-width: calc(33.33% - 20px);
  margin-bottom: 100px;
}

.ac-team--grid > .ac-team__card-col:not(:nth-child(3n)) {
  margin-right: 30px;
}

.ac-team__card-col-wrap {
  position: relative;
}

.ac-team__card-name {
  margin: 0;
}

.ac-team__card-name .ac-team__card-link {
  font-weight: 500;
}

.ac-team__card-icon svg:last-child {
  margin-right: 0;
}

/* card-slider */

.ac-team .ac-team__card-icon {
  margin-right: 10px;
  display: inline-block;
}

.ac-team--slider .ac-team__card-col {
  margin-bottom: 100px;
}

.ac-team .ac-team__card-col-wrap .ac-team__card-col-content {
  background-color: rgb(251 248 248);
  bottom: -40px;
  left: 0;
  margin: 0 auto;
  max-height: 95px;
  overflow: hidden;
  padding: 15px;
  position: absolute;
  right: 0;
  transition: all 0.5s ease-in-out 0s;
  width: 90%;
}

.ac-team .ac-team__card-icon:last-child() {
  margin-right: 0 !important;
}

.ac-team__card-designation {
  margin: 0 0 15px 0;
}

.ac-team .ac-team__card-name {
  margin: 0;
}

.ac-team .ac-team__card-col-wrap:hover .ac-team__card-col-content {
  max-height: 125px;
  transition: all 0.5s ease-in-out 0s;
}

.ac-team .ac-team__card-col .ac-team__card-col-content .ac-team-card-social {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.5s ease-in-out 0s;
}

.ac-team .ac-team__card-col-wrap:hover .ac-team__card-col-content .ac-team-card-social {
  opacity: 1;
  transform: translateY(10px);
  transition-delay: 0.4s;
  transition: all 0.5s ease-in-out 0s;
}

/* slider dots and nav */
.ac-team .tns-nav,
.ac-team .tns-controls {
  display: none;
  text-align: center;
}

.ac-team .tns-nav button {
  border-radius: 50%;
  border: none;
  height: 15px;
  margin: 0 8px;
  padding: 0;
  width: 15px;
}

.ac-team .tns-nav button:last-child {
  margin-right: 0;
}

.ac-team .tns-controls button[data-controls= "prev"], 
.ac-team .tns-controls button[data-controls= "next"],
.ac-team .tns-nav button:focus {
  outline: none;
}

.ac-team .ac-team__card-col-img img {
  width: 100%;
}

.ac-team .tns-controls button[data-controls= "prev"], 
.ac-team .tns-controls button[data-controls= "next"] {
  border-radius: 50%;
  border: none;
  height: 44px;
  line-height: 44px;
  margin: 0 10px;
  padding: 0;
  text-align: center;
  width: 44px;
}

.ac-team .nav-btn.prev-slide, 
.ac-team .nav-btn.next-slide {
  border-radius: 50%;
  height: 45px;
  padding: 10px;
  width: 45px;
  transition: background-color 0.3s linear;
}

.ac-team .nav-btn.prev-slide svg, 
.ac-team .nav-btn.next-slide svg {
  width: 20px;
  display: flex;
  height: 20px;
  margin: 2px auto;
}

@media only screen and (min-width: 1200px) {
  .ac-team .tns-controls button[data-controls= "prev"], 
  .ac-team .tns-controls button[data-controls= "next"] {
    bottom: -4px;
    position: absolute;
    margin: 0;
  }

  .ac-team .tns-controls button[data-controls= "prev"] {
    left: 34%;
  }

  .ac-team .tns-controls button[data-controls= "next"] {
    right: 34%;
  }
}

@media only screen and (max-width: 576px) {
  .ac-team--grid > .ac-team__card-col {
    max-width: 100%;
  }

  .ac-team--grid > .ac-team__card-col {
    margin-right: 0px;
  }
}
 
@media only screen and (min-width: 578px) and (max-width: 992px) {
  .ac-team--grid > .ac-team__card-col {
    max-width: calc(50% - 20px);
  }
  
  .ac-team--grid > .ac-team__card-col:not(:nth-child(3n)) {
    margin-right: unset;
  }
  
  .ac-team--grid > .ac-team__card-col:not(:nth-child(2n)) {
    margin-right: 40px;
  }
}
