/*
* example for styling overlay as a ribbon at bottom
* example: https://blog.migk.hr/
*/

#cookies-background {
	background-color: rgba(0, 0, 0, 0.795);
	bottom: 0;
	left: 0;
	width:100%;
	display: block;
	position: fixed;
	z-index: 1000000;
}

#cookies-box {
	background-color: none;
	margin: auto;
	padding: 1.5em 5%;
	text-align: center;
	width: 100%;
	max-width:1170px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: flex-end;
	font-size: 1rem;
}

.infoText {
	font-size: 1 rem;
	color: #fff;
	flex: 3 0 300px;
	text-align: left;
	align-self: center;
}

.btnsCookie {
	flex:none;
	margin-left: 1em;
}

.btnsCookie .btnCookie {
	width: 12ch;
}

.btnCookie.decline {
	margin-top: 1em;
}

.btnCookie {
	width:auto;
	color: #ffffff;
	border-width: 0px;
	border-radius: 2px;
	background-color: #4d4d4d;
	padding: 0.3em 1em;
	line-height: 1.7em;
	display: block;
	margin:auto;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background-color 0.4s ease, color 0.4s ease;
}

.btnCookie:hover {
	color: #6b6b6b;
	background-color: #ffffff;
	border-color: #1a1a1a;
}

#btnLearn-more {
	display: block;
	font-size: 0.8em;
	font-weight:400;
	text-decoration: underline;
	margin: 1.5em auto -0.4em;
	color: #fff;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

#btnLearn-more:hover {
	opacity: 0.7;
}

@media all and (max-width:512px) {
	#cookies-box {
		justify-content: left;
	}
	.btnsCookie {
		margin-left: 0;
		text-align: left;
		margin-top: 1.5em;
	}

	.btnCookie.decline {
		margin-top: 0;
		margin-left: 3ch;
	}

	#btnLearn-more, .btnCookie {
		display: inline-block;
	}

	#btnLearn-more {
		margin-left: 2em;
	}
}