/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Version: 1
Updated: 2021-07-05 13:42
*/

/* body font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');


:root {
	--fuchsia: #c10075 ;
	--lichtblauw: #019cde;
	--donkerblauw: #222d7f;
	--paars: #67227d;
}

#et-main-area {
	/* overflow-x: hidden; */
}

/* TYPOGRAPHY - FOR GUTENBERG BLOCKS */

body {
	font-size: 16px;
	color: #111;
}

h1,
h2,
h3 {
	line-height: 1em;
	text-align: center;
}

h1 {
	/* font-size: 3em; */
	font-size: clamp(2.5em, 5vw, 3em);
	font-weight: 900;
}

h2 {
	font-size: 2em;
	font-weight: 700;
}

h3 {
	font-size: 1.5em;
	font-weight: 600;
	line-height: 1.25em;
	width: 30ch;
	max-width: 100%;
	margin: 1em auto;
}

p {
	font-family: 'Noto Serif', serif;
	font-weight: 400;
	font-size: 1.25em;
	line-height: 1.75em;
	width: 60ch;
	max-width: 100%;
	margin: auto;
}

blockquote, .wp-block-quote {
	border: none;
	quotes: unset;
	width: 40ch;
	max-width: 100%;
	padding: 0;
	margin: 4em auto;
}
blockquote p::before, .wp-block-quote p::before {
	content: open-quote;
}
blockquote p, .wp-block-quote p {
	font-size: 2em;
	font-weight: 800;
	font-style: italic;
	line-height: 1.25em;
	color: var(--donkerblauw);
}
blockquote p::after, .wp-block-quote p::after {
	content: close-quote;
}
blockquote:last-of-type, .wp-block-quote:last-of-type {
	margin-bottom: 0;
}
blockquote:only-of-type, .wp-block-quote:only-of-type {
	margin-bottom: 4em;
}

img {
	display: block;
}
.wp-block-image img {
	display: block;
	margin: 2em auto;
}

/* gutenberg buttons container */
.wp-block-buttons {
	justify-content: center;
	margin: 2em 0;
}
/* button link */
.wp-block-buttons>div>a {
	background-color: var(--donkerblauw);
	border-radius: 3px;
}

.archive.category .et_pb_section,
.archive.category .et_pb_row {
	padding-bottom: 0;
}

/* UNSET CERTAIN TYPOGRAPHY ELEMENTS FOR SPECIFIC DIVI CLASSES */
[class^='et_pb']>p,
.post [class='post-content-inner']>p {
	width: unset;
	color: #111;
}
[class^='et_pb']>h2 {
	text-align: unset;
}

/* RESET DIVI'S DEFAULT SIDEBAR LAYOUT */
#sidebar {
	display: none;
}
#main-content .container::before {
	display: none;
}
#main-content #left-area {
	width: unset;
	padding: unset;
	float: none;
}

															/* DESKTOP MENU */

/* remove dropshadow from main-header container and remove transition too */
#main-header {
	box-shadow: none;
	transition: none;
}

/* set the menu link color */
#top-menu a {
	color: #000;
}

/* set the opacity to 1 on menu-item link hover */
#top-menu>.menu-item>a:hover {
	opacity: 1;
}
#top-menu>.menu-item.current-menu-item>a,
#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a {
	color: var(--fuchsia);
}

/* hover states with ::before */
#top-menu>li>a::before {
	content: "";
	position: absolute;
	top: -170px;
	left: -10px;
	width: calc(100% + 20px);
	z-index: -1;
	border-radius: 2px;
	height: 115px;
	transform: skewY(0deg);
	transition: .3s ease-in-out all;
	}	

	#top-menu>li>a:hover::before {
	top: -60px;
	transform: skewY(8deg);
}

#top-menu>.contact-link>a::before {
	background: var(--lichtblauw);
	top: -60px;
	transform: skewY(8deg);
}
#top-menu>.contact-link>a,
#top-menu>.contact-link.current_page_item>a {
	color: #fff;
}

