/** Homepage Header entry
 */ 

.template-homepage {

}

.homepage-entry-header,
.homepage-entry-header .column-main {
	position: relative;
}
.homepage-entry-header .column-main {
	overflow: hidden;
}
.homepage-entry-header .column-main,
.homepage-entry-header .column-grid {
	max-width: 100%;
}
.homepage-entry-header .column-main .column-container {
	height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.homepage-entry-header .main-carousel,
.homepage-entry-header .main-carousel .flickity-viewport ,
.homepage-entry-header .carousel-inner,
.homepage-entry-header .carousel-cell,
.homepage-entry-header .carousel-cell-image {
	height: 100% !important;
}

.homepage-entry-header .carousel-cell-image img{
	width: 100%;
	height: 100%;
}

.homepage-entry-header .main-carousel .carousel-cell {
	width: 100%;
    position: relative;
}

.homepage-entry-header .carousel-cell-image {
	position: relative;
}
.homepage-entry-header .carousel-cell-image:after {
	content: "";
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 100%;
	height: calc( 50% + 1rem );
	background: -webkit-linear-gradient(top, rgba(0, 13, 46, 0) 0%, #000D2E 100%);
	background: linear-gradient(180deg, rgba(0, 13, 46, 0) 0%, #000D2E 100%);
} 
.homepage-entry-header .carousel-cell-caption {
	position: absolute;
    right: 15%;
    bottom: 20px;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 20px;
    padding-top: 1.25rem;
    padding-bottom: 20px;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: left;
} 
.homepage-entry-header .carousel-cell-caption-title {
	line-height: 1.2;
	margin-bottom: 0;
	-webkit-transition: var( --transition );
	transition: var( --transition );
    font-weight: 600;
}  
.homepage-entry-header .carousel-cell-caption a {
	color: #fff;
	text-decoration: none;
	-webkit-transition: var( --transition );
	transition: var( --transition );
} 
.homepage-entry-header .carousel-cell-caption-subtitle a {
	display: block;
	font-weight: 400;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
} 
.homepage-entry-header .carousel-cell-caption-subtitle a i {
    font-size: 16px;
    margin-top: 2px;
	margin-left: 8px;
	margin-left: 0.5rem;
} 
.homepage-entry-header .carousel-cell-caption-title:hover,
.homepage-entry-header .carousel-cell-caption-subtitle:hover a {
	opacity: 0.8;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
} 
.homepage-entry-header .carousel-cell-control .svg {
	height: 48px;
	height: 3rem;
	width: 48px;
	width: 3rem;
	pointer-events: none;
}

.homepage-entry-header .carousel-nav {
	right: auto;
	bottom: auto;
	background: none;
    position: unset;
}
.homepage-entry-header .carousel-nav-button {
	position: absolute;
    top: 50%;
    z-index: 100;
    -webkit-transform: translateY( -50% );
            transform: translateY( -50% );
}
.homepage-entry-header .carousel-nav-button.button--prev {
	left: 0;
}
.homepage-entry-header .carousel-nav-button.button--next {
	right: 0;
}

.homepage-entry-header .column-grid .row {
	padding-left: var( --bs-gutter-x );
    position: relative;
}
 
.homepage-entry-header .offer-item {
	
}
.homepage-entry-header .offer-item-extra {
	position: absolute;
	top: 10%;
	top: 0;
	left: 0;
	padding: 0.5rem 0.75rem;
	background: var( --fs-color-primary );
	box-shadow: 2px 2px 4px 0px rgba( 0, 0, 0, 0.05 )
}
.homepage-entry-header .offer-item-extra span {
	color: #fff;
    font-family: var( --font-accent);
    font-weight: 400;
    font-size: 14px;
}
.homepage-entry-header .offer-item-image {
	height: 100%;
	position: relative;
	overflow: hidden;
	-moz-transform-style: preserve-3d;
}
.homepage-entry-header .offer-item-image img {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	-webkit-transform: scale(1 ) scale3d(1, 1, 1);
	transform: scale(1 ) scale3d(1, 1, 1);
	height: 102%;
	width: 102%;
}
.homepage-entry-header .offer-item:hover .offer-item-image img { 
	-webkit-transform: scale(1.4) scale3d(1.1, 1.1, 1);
	transform: scale(1.4) scale3d(1.1, 1.1, 1);
}

.homepage-entry-header .offer-item-image:after {
	content: "";
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	background: rgba( 0, 0, 0, 0 );
	
}
.homepage-entry-header .offer-item:hover .offer-item-image:after { 
	background: rgba( 0, 0, 0, 0.75 );
}

.homepage-entry-header .offer-item-caption {
	position: absolute;
    right: 10%;
    left: 10%;
    bottom: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
	overflow: hidden;
	max-height: 4rem;
	-webkit-transition: 0.4s ease-in-out max-height;
	transition: 0.4s ease-in-out max-height;
	z-index: 10;
}
.homepage-entry-header .offer-item:hover .offer-item-caption:not( .static ) {
	max-height: 10rem;
	max-height: 100%;
}
.homepage-entry-header .offer-item-link {
	display: block;
    text-decoration: none;
	color: #fff; 
	font-size: 1.125rem;
	text-transform: uppercase;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
.homepage-entry-header .offer-item-title,
.homepage-entry-header .offer-item-link {
	font-weight: 500;
}
.homepage-entry-header .offer-item-title span,
.homepage-entry-header .offer-item-link span {
	font-weight: 400;
}
.homepage-entry-header .offer-item-link:hover {
	color: #bababa;
}

.homepage-entry-header .social-media {
	margin-top: 0;
}

@media( min-width: 1100px ){
	.homepage-entry-header .offer-item-link {
		font-size: 1rem;
	}
}
@media( min-width: 992px ){
	
	.homepage-entry-header .column-grid .row .ratio {
		--aspect-ratio : calc( ( 100vh - var( --main-top-height )) / 2 );
	}
	
}
@media( max-width: 992px ){
		
	.homepage-entry-header .column-main .column-container {
		position: relative;
		width: 100%;
	}
	.homepage-entry-header .column-grid .row {
		padding-left: 0
	}
	.homepage-entry-header .column-main .main-carousel {
		max-height: 100vh;
		height: calc( 3 / 4 * 100vw ) !important;
	} 
	.homepage-entry-header .social-media {
		top: calc( ( 3 / 4 * 100vh ) - var( --main-top-height ) );
		bottom: auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row; 
	}
	.homepage-entry-header .social-media-item {
		margin: 1rem;
	}
	.homepage-entry-header .social-media-item:first-child:before, 
	.homepage-entry-header .social-media-item:last-child:after {
		content: unset;
	}
	
	.homepage-entry-header .column-grid .ratio {
		--aspect-ratio: calc( 3 / 4 * 100%);
		--aspect-ratio: 100%;
	}
	
	.homepage-entry-header .offer-item-link {
		font-size: 1.125rem;
	}
}

@media( min-width: 768px ){
	.homepage-entry-header > .wrapper > .row {
		overflow-x: hidden;
	}
	
	.homepage-entry-header .offer-item.item-rental {
		display: none !important;
	}

}
@media( max-width: 768px ){
	
	.homepage-entry-header .carousel-nav  {
		padding: 0px !important;
	} 
	.homepage-entry-header .column-main .main-carousel {
		height: calc( 3 / 4 * 100vw ) !important;
		height: 100vw !important;
	} 
	.homepage-entry-header .social-media {
		display: none;
	}
	.homepage-entry-header .column-grid .ratio {
		--aspect-ratio: calc( 9 / 16 * 100%);
	}

	.homepage-entry-header .carousel-cell-caption {
		left: 10%;
	} 
	.homepage-entry-header .offer-item:hover .offer-item-caption:not( .static ) {
		max-height: 16rem;
	}
	
	.homepage-entry-header .offer-item.item-rental {
		
	}
	.homepage-entry-header .offer-item.item-rental a[href]{
		color: inherit;
		text-decoration: none;
	}
	.homepage-entry-header .offer-item.item-rental .ratio {
		--aspect-ratio: calc( 9 / 16 * 100%);
	}
}
@media( max-width: 576px ){
	.homepage-entry-header .column-grid .ratio {
		--aspect-ratio: 100%;
	}
	.homepage-entry-header .offer-item:hover .offer-item-caption:not( .static ) {
        max-height: 90%;
    }
	.homepage-entry-header .offer-item.item-rental .ratio {
		--aspect-ratio: calc( 3 / 4 * 100%);
		
    }
}

/** Homepage Sections
 */
 
.homepage-section .section-header {
	padding: var( --side-space );
	text-align: center;
}
.homepage-section .section-header-title {
	font-weight: 700;
	margin-bottom: 30px;
	margin-bottom: 1.875rem;
	margin-bottom: 16px;
	margin-bottom: 1rem;
	text-transform: uppercase;
}
.homepage-section .section-header-subtitle {
	font-weight: 400;
	display: block;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}
.homepage-section .section-header-lead {
	font-weight: 400;
	display: block;
	max-width: 800px;
	margin: 0 auto;
}
 
.homepage-section .section-content {
	
}
.homepage-section .section-content .main-carousel {
	
}
.homepage-section .section-content .carousel-cell {
	display: block;
	text-align: center;
	z-index: 1;
	position: relative;
	padding: 32px;
	padding: 2rem;
    height: 100%;
	overflow: hidden;
}

.homepage-section .section-content .carousel-cell-title {
	display: block;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: 400;
    max-width: 80%;
}
.homepage-section .section-content .carousel-cell-title span {
	font-weight: 600;
}
.homepage-section .section-content .carousel-cell-media {
	position: absolute;
	width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	z-index: -2;
}
.homepage-section .section-content .carousel-cell-media:after {
	content: "";
	position: absolute;
	left: 0%;
	right: 0%;
	top: 0%;
	bottom: 0%;

	z-index: 0;
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	background: -webkit-linear-gradient( 89.9deg, rgba( 0, 26, 51, 1 ) 0%, rgba( 0, 26, 51, 0 ) 100% );
	background: linear-gradient( 0.1deg, rgba( 0, 26, 51, 1 ) 0%, rgba( 0, 26, 51, 0 ) 100% );
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";

}
.homepage-section .section-content .carousel-cell:hover .carousel-cell-media:after {
	opacity: 0.9;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	background: -webkit-linear-gradient( 89.9deg, rgba( 0, 26, 51, 1 ) 0%, rgba( 0, 26, 51, 0 ) 100% );
	background: linear-gradient( 0.1deg, rgba( 0, 26, 51, 1 ) 0%, rgba( 0, 26, 51, 0 ) 100% );
}

.homepage-section .section-content .carousel-card {
	text-align: left;
	padding: 0;
}
.homepage-section .section-content .carousel-card .card {
	background: transparent;
	border: none;
	border-radius: 0;
}
.homepage-section .section-content .carousel-card .card-body {
    padding: 32px 40px;
    padding: 2rem 2.5rem;
}
.homepage-section .section-content .carousel-card .card-image {
	-o-object-fit: cover;
	   object-fit: cover;
}
.homepage-section .section-content .carousel-card .card-title {
    margin-bottom: 8px;
    margin-bottom: .5rem;   
	max-width: 350px;
}
.homepage-section .section-content .carousel-card .card-text {
    font-size: var( --font-size-7 );
	max-width: 350px;
	
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;  
	overflow: hidden;
    text-overflow: ellipsis;
}

.homepage-section .section-content .carousel-nav {
	margin: 0 auto;
}
.homepage-section .section-content .carousel-nav-button {
	position: absolute;
    transform: translateY( -50% );
    top: 50%;
	background: rgba( 0,0,0,0.1 );
	border-radius: 0.25rem;
	padding: 0.5rem 0.75rem;
}
.homepage-section .section-content .carousel-nav-button.button--prev {
	left: 0;
}
.homepage-section .section-content .carousel-nav-button.button--next {
	right: 0;
}
.homepage-section .section-content .carousel-nav-arrows .carousel-nav-button svg {
	height: 2rem; 
    width: 1.75rem;
}
.homepage-section.section-news-and-stories .section-content .carousel-nav-button {
    transform: translateY( 0% );
    top: 25%;
}

@media( max-width: 768px ){
	.homepage-section .section-content .carousel-card .card-body {
		padding: var( --side-space );
	}
	.homepage-section .section-content .carousel-card .card-text {
		max-width: 100%;
	}
}
	
/** Media Video - Homepage 
 */
 
.homepage-section.section-video {
	
}
.homepage-section.section-video .video-player {
	cursor: pointer;
}
.homepage-section.section-video .video-player video {
	height: 100%;
	width: 100%;
}
.homepage-section.section-video .video-player:after {
	content: "";
	background-image: var( --vector-play-svg );
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	
	height: 128px;
	
	height: 8rem;
	width: 128px;
	width: 8rem;
	
	position: absolute;
	z-index: 100;
	top: 50%;
	left: 50%;
	-webkit-transform: translate( -50%, -50% );
	        transform: translate( -50%, -50% );
	
	pointer-events: none;
	-webkit-transition: var( --transition );
	transition: var( --transition );
	
}
.homepage-section.section-video .video-player:hover:after {
	opacity: 0.75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}
.homepage-section.section-video .video-player.state-play:after {
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

/** About us - Homepage 
 */
 
.homepage-section.section-about-us {
	margin-bottom: var( --side-space );
}
.homepage-section.section-about-us .section-content {
    padding: var( --side-space );
	padding-bottom: 0;
}
.funsurf-media-content-group {
   
}
.funsurf-media-content-group h3 {
   height: 60px;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
       -ms-flex-align: center;
           align-items: center;
 
}
.funsurf-media-content-group .wp-block-image figure,
.funsurf-media-content-group .blocks-gallery-item figure {
	left: auto;
	width: auto;
}

@media( min-width: 768px ){
	.funsurf-media-content-group .wp-block-columns .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 80px !important;
	}
}
@media( max-width: 992px ){
	.funsurf-media-content-group h3 {
		font-size: 1.125rem;
	}
	
	.funsurf-media-content-group .wp-block-columns {
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
	}
	.funsurf-media-content-group .wp-block-columns .wp-block-columns .wp-block-image .aligncenter {
		text-align: left;
		margin-left: 2em;
	}
	.funsurf-media-content-group .wp-block-column:not(:first-child) {
	
	}
	.funsurf-media-content-group .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
	.funsurf-media-content-group .wp-block-column figure :is(img) {
		max-width: 60px !important;
		margin-left: 1rem;
	}
	.funsurf-media-content-group .blocks-gallery-item {
		margin-bottom: 0;
	}

}
@media( max-width: 768px ){
	.homepage-section.section-about-us .section-content {
		padding-bottom: var( --side-space-h );
	}
	.homepage-section.section-about-us .section-content > p {
		width: 100% !important;
	}
	.funsurf-media-content-group {
		max-width: 560px;
		margin: 0 auto;
	}
	.funsurf-media-content-group .wp-block-columns {
		display: block;
	}
	
	.funsurf-media-content-group .wp-block-columns .wp-block-columns > .wp-block-column:first-child {
		-ms-flex-preferred-size: 100% !important;
		    flex-basis: 100% !important;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		            -ms-grid-row-align: flex-start;
		        align-items: flex-start;
	}
	.funsurf-media-content-group .wp-block-column,
	.funsurf-media-content-group .wp-block-column:not(:first-child),
	.funsurf-media-content-group .wp-block-columns .wp-block-columns .wp-block-image .aligncenter {
		margin-left: 0;
	}
	
	.funsurf-media-content-group h3 {
		height: auto;
	}
	.funsurf-media-content-group h3 br {
		display: none;
	}
	.funsurf-media-content-group .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
	.funsurf-media-content-group .wp-block-column :is(img ) {
		max-width: 60px !important;
		margin-left: 0;
		margin-bottom: 0.5rem;
	}
}

/** Testimonials - Homepage 
 */
 
.homepage-section.section-testimonials {
	background: var( --fs-color-secondary );
	color: var( --fs-color-text-alt );
}
.section-testimonials .section-content .carousel-cell { 
	display: -webkit-box; 
	display: -ms-flexbox; 
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
    width: calc( 100% / 3 ); 
	height: calc( 9 / 16 * 33.33vw );
}
@media( max-width: 992px ){
	
	.section-testimonials .section-content .carousel-cell { 
		width: 50%;
		height: calc( 9 / 16 * 50vw );
	}
	
}
@media( max-width: 768px ){
	
	.section-testimonials .section-content .carousel-cell { 
		width: 100%;
		height: calc( 9 / 16 * 100vw );
	}
	
}

/** About our traning - Homepage 
 */
 
.homepage-section.section-about-our-training {
	background: var( --fs-color-primary );
	color: var( --fs-color-text-alt );
}
.section-about-our-training .section-content .carousel-cell { 
	display: -webkit-box; 
	display: -ms-flexbox; 
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
    width: calc( 100% / 2 );
	height: calc( 9 / 16 * 50vw );
}
@media( max-width: 992px ){
	
	.section-about-our-training .section-content .carousel-cell { 
		width: 50%;
		height: calc( 9 / 16 * 50vw );
	}
	
}
@media( max-width: 768px ){
	
	.section-about-our-training .section-content .carousel-cell { 
		width: 100%;
		height: calc( 9 / 16 * 100vw );
	}
	
}

/** News and stories - Homepage 
 */
 
.homepage-section.section-news-and-stories {
	background: var( --fs-color-secondary );
	color: var( --fs-color-text-alt );
}
.section-news-and-stories .section-content .carousel-cell { 
	height: auto;
    width: calc( 100% / 3 );
}
@media( max-width: 992px ){
	
	.section-news-and-stories .section-content .carousel-cell { 
		width: 50%;
	}
	
}
@media( max-width: 768px ){
	
	.section-news-and-stories .section-content .carousel-cell { 
		width: 100%;
	}
	
}

/** Partners - Homepage 
 */
 
.homepage-section.section-partners {
	margin-bottom: var( --side-space );
}
.homepage-section.section-partners .section-header-title {
	margin-bottom: 0;
}
.homepage-section.section-partners .section-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.homepage-section.section-partners .section-content .partners-item,
.homepage-section.section-partners .section-content .wp-block-image {
	text-align: center;
    margin: 0 2%;
}
.homepage-section.section-partners .section-content .partners-item img,
.homepage-section.section-partners .section-content .wp-block-image img {
	max-width: 240px;
	max-width: 180px;
    max-height: 4rem;
	width: 100%;
    object-fit: contain;
}
@media( max-width: 768px ){
	.homepage-section.section-partners .section-content {
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-webkit-box-pack: space-evenly;
		    -ms-flex-pack: space-evenly;
		        justify-content: space-evenly;
	}
	.homepage-section.section-partners .section-content .partners-item,
	.homepage-section.section-partners .section-content .wp-block-image {
		width: 50%;
		padding: 2rem;
		text-align: center;
		min-width: 10rem;
		margin: 0 auto;
	}
	.homepage-section.section-partners .section-content .partners-item img,
	.homepage-section.section-partners .section-content .wp-block-image img {
		max-width: 100%;
	}
}

@media( max-width: 576px ){
	.homepage-section.section-partners .section-content .partners-item,
	.homepage-section.section-partners .section-content .wp-block-image {
		width: 100%;
	}
}

