/*
 * Copyright (c) 2019. yack.rocks GmbH
 */

.cookie-privacy-container {
	background-color: #f6f6f6;
	display: none;
	max-height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
}

.cookie-privacy-panel-fullscreen {
	position: fixed; /* Sit on top of the page content */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity */
	z-index: 999; /* Specify a stack order in case you're using a different order for other elements */
	-webkit-overflow-scrolling: touch;
}

.cookie-privacy-panel-fullscreen .cookie-privacy-inner {
	width: 80%;
	max-width: 800px;
	max-height: 90%;
	margin: 0 auto;
	padding: 20px;
	background-color: #f6f6f6;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	overflow: auto;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.cookie-privacy-panel-fullscreen .cookie-privacy-title {
	font-size: 1.2em;
	margin: 0 0 15px 0;
}

.cookie-privacy-large {
	width: 100%;
	min-height: 120px;
	border-top: 1px solid #dedede;
	position: fixed;
	bottom: 0;
	z-index: 999;
}

.cookie-privacy-large .cookie-privacy-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 10px 20px 10px 20px;
}

.cookie-privacy-large .cookie-privacy-title {
	font-size: 1.2em;
	margin: 10px 0 15px 0;
}

.cookie-privacy-title {
	font-weight: bold;
}

.cookie-privacy-head {
	width: 100%;
	margin: 10px 0 0 0;
}

.cookie-privacy-text-link {
	color: #646464;
	white-space: nowrap;
}

.cookie-privacy-btn-container {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 15px 0 20px 0;
}

.cookie-privacy-btn-container button {
	cursor: pointer;
}

.cookie-privacy-btn-container button:nth-child(1) {
	margin-right: 20px;
}

.cookie-privacy-btn {
	background-color: #646464;
	border: 0;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: #fff;
	display: inline-block;
	font-family: inherit;
	font-size: 0.9em;
	line-height: 36px;
	padding: 0 2em;
	/*text-transform: uppercase;*/
	margin-top: 10px;
	white-space: nowrap;
}

.cookie-privacy-btn-alternative {
	/*background-color: #999999;*/
	color: #000;
	background-color: white;
	border: 1px solid #ccc;
}


.cookie-privacy-row {
	position: relative;
	width: 100%;
	min-height: 100px;
	border: 1px solid #e4e4e4;
	margin: 10px 0;

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.cookie-privacy-row-title {
	font-weight: bold;
	margin: 10px 50px 5px 10px;
}

.cookie-privacy-row-body {
	margin: 5px 10px 10px 10px;
}

.cookie-privacy-footer {
	font-size: 0.9em;
	color: #aeaeae;
}

.cookie-privacy-footer a {
	font-size: 0.9em;
	color: #aeaeae;
}

.cookie-privacy-row .switch {
	position: relative;
	display: block;
	width: 45px;
	height: 26px;
	margin: 10px;
	float: right
}

.cookie-privacy-row.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-privacy-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.cookie-privacy-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .cookie-privacy-slider {
	background-color: #646464;
}

input:focus + .cookie-privacy-slider {
	box-shadow: 0 0 1px #646464;
}

input:checked + .cookie-privacy-readonly-slider {
	background-color: #999999 !important;
}

input:focus + .cookie-privacy-readonly-slider {
	box-shadow: 0 0 1px #999999 !important;
}

input:checked + .cookie-privacy-slider:before {
	-webkit-transform: translateX(18px);
	-ms-transform: translateX(18px);
	transform: translateX(18px);
}

.cookie-privacy-slider.round {
	border-radius: 26px;
}

.cookie-privacy-slider.round:before {
	border-radius: 50%;
}

.cookie-privacy-hidden {
	display: none !important;
}

.cb-mt20 {
	margin-top: 20px;
}

@media all and (max-width: 1000px) {

	.bannerFullscreen button {
		width: 100%;
	}

	.bannerFullscreen button:nth-child(1) {
		margin-right: 0;
	}

	.cookie-privacy-btn-container {
		flex-direction: column-reverse;
	}
}

@media all and (max-width: 479px) {
	.cookie-privacy-mobile-hidden {
		display: none !important;
	}

	.cookie-privacy-mobile-no-margin {
		margin: 0 !important;
	}

	.cookie-privacy-btn {
		padding: 0 1em !important;
	}

	.cookie-privacy-head {
		margin: 0 !important;
	}

	.bannerBottomLarge button {
		width: 100%;
	}

	.bannerBottomLarge button:nth-child(1) {
		margin-right: 0;
	}
}

@media all and (min-width: 480px) {
	.cookie-privacy-mobile-hidden {
		display: none !important;
	}

	.cookie-privacy-mobile-no-margin {
		margin: 0 !important;
	}

	.cookie-privacy-btn {
		padding: 0 1em !important;
	}

	.cookie-privacy-head {
		margin: 0 !important;
	}
}

/* tablet */
@media all and (min-width: 768px) {
	.cookie-privacy-mobile-hidden {
		display: block !important;
	}
}
