/*
Theme Name: Total Child
Theme URI: https://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: https://totalwptheme.com
Template: Total
Version: 1.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

body { background-blend-mode: overlay; }
h1, h2, h3, h4, h5, h6, p, li {
	hyphens: auto;
	hyphenate-limit-chars: 9 3 4;
}
table th, table td {
	padding: 0;
	border: none;
}
.boxed-main-layout #wrap { overflow: hidden; background-color: transparent; }
#top-bar-wrap { background-color: rgba(255, 255, 255, 0.8); }
.sf-menu > li { border-left: 1px solid #666; }
.sf-menu > li:first-child, .sf-menu > li:last-child { border-left: none; }
.current_page_item, .current-menu-ancestor { color: #004a97; font-weight: bold; }
#main {
	background-color: white;
	min-height: calc(100vh - 420px);
}
.page-header-inner ul { float: right; margin-top: 4px; }
.page-header-inner li { display: inline; padding: 0 1em; border-left: 1px #333 solid; }
.page-header-inner li:first-child,
.page-header-inner li:first-of-type.current_page_item + li { border-left: none; padding-left: 0; }
.page-header-inner .current_page_item { display: none; }

body.wpex-mobile-toggle-menu-icon_buttons #site-logo { max-width: 100% !important; }

.navbar-style-one .dropdown-menu > li > a {
	height: 38px;
	line-height: 38px;
	padding: 0 12px;
}
.navbar-style-one .dropdown-menu > li > a > span.link-inner {
	letter-spacing: 2px;
	border-radius: 0 !important;
	padding: 0 0 3px 0 !important;
}
.navbar-style-one .dropdown-menu > li > a:hover > span.link-inner { border-bottom: 1px solid #3b86b0; }

.vc_single_image-wrapper { margin-top: 5px; }
.portfolio-entry-media img { width: 100%; }

.wpcf7-textarea { height: 124px; }

p { text-align: justify; }
.vc_gitem-post-data p { text-align: left; }
div > h1, div > h2, div > h3, div > h4, div > h5, div > h6, form h2, form h4 { margin-top: 0; }
.wpb_text_column h1, .wpb_text_column h2, .wpb_text_column h3, .wpb_text_column h4 { margin-bottom: 1em !important; }
.page-header-title { font-weight: bold; }
td h3 { margin: 0 0 8px; }
td p { line-height: 1.3; }
.wsp-container { margin-bottom: 2em; }

.footer-box .vc_column-inner { margin-bottom: 10px; }
.wpex-social-btn-minimal { border: none; }
.wpex-fa-social-widget li { list-style: none; }
.facebook .wpex-icon svg {
	color: white;
	height: 1.6em;
	top: 2px;
	position: relative;
}
#footer a.wpex-social-btn { color: #999; font-size: 135%; }
.wpex-social-btn-minimal:hover { background: transparent; }
#footer-bottom a { color: #333333; }
#footer-bottom a:hover { color: #666; }
/*#footer-bottom-menu li, #footer-bottom-menu a { line-height: 1.65 !important; }*/
.site-footer .container { padding-top: 24px; }
.footer-widget { padding-bottom: 6px; }
.wpex-vc-column-wrapper { margin-bottom: 0; }
.wpex-carousel .owl-prev, .wpex-carousel .owl-next { margin-top: 8px; }
.owl-carousel .owl-stage {
	height: 101px;
}
.wpex-carousel-entry-media, .wpex-carousel-slide, .owl-carousel .owl-item, a.wpex-carousel-entry-img, .wpex-carousel.owl-carousel .owl-item img {
	display: block;
	height: 100%;
}

.site-footer .widget_nav_menu li:first-child { border-top: none; }
.site-footer .widget_nav_menu li {
	padding: 0 0;
	border-bottom: none;
}
.wpex-fa-social-widget ul { margin: 0; }
.wpex-fa-social-widget ul li:last-child { margin-right: 0; }
#copyright { text-align: right; width: 50%; }
#footer-bottom .left { float: left; position: relative; top: 9px; }
#footer-bottom .center { display: inline-block; position: relative; top: 6px; }
#footer-bottom .wpex-fa-social-widget span.fa { font-size: 120%; }

/* Startseitengalerie */
.wpb_single_image img, .wpb_single_image a, .vc_single_image-wrapper { width: 100%; }
.vc_row.wpb_row.vc_row-fluid.menugallery { margin: 0 -5px; }
.menugallery .wpb_single_image_caption {
	top: 0;
	bottom: auto;
	left: 0;
	color: #000;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	height: 100%;
	width: 100%;
	padding: 30% 10px 0;
	font-size: 110%;
	/* font-weight: bold; */
	text-align: center;
	text-shadow: 0 0 10px #fff;
}
.menugallery .twolines .wpb_single_image_caption { line-height: 1.5; padding-top: 20%; }
.menugallery .link:hover { z-index: 99; }
.menugallery .link a {
	scale: 1;
	transition: all 0.3s;
}
.menugallery .link:hover a {
	scale: 1.05;
	box-shadow: 0 0 15px #00000080;
}


.wpex-carousel { padding-top: 6px; }
.wpex-row.centered .span_1_of_3 { width: auto; }
.vcex-image-grid.wpex-row.centered { margin: 0 auto; width: 510px; }
/* 3 x 170px */

.offset1 { margin-left: 8.333%; }

