/* Styling the cookiebar  */
/* v.1.1 */

/* Wrapper and background */
.cookie-wrapper {
	position: fixed;
	background-color: white;
	z-index: 100000001;
	width: 85vw;
	height: 70vh;
	overflow-x: scroll;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow-x: hidden !important;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: calc(100vh - 2rem);
	box-shadow: rgba(100,100,111,.2) 0px 7px 29px 0px;
}

.cookie-wrapper:before {
	content: "";
}

/* .cookies#blocker {
	position: fixed;
	background: black;
	height: 100vh;
	width: 100vw;
	top: 0;
	z-index: 999999;
	opacity: .3;
} */

.cookie-wrapper.setting-page {
	background-color: #ffff;
}

@media(min-width: 700px) {
	.cookie-wrapper {
		width: 70vw;
		padding: 2rem;
	}
}

@media(min-width: 1000px) {
	.cookie-wrapper {
		width: 45vw;
		height: unset;
		right: 2rem;
		bottom: 0;
		transition: 2s ease;
		top: unset;
		left: unset;
		transform: unset;
	}
}

@media(min-width: 1500px) {
	.cookie-wrapper {
		width: 30vw;
	}
}

.cookie-wrapper .category-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Buttons */
.cookie-wrapper .cookie-buttons {
	margin-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-direction: column;
}

@media(min-width: 700px) {
	.cookie-wrapper .cookie-buttons {
		flex-direction: row;
	}
}

.cookie-wrapper .cookie-buttons button {
	display: flex;
	justify-content: space-between;
	background-color: #A2A2A2;
	color: white;
	padding: 1rem 2rem;
	font-size: 1rem;
	margin: 0.5rem 0;
	width: 100%;
	border: none;
	align-items: center;
	font-weight: bold;
	flex-direction: row-reverse;
	transition: 0.3s;
}

@media(min-width: 700px) {
	.cookie-wrapper .cookie-buttons button {
		flex-direction: column;
		height: auto;
		padding: 1rem;
		width: calc((100% / 3) - 0.5rem);
	}
}

.cookie-wrapper .cookie-buttons button:hover {
	cursor: pointer;
	transition: 0.3s;
	background-color: #A2A2A2;
	filter: none;
}

.cookie-wrapper .cookie-buttons button svg {
	height: 1.3rem;
}

@media(min-width: 700px) {
	.cookie-wrapper .cookie-buttons button svg {
		width: 3rem;
		height: 3rem;
		margin: 1rem 0;
	}
}


#cookie-settings-save button {
	flex-direction: row;
	width: 100%;
}
#cookie-settings-save button svg {
	height: 2rem;
	margin:0;
}


.cookie-wrapper .cookie-buttons #cookie-settings {
	background-color: #A2A2A2;
}


/* Typografi and margin */
.cookie-wrapper .cookie-category {
	margin: 2rem 0;
}

.cookie-wrapper .cookie-category h3 {
	font-size: 1.1rem;
	margin: 0;
	line-height: 1.2rem;
}

.cookie-wrapper .cookie-content h2 {
	font-size: 2rem;
	margin: 0;
}

.cookie-wrapper .cookie-category p {
	font-size: 1rem;
	line-height: 1.6em;
	margin: 0.5rem 0;
}

.cookie-wrapper .cookie-category a {
	color: black;
	font-size: 0.94rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: 0.3s;
}

.cookie-wrapper .cookie-category a.active {
	color: #A2A2A2;
}

.cookie-wrapper .cookie-category a:hover {
	cursor: pointer;
	color: #A2A2A2;
}

.cookie-wrapper .cookie-category .cookie-description {
	margin: 15px 0;
}

.cookie-wrapper .cookie-category .cookie-description .single-cookie {
	border-color: #A2A2A2;
}

.cookie-wrapper .cookie-page-link {
	color: black;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-wrapper .cookie-page-link:hover {
	cursor: pointer;
	color: #A2A2A2;
}

.cookie-wrapper .cookie-page-link svg{
	height: 0.8em;
	margin-left: 0.1em;
}

/* Settings specifics */

.cookie-category a:after {
	content: "+";
	color: black;
}

.cookie-category a.active:after {
	content: "-";
	color: #A2A2A2;
}

.cookie-category a:hover:after {
	color: #A2A2A2;
}

.cookie-category .cookie-description .single-cookie {
	border-bottom: 0.2px solid gray;
	padding: 0 1rem;
}