/*
 Theme Name:     THIS IS MAIN
 Theme URI:      https://thisismain.nl
 Description:    Divi child theme
 Author:         THIS IS MAIN
 Author URI:     https://thisismain.nl
 Template:       Divi
 Version:        1.0.0
*/


/* ------------------------------------------------------- */

.et_section_specialty .et_pb_row {
    width: 90%;
}


header.et-l--header .tim-header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all .3s;
    background: linear-gradient(to bottom, #000000a0 3%, #00000000 100%);
}

.admin-bar header.et-l--header .tim-header {
    top: 32px;
}

header.et-l--header .tim-header.has-scrolled {
    background: #FFFFFF !important;
    box-shadow: 0px 12px 22px -18px rgba(0,0,0,.3);
}

header.et-l--header .tim-header .et_pb_row {
    padding: 25px 0;
    transition: all .3s;
}

header.et-l--header .tim-header.has-scrolled .et_pb_row {
    padding: 15px 0;
}

header.et-l--header .tim-header .et_pb_row .et_pb_column {
    display: flex;
    align-items: center;
    gap: 20px;
}

header.et-l--header .tim-header .et_pb_row .et_pb_module {
    margin-bottom: 0 !important;
}

header.et-l--header .tim-header .et_pb_module.et_pb_image {
    transition: all .3s;
}

header.et-l--header .tim-header .et_pb_module.et_pb_image img {
	filter: brightness(0) invert(1);
	transition: all .3s;
}

header.et-l--header .tim-header.has-scrolled .et_pb_module.et_pb_image {
    max-width: 140px;
}

