/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Elementen sticky maken, zoals de FAQ onderwerpen */
	.sticky-element {
		position: sticky;
		position: -webkit-sticky;
		top: 140px; /* Offset from top of container */
	}
	.sticky-element > .gb-inside-container {
		position: sticky;
		top: 140px;
		transition: top .3s linear;
	}

/* Elementen sticky maken, zoals de FAQ onderwerpen */

article.type-post{
	padding-left: 40px !important;
	padding-right: 40px !important;
}

h2.entry-title{
	padding-left: 20px;
	border-radius: 3px;
	border-left: 6px solid #d3065b;
}

/* Underline op links in content */

.gb-container-kleur-smal a, .gb-container-kleur-breed a, .gb-container-wit-smal a, .gb-container-wit-breed a{
	text-decoration: underline;
}

/* Vet maken op hover links in content */

.gb-container-kleur-smal a:hover, .gb-container-kleur-breed a:hover, .gb-container-kleur-smal a:hover, .gb-container-kleur-breed a a:hover, .gb-container-wit-smal a:hover, .gb-container-wit-breed a:hover{
	text-decoration: underline;
	font-weight: 800;
}


/* Footer */

.brand-compliance-logo{
	margin-left: -10px;
}

.brand-compliance-logo:hover{
transform: scale(1.1);
}

/* FAQ onderwerpen oplichten wanneer ze passeren */

#menu-center .active {
	font-weight: bold;
}

/* Verberg Google Recaptcha badge */
.grecaptcha-badge { visibility: hidden; }


/* Zoekbalk voor desktop */

@media only screen and (min-width: 1000px) {
	
.nav-search-active,.close-search { 
	border: 1px solid #ccc; 
	border-radius: 6px;
}

input[type=search]{
background: #fff !important;
border-radius: 6px !important;
}
	
	.navigation-search {
	width: 47%;
	left: 53% !important;
	opacity: 1;
	}
	
.nav-search-active {
	border-radius: 6px !important;
}

.close-search{
	border-radius: 0px !important;
	border-top-right-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

.close-search > a {
	border-radius: 6px !important;
	border: 0 !important;
}

	
}


/* Contact formulieren */

input[type=text],input[type=email],textarea,.wpcf7-number,input[type=number],.wpcf7-form-control-wrap,select,.wp-block-search__inside-wrapper{
	padding: 10px !important;
	border-radius: 6px !important;
	width: 100% !important;
}



.wpcf7-form > p, .wpcf7-list-item{
width:100% !important; 
display:flex !important;
justify-content:center !important;
	margin: 0;
}

.wp-block-search__button{
	border-radius: 6px;
}

input:focus,textarea:focus,select:focus{
outline: none;
}

textarea{
	height: 150px;
}

.wpcf7-not-valid-tip{
	color: inherit !important;
}

.wpcf7-response-output{
	border-radius: 6px;
	padding: 5px;
	margin: 0 !important;
	display: block;
	display: inline-block;
}

input[type=submit], input[type="reset"], input[type=submit]:focus{
margin: 0 auto;
display: block;
}

.wpcf7-spinner{
	display: none !important;
}

.wpcf7-list-item{
	margin-left: 0;
}

.wpcf7-list-item{
	display: block;
}

/* Language switcher markup */

.lang-item{opacity: 1.0;}
.current-lang{opacity: 0.3; cursor: pointer;}

/* Cookie notice herhaal widget */
#cookie-law-info-again{
    border-radius: 4px;
	background-color: #eaeaea !important;
    color: var(--pct-groen) !important;
    background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 50%) !important;
	box-shadow: 3px 3px 0 0 rgb(79 79 79 / 50%) !important;
}

/* Read more button */
.read-more-container > .button, .cli_settings_button{
	background-color: #eaeaea;
    color: var(--pct-groen);
    background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 50%) !important;
	box-shadow: 3px 3px 0 0 rgb(79 79 79 / 50%);
    font-weight: 800;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 1em 0;	
}

/* Submit button en demo button rechtsonder */
.demobutton, input[type=submit], input[type="reset"], input[type=submit]:focus, .wt-cli-accept-all-btn, .wt-cli-privacy-accept-btn{
	background-color: #d3065b !important;
    color: #ffffff !important;
    background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 50%) !important;
	box-shadow: 3px 3px 0 0 rgb(211 6 91 / 25%) !important;
    font-weight: 800 !important;
    padding: 15px 20px;
    border-radius: 4px !important;
    margin: 1em 0;
}



.demobutton:hover, input[type=submit]:hover, .input[type="reset"]:hover, .wt-cli-accept-all-btn:hover, .cli_settings_button:hover, .wt-cli-privacy-accept-btn:hover{
	background-color: #eaeaea !important;
    color: #d3065b !important;
	transition: all 0.3s ease;
}

.demobutton{
	position: fixed;
	right: 50%;
	bottom: 30px;
	right: 25px;
	z-index: 10;
}

.read-more-container > .button:hover{
	background-color: var(--pct-groen);
	box-shadow: 3px 3px 0 0 rgb(0 148 143 / 25%);
    color: #fff !important;
	transition: all 0.3s ease;
}

/* Homepage - PCT sectie */
.pct-afb img{
	max-height: 200px !important;
}

.align-buttons .gb-inside-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.align-buttons .gb-inside-container .gb-button-wrapper:last-child {
  margin-top: auto;
}

/* Afbeeldingen en videos */

.afbeelding, .afbeelding img, .wp-post-image{
	border-radius: 6px;
}

.met-border{
	border: 3px solid #eaeaea;
}

.youtubevideo{
	border-radius: 6px;
}

/* USP balk */

.usp-balk img{
	width: 16px;
	height: 16px;
	margin-right: 10px;
	display: inline-block;
}

/* Menu opmaak */

.lang-item a{
	padding-right: 0px !important;
}

/* Submenu opmaak*/

.main-navigation ul ul {
    border: 0px;
	border-top: 1px solid #fefefe;
	border-right: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	border-radius: 6px;
	background: #fff;

}

.main-navigation ul ul:after {
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #fff;
 }


/* Opmaak laatste berichten plugin */

ul.wp-block-latest-posts{
	margin: 0px;
}

ul.wp-block-latest-posts li{
	margin: 20px 0;
	padding: 10px;
	list-style: none !important;
	display: block;
}

.wp-block-latest-posts__post-date{
	padding-left: 10px;
}

.rpwe-li{
	font-size: 1.5em !important;
	display: inline-block;
	padding: 30px;
	max-width: 300px;
}

.rpwe-img img{
float: none !important;
display: block !important;
	width: 100%;
}

.rpwe-title a{
	font-size: 1.5em;
}

div.diensten div.gb-headline-wrapper{
	color: #0f70b7;
	font-size: 150%;
}

@media only screen and (max-width: 1200px) {
	
	.usps{
	flex-wrap: wrap-reverse;
	flex-direction: row;
	padding: 0 100px;
	}
	
	.usps > div{
	max-width: 50%;
	display: flex;
	}

	.demobutton{
	visibility: hidden;
	}
	
}

@media only screen and (max-width: 600px) {
	
	.usps{
	padding: 0px;
	}

}