/*
Theme Name: Trompenburg
Description: Trompenburg theme for main Enfold theme
Version: 1.0
Template: enfold
*/

/** Todo:

*/

/* BIO label in header */
.biodiversiteit span {
	display: none;
}
.biodiversiteit a {
	background: url(/wp-content/themes/trompenburg-child/biodiversiteit.jpg) no-repeat;
	background-size: 100%;
	position: absolute;
	bottom: -20px;	
	transition: 1s;
	min-width: 80px;
	min-height: 80px;
	max-width: 100px;
	max-height: 100px;
}
@media screen and (max-width: 1200px) {
	.biodiversiteit a {
		min-width: 60px;
		min-height: 60px;
		bottom: 20px;
		left: 40px;
	}
}
@media screen and (max-width: 768px) {
	.biodiversiteit a {
		width: 100px !important;
		height: 100px !important;
	}
}

/* Special classes */
.max-h-500 img {
	max-height: 500px!important;
}

/* All pages, section header */
 #header-image-parallax {
	background-size: cover;
}

/* Menu links active state */
.header_color .main_menu ul:first-child > li.active-parent-item > a, 
.header_color .main_menu .menu ul .current-menu-item > a {
	color: #9cce40!important;
}

/* Events coming up */
ul.ecs-event-list {
	list-style-type: none!important;
	margin-left: 0!important;
}
ul.ecs-event-list li.ecs-event {
	margin-right: 3%;
	float: left;
	width: 48%;
	margin-left: 0!important;
	padding: 10px 0!important;
	margin-bottom: 30px;
	max-height: auto!important;
}
.home ul.ecs-event-list li.ecs-event {
	min-height: 500px;
}
.home ul.ecs-event-list li.ecs-event {
	width: 30%;
}
.home ul.ecs-event-list li.ecs-event:nth-child(3n+0) {
	margin-right: 0;
}
ul.ecs-event-list li.ecs-event .entry-title {
	height: 3em;
	line-height: 1.3em;
}
ul.ecs-event-list li.ecs-event a img {
	width: 100%;
	height: auto;
	max-width: 363px;
	max-height: 240px;
	border-radius: 3px;
}
ul.ecs-event-list li.ecs-event .duration {
	font-weight: bold;
	color: #9cce40;
}	
.main_color div.product .woocommerce-tabs .panel {
	border-color: #9cce40;
}
/* Extra fields in product and card
.btn_remove_field {
	float: none;
	clear: both;
	background-color: #9cce40;
	border-color: #7aac20;
	color: #ffffff;
	vertical-align: middle;
	margin: 2px 0 20px 0!important;
	width: auto!important;
	padding: 15px;
	line-height: 1em;
	font-size: 12px;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	border-radius: 2px;
	display: none;
}
.btn_extra_field {
	float: none;
	clear: both;
	background-color: #9cce40;
	border-color: #7aac20;
	color: #ffffff;
	vertical-align: middle;
	margin: 2px 10px 20px 0!important;
	width: auto!important;
	padding: 15px;
	line-height: 1em;
	font-size: 12px;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	border-radius: 2px;
} */
dd.variation-Kaarthouders {
	display: block;
	width: 100%;
}
.home .ecs-event > .ecs-excerpt {
	min-height: 120px;
}
.activiteiten ul.ecs-event-list li.ecs-event {
	width: 100%;
}
.activiteiten .av-upcoming-events ul.ecs-event-list li.ecs-event .entry-title {
	height: 2em!important;
}
.activiteiten .ecs-event > a {
	border-radius: 50%;
	width: 100px;
	height: 100px;
	float: left;
	margin-right: 30px;
}
.activiteiten ul.ecs-event-list li.ecs-event a img {
	width: 100px;
	height: 100px;
	max-width: 100px;
	max-height: 100px;
}
.radio_extra_field {
	width: 20px !important;
	margin-left: 20px !important;
}
.radio_extra_field:first-child {
	width: 20px !important;
	margin-left: 0 !important;
}
/** Form pulldowns */
#top .gform_wrapper select {
	min-width: 100px !important;
}
#top .gform_wrapper .gfield_time_hour input,
#top .gform_wrapper .gfield_time_minute input {
	min-width: 100% !important;
}

@media screen and (max-width: 768px) {
  .activiteiten  ul.ecs-event-list li.ecs-event {
		width: 100%!important;
	}
	.home ul.ecs-event-list li.ecs-event {
		width: 47%;
		min-height: auto;
	}
	ul.ecs-event-list li.ecs-event .entry-title {
		height: 4em;
	}
	.home ul.ecs-event-list li.ecs-event:nth-child(3n+0) {
		margin-right: 3%;
	}
	.av-main-nav .menu-item:not(.biodiversiteit) {
		margin-top: -30px;
		margin-bottom: 10px;
		margin-right: 10px;
	}
	.slideshow_caption {
		width: 60%;
	}
}

@media screen and (max-width: 600px) {
	.home ul.ecs-event-list li.ecs-event {
		width: 100%;
		min-height: auto;
	}
	ul.ecs-event-list li.ecs-event .entry-title {
		height: auto;
	}
	.home ul.ecs-event-list li.ecs-event:nth-child(3n+0) {
		margin-right: auto;
	}
	.home .ecs-event > .ecs-excerpt {
		min-height: auto;
	}
}