
/*
Theme Name: OceanWP GTRR
Theme URI: https://www.presentec.de
Description: OceanWP WordPress child theme for gtrr by Presentec.
Author: Presentec
Author URI: https://www.presentec.de
Template: oceanwp
Version: 2.3
*/

.primary-bg {
	background-color: #0a4d68;
}

body.overflow-hidden {
	overflow-x: hidden;
	overflow-y: hidden;
}

#site-logo a.custom-logo-link::after{	
	content: "Global Team Race Regatta";
	font-size: 1.25em;
	margin-left: 0.5em;
	visibility: visible;
	color: #fff;
}

@media ( max-width : 960px) {
	#site-logo a.custom-logo-link::after {
		font-size: 1em;
	}
}

p.footer-col, div.footer-col {
	margin: 0px 24px;
}

#footer-widgets .footer-box .footer-widget {
    margin-bottom: 5px
}

/* Footer Copyright */
.footer-copyright {
	font-size: 80% !important;
	padding-bottom: 5px;
	/*padding: 0px 0 15px 0 !important;*/
}


@media (max-width: 959px) {
    #footer-widgets .col {
        margin-bottom:0px !important;
    }
	p.footer-col, div.footer-col {
		margin: 0px 12px;
	}
}

@media ( max-width : 960px) {
	margin: 0px 12px;
}

:root {
	--header-h: 70px;
	--footer-h: 79px;
}

@media ( max-width : 770px) {
	:root {
		--footer-h: 62px;
	}
}

@media (max-width: 480px) {
	:root {
		--footer-h: 56px;
	}
	#footer {
		font-size: 80%;
	}
}


@media ( max-width : 420px) {
	:root {
		--footer-h: 80px;
	}
}



#site-header {
	height: var(--header-h);
}
#footer {
	height: var(--footer-h);
}


/* landing page slider start */
.fullheight-slider,
.fullheight-slider .n2-ss-slider,
.fullheight-slider .n2-ss-slider-wrapper-inside  {
	height: calc(100vh - var(--header-h) - var(--footer-h)) !important;
	overflow-x: hidden;
	overflow-y: hidden;
}

/*@media ( max-width : 960px) {
	/ * OceanWP-Header ist auf Mobile oft kleiner * /
	.fullheight-slider .n2-ss-slider {
		height: calc(100vh - 64px - var(--footer-h)) !important;
	}
}*/

.fullheight-slider {
	position: relative;
	overflow: hidden;
}

.trophy {
	position: absolute;
	left: 3%;
	bottom: 0;
	margin: 0;
	width: 10%;
	z-index: 10;
}

/*.trophy {
	position: absolute;
	left: 5%;
	bottom: 0;
	margin: 0;
	width: 10%;
	z-index: 10;
	opacity: 0.75;
}*/

.trustees {
	position: absolute;
	right: 1%;
	bottom: 0;
	margin: 0;
	width: 12%;
	z-index: 10;
}

.trustees-white,
.trustees-black {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	/*background-size: 50%;*/
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0.75;
}

/* Portrait-Modus (Höhe > Breite) */
@media ( orientation : portrait) {
	.trustees-white, .trustees-black {
		background-size: 75% auto;
	}
}

/* Landscape-Modus (Breite > Höhe) */
@media ( orientation : landscape) {
	.trustees-white, .trustees-black {
		background-size: auto 75%;
	}
}

.trustees-white {
	background-image: url(trustees-white);
	/*background: url(trustees-white) center center no-repeat;*/
}
.trustees-black {
	background-image: url(trustees-black);
	/*background: url(trustees-black) center center no-repeat;*/
}

/* landing page slider end */

/* lightbox start */
#imageDataContainer {
	background-color: #333 !important;
	color: #ffffff !important;
	box-shadow: #333 0px -4px 0px 0px, rgba(0, 0, 0, 0.1) 0px 0px 4px 2px !important;
	font-size: 12px;
}

#jqlb_closelabel {
	background-image: none !important;
}

#jqlb_closelabel::after {
	content: 'Close';
	position: absolute;
	top: calc(50% - 0.2em);
	right: 0.5em;
	transform: translate(0%, -50%);
}

#playPause {
	margin-left: 1em;
}

#playPause, #jqlb_closelabel::after {
	color: white;
	background-color: #666;
	padding: 5px 12px 5px 12px;
	border-radius: 3px;
}

/* lightbox end */


/* Video immer vollständig sichtbar, Balken statt Beschnitt */
.wp-block-video video,
.mejs-video video,
video.wp-video-shortcode {
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100vh !important;
    background: #000; /*saubere schwarze Balken */
}

/*@media ( orientation : portrait) {
	/ * Hochkantvideos auf sinnvolle Breite begrenzen, damit sie nicht riesig werden * /
	.wp-block-video video {
		max-width: 480px; / * Hochformat-Breite, ggf. anpassen * /
		margin: 0 auto;
	}
}*/