/* main menu dropdown */
#top-menu li:not(.mega-menu) ul, 
#top-menu li:not(.mega-menu) li {
	padding: 0;
	margin: 0;
	width: auto;
}

#top-menu li ul:not(.mega-menu ul) {
	border: 0;
	line-height: 0;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#top-menu li ul a {
	width: 30ch;
}

#top-menu ul li a:hover {
	opacity: 1;
}

#top-menu li ul:not(.mega-menu ul) a:hover {
	background-color: var(--lichtblauw);
	color: white;
}

/* dropdown item with sub-items */
#top-menu li li ul {
	top: 0;
	left: 75%;
}

																/* MOBILE MENU */
#mobile_menu {
	padding: 0;
}

#mobile_menu li li,
#mobile_menu li ul.sub-menu {
	padding-left: 0;
}

#mobile_menu .menu-item-has-children>ul a {
	padding-left: 4em;
}

/* remove all the submenu menu-items, so only top level menus remain */
#mobile_menu li>ul>li>ul li {
	display: none;
}

#mobile_menu li a {
	color: unset;
	border: 0;
	opacity: 1;
}

#mobile_menu li a:hover {
	background-color: var(--lichtblauw);
	color: white;
	opacity: 1;
}

.et_mobile_menu .menu-item-has-children > a {
	font-weight: 900;
	text-transform: uppercase;
	background-color: white;
}

.et_mobile_menu ul:first-of-type .menu-item-has-children > a {
	font-weight: unset;
	text-transform: unset;
}



/* ----------------------
				HOMEPAGE
------------------------*/

.home #et-boc .archive-grid .column>.et_pb_post:last-child {
	margin-bottom: 0;
} 
.home #footer-bottom {
	margin-top: 0;
}

/* HOMEPAGE > ACTUEEL - NIEUWS - TICKER */
#actueel {
	visibility: visible;
}
/* the column / container */
#nieuws-container {
	display: flex;
	align-items: center;
	background-color: var(--lichtblauw);
	font-size: 1em;
}
/* the text module - the label */
.nieuws-label p {
	font-family: unset;
	font-size: inherit;
	font-weight: 700;;
	text-transform: uppercase;
	color: white;
	padding: 0 1em;
}
/* the slider module */
/* the overlay */
#nieuws-container .nieuws-slider .et_pb_slide_overlay_container {
	background-color: transparent;
}
/* the background color */
#nieuws-container .nieuws-slider.et_pb_post_slider {
	background-color: #fafafa;
}
/* the post title */
#nieuws-container .nieuws-slider h2 {
	font-size: inherit;
	font-weight: inherit;
	padding: .5em 0;
	opacity: 1;
}
#nieuws-container .nieuws-slider h2 > a {
	color: #111;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow-x: hidden;
	padding: .75em 0;
}
#nieuws-container .et_pb_slide_description {
	text-shadow: none;
}
/* no slider post content */
#nieuws-container .et_pb_slide_content {
	display: none;
}
/* no slider arrows */
#nieuws-container .nieuws-slider>.et-pb-slider-arrows {
	display: none;
}


/* HOMEPAGE > HERO SECTION */

#hero {
	visibility: visible;
}

.hero-title-row {
	padding-bottom: 0;
}

/* The H1 */
.hero-title {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: left;
}

/* wij vormen samen */
.hero-title span:nth-child(1) {
	color: var(--paars);
	padding-right: .25em;
}

/* aalten-dinxperlo */
.hero-title span:nth-child(2) {
	color: var(--fuchsia);
}

/* HOMEPAGE > INTRO SECTION */

.hero-intro-row {
	display: flex;
	flex-wrap: wrap;
}

/* the first column in this row */
.hero-intro-row > *:first-child {
	display:flex;
	flex-direction: column;
	align-items: center;
}

