/*
 * 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)
 */



 
/* 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 .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img { width: 100%; display: block; }
.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%;}

/* 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 { width: 100%; position: relative; max-width: 1280px; margin: 0 auto 20px auto; }
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}

.carousel li {margin-right: 5px}

.flex-direction-nav .flex-next:before { font-family: FontAwesome; content:"\f0a9"; }
.flex-direction-nav .flex-prev:before { font-family: FontAwesome; content:"\f0a8"; }

#slider .flex-direction-nav .flex-next:before { font-family: FontAwesome; content:"\f105"; }
#slider .flex-direction-nav .flex-prev:before { font-family: FontAwesome; content:"\f104"; }


/* Direction Nav */
.flex-direction-nav { height: 0; }
.flex-direction-nav .flex-next { right: 2%; font-size: 3em; line-height: 0; }
.flex-direction-nav .flex-prev { left: 2%; font-size: 3em; line-height: 0; }
.flex-direction-nav a { display: block; position: absolute; top: 48%; z-index: 5; color: #fff; opacity: 0.5; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover, .flexslider:hover .flex-next:focus, .flexslider:hover .flex-prev:focus { text-decoration: none; opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0.75!important; cursor: default; }

/* Media wrapper to position Control-nav on image-height and not total-height when there is a long capture */
.media { position: relative; padding-top: 66.5%; /* Prozentwert optimiert auf 4:3 Format bzgl. Höhe */ width: 100%; }
.flexslider .slides .media img { position: absolute; top: 0; left: 0; right: 0; margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; }
.wrapper_slider_legende { padding: 0 0 0 0; text-align: left; }

/* Pfeilpositionierung bei Thumbnail-Carrousel */
#carousel .flex-direction-nav .flex-next { right: 2%; font-size: 1.5em; }
#carousel .flex-direction-nav .flex-prev { left: 2%; font-size: 1.5em; }
#carousel .flex-direction-nav a { top: 25%; color: #fff; opacity: 0.75; }
#carousel .flex-direction-nav a:hover { color: #cc071e; opacity: 1; cursor: pointer; }
#carousel img:hover { cursor: pointer; }
#carousel { max-width: 400px; height: 63px; margin: 0 auto; overflow: hidden; background-color: #FFF; }
#carousel .slides img { min-height: 70px; }

/* Control Nav */
.flex-control-nav { width: 100%; position: absolute; left: 0; bottom: -30px; text-align: right; }
.flex-control-nav li { margin: 0 5px -5px 5px; display: inline-block; overflow: hidden; }
.flex-control-paging li a { width: 11px; height: 11px; display: inline-block; background: #666; background: rgba(0,0,0,0.2); cursor: pointer; text-indent: 9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.1); }
.flex-control-paging li a:hover { background: #333; background: rgba(204,0,0,0.5); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(204,0,0,0.5); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}



/* =======================================
	Responsive
======================================= */
@media screen and (min-width: 769px) {
.flex-direction-nav .flex-next { font-size: 5em; }
.flex-direction-nav .flex-prev { font-size: 5em; }

#carousel { border: 1px solid #999; }
}
