.rhy-team-tabs {
	display: flex;
	gap: 1em;
	margin: 0 auto;
	margin-bottom: 4em;
	width: 100%;
    max-width: 1080px;
}
.rhy-team-tabs .team-tabs_button{
	border: 1px solid #000000;
  	border-radius: 20px;
  	font-size: 14px;
	color: #000000;
	padding-top: 5px !important;
  	padding-right: 20px !important;
  	padding-bottom: 5px !important;
  	padding-left: 20px !important;
	transition: all 300ms ease 0ms;
	font-weight: 500;
	line-height: 1.7em;
	min-width: 18ch;
    text-align: center;
}
.rhy-team-tabs .team-tabs_button.active{
	background-color: #aab6be;
}
.rhy-team-slide-title{
	width: 60%;
    max-width: 1080px;
	margin: 0 auto;
	position: relative;
	padding-top: 2%;
    margin-bottom: 35px;
}
.rhy-team-slide-title:before {
    content: "";
    width: 78%;
    height: 0.05rem;
    position: absolute;
    background: #333333;
    bottom: 25px;
    left: 51%;
    transform: translateX(-50%);
    visibility: visible;
}
.rhy-team-sections :where(#rhy-team-team-switzerland-de, #rhy-team-team-switzerland) .rhy-team-slide-title:before {
	bottom: 24px;
	width: 77%;
}
.rhy-team-sections :where(#rhy-team-team-switzerland-de, #rhy-team-team-switzerland)  .rhy-team-slide-title .slick-arrow.slick-prev:after, .rhy-team-sections :where(#rhy-team-team-switzerland-de, #rhy-team-team-switzerland)  .rhy-team-slide-title .slick-arrow.slick-next:after{
	bottom: 10px;
}
.rhy-team-slide-title .slick-track{
	display: flex;
	gap: 3em;    
}
.rhy-team-slide-title .rhy-title-slide{
	text-align: center;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}
.rhy-title-slide .rhy-name{
	font-weight: 700;
}
.rhy-title-slide .rhy-role{
	margin-bottom: 1.5em;
}
.rhy-title-slide:where(.slick-current, :hover) :where(.rhy-name, .rhy-role){
	color: #53b7e8;
}
.rhy-title-slide .rhy-icon{
	margin-top: auto;
	margin-bottom: 0;
	z-index: 6;
    position: relative;
	display: inline-flex;
    justify-content: center;
}
.rhy-title-slide .rhy-icon:before{
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #333333;
    position: absolute;
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.rhy-title-slide.slick-current .rhy-icon:before{
	opacity: 0;
	background: #fff;
}
.rhy-team-slide-title img{
	height: 50px;
    width: auto;
	opacity: 0;
	background: #fff;
    transition: opacity 0.5s ease;
}
.rhy-title-slide.slick-current img{
	opacity: 1;
}
.rhy-team-slide-title .slick-arrow.slick-next{
    right: 0;
    background-image: url(https://rhyba-engineering.com/wp-content/uploads/2024/10/Asset-1.svg);
}
.rhy-team-slide-title .slick-arrow.slick-prev {
    background-position: 9px;
    left: 0;
    background-image: url(https://rhyba-engineering.com/wp-content/uploads/2024/10/Asset-2.svg);
}
.rhy-team-slide-title .slick-arrow {
    position: absolute;
    bottom: 14px;
    font-size: 0;
    line-height: 0;
    background: #333333;
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50%;
    padding: 0;
    z-index: 5;
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: 6px;
}
.rhy-team-slide-contents{
	width: 45%;
    max-width: 1080px;
    margin: 0 auto;
	padding: 2% 0;
}
.rhy-team-slide-contents .rhy-photo{
	width: 32.7%;
	flex-shrink: 0;
}
.rhy-team-slide-contents .slick-track{
	display: flex;
}
.rhy-content-slide{
	display: flex;
    align-items: center;
    gap: 3em;
}
.rhy-content-slide .rhy-content{
	word-wrap: break-word;
    text-align: justify;
}
.rhy-content-slide .rhy-email{
	margin-top: 1em;
}

@media (min-width: 980px) {
    .rhy-team-slide-title .slick-list {
        overflow: hidden;
		z-index: 4;
        position: relative;
    }
	.rhy-team-slide-title .slick-arrow.slick-next{
        right: -2%;
    }
	.rhy-team-slide-title .slick-arrow.slick-prev{
        left: -2%;
    }
	.rhy-team-slide-title .slick-arrow {
        z-index: 1;
		cursor: pointer;
    }
	.rhy-team-slide-title .slick-arrow.slick-disabled{
		display: none !important;
	}
	.rhy-team-slide-title .slick-arrow.slick-prev:after {
        content: '';
        height: 0.05rem;
        width: 7vw;
        position: absolute;
        background: #333333;
        bottom: 11px;
        left: 98%;
    }
	.rhy-team-slide-title .slick-arrow.slick-next:after {
        content: '';
        height: 0.05rem;
        width: 7vw;
        position: absolute;
        background: #333333;
        bottom: 11px;
        right: 98%;
    }
}
@media (max-width: 980px) {
	.rhy-team-tabs, .rhy-team-slide-title, .rhy-team-slide-contents{
		width: 80%;
	}
	.rhy-team-slide-title{
		padding: 0;
		margin-bottom: 0;
	}
	.rhy-team-slide-title .slick-track{
		gap: 0;
	}
	.rhy-team-slide-title .slick-arrow.slick-disabled{
		width: 6px;
        height: 6px;
        bottom: 22.5px;
        background-image: none;
	}
	.rhy-team-slide-title:before{
		width: 98%;
        left: 50%;
        transform: translateX(-50%);
	}
}
@media (max-width: 767px) {
	.rhy-team-tabs .team-tabs_button{
		flex: 1;
		min-width: auto;
		padding-left: 10px !important;
		padding-right: 10px !important;
		white-space: nowrap;
	}
	.rhy-team-tabs, .rhy-team-slide-title, .rhy-team-slide-contents{
		width: 85%;
	}
	.rhy-team-slide-contents{
		padding-top: 35px;
	}
	.rhy-content-slide{
		flex-direction: column;
	}
	.rhy-team-slide-contents .rhy-photo{
		width: 100%;
	}
}