/*
Theme Name: Realise
Description: Realise child theme For Divi
Version: 1.0.0
Author: Realise
Author URI: https://realise.be
Theme URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

/* ========== Custom CSS for Realise theme ========== */

/** GENERAL START **/
header, #et-main-area {
	background-color: var(--gcid-primary-color, #322c91);
}
/** GENERAL END **/

/** HEADER START **/
header .difl_advancedmenu .has-item-animation.item-hover-1 .df-menu-nav>.menu-item.menuCTA>a:after {
	transition: none;
	display: none;
}
header .df-mobile-menu .df-menu-nav a {
	color: var(--gcid-primary-color, #322c91);
	border-color: var(--gcid-g2ar7l7xjy, #ebf0f3);
}
header {
	background-color: var(--gcid-primary-color, #322c91);
    position: relative;
    z-index: 1000;
}
/** HEADER END **/

/** GRAVITY FORMS START **/
.gform_wrapper .gform_fields .gfield--type-consent .ginput_container_consent label a.formLink {
	text-decoration: underline;
	text-underline-offset: 5px;
}
.gform_wrapper .gform_fields .gfield--type-consent .ginput_container_consent label a.formLink:hover {
	text-decoration: none;
}
.gform_wrapper .gform_fields .gfield--type-consent .ginput_container_consent label a.formLink.light {
	color: var(--gcid-g2ar7l7xjy, #ebf0f3);
}

/** GRAVITY FORMS END **/

/** HOMEPAGE **/
@media only screen and (min-width: 981px) {
	:root {
	  --shape-h: 1051.59px; /* huidige hero-hoogte + 150px, éénmalig berekend */
	}

	body.home .et_pb_section_0::before,
	body.home .et_pb_section_0_tb_header::before {
	  content: '';
	  position: absolute;
	  display: block;
	  height: var(--shape-h);
	  aspect-ratio: 1 / 2;
	  top: -80px;
	  left: 25% !important;
	  background-image: url(../realise/img/Realise_Logo_Icoon_Zwart_RGB.svg);
	  background-size: contain;
	  background-repeat: no-repeat;
	}

	body.home .et_pb_section_0_tb_header::before {
	  transform: translateY(var(--sticky-shape-shift, 0px));
	  will-change: transform;
	}

	body.home .difl_advancedmenu, .et_pb_row:has(.difl_advancedmenu), .et_pb_section:has(.difl_advancedmenu) {
		overflow: hidden !important;
	}
}

/** Complianz **/
/** Text pages **/
#cmplz-document,
#cmplz-document * {
	font-size: 20px !important;
	line-height: 30px !important;
}
#cmplz-document a {
	color: var(--gcid-g2ar7l7xjy, #ebf0f3) !important;
	text-decoration: underline !important;
	text-underline-offset: 5px;
}
#cmplz-document a:hover {
	text-decoration: none !important;
}
/*** Responsive Styles Mobile phones ***/
@media all and (max-width: 861px) {
	#cmplz-document,
	#cmplz-document * {
		font-size: 14px !important;
		line-height: 24px !important;
	}
}
#cmplz-document ul li,
#cmplz-document ol li {
	margin-bottom: 10px;
}
#cmplz-document h2,
#cmplz-document h3 {
	margin-top: 25px !important;
	margin-bottom: 25px !important;
}
#cmplz-document details h3 {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}
#cmplz-document h2,
.textPage #cmplz-document h2 {
	font-size: 1.7em !important;
	line-height: 1.1em !important;
}
#cmplz-document h3 {
	font-size: 1.1em !important;
	line-height: 1.1em !important;
}
#cmplz-document details:last-of-type {
	margin-bottom: 50px !important;
}
#cmplz-document .cookies-per-purpose * {
	font-size: 0.8em !important;
}
#cmplz-document .cookies-per-purpose a {
	font-size: 1em !important;
	color: #000000 !important;
}
#cmplz-document .cookies-per-purpose,
#cmplz-document .cookies-per-purpose h4,
#cmplz-document .cookies-per-purpose h5 {
	color: #000000 !important;
}
#cmplz-document .cookies-per-purpose h4 {
	font-size: 1.1em !important;
}
#cmplz-document .cookies-per-purpose h5 {
	font-size: 1em !important;
}