:root {

	--cookie-green: hsl(136, 100%, 26%);
	/* --cookie-primary: hsl(7, 99%, 53%); */
	--cookie-primary: hsl(0, 0%, 80%);
	--cookie-secondary: hsl(218, 89%, 41%);
}

[x-cloak] {
	display: none;
}

.cookie-alert {
	position: fixed;
	bottom: 0;
	z-index: 99999;
	width: 100%;
	background-color: hsl(0 0% 95%);
	padding: 10px 25px;
	font-size: 14px;
	line-height: 1.3;
}



.cookie-alert p a {
	color: var(--cookie-secondary);
	text-decoration: none;
}

.cookies .btn {
	background-color: var(--cookie-green) !important;
	color: white !important;
	transition: all .2s;
	padding: 1em;
	font-size: 14px;
	white-space: nowrap;
	border: 0;
}

.cookies .btn+.btn {
	margin-left: 0.5rem;
}

.cookies .btn:hover {
	filter: brightness(1.1);
}

.cookies .btn.secondary {
	background-color: var(--cookie-primary) !important;
	color: hsl(0 0% 30%) !important;
}

.cookie-alert--buttons {
	margin-left: 30px;
}

.cookies .flex {
	display: flex;
}

.cookies .items-center {
	align-items: center;
}

.cookies .items-start {
	align-items: flex-start;
}

.cookies .justify-between {
	justify-content: space-between;
}

.cookies .justify-end {
	justify-content: flex-end;
}

.cookies .flex-nowrap {
	flex-wrap: nowrap;
}

.cookies .w-9-12 {
	width: calc(100% * 9/12);
	padding-right: 15px
}

.cookies .w-3-12 {
	width: calc(100% * 3/12);
	padding-left: 15px
}


.cookies-popup {
	position: fixed;
	z-index: 9999999;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}

.cookies-popup--wrap {
	max-width: 90%;
	width: 700px;
	position: relative;
}

.cookies-popup--content {
	padding: 30px;
	max-height: 80vh;
	overflow-y: auto;
	background-color: #fff;
	font-size: 14px;
	line-height: 1.5;
	position: relative;
}

.cookies-popup--close {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsl(0, 0%, 0%, .1);
	color: black;
	font-family: code;
	font-size: 24px;
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 30px;
	z-index: 10;
	text-decoration: none;
}

.cookies-popup h4 {
	margin-top: 0;
	margin-bottom: .05em;
	font-size: 24px;
}

.cookies-popup form h4 {
	margin-top: .3em;
}

.cookies-popup--backdrop {
	position: fixed;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: hsl(0, 0%, 0%, .1);
}

.cookies [type="checkbox"] {
	appearance: none;
	width: 90px;
	height: 44px;
	display: flex;
	align-items: center;
	transition: all .3s;
	background-color: var(--cookie-primary);
	position: relative;
	border: 0;
	padding: 2px;
	cursor: pointer;
}

.cookies [type="checkbox"]::after {
	content: '';
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	left: 2px;
	transition: all .3s;
	background-color: #fff;
}

.cookies [type="checkbox"]:checked {
	background-color: var(--cookie-green);
}

.cookies [type="checkbox"]:checked::after {
	left: 48px;
}


@media screen and (max-width: 800px) {
	.cookie-alert {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.cookie-alert--buttons {
		flex-direction: column;
		width: 100%;
		margin: 0;
	}

	.cookie-alert--buttons .btn {
		width: 100%;
		margin: 0 0 10px 0;
		text-align: center;
		justify-content: center;
		padding: 1em 0;
	}
}


@media screen and (max-width: 600px) {
	.cookies-popup--content p {
		font-size: 13px;
	}

	.cookies .flex-nowrap {
		flex-direction: column;
	}

	.cookies .w-9-12,
	.cookies .w-3-12 {
		width: 100% !important;
		max-width: 100%;
		flex-basis: 100%;
		margin-bottom: 15px;
		padding: 0;
	}

	.cookies .w-3-12 {
		padding-left: 0 !important;
		width: 100%;
	}

	.cookies .justify-between {
		justify-content: center;
		flex-direction: column;
		align-items: stretch;
		gap: .5rem;

		.flex {
			flex-direction: column;
			align-items: stretch;
			gap: .5rem;

			.btn {margin-left: 0;}
		}
	}
}