.opacity-off{
    opacity: 1 !important;
}
.team-container {
    position: relative;
}
.team-container .left-content {
    padding: 30px;
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
}
.team-style {
    width: 100%;
    padding: 30px 0!important;
    overflow: initial !important;
}
.team-style .swiper-wrapper {
    height: auto !important;
}
.team-style .swiper-slide {
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: auto;
    flex-direction: column;
}
.team-style .swiper-slide .slide-img{
    height: 30vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border: 1px solid #D9D9D9;
}
/* .team-style .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.team-style .swiper-slide .team-content{
    padding: 15px;
}
.team-style .swiper-slide .team-content h5 {
    font-size: 21px;
    color: #A2C1D1;
    margin-bottom: 0;
/*     font-family: "PoynterOSDisp, normal" !important; */
}
.team-style .swiper-slide .team-content small {
    color: #7A9CAD;
    font-size: 14px;
    font-weight: 600;
}
.team-style .swiper-slide .team-content p{
    font-size: 14px;
    color: #3C3835;
    margin-bottom: 0;
	/* css for custom scrollbar */
	padding-bottom: 20px;
    position: relative;
    max-height: 75px;
    overflow: auto;
}
.team-style .swiper-button-prev,
.team-style .swiper-button-next {
    width: 45px;
    height: 45px;
    border-radius: 100px;
    border: 1px solid #a2c1d1;
    background-color: #fff;
    top: 18vw;
}
.team-style .swiper-button-prev:after,
.team-style .swiper-button-next:after {
    font-size: 20px;
    color: #c6401b;
}
.team-style .swiper-button-prev.swiper-button-disabled,
.team-style .swiper-button-next.swiper-button-disabled {
    opacity: 0;
}
.team-style .swiper-button-prev {
    left: calc(24.1% - 12px);
}
.team-style .swiper-button-next {
    right: calc(26.2% - 42px);
}
.team-style .swiper-pagination {
    width: auto !important;
    right: 20px;
    left: initial !important;
    bottom: 0 !important;
    border: 1px solid #d9d9d9;
    opacity: 0.99;
    border-radius: 5px;
    background: transparent linear-gradient(0deg, #efefef 0%, #e6e6e6 68%, #d9d9d9 100%) 0% 0% no-repeat padding-box;
    display: flex;
}
.team-style .swiper-pagination-bullet {
    height: 9px !important;
    width: 25px !important;
    border-radius: 0;
    margin: 0 !important;
    background: transparent;
    pointer-events: none;
}
.team-style .swiper-pagination-bullet-active {
    background: #ffffff 0% 0% no-repeat padding-box;
    border-radius: 5px !important;
}
.team-style .swiper-pagination-bullet:first-child {
    border-radius: 5px 0 0 5px;
}
.team-style .swiper-pagination-bullet:last-child {
    border-radius: 0 5px 5px 0;
}
.team-style .swiper-button-prev:hover, .team-style .swiper-button-next:hover {
    background-color: #C6401B;
	border-color: #C6401B;
}
.team-style .swiper-button-next:after,
.team-style .swiper-button-prev:after{
    content: '';
    background-image: url('/wp-content/uploads/2022/05/Nav-Arrow.png') !important;
    background-position: center;
    background-size: contain;
    width: 20px;
    background-repeat: no-repeat;
    height: 100%;
}
.team-style .swiper-button-prev:after{
    background-image: url('/wp-content/uploads/2022/05/Nav-Arrow-prev.png') !important;
}
.team-style .swiper-button-next:hover:after{
    background-image: url('/wp-content/uploads/2022/05/Nav-Arrow-hover.png') !important;
}
.team-style .swiper-button-prev:hover:after{
    background-image: url('/wp-content/uploads/2022/05/Nav-Arrow-prev-hover.png') !important;
}
.team-style .swiper-slide .team-content a.btn, .team-style .swiper-slide .team-content a.btn:hover {
    background-color: #002857;
    border-color: #002857;
}
.image-detail {
    padding: 40px 15px 15px;
}
.mobile-tab {
    display: none;
}
/*#gridteam {
    display: none;
}*/
/*#sliderteam {
    display: block;
}*/
.team-style-mobile{
    display: none;
}
.swiper-slide:last-child .team-content .row > div {
    margin-bottom: 15px;
}
.team-mobile-style .swiper-wrapper {
	width:100% !important;
}
/*.team-mobile-style .swiper-wrapper .swiper-slide:nth-child(3n){
	margin-right:0 !important;
}*/

.swiper-slide .team-content .row > div:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgb(255 255 255 / 94%) 15%, rgba(106,196,135,0) 100%);
    z-index: 9;
}
.team-style .swiper-slide .team-content p::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
	border-radius: 10px;
}
.team-style .swiper-slide .team-content p::-webkit-scrollbar-thumb {
    background-color: #C2C0BF;
	border-radius: 10px;
}
@media (max-width: 1100px) {
    .team-container .left-content {
        padding: 30px 15px;
    }
}
@media (max-width: 1024px) {
    .team-style .swiper-button-prev {
        top: 18vw;
        left: calc(23.1% - 12px);
    }
    .team-style .swiper-button-next {
/*         top: 18vw; */
        right: calc(27.5% - 42px);
    }
}
@media (max-width: 767px) {
    .team-style-mobile{
    display: block;
}
    .team-container .left-content {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 15px 0;
    }
    .team-style {
        display: none;
        padding: 30px 15px;
    }
    .team-style .swiper-button-prev,
    .team-style .swiper-button-next {
        display: none;
    }
    .team-style .swiper-slide .slide-img {
        height: 400px;
    }

    .mobile-tab {
        display: block;
    }
    .mobile-tab .nav-tabs {
        border: 0;
        display: flex;
    }
    .mobile-tab .nav-tabs .nav-item {
        flex: 1;
        text-align: center;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link {
        border: 0;
        position: relative;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link span {
        display: inline-block;
        background-color: #fff;
        position: relative;
        z-index: 1;
        padding: 0 10px;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link span svg {
        margin-top: 4px;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link.active span .cls-1 {
        stroke: #c6401b !important;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link:before,
    .mobile-tab .nav-tabs .nav-item .nav-link:after {
        content: "";
        position: absolute;
        height: 1px;
        width: 100%;
        background-color: #ccc;
        top: 20px;
        left: 0;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link.active span:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-right: 3px solid #8f8d8b;
        top: 3px;
        left: 0;
    }
    .mobile-tab .nav-tabs .nav-item .nav-link.active span:after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-left: 3px solid #8f8d8b;
        top: 3px;
        right: 0;
    }
	.mobile-slider-style .swiper-slide .team-content {
		margin-top: 30px;
		padding: 10px;
	}
	.mobile-slider-style .swiper-wrapper .swiper-slide:nth-child(3n) {
		margin-right: 0 !important;
	}
		.lightbox .btn-close {
		display: none;
	}
		#gridteam.fixed-height.tab-pane {
		height: 540px;
	}
	#gridteam.fixed-height.tab-pane .lightbox {
		height: 530px;
		overflow: hidden;
	}
	.team-mobile-style .swiper-button-next, .team-mobile-style .swiper-button-prev {
		width: 30px !important;
		height: 30px !important;
	}
	.team-mobile-style .swiper-button-next:after, .team-mobile-style .swiper-button-prev:after {
		width: 15px;
	}
	.team-mobile-style .swiper-button-next {
		border-radius: 20px 0 0 20px;
		right: -1px;
	}
	.team-mobile-style .swiper-button-prev {
		border-radius: 0 20px 20px 0;
		left: -1px;
	}
}


/* updated slider */
.mobile-content-swaiper{
    display: none;
}
@media (max-width: 767px){
    .custom-team-modal {
        /*position: absolute;
        top: 0;
        left: 0;*/
        /*height: 460px;*/
        width: 100%;
        z-index: 999999;
        background-color: #fff;
        position: relative;
    }
    .custom-team-modal:before {
        content: '';
        position: absolute;
        background-color: #fff;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .custom-team-modal .swiper-pagination-bullet {
        background-color: transparent;
    }
    .desktop-content-swaiper{
        display: none;
    }
    .mobile-content-swaiper{
        display: block;
    }
    .custom-team-modal .swiper-wrapper .swiper-slide {
        padding: 0 40px;
        display: flex;
        flex-direction: column;
    }
    .custom-team-modal .swiper-wrapper .swiper-slide img {
        height: 325px;
        object-fit: cover;
    }
    .custom-team-modal .swiper {
        height: 100%;
    }
    .custom-team-modal .swiper-button-next:after, .custom-team-modal .swiper-button-prev:after {
        background-image: none !important;
        font-family: initial;
        text-indent: -100px;
        overflow: hidden;
    }
    .custom-team-modal .swiper-button-next, .custom-team-modal .swiper-button-prev {
        top: 150px;
        width: 30px !important;
        height: 30px !important;
        background-color: rgb(0 0 0 / 50%);
        border: 0;
        bottom: initial !important;
        margin: 0 !important;
    }
    .custom-team-modal .swiper-button-next:hover, .custom-team-modal .swiper-button-prev:hover{
        background-color: var(--awb-color5) !important;
    }
    .custom-team-modal .swiper-button-next:after, .custom-team-modal .swiper-button-prev:after {
        width: 15px;
    }
    .custom-team-modal .swiper-button-next {
        border-radius: 20px 0 0 20px;
        right: -1px;
    }
    .custom-team-modal .swiper-button-prev {
        border-radius: 0 20px 20px 0;
        left: -1px;
    }
    .custom-team-modal .swiper-button-next:after, .custom-team-modal .swiper-button-prev:after {
        background-image: none !important;
        font-family: initial;
        text-indent: -100px;
        overflow: hidden;
        width: 0px;
        height: 0px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }
    .custom-team-modal .swiper-button-next:before, .custom-team-modal .swiper-button-prev:before {
        content: '';
        width: 0px;
        height: 0px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }
    .custom-team-modal .swiper-button-prev:before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 6px solid #7f7f7f;
        right: 6px;
        z-index: 9;
    }
    .custom-team-modal .swiper-button-prev:after {
        border-right: 20px solid var(--awb-color1);
        right: 6px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
    .custom-team-modal .swiper-button-next:before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 6px solid #7f7f7f;
        left: 7px;
        z-index: 9;
    }
    .custom-team-modal .swiper-button-next:after {
        border-left: 20px solid var(--awb-color1);
        left: 7px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
    .custom-team-modal .swiper-button-next:hover:before{
        border-left: 6px solid var(--awb-color5);
    }
    .custom-team-modal .swiper-button-prev:hover:before {
        border-right: 6px solid var(--awb-color5);
    }
    .custom-team-modal .swiper-button-next.swiper-button-disabled, .custom-team-modal .swiper-button-prev.swiper-button-disabled{
        opacity: 0;
    }
    .custom-team-modal .swiper-wrapper .swiper-slide .site-title-block {
        margin-top: 40px;
        /*height: 70px;*/
    }
    .custom-team-modal .swiper-wrapper .swiper-slide .site-title-block p {
        /*height: 55px;*/
        overflow: auto;
        display: block;
        margin-bottom: 0;
    }
    .custom-team-modal .swiper-pagination-bullets {
        top: 335px !important;
        display: flex;
        justify-content: space-around;
        bottom: initial !important;
        position: absolute;
    }
    .custom-team-modal .swiper-pagination-bullets:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #8f8d8b;
        left: 0;
        margin: 0 auto;
        z-index: 0;
        top: 14px;
    }
    .custom-team-modal .swiper-pagination-bullets .swiper-pagination-bullet {
        position: relative;
        text-align: center;
        padding-bottom: 0;
        opacity: 1;
        background-color: #fff;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .custom-team-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:after, .custom-team-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:before {
        content: '';
        position: absolute; 
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-right: 3px solid #A3C1D1;
        top: 5px;
        left: 0;
    }
    .custom-team-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:after{
        border-left: 3px solid #A3C1D1;
        right: 0;
        left: initial;
        border-right: 0;
    }
	.custom-team-modal .swiper-wrapper .swiper-slide .site-title-block h3 {
		margin-bottom: 0;
	}
	.custom-team-modal .swiper-wrapper .swiper-slide .site-title-block small {
		color: #7A9CAD;
		font-size: 12px;
		font-weight: 600;
		margin-bottom: 5px !important;
		display: block;
	}
}
