
/*	
 *  HKW Touch Optimized Lightbox
 *  2013
 *  Author: Denny Backhaus
 *
 *  based on
 *	jQuery Touch Optimized Sliders "R"Us
 *	
 *	Copyright (c) 2013 Fred Heusschen
 *	www.frebsite.nl
 *
 *	Plugin website:
 *	tosrus.frebsite.nl
 *
 *	Dual licensed under the MIT and GPL licenses.
 *	http://en.wikipedia.org/wiki/MIT_License
 *	http://en.wikipedia.org/wiki/GNU_General_Public_License
 */
.tos-wrapper {
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden; }
  .tos-wrapper.tos-fixed {
    background-color: #0a0a0a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000; }
  .tos-wrapper.tos-inline {
    position: relative; }
  .tos-wrapper * {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none; }

.tos-slider {
  white-space: nowrap;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0; }

.tos-slide {
  -webkit-overflow-scrolling: touch;
  line-height: 1px;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  height: 100%;
 /*sonst wird das bild beschnitten*/
  padding: 60px !important;
  overflow: hidden;
  position: relative; }
  .tos-slide:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px; }
  .tos-slide.tos-loading {
    background: url("../img/tos-preloader-black.png") center center no-repeat transparent; }

.tos-wrapper.tos-fixed .tos-slide.tos-loading {
  background-image: url("../img/tos-preloader-white.png"); }

.tos-slide > * {
  vertical-align: middle;
  display: inline-block;
  max-height: 100%;
  max-width: 100%; }

.tos-wrapper.tos-fill .tos-slide > * {
  max-height: none;
  max-width: none;
  min-height: 100%;
  min-width: 100%; }

.tos-content {
  background-color: #fff;
  color: #333;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  padding: 30px;
  overflow: auto; 
}

.tos-top {
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 16px;
  line-height: 1.34em;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 30px 20px 30px;
  top: 0;
  left: 0; 
}
.tos-top .tos-counter {
	text-align: left;
}

.tos-btm {
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 16px;
  line-height: 1.34em;
  text-align: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 30px 20px 30px;
  bottom: 0;
  left: 0; 
  min-height: 60px;
  z-index: 300;
}
.tos-btm.tos-active {
  max-height: 100% !important;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tos-btm p {
  margin: 0 0 0.67em;
}
.tos-btm a {
  color: #ffffff;
}
.tos-btm a:hover {
  color: #ff3300;
}
.tos-btm ul.nav.nav-meta li {
  color: #fff;
}

.tos-btm .tos-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  -o-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 28px;
  -moz-column-gap: 28px;
  -ms-column-gap: 28px;
  -o-column-gap: 28px;
  column-gap: 28px;
}
.tos-btm.tos-active .tos-columns {
  padding-bottom: 20px;
}

.tos-toggle {
  background-color: rgba(0,0,0,0.8);
  position: absolute;
  height: 44px;
  width: 44px;
  bottom: 10px; 
  left: 50%;
  margin-left: -22px;
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  border-radius: 22px;
  background-image: url(../img/tos-up.png);
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  z-index: 301;
}
.tos-btm.tos-active + .tos-toggle {
  background-image: url(../img/tos-down.png);
  position: fixed;
}

.tos-prev.tos-disabled,
.tos-next.tos-disabled {
  cursor: default; 
}


.tos-btm .tos-title {
	text-align: left;
	text-transform: uppercase;
	height: 20px;
	overflow: hidden;
	margin-right: 20px;
	margin-bottom: 0.67em;
}
.tos-btm.tos-active .tos-title {
	height: auto;
}

.tos-btm .tos-caption {
	width: 100%;
	text-align: left !important;
	display: none;
	padding-bottom: 25px;
}
.tos-btm.tos-active .tos-caption {
	display: inline;
}

.tos-btm .tos-copyright {
	position: absolute;
	right: 30px;
	bottom: 18px;
	width: 40%;
	font-size: 11px;
	line-height: 1.3em;
	text-align: right;
	height: 28px;
	overflow: hidden;
}
.tos-btm.tos-active .tos-copyright {
	height: auto;
	position: relative;
	margin-left: 60%;
	bottom: 0;
	right: 0;
}

.tos-zoom,
.imagezoom,
.tos-zoom:hover,
.imagezoom:hover {
	border-bottom: none;
}
.tos-prev,
.tos-next,
.tos-close,
.tos-play,
.tos-zoom:after {
  background: center center no-repeat #000;
  display: block;
  width: 40px; 
  border: none !important;
}

.tos-top,
.tos-btm,
.tos-prev,
.tos-next,
.tos-close,
.tos-play {
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -ms-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  opacity: 1;
  position: absolute; 
}

