@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');
.anton-sc-regular {
	font-family: "Anton SC", sans-serif;
	font-weight: 400;
	font-style: normal;
}
.ci-team-ocean-hero {
	padding-top: 170px;
	padding-bottom: 120px;
	position: relative;
}
.ci-hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ci-team-ocean-hero:before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(10, 0, 0, 0.59) 0%, rgba(10, 0, 0, 0) 100%);
	background-position: 50%;
	background-size: 100%;
	background-size: cover;
	z-index: 1;
}
.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 48px;
	height: 48px;
	border: 5px solid #FFF;
	border-bottom-color: #FF5B22;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
	0% {
			transform: rotate(0deg);
	}
	100% {
			transform: rotate(360deg);
	}
}
.ci-team-ocean-hero-content {
	max-width: 578px;
	position: relative;
	color: #ffffff;
	z-index: 2;
}
.ci-team-ocean-hero-title {
	color: #ffffff;
	font-family: "Anton SC", sans-serif;
	font-weight: 400;
}
.ci-team-ocean-hero-copy {
	font-size: 16px;
	line-height: 18px;
	font-weight: 700;
	margin-top: 16px;
	margin-bottom: 32px;
}
.ci-team-ocean-section {
	margin: 30px 0;
}
.ci-team-ocean-wrapper {
	width: 80%;
	max-width: 1440px;
	margin: auto;
	position: relative;
}
.ci-team-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -65px;
}
.ci-captain {
	padding-left: 65px;
	width: 100%;
	transition: transform .3s ease-in-out, opacity .3s ease-in-out;
/*	will-change: transform;*/
	transform: perspective(1000px) translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	outline: 1px solid transparent;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}
.ci-captain:hover {
	transform: perspective(1000px) scale(1.04) translateZ(0);
}
.ci-captain-wrp {
	box-shadow: 0px 4px 4px 0px #00000040;
	border-radius: 15px;
	padding: 8px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 395px;
	height: auto;
}
.ci-captain-wrp .open-popup-icon {
	position: absolute;
	top: 23px;
	right: 18px;
	z-index: 2;
	cursor: pointer;
	transform: rotate(45deg) translateZ(0);
	shape-rendering: geometricPrecision;
    backface-visibility: hidden;
}
.ci-captain-image {
	aspect-ratio: 321 / 365;
	width: calc(100% - 16.9px);
	height: calc(100% - 16.5px);
	object-fit: cover;
	position: absolute;
/*	overflow: hidden;*/
	top: 8px;
	left: 8.5px;
}
.ci-captain-img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.4s ease;
}

.ci-captain-img-hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.ci-captain:hover .ci-captain-img-hover {
	opacity: 1;
}

.ci-captain:hover .ci-captain-img-default {
	opacity: 0;
}
.ci-captain-image img {
	object-fit: cover;
	width: 99.9999999%;
	height: 99.9999%;
	border-radius: 8px;
}
.ci-captain-content {
	position: relative;
	padding-top: 5px;
	overflow: hidden;
	z-index: 1;
}
.ci-captain-name,
.ci-captain-surname {
	font-family: "Anton SC", sans-serif !important;
	position: relative;
	z-index: 2;
	text-transform: uppercase;
	font-size: 40px;
	line-height: 40px;
	font-weight: 400;
	display: flex;
}
.ci-captain-name {
	color: #000000;
	max-width: 75%;
}
.ci-captain-surname {
	color: #FF5B22;
	position: relative;
	max-width: 80%;
}
.ci-captain-content .svg-wrp:after {
	background-color: #fff;
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 200px;
	top: 99%;
	left: 0;
	z-index: -1;
}
.ci-captain-job-title {
	font-size: 11px;
	line-height: 1;
	text-transform: uppercase;
	font-weight: 700;
	position: relative;
	z-index: 2;
	display: block;
	padding: 5px 0;
	background-color: #ffffff;
	color: #000000;
}
.ci-captain-content svg {
	display: block;
	width: 101%;
	height: auto;
	transform: translateZ(0);
/*	backface-visibility: hidden;
	image-rendering: -webkit-optimize-contrast;*/
}
.ci-captain-content .svg-wrp {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
}
.ci-captain.ci-captain-last-card .ci-captain-wrp {
	justify-content: center;
}
.ci-captain.ci-captain-last-card .ci-captain-wrp {
	justify-content: center;
}
.ci-captain.ci-captain-last-card h3 {
	font-family: "Anton SC", sans-serif !important;
	position: relative;
	z-index: 2;
	text-transform: uppercase;
	font-size: 40px;
	line-height: 40px;
	font-weight: 400;
	color: #ffffff;
	text-align: center;
}
.ci-captain.ci-captain-last-card .ci-captain-image:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(7, 68, 245, 0.7);
	background-position: center;
	background-size: cover;
	border-radius: 8px;
}
.ci-captain.ci-captain-last-card .ci-captain-content:after {
	display: none;
}
@media only screen and (max-width: 669px) {
	.ci-hero-image {
		object-fit: cover;
	}
	.ci-captain:nth-child(n+2) {
		margin-top: 40px;
	}
	.ci-captain-wrp {
		min-height: 435px;
	}
}
@media only screen and (min-width: 670px) {
	.ci-team-ocean-section {
		margin: 60px 0;
	}
	.ci-captain {
		width: 50%;
	}
	.ci-captain:nth-child(n+3) {
		margin-top: 50px;
	}
}
@media only screen and (min-width: 1024px) {
	.ci-team-ocean-section {
		margin: 75px 0;
	}
	.ci-team-ocean-wrapper {
		padding: 2% 0;
	}
	.ci-captain {
		width: calc(100% / 3);
	}
	.ci-captain:nth-child(3) {
		margin-top: 0;
	}
	.ci-captain:nth-child(n+4) {
		margin-top: 90px;
	}
}
@media only screen and (min-width: 1350px) {
		.ci-team-ocean-wrapper {
				padding: 27px 0;
		}
}
@media only screen and (max-width: 959px) {
	.ci-team-ocean-wrapper {
		padding: 30px 0;
	}
}


