/*
Theme Name:  Groei.Site child
Description: Doelbewust Klantenthema Custom opmaak
Author:      Doelbewust Online Marketing
Author URI:  https://doelbewust.nl/
Template:    dbtheme
Version:     1.0.0
Text Domain: dbtheme-child
*/

:root {
/* colors */
	--altbg: #9FB0AA;
	--gray: #9FB0AA;
	--mainColor: #9FB0AA;
	--darkerMain: #7d8f89;
	--subColor: #9FB0AA;
	--darkerSub: #7d8f89;
	--softbg: #B8BEB421;
	--background: #fefefe;
	--cta: #db6a50;
	--fontcolor: #18171c;
	--family: 'Poppins', serif;
	--radius: 10px;
}

/* global */
a {color:var(--darkerMain);}
h2 em, h3 em {font-size:inherit;}
picture, img {display:block;max-width:100%;max-height:100%;object-fit:cover;}

/* buttons */
.btn, strong > a, a > strong, b > a, a > b,
body .gform_wrapper .gform_footer > input, body .gform_wrapper .gform_footer > button, .gform_next_button, .gform_previous_button,
body .wp-block-button__link, .search-submit,
body .woocommerce a.button, body.woocommerce a.button, body.page .woocommerce input.button,
.woocommerce .container .product button.single_add_to_cart_button, button[type="submit"] {border-radius:50px;}
.wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link {color:var(--subColor);}

/* nav */
#infobalk .topbar-lr * {color:var(--fontcolor);padding:0;}
#infobalk .topbar-lr strong a, #infobalk .topbar-lr a strong {border-radius:0;margin:0;color:white;background:var(--cta) !important;padding:10px 32px;}
#infobalk .topbar-lr strong a:before, #infobalk .topbar-lr a strong:before {background:#b75039;}
.topnav {background:var(--background);}
.topnav .site-logo {padding:0;}
.topnav .site-logo a {padding:0;}
.topnav .site-logo a:after {content:"";display:block;width:340;height:42px;box-shadow:var(--shadow);z-index:-1;position:relative;bottom:0;margin-bottom:-42px;border-radius:var(--radius);}
.topnav .site-logo img {max-width:340px;max-height:142px;margin-bottom:-42px;display:block;border-radius:var(--radius);}
.menu-item-has-children > ul.sub-menu > li.menu-item:hover > a {background:var(--mainColor) !important;}
@media (max-width: 992px) {
.topnav .site-logo, .topnav .site-logo picture {width:auto;}
.topnav .site-logo img {max-height:84px !important;width:auto;}
}

/* home */
header.header.header-stock {background:var(--softbg);}
header.header .overlay *:not(.btn-primary) {color:var(--fontcolor);}
header.header img {object-fit:cover;object-position:top;}
section.boxed .blocks .block .block-img {border-radius:var(--radius);max-height:25rem;}
section.boxed .blocks .block .block-img img {width:100%;height:100%;object-position:top;}
section.boxed .blocks .block .block-img > picture, section.boxed .blocks .block > .block-img > img, section.boxed .blocks .block .block-img > picture * {width:100%;}

/* single header */
header.fancy-header {overflow:unset;position:relative;margin-bottom:5rem;}
header.fancy-header:after {content:"";display:block;width:10rem;height:10rem;border-radius:0% 0% 0% 100%;position:absolute;right:0;background:var(--altbg);bottom:-10rem;}
header.fancy-header .featured-banner {overflow:hidden;height:100%;}

/* pages */
.intxt {max-height:15rem;overflow:hidden;border-radius:var(--radius);}
.intxt img {height:100%;width:auto;object-fit:cover;}
.notable * {border:none;background:none !important;padding:0;}
.notable tr td {padding-right:10px;}

/* ACF pagebuilder */
section.boxed .blocks .block .sub-heading {font-weight:normal;color:var(--cta);font-size:16px;margin-top:1rem;}
section.boxed .blocks .block h2:nth-child(3) {margin-top:0;}
.leftright.darkmode {background:var(--mainColor);}
.leftright .left .tekstblok img {height:auto;}

