/*
 Theme Name:     ZO Thema
 Description:    Thema van ZO internetbureau
 Author:         ZO internetbureau
 Author URI:     https://zointernetbureau.nl
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* TEXTS */
.regular-text p, .regular-text h1, .regular-text a{
	font-family: "muli", sans-serif;
	font-weight: 400;
}

.regular-text-bold p, .regular-title h1, .regular-title h2, .regular-title h3 {
	font-family: "muli", sans-serif;
	font-weight: 700;
}
.regular-title-extra h2 {
	font-family: "muli", sans-serif;
	font-weight: 800;
}


/* FORMS */
/* formulieren */
.gform_button.button {
	margin-top:15px;
    position: relative;
    font-size: 14px;
    border: 1px solid black;
    background: transparent;
	color: black;
	padding: 11px 17px;
    cursor: pointer;
	font-family: 'muli', sans-serif;
	text-transform: uppercase;
	transition: .3s;
	font-weight: 600;
	border-radius: 0px 0px 10px 0px;

}
.gform_button.button:hover {
    background-color: #DEBB4D;
	border: 1px solid #DEBB4D;
}
/*placeholder */
body .gform_wrapper input::placeholder, body .gform_wrapper textarea::placeholder {
	color: grey;
	transition: .3s;
}

body .gform_wrapper input:focus::placeholder, body .gform_wrapper textarea:focus::placeholder {
    color: lightgray;
}

/*text input*/
body .gform_wrapper .gform_body .gform_fields input {
	font-size: 16px;
	font-family: 'muli', sans-serif;
	color: black;
	background-color: transparent;
	border-bottom: 2px solid black;
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius: 0px;
	padding: 15px 10px 15px 0px;
}
body .gform_wrapper .gform_body .gform_fields input:focus {
	box-shadow: 0px 3px 0px 0px black;
	transition: 0.4s;
}
.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large {
	border-bottom: 2px solid black;
}
body .gform_wrapper .gform_body .gform_fields textarea {
	font-size: 16px;
	font-family: 'muli', sans-serif;
	color: black;
	background-color: transparent;
	border-bottom: 2px solid black;
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius: 0px;
	padding: 15px 10px 15px 0px;
}
body .gform_wrapper .gform_body .gform_fields textarea:focus {
	box-shadow: 0px 3px 0px 0px black;
	transition: 0.4s;
}
/* date picker */
.gform_wrapper.gravity-theme .ginput_container_date input {
	width: 50% !important;
}
/* DIENSTEN PAGES */
/* button diensten */
.et_pb_text.et_pb_module.button-diensten {
	margin-left: 80px !important;
}
@media (max-width: 767px) {
	.et_pb_text.et_pb_module.button-diensten {
		margin-left: 30px !important;
	}
}

/* PORTFOLIO MODULE */
.portfolio-header {
    height: auto;
    margin-bottom: 100px;
    padding-bottom: 100px;
    background-color: #00636F;
    border-bottom-right-radius: 30px;
}

.portfolio-text-wrapper {
    padding-top: 150px;
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

.portfolio-text-wrapper h1 {
    font-size: 40px;
    text-transform: uppercase;
    font-family: 'muli', sans-serif;
    color: #DEBB4D;
    font-weight: 700;
}

.portfolio-text-wrapper p {
    color: white;
    font-family: 'muli', sans-serif;
    font-size: 16px;
    line-height: 2em;
    max-width: 500px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1080px;
    width: 90%;
    margin: auto;
    margin-top: -150px;
    margin-bottom: 75px;
}

.portfolio-grid img {
    border-bottom-left-radius: 20px;
    width: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    display: block;
}
@media (max-width: 1066px) {
	.portfolio-grid img {
		min-height: 310px;
	}
	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 650px) {
		.portfolio-grid img {
			min-height: 250px;
	}
	.portfolio-grid {
		grid-template-columns: 100%;
	}
}

.portfolio-grid img:hover {
    transform: translateY(-10px); /* Move the image up on hover */
}

.portfolio-module h2, .portfolio-module p {
    font-family: 'muli', sans-serif;
    font-size: 16px;
    color: black;
}

.portfolio-details {
    padding: 10px 20px 20px 20px;
	    display: flex;
    justify-content: space-between;
}

.portfolio-details sup {
    font-size: 10px !important;
}


.portfolio-module {
    position: relative;
    border-bottom-left-radius: 20px;


}

.portfolio-field {
    margin-bottom: 10px;
}

.portfolio-label {
    display: block;
    font-weight: bold;
    font-family: 'muli', sans-serif;
    font-size: 14px;
    color: #00636F;
}

.portfolio-value {
    display: block;
    font-family: 'muli', sans-serif;
    font-size: 16px;
    color: black;
}



.portfolio-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00636F;
    color: white;
    padding: 0px 17px;
    font-family: 'muli', sans-serif;
    font-size: 14px;
	z-index: 1;
}

.portfolio-pagination {
    text-align: center;
    margin: 20px 0;
}

.portfolio-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 7px 15px;
    background-color: #00636F;
    color: white;
    text-decoration: none;
}

.portfolio-pagination .page-numbers.current {
    background-color: #DEBB4D;
    color: #00636F;
}

.portfolio-pagination .page-numbers:hover {
    background-color: #004f59;
}

.country-filter-wrapper, .category-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.country-item, .category-item {
    background-color: #00636F;
    color: white;
    padding: 6px 20px;
    border: 1px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
	border-bottom-right-radius: 8px;
}

.country-item.active, .category-item.active {
    background-color: #DEBB4D; /* Change color when active */
    color: #00636F;
	border-color: #DEBB4D;
}
.country-filters {
	padding-top: 10px;
}
.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* CUSTOM MENU */
nav {
    width: 100%;
    text-align: right;
}

#custom-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#custom-menu > li {
    display: inline-block;
    position: relative;
}

#custom-menu a {
    text-decoration: none;
    display: block;
    padding: 20px 10px;
    color: white;
    font-family: 'muli', sans-serif;
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: #00636F;
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.15);
    padding: 10px !important;
    border-bottom-left-radius: 20px;
    transition: all 0.3s ease-in-out;
    border-top: 2px solid #DEBB4D;
    opacity: 0;
    visibility: hidden;
}

.dropdown ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.dropdown li {
    display: flex;
    padding: 0px 0px;
}

.dropdown a div {
    text-align: center;
    width: 160px;
    height: 170px;
    padding: 5px !important;
    border-bottom-left-radius: 20px;
    transition: .3s ease-in-out;
}

.dropdown a:hover div {
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.3);
}

.dropdown img {
    max-width: 50px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 20px 0px;
}

.dropdown span {
    display: block;
    word-wrap: break-word;
    font-family: 'muli', sans-serif;
    line-height: 1.2em;
    font-weight: 600;
    color: white;
}

#custom-menu > li:hover .dropdown {
    display: flex;
}

body .et_pb_section.scrolled-background {
    background-color: #00636F !important;
    transition: background-color 0.3s ease;
}

.et_pb_menu .et_mobile_menu {
    margin-top: 30px;
}
