/* Styling the cookiebar  */
/* v.1.0 */

/* Wrapper and background */
/* .cookie-background-blocked {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	z-index: 100000000;
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(119, 119, 119, 0.7) 70%);
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	display: none !important;
}

.cookie-background-blocked.active {
	opacity: 1 !important;
} */

.cookie-wrapper {
	position: fixed;
	max-height: calc(100vh - 2rem);
	background-color: #FFFFFF;
	z-index: 100000001;
	width: 85vw;
	overflow-x: scroll;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow-x: hidden !important;
  display: none;
}

.cookie-wrapper.active{
	display:block;
}

/* @media(max-width: 500px) {
	.cookie-wrapper {
		height: 90vh;
	}
} */

.cookie-wrapper.setting-page {
	background-color: #ffff;
}

@media(min-width: 700px) {
	.cookie-wrapper {
		width: 70vw;
		padding: 2rem;
	}
}

@media(min-width: 1000px) {
	.cookie-wrapper {
		width: 50vw;
		position: fixed;
		right: 2rem;
		bottom: 1rem;
		transition: 2s ease;
	}
}

@media(min-width: 1500px) {
	.cookie-wrapper {
		width: 40vw;
	}
}

.cookie-wrapper .cookie-image {
	/* 	background-image: url('/wp-content/plugins/hw-cookie-drops/icons/cookie-blue.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 30px;
	height: 120px; */
}

.cookie-wrapper .category-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Buttons */
.cookie-wrapper .cookie-buttons {
/*
	width: 100%; 
	display: flex; 
	flex-direction: column; 
*/
	margin-top: 1.5rem;
}
@media(min-width: 700px) {
	.cookie-buttons {
		display: flex;
		align-items: stretch;
		justify-content: space-between;
		flex-direction: row;
	}
}

.cookie-wrapper .cookie-buttons button {
	display: flex;
	justify-content: space-between;
	background-color: #E0F2FC;
	color: #2F3778;
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	margin: 0.5rem 0;
	width: 100%;
	border: none;
	align-items: center;
	font-weight: bold;
	flex-direction: row-reverse;
}

@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;
}

.cookie-wrapper .cookie-buttons button img {
	height: 1rem;
	margin: 0.5rem;
}

@media(min-width: 700px) {
	.cookie-wrapper .cookie-buttons button img {
		height: 2rem;
	}
}

#cookie-settings-save button {
	flex-direction: row;
	color: #2F3778;
	width: 100%;
	padding: 1rem 2rem;
	
}
@media(min-width: 700px) {
	#cookie-settings-save button {
		width: auto;
	}
}

#cookie-settings-save button:after {
	content: "\f00c";
	font-family: "Font Awesome\ 5 Free";
	font-weight: 600;
	color: #2F3778;
	margin-left: 1rem;
}


/* .cookie-wrapper .cookie-buttons #cookie-settings{
	background-color: #ffff;
	color: #130640;
} */

/* .cookie-wrapper .cookie-buttons #cookie-settings:after{
	content:"\f013";
} */

/* Typografi and margin */
.cookie-wrapper .cookie-category {
	margin: 1rem 0;
}

.cookie-wrapper .cookie-category h3 {
	font-size: 1.1rem;
	margin: 0;
	line-height: 1.2rem !important;
}

.cookie-wrapper .cookie-content h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}

.cookie-wrapper .cookie-category p {
	font-size: 1rem;
	line-height: 1.6em;
	margin: 0.5rem 0;
}

.cookie-wrapper .cookie-category a {
	color: #2F3778;
	font-size: 0.94rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: 0.3s;
}

.cookie-wrapper .cookie-category a.active {
	color: #2F3778;
}

.cookie-wrapper .cookie-category a:hover {
	cursor: pointer;
	color: #41C0F0;
}

.cookie-wrapper .cookie-category .cookie-description {
	margin: 1rem 0;
}

.cookie-wrapper .cookie-category .cookie-description .single-cookie {
	border-color: #2F3778;
}

.cookie-wrapper .cookie-page-link {
	color: #2F3778;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: 0.3s;
}

.cookie-wrapper .cookie-page-link:after {
	content: "\f35d";
	font-family: "Font Awesome\ 5 Free";
	font-weight: 600;
	font-size: 0.7rem;
	color: #2F3778;
	transition: 0.3s;
}

.cookie-wrapper .cookie-page-link:hover {
	cursor: pointer;
	color: #41C0F0;
	transition: 0.3s;
}

.cookie-wrapper .cookie-page-link:hover:after {
	color: #41C0F0;
	transition: 0.3s;
}

/* Settings specifics */

.cookie-category a:after {
	content: "\2b";
	font-family: "Font Awesome\ 5 Free";
	font-weight: 600;
	color: #2F3778;
	transition: 0.3s;
}

.cookie-category a.active:after {
	content: "\2d";
	color: #2F3778;
	transition: 0.3s;
}

.cookie-category a:hover:after {
	color: #41C0F0;
	transition: 0.3s;
}

.cookie-category .cookie-description .single-cookie {
	border-bottom: 0.2px solid gray;
	padding: 0 1rem;
}