/* FLASH MESSAGES */

#snippet--flash-message {
	z-index: 999;
	position: fixed;
	top: 175px;
	right: 25px;
	width: 300px;
}

.flash-alert .inner {
	display: block;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid rgb(180, 180, 180);
	background-color: rgb(212, 212, 212);
}

.flash-alert .close {
	float: right;
	margin: 10px 20px 0px 0px;
	cursor: pointer;
}

.flash-alert .inner,
.flash-alert .close {
	color: rgb(88, 88, 88);
}

.flash-alert input {
	display: none;
}

.flash-alert input:checked~* {
	animation-name: dismiss, hide;
	animation-duration: 300ms;
	animation-iteration-count: 1;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-delay: 0s, 100ms;
}

.flash-alert.success .inner {
	border: 1px solid rgb(214, 233, 198);
	background-color: rgb(223, 240, 216);
}

.flash-alert.success .inner,
.flash-alert.success .close {
	color: rgb(70, 136, 71);
}

.flash-alert.warning .inner {
	border: 1px solid rgb(231, 233, 198);
	background-color: rgb(240, 238, 216);
}

.flash-alert.warning .inner,
.flash-alert.warning .close {
	color: rgb(70, 136, 71);
}

.flash-alert.error .inner {
	border: 1px solid rgb(233, 198, 198);
	background-color: rgb(240, 216, 216);
}

.flash-alert.error .inner,
.flash-alert.error .close {
	color: rgb(70, 136, 71);
}

@keyframes dismiss {
	0% {
		opacity: 1;
	}

	90%,
	100% {
		opacity: 0;
		font-size: 0.1px;
		transform: scale(0);
	}
}

@keyframes hide {
	100% {
		height: 0px;
		width: 0px;
		overflow: hidden;
		margin: 0px;
		padding: 0px;
		border: 0px;
	}
}



a[href^="#error:"] {
	background: red;
	color: white;
}

form .required label {
	font-weight: bold;
}

div.modal-main {
	display: none;
	z-index: 998;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .65);
}

.modal-contact-text {
	margin: 0 0.2rem;
	font-size: larger;
}

.modal-close {
	position: absolute;
	right: 5vh;
	font-size: 1.5rem;
	font-weight: 999;
	cursor: pointer;
}

div#snippet--modal {
	position: fixed;
	top: 25vh;
	left: 25vh;
	bottom: 25vh;
	right: 25vh;
	z-index: 999;
	background-color: white;
	border: solid;
	border-color: var(--color-header);
	border-radius: 15px;
	padding: 1rem;
}

.loader {
	position: fixed;
	top: 45vh;
	left: 45vw;
	display: none;
	background-image: url('../images/loader.png');
	background-repeat: no-repeat;
	background-size: 10vh;
	z-index: 1000;

	/* border: 10px solid rgba(51, 122, 183, 0.09);
	border-top: 10px solid rgba(51, 122, 183, 0.8);
	border-right: 10px solid rgba(51, 122, 183, 0.6);
	border-bottom: 10px solid rgba(51, 122, 183, 0.4);
	border-left: 10px solid rgba(51, 122, 183, 0.2);
	border-radius: 50%; */
	width: 10vh;
	height: 10vh;
	/* animation: spin 0.5s linear infinite; */
	animation: loader .33s ease-in-out
}

@keyframes loader {
	0% {
		opacity: 0%;
	}

	50% {
		opacity: 100%;
	}

	100% {
		opacity: 0%;
	}
}

/*	COOKIES MODAL 	*/

#consent-modal {
	z-index: 999;
	padding: 1em;
	position: fixed;
	/* left: 0;
	right: 0; */
	bottom: 0;
	min-height: 3em;
	width: 100vw;
}

#consent-modal.minimized {
	width: 50px;
}

#consent-modal-minimized {
	display: block;
}

#consent-modal-maximized {
	display: none;
	text-align: center;
	background-color: var(--color-primary-full);
	border: solid var(--color-headers);
	padding: 2em;
	line-height: 2;
}

#changeConsent {
	width: 50px;
	height: 50px;
	background-image: url('../images/cookie.jpg');
	background-position: center;
	background-size: cover;
}

.consent-text {
	padding-bottom: 0.75em;
}

.consent-buttons>.accept-cookies {
	background-color: var(--color-header);
	color: var(--color-primary);
	font-weight: bold;
}

.consent-buttons>.deny-cookies {
	background-color: var(--color-headers);
	color: var(--color-primary);
	font-weight: bold;
}

.consent-buttons>.accept-cookies:hover {
	background-color: var(--color-header);
	color: var(--color-headers);
}

.consent-buttons>.deny-cookies:hover {
	background-color: var(--color-header);
	color: var(--color-primary);
}
