.team-area {
  position: relative;
  overflow: hidden;
  padding:60px 0px 80px;
}
.team-area h2 {
  text-align: center;
  font-weight:700;
  margin-bottom: 70px;
}
.team-area h2 span {
  display:block;
  color:#263238;
  font-weight:300;
}
.team-col-row {
  display: -ms-flexbox;
  display: flex;
}
.team-col-row .sidebar {
  width:100%;
  max-width:250px;
  margin-right:18px
}
.team-col-row .team-right-content {
  width:100%;
  max-width:900px;
}
.team-tab-row {
  display: flex;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
}
.team-tab {
  width: calc(100% / 3);
  text-align: center;
  cursor: pointer;
  font-size:14px;
  padding: 20px 15px;
}
.team-tab img {
  max-width:150px;
  margin-bottom:20px;
}
.team-tab h4 {
  font-size:20px;
  font-weight:700;
  margin-bottom: 3px;
}
.team-tab h6 {
  font-size:14px;
  line-height: 20px;
  color:#263238;
  font-weight:500;
  margin-bottom:0px;
}
.team-tab:hover {
  background:#f6f7f7;
}

.team-tab .text-holder{
  padding: 0 25px;
}

.team-left-sidebar {
  background:#f6f7f7;
  padding:36px 35px;
}
.team-left-sidebar ul {
  list-style: none;
  padding-left:0px;
  margin-bottom:0px;
}
.team-left-sidebar ul li {
  cursor:pointer;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  margin-bottom:30px;
}
.team-left-sidebar ul li:last-child {
  margin-bottom:0px;
}



.fancybox-bg {
    background: #263238 !important;
    opacity: 0.8 !important;
}
.fancybox-content {
  max-width: 400px !important;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  border-radius: 40px;
  box-shadow: 0px 8px 27.2px 4.8px rgba(0, 0, 0, 0.17);
}
.cover-photo {
    position: relative;
    background: url(https://2248426.fs1.hubspotusercontent-na1.net/hubfs/2248426/GCC%20Website%202022/GCC-Team-Profile-BG-2024.jpg);
    background-size: cover;
    height: 175px;
    border-radius: 5px 5px 0 0;
}
.popup-box-inner {
  display: -ms-flexbox ;
  display: flex;
}
.profile {
    position: absolute;
    width: 150px;
    bottom: -60px;
    left: 15px;
    border-radius: 50%;
    padding: 5px;
}
.member-name {
    font-size: 20px;
    margin: 15px 0 0 160px;
    color: black;
}
.designation {
    font-size: 20px;
    margin: 0 0 0 160px;
    color: black;
}
.bio-info {
    margin-top: 30px;
    line-height: 1.6;
}
.btn {
    margin: 0px 50px;
    background: #00b3ba;
    padding: 10px 25px;
    border-radius: 20px;
    border: 1px solid #00b3ba;
    text-align:center;
    font-weight: bold;
    cursor: pointer;
    color: #00b3ba;
    transition: 0.2s;
}
.btn:last-of-type {
    background: transparent;
    border-color: #00b3ba;
    color: #00b3ba;
}

.btn:hover {
    background: #00b3ba;
    color: white;
}
.team-social-media{
  margin:0 -5px;
}
.team-social-media a{
  margin: 0 5px;
  left: 42%;
	top: 36%;
  width:30px;
  height: 30px;
  display: inline-block;
  border-radius: 100%;
  position: relative;
}
.team-social-media a:hover{
  background: #00b3ba;
  color: white;
}
.team-social-media a i{
  position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
  font-size:15px;
  line-height:1;
}
.fancybox-content p{
  margin: 0 0 18px;
}
.fancybox-close-small:hover{
  background: none !important;
}
.popup-img-box:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    right: 10px;
    bottom: -10px;
}
.popup-img-color-box {
    position: relative;
}
.fancybox-content h4 {
  font-size:20px;
  font-weight:700;
  margin-bottom:5px;
}
.fancybox-content h6 {
  font-size:14px;
  font-weight:500;
  margin-bottom:25px;
}
.fancybox-content p {
  font-size: 14px;
  line-height: 20px;
}
.fancybox-slide--html .fancybox-close-small,
.fancybox-close-small {
  color: #021b4b !important;
  right: 10px !important;
  top: 10px !important;
  opacity: 1;
}

.learn-more-pop {padding: 18px 36px;border-radius: 50px;background-color: #3fc195;color: #fff;line-height: 23px;font-size: 19px;font-weight: 500;letter-spacing: -0.19px;}
.learn-more-pop:hover {background: #060143;}

@media (max-width: 1023px) {
	.team-col-row{
		display: block;
	}
	.team-col-row .sidebar{
		width: 100%;
		margin: 0;
		max-width: inherit;
	}
	.team-col-row .team-right-content{
		width: 100%;
		max-width: none;
	}
	.team-left-sidebar{
    padding: 19px 20px;
    text-align: center;
    margin: 0 -20px;
    text-align: center;
	}
	.team-left-sidebar ul li{
		display: inline-block;
		vertical-align: top;
		margin:  5px;
		color: #fff;
		padding: 10px 20px;
		font-size: 16px;
		line-height: 20px;
    border-radius: 4px;
	}
	.team-left-sidebar ul li:hover {
		color: #000;
  }
  .team-area h2{
    margin:  0 0 40px;
  }
}

@media (max-width: 768px) {
  .team-area{
     padding: 40px 0px 40px;
  }
  .main-images-box {
    display: none;
  }

  .fancybox-content{
    font-size:15px;
    line-height:25px;
  }
  .team-tab{
    width: calc(100% / 2);
  }
  .fancybox-slide--html .fancybox-close-small, .fancybox-close-small{
    right: 0!important;
    top: 0!important;
  }
}
@media (max-width: 639px) {
  .popup-box-inner{
    display: block;
  }
  .fancybox-content .popup-img-box{
    position: relative;
    width: 100%;
    max-width: 275px;
    margin-right: 0;
    margin:0 auto 30px;
  }
}
@media (max-width: 576px) {
  .team-tab{
    width: 100%;
  }
}

@media (max-width: 450px) {
  .team-left-sidebar {
    padding: 19px 10px;
}
.team-left-sidebar ul li {
    padding: 10px 5px;
    font-size: 14px;
    width: calc(100% / 2 - 14px);
}