/*- - - - - - - - - - - - - - */
/*- GOOGLE CONSENT CONTAINER -*/
/*- - - - - - - - - - - - - - */
#google_consent_container
{
	animation-duration: 0.6s;
	animation-name: fadeInDown;
	animation-fill-mode: both;
	
	position: fixed;
	z-index: 9999;
	bottom: 0;
	
	display: none;
	flex-direction: column;
	
	width: 100%;
	height: auto;
	
	font-family: inherit;
	font-size: 13px;
	line-height: 18px;
	
	box-sizing: border-box;
	backdrop-filter: blur(3px);
}

#google_consent_container .show
{
	display: flex; 
}

#google_consent_container button
{
	appearance: button;
	
	margin: 0;
	padding: 8px 32px;
	
	font-family: inherit;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	color: #ffffff;
	
	cursor: pointer;
	
	border: 0;
	/*border-radius: 4px;*/
	border-radius: 20px;
	
	box-sizing: border-box;
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
	
	background-color: #2766d9;
	
	opacity: 1.0;
}

#google_consent_container button:hover			{opacity: 0.8;}
#google_consent_container button.dark			{background-color: #52606e;}
#google_consent_container button.green			{background-color: #21bf5c;}
#google_consent_container button.gray			{background-color: #252526;}
#google_consent_container button.yellow			{background-color: #f6cd3f; color: black;}

/*
#google_consent_container button:hover			{background-color: #3570db;}
#google_consent_container button.green:hover	{background-color: #21bf5c; color: whitesmoke;}
#google_consent_container button.dark:hover		{background-color: #36404A; color: whitesmoke;}
*/

#google_consent_container button.disable		{background-color: #12171c; opacity: 0.2; cursor: default;}
#google_consent_container button.disable:hover	{background-color: #12171c; opacity: 0.2;}

@media (orientation: portrait)
{
	#google_consent_container
	{
		animation-name: fadeInUp;
		
		bottom: 0;
		
		flex-direction: column-reverse;
		justify-content: flex-end;
	}
}



/*- - - - - - - - - - - - - - - - - - - - - - - -*/
/*- GOOGLE CONSENT CONTAINER SECTION - ELEMENTS -*/
/*- - - - - - - - - - - - - - - - - - - - - - - -*/
#google_consent_container section
{
	position: relative;
	z-index: 1000;
	
	display: flex;
	
	width: 100%;
	
	margin: 0;
	padding: 20px 48px;
	
	text-align: justify;
	color: white;
	
	box-sizing: border-box;
	
	background-color: rgba(0, 0, 0, 0.69);
	/*background-color: #4b5563;*/
	background-color: black;
}

#google_consent_container section div:first-child
{
	display: flex; 
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0%;
	
	margin: 0 32px 0 0;
	padding: 0;
}

#google_consent_container section div:last-child
{
	display: flex; 
	align-items: center;
	gap: 16px;
}

@media (orientation: landscape)
{
	@media screen and (max-width: 1280px)
	{
		#google_consent_container section
		{
			flex-direction: column;
		}
		
		#google_consent_container section div
		{
			width: 100%;
		}
		
		#google_consent_container section div:first-child
		{
			margin: 0;
			padding: 0;
			text-align: center;
		}
		
		#google_consent_container section div:last-child
		{
			margin: 16px 0 0 0;
			justify-content: center;
		}
		
		dialog#google_consent_settings div.row:last-child
		{
			font-size: 90%;
		}
	}
}

@media (orientation: portrait)
{
	#google_consent_container section
	{
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-end;
		
		position: relative;
		
		top: auto;
		bottom: 0;
		
		margin: 0;
		padding: 16px;
	}
	
	#google_consent_container section div:first-child
	{
		margin: 0 0 16px 0;
		padding: 0;
		text-align: justify;
	}
	
	#google_consent_container section div:last-child
	{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px;
	}
	
	#google_consent_container button#btn_reject_all	{width: calc(50% - 8px); margin: 0; padding: 8px 16px;}
	#google_consent_container button#btn_select_cfg	{width: calc(50% - 8px); margin: 0; padding: 8px 16px;}
	#google_consent_container button#btn_accept_all	{width: 100%; margin: 0;}
}



/*- - - - - - - - - - - - - - - - - - - - - - - - */
/*- GOOGLE CONSENT CONTAINER DIALOG - ANIMATIONS -*/
/*- - - - - - - - - - - - - - - - - - - - - - - - */
@-webkit-keyframes fadeIn 
{
	from	{opacity: 0;}
	to		{opacity: 1;}
}

@keyframes fadeIn 
{
	from	{opacity: 0;}
	to		{opacity: 1;}
}

@-webkit-keyframes fadeInUp 
{
	from	{opacity: 0; transform: translate3d(0,50%,0);}
	to		{opacity: 1; transform: translate3d(0,0,0);}
}

@keyframes fadeInUp 
{
	from	{opacity: 0; transform: translate3d(0,50%,0);}
	to		{opacity: 1; transform: translate3d(0,0,0);}
}

@-webkit-keyframes fadeInDown 
{
	from	{opacity: 0; transform: translate3d(0,-50%,0);}
	to		{opacity: 1; transform: translate3d(0,0,0);}
}

