/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 2.2
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Template: Divi
Author URI: http://www.elegantthemes.com
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
body {
    max-width: 100%;
    overflow-x: hidden;
}

.et_pb_title_meta_container {
	text-transform: capitalize;
}

.et_pb_title_meta_container .published {
	text-transform: lowercase;
}

.df-popup-thumb {
	width: 500px;
}

/* Aanpassen overlay bij projectenoverzicht, icoon verwijderen en kleur aanpassen */
.et_overlay:before {
	display: none;
}

.et_overlay {
	background:rgba(38,38,38,0.5);
	border: none;
}

/* Aanpassen mega menu van 4 naar 2 kolommen */
@media (min-width: 981px) {
.lwp-col-mega-menu li.mega-menu>ul>li {
    width: 50%;
}
 
.lwp-col-mega-menu li.mega-menu>ul>li:nth-of-type(4n) {
    clear: unset;
}
 
.lwp-col-mega-menu li.mega-menu>ul>li:nth-of-type(4n+1) {
    clear: unset;
}
}

.et-menu-nav li.mega-menu>ul>li>a:first-child {
	border-bottom: none;
	padding-top: 6px!important;
}

.et-menu-nav li.mega-menu>ul>li>a:first-child:hover {
	background-color: rgba(0,0,0,0.03)!important;
}

/* Achtergrondkleur horizontal scroll homepage */
.pin-spacer {
	background: #262626;
}

/* Meer ruimte boven gallery projecten */
.pgc-sgb-cb {
	margin-top: 2em;
}

/* Opmaak nieuwsberichten */
a.more-link {
	float: right;
	margin-top: 1em;
}

.et_pb_blog_grid .entry-title {
	min-height: 90px;
}

.et_pb_blog_grid .et_pb_post {
	border: 0px;
}

ul.lcp_catlist {
	list-style-type: none;
	padding: 0;
}

ul.lcp_catlist li {
	margin-bottom: 1em;
	font-weight: 700;
	display: grid;
	align-items: center; 
 	grid-template-columns: 2fr 1fr;
 	column-gap: 5px;
	direction: rtl;
}

ul.lcp_catlist li a {
	direction: ltr;
}

.wp-block-image {
	margin-top: 2em;
}

/* Opmaak pagination */
.wp-pagenavi {
	border-top: none;
}

.wp-pagenavi a, .wp-pagenavi span {
	color: #9A9B9F;
}

.wp-pagenavi span.current, .wp-pagenavi a:hover {
	color: #ffd508!important;
}

.pages {
	display: none;
}

/* Opmaak carroussel homepage */
.flickity-page-dots {
    display: none;
}

.tekstvlak-carousel {
	min-height:300px;
}

@media screen and (max-width: 980px) {
	.tekstvlak-carousel {
	min-height:285px;
	}
}

@media screen and (max-width: 1100px) and (min-width: 981px) {
	.tekstvlak-carousel {
	min-height:475px;
	}
}

@media screen and (max-width: 1280px) and (min-width: 1101px) {
	.tekstvlak-carousel {
	min-height:425px;
	}
}

@media screen and (max-width: 1320px) and (min-width: 1281px) {
	.tekstvlak-carousel {
	min-height:375px;
	}
}

body #page-container .et_pb_section .et_pb_column .et_pb_button_module_wrapper.et_pb_module .et_pb_button {
	padding: 1em 2em!important;
}

body #page-container .et_pb_section .et_pb_column .et_pb_button_module_wrapper.et_pb_module .et_pb_button:hover {
	padding: 1em 3em 1em 2em!important;
}

h1,h2 {
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

h1 {
	font-size: 3.2em;
	line-height: 1.4em;
	margin-bottom: -10px;
}

.home h1 {
	font-size: 5em;
	line-height: 1.2em;
}

h2, h3 {
	font-size: 2.8em;
	line-height: 1.5em;
	margin-bottom: -10px;
}

h4 {
	line-height: 1.3em;	
}

@media only screen and (max-width : 981px) {
h1 {
	font-size: 2.3em;
 }

.home h1 {
	font-size: 3em;
}
	
h2, h3 {
	font-size: 2em;
 }
}

@media only screen and (min-width : 1406px) {
	#header-normaal {
		display:block;
		}
	#header-tablet {
		display:none;
		}
	#header-mobiel {
		display:none;
		}
}

@media screen and (max-width: 1405px) and (min-width: 982px) {
	#header-normaal {
		display:none;
		}
	#header-tablet {
		display:block;
		}
	#header-mobiel {
		display:none;
		}
}

@media only screen and (max-width : 981px) {
	#header-normaal {
		display:none;
		}
	#header-tablet {
		display:none;
		}
	#header-mobiel {
		display:block;
		}
}

.et_pb_menu .et_pb_menu__search-input {
	color: #9a9b9f!important;
}

.et_pb_social_media_follow li a {
	text-align: left!important;
}

#sm-header.et_pb_social_media_follow li a {
	text-align: right!important;
}

ul.menu-footer {
	text-align: justify;	
	min-width: 500px;
	list-style-type: none;
	padding: 0;
}

.menu-footer:after {
	content: '';
	display: inline-block;
	width: 100%;
}

.menu-footer li {
	display: inline-block;
}

.menu-footer li a {
	color: #9A9B9F!important;
}

.menu-footer li:first-child a {
	color: #64666B!important;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
	height: 30px!important;
}