/* contact */
.locaties:after {content:"";display:block;width:10rem;height:10rem;border-radius:0% 0% 0% 100%;position:absolute;right:0;background:var(--altbg);top:6rem;}
.page-template-contact-page h2 {margin-bottom:2rem;}
.page-template-contact-page .page-info {max-width:600px;margin:5rem auto 0;}
.page-template-contact-page .page-info ul li {list-style:inside;}
.locaties {display:flex;flex-direction:row;justify-content:space-around;}
.locaties .locatie {width:calc(100% / 2 - 5rem);}
.locaties .locatie img {width:100%;border-radius:20px;height:22rem;}
.locaties .locatie > h1, .locaties .locatie > h2, .locaties .locatie > h3, .locaties .locatie > h4, .locaties .locatie > h5, .locaties .locatie > h6,
.locaties .locatie > div, .locaties .locatie > p, .locaties .locatie > i {margin-left:20px;}
@media (max-width:992px) {
.locaties {flex-direction:column;}
.locaties .locatie {width:100%;}
}

/* tussenpagina */
.extension-tussen {background:;}
.extension-tussen .extensionflex {justify-content:center;}
.extension-tussen .extensionflex * {text-align:center;margin-left:auto;margin-right:auto;}
.extension-tussen .extensionflex .btn-primary {background:var(--cta) !important;}
.extension-tussen .extensionflex .btn-primary:before {background:#b75039;}

/* page item *//* review */
.review {display:none !important;} /* temp deactivation until there is content */
.review .wp-block-column:nth-child(1) {width:10rem;flex-basis:0 !important;}
.review .wp-block-column figure {border-radius:50rem;width:10rem;height:10rem;overflow:hidden;}
.review .wp-block-column figure picture, .review .wp-block-column figure img {width:100%;height:100%;object-fit:contain;object-position:center left;}

/* gutenberg */
blockquote {border-color:var(--cta);}
blockquote p {margin-bottom:10px;}
blockquote p:last-of-type {margin-bottom:-10px;}
.wpseopress-faq .wpseopress-wrap-faq-question button {transition:var(--transition);border:none;}
.wpseopress-faq .wpseopress-wrap-faq-question button:hover {cursor:pointer;background:var(--darkerMain);}
.wpseopress-faq .wpseopress-wrap-faq-question button:after {margin-top:4px;}
table tbody tr {background:none !important;}

/* custom */
.contactform .leftright .tekstblok {justify-content:flex-start;}
#trainers {flex-wrap:wrap;padding:5rem 0;}
#trainers:before {content:"De trainers";color:white;font-weight:bold;width:100%;font-size:26px;text-align:center;}
#trainer-enkel {padding:5rem 0;justify-content:center;}
#trainer-enkel .text {width:auto;}
#trainer-enkel .text .tekstblok {margin:0;}
#over-delend .miniblock img {object-position:top;}
@media (min-width:992px) {
#over-delend .miniblock img {object-position:0 -5rem;}
}

/* over ons */
.cv.wp-block-media-text .wp-block-media-text__media {margin-left:0;flex:unset;width:40%;}
.cv table {border:1px solid lightgray;border-spacing:0;}
.cv table tbody tr:first-child {background:lightgray !important;}
.page-id-488 header.fancy-header .featured-banner img {object-fit:contain;object-position:left;}
@media (max-width:992px) {
header.fancy-header .featured-banner img {height:auto;}
}

/* footer */
footer#site-footer {border-top:none;background:var(--softbg);}
footer#site-footer * {color:var(--fontcolor);}
footer#site-footer:before {content:"";display:block;width:20rem;height:20rem;border-radius:100% 0% 0% 0%;position:absolute;right:0;background:var(--darkerSub);bottom:0;z-index:1;opacity:0.5;}
footer#site-footer > div {position:relative;z-index:2;}
footer#site-footer .bit img {max-width:160px;background:var(--background);padding:10px;border-radius:15px;height:auto;width:auto;}
footer#site-footer .container-divider {display:none;}
footer#site-footer > #footer-copyright {background:var(--fontcolor);}
footer#site-footer > #footer-copyright * {color:white;}

/* plugin support *//* gravityforms */
.gform_wrapper .gfield input:not([type=checkbox]), .gform_wrapper .gfield textarea {border-radius:var(--radius);}

/* whatsapp */
.floatbtn {z-index:99;}

