/*
Theme Name:  BohnennWebdesign
Theme URI:   http://divithemes.reviews
Version:     1.1
Description: Divi child theme.
Author:      Bohnenn Webdesign
Author URI:  https://www.bohnennwebdesign.nl
Template:    Divi
*/

/*---- Typography ----*/
@font-face {
    font-family: 'Apparel Display';
    src: url('ApparelDisplay-Bold.woff2') format('woff2'),
        url('ApparelDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
body {
	color: #000;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.8;
}
h1, .et_pb_column_1_3 h1, .et_pb_column_1_4 h1, .et_pb_column_1_5 h1, .et_pb_column_1_6 h1, .et_pb_column_2_5 h1 {
    color: #a6492d;
	font-family: "Heebo", sans-serif;
    font-size: 56px;
    font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}
h2, .et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2, .et_pb_title_container h1, .sidepage-heading h1, .et-db #et-boc .et-l .et_pb_column_1_3 h2 {
	color: #a6492d;
	font-family: "Heebo", sans-serif;
    font-size: 32px;
    font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3, .gfield_label {
	color: #a6492d;
	font-family: "Heebo", sans-serif;
    font-size: 44px;
    font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
li {
    font-size: 20px;
}
@media only screen and (max-width: 768px) {
	h1, .et_pb_column_1_3 h1, .et_pb_column_1_4 h1, .et_pb_column_1_5 h1, .et_pb_column_1_6 h1, .et_pb_column_2_5 h1 {
		font-size: 28px;
	}
	h2, .et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2, .et_pb_title_container h1, .sidepage-heading h1, .et-db #et-boc .et-l .et_pb_column_1_3 h2 {
		font-size: 28px;
	}
	h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3, .gfield_label {
		font-size: 24px;
	}
}

/*---- General ----*/
.et_pb_row, .et-db #et-boc .et-l .et_pb_row {
	width: 90%;
}
h1:last-child, h2:last-child, h3:last-child {
	padding-bottom: 0;
}
.et_pb_text ul:last-child {
	padding-bottom: 0;
}
.et_pb_text ul li:not(:last-child) {
    padding-bottom: 25px;
}
header {
	box-shadow: unset !important;
}
.et_pb_equal_columns .et_pb_column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.slick-dotted.slick-slider {
	margin-bottom: 0 !important;
}
body .slick-dots {
    writing-mode: vertical-rl;
    width: 30px;
    padding: 0;
    display: flex;
    column-gap: 10px;
    right: 30px;
    top: calc(50% - 70px);
	bottom: unset;
}
.slick-dots li button {
    background-clip: content-box !important;
    border: 1px solid #5EA2A2;
    padding: 3px;
}
.slick-dots li.slick-active button {
    border: 1px solid #1B6060;
}
footer {
	position: relative;
	z-index: 0;
}
.hover-headings strong {
    display: inline-block;
    font-size: 24px;
    padding: 0px 0px;
    position: relative;
    margin-bottom: 5px;
	text-transform: uppercase;
}
.hover-headings strong:before {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: -15px;
    background: #E3B05F;
    z-index: -1;
	transition: all .3s ease;
}
.hover-headings strong:hover:before {
	width: calc(100% + 30px);
}

/*---- Form ----*/
.gform-theme--foundation .gform_fields {
    grid-row-gap: 20px !important;
}
.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
    color: #1B6060;
    background-color: #D6F7F8;
    padding: 11px 15px;
    height: unset;
}
.gform-theme--foundation .gfield textarea {
	border: 0;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
    color: #1B6060;
    background-color: #D6F7F8;
    padding: 11px 15px;
}
.gfield_label {
	font-family: "museo-slab-rounded", sans-serif !important;
	color: #FF8022 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.8px !important;
}
.gform_button.button {
    font-size: 18px !important;
    letter-spacing: 0.8px !important;
    color: #fff !important;
    transition: all 300ms ease 0ms !important;
    display: inline-block !important;
    background-image: url(https://buyersagent.volgjenieuwewebsite.nl/wp-content/uploads/2025/03/wit-arrow.png);
    background-size: 30px !important;
    background-position: calc(100% - 35px) center;
    background-repeat: no-repeat;
    background-color: #5EA2A2 !important;
    padding: 12px 80px 12px 30px !important;
    line-height: 1.7 !important;
    border-radius: 0 !important;
    border: 0 !important;
}
.gform_button.button:hover {
	background-color: #1B6060 !important;
	background-position: calc(100% - 30px) center !important;
}
.gform-theme--foundation .gform_footer {
    justify-content: flex-end;
}

/*---- Menu ----*/
#top-menu li {
	padding-right: 30px;
}
#top-menu-nav>ul>li>a:hover {
	opacity: 1;
}
#top-menu li ul {
    width: auto !important
}
#top-menu li li {
    width: 100%
}
#top-menu li li a {
    width: 100%;
    white-space: nowrap;
}
#top-menu li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-66 a {
    padding-left: 20px;
    padding-right: 20px;
	color: #fff !important;
	font-weight: 600;
}
#top-menu li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-66 a:before {
    content: '';
    width: 100%;
    height: 44px;
    position: absolute;
    background: #E3B05F;
    top: -15px;
    z-index: -1;
    left: 0;
    border-radius: 100px;
}

