/* MS FIXES */

img {
	-ms-interpolation-mode: bicubic;
}

html.avia-edge,  html.avia-msie{
	margin-top:0 !important;
}

.avia-edge .logo a, .avia-msie .logo a{
	display: inline;
}

.avia-edge #wrap_all, .avia-msie #wrap_all{
	/* position: static; */
	position: relative;
	background-color: inherit;
}


.avia-safari #header_main,
.html_header_top #top .av_logo_right .logo {
	-webkit-transform:translate3d(0,0,0);
	transform:translate3d(0,0,0);
}   
.avia-safari .logo {
	display: table;
}

/* SPLASH PAGE */

.avia-msie #projektgalerie{
	padding-top: 148px;
	padding-left: 7.5%;
	padding-right: 7.5%;
}

.avia-msie #projektgalerie .container{
	position: relative !important;
	top: 0;
	vertical-align: top;
	height: auto;
}

.avia-mozilla .animation_container_v{
	position: absolute;
}


/* MENU */

/* SAFARI LOGO GITTERING BUG */

.avia-msie .logo{
	position: fixed !important;
	right: 2.5% !important;
}

/* Blend-modes not supported */
.noblend.nofilters .logo{
	background-image: url(/images/logo_ie-g.png);

	background-size: auto 80px;
	background-repeat: no-repeat;
}

.logo.replacement_logo{
	background-repeat: no-repeat;
	background-position-x: right;
}
.logo.replacement_logo img{
	visibility: hidden;
}

.noblend.nofilters .logo.invert, .logo.replacement_logo.invert{
	background-image: url(/images/logo_ie-w.png);
}

.av-burger-overlay-active-delayed .noblend.nofilters .logo, .noblend.nofilters .logo, .logo.replacement_logo{
	background-image: url(/images/logo_ie-b.png);
}

/* over margin */
.noblend.nofilters #header.over_margin .logo, .avia-edge #header.over_margin .logo.replacement_logo{
	background-image: url(/images/logo_ie-b.png) !important;
} 

.noblend.nofilters .logo img{
	-ms-interpolation-mode: bicubic !important;
}

.noblend.av-burger-overlay-active .av-hamburger-box .menu_line{
	background: #000 !important;
}

.noblend.av-burger-overlay-active .av-hamburger-box:hover .menu_line{
	background: #fff !important;
}

.usefilters #header{
	mix-blend-mode: unset !important;
}

.usefilters #header .logo{
	transition: filter 0.0s, opacity 0.4s;
}

.usefilters #header .logo.invert{
	filter: brightness(1) !important;
	-webkit-filter: brightness(1) !important;
	-moz-filter: brightness(1) !important;
	-o-filter: brightness(1) !important;
	-ms-filter: brightness(1) !important;
}

.usefilters #header .logo, 
.av-burger-overlay-active-delayed .usefilters #header .logo,
.usefilters #header.over_margin .logo{
	filter: brightness(0) !important;
	-webkit-filter: brightness(0) !important;
	-moz-filter: brightness(0) !important;
	-o-filter: brightness(0) !important;
	-ms-filter: brightness(0) !important;
}


.splash_scrolled .usefilters #header .logo{
	filter: brightness(0) !important;
	-webkit-filter: brightness(0) !important;
	-moz-filter: brightness(0) !important;
	-o-filter: brightness(0) !important;
	-ms-filter: brightness(0) !important;
}

.nofilters #header{
	transition: mix-blend-mode 0.4s;
	mix-blend-mode: exclusion;
}
#header .header_bg{
	display: none;
}

.splash.nofilters #header{
	mix-blend-mode: multiply;
}
.splash #header .av-hamburger-box .menu_line{
	background: #000;
}

.av-burger-overlay-active .nofilters #header{
	mix-blend-mode: unset;
}

.av-hamburger-box.invert .menu_line,.av-burger-overlay-active .menu_line{
	background-color: #ffffff;
}
#header.over_margin .av-hamburger-box.invert .menu_line{
	background-color: #000;
}

.av-hamburger-inner{
	display: none;
}
.responsive #top .av-main-nav .menu-item {
	display: none;
}

.responsive #top #wrap_all .main_menu {
	height: 80px;
	display: block;
}

.responsive #top .av-main-nav .menu-item-avia-special {
	display: block;
}


/* IPAD PROJEKTE */
#projektgalerie .flex_column{
	overflow-y: hidden;
	overflow-x: scroll !important;

	-webkit-overflow-scrolling: touch !important;

	-ms-overflow-style: none;
	scrollbar-width: none; /* Firefox */

}
#projektgalerie .flex_column::-webkit-scrollbar{
	display: none;
}


/* PARALLAX */

/* Parallax not supported */

	.avia-msie .av-parallax{
		transform: none !important;
		margin-top: 0 !important;
	}

	.avia-msie .av-parallax,.avia-msie .avia-section.parallax{
		max-height: 800px;
		min-height: 800px;
	}

	.avia-msie .avia-section.parallax.nudge_top .av-parallax-inner{
		top: 0% !important;
	}

	/* RESPONSIVE */

/* PARALLAX HEIGHT CONTROL */

@media only screen and (max-width: 1800px){
	.avia-msie .av-parallax,.avia-msie .avia-section.parallax{
		max-height: 800px;
		min-height: 800px;
	}
	.avia-msie .av-parallax.half,.avia-msie .avia-section.parallax.half{
		max-height: 600px;
		min-height: 600px;
	}
}

@media only screen and (max-width: 782px){
	.avia-msie #projektgalerie{
		padding-left: 0%;
		padding-right: 0%;
	}

	.avia-mozilla #animation_container_v{
		position: absolute !important;		
		display: block !important;
	}
}
@media only screen and (max-width: 767px){

	.avia-msie .logo {
		display: block !important;
	}
	.avia-msie .logo img {
		width: 100% !important;
	}
}