/* maatwerk css klant Credoned (credoned.nl, Bricks/AutomaticCSS) > huisstijl nagebouwd voor template all_index.doc.php
   kleuren/typografie overgenomen uit automatic.css van de website; aanpassen als de website wijzigt */

:root {
	--cn-primary: #3A3A3C;			/* donkergrijs: tekst, footer, koppen */
	--cn-primary-hover: #414144;
	--cn-primary-ultra-light: #f2f2f3;
	--cn-secondary: #05D98F;		/* groen: knoppen, actief menu */
	--cn-secondary-dark: #037c52;
	--cn-secondary-hover: #0bf9a6;
	--cn-purple: #888BE1;			/* paars: hero */
	--cn-yellow: #FFF9DA;			/* lichtgeel: kaders */
	--cn-base: #F0F0F0;				/* lichtgrijs: kaarten, lijnen menu */
	--cn-border: #E2E2E2;
	--cn-accent: #898989;			/* grijs: kleine tekst, copyright */
	--cn-white: #fff;
	--cn-font: 'Readex Pro', sans-serif;
	--cn-radius: 8px;
	--cn-container: 1100px;
}

/* ------------------------------------------------------------------ basis */
html {
	-webkit-font-smoothing: antialiased;
}
body {
	font-family: var(--cn-font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--cn-primary);
	background: var(--cn-white);
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--cn-font);
	font-weight: 700;
	color: var(--cn-primary);
	line-height: calc(4px + 2ex);
	text-wrap: pretty;
}
/* px ipv rem: bootstrap zet html op 10px */
h1, .h1 { font-size: 41px; }
h2, .h2 { font-size: 35px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 22px; }
h5, .h5 { font-size: 17.5px; }
h6, .h6 { font-size: 14px; }

a,
a:visited {
	color: var(--cn-secondary-dark);
	text-decoration: none !important;
}
a:hover,
a:active,
a:focus {
	color: var(--cn-secondary);
	text-decoration: none;
}

.cn-container {
	width: 100%;
	max-width: var(--cn-container);
	margin-left: auto;
	margin-right: auto;
}
.cn-container--full {
	max-width: none; /* header website: logo uiterst links, menu uiterst rechts */
}

/* ------------------------------------------------------------------ header */
#top {
	background: var(--cn-white);
	padding: 0 32px;
	position: relative;
	z-index: 20;
}
#top .cn-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
}
#top #logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	flex-shrink: 0;
}
#top #logo svg,
#top #logo img {
	width: 186px;
	height: 48px;
	display: block;
}
#top .cn-nav {
	display: flex;
	align-items: center;
	flex-direction: row;
	height: 100%;
}
#top .cn-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: stretch;
}
#top .cn-menu > li {
	margin: 0;
	padding: 0;
	display: flex;
}
#top .cn-menu > li > a {
	display: block;
	font-weight: 300;
	font-size: 16px;
	line-height: 24.9px; /* website: calc(6px + 2ex) */
	color: var(--cn-primary);
	text-decoration: none;
	border-right: 1px solid var(--cn-base);
	border-left: 1px solid var(--cn-base);
	margin-left: -1px; /* dubbele lijn tussen items voorkomen */
	padding: 27px 24px;
	white-space: nowrap;
	transition: background-color .15s ease;
}
#top .cn-menu > li:first-child > a {
	margin-left: 0;
}
#top .cn-menu > li > a:hover,
#top .cn-menu > li > a:focus,
#top .cn-menu > li.active > a {
	background-color: var(--cn-secondary);
	border-color: var(--cn-secondary);
	color: var(--cn-primary);
}
#top .cn-nova {
	display: flex;
	align-items: center;
	margin-left: 24px;
	font-size: 28px;
	font-weight: 700;
	color: var(--cn-purple);
}

/* hamburger (alleen mobiel) */
#top .cn-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	margin: 0;
	cursor: pointer;
	width: 40px;
	height: 40px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
#top .cn-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--cn-primary);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
#top .cn-toggle[aria-expanded="true"] .bar-top { transform: translateY(7px) rotate(45deg); }
#top .cn-toggle[aria-expanded="true"] .bar-center { opacity: 0; }
#top .cn-toggle[aria-expanded="true"] .bar-bottom { transform: translateY(-7px) rotate(-45deg); }

/* bootstrap .navbar-collapse overrulen: desktop altijd zichtbaar */
#top .navbar-collapse {
	padding: 0;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

/* ------------------------------------------------------------------ hero */
#visual {
	background-color: var(--cn-purple);
	/* background-image (pijlen) via inline style in template */
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top right;
	color: var(--cn-white);
	padding: 0 32px;
}
#visual .cn-container {
	min-height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px 0;
}
#visual.has-text .cn-container {
	min-height: 220px;
}
#visual h1 {
	color: var(--cn-white);
	margin: 0 0 8px 0;
	max-width: 60%;
}
#visual p {
	color: var(--cn-white);
	margin: 0;
	max-width: 60%;
	font-size: 16px;
}

