/*
Theme Name: BBBS
Author: m5 Marketing Communications
Version: 1
Text Domain: base
*/

:root {
	--global-font-family: 'Plus Jakarta Sans', sans-serif;
	--color-primary: #001E61;
	--color-secondary: #D2451E;
}

html { font-size: 10px; }
html, 
body {
	position: relative;
	width: 100%;
	overflow-x: hidden !important;
}
body {
	color: #fff;
	font:600 1.6rem/1.45 var(--global-font-family);
	-webkit-font-smoothing: antialiased;
}
h1, h2, .h2, h3 {
	font-weight: 800;
}
h1 {
	font-size: 3rem;
	line-height: 1.1;
	margin: 0 0 1.5rem;
}
h2, .h2 {
	font-size: 2.2rem;
	line-height: 1.1;
}
h3 {
	font-size: 22px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -2%;
	margin-bottom: 20px;
}
h5 {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 20%;
    text-transform: uppercase;
}
a {
	text-decoration: none;
	transition: all .25s;
}
a:hover,
a:focus { opacity: .6; }

b, strong {
	-webkit-font-smoothing: auto;
}

.hidden { display: none; }

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
:focus { outline: none; }

img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}/*
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}*/
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
embed,
iframe,
object {
	max-width: 100%;
}


.container {
	max-width: 130rem;
	padding: 0 3rem;
	margin: 0 auto !important;
}
.container-sm {
	max-width: 1074px;
}

.hentry { margin: 0 0 1.5em; }
.clear { clear: both; }

.section {
	position: relative;
	padding: 3.75rem 0;
	z-index: 1;
}

.button,
.wp-block-buttons .wp-block-button__link,
#main .gform_button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	width: auto;
	min-height: 36px;
	padding: 0.5rem 2rem;
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	font-weight: 600;
	text-align: center;
	background-color: rgba(255,255,255,0.23);
	border: 1px solid #fff;
	border-radius: 50vh;
	transition: all .3s;
}
.button:hover,
.wp-block-buttons .wp-block-button__link:hover,
#main .gform_button:hover {
	opacity: .75;
	box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-3px);
	transition: all .25s;
}

#wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.site-content {
	position: relative;
	z-index: 1;
}
.main-logo {
	display: none;
	position: absolute;
	top: 5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 17.2rem;
}
.site-slide {
	position: relative;
	transition: all .3s;
	z-index: 1;
}/*
#wrapper.is-open .site-slide {
	transform: translateX(-50%) !important;
	margin-left: -100%;
	transition: all .4s;
}*/
#home-main {
	position: relative;
	padding: 3.6rem 0;
}/*
#home-main .background {
	position: absolute;
	inset: 0;
	z-index: -1;
}
#home-main .background::before,
#home-main .background::after {
	content: '';
	display: block;
	position: absolute;
	z-index: 3;
}
#home-main .background img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	z-index: 1;
}*/
.site-content .background {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.site-content .background::before,
.site-content .background::after {
	content: '';
	display: block;
	position: absolute;
	z-index: 3;
}
.site-content .background img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	z-index: 1;
}
#home-main h1,
#home-main p {
	max-width: 59rem;
}
#home-main p {
	margin-bottom: 3rem;
}

.wp-block-image.watch {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.wp-block-image.watch img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

#time-anime {
	position: absolute;
	left: 17%;
	bottom: 30.3%;
	width: 63.8%;
	height: auto;
	z-index: 2;
}
.wp-block-image.anime { display: none; }
/*.wp-block-image.anime {
	position: absolute;
	left: 17%;
	bottom: 30.3%;
	width: 63.8%;
	height: auto;
	aspect-ratio: 17 / 45;
	z-index: 2;
}
.wp-block-image.anime img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}*/
#bt-volunteer a {
    cursor: pointer;
    touch-action: manipulation;
}

@media (min-width: 768px) {
	html, body { min-height: 100%; }
	h1 { font-size: 5rem; }
	h2, .h2 { font-size: 3rem; }
	h3 { font-size: 1.75rem; }
	.bg-mobile { display: none; }
	#home-main .wp-block-buttons { display: none; }
	/*
	#home-main .background { min-width: 95rem; }
	#home-main .background::before {
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 70%;
		background: linear-gradient(165deg,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 66%);
		z-index: 4;
	}
	#home-main .background::after {
		top: 0;
		bottom: 0;
		right: 0;
		width: 53.5%;
		height: 100%;
		background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
	}
	#home-main .background img { object-position: center bottom; }*/

	.site-content .background { min-width: 95rem; }
	.site-content .background::before {
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 70%;
		background: linear-gradient(165deg,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 66%);
		z-index: 4;
	}
	.site-content .background::after {
		top: 0;
		bottom: 0;
		right: 0;
		width: 53.5%;
		height: 100%;
		background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
	}
	.site-content .background img { object-position: center bottom; }

	#time-anime {
		left: 20.15%;
		bottom: 0;
		width: 24.35%;
		min-width: 23.3rem;
	}/*
	.wp-block-image.anime {
		left: 20.15%;
		bottom: 0;
		width: 24.35%;
		min-width: 22.8rem;
	}*/
}

@media (min-width: 992px) {
	.site-content { height: calc(100% - 61px); min-height: 89rem; }
	#home-main { 
		height: calc(100vh - 5.8rem);
		min-height: 89rem;
		padding: 6rem 0;
	}
}

@media (max-width: 991px) {
	.site-slide {
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
		width: 200%;
	}
	.site-slide > * { flex: 1; }
}

@media (min-width: 768px) and (max-width: 962px) {
	#time-anime { left: 19.1rem; }/*
	.wp-block-image.anime { left: 19.3rem; }*/
	#footer .row { align-items: start; }
	#footer .col.ft-credit p { flex-direction: column; align-items: end; gap: 8px; }
}

@media (max-width: 767px) {
	.bg-desktop { display: none; }
	#home-main { display: flex; align-items: end; aspect-ratio: 39 / 85; }
	.main-logo { display: block; }/*
	#home-main .background::after {
		bottom: 0;
		right: 0;
		left: 0;
		width: 100%;
		height: 50%;
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
	}*/
	.site-content .background::after {
		bottom: 0;
		right: 0;
		left: 0;
		width: 100%;
		height: 50%;
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
	}
}

@media (max-width: 374px) {
	h2, .h2 { font-size: 1.8rem; line-height: 1.2; }
	.container { padding: 2rem; }
	#home-main { padding-bottom: 1rem; }
	#home-main p { margin-bottom: 2rem; }
}

@media (max-width: 339px) {
	#time-anime {
		bottom: 31%;
		left: 15%;
		min-width: 21.8rem;
	}/*
	.wp-block-image.anime {
		bottom: 31%;
		left: 15%;
		min-width: 21.8rem;
	}*/
}