.tos-wrapper.tos-desktop:hover .tos-prev,
.tos-wrapper.tos-desktop:hover .tos-next,
.tos-wrapper.tos-desktop:hover .tos-close,
.tos-wrapper.tos-desktop:hover .tos-play {
  
}
.tos-wrapper.tos-desktop:hover .tos-prev:hover,
.tos-wrapper.tos-desktop:hover .tos-next:hover,
.tos-wrapper.tos-desktop:hover .tos-close:hover,
.tos-wrapper.tos-desktop:hover .tos-play:hover {
   
}
.tos-wrapper.tos-desktop .tos-caption {
}
.tos-wrapper.tos-desktop .tos-disabled.tos-prev, .tos-wrapper.tos-desktop .tos-disabled.tos-next {
  opacity: 0.2; 
}
.tos-wrapper.tos-desktop .tos-disabled.tos-prev:hover, .tos-wrapper.tos-desktop .tos-disabled.tos-next:hover {
  opacity: 0.2; 
}


.tos-wrapper.tos-touch .tos-play {
  opacity: 0.9; 
}
.tos-wrapper.tos-touch .tos-prev,
.tos-wrapper.tos-touch .tos-next,
.tos-wrapper.tos-touch .tos-top,
.tos-wrapper.tos-touch .tos-btm,
.tos-wrapper.tos-touch .tos-toggle {
  opacity: 0; 
}
.tos-wrapper.tos-touch.tos-hover .tos-prev,
.tos-wrapper.tos-touch.tos-hover .tos-next,
.tos-wrapper.tos-touch.tos-hover .tos-top,
.tos-wrapper.tos-touch.tos-hover .tos-btm,
.tos-wrapper.tos-touch.tos-hover .tos-toggle {
  opacity: 1; 
}
.tos-wrapper.tos-touch.tos-hover .tos-disabled.tos-prev, 
.tos-wrapper.tos-touch.tos-hover .tos-disabled.tos-next {
  opacity: 0.2; 
}

.tos-zoom:hover:after {
  opacity: 0.7; 
}

.tos-prev,
.tos-next {
  height: 44px;
  width: 44px;
  margin-top: -22px;
  top: 50%; 
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  border-radius: 22px;
}

.tos-prev.tos-disabled,
.tos-next.tos-disabled {
  cursor: default; 
}

.tos-prev {
  background-image: url("../img/tos-prev.png");
  left: 20px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center; }

.tos-next {
  background-image: url("../img/tos-next.png");
  right: 20px;
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -ms-transform-origin: right center;
  -o-transform-origin: right center;
  transform-origin: right center; }

.tos-close {
  background-image: url("../img/tos-close.png");
  height: 44px;
  width: 44px;
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  border-radius: 22px;
  top: 8px;
  right: 20px;
  -webkit-transform-origin: right top;
  -moz-transform-origin: right top;
  -ms-transform-origin: right top;
  -o-transform-origin: right top;
  transform-origin: right top; }

.tos-play {
  background-color: rgba(0, 50, 100, 0.5);
  background-image: url("../img/tos-play.png");
  background-position: 25px center;
  border-radius: 80px;
  border: 5px solid #eee;
  width: 80px;
  height: 80px;
  margin: -45px;
  position: absolute;
  top: 50%;
  left: 50%; }

.tos-zoom {
  position: relative;
  display: inline-block; 
}
.tos-zoom:after {
  content: "";
  background: center center no-repeat;
  background-image: url("../img/icon_magnify.png");
  background-size: 15px 15px;
  height: 32px;
  width: 22px;
  bottom: -22px;
  left: 0; 
  opacity: 1;
  position: absolute; 
}



@media only screen and (max-width: 568px) {

  .tos-btm,
  .tos-top {
	padding-left: 20px;
	padding-right: 20px;
  }

  .tos-btm.tos-active .tos-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
    -o-column-count: 1;
    column-count: 1;
  }

  .tos-btm .tos-copyright {
	right: 20px;
  }
  .tos-btm.tos-active .tos-copyright {
	width: auto;
	margin-left: 0;
	text-align: left;
	padding-bottom: 35px;
  }
  
  .tos-close,
  .tos-next {
    right: 10px;
  }
  .tos-prev {
    left: 10px;
  }

}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  .tos-prev {
    background-image: url("../img/tos-prev_2x.png");
    background-size: 24px 24px; }

  .tos-next {
    background-image: url("../img/tos-next_2x.png");
    background-size: 24px 24px; }

  .tos-close {
    background-image: url("../img/tos-close_2x.png");
    background-size: 24px 24px; }
    
  .tos-toggle {
    background-image: url("../img/tos-up_2x.png?v=2");
    background-size: 24px 24px; }
  .tos-btm.tos-active + .tos-toggle {
    background-image: url("../img/tos-down_2x.png?v=2"); }

  .tos-play {
    background-image: url("../img/tos-play-retina.png");
    background-size: 44px 44px; }

  .tos-slide.tos-loading {
    background-image: url("../img/tos-preloader-black-retina.png");
    background-size: 22px 22px; }

  .tos-wrapper.tos-fixed .tos-slide.tos-loading {
    background-image: url("../img/tos-preloader-white-retina.png");
    background-size: 22px 22px; } 

  .tos-zoom:after {
    background-image: url("../img/icon_magnify_2x.png"); }
    
}