@keyframes fadeInDown 
{
	from	{opacity: 0; transform: translate3d(0,-50%,0);}
	to		{opacity: 1; transform: translate3d(0,0,0);}
}



/*- - - - - - - - - - - - - - - - - - - - - - - */
/*- GOOGLE CONSENT CONTAINER DIALOG - ELEMENTS -*/
/*- - - - - - - - - - - - - - - - - - - - - - - */
dialog#google_consent_settings
{
	animation-duration: 0.6s;
	animation-fill-mode: both;
	animation-name: fadeInDown;
	
	position: relative;
	
	display: none;
	flex-direction: column;
	
	width: 100%;
	
	margin: 0;
	padding: 0 48px;
	
	color: white;
	
	border: 1px #4b5563 solid;
	
	border-radius: 0;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	
	box-sizing: border-box;
	
	/*background-color: whitesmoke;
	background-color: #464d5d;
	background-color: #4E5566;*/
	background-color: black;
	
	opacity: 1.0;
}

dialog#google_consent_settings[open] 
{
	animation-fill-mode: both;
	animation-duration: 0.3s;
	animation-name: fadeInUp;
	
	-webkit-animation-fill-mode: both; 
	-webkit-animation-name: fadeInUp;
	-webkit-animation-duration: 0.3s; 
}

dialog#google_consent_settings::backdrop
{
	animation-fill-mode: both; 
	animation-duration: 0.3s; 
	animation-name: fadeInUp;
	
	-webkit-animation-fill-mode: both; 
	-webkit-animation-name: fadeInUp;
	-webkit-animation-duration: 0.3s;
	
	background: rgba(0, 0, 0, 0.3); 
	backdrop-filter: blur(3px); 
}

dialog#google_consent_settings div.row
{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	
	width: 100%;
	
	padding: 10px 0;
}

dialog#google_consent_settings div.row:first-child
{
	display: none;
}

dialog#google_consent_settings div.row:last-child
{
	justify-content: flex-first;
}

dialog#google_consent_settings button	
{
	width: 180px;
	
	margin-right: 0; 
	padding: 8px 24px;
}

@media (orientation: landscape)
{
	@media screen and (max-width: 1280px)
	{
		#google_consent_container section
		{
			flex-direction: column;
			
			padding: 16px 16px;
		}
		
		#google_consent_container section div
		{
			width: 100%;
		}
		
		#google_consent_container section div:first-child
		{
			margin: 0;
			padding: 0;
			text-align: justify;
		}
		
		#google_consent_container section div:last-child
		{
			margin: 16px 0 0 0;
			justify-content: center;
		}
		
		#google_consent_container button#btn_reject_all	{flex: 1; padding: 8px 8px;}
		#google_consent_container button#btn_select_cfg	{flex: 1; padding: 8px 8px;}
		#google_consent_container button#btn_accept_all	{flex: 1; margin: 0;}
	
		dialog#google_consent_settings
		{
			padding: 0 16px;
		}
		
		dialog#google_consent_settings div.row
		{
			width: 100%;
			padding: 10px 0;
		}
		
		dialog#google_consent_settings button	
		{
			padding: 8px 8px;
		}
	}
}

@media (orientation: portrait)
{
	dialog#google_consent_settings
	{
		animation-name: fadeInUp;
		
		display: none;
		justify-content: flex-start;
		
		flex-direction: column;
		
		width: 100%;
		margin: auto;
		padding: 0 16px;
		
		border: 1px grey solid;
		border-bottom: 1px #383d48 solid;
		
		border-radius: 0;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
	}
	
	dialog#google_consent_settings div.row
	{
		width: 100%;
		padding: 0 16px;
		
		line-height: 48px;
		
		border-bottom: 1px #383d48 solid;
		
		box-sizing: border-box;
	}
	
	dialog#google_consent_settings div.row:first-child
	{
		display: block;
		
		padding: 0 16px;
		
		font-weight: 500;
		line-height: 48px;
		text-transform: uppercase;
		color: white;
		
		background: none;
	}
	
	dialog#google_consent_settings div.row:last-child
	{
		
		width: auto;
		padding: 15px 16px;
		
		border: 0;
		background: none;
	}
	
	dialog#google_consent_settings button	
	{
		width: 100%;
		padding: 8px 32px;
	}
}



/*- - - - - - - - - - - - - - - - - -*/
/*- GOOGLE CONSENT CONTAINER BUTTON -*/
/*- - - - - - - - - - - - - - - - - -*/
#google_consent_button
{
	position: fixed;
	z-index: 9999;
	right: 0;
	bottom: 0;
	
	display: none;
	
	padding: 2px 8px 2px 8px;
	
	font-size: 14px;
	line-height: 24px;
	text-align: center;
	color: white;
	
	border: 1px #767676 solid;
	border-bottom: 0;
	border-right: 0;
	
	border-radius: 0;
	border-top-left-radius: 6px;
	
	background-color: #464646;
	
	opacity: 0.75;
	
	cursor: pointer;
}

#google_consent_button:hover
{
	opacity: 1.0;
}