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

.cookieoptin {
	background: var(--bg-color);
	padding: 10px 20px !important;
	color: var(--font-color);
	opacity: 0.95;
	width: auto !important;
	max-width: 100% !important;
	margin: 0px auto;
	max-width: 1000px;
	box-shadow: 0px 0px 10px #888;
}
.cookieoptin div.options {
	border: 1px solid;
	margin: 10px 0px;
	padding: 10px;
	display: flex;
	flex-direction: column;
}
.cookieoptin .contentDisplay { max-width: 100%; }

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

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

.cookieoptin details>summary { position: relative ;list-style: none; }
.cookieoptin summary::-webkit-details-marker { display: none }
.cookieoptin summary::after { content: '+'; font-size: 300%; position: absolute; right: -30px; top: 0; }
.cookieoptin details[open] summary:after { content: "-"; right: -24px; }

/* animate details patch */
.cookieoptin 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);  } }

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

.cookieoptin div.buttons { display: flex; justify-content: space-between; margin: 10px 0px; }

.cookieoptin button,
.cookieoptin a {
	display: inline-block;
	border: none;
	padding: 2px 10px;
	font-size: 18px;
	color: var(--link-color);
	border-radius: 5px;
	line-height: 140%;
	box-sizing: content-box;
	cursor: pointer;
	background: var(--button-bg-color);
}
.cookieoptin button.accept { background-color: transparent; border: 1px solid var(--button-bg-color); color: var(--font-color); }

.cookieoptin button:hover, .cookieoptin a:hover { filter: saturate(1.5) contrast(1.5); text-decoration: none; }
.cookieoptin button.accept:hover { background-color: var(--button-bg-color); color: var(--link-color); }

.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) { 
	.cookieoptin div.buttons { flex-wrap: wrap; }
	.cookieoptin button, .cookieoptin a { width: 100%; text-align: center; }
	.cookieoptin div.options .item { flex-wrap: wrap; }
	.cookieoptin summary::after { right: 5%; }
}
