/* ********************************************************************************	*/
/*             Beispiel Responsive Slideshow mit flexslider.js                   	*/
/* ********************************************************************************	*/
/*
		 * jQuery FlexSlider v2.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)
		 * 
		 * ----------------------------------------------------------------------------- *
		 * Original jQuery FlexSlider v2.0 mit Anpassungen 							     *
		 * ----------------------------------------------------------------------------- *
*/
/* ********************************************************************************	*/

/* 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;
}
/* FlexSlider Necessary Styles */
.flexslider {
    margin: 0;
    padding: 0;
}
.flexslider  li{
    list-style: none;    
}
.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    display: block;
	overflow: hidden;
}

.flex-pauseplay span {
    text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
html[xmlns] .slides {
    display: block;
}
* html .slides {
    height: 1%;
}

/* FlexSlider Default Theme */
.flexslider {
    margin: 0 0 0 0;
	background: transparent;
    position: relative;
    zoom: 1;
}
.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease-in;
	-o-transition: all 1s ease-in;
    -moz-transition: all 1s ease-in;
    transition: all 1s ease-in;
}
.loading .flex-viewport {
    max-height: 300px;
}
.flexslider .slides {
    zoom: 1;
    /* .slides existiert bei uns bereits und hat einen Schatten, der hier ausgeschaltet wird. */
    box-shadow: none;
}


/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}
/* Styles und GFX für eine größere Darstellung der Bedienelemente */
.flex-direction-nav a {
    width: 38px;
	background: url(../images/cssSpritesb2fair.png) no-repeat scroll -0px -100px transparent;
	height: 45px;
	width: 45px;
    position: absolute;
    top: 30%;
    bottom: 0;
    left: 0;
    z-index: 10;
    text-indent: -9999px;
    /* Schon in der Basisversion sichtbar */
    opacity: 0.5;
    overflow: hidden;
    margin: 0 0 0 -6px;
}
.flex-direction-nav a.flex-next {
    background-position: -50px -100px;
    left: auto;
    right: 0;
    margin: 0 -6px 0 0;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 0.8;
}
.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}
/* Control Nav */
.flex-control-nav {
    display: none;
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}
.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #999999;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
}
.flex-control-paging li a:hover {
    background: #B40035;
    background: rgba(180, 0, 53, 1.0);
}
.flex-control-paging li a.flex-active {
    background: #333333;
    background: rgba(51, 51, 51, 0.9);
    cursor: default;
}

/* ---------------------------------------------------------------- */
/* Anpassungen b2fairWEB                                            */
/* ---------------------------------------------------------------- */
.flexslider, .flexslider-controls {
  max-width: 100%;
}
    .flexslider img {
        width: 78em;
        max-width: 78em;
    }
    .flexslider .slides img {
        width: 100%;
    }
.flexslider div.sliderText{
    position: absolute;
    top: 0;
    height: 100%;
	margin: 0px 0px 0px 50px;
	padding: 10% 0 0 20px;
	width: 40%;
    background-color:rgba(0,49,74,0.6);
    color: #FFFFFF;
	font-weight: 600;
	font-size: 0.75em;
    text-transform: uppercase;
    line-height: 1.2;
}
@media screen and (min-width: 800px) {
    .flexslider div.sliderText {
        font-size: 1.2em;
        line-height: 1.5;
    }
    .flex-direction-nav {
        display: block;
    }

    .flex-control-nav {
        display: none;
    }
}
@media screen and (min-width: 1024px) {
    .flexslider div.sliderText {
        font-size: 1.5em;
    }
}


/* 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, .js-off .slides > li:first-child {
    display: block;

}
