/* ********************************  ANIMATIONS */

@keyframes fall_cookies_down {
	0% {
		transform: translateY(-200%);
	}
	100% {
		transform: translateY(-50%);
	}
}
/*
  @keyframes fall_cookies_down_mobile {
    0% {
      transform: translateY(-92vh);
    }
    60% {
      transform: translateY(5vh);
    }
    80% {
      transform: translateY(3vh);
    }
    100% {
      transform: translateY(5vh);
    }
  } */

html[lang='en'] .modal-cookies-container .txt-de {
	display: none;
}
html:not([lang='en']) .modal-cookies-container .txt-en {
	display: none;
}

.modal-cookies-window {
	display: none;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	z-index: 1001;
	background-color: white;
	/* height: 500px; */
	opacity: 0.9;
	box-shadow: 0px 10px 13px -7px #000000, 0px -2px 12px 3px rgba(0, 0, 0, 0.1);
	animation-name: fall_cookies_down;
	animation-duration: 1s;
	animation-delay: 0.5s;
	animation-iteration-count: 1;
	animation-direction: alternate;
	animation-fill-mode: both;
}
.modal-cookies-window.active {
	display: block;
}
.modal-cookies-window h3 {
	text-transform: uppercase;
}
.modal-cookies-window input {
	outline: none;
}
.modal-cookies-container {
	padding: 50px 350px;
}
.required-cookies {
	height: 25px;
}
.required-cookies .txt-de,
.required-cookies .txt-en {
	height: 25px;
}
.txt-de,
.txt-en {
	font-size: 14px;
	line-height: 20px;
}
p.txt-de,
p.txt-en {
	margin-top: 1.1em;
}
.txt-de a,
.txt-en a {
	display: inline-block;
}
.cookies-checkboxes .txt-de,
.cookies-checkboxes .txt-en {
	line-height: 25px;
}
.cookies-checkboxes {
	margin: 20px 0 0 0;
}
.cookies-buttons input {
	margin: 0 0 10px 0;
	cursor: pointer;
}
h3 .txt-de,
h3 .txt-en {
	font-size: 24px;
}
@media (max-width: 1366px) {
	.modal-cookies-container {
		padding: 50px 250px;
	}
	.cookies-checkboxes label {
		font-size: 18px;
	}
}
@media (max-width: 1140px) {
	.modal-cookies-container {
		padding: 50px 200px;
	}
}
@media (max-width: 1024px) {
	.modal-cookies-container {
		padding: 50px 100px;
	}
	.cookies-checkboxes label {
		font-size: 16px;
	}
}
@media screen and (max-width: 810px) {
	.modal-cookies-container {
		padding: 30px 30px;
	}
}
@media (max-width: 767.9px) {
	.modal-cookies-window {
		height: 90vh;
		animation-name: fall_cookies_down;
		animation-duration: 1s;
		animation-delay: 0.5s;
		animation-iteration-count: 1;
		animation-direction: alternate;
		animation-fill-mode: both;
		overflow-y: auto;
	}
	.modal-cookies-container {
		padding: 50px 15px;
	}
	.modal-cookies-container h3 {
		font-size: 1.1em;
	}
	.txt-de,
	.txt-en {
		font-size: 12px;
		line-height: 20px;
	}
	.cookies-checkboxes label {
		font-size: 14px;
	}
	.cookies-buttons {
		flex-direction: column;
	}
}
.cookies-checkboxes,
.cookies-buttons {
	display: flex;
	justify-content: space-evenly;
}
.cookies-checkboxes label {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.cookies-checkboxes label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.cookies-checkboxes label span.cookies-checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #f5f5f5;
	border: #af2e3e 1px solid;
	border-radius: 3px;
}
.cookies-checkboxes label:hover input ~ span.cookies-checkmark {
	background-color: #dcdcdc;
}
.cookies-checkboxes label input:checked ~ span.cookies-checkmark {
	background-color: #af2e3e;
}
span.cookies-checkmark:after {
	content: '';
	position: absolute;
	display: none;
}
.cookies-checkboxes label input:checked ~ span.cookies-checkmark:after {
	display: block;
}
.cookies-checkboxes label span.cookies-checkmark:after {
	left: 7px;
	top: 0;
	width: 6px;
	height: 15px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.cookies-buttons input {
	flex: 0;
	padding: 5px 40px;
	border: #af2e3e 1px solid;
	border-radius: 3px;
}
.cookies-buttons {
	margin-top: 1.5625em;
}
.cookies-buttons input {
	color: #af2e3e;
}
.cookies-buttons input:hover {
	background-color: #f5f5f5;
	color: #3b3030;
}
.cookies-buttons input:focus {
	color: #fff;
	background-color: #af2e3e;
}