/* the figulus icon */
div.figulus-icon {
	width: 96px;
	margin-left: auto;
	margin-right: 0;
}

/* HOMEPAGE > GESCHIEDENIS SECTION */

#history {
	visibility: visible;
}


/* HOMEPAGE > ONDERWERPEN GRID SECTION */

#aanbod {
	visibility: visible;
}
#aanbod h2 {
	text-align: center;
}

/* this is the single post container */
.archive-grid>div .column>.post,
.archive-grid>div .column>.page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 0;
	border: none;
}

/* the image container */
.archive-grid .et_pb_image_container {
	margin-bottom: 0;
}

/* the a tag (which holds the img) inside the image container */
.archive-grid .entry-featured-image-url {
	margin: 0;
}

/* the a tag image overlay */
.archive-grid .entry-featured-image-url:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	transition: .6s ease-in-out;
}

/* the a tag image overlay on hover */
.archive-grid .entry-featured-image-url:hover:before {
	background-color: rgba(0, 0, 0, .3);
}

/* the post or page title */
.archive-grid h2 {
	position: absolute;
	align-self: center;
	text-align: center;
	margin-top: -.5em;
	padding: 1em;
	background-color: rgba(255, 255, 255,.4);
	color: white;
	text-shadow: 2px 2px 20px #000;
	max-width: 30ch;
	transition: .8s ease-in-out;
}

/* the post title on hover */
.archive-grid h2:hover {
	background-color: var(--lichtblauw);
	border-radius: 3px;
	text-shadow: unset;
}


/* HOMEPAGE > WERKEN BIJ/VOOR FIGULUS */
#werkenbij {
	visibility: visible;
}

/* END OF HOMEPAGE DESIGN */


/* CONTACT PAGE DESIGN */
#contact-pagina.et_pb_section,
#contact-pagina>.et_pb_row {
	padding-bottom: 0;
}

#contact-pagina>.et_pb_row {
	width: 90%;
	max-width: 100%;
}

/* unset some elements */
#contact-pagina article p,
#contact-pagina article h2,
#contact-pagina article h3 {
	text-align: unset;
	width: unset;
	color: unset;
}

#blog-module > div {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
}

#blog-module article {
	display: flex;
	flex-direction: column;
}

	#blog-module article:nth-child(1) {
		order: 4;
		margin-bottom: 0;
	}
	#blog-module article:nth-child(2) {
		order: 3;
		margin-bottom: 0;
	}
	#blog-module article:nth-child(3) {
		order: 2;
	}
	#blog-module article:nth-child(4) {
		order: 1;
	}

#blog-module h2 {
	min-height: 2.5em;
}

#blog-module h3 {
	margin: unset;
}

#blog-module p>em,
#blog-module p:last-of-type {
	padding-bottom: 1em;
}


/* SINGLE POST STYLING */

.single .post {
	padding-bottom: 0;
}

.et_post_meta_wrapper {
	display: flex;
	flex-direction: column;
}

.et_post_meta_wrapper h1 {
	padding-bottom: 1em;
	order: 1;
}

#left-area .et_post_meta_wrapper p.post-meta {
	font-size: 20px;
	text-align: center;
	margin-top: 1em;
	order: 0;
}

.et_post_meta_wrapper img {
	order: 3;
}

/* single post .category-contact-informatie */
.single-post .category-contact-informatie p,
.single-post .category-contact-informatie h2
.single-post .category-contact-informatie h3 {
	width: unset;
	text-align: unset;
}
.single-post .category-contact-informatie .entry-content h3 {
	width: unset;
	margin: 1em 0;
	text-align: unset;
}

.single-post .category-contact-informatie .post-meta {
	display: none;
}



/* FIGULUS CUSTOM FOOTER */

#figulus-footer {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #eee;
}

#figulus-footer>.et_pb_column {
	width: auto;
	margin-right: auto;
}

			@media screen and (max-width: 990px) {
				#figulus-footer .et_pb_column {
					width: 50%;
				}
			}