/* ------------------------------------------------------------------ content */
#content {
	flex: 1 0 auto;
	padding: 40px 32px 60px 32px;
	background: var(--cn-white);
}
#content .content-container {
	position: relative;
}

/* ------------------------------------------------------------------ footer */
/* maten gemeten op website (1400px breed): sectie padding 50/60/24, container 1100, kolommen 347 met gap 30 */
#bottom {
	background: var(--cn-primary);
	color: var(--cn-white);
	padding: 50px 60px 24px 60px;
	font-weight: 300;
	font-size: 16px;
	line-height: 24.9px;
}
#bottom .cn-footer-cols {
	display: flex;
	flex-direction: row;
	gap: 30px;
	border-bottom: 1px solid var(--cn-white);
	padding-bottom: 30px;
}
#bottom .cn-footer-col {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
#bottom h5 {
	color: var(--cn-white);
	font-size: 17.46px;
	font-weight: 500;
	line-height: 22.4px;
	margin: 0;
}
#bottom .cn-footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
#bottom .cn-footer-links a,
#bottom .cn-footer-links a:visited,
#bottom .cn-footer-col p {
	color: var(--cn-white);
	font-size: 16px;
	line-height: 24.9px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
#bottom a,
#bottom a:visited {
	text-decoration: underline !important; /* website onderstreept links in footer */
}
#bottom .cn-footer-links a:hover {
	color: var(--cn-secondary);
}
#bottom .cn-footer-links svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	flex-shrink: 0;
}
#bottom .cn-footer-bottom {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-top: 16px;
	color: var(--cn-accent);
}
#bottom .cn-footer-bottom > div {
	font-size: 16px; /* expliciet: generieke div-regel (13px) voor tabellen overrulen */
	line-height: 24.9px;
}
#bottom .cn-footer-bottom a,
#bottom .cn-footer-bottom a:visited {
	color: var(--cn-accent);
}
#bottom .cn-footer-bottom a:hover {
	color: var(--cn-white);
}

/* ------------------------------------------------------------------ knoppen cf. huisstijl (.btn--primary website) */
.btn {
	font-family: var(--cn-font);
	font-weight: 500;
	letter-spacing: .5px;
	border-radius: var(--cn-radius) !important;
	border-width: 0;
	transition: background-color .15s ease, color .15s ease;
}
.btn-primary,
.btn-primary:focus,
.btn-primary:visited,
.btn-circle,
.cn-btn,
.cn-btn:visited {
	background-color: var(--cn-secondary);
	border-color: var(--cn-secondary);
	color: var(--cn-primary);
}
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:hover,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-circle:hover,
.cn-btn:hover,
.cn-btn:focus {
	background-color: var(--cn-primary);
	border-color: var(--cn-primary);
	color: var(--cn-primary-ultra-light);
}
.cn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 8.75rem;
	padding: 16px 26px;
	line-height: 1;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: .5px;
	border-radius: var(--cn-radius);
	text-decoration: none !important;
	cursor: pointer;
}
.cn-btn--light,
.cn-btn--light:visited {
	background-color: var(--cn-primary-ultra-light);
	color: var(--cn-primary);
}
.cn-btn--light:hover,
.cn-btn--light:focus {
	background-color: #d8d8da;
	color: #1a1a1a;
}
.btn-primary-active-check,
.btn-primary-active-check:active,
.btn-primary-active-check:enabled,
.btn-primary-active-check:focus,
.btn-primary-active-check:visited,
.btn-primary-active-check:hover {
	color: var(--cn-secondary-dark);
}

/* ------------------------------------------------------------------ OthoOnline componenten (overgenomen uit praclox.mtw.css, kleuren aangepast) */

/* export table niet netjes door css Praclox */
li {
	padding-bottom: 0px;
	margin-left: 0px;
}

th {
	color: var(--cn-primary);
	font-size: 13px;
}

select {
	padding: 3px 0px;
}

#content .nav > li {
	margin-left: 0px;
	/*margin-bottom: 5px;*/
}

/* praclox css past grootte knop sluiten modal aan */
.close > span {
	font-size: 21px;
}

.glyphicon {
	color: var(--cn-secondary-dark);
}

/* knop bevat standaard schaduw, deze verwijderen voor exportknop tabel */
.export > .btn,
.export > .btn:active,
.export > .btn:enabled,
.export > .btn:focus,
.export > .btn:hover,
.export > .btn:visited {
	top: 0px;
	box-shadow: none;
	height: 34px;
}

.glyphicon-chevron-right {
	font-size: 13px;
}

/* overrule van margin in template css */
.oo-dossier-ideal {
	margin: 10px !important;
}

