/* Var Definitions */
.CookieNotice {
	--bg-color: var(--logo-color-1-dark, #888888);
	--font-color: var(--font-color-light, #ffffff);
	--button-bg-color: var(--logo-color-1, #007559);
	--link-color: var(--font-color-light, #ffffff);
	--h1-color: var(--font-color-light);
	--h2-color: var(--font-color-light);
	--h3-color: var(--font-color-light);
}

.CookieNotice {
	position: sticky;
	bottom: 0;
	z-index: 300;
	background: var(--bg-color);
	padding: 10px 20px;
	color: var(--font-color);
	opacity: 0.95;
	width: 70%;
	margin: 0px auto;
}
.CookieNotice div.options {
	border: 1px solid;
	margin: 10px 0px;
	padding: 10px;
	display: flex;
	flex-direction: column;
}

.CookieNotice p, .CookieNotice div.options .item { font-size: 13px; line-height: 150% ;margin-left:  0px; }

.CookieNotice div.options .item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.CookieNotice div.options .item input {
	margin-right: 1em;
}
.CookieNotice div.options .item label {
	flex-basis: 25%;
	color: var(--h1-color);
	font-weight: 400;
	margin-right: 1em;
	font-size:20px;
}
.CookieNotice div.options .item p, .CookieNotice div.options .item details { flex-basis: 100%; margin-right: 2em; }

details>summary { list-style: none; font-size: 1.3em; }
summary::-webkit-details-marker { display: none }
summary::after { content: '+'; font-size: 300%; position: absolute; right: 3%; }
details[open] summary:after { content: "-"; font-size: 300%; position: absolute; right: 3.5%; }

/* animate details patch */
details[open] { animation-name: fadeInDown; animation-duration: calc(2 * var(--transition-time)); }
@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-1.25em); }   100% { opacity: 1; transform: translateY(0);  } }

.CookieNotice .options > p {
	flex: 0 0 100%;
}
.CookieNotice h1 { margin-bottom:  5px; margin-left:  0px; }

.CookieNotice button,
.CookieNotice a {
	display: inline-block;
	border: none;
	padding: 2px 10px;
	font-size: 16px;
	margin: 10px 50px 0px 0px;
	color: #fff;
	border-radius: 20px 20px 0 20px;
	line-height: 140%;
	box-sizing: content-box;
	cursor: pointer;
	font: 400 18px 'Open sans';
	background: var(--button-bg-color);
}
.CookieNotice button:hover,
.CookieNotice a:hover {
	filter: saturate(1.1) contrast(1.1);
	text-decoration: none;
}

.CookieBlockMessage { position:  relative; min-height: 100px; }
.CookieBlockMessage img { max-width: 100%; }
.CookieBlockMessage p { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; margin: 1rem; }
.CookieBlockMessage p { background-color: rgba(200, 200, 200, 0.7); color: black; font-size: 2rem; line-height: 2.5rem; padding: 1rem; }
.CookieBlockMessage p a { color: white; text-decoration: underline dotted; }

.msg_cookies_disabled { background: #b05050; color: white; border: 1px solid white; padding: 10px 20px; text-align: center; }

@media all and (max-width: 800px) { 
	.CookieNotice button, .CookieNotice a { width: 100%; text-align: center; }
	.CookieNotice div.options .item { flex-wrap: wrap; }
	.CookieNotice summary::after { right: 5%; }
}