.ci-team-popup {
	position: fixed;
	padding: 40px 5px 80px 5px;
	inset: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	overflow: auto;
	background: rgba(0,0,0,.85);
	box-sizing: border-box;
	overscroll-behavior: contain;
}

.ci-team-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.6);
}

.ci-team-popup-inner {
	position: relative;
	display: flex;
	background: #ffffff;
	width: 80%;
	max-width: 1150px;
/*	height: auto;*/
	margin: auto;
	padding: 20px;
	border-radius: 18px;
	transition: opacity 0.3s ease;
/*	max-height: calc(90vh - 75px);*/
	max-height: 840px;
	/*  overflow: auto;*/
	display: flex;
	flex-direction: column;
	padding-bottom: 10px;
}
.ci-team-popup-inner::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border-bottom-left-radius: 18px;
	left: 0;
	bottom: 0;
	width: 50%;
	height: 100px;
	background: linear-gradient(360deg, #FFFFFF 14.45%, rgba(255, 255, 255, 0.7) 56.81%, rgba(255, 255, 255, 0) 100%);
}

.ci-team-popup-inner.fade-out {
	opacity: 0;
}
.ci-team-popup-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -100px;
/*	overflow: auto;*/
}
.ci-popup-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}
.ci-team-popup .ci-captain-name,
.ci-team-popup .ci-captain-surname {
	font-size: 62px;
	line-height: 1;
}
.ci-team-popup .ci-captain-job-title {
	font-size: 32px;
	color: #FF5B22;
	background-color: transparent;
	padding: 0;
	font-weight: 400;
	margin-bottom: 20px;
	font-family: "Anton SC", sans-serif;
}
.ci-team-popup .popup-since {
	font-size: 14px;
	font-weight: 700;
	color: #000000;
	line-height: 18px;
	text-transform: uppercase;
}
.popup-socials a {
	font-size: 24px;
}
.ci-popup-left,
.ci-popup-right {
	width: 50%;
	padding-left: 100px;
}
.ci-popup-right {
	position: relative;
}
.ci-popup-left {
	overflow: auto;
	overflow-y: scroll;
	position: relative;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.ci-popup-left::-webkit-scrollbar {
	display: none;
}
.ci-popup-left-wrp {
	padding-top: 30px;
	padding-left: 30px;
	position: absolute;
}
.popup-socials {
	display: flex;
	gap: 20px;
	margin: 20px 0 40px 0;
}
.popup-socials .fa-brands,
.popup-socials .fa-solid {
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	width: 48px;
	height: 48px;
	display: flex !important;
	background: white;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	transition: 0.3s;
	color: #FF5B22;
}
.popup-socials .fa-brands.fa-linkedin::before {
	content: "";
	background: url('images/linkedin.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 24.36px;
	height: 24.36px;
}
.popup-socials .fa-solid.fa-globe::before {
	content: "";
	background: url('images/globe.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 24.36px;
	height: 24.36px;
}
.popup-socials .fa-solid:hover {
	background: #FFEAE3;
}
.ci-popup-close.fa-close {
	box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.25);
	width: 48px;
	height: 48px;
	display: flex !important;
	background: rgba(0, 0, 0, .25);
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	transition: 0.3s;
	font-size: 24px;
}
.ci-popup-left .popup-content {
	font-weight: 400;
	font-size: 16px;
	line-height: 18px;
	color: #0A0000;
}
.ci-popup-left .popup-content > *:last-child {
	margin-bottom: 70px;
}
.ci-popup-left .popup-content blockquote {
	padding-left: 80px;
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;
	color: #0A0000;
	border: none;
	position: relative;
}
.ci-popup-left .popup-content blockquote:before {
	content: "";
	position: absolute;
	width: 50px;
	height: 15px;
	top: 0;
	left: 0;
	background: url('images/quotes.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.ci-popup-close {
	position: absolute;
	top: 40px;
	right: 35px;
	z-index: 2;
	cursor: pointer;
}
.ci-team-popup .mySwiper {
	aspect-ratio: 52 / 73;
	border-radius: 26px;
	overflow: hidden;
	margin-bottom: 40px;
}
.ci-team-popup .swiper-slide {
	aspect-ratio: 52 / 73;
	border-radius: 26px;
	overflow: hidden;
}
.ci-team-popup .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ci-team-popup .swiper-slide iframe,
.ci-team-popup .swiper-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000000;
}
.ci-team-popup .swiper-pagination {
	top: auto;
	bottom: 0;
	z-index: 9999;
	width: 100%;
	left: 0;
	display: flex;
	padding: 0;
	width: calc(100% - 100px);
	left: auto;
}
.ci-team-popup .swiper-pagination-progressbar-fill {
	background: #ffffff;
}
.ci-team-popup .swiper-pagination .swiper-pagination-bullet {
	flex: 1;
	height: 31px;
	background: rgba(255, 255, 255, 0.0);
	margin: 0 5px;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	z-index: 9999;
}
.ci-team-popup .swiper-pagination .swiper-pagination-bullet::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 6px;
	border-radius: 3px;
	top: 12px;
	left: 0;
	z-index: 99999;
	background: rgba(23, 53, 86, 0.7);
}
.ci-team-popup .swiper-pagination .swiper-pagination-bullet-active {
	background: rgba(23, 53, 86, 0.0);
}
.ci-team-popup .swiper-pagination .swiper-pagination-bullet-active::before {
	background: rgba(23, 53, 86, 0.2);
}
.swiper-pagination-bullet .click-zone {
	position: absolute;
	top: -4px;
	bottom: -4px;
	left: 0;
	right: 0;
	background: transparent;
}
.ci-team-popup .swiper-pagination .swiper-pagination-bullet-active::after {
	content: '';
	position: absolute;
	top: 12px;
	left: 0;
	border-radius: 3px;
	height: 6px;
	width: 0%;
	background: rgba(23, 53, 86, 1);
	animation: fillBar 5s linear forwards;
}
@keyframes fillBar {
	0% { width: 0%; }
	100% { width: 100%; }
}
.ci-popup-nav {
	position: absolute;
	top: 100%;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 25px;
	margin-bottom: 25px;
	width: 100%;
}
.ci-popup-prev,
.ci-popup-next {
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.ci-popup-next {
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.ci-captain-nav-surname {
	margin-left: 5px;
}
.ci-popup-prev .ci-space {
	padding-left: 20px;
	padding-right: 5px;
}
.ci-popup-next .ci-space {
	padding-right: 5px;
}
.ci-popup-next svg {
	margin-left: 20px;
}
body.ci-popup-open {
	overflow: hidden !important;
}
html.lenis-stopped {
	overflow: hidden !important;
}
@media only screen and (max-width: 769px) {
	.ci-team-popup {
		padding: 40px 0 100px 0;
	}
	.ci-team-popup-grid {
		margin-left: -50px;
	}
	.ci-team-popup-inner {
		max-height: none;
	}
	.ci-team-popup-inner::after {
		display: none;
	}
	.ci-popup-left,
	.ci-popup-right {
		width: 100%;
		padding-left: 50px;
	}
	.ci-popup-left {
		order: 2;
		max-height: none;
		overflow: visible;
	}
	.ci-popup-left .popup-content > *:last-child {
		margin-bottom: 0;
	}
	.ci-popup-right {
		margin-bottom: 20px;
		order: 1;
	}
	.ci-popup-left-wrp {
		padding-top: 0;
		padding-left: 0;
		position: relative;
	}
	.ci-popup-close {
		top: 30px;
		right: 25px;
	}
	.ci-team-popup .swiper-pagination {
		width: calc(100% - 50px);
	}
}
@media only screen and (max-width: 500px) {
	.ci-team-popup-grid {
		margin-left: -30px;
	}
	.ci-popup-left,
	.ci-popup-right {
		padding-left: 30px;
	}
	.ci-team-popup .ci-captain-name,
	.ci-team-popup .ci-captain-surname {
		font-size: 52px;
	}
	.ci-team-popup .ci-captain-name,
	.ci-team-popup .ci-captain-surname {
		font-size: 52px;
	}
	.ci-popup-prev .ci-captain-nav-name,
	.ci-popup-prev .ci-captain-nav-surname,
	.ci-popup-next .ci-captain-nav-name,
	.ci-popup-next .ci-captain-nav-surname {
		display: none;
	}
	.ci-team-popup .swiper-slide {
		border-radius: 18px;
	}
	.ci-popup-next {
		margin-left: auto;
	}
	.ci-team-popup-inner {
		width: 85%;
	}
	.ci-team-popup .swiper-pagination {
		width: calc(100% - 30px);
	}
}
.ci-captains-button-wrp {
	position: absolute;
	bottom: 50px;
	left: 0;
}
.home .captains-content-swiper.flickity-enabled {
	padding-bottom: 120px !important;
}

.ci-popup-right:has(.swiper-pagination-lock){
	.mySwiper {
		margin-bottom: 0;
		padding-bottom: 10px;
	}
}