/* kleur tabs in dossierplaatje */
.oo-dossier-tabs .nav > li > a {
	font-family: var(--cn-font);
	font-weight: 500;
	font-size: 13px;
	color: var(--cn-primary);
	text-transform: uppercase;
	border-radius: var(--cn-radius) var(--cn-radius) 0 0;
}
.oo-dossier-tabs .nav > li > a:focus,
.oo-dossier-tabs .nav > li > a:hover,
.oo-dossier-tabs .nav-tabs > li.active > a,
.oo-dossier-tabs .nav-tabs > li.active > a:focus,
.oo-dossier-tabs .nav-tabs > li.active > a:hover {
	background-color: var(--cn-secondary);
	color: var(--cn-primary);
}

.oo-exp-icon-line-active {
	border-color: var(--cn-secondary);
}

/* default marge overrulen */
.oo-invoer-bijl-comment {
	margin: 5px 0px 0px 0px;
	font-style: italic;
	color: var(--cn-accent);
}

/* knop actief kunnen zetten */
.oo-tab-active {
	box-shadow: 0 2px var(--cn-secondary-dark);
	top: 2px;
}

.oo-pay-extra-icon-active,
.oo-regeling-aantal-active {
	color: var(--cn-secondary-dark);
}

/* specificatie zichtbaar maken met kleur */
.oo-saldo-spec > td:first-child {
	color: var(--cn-secondary-dark);
}

/* grootte pagination table */
.pagination-info,
.page-list,
.page-size {
	font-size: 13px;
}

.panel-heading a {
	font-size: 14px;
}

/* in geval van tabel kleiner maken */
.detail-view, .table, .select2-results__option, .select2-selection__rendered, .select2-search__field, div, td {
	font-size: 13px;
}

/* kaders/panels cf. kaarten website */
.panel,
.well,
.modal-content {
	border-radius: var(--cn-radius);
	border-color: var(--cn-border);
}
.panel-default > .panel-heading {
	background-color: var(--cn-base);
	border-color: var(--cn-border);
	color: var(--cn-primary);
}
.form-control {
	border-radius: var(--cn-radius);
	border-color: var(--cn-border);
	font-family: var(--cn-font);
}
.form-control:focus {
	border-color: var(--cn-secondary);
	box-shadow: 0 0 0 2px rgba(5, 217, 143, .25);
}

#content .nav { margin-top: 0px; /*margin-bottom: 20px;*/ }
#content .oo-tabs-boven { border-bottom: 0px; }
#content .oo-dossier-pdf { width: 25px !important; float: right !important; margin: 10px !important; }
#content .oo-nav > li > a { border-radius: 0px !important; padding: 15px !important; border: none !important; }
#content .oo-nav > li { padding-bottom: 0px; margin: 0px; }
#content .oo-nav { margin: 0px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
	#top .cn-menu > li > a {
		padding: 27px 16px;
	}
}

@media (max-width: 767px) {
	#top {
		padding: 0 20px;
	}
	#top .cn-container {
		flex-wrap: wrap;
		min-height: 70px;
	}
	#top #logo svg,
	#top #logo img {
		width: 140px;
		height: 36px;
	}
	#top .cn-toggle {
		display: flex;
	}
	#top .cn-nav {
		flex-direction: row-reverse;
		margin-left: auto;
	}
	/* uitklapmenu onder de header, over de hele breedte */
	#top .navbar-collapse {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		width: auto;
		margin: 0;
		padding: 0 20px;
		background: var(--cn-white);
		border-top: 1px solid var(--cn-base);
		border-bottom: 1px solid var(--cn-base);
		box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
		z-index: 30;
	}
	#top .navbar-collapse.collapse {
		display: none !important;
	}
	#top .navbar-collapse.collapse.in {
		display: block !important;
	}
	#top .cn-menu {
		flex-direction: column;
		align-items: stretch;
	}
	#top .cn-menu > li > a {
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid var(--cn-base);
		padding: 14px 0;
		margin: 0;
		width: 100%;
	}
	#top .cn-menu > li:last-child > a {
		border-bottom: 0;
	}
	#top .cn-menu > li > a:hover,
	#top .cn-menu > li.active > a {
		background-color: var(--cn-secondary);
		padding-left: 12px;
	}
	#top .cn-nova {
		font-size: 20px;
		margin-left: 12px;
	}
	#visual,
	#content,
	#bottom {
		padding-left: 20px;
		padding-right: 20px;
	}
	#bottom {
		padding-top: 30px;
	}
	#visual .cn-container {
		min-height: 100px;
		padding: 20px 0;
	}
	#visual h1,
	#visual p {
		max-width: 100%;
	}
	#visual h1 {
		font-size: 32px;
	}
	#content {
		padding-top: 20px;
		padding-bottom: 40px;
	}
	#content .content-container {
		margin-left: 0px;
		margin-right: 0px;
	}
	#bottom .cn-footer-cols {
		flex-direction: column;
		gap: 32px;
	}
	#bottom .cn-footer-bottom {
		flex-direction: column;
		gap: 8px;
	}
}