/*---- Home header ----*/
.home-header {
    min-height: calc(100vh - 114px);
    display: flex;
    align-items: end;
}
body.admin-bar .home-header {
    min-height: calc(100vh - 114px - 32px);
}
.home-header .et_pb_row {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.home-header h1 {
    font-size: 72px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}
.home-header:before {
    content: '';
    width: 100%;
    aspect-ratio: 32/11;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: url(/wp-content/uploads/2025/11/wave.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    z-index: 1;
    transform: translateY(30%);
}
@media only screen and (max-width: 768px) {
	.home-header {
		min-height: 50vh;
	}
	body.admin-bar .home-header {
    	min-height: calc(50vh - 32px);
	}
	.home-header h1 {
		font-size: 28px;
	}
}

/*---- Counter ----*/
.et_pb_number_counter.et_pb_with_title .percent p {
    color: #a6492d;
    background: -webkit-linear-gradient(0deg, #a6492d, #e3b05f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.et_pb_number_counter h4 {
    color: #000;
    font-family: "Heebo", sans-serif;
    font-size: 22px !important;
    font-weight: 700;
}

/*---- Gallery ----*/
.acf-gallery-lightbox__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;;
}
.acf-gallery-lightbox__item {
    margin: 0;
    width: calc(33.33% - 13.33px);
}
.acf-gallery-lightbox__link {
	display: block;
}
.acf-gallery-lightbox__img {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
    object-fit: cover;
}
.acf-gallery-lightbox__modal, .project-carousel-lightbox__modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}
.acf-gallery-lightbox__overlay, .project-carousel-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.92);
}
.acf-gallery-lightbox__panel, .project-carousel-lightbox__panel {
	position: relative;
	max-width: min(92vw, 1200px);
	max-height: 100vh;
	margin: 125px auto 0 auto;
	padding: 24px 48px 32px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: #fff;
}
.acf-gallery-lightbox__modal-img, .project-carousel-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 125px - 24px - 87px);
	width: auto;
	height: auto;
	display: block;
}
.acf-gallery-lightbox__close, .project-carousel-lightbox__close {
	position: absolute;
	top: 6px;
	right: 10px;
	font-size: 32px;
	line-height: 1;
	background: transparent;
	color: #fff;
	border: 0;
	cursor: pointer;
}
.acf-gallery-lightbox__nav, .project-carousel-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 48px;
	background: transparent;
	color: #fff;
	border: 0;
	cursor: pointer;
	padding: 0 8px;
}
.acf-gallery-lightbox__prev, .project-carousel-lightbox__prev {
	left: 0;
}
.acf-gallery-lightbox__next, .project-carousel-lightbox__next {
	right: 0;
}
.acf-gallery-lightbox__modal-caption, .project-carousel-lightbox__caption {
	text-align: center;
	max-width: 70ch;
}
.acf-gallery-lightbox__counter, .project-carousel-lightbox__counter {
	font-size: 12px;
	opacity: 0.8;
}
@media only screen and (max-width: 640px) {
	.acf-gallery-lightbox__item {
		width: calc(50% - 10px);
	}
}


/*---- Floating images ----*/
.floating-images {
	aspect-ratio: 1;
}
.floating-images .et_pb_blurb {
    margin: 0 !important;
}
.floating-images .et_pb_blurb:first-child {
    position: absolute;
    top: 50%;
    left: 0;
    width: 45%;
    transform: translateY(-50%);
}
.floating-images .et_pb_blurb:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
}
.floating-images .et_pb_blurb:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 45%;
}
.floating-images .et_pb_blurb_container {
    background: rgba(163, 113, 55, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 1000px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: all .3s ease;
}
.floating-images .et_pb_blurb:hover .et_pb_blurb_container {
	opacity: 1;
}
.floating-images .et_pb_main_blurb_image {
    margin-bottom: 0;
}
.floating-images img {
	display: block;
}
@media only screen and (max-width: 640px) {
	.floating-images .et_pb_blurb_description {
		font-size: 14px !important;
	}
}