/*
Theme Name: Adviesraad HBEL
Theme URI: https://adviesraadsociaaldomeinhbel.nl/
Author: Altena Digital
Description: Thema voor Adviesraad Sociaal Domein HBEL. Nagebouwd naar het oorspronkelijke ontwerp van de site: vaste kop met logo, plakkende kopbalk bij scrollen, uitschuifmenu op mobiel en een lichtblauwe voettekst.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adviesraad-hbel
Tags: full-width-template, custom-menu, custom-logo
*/

/*--------------------------------------------------------------
1.0 Normalize / basis
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: #fff;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block;
}

img {
	border: 0;
	max-width: 100%;
	height: auto;
}

button, input, optgroup, select, textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
2.0 Typografie
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: 'Arimo', Helvetica, Arial, sans-serif;
	color: #404040;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
	font-weight: 300;
	clear: both;
	margin-top: 0;
	margin-bottom: 20px;
}

h1 { font-size: 36px; line-height: 40px; }
h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 28px; line-height: 32px; }
h4 { font-size: 24px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 16px; line-height: 20px; }

p {
	margin: 0 0 20px;
}

a {
	color: #35cbf4;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #00abf4;
}

blockquote {
	margin: 0 1.5em;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
3.0 Formulieren
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #daedf6;
	border-radius: 100px;
	background: #daedf6;
	box-shadow: none;
	color: #000;
	font-size: 13px;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.2em;
	opacity: 1;
	-webkit-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #daedf6;
	border-color: #daedf6;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	max-width: 100%;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"] {
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	overflow: auto;
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
4.0 Toegankelijkheid
--------------------------------------------------------------*/
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/*--------------------------------------------------------------
5.0 Rasters
--------------------------------------------------------------*/
.grid {
	width: 100%;
	max-width: 1240px;
	min-width: 855px;
	margin: 0 auto;
	overflow: hidden;
}

.grid-home {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.grid:after,
.grid-home:after {
	content: "";
	display: table;
	clear: both;
}

.grid-pad {
	padding-top: 20px;
	padding-left: 40px;
	padding-right: 0;
}

.grid-home-pad {
	padding-top: 0;
	padding-right: 0;
}

[class*='col-'] {
	float: left;
	padding-right: 40px;
}

.col-1-1 { width: 100%; }
.col-2-3, .col-8-12 { width: 66.66%; }
.col-1-2, .col-6-12 { width: 50%; }
.col-1-3, .col-4-12 { width: 33.33%; }
.col-1-4, .col-3-12 { width: 25%; }

.col-home {
	float: left;
	padding-right: 0;
	width: 100%;
}

.header-overflow {
	overflow: visible;
	padding-top: 0 !important;
}

/*--------------------------------------------------------------
6.0 Kopbalk
--------------------------------------------------------------*/
#masthead {
	z-index: 500;
}

.site-header {
	border-bottom: 1px solid #ccc;
	width: 100%;
	z-index: 100;
	height: 5.5rem;
	background: #fff;
}

.site-header-home {
	position: absolute;
	top: 0;
	height: 5.5rem;
	width: 100%;
	z-index: 9;
	padding-bottom: 15px;
	background: none;
	border-bottom: 0;
}

.site-header:before,
.site-header:after {
	content: "";
	display: table;
}

.site-header:after {
	clear: both;
}

.site-branding {
	float: left;
	max-width: 300px;
	height: 5.5rem;
	display: table;
	width: auto;
	overflow: hidden;
}

.site-branding > div {
	display: table-cell;
	vertical-align: middle;
}

.site-title {
	margin-bottom: 0;
}

.site-title img {
	display: block;
	max-height: 5rem;
	width: auto;
}

h1.site-title {
	font-size: 36px;
	line-height: 40px;
}

h1.site-title a {
	color: #efefef;
}

/* Plakkende kopbalk die van boven inschuift bij scrollen */
.banner--clone {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background: #fff;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

.banner--stick {
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
}

.banner--clone .main-navigation a {
	height: 5.5rem;
	line-height: 5.25rem;
}

/*--------------------------------------------------------------
7.0 Navigatie
--------------------------------------------------------------*/
.navigation-container {
	width: auto;
	padding-right: 20px;
	position: absolute;
	top: 0;
	right: 0;
}

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	color: #404040;
	font-weight: 600;
	padding: 0 20px;
	line-height: 5.5rem;
	display: block;
	text-decoration: none;
}

.site-header-home .main-navigation a {
	color: #000;
}

