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


/* 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;}

.flex-direction-nav a {
background-image:none !important;
background:none !important;
}
/* 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: normal;
  font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;width:100%;max-width:100% !important;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;overflow:hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.schmal .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;padding:0px !important;overflow:hidden;} 
.flexslider .slides img {width: 100%; height:auto;display: block;}
.flex-pauseplay span {text-transform: capitalize;}

.tx_newsslider .slides > li {margin-right:0px !important;padding:0px 5px 0px 5px;} 
/* 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 { margin: 0px; background: #fff; position: relative; zoom: 1; }
.flex-viewport { max-height: 2000px; max-width:100%;-webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { padding-left:0em !important;background-color: #ffffff; text-decoration:none; display: block; width: 23px; height: 24px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; /*overflow: hidden; */ opacity: 0; cursor: pointer; color: transparent; }
.flex-direction-nav .flex-prev { left: 10px; opacity:0.7; }
.flex-direction-nav .flex-next { right: 10px; opacity:0.71;text-align: right; }

.schmal .flex-direction-nav .flex-prev { left: 0px; opacity:0.7; }
.schmal .flex-direction-nav .flex-next { right: 0px; opacity:0.71;text-align: right; }

.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; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; background-color: #ffffff;
  -moz-box-shadow:1px 1px 10px #999999; /* Firefox */
  -webkit-box-shadow:1px 1px 10px #999999; /* Chrome, Safari */
  -khtml-box-shadow:1px 1px 10px #999999; /* Konqueror */
  box-shadow:1px 1px 10px #999999; /* CSS3 */    color: #a1a1a1;
  font-size: 14px;
  padding: 5px 7px 5px 7px;line-height:1; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }


/* Control Nav */
.flex-control-nav {display:none;width: 100%; position: absolute; bottom: 10px; text-align: right;z-index:888;right:10px;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 4px; 
  height: 10px; 
  display: block; 
  background: transparent; 
  border:1px solid #6e6e6e;
  cursor: pointer; 
  text-indent: -9999px; 
  -webkit-border-radius: 20px; 
  -moz-border-radius: 20px; 
  -o-border-radius: 20px; 
  border-radius: 20px; 
  color:transparent;
}
.flex-control-paging li a:hover { background: #6e6e6e}
.flex-control-paging li a.flex-active { background: #6e6e6e cursor: default; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }


.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;}



.caption-wrapper {
  position:relative;  
  width:auto;
  left:0em;
  bottom:0;
  background-color:#6ba7da;
  padding:10px;
  color:#ffffff;
}

.caption-wrapper a, .caption-title {
  color:#ffffff;  
}

.caption-wrapper a {
    background-image: url("../images/icons/icon_link_weiter_weiss.png") !important;
    background-position: 0 0.35em;
    background-repeat: no-repeat;
    padding-left: 0.5em;
}

.caption-title {
  font-family: 'robotomedium';
  font-style: normal;
  font-weight: normal;    
  font-size:15.5px !important;
}

.caption-link {
  font-size:0.9em;  
}


.tx_newsslider {
  background-color:#f5f5f5;  
  background-image:url(../images/verlauf_newsslider.jpg);
  background-repeat:repeat-x;
  background-position:left 1em;
  padding-bottom:10px;
}

.tx_newsslider .flex-viewport {
 margin-left:50px;
 margin-right:50px; 
}

.schmal .tx_newsslider .flex-viewport {
 margin-left:30px !important;
 margin-right:30px  !important; 
}


.schmal .tx_newsslider .flex-viewport {
 margin-left:5px;
 margin-right:5px; 
}


.tx_newsslider li div:first-child {
  height:100px;
  position:relative;
  margin-top:1em;
}

.tx_newsslider li div:nt-child(2) {
  height:100px;
  position:relative; 
}

.tx_newsslider .slides > li {
  }

.tx_newsslider .slides img {
  /*max-width:90px;*/
  /*max-height:90px;*/
  /*max-width:100px;*/
  /*max-height:100px;*/
  position:absolute;
  bottom:0;
  height:100px;
  max-width:150px;
  width:auto;
}

.tx_newsslider .flex-caption h2 {
  font-size:1.1em;
  margin-bottom:0.25em;
  margin-top: 10px !important;
}


.tx_newsslider .flex-direction-nav a {
  margin:0em;  
}


.tx_newsslider .slides img {
  width:auto !important;
}




@media screen and (min-width: 500px) {


  .slides li div.captionwrapper { position: absolute; width: 350px; top:auto; bottom: 10px; }
  .slides li div.caption span { color: #fff; display: block; }
  .slides li div.caption .captiontitle { margin-bottom: 5px; text-align: right; }
  .slides li div.caption .captiontext { line-height: 15px; }
    
.caption-wrapper {
  padding:10px;
  overflow:hidden;
  position: absolute; 
  width: 350px; 
  bottom:10px;
  background: rgba(255,255,255,0.9);
  left:10px;
}


.caption-title {
  color:#6ba7da;
}

.caption-wrapper a, .caption-wrapper {
  color:#000000;  
}

.caption-wrapper a {
    background-image: url("../images/icons/icon_link_weiter.png") !important;
    background-position: 0 0.35em;
    background-repeat: no-repeat;
    padding-left: 0.5em;
}


/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 10px; text-align: right;z-index:888;right:10px;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 4px; 
  height: 10px; 
  display: block; 
  background: transparent; 
  border:1px solid #ffffff;
  cursor: pointer; 
  text-indent: -9999px; 
  -webkit-border-radius: 20px; 
  -moz-border-radius: 20px; 
  -o-border-radius: 20px; 
  border-radius: 20px; 
  color:transparent;
}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #ffffff; background: rgba(255,255,255,0.9); cursor: default; }




.tx_newsslider .slides > li {
 }



}



.schmal .flex-caption {margin-top:1em;}