/* Masonry grid */
.vc_gitem-post-data { color: #ffffff; }
/*.vc_grid.vc_row.vc_pageable-wrapper { min-height: 280px; }
.double .vc_grid.vc_row.vc_pageable-wrapper { height: 560px; }*/
.vc_masonry_grid .vc_grid.vc_row .vc_grid-item, .vc_masonry_media_grid .vc_grid.vc_row .vc_grid-item {
	display: block !important;
}

/* 
Footer layout
3 + 3 + 6
25 + 25 + 50 = 100
*/
.wpex-row .span_1_of_12 { width: 8.333% }
/* 8.333% */
.wpex-row .span_2_of_12 { width: 16% }
/* 16.666% */
.wpex-row .span_3_of_12 { width: 25% }
.wpex-row .span_4_of_12 { width: 40% }
/*33.333% */
.wpex-row .span_6_of_12 { width: 50% }
/*33.333% */

.widget_wpex_fontawesome_social_widget { float: right; }

#site-scroll-top {
	right: 8px;
	bottom: 10px;
}
#site-scroll-top.show { opacity: 0.8; }
.fa-chevron-up {
	position: relative;
	top: -1px;
}


/* Einzelseiten */
/* Home */
.max1280 { max-width: 1280px; }
.mitarbeiter td { vertical-align: middle; }
.mitarbeiter td.text { padding: 0 0 5px 1em; }

.portfolio-entry-media { max-height: 240px; overflow: hidden; }
/* ideal: 282px */

/* Partner */
.vcex-image-grid .vcex-image-grid-entry {
	display: inline-block;
	min-height: 180px;
	place-content: center;
}
.vcex-image-grid-entry-figure {
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	display: table-cell;
}
.wpex-row.gap-60 > .col, .wpex-row.gap-60 > .nr-col {
	display: table;
}

.wpex-is-mobile-device .vc_video-bg, .wpex-is-mobile-device .wpex-video-bg-wrap {
	display: block;
}
.wpex-video-bg-rl {
	/*background-image: url(https://bauflex.ch/wp-content/uploads/2018/06/endbild.png);*/
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: center;
	width: 100%;
}
.page-id-97 .vc_custom_1534887621952 { margin-top: 3.3em !important; }

.wpex-fa-social-widget {}
.wpex-fa-social-widget .twitter, .wpex-fa-social-widget .googleplus, .wpex-fa-social-widget .pinterest {display: none;}
.wpex-fa-social-widget .facebook a {
	height: 26px !important;
	width: 26px !important;
	line-height: 1;
	background: #3B5998;
	border-radius: 3px;
	display: block;
}
.wpex-fa-social-widget a span.fa.fa-facebook,
.wpex-fa-social-widget a span.ticon.ticon-facebook {
	padding: 5px 0 0 4px;
	line-height: 1;
	color: #fff;
	font-size: 160% !important;
}

/* Contact */
.erforderlich {
	color: #ccc;
	float: right;
	margin: -0.5em 0 1em 0;
}
.wpcf7-form-control-wrap {
	clear: both;
	margin-bottom: 1em;
}
.wpcf7-recaptcha iframe {
	position: absolute;
}

/* Media queries */
@media only screen and (min-width: 1260px) {
	#menu-hauptmenue li {
		min-width: 9em;
		text-align: center;
	}

	#menu-hauptmenue li.search-toggle-li {
		width: auto;
		min-width: 0;
	}

	.navbar-style-one { right: -10px; }
}
@media only screen and (max-width: 1170px) {
	/* Footer */
	#copyright { text-align: center; width: 40%; }
}
@media only screen and (min-width: 1130px) {
	/* Firma */
	.page-id-97 #content-wrap { max-width: 1100px; }

	.page-id-97 .wpb_column:first-child .wpb_text_column { max-width: 89.6%; }
}
@media only screen and (max-width: 767px) {
	#wrap #content-wrap .wpex-row .col { width: auto !important; }

	#wrap #content-wrap .wpex-row .col.vcex-image-grid-entry { width: 100% !important; }

	.vcex-image-grid-entry .vcex-image-grid-entry-figure { width: 70%; }

	.vcex-image-grid-entry.col-1 { clear: none; }

	.offset1 { margin-left: 0; }

	/* Footer */
	.footer-bottom-flex { display: grid; }

	#copyright { width: 100%; order: 1; }

	#footer-bottom .left, #footer-bottom .center { float: none; display: block; width: 100%; }

	#footer-bottom .center { padding: 1em 0 0; }

	#footer-bottom .center ul { display: inline-block; }

	.page-id-97 .vc_custom_1534887621952 { margin-top: 0 !important; }
}
@media only screen and (max-width: 959px) and (min-width: 768px) {
	#footer-widgets.wpex-row .col.span_3_of_12 {
		width: 25%;
	}

	#footer-widgets.wpex-row .col.span_6_of_12 {
		width: 50%;
	}
}
@media only screen and (max-width: 660px) {
	#footer-widgets.wpex-row .col.span_3_of_12 {
		width: 50%;
	}

	#footer-widgets.wpex-row .col.span_6_of_12 {
		width: 100%;
	}
}


/*** For full screenshot ***/
/*.spacer-home-1 div { height: 1px;}
.animation div { margin: 0; }
.wpex-my-40 {height: 5px;}
#illow-banner-widget{display:none}*/

