.el-exhibitiondates .template {
	display: none;
}
.ex-dates-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	margin-left: -25px;
	margin-right: -25px;
	margin-top: -25px;
}
.ex-date {
	width: calc(50% - 50px);
	margin: 25px;
	box-sizing: border-box;
	cursor: pointer;
}
@media only screen and (max-width: 750px) {
	.ex-dates-wrapper {
		margin: 0;
	}
	.ex-date {
		width: 100%;
		margin: 0px;
		margin-bottom: 20px;
		box-sizing: border-box;
		cursor: pointer;
	}
}
.ex-date-inner {
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column nowrap;
	flex-flow: column nowrap;
	-webkit-box-pack: stretch;
	-ms-flex-pack: stretch;
	justify-content: stretch;
}
.ex-dates-no-dates {
	color: red;
	text-align: center;
	font-size: 24px;
	display: none;
}
.no-events. .ex-dates-no-dates {
	display: block;
}

/* BILD */
.ex-date-img-inner {
	height: 215px;
	background-image: url('/fileadmin/images/logo.png');
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
.ex-date-img {
	border-bottom: 1px solid rgba(0,0,0,.07);
	padding: 15px;
	border: 1px solid rgba(139, 168, 32, 0.3);
	box-sizing: border-box;
	border-radius: 7px 7px 0px 0px;
}

/* CONTENT */
.ex-date-content {
	background: rgba(240, 242, 239, 0.8);
	padding: 25px 30px;
	box-sizing: border-box;
	width: 100%;
	height: calc(100% - 265px);
}

/* TITLE */
.ex-date-title {
	border-bottom: 1px solid rgba(139, 168, 32, 0.25);
	padding-bottom: 10px;
}
.ex-date-title h2 {
	margin-bottom: 0px;
	color: #8BA820;
    font-size: 2.3rem;
    line-height: 3rem;
}


.ex-date-date,
.ex-date-location {
	display: none;
	color: #8C622F;
}
.ex-date-date,
.ex-date-location,
.ex-date-ticket-request,
.ex-date-meeting-schedule {
	padding: 8px 0px;
	border-bottom: 1px solid rgba(139, 168, 32, 0.25);
}
.ex-date h5 {
	font-size: 20px;
	line-height: 26px;
	color: #8C622F;
	text-transform: none;
	margin: 0;
}
.ex-date-date .date-icon,
.ex-date-location .location-icon,
.ticket-request-icon,
.meeting-schedule-icon {
	font-size: 20px;
	margin-right: 10px;
}
.ex-date-date.show,
.ex-date-location.show {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

/* BUTTON */
.ex-date-button {
	position: relative;
	width: 100%;
	height: 50px;
	background: #8BA820;
	padding: 0 40px;
	color: white;
	box-sizing: border-box;
}
.ex-date-button-text {
	line-height: 50px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.914286px;
	text-transform: uppercase;
}
.ex-date-button-icon {
	position: absolute;
	width: 40px;
	height: 50px;
	top: 0px;
	right: 0px;
	line-height: 50px !important;
	text-align: center;
	font-size: 24px;
}


/* TICKETS & APPOINTMENTS & VISIT US */

.ex-date-meeting-schedule,
.ex-date-ticket-request {
	display: none;
}
.ex-date-visit-us {
	display: none;
}
.appointments-allowed .ex-date-meeting-schedule,
.tickets-allowed .ex-date-ticket-request {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	color: #8b612b;
	font-size: 1.2rem;
}
.appointments-allowed.tickets-allowed .ex-date-meeting-schedule {
	border-bottom: none;
}

/* FORM */

.ex-dates-form-wrapper {
	position: fixed;
	height: 100vh;
	width: 100vw;
	left: 0px;
	top: 0px;
	pointer-events: none;
	z-index: 400;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column nowrap;
	flex-flow: column nowrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.ex-dates-form-overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	background: rgba(0,0,0,0.7);
	z-index: 5;
	cursor: pointer;
	pointer-events: none;
	opacity: 0;
	transition: ease-in opacity 0.3s 0.2s;
}
.ex-dates-form-wrapper.showForm .ex-dates-form-overlay {
	pointer-events: all;
	opacity: 1;
	transition: ease-in opacity 0.3s;
}
.ex-dates-form-wrapper.showForm {
	pointer-events: all;
}
.ex-dates-form {
	position: relative;
	width: 100%;
	height: auto;
	max-height: 90vh;
	overflow-y: auto;
	max-width: 750px;
	background: white;
	box-sizing: border-box;
	background: white;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	z-index: 10;
	transform: translateY(-100vh);
	transition: ease-in transform 0.5s, ease-in opacity 0.5s;
}
.ex-dates-form-header {
	padding: 30px 20px;
	position: relative;
	background: #F3F5F2;
}
.ex-dates-form-content {
	padding: 40px 25px 85px 25px;
	position: relative;
}
.ex-dates-form-wrapper.showForm .ex-dates-form {
	pointer-events: all;
	transform: translateY(0px);
	transition: ease-out transform 0.5s, ease-in opacity 0.5s;
}
.form-submit-success.showForm .ex-dates-form {
	pointer-events: none;
	transform: scale(0.6);
	opacity: 0.7;
	transition: ease-out transform 0.5s, ease-out opacity 0.5s;
}
.close-form {
	position: absolute;
	right: 0px;
	top: 5px;
	width: 60px;
	height: 60px;
	border-radius: 100%;
	background-color: transparent;
	color: #8ca51b;
	text-align: center;
	font-size: 22px;
	line-height: 60px;
	cursor: pointer;
}
.ex-form-field-group {
	width: calc(100% + 10px);
	height: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: -5px;
	margin-bottom: 20px;
}
.ex-form-headline {
	width: 100%;
	margin: 10px 5px 5px 5px;
	font-size: 14px;
	line-height: 16px;
}
h1.ex-form-header-title-text {
	margin-bottom: 0px !important;
	font-size: 40px;
	line-height: 43px;
	color: #8BA820;
}
.ex-form-headline-optional {
	font-weight: 400 !important;
}
.ex-form-headline.green {
	color: #8BA820;
}
.ex-form-field {
	margin: 5px;
	box-sizing: border-box;
}
.ex-form-field.ex-field-1-2 {
	width: calc(50% - 10px);
}
.ex-form-field.ex-field-1-1 {
	width: 100%;
}
.ex-form-field-group-voucher,
.ex-form-field-group-appointment {
	background: #F7F2EE;
	display: none;
	width: calc(100% + 50px);
	margin-left: -25px;
	margin-bottom: 15px;
	padding: 30px 25px;
	box-sizing: border-box;
}
.ex-form-field-group-voucher .ex-form-headline,
.ex-form-field-group-appointment .ex-form-headline {
	margin-bottom: 20px !important;
}
.tickets-allowed .ex-form-field-group-voucher,
.appointment-allowed .ex-form-field-group-appointment {
	display: block;
}

.ex-dates-form input[type="text"],
.ex-dates-form input[type="number"],
.ex-dates-form input[type="email"],
.ex-dates-form input[type="date"],
.ex-dates-form input[type="time"],
.ex-dates-form textarea {
	border: 1px solid rgba(0,0,0,.12);
    font-size: inherit;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    padding: 15px 20px;
    width: 100%;
    -webkit-appearance: none;
    background-color: #fff;
    background-color: rgba(0,0,0,.02);
    transition: 0.4s all;
}
.ex-field-hidden label {
	display: inline-block;
	position: relative;
	font-size: inherit;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    padding-left: 40px;
    cursor: pointer;
    pointer-events: all;
}
.checkbox-label {
	display: inline-block;
	position: relative;
	font-family: "minion-pro", serif;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: 1.2;
	color: #8C622F;
	box-sizing: border-box;
    padding-left: 40px;
    cursor: pointer;
    pointer-events: all;
}

.checkbox-label:before {
	content: '\e911';
	font-family: 'bakehouse-iconset' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	border: 1px solid rgba(0,0,0,.12);
    position: absolute;
    top: 0;
    left: 0px;
    height: 25px;
    width: 25px;
    background-color: white;
    border-radius: 3px;
    color: white;
}
.checkbox-label.checked:before {
	content: '\e911';
	font-family: 'bakehouse-iconset' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	border: 1px solid rgba(0,0,0,.12);
    position: absolute;
    top: 0;
    left: 0px;
    height: 25px;
    width: 25px;
    line-height: 25px;
    font-size: 20px;
    text-align: center;
    border-radius: 3px;
    color: white;
	background-color: #8ca51b;
}
.ex-dates-form input[type="checkbox"] {
	display: none;
}
.ex-form-field-checkbox {
	margin-bottom: 20px;
}
.ex-field-hidden {
	height: auto;
	max-height: 0px;
	overflow-y: hidden;
	transition: ease-out max-height 0.4s;
}
.ex-field-hidden.show {
	max-height: 200px;
	overflow-y: hidden;
	transition: ease-in max-height 0.4s;
}
.ex-field-hidden label {
	display: inline-block;
	padding-left: 0px;
}
.field-voucher,
.field-appointment {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.field-voucher label,
.field-appointment label {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.914286px;
	text-transform: uppercase;
	color: #8BA820;
	margin-right: 10px;
}
.field-voucher input[type="number"] {
	width: auto;
	min-width: 150px;
	background: white;
}
.field-appointment input[type="text"],
.field-appointment input[type="time"] {
	width: auto;
	min-width: 150px;
	background: white;
}
.ex-form-field-wrapper {
	width: 100%;
	height: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.ex-dates-button {
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    -webkit-appearance: none;
    width: 250px;
    height: 50px;
    font-size: 18px;
    line-height: 20px;
    right: 25px;
    bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9286rem;
    text-align: center;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none !important;
    letter-spacing: 0.07143rem;
    background: #8ca51a;
    box-shadow: 0 10px 30px 0 rgba(0,0,0,0.10);
    transition: background .4s;
    text-transform: uppercase;
}

/* CONFIRMATION */

.ex-dates-form-confirmation {
	position: absolute;
	width: 100%;
	height: auto;
	max-width: 700px;
	background: white;
	box-sizing: border-box;
	background: white;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	z-index: 20;
	opacity: 0;
	pointer-events: none;
	transform: scale(0.6);
	transition: ease-in transform 0.5s, ease-in opacity 0.5s;
	padding-bottom: 50px;
}
/* IE11 HACK */

@media all and (-ms-high-contrast:none) {
	*::-ms-backdrop, .ex-dates-form-confirmation { 
	    left: 50%;
	    margin-left: 350px;
	    top: 20vh;
	}
}
.form-submit-success .ex-dates-form-confirmation {
	opacity: 1;
	transform: scale(1);
	pointer-events: all;
	transition: ease-out transform 0.5s, ease-out opacity 0.5s;
}
.ex-conf-text {
	
	font-size: 35px;
	line-height: 45px;
	text-align: left;
	margin-bottom: 30px;
	padding: 25px;
}
.ex-conf-text-brown {
	color: #8C622F;
	margin-bottom: 30px;
}
.ex-conf-text-green {
	color: #8BA820;
}
.ex-conf-button {
	margin: auto;
	left: auto;
}
.ex-conf-headline {
	font-size: 13px;
	line-height: 16px;
}

/* ERRORS */

.ex-form-field.showFieldWarning input {
	border: 2px solid red;
}

/* MOBILVERSION */

.bh-state-mobile .ex-date-img {
	display: none;
}
.bh-state-mobile .ex-date-content {
	height: calc(100% - 50px);
	padding: 20px;
}
.bh-state-mobile .ex-form-field.ex-field-1-2,
.bh-state-mobile .ex-form-field.ex-field-1-1 {
	width: 100%;
	margin: 0;
	margin-bottom: 15px;
}
.bh-state-mobile .field-voucher label,
.bh-state-mobile .field-appointment label {
	padding-bottom: 10px;
}
.bh-state-mobile .field-voucher input[type="number"],
.bh-state-mobile .field-appointment input[type="text"],
.bh-state-mobile .field-appointment input[type="time"] {
	width: 100%;
}
.bh-state-mobile .ex-dates-form-wrapper {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	z-index: 1000;
}
.bh-state-mobile .ex-dates-form {
	max-height: calc(100% - 61px);
}
.bh-state-mobile .ex-dates-button {
	width: calc(100% - 50px);
}
.bh-state-mobile .ex-conf-text {
	font-size: 26px;
	line-height: 32px;
}