header.et-l--header .tim-header.has-scrolled .et_pb_module.et_pb_image img {
	filter: none;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu {
    flex: 1;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu .et_pb_menu__wrap {
    justify-content: flex-end;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu .et-menu li a {
    color: #FFFFFF;
    transition: all .3s;
    text-transform: uppercase;
    font-size: 15px;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu .et-menu li.current-menu-item a {
    font-weight: 600;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu .et-menu li.tim-menu-button {
    margin-top: 0;
}

header.et-l--header .tim-header .et_pb_module.et_pb_menu .et-menu li.tim-menu-button a {
    background-color: #c6947d;
    border-radius: 4px;
    padding: 8px 14px 8px;
}

header.et-l--header .tim-header.has-scrolled .et_pb_module.et_pb_menu .et-menu li a {
    color: #000000;
}

header.et-l--header .tim-header .et_pb_module.et_pb_social_media_follow li {
    margin-bottom: 0;
}

header.et-l--header .tim-header .et_pb_module.et_pb_social_media_follow li a.icon {
    width: 20px;
    height: 20px;
}

header.et-l--header .tim-header .et_pb_module.et_pb_social_media_follow li a.icon::before {
    color: #FFFFFF;
    transition: all .3s;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

header.et-l--header .tim-header.has-scrolled .et_pb_module.et_pb_social_media_follow li a.icon::before {
    color: #000000;
}

@media (max-width: 479px) {
    header.et-l--header .tim-header .et_pb_module.et_pb_menu .et_mobile_menu {
        width: 90vw;
        left: auto;
        right: 0;
        top: 60px;
    }
}





#main-content .et_pb_post {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}





div.gform-body div.gform_fields div.ginput_container input,
div.gform-body div.gform_fields div.ginput_container textarea,
div.gform-body div.gform_fields div.ginput_container select {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.1);
    border-radius: 0;
    box-shadow: none;
}

div.gform-body div.gform_fields div.ginput_container textarea.large {
	min-block-size: 8rem;
}

div.gform-body div.gform_fields div.ginput_container .gform_fileupload_multifile .gform_drop_area {
	background-color: transparent;
    padding: 10px;
}

div.gform-body div.gform_fields div.ginput_container .gform_fileupload_multifile .gform_drop_area::before {
	color: #c6947d;
}

div.gform-body div.gform_fields div.ginput_container .gform_fileupload_multifile .gform_drop_area button {
	background-color: #c6947d !important;
	border-color: #c6947d;
}

div.gform-body div.gform_fields div.ginput_container .gform_fileupload_multifile .gform_drop_area .gfield_fileupload_progressbar_progress {
	background-color: #c6947d !important;
}

div.gform-footer input[type="submit"] {
    background-color: #c6947d !important;
}

div.gform-footer input[type="submit"]:hover {
    opacity: .7 !important;
}






.tim-projecten-overzicht .terms {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 0 -10px 40px;
}

.tim-projecten-overzicht .terms button {
    background-color: #FFFFFF;
    border: 1px solid #c6947d;
    color: #c6947d;
    border-radius: 8px;
    padding: 8px 14px;
    transition: all .3s;
    box-shadow: none;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    margin: 10px;
    cursor: pointer;
}

.tim-projecten-overzicht .terms button:hover {
    background-color: #c6947d;
    color: #FFFFFF;
    opacity: .7;
}

.tim-projecten-overzicht .terms button.active {
    background-color: #c6947d;
    color: #FFFFFF;
}

.tim-projecten-overzicht .projecten {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -10px;
}

.tim-projecten-overzicht .projecten .project {
    margin: 30px 20px;
}

.tim-projecten-overzicht .projecten .project:nth-of-type(6n+1),
.tim-projecten-overzicht .projecten .project:nth-of-type(6n+4) {
    width: 600px;
    margin: 30px 90px;
}

.tim-projecten-overzicht .projecten .project:nth-of-type(6n+2),
.tim-projecten-overzicht .projecten .project:nth-of-type(6n+6) {
    width: calc(60% - 40px);
}

.tim-projecten-overzicht .projecten .project:nth-of-type(6n+3),
.tim-projecten-overzicht .projecten .project:nth-of-type(6n+5) {
    width: calc(40% - 40px);
}

.tim-projecten-overzicht .projecten .project h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.tim-projecten-overzicht .projecten .project .tim-imgcontainer {
    aspect-ratio: 14 / 9;
    margin-bottom: 14px;
}

.tim-projecten-overzicht .projecten .project .tim-imgcontainer img {
    transform: scale(1.4); 
    transition: all 1.2s ease;
    opacity: 0;
}

.tim-projecten-overzicht .projecten .project.in-view .tim-imgcontainer img {
    transform: scale(1.1);
    opacity: 1;
}

.tim-projecten-overzicht .projecten .project.in-view:hover .tim-imgcontainer img {
    transform: scale(1);
    transition: all 0.8s ease;
}

@media (max-width: 980px) {
    .tim-projecten-overzicht .projecten .project {
        width: calc(100% - 40px) !important;
    }
}








.et_pb_module.tim-projecten,
.et_pb_module.tim-gerelateerde-blogs {
    display: flex;
    justify-content: space-between;
}

.et_pb_module.tim-projecten .tim-project,
.et_pb_module.tim-gerelateerde-blogs .tim-blog {
    width: calc(50% - 20px);
}

.et_pb_module.tim-projecten .tim-project .tim-project-image,
.et_pb_module.tim-gerelateerde-blogs .tim-blog .tim-blog-image {
    margin-bottom: 20px;
		aspect-ratio: 16/9;
}

.et_pb_module.tim-projecten .tim-project .tim-project-image img,
.et_pb_module.tim-gerelateerde-blogs .tim-blog .tim-blog-image img {
    transition: all .3s;
}

.et_pb_module.tim-projecten .tim-project .tim-project-image:hover img,
.et_pb_module.tim-gerelateerde-blogs .tim-blog .tim-blog-image:hover img {
    transform: scale(1.05);
}

.et_pb_module.tim-projecten .tim-project .tim-project-image h3,
.et_pb_module.tim-gerelateerde-blogs .tim-blog .tim-blog-image h3 {
    font-size: 18px;
}

@media (max-width: 980px) {
    .et_pb_module.tim-projecten,
		.et_pb_module.tim-gerelateerde-blogs {
        flex-wrap: wrap;
    }

    .et_pb_module.tim-projecten .tim-project,
		.et_pb_module.tim-gerelateerde-blogs .tim-blog {
        width: 100%;
    }
}











.slick-dots {
	width: 100%;
	height: 20px;
	display: flex;
	padding: 0;
	justify-content: center;
	position: relative;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button:before {
    content: "";
    background-color: #c6947d;
    border-radius: 100px;
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5px;
    transition: all .3s;
}






.et_pb_module.et_pb_gallery .et-pb-slider-arrows {
	display: none;
}


.et_pb_module.et_pb_gallery .et-pb-controllers {
    width: 100%;
	height: 20px;
	display: flex;
	padding: 0;
	justify-content: center;
	position: relative;
}

.et_pb_module.et_pb_gallery .et-pb-controllers > * {
    background-color: #c6947d;
    border-radius: 100px;
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5px;
    transition: all .3s;
}








.et_pb_module.tim-blogs .tim-blog {
    display: flex;
    justify-content: space-between;
    height: 600px;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-image {
    width: calc(50% - 50px);
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-image img {
	transition: all .3s;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-image:hover img {
	transform: scale(1.05);
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-right {
    width: calc(50% - 50px);
    padding: 80px 80px 80px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-right .inspiratiehub {
    flex: 1;
    text-transform: uppercase;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-right h2 {
    margin-bottom: 20px;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-right a.read-article {
    padding: 5px 14px;
    border-radius: 10px;
    background-color: #C6947D;
    color: #FFFFFF;
    font-size: 13px;
    text-transform: uppercase;
    transition: all .3s;
}

.et_pb_module.tim-blogs .tim-blog .tim-blog-right a.read-article:hover {
    background-color: rgba(198,148,125,0.7);
}



.et_pb_module.tim-blogs .slick-dots {
    position: absolute;
    right: 20px;
    top: 0;
    width: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    justify-content: center;
		margin-top: 0;
}

@media (max-width: 980px) {
    .et_pb_module.tim-blogs .tim-blog {
        flex-wrap: wrap;
        height: auto;
    }

    .et_pb_module.tim-blogs .tim-blog .tim-blog-image {
        width: 100%;
    }

    .et_pb_module.tim-blogs .tim-blog .tim-blog-right {
        width: 100%;
        padding: 80px 10vw 80px 5vw;
    }

    .et_pb_module.tim-blogs .slick-dots {
        padding-top: 50%;
    }
}








.et_pb_module.tim-publicaties--slider .tim-publicaties-dots-viewport {
	overflow: hidden;
	margin: 0 auto;
	height: 40px;
}

.et_pb_module.tim-publicaties--slider .slick-dots {
	justify-content: flex-start;
	width: max-content;
	transition: transform 500ms ease;
	will-change: transform;
}

.et_pb_module.tim-publicaties--slider .slick-dots li {
	flex: 0 0 auto;
}

.et_pb_module.tim-publicaties .tim-publicatie {
	padding: 0 20px;
}

.et_pb_module.tim-publicaties .tim-publicatie-image {
    aspect-ratio: 4/3;
		overflow: visible;
}

.et_pb_module.tim-publicaties .tim-publicatie-image img {
	transition: all .3s;
}

.et_pb_module.tim-publicaties .tim-publicatie-image:hover img {
	transform: scale(1.05);
}

.et_pb_module.tim-publicaties--grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.et_pb_module.tim-publicaties--grid .tim-publicatie {
	padding: 20px;
	background-color: #FFFFFF;
	box-sizing: border-box;
}

.et_pb_module.tim-publicaties--grid .tim-publicatie-image {
	overflow: hidden;
}

@media (max-width: 980px) {
	.et_pb_module.tim-publicaties--grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479px) {
	.et_pb_module.tim-publicaties--grid {
		grid-template-columns: 1fr;
	}
}








.et_pb_module.tim-gallery {
	position: relative;
	width: 100%;
}

.et_pb_module.tim-gallery .tim-gallery__item {
	display: block;
	margin: 0;
	line-height: 0;
	cursor: zoom-in;
	overflow: hidden;
}

.et_pb_module.tim-gallery .tim-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.35s ease;
}

.et_pb_module.tim-gallery .tim-gallery__item:hover img {
	transform: scale(1.03);
}

.tim-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tim-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.tim-lightbox__img {
	max-width: min(92vw, 1400px);
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	user-select: none;
}

.tim-lightbox__btn {
	position: absolute;
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	padding: 12px;
	line-height: 1;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.tim-lightbox__btn:hover,
.tim-lightbox__btn:focus-visible {
	opacity: 1;
	outline: none;
}

.tim-lightbox__close {
	top: 16px;
	right: 16px;
	font-size: 36px;
}

.tim-lightbox__prev,
.tim-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 48px;
}

.tim-lightbox__prev {
	left: 12px;
}

.tim-lightbox__next {
	right: 12px;
}

@media (max-width: 767px) {
	.tim-lightbox__prev,
	.tim-lightbox__next {
		font-size: 36px;
	}

	.tim-lightbox__close {
		font-size: 28px;
	}
}








.tim-imgcontainer {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.tim-imgcontainer img {
	-o-object-fit: contain;
	object-fit: contain;
	max-width: 10000%;
	max-height: 10000%;
	width: 100%;
	height: 100%;
	min-width: 100%;
 	min-height: 100%;
}

.tim-imgcontainer.cover img {
	-o-object-fit: cover;
	object-fit: cover;
}









.tim-post-slider {
    margin-bottom: 0 !important;
}

.tim-post-slider .et_pb_row {
    display: flex !important;
}

.tim-post-slider .slick-dots {
    position: absolute;
    right: 20px;
    top: 0;
    width: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    justify-content: center;
}

.tim-post-slider .slick-dots li {
    margin: 0;
}

.tim-post-slider .slick-dots li button:before {
    content: "";
    background-color: #c6947d;
    border-radius: 100px;
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5px;
    transition: all .3s;
}

@media (max-width: 980px) {
    .tim-post-slider .et_pb_row  .et_pb_column {
        padding: 80px 10vw 80px 5vw;
    }
}








.et_pb_module.et_pb_accordion .et_pb_accordion_item {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.et_pb_module.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
}




.et_pb_section .tim-werkwijze-row .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title {
    display: flex;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    padding-left: 40px;
}

.et_pb_section .tim-werkwijze-row .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '01';
    margin-right: 30px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.et_pb_section .tim-werkwijze-row.row-2 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '02';
}

.et_pb_section .tim-werkwijze-row.row-3 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '03';
}

.et_pb_section .tim-werkwijze-row.row-4 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '04';
}

.et_pb_section .tim-werkwijze-row.row-5 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '05';
}

.et_pb_section .tim-werkwijze-row.row-6 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '06';
}

.et_pb_section .tim-werkwijze-row.row-7 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '07';
}

.et_pb_section .tim-werkwijze-row.row-8 .et_pb_column:nth-of-type(1) .et_pb_module.et_pb_toggle:nth-of-type(1) .et_pb_toggle_title::after {
    content: '08';
}

.et_pb_section .tim-werkwijze-row .et_pb_image_wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
    height: 120px;
}

.et_pb_section .tim-werkwijze-row .et_pb_image_wrap img {
	-o-object-fit: cover;
	object-fit: cover;
	max-width: 10000%;
	max-height: 10000%;
	width: 100%;
	height: 100%;
	min-width: 100%;
 	min-height: 100%;
}






footer.et-l--footer a {
    color: #FFFFFF;
}


/*----- HEADER -----*/

/* Sticky mobile menu */
@media screen and (max-width: 980px) {
	.et_fixed_nav #main-header.et-fixed-header  {
        position: fixed;
        height: 80px;
        margin-top: -55px;
}
}

/*----- EXTRA -----*/



/*----- FOOTER -----*/

/* Divi footer */
#main-footer {
    display: none !important;
}

/*----- FORMS -----*/
