/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

@media screen and (min-width: 768px) {
	ul.w-nav-list{
 		display: -ms-flexbox !important;
    	display: -webkit-flex !important;
    	display: flex !important;
    	-webkit-flex-direction: column;
		-ms-flex-direction: column;
    	flex-direction: column;
    	-webkit-flex-wrap: nowrap;
    	-ms-flex-wrap: nowrap;
    	flex-wrap: nowrap;
    	-webkit-justify-content: center;
    	-ms-flex-pack: center;
    	justify-content: center;
    	-webkit-align-content: stretch;
    	-ms-flex-line-pack: stretch;
    	align-content: stretch;
   		-webkit-align-items: flex-end;
    	-ms-flex-align: end;
    	align-items: flex-end;
	}
	
	.menu-item:nth-child(1) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    }

}

/* Background */

.parallax-background {
  background: #333333 url('/wp-content/uploads/2020/03/body-content-bg.jpg') repeat !important;
  background-size: 100% auto !important;
  position: fixed;
  width: 100%;
  height: 1000% !important;
  top: 0;
  left: 0;
  z-index: -1;
}

/* BG Fix for Chrome Tablets & Mobiles */

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) and (max-width:767px) {
    .parallax-background{
        background-image: none !important;
		background-color: #333333 !important;
    }
}


.l-section.width_full {
    padding-left: 20px;
    padding-right: 20px;
}


section.l-section.height_medium {
    margin-top: 100px;
    margin-bottom: 200px;
}

/* Formulare / Textfelder */
/*textarea, .w-form-row-field > i, input {
    color: #fff !important;
	background-color:black !important;
}*/

.gform_body .gfield {
    margin-bottom: 0;
    margin-top: 0 !important;
}

.gfield .gfield_select {
    margin-top: 10px;
    margin-bottom: 10px;
}

.gfield .ginput_recaptcha {
    margin-top: 35px !important;
}

.gfield .ginput_container input {
    padding-left: 10px !important;
}

.w-comments-item.bypostauthor .w-comments-item-author span {
	background-color:transparent !important;
}

/** Max Content Breite **/
.wpb_wrapper > .g-cols:not(:first-child) {
	max-width:1600px;
	margin:0 auto;
}

body:not(.home) #page-content section:nth-of-type(n+2) .wpb_wrapper .g-cols, 
.akkordeon .l-section-h, .akkordeon .w-tabs-section-content-h {
    max-width: 1600px;
    margin: 0 auto;
}

/* Navigation */
.w-nav-title {
	text-transform:uppercase;
}

.w-nav.type_mobile.m_layout_panel .w-nav-list.level_1 {
	min-width: initial;
	top: 70px;
	bottom: initial;	
}

.w-nav.type_mobile .w-nav-anchor {
	padding: 0px;
}

.w-nav-control {
    text-transform: uppercase;
}

.w-nav-icon {
    width: 2em;
}

/* Header Title */
.l-section .width_full {
    min-height: 40px;
}

.l-header.pos_fixed ~ .l-main > .l-section:first-of-type > .l-section-h, .l-header.pos_static.bg_transparent ~ .l-main > .l-section:first-of-type > .l-section-h {
	padding-top:9px !important;
}


.home h2, .page-id-183 h1, .page-id-204 h1, .page-id-212 h1, .page-id-238 h1, .page-id-305 h1, .page-id-248 h1, .page-id-352 h1, .page-id-350 h1, .page-id-331 h1, .page-id-377 h1{
	font-weight: 400;
}

/* Mobile & Tablet Global */

@media screen and (max-width:767px)
/*{
h1, h2, h3, h4, h5, h6 {
    font-size: inherit !important;
}*/
	}

/* Home */

.w-post-elm .fa-quote-left::before {
	color: red;
	font-size: 5rem;
	position: absolute;
	z-index: -1;
}

.testimonial-name::after {
	content:",";
	display:inline-block;
}

.us_testimonial .testimonial-name {
    margin-right: 7px;
}

/** Aktuell **/

.aktuell-overlay {
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: black;
	padding-top:20px;
}

.aktuell-container:hover .aktuell-overlay {
  opacity: 0.9;
}

.aktuell-container .aktuell-button {
	z-index:100;
}

.aktuell-container .post_image img {
    max-width: 200%;
    margin-left: -50%;
}

..w-grid-item.post .w-grid-item-h h3 {
    text-transform: none !important;
    text-align: left;
	margin-bottom:0px;
}

h3.bottom-overlay-title {
    display: block;
    background: rgba(0,0,0,0.9);
    width: 100%;
	z-index:1;
	margin-bottom: -100px !important;
	min-height: 100px;
	padding-top: 25px !important;
}

.w-grid-list h3 {
	text-transform: none !important;
}

@media screen and (min-width:768px) and (max-width: 950px) {
.aktuell-grid-desktop .layout_76 .usg_post_title_2 {
	bottom: 25% !important;
	}
}
.aktuell-container:hover h3.bottom-overlay-title {
	display:none;
}

.aktuell-grid-mobile {
	display:none;
}


@media only screen and (max-width:768px) and (-webkit-min-device-pixel-ratio: 1.3) and (-o-min-device-pixel-ratio: 13/10) and (min-resolution: 120dpi), only screen and (max-width:768px) {
	.aktuell-grid-mobile {
		display:initial;
	}
	
	.aktuell-grid-desktop {
		display:none;
	}
}

@media screen and (max-width:600px){
#us_grid_1.layout_76 .w-grid-item, #us_grid_2.layout_274 .w-grid-item {
    width: 100%;
    padding: 0;
    margin-bottom: 3.5rem;
}
	}

/** Kommunikation **/
.w-tabs.accordion .w-tabs-section-header{
	border: 1px solid white;
	border-left: 0px;
	border-right:0px;
}

.w-tabs-section-title, .w-tabs-sections .w-tabs-section.active .w-tabs-section-header {
	color: rgba(255,255,255,1);
}

.akkordeon .l-section-h, .akkordeon .w-tabs-section-content-h {
	max-width:1600px;
}