/*
Theme Name:     Enfold Child
Description:    Enfold Child Theme
Author:         Thomas Klose
Template:       enfold

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* BREADCRUMB FIX */
.breadcrumb-trail span { float: left; padding: 0 0 0 3px; }
.breadcrumb-trail a { padding: 0px; }
.breadcrumb-trail .trail-before { display: none; }

/* BUTTON CURSOR */
.avia-button-center {
	cursor: pointer;
}
/* TOOL TIP */
.avia-tooltip {
	width:auto;
}
/* NO SPECIAL & */
.main_color .special_amp {
	font-family: inherit;
	font-size: 90%;
	font-style: inherit;
//	color: inherit;
}

/* Worttrennung im Hauptbereich */
#main p {
	-ms-word-break: break-all;
	word-break: break-all;

	word-break: break-word; /* non standard for webkit */
/*
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
*/                  
	-webkit-hyphenate-before: 2;
	-webkit-hyphenate-after: 3;
	hyphenate-lines: 3;
}

i {
	font-style: italic;
}

/* Hide Menu Items */
.hide_on_desktop {
	display: none;
}
/* Show Menu Items */
.hide_on_mobile {
	display: block;
}

/* iframe */
div.mfp-iframe-scaler  {
	height: 90vh !important; 
}
.avia-popup iframe {
  -moz-transform: scale(1, 1); 
  -webkit-transform: scale(1, 1); 
  -o-transform: scale(1, 1); 
  -ms-transform: scale(1, 1); 
  transform: scale(1, 1); 
  -moz-transform-origin: top left;
  -webkit-transform-origin: top left;
  -o-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
}
/* popup images */
.mfp-image-holder .mfp-content {
	max-width: 40%;
}

/* svg tweaks */
img[src$=svg] {
	width: 100%;
	height: auto;
	max-width: none;
}
.avia-image-container-inner {
	width: 100%;
}

/* END END END BASIC SETTINGS */

/* Header */
.header_color .header_bg {
	background: transparent;
}
/* Logo */
.logo {
	padding: 10px 0 0 0;
}
/* Burger */
.header_color .av-hamburger-inner, 
.header_color .av-hamburger-inner::before, 
.header_color .av-hamburger-inner::after {
	background: #cc0000;
}
.html_av-overlay-side #top .av-burger-overlay-scroll {
	background: rgba(255,255,255,0.9);
}
/* H1 + H2 */
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
	text-transform: none;
}
/* POPUP IMAGES */
.mfp-bottom-bar {
	display: none;
}
/* MASONRY */
.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
	opacity: 1;
}


/* SECTION SPECIFIC */
.avia-section {
	border-bottom: 3px solid #cc0000 !important;
}

#opener {
	background-size: cover;
}
#opener h1 {
	font-family: 'merriweather', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif;
}
#opener h2 {
	font-style: italic;
}
#opener .av-subheading {
	color: #222222;
}

/* CONTENT SPECIFIC */
.flex_column.boxed {
	background: rgba(255,255,255,0.618);
	backdrop-filter: blur(10px);
	border-left: 1px solid #cc0000;
	padding: 20px !important;
}
/* LOGO 1st SLIDER MARGIN FIX */
.slide-entry.flex_column {
	margin-bottom: 0 !important;
}


/* ContactForm 7 */
.dfmn_one_third {
	float: left;
	width: 32%;
	margin-right: 2%;
}
.dfmn_one_third.last {
	margin-right: 0;
}
.dfmn_one_half {
	float: left;
	width: 49%;
	margin-right: 2%;
}
.dfmn_one_half.last {
	margin-right: 0;
}
.dfmn_one_full {
	clear: both;
	padding: 10px 0;
}
#top label span {
	font-size: inherit;
}
.wpcf7 p {
	margin: 0;
}
.wpcf7 label span.label {
	color: #333333 !important;
}
.wpcf7-textarea {
	height: 115px;
}
#top input[type="checkbox"] {
	width: 15px;
	height: 15px;
}
.wpcf7 input:not([type=file]):not([type=submit]),
.wpcf7 select,
.wpcf7 textarea {
	color: #001a1e !important;
	background-color: #fff !important;
	border-radius: 5px !important;
	opacity: 0.7;
/*
	-webkit-transition: opacity 0.4s ease-out;
	-moz-transition: opacity 0.4s ease-out;
	-o-transition: opacity 0.4s ease-out;
	transition: opacity 0.4s ease-out;

	-webkit-transition: text-indent 0.1s ease-out;
	-moz-transition: text-indent 0.1s ease-out;
	-o-transition: text-indent 0.1s ease-out;
	transition: text-indent 0.1s ease-out;
*/
}
.wpcf7 input:not([type=file]):not([type=submit]),
.wpcf7 select, 
.wpcf7 textarea {
	text-indent: 80px;
}
.wpcf7 input[name='f_zeitpunkt'] {
	text-indent: 140px !important;
}
.wpcf7 input[name='f_personen'] {
	text-indent: 90px !important;
}
.wpcf7 input[name='doodle'] {
	text-indent: 120px;
}
.wpcf7 .wpcf7-quiz-label {
	position: relative;
	z-index: 1;
	top: 26px;
	left: 5px;
	color: #000;
}

