
.slides li  {
height: auto !important;
max-width: 100%;
display: block;
height: auto;
}



#menu_slider  {margin: 0; padding: 0; max-height: 1200px; height: 100vh }
#referenzen_slider { height: auto; }
.flexslider {margin: 0; padding: 0; max-height: 1200px; height: auto }


#menu_slider .slides { height: 100vh }
#referenzen_slider .slides { height: auto; }
.flexslider .slides { height: auto; }

#menu_slider .slides li { height: 100vh; }
#referenzen_slilder .slides li { min-height: 800px; }
.flexslider .slides li { min-height: 0; }


.slider {
max-width: 100%;
display: block;
height: 100%;

}



 /*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

.flexslider .slides > li:first-child {display: block; -webkit-backface-visibility: visible;  }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;  }


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none; }
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('../_fonts/flexslider-icon.eot');
	src:url('../_fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('../_fonts/flexslider-icon.woff') format('woff'),
		url('../_fonts/flexslider-icon.ttf') format('truetype'),
		url('../_fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: 100;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0; max-height: 1200px; }
.flexslider .slides > li {display: none;-webkit-backface-visibility: hidden; text-align: center; }
.flexslider .slides img {width: auto; display: inline; margin-bottom: -10px; border-radius: 20px;  }
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block; }
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 60px; position: relative; zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 320px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0; }
.flex-direction-nav a  { display: block; width: 50px; height: 90px; position: absolute; top: 50%; margin-top: -40px; z-index: 100; overflow: hidden; cursor: pointer; border: none; text-decoration: none; background-position: center; background-repeat: no-repeat; background-size: 40px auto; -webkit-transition: 0.2s ease-in-out; -moz-transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out;   }
.flex-direction-nav a:hover { background-size: 50px auto; }

.flex-prev { opacity: 0.9; left: 20px; background-image: url('../../img/slider_pfeil_weiss.svg');  }
.flex-next { opacity: 0.9; right: 20px; background-image: url('../../img/slider_pfeil_weiss.svg'); transform: scaleX(-1);  }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }



 ol.flex-control-thumbs {clear: both;}

/* Control Nav */


.flex-control-nav { width: 100%; position: relative; text-align: center; padding: 0; box-sizing: border-box; z-index: 99; font-size: 0; margin-top: 10px; }
.flex-control-nav li { display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a { margin: 6px 4px;  display: block; background: var(--dunkelblau); cursor: pointer; width: 18px; height: 18px; border-radius: 100%; border: none; }
.flex-control-paging li a:hover { background: var(--orange1);  }
.flex-control-paging li a.flex-active { background: var(--orange2); cursor: default; }



.menu_referenzen .flex-prev { left: -20px; background-size: auto 60px; }
.menu_referenzen .flex-next { right: -20px; background-size: auto 60px; }
.menu_referenzen .flex-direction-nav a:hover { background-size: auto 64px; }





img { max-width:100%; height:auto;}
#slider_projekte img { max-width: auto; height: 400px; }



.flex-viewport {overflow: visible !important}
.flexslider {max-width: 100%; width: 100%; margin: 0 auto; overflow: hidden; }
.flex-viewport {overflow: visible !important}