/*
Theme Name:		kolumbien
Theme URI:		https://www.wcd.ch
Author:			weiss communication+design ag
Author URI:		https://www.wcd.ch/agentur/
Version:		5.2
Description:	Custom theme developed for kolumbien
License:		GNU General Public License v2.0 & Apache License 2.0
License URI:	http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
Text Domain:	kolumbien
*/

body{
	overflow-y: scroll;
	overflow-x: clip;
	/* overscroll-behavior: none; */
}
p:empty{
	display: none;
}
img{
	max-width: 100%;
	height: auto;
}

.wp-site-blocks{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}

header.wp-block-template-part{
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1020;
	transition: transform .3s ease;
	will-change: transform;
}
.scale-on-scroll{
	transform-origin: center top;
	transition: transform .3s ease;
}
.scrolled:not(.scrolling-up):not(.menu-open) header.wp-block-template-part{
	transform: translateY(-101%);

	.scale-on-scroll{
		transform: scale(.3);
	}
}

#content{
	flex-grow: 1;
}

.modal{
	--bs-modal-width: 1280px;
	--bs-modal-margin: 0px;
	--bs-modal-padding: 0px;
	--bs-modal-border-width: 0;
	--bs-modal-border-radius: 0;
	--bs-modal-box-shadow: none;
	--bs-modal-inner-border-radius: 0;
}
.modal-backdrop{
	--bs-backdrop-opacity: .8;
}
button.btn-close{
	position: absolute;
	z-index: 10;
	top: 80px;
	right: 80px;
	opacity: 1;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	font-size: 0;

	@media (max-width: 991px){
		top: 60px;
		right: 60px;
	}

	@media (max-width: 767px){
		top: 40px;
		right: 40px;
	}

	@media (max-width: 575px){
		top: 20px;
		right: 20px;
	}

	&::before{
		content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" fill="none" viewBox="0 0 17 17"><path stroke="%230032a0" stroke-linecap="round" stroke-width="3" d="m1.5 1.5 13.8667 13.8667M1.5 15.3672 15.3667 1.50052"/></svg>');
	}
}