a.et_pb_menu__icon, button.et_pb_menu__icon {
	padding: 0px 0px 2px 0px !important;
	margin: 0px!important;
}

.tweehonderdjaar {
	position: fixed;
	top: 60vh;
	right: 0;
	z-index: 99999;
}

ul.sub-menu li a {
	font-size: 12px;
}

/* Opmaak ivm specialty sections */

@media screen and (max-width: 1080px) and (min-width: 981px) {
    .et_pb_column_1_2 .et_pb_row_inner, .et_pb_column_3_5 .et_pb_row_inner {
        padding: 5.82% 0% 5.82% 20%;
    }
}

@media screen and (max-width: 1296px) and (min-width: 1081px) {
    .et_pb_column_1_2 .et_pb_row_inner, .et_pb_column_3_5 .et_pb_row_inner {
        padding: 5.82% 0% 5.82% 10%;
    }
}

/* Opmaak ivm foto rechterzijde */

@media screen and (max-width: 980px) {	
    .sectie-met-foto .et_pb_row .et_pb_column_1_2 {
        padding: 5.82% 10%;
    }
}

@media screen and (max-width: 1370px) and (min-width: 981px) {	
    .sectie-met-foto .et_pb_row .et_pb_column_1_2 {
        padding: 5.82% 5% 5.82% 10%;
    }
}

@media screen and (min-width: 1371px) {
    .sectie-met-foto .et_pb_row .et_pb_column_1_2 {
        padding: 5.82% 0;
    }
	.sectie-met-foto .et_pb_row .et_pb_column_1_2 .et_pb_code {
		max-width: calc(540px - 3%);
		float: right;
	}
}

/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

/* Opmaak mobile menu collapsible items */
/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}


/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #ffd508;
	background: #9a9b9f;
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}


/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

/* buttons fixed to the bottom */
.gq_r_fixed_buttons .et_pb_column {
	 padding-bottom:60px;
}
	.gq_r_fixed_buttons .et_pb_button_module_wrapper {
	position: absolute;
	bottom: 2em;
	left: 1.5em;
	right: 1.5em;
	margin: auto;
}

/* Opmaak formulier */
.gform_heading {
	margin-bottom: 2em;
}

.gform_wrapper input {
	border: none!important;
	border-radius: 0px;
	padding: 10px !important;
	box-shadow: none;
	background-color: #9a9b9f;
	color: #d9dadb !important;
}

.gform_wrapper textarea {
	border: none!important;
	border-radius: 0px;
	padding: 10px !important;
	box-shadow: none;
	background-color: #9a9b9f;
	color: #d9dadb !important;
}

body .gform_wrapper ::placeholder,
body .gform_wrapper ::-webkit-input-placeholder,
body .gform_wrapper input[placeholder] {
  color: #d9dadb;
  opacity: 1;
}

.gform_wrapper.gravity-theme .gfield_label {
	color: #ffffff;
	font-weight: normal;
	font-size: 14px;
}

.gform_footer input[type="submit"] {
    display: block;
	padding: 10px 15px !important;
    background-color: #ffd508;
	font-size: 14px;
	font-weight: 700;
    text-align: center;
    color: #262626!important;
    cursor: pointer;
	border-radius: 0px;   
	overflow: hidden;
	float: left;
}

.gform_footer input[type="submit"]:hover {
	color: #ffffff;
    transition: color .5s ease-out;
    -moz-transition: color .5s ease-out;
    -webkit-transition: color .5s ease-out;
    -o-transition: color .5s ease-out;
}

/* style the CTA button */
.knop_donker { 
	border-radius: 0px;
}
.knop_donker a {
	color: #ffffff !important;
}

.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu .knop_donker a {
	color: #ffffff !important;
}

.knop_donker.current-menu-item>a {
	color: #ffffff !important;
}

.knop_donker.current-menu-item {
	text-decoration: none!important;
}

.et-fixed-header #top-menu li.knop_donker>a {
	color: #ffffff !important;
}

li.knop_donker {
	background-color: #64666B;  
	border: 2px solid #FFD508;
	text-align: center;
	padding: 12px 20px 1px 20px !important;
	-moz-transition: all 0.5s; 
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	margin-top: -4px!important;
	margin-right: 30px!important;
}

#top-menu-nav>ul>li.knop_donker>a:hover {
	text-decoration: none!important;
}
	
li.knop_donker:hover {
	opacity: .7;
    transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}
 
/* fixed header button text color */
.et-fixed-header #top-menu li.knop_donker.current-menu-item>a {
	color: #ffffff !important;
}

@media only screen and (min-width : 981px) {
	li.knop_donker {
		height: 40px;
	}
}

@media (max-width: 980px) {
	li.knop_donker {
	text-align: left; 
	padding: 5px 7px !important;
	margin-top: -2px!important;
	}
.et_pb_menu_2_tb_header.et_pb_menu .et_mobile_menu .knop_donker a {
	color: #ffffff!important;
}
}
/* end of styling CTA */

#envelop::before {
	font-family: 'ETmodules';
	content: "\e076";
	position: relative;
	top: 2px;
	margin-right: 8px;
}

#mobiel::before {
	font-family: 'ETmodules';
	content: "\e00b";
	position: relative;
	top: 2px;
	margin-right: 8px;
}

#telefoon::before {
	font-family: 'ETmodules';
	content: "\e090";
	position: relative;
	top: 2px;
	margin-right: 8px;
}