.main-navigation ul ul {
	background: #fff;
	border-top: 4px solid #039be5;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	padding: 12px;
	float: left;
	position: absolute;
	top: 5.5rem;
	right: -999em;
	z-index: 99999;
	border-width: 0;
}

.main-navigation ul ul a {
	color: #666 !important;
	width: 185px;
	font-weight: 400;
	line-height: 20px;
	padding: 10px 12px;
	-webkit-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}

.main-navigation ul ul a:hover {
	background: #f5f5f5;
}

.main-navigation ul li:hover > ul {
	right: 50%;
	margin-right: -35%;
}

.main-navigation ul ul li:hover > ul {
	right: 100%;
	margin-right: 0;
}

/* Knop voor het uitschuifmenu; alleen zichtbaar op smalle schermen */
.toggle-menu {
	display: none;
	letter-spacing: 0;
	margin-top: 23px;
	background-color: #daedf6;
	border-color: #000;
	border-width: 0;
	opacity: 1;
}

/*--------------------------------------------------------------
8.0 Uitschuifmenu (mobiel)
--------------------------------------------------------------*/
.cbp-spmenu {
	background: #1e2022;
	position: fixed;
}

.cbp-spmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbp-spmenu h3 {
	color: #fff;
	font-size: 1em;
	padding: 20px;
	margin: 0;
	font-weight: 500;
	background: #0e0e0e;
	cursor: pointer;
}

.cbp-spmenu a {
	display: block;
	color: #fff;
	font-size: 1em;
	font-weight: 300;
}

.cbp-spmenu a:hover {
	background: #0e0e0e;
	color: #fff;
}

.cbp-spmenu-vertical {
	width: 240px;
	height: 100%;
	top: 0;
	z-index: 1000;
	overflow-y: auto;
}

.cbp-spmenu-vertical a {
	padding: 0.5em 1em;
}

.cbp-spmenu-right {
	right: -240px;
}

.cbp-spmenu-right.menu-open {
	right: 0;
}

.push-body {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.push-body-toleft {
	left: -240px;
}

.cbp-spmenu,
.push-body {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/*--------------------------------------------------------------
9.0 Inhoud
--------------------------------------------------------------*/
.site-content:before,
.site-content:after,
.entry-content:before,
.entry-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.site-content:after,
.entry-content:after,
.site-footer:after {
	clear: both;
}

.entry-content,
.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.hentry {
	margin: 0 0 1.5em;
}

#home-content .hentry {
	margin-bottom: 0;
}

#home-content h3.widget-title {
	line-height: 36px;
	text-transform: none;
	letter-spacing: 0.1em;
}

/* De rijen op de voorpagina sluiten direct op elkaar aan. */
#home-content .panel-grid {
	margin-bottom: 0 !important;
}

.entry-title {
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
10.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.widget-title {
	font-size: 17px;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin-bottom: 0;
}

/*--------------------------------------------------------------
11.0 Sociale balk en voettekst
--------------------------------------------------------------*/
.social-bar {
	background: #fff;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	padding: 20px 0 40px;
	text-align: center;
	font-size: 20px;
	color: #888;
}

.social-media-icons {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer {
	padding: 30px 0 20px;
	background: #cedbff;
	color: #636363;
	font-size: 14px;
}

.site-footer a {
	color: #636363;
}

.site-footer .widget-title {
	font-size: 15px;
	line-height: 40px;
	color: #636363;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0;
}

.site-footer .widget_nav_menu ul,
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


/*--------------------------------------------------------------
12.0 Contactformulier
--------------------------------------------------------------*/
.wpcf7 label {
	display: block;
	margin-bottom: 0.5em;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	max-width: 100%;
}

.wpcf7 .wpcf7-list-item {
	margin-left: 0;
}

/*--------------------------------------------------------------
14.0 Responsief
--------------------------------------------------------------*/
@media screen and (max-width: 960px) {

	.toggle-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}

	.cbp-spmenu ul {
		display: block;
	}
}

@media handheld, only screen and (max-width: 867px) {

	.grid {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 20px;
		padding-right: 10px;
	}

	.grid-pad {
		padding-left: 20px;
	}

	[class*='col-'] {
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
		margin-top: 10px;
		margin-bottom: 10px;
		padding-left: 0;
		padding-right: 10px;
	}

	.col-home {
		width: auto;
		float: none;
		margin: 0;
		padding: 0;
	}

	.site-branding {
		max-width: 70%;
	}

	.hide-on-mobile {
		display: none;
	}
}