#figulus-footer H3 {
	width: unset;
	max-width: unset;
	font-weight: 700;
	text-align: unset;
	color: var(--donkerblauw);
	margin: 0;
}

/* setting the margin-bottom to 0 - makes the hamburger icon jump?!! */
#figulus-footer .et_pb_text {
	margin-bottom: .5em;
}

#figulus-footer p {
	width: unset;
	font-size: 1em;
}

/* THE CUSTOM FIGULUS FOOTER > BOTTOM BAR */
#figulus-bottom-bar {
	width: 100%;
	max-width: 100%;
	padding: 1em 10%;
	margin-top: 4em;
	border-top: 1px solid #eee;
	text-align: center;
}
#figulus-bottom-bar a {
	font-weight: bold;
	color: var(--donkerblauw);
}
#figulus-bottom-bar a:hover {
	opacity: 1;
}


/* SEARCH - MENU */
.et-search-form input {
	background-color: var(--lichtblauw);
	padding: 0 2em;
	height: 100%;
}
.et-search-form input::placeholder {
	font-size: 1.2em;
	font-weight: 700;
	color: white;
	opacity: 1;
}

/* SEARCH RESULT PAGE */
.search {
	visibility: visible;
	/* this is the default Wordpress body class for search results */
}

.search .entry-featured-image-url,
.search .published {
	display: none;
}

.search [class="post-content-inner"]>p {
	width: unset;
	color: unset;
}

/* SCROLL TO TOP ICON */
.et_pb_scroll_top.et-pb-icon {
	background-color: transparent;
}
.et_pb_scroll_top.et-pb-icon::before {
	color: black;
	font-size: 40px;
}


/* MEDIA QUERIES */
@media screen and (max-width: 990px) {
	.archive.category .et_pb_section,
	.archive.category .et_pb_row {
		padding-top: 0;
	}
	.hero-intro-row > *:first-child {
		display: none;
	}
	footer > div > .et_pb_section {
		padding-top: 0;
	}
}

@media screen and (max-width: 800px) {
	#contact-pagina #blog-module > div {
		display: block;
	}
	#contact-pagina .post-content p {
		font-size: 18px;
	}
}

@media screen and (max-width: 770px) {
	.home #aanbod {
		/* display: none; */
	}
	#et-main-area #main-content .container {
		padding-top: 0;
	}
	h2.entry-title {
		font-size: 1.5em;
		margin-bottom: .5em;
	}
	#contact-pagina .post-content h3 {
		font-size: 1.25em;
	}
	.single-post .category-contact-informatie h1 {
		text-align: unset;
	}
	[class="et_pb_text_inner"] > p,
	[class="post-content-inner"] > p,
	.single-post .post .entry-content > p {
		font-size: 18px;
	}
	.et_post_meta_wrapper h1 {
		padding-bottom: unset;
		margin-top: .5em;
	}
	#left-area .et_post_meta_wrapper p.post-meta {
		font-size: unset;
	}
	.et_post_meta_wrapper img {
		display: block;
		width: 100vw;
		max-width: calc(100vw - 0px);
		margin-left: calc(50% - 50vw);
		order: -1;
	}
	.wp-block-image img {
		display: block;
		width: 100vw;
		max-width: calc(100vw - 0px);
		margin-left: calc(50% - 50vw);
	}
	.archive.category article a img {
		display: block;
		width: 100vw;
		max-width: calc(100vw - 0px);
		margin-left: calc(50% - 50vw);
	}
}
@media screen and (max-width: 440px) {
	.et_header_style_left #logo {
		content: url("http://fig.local/wp-content/uploads/figulus-favicon-192x192-1.png");
		height: 96px;
	}
	#contact-pagina #blog-module article a img {
		display: block;
		width: 100vw;
		max-width: calc(100vw - 0px);
		margin-left: calc(50% - 50vw);
	}
}