/*
.wpcf7 input[type=submit],
.wpcf7 input:not([type=file]):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	text-indent: 0;
	opacity: 1.0;
}
*/
#top .wpcf7 textarea {
	padding: 5px 6px;
}
.wpcf7 label.file {
	display: block;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	padding: 10px;
}
.wpcf7 label.file span.label {
	display: block;
}
.wpcf7 label:not(.file) span.label {
	position: relative;
	float: left;
	z-index: 1;
	margin-left: 6px;
	color: #fff;
	font-size: 15px !important;
}
.wpcf7 label:not(.file) span.label.hide {
	width: 0px;
	height: 24px;
	overflow: hidden;
}
.wpcf7 label:not(.file) .wpcf7-form-control-wrap {
	position: relative;
	float: left;
	width: 100%;
	top: -27px;
	margin-bottom: -18px;
}
.wpcf7 input:not([type=file]):not([type=submit]).wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
	border-color: #dd0000 !important;
	opacity: 1;
}
span.wpcf7-not-valid-tip {
	display: none;
}
div.wpcf7-response-output {
	margin: 10px 0;
	border: 2px solid #e1e1e1;
	border-radius: 5px;
	color: #ffffff;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border-color: #e30613;
	background: #e30613;
}
div.wpcf7-mail-sent-ok {
	border-color: #398f14;
	background: #398f14;
}
div.wpcf7 .ajax-loader {
	margin: 0 0 0 -23px;
}
#top .input-text, 
#top input[type="text"], 
#top input[type="input"], 
#top input[type="password"], 
#top input[type="email"], 
#top input[type="number"], 
#top input[type="url"], 
#top input[type="tel"], 
#top input[type="search"],
#top textarea, #top select {
	margin-bottom: 5px;
}
#top .wpcf7 input[type="submit"] {
	width: 100%;
	font-size: 17px;
	margin-top: 10px;
	border-radius: 5px;
}
span.wpcf7-list-item { 
	margin: 0; 
}
#top label {
    font-weight: normal;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* borlabs */
[data-borlabs-cookie-wrap] [data-borlabs-cookie].borlabsCookieShow {
	margin: 0 !important;
	left: auto !important;
	right: 20px !important;
	bottom: 20px !important;
	box-shadow: 0px 10px 10px rgba(0,0,0,0.5);
}
.dfmn.borlabs-cookie-bct { 
	display: block !important;
	margin: 0 !important;
}
.dfmn.borlabs-cookie-bct.bc-bct-iframe {
	min-height: 0 !important;
}
.dfmn.borlabs-cookie-bct .bc-text {
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	text-align: center !important;
	-webkit-transform: none !important;
	transform: none !important;
	width: 100% !important;
}
.borlabs-cookie-responsive-iframe-wrapper {
	height: auto !important;
	padding-bottom: 0px !important;
	padding-top: 0px !important;
}
.borlabs-cookie-responsive-iframe-wrapper p {
	margin: 0;
}
.borlabs-cookie-responsive-iframe-wrapper iframe {
	position: relative !important;
	height: 450px !important;
}



@media only screen and (max-width: 767px) {
	/* Hide Menu Items */
	.hide_on_desktop {
		display: block;
	}
	/* Show Menu Items */
	.hide_on_mobile {
		display: none;
	}

	/* iframe */
	.mfp-iframe-holder .mfp-content {
		max-width: 90%;
	}
	
	/* DFMN 1/3rd */
	/* DFMN 1/3rd */
	.dfmn_one_third, .dfmn_one_half {
		width: 100%;
		float: none;
	}
	.wpcf7 label.file {
		margin-bottom: 10px;
	}
	#top .wpcf7 input[type="submit"] {
		min-width: 100%;
	}
	
	/* HEADER */
	.responsive #top #wrap_all #header {
		position: fixed;
		background: none;
	}
	.responsive #top .logo,
	.responsive #top #wrap_all .main_menu {
		height: 100px !important;
	}
	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
		height: 100px;
		line-height: 100px;
	}
		
	/* OPENER */
	#opener .entry-content-wrapper > .flex_column:first-child {
		background: rgba(255,255,255,0.382);
    	backdrop-filter: blur(10px);
		border-left: 1px solid #cc0000;
		padding: 20px;
		margin-top: 50vh !important;
	}

	/* SECTION */
	.avia-section, .av-parallax {
        border-bottom: 0 !important;
		background-image: none !important;
        background-color: #eeebf2 !important;
	}

	/* mobile images */
	.av-styling-no-styling.mobile .avia_image {
		border-bottom: 1px solid #cc0000;
	}
	/* margin override */
	.entry-content-wrapper > .flex_column {
		margin-top: 0px !important;
	}
	
	/* popup images */
	.mfp-image-holder .mfp-content {
		max-width: 100%;
	}
}

@media only screen and (max-width: 989px) and (min-width: 768px) {
	.responsive.html_mobile_menu_tablet #top #wrap_all #header { position: fixed; }
	.responsive #top .header_bg { opacity: 0; }
	.html_mobile_menu_tablet #top #wrap_all .av_header_transparency { background: none; }
	
	/* popup images */
	.mfp-image-holder .mfp-content {
		max-width: 80%;
	}
}