#cookie-options {
	z-index: 99;
	font-size: 12px;
	color: #FFF !important;
	position: fixed;
	display: block;
}

#cookie-overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	background: rgba(0,0,0,.4);
	transform: translate3d(0,-100%,0);
	opacity: 0;
	transition: transform 0s,opacity .4s,-webkit-transform 0s;
}

#cookie-options.open > #cookie-overlay {
	transform: translateZ(0);
	opacity: 1;
}

#cookie-options > #cookie-flyout {
	box-sizing: border-box;
	left: auto;
	right: 100%;
	transform: translateZ(0);
	top: 0;
	bottom: 0;
	width: 90%;
	max-width: 500px;
	position: fixed;
	height: 100%;
	z-index: 2;
	transition: transform .6s,-webkit-transform .6s;
	padding: 24px;
	overflow-y: auto;
	background-color: var(--school-secondary);
}

#cookie-button {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 75px;
	height: 75px;
	cursor: pointer;
	z-index: 10;
	padding: 0;
	background: transparent;
	border-bottom: 75px solid var(--school-primary);
	border-right: 75px solid transparent;
}

#cookie-button > i {
	color: white;
	font-size: 24px;
	line-height: 4.3;
	margin-left: 10px;
}

#cookie-options.open > #cookie-flyout {
	right: 100%;
	transform: translate3d(100%,0,0);
}

#cookie-flyout * {
	color: white;
}

#cookie-flyout > hr {
	margin: 16px 0;
}

#cookie-flyout > button {
	float: right;
}


.toggle-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-switch-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .3s;
	border-radius: 20px;
}

.toggle-switch-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: .3s;
	border-radius: 50%;
}

input:checked + .toggle-switch-slider {
	background-color: var(--school-primary);
}

input:focus + .toggle-switch-slider {
	box-shadow: 0 0 1px var(--school-primary);
}

input:checked + .toggle-switch-slider:before {
	transform: translateX(23px);
}

.cookie-header {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}

#cookie-flyout button {
	cursor: pointer;
}