.rs-team-grid .owl-stage-outer {
  overflow-y: visible;
}
.rs-team-grid .team-item {
  margin-bottom: 125px;
  position: relative;
  overflow: visible;
  margin-left: 20px;
  margin-right: 20px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item:before {
  display: none;
  background: transparent;
}
.rs-team-grid .team-item .image-wrap {
  overflow: hidden;
  position: relative;
}
.rs-team-grid .team-item .image-wrap .social-icons .social-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.rs-team-grid .team-item .image-wrap .social-icons a {
  display: inline-block;
  margin: 0 8px;
}
.rs-team-grid .team-item .image-wrap .social-icons a i {
  color: #fff;
  font-size: 15px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item .image-wrap img {
  transform: scale(1);
  transition: 0.3s ease-in-out;
}
.rs-team-grid .team-item .team-content {
  background: #fff;
  padding: 20px;
  text-align: center;
  z-index: 9;
  position: absolute;
  z-index: 1;
  opacity: 1;
  width: unset;
  height: unset;
  display: inline-block;
  border-radius: 2px;
  top: unset;
  bottom: -80px;
  padding: 20px 20px 25px;
  left: 50%;
  max-width: 300px;
  transform: translateX(-50%);
  width: 100%;
}
.rs-team-grid .team-item .team-content .team-name {
  display: block;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 0px;
  text-transform: capitalize;
  font-weight: 700;
}
.rs-team-grid .team-item .team-content .team-name a {
  color: #1F1F1F;
}
.rs-team-grid .team-item .team-content .team-title {
  font-size: 16px;
  font-weight: 400;
  padding-top: 5px;
  display: block;
  color: #616161;
}
.rs-team-grid .team-item .team-content .team-desc {
  font-size: 14px;
  margin-bottom: 0;
  color: #616161;
  position: relative;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  line-height: 24px;
  -webkit-transition: all 0.6s, max-height 0.5s;
  -o-transition: all 0.6s, max-height 0.5s;
  -moz-transition: all 0.6s, max-height 0.5s;
  transition: all 0.6s, max-height 0.5s;
  overflow: hidden;
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: bottom;
  -moz-transform-origin: bottom;
  -ms-transform-origin: bottom;
  -o-transform-origin: bottom;
  transform-origin: bottom;
}
.rs-team-grid .team-item .team-content .team-desc:before {
  content: "";
  position: absolute;
  z-index: 1;
  background: #010d14;
  top: 0;
  left: 50%;
  width: 50px;
  height: 2px;
  margin-left: -25px;
}
.rs-team-grid .team-item .team-content:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  background-color: #EA5501;
  height: 2px;
  width: 0;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item:hover .team-content {
  opacity: 1;
  top: unset;
}
.rs-team-grid .team-item:hover .team-content .team-desc {
  position: relative;
  max-height: 400px;
  opacity: 1;
  text-align: center;
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -o-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: all 0.4s, max-height 1.5s;
  -o-transition: all 0.4s, max-height 1.5s;
  -moz-transition: all 0.4s, max-height 1.5s;
  transition: all 0.4s, max-height 1.5s;
  padding-top: 18px;
  margin-top: 8px;
}
.rs-team-grid .team-item:hover .team-content:after {
  width: 100%;
}

.team-grid-style1 .team-item .image-wrap .social-icons {
  position: absolute;
  height: 39px;
  background-color: #EA5501;
  border-radius: 2px 0px 0px 2px;
  right: -108px;
  top: 65px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.team-grid-style1 .team-item .image-wrap img {
  width: 100%;
}
.team-grid-style1 .team-item:hover .image-wrap .social-icons {
  right: 0;
}
.team-grid-style1.clip-path-enable .team-item .image-wrap {
  clip-path: polygon(0% 0%, 88% 0, 100% 10%, 100% 100%, 0% 100%) !important;
}

.team-grid-style2 .team-item .image-wrap .social-icons {
  position: absolute;
  height: 39px;
  background-color: #EA5501;
  border-radius: 2px 0px 0px 2px;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 0px);
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.team-grid-style2 .team-item:hover .image-wrap .social-icons {
  bottom: 31px;
}
.team-grid-style2 .team-item:hover .image-wrap img {
  transform: scale(1.1);
}

.team-grid-style3 .team-item .team-content {
  transition: all 0.5s ease;
}
.team-grid-style3 .team-item .team-content:after {
  display: none;
}
.team-grid-style3 .team-item .image-wrap img {
  transform: unset;
}
.team-grid-style3 .team-item .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-grid-style3 .team-item .social-icons .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 5px;
  transition: all 0.5s ease;
}
.team-grid-style3 .team-item .social-icons .social-icon svg {
  width: 18px;
  height: 18px;
}
.team-grid-style3 .team-item:hover .image-wrap .social-icons {
  bottom: 31px;
}
.team-grid-style3 .team-item:hover .image-wrap img {
  transform: scale(1);
}
.team-grid-style3 .team-item:hover .team-content {
  transform: translate(-50%, -10px);
}

.rspopup_style1 .rs-social-icons .social-icons1 {
  display: flex;
}
.rspopup_style1 .rs-social-icons .social-icons1 .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}