/* fullscreen fade */

.ibvcc-dimscreen
{
	z-index: 999100;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,.5);
	
	transition: opacity 300ms linear;
	opacity: 0;
	pointer-events: none;
}
.ibvcc-dimscreen.show
{
	opacity: 1;
	pointer-events: all;
}


/* de IB-Vision CookieConsent popup */

.ibvcc-cookieconsent-popup
{
	display: none;
	
	z-index: 999101;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: calc(100% - 30px);
	max-height: 96vh;
	overflow-y: auto;
	padding: 5px 15px 15px 15px;
	color: black;
	background-color: white;
	border-radius: 3px;
}
.ibvcc-cookieconsent-popup.show
{
	display: block;
}

@media all and (min-width: 1024px)
{
	.ibvcc-cookieconsent-popup
	{
		width: 800px;
	}
}

@media (prefers-color-scheme: dark)
{

}

.ibvcc-cookieconsent-popup a,
.ibvcc-cookieconsent-popup a:hover
{
	text-decoration: none;
}


/* branding header */

.ibvcc-cookieconsent-popup header.branding
{
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	margin: 0 0 15px 0;
}

.ibvcc-cookieconsent-popup .branding img
{
	height: 42px;
}

.ibvcc-cookieconsent-popup .branding .poweredby
{
	font-size: 8pt;
	color: #999;
}

.ibvcc-cookieconsent-popup .branding .company
{
	display: block;
	margin: -4px 30px 0 0;
	font-size: 8pt;
	text-align: right;
	color: #999;
}
.ibvcc-cookieconsent-popup .branding .company .by
{
	color: #96bf0d;
}

.ibvcc-cookieconsent-popup .branding .productinfo a:hover
{
	text-decoration: none;
}

.ibvcc-cookieconsent-popup .branding .ibv-branding
{
	justify-self: end;
	display: flex;
	gap: 10px;
	/* align-items: end; */
	align-items: center;
}

.ibvcc-cookieconsent-popup .branding .productname
{
	display: block;
	line-height: 1;
	/* padding: 9px 0 1px 0; */
	/* border-top: 4px dotted #bbb; */
}
.ibvcc-cookieconsent-popup .branding .productname .n1
{
	font-size: 12pt;
	font-weight: bold;
	color: #bbb;
}
.ibvcc-cookieconsent-popup .branding .productname .n2
{
	margin: 0 0 0 -4px;
	font-size: 12pt;
	color: #96bf0d;
}


/* tabs */

.ibvcc-cookieconsent-popup .tabs.active 
{
	display: block;
}

.ibvcc-cookieconsent-popup .tab-header
{
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	width: auto;
	margin: 0 -15px 25px -15px;
	font-size: 15pt;
}

.ibvcc-cookieconsent-popup a.tab-label
{
	flex-grow: 1;
	padding: 15px 0;
	text-align: center;
	color: #000;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

.ibvcc-cookieconsent-popup a.tab-label:hover,
.ibvcc-cookieconsent-popup a.tab-label.active
{
	text-decoration: none;
	color: #2196f3;
}
.ibvcc-cookieconsent-popup a.tab-label.active
{
	border-bottom: 2px solid #2196f3;
}

.ibvcc-cookieconsent-popup .tab-content
{
	display: none;
}

.ibvcc-cookieconsent-popup .tab-content.active
{
	display: block;
}



/* togglegrid */

.ibvcc-cookieconsent-popup .tab-content.toestemming .togglegrid
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 15px;
}

@media all and (min-width: 1024px)
{
	.ibvcc-cookieconsent-popup .tab-content.toestemming .togglegrid
	{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-gap: 0;
	}
}

.ibvcc-cookieconsent-popup .tab-content .togglegrid .title
{
	font-size: 14pt;
}

.ibvcc-cookieconsent-popup .tab-content.toestemming .togglegrid .details
{
	display: none;
}

.ibvcc-cookieconsent-popup .tab-content.details .togglegrid
{
	display: grid;
	grid-template-columns: 1fr;
}

.ibvcc-cookieconsent-popup .tab-content.details .togglegrid .option
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 15px 0;
	padding: 0 0 15px 0;
	border-bottom: 1px solid #ddd;
}
.ibvcc-cookieconsent-popup .tab-content.details .togglegrid .option:last-child
{
	padding: 0;
	border-bottom: none;
}

.ibvcc-cookieconsent-popup .tab-content.details .togglegrid .option label
{
	justify-self: end;
}

.ibvcc-cookieconsent-popup .tab-content.details .togglegrid .option .details
{
	grid-column: span 2;
}



/* toggles */

.ibvcc-cookieconsent-popup .toggle-switch
{
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.ibvcc-cookieconsent-popup .toggle-switch input
{
	opacity: 0;
	width: 0;
	height: 0;
}

.ibvcc-cookieconsent-popup .toggle-switch .slider
{
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 34px;
	transition: .4s;
}

.ibvcc-cookieconsent-popup .toggle-switch .slider:before
{
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	border-radius: 50%;
	transition: .4s;
}

.ibvcc-cookieconsent-popup .toggle-switch input:checked + .slider 
{
	background-color: #2ecc71;
}
.ibvcc-cookieconsent-popup .toggle-switch.readonly input:checked + .slider 
{
	/* background-color: grey; */
	background-color: #bec;
}

.ibvcc-cookieconsent-popup .toggle-switch input:checked + .slider:before 
{
	transform: translateX(26px);
}


/* button grid */

.ibvcc-cookieconsent-popup .buttongrid
{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 15px;
}

@media all and (min-width: 1024px)
{
	.ibvcc-cookieconsent-popup .buttongrid
	{
		grid-template-columns: 1fr 1fr 1fr;
		justify-content: space-between;
		grid-gap: 30px;
	}
}

.ibvcc-cookieconsent-popup .buttongrid button
{
	padding: 15px;
	background-color: white;
	border: 1px solid #e9222a;
	border-radius: 3px;
}

.ibvcc-cookieconsent-popup .buttongrid button.cookieconsent
{
	display: block;
	width: 100%;
	font-size: 14pt;
	/* color: white; */
	/* background-color: #2196f3; */
	color: black;
	background-color: beige;
	/* border: none; */
	border: 1px solid black;
}

.ibvcc-cookieconsent-popup .buttongrid button.cookieconsent.primary
{
	color: white;
	background-color: green;
	border-color: green;
}

@media all and (max-width: 1023px)
{
	.ibvcc-cookieconsent-popup .buttongrid button.cookieconsent.all
	{
		order: 1;
	}
	.ibvcc-cookieconsent-popup .buttongrid button.cookieconsent.selection
	{
		order: 2;
	}
	.ibvcc-cookieconsent-popup .buttongrid button.cookieconsent.deny
	{
		order: 3;
	}
}
