html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, ins, kbd, q, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, input, button, select, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	text-decoration: none;
	margin: 0;
	outline: 0;
	padding: 0;
	color: inherit;
}

*, *::before, *::after{
	box-sizing: border-box;
	margin-top: 0;
}

p{ margin-bottom: 15px; }

html #content :where(img){
	max-width: initial;
}

html, body {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	height: 100%;
	scroll-behavior: smooth;
}

#page{
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
#content{
	flex-grow: 1;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

/* Dropdown menu */
nav .sub-menu{
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 9;
	min-width: 200px;
	transform: translateY(100%);
}


footer span.top{
	position: fixed;
	bottom: 15px;
	right: 30px;
	font-size: 12px;
	cursor: pointer;
	color: var(--clr-pri);
}
footer span.top svg{
	display: block;
	font-size: 17px;
	margin: 0 auto;
}


.cookie-bar{
	background-color: var(--clr-pri);
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	max-width: 385px;
	color: #fff;
	padding: 25px;
	font-size: 1rem;
	z-index: 9;
}
@media( max-width: 960px ){
	.cookie-bar{
		inset: auto 10px 10px 10px;
	}
}
.cookie-bar a{
	color: #fff;
	font-weight: 600;
}
.cookie-bar span{
	display: flex;
	padding: 8px;
	cursor: pointer;
	font-weight: 500;
	text-align: center;
	border: 2px solid #fff;
	color: #fff;
}
.cookie-bar span:hover{
	background: rgba(255,255,255, 0.1);
}


/*MODAL*/
.modal{
	display: none;
	position: fixed;
	inset: 0;
	flex-flow: wrap;
	justify-content: center;
	padding: 1.2rem;
	z-index: 99;
}
.modal .__content{
	display: block;
	background: #fff;
	color: var(--clr-txt);
	padding: 3rem;
	position: relative;
	height: fit-content;
	max-width: 800px;
	max-height: 100%;
	z-index: 1;
	text-align: center;
	border-radius: 0.6rem;
}
.modal .__content h2{
	display: flex;
	align-items: center;
	justify-content: center;
}
.modal .__content a{
	color: var(--clr-pri);
}
.modal .__content img{
	margin: 0 auto 1rem;
	width: 100px;
}
.modal .__mask{
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(5px);
	position: fixed;
	inset: 0;
}
.modal .close{
	color: #fff;
	position: absolute;
	top: -20px;
	right: -20px;
	cursor: pointer;
}

@media ( min-width: 1100px ){
	.modal{
		align-items: center;
	}
}

@media ( max-width: 877px ){
	.modal .close{
		color: var(--color);
		top: 10px;
		right: 10px;
	}

@media( max-width: 456px){
	.modal .__content{
		padding: 2rem 1rem;
		font-size: 0.9em;
	}
}

@media (max-width: 960px){
	.cookie-bar p{
		font-size: 12px;
		text-align: left;
	}
	.cookie-bar span{
		position: static;
		float: right;
		margin-left: 10px;
	}
	.cookie-bar br{
		display: none;
	}
}


/*WP BLOCKS*/
.wp-block-table{
	border-collapse: collapse;
	margin: 0 auto 20px;
	width: 100%;
}
.wp-block-table td{
	border: 1px solid #efefef;
	padding: 10px;
}
.wp-block-table tr:nth-child(even) td{
	background: #f5f5f5;
}
.wp-block-media-text__media img{
	width: max-content;
}
#content .wp-block-media-text .wp-block-media-text__content{
	padding: 0 0 0 40px;
}
#content .has-media-on-the-right .wp-block-media-text__content{
	padding: 0 40px 0 0;
}


/*SEARCH*/
form.search-form{
	position: relative;
	margin-bottom: 15px;
	width: 100%;
}
form .search-submit{
	border-radius: 6px;
	position: absolute;
	top: 12px;
	right: 20px;
	height: 12px;
	width: 12px;
	text-align: center;
	cursor: pointer;
	background: transparent;
}
form .search-submit:hover{
	opacity: 0.7;
}
form .search-submit svg{
	margin: 0;
}


/*REVEAL*/
@media( min-width: 961px){
	.reveal{
		opacity: 0;
		transform: translateY(-30px);
	}
	.reveal-left,
	.wp-block-media-text{
		opacity: 0;
		transform: translateX(-30px);
	}
	.reveal-right,
	.wp-block-media-text.has-media-on-the-right{
		transform: translateX(30px);
	}
	.reveal-visible{
		opacity: 1;
		transform: translateY(0);
		transition: 1s cubic-bezier(.5, 0, 0, 1);
	}
	.reveal-left.reveal-visible,
	.reveal-right.reveal-visible,
	.wp-block-media-text.reveal-visible{
		transform: translateX(0);
	}
}