/*
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;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

/* 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;
}
#logo-content img {
	margin: 0 auto !important;
	border-right: 20px solid transparent;
	width: 160px;
}
/* Burger */
.header_color .av-hamburger-inner, 
.header_color .av-hamburger-inner::before, 
.header_color .av-hamburger-inner::after,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner, 
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, 
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
	background: #4a77bb;
}
.html_av-overlay-side #top .av-burger-overlay-scroll {
	background: rgba(255,255,255,0.9);
}
#av-burger-menu-ul li {
	font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
	color: #124482;
	font-weight: bold !important;
	font-style: italic;
}
/* 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 */

#opener {
	background: url(/wp-content/uploads/2020/11/malereifachbetrieb-lackierer-dahme-spreewald-2.jpg) bottom left no-repeat #e0e0e0;
    background-attachment: fixed;
    background-size: contain;
}
#opener h1, #opener h3 {
	font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif;
	font-style: italic;
	font-weight: bold;
}
#opener .hello h3 {
	font-weight: normal;
}

/* CONTENT SPECIFIC */
p a { 
    text-decoration: underline;
}

.flex_column.boxed .av-special-heading h3,
.av-special-heading.hello h3 {
	color: #fff;
	padding: 10px 30px;
	background: #124482;
	box-shadow: 10px 3px 15px #aaa;
	border-left: 10px solid #6c99dd;
}
.flex_column.boxed .av-special-heading h3:before,
.flex_column.boxed .av-special-heading h3:after,
.av-special-heading.hello h3:before,
.av-special-heading.hello h3:after {
	content: '';
	width: 6px;
	background: #4a77bb;
	height: 100%;
    position: absolute;
    display: block;
    left: 15px;
    top: 0;
}
.flex_column.boxed .av-special-heading h3:after,
.av-special-heading.hello h3:after {
	width: 4px;
	left: 26px;
	background: #285599;
}
.flex_column .av_textblock_section {
	padding: 0 0 0 10px;
}


#opener:first-child .avia-image-container.avia-align-center {
	margin-bottom: 0;
}
.av-special-heading.hello {
	margin-top: 0;
}
.av-special-heading.hello h3 {
	padding: 10px 30px 10px 10px;
	background-color: #f49813;
	border-left: 0;
	border-right: 10px solid #6c99dd;
}
.av-special-heading.hello h3:before {
	left: auto;
	right: 15px;
}
.av-special-heading.hello h3:after {
	left: auto;
	right: 26px;
}

#top .main_color .avia-button.avia-color-theme-color {
	border: none;
	border-radius: 0;
	border-right: 20px solid #6c99dd;
	box-shadow: 10px 3px 15px #aaa;
	color: #285599;
	background-color: #fade52;
}
#top .main_color .avia-button.avia-color-theme-color,
#top .wpcf7 input[type='submit'] {
	border: none;
	border-radius: 0;
	border-right: 20px solid #4a77bb;
	box-shadow: 10px 3px 15px #aaa;
	color: #285599;
	background-color: #fade52;
}
#top .main_color .avia-button .avia-color-theme-color-highlight,
#top .wpcf7 input[type='submit']:hover {
	border-radius: 0;
	color: #ffffff;
	background-color: #f49813;	
}
#top .main_color .avia-button.avia-color-theme-color:before,
#top .main_color .avia-button.avia-color-theme-color:after {
	content: '';
	width: 10px;
	background: #4a77bb;
	height: 100%;
	position: absolute;
	display: block;
	right: 6px;
	top: 0;
	z-index: 100;
}
#top .main_color .avia-button.avia-color-theme-color:after {
	width: 8px;
	right: 22px;
	background: #285599;
}
.avia-icon-list-container {
	padding: 0 10px;
	margin-bottom: 30px !important;
}
#top .av-iconlist-small .iconlist_icon {
	height: 1.25em;
	width: 1.25em;
	line-height: 1.25em;
}
#top .main_color .container .av-masonry-load-more {
	width: 150px;
	display: inline-block;
	float: right;
	background: none;
	padding: 10px;
	text-decoration: underline;
}

/* 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[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 #124482;
	border-radius: 5px;
	color: #124482;
}
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; */
	border: 0;
	-webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
span.wpcf7-list-item { 
	margin: 0; 
}
#top label {
    font-weight: normal;
    font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, 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 .logo {
		opacity: 0;
		-webkit-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}
	.responsive #top .logo.show {
		opacity: 1;
	}
	.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 #4a77bb;
		padding: 20px;
		margin-top: 50vh !important;
	}

	/* SECTION */
	.avia-section, .av-parallax {
        border-bottom: 0 !important;
		background-image: none !important;
        background-color: #e0e0e0 !important;
	}
	
	
	/* mobile images */
	.av-styling-no-styling.mobile .avia_image {
		border-bottom: 1px solid #4a77bb;
	}
	/* margin override */
	.entry-content-wrapper > .flex_column {
		margin-top: 0px !important;
	}
	
	/* popup images */
	.mfp-image-holder .mfp-content {
		max-width: 100%;
	}
}

#logo-content img {
	width: 18vw;
	padding-bottom: 1vw;
	max-width: 150px;
}
#opener:first-child h2 {
   font-size: 5vw !important;
}
#opener:first-child .av-special-heading:not('.hello') h3 {
	font-size: 5vw !important;
}

@media only screen and (max-width: 520px) {
	#logo-content img {
		width: 25vw;
		padding-bottom: 1vw;
	}
	#opener:first-child h1 {
		font-size: 5.5vw !important;
	}
	#opener:first-child h2 {
	   font-size: 8vw !important;
	}
	#opener:first-child .av-special-heading h3 {
		font-size: 8vw !important;
	}
	#opener:first-child .av-special-heading.hello h3 {
		font-size: 5.5vw !important;
	}
}

@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%;
	}
}

.wpcf7-form p:has([data-cf7apps-honeypot]), .wpcf7-form p:has(.cf7apps-honeypot-wrap) {
	margin: inherit;
	padding: inherit;
	height: inherit;
	min-height: inherit;
	line-height: inherit;
	font-size: inherit;
	border: inherit;
}