/* The gallery overlay */

#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:rgba(255,255,255,0.9);
	overflow:hidden;
	display:none;
	
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s ease;
}
.no-video #galleryOverlay{
	background: url(../../img/transparent_white_ie8_bg.png) transparent repeat!important;
}

.samoon #galleryOverlay{
	background-color:rgba(0,0,0,0.9);
}

/* This class will trigger the animation */

#galleryOverlay.visible{
	opacity:1;
}

.touchtouch_caption {
    bottom: 20px;
    color: #FFFFFF;
    font-family: "AvantGardeGothicITCW01M 731090";
    left: 50%;
	font-size: 12px;
    margin-left: -250px;
    position: absolute;
    max-width: 500px;
    z-index: 999;
}

.touchtouch_caption a{
    color: #afafaf;
   text-decoration: underline;
}

@media only screen and (max-width: 600px) {
	.longtext{
		display:none;
	}
}

.lightbox_logo {
    height: 50px;
    left: 0;
    position: absolute;
    top: -57px;
    width: 200px;
}

.lightbox_logo.gw, .lightbox_logo.home_gw {
    background: url("../../files/gw_logo_black_2.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.samoon {
    background: url("../../img/samoon_white_logo.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.home_samoon {
    background: url("../../img/samoon_black_logo.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.home_taifun,  .lightbox_logo.taifun{
    background: url("../../img/taifun_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.gwe{
    background: url("../../img/gw_edition_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.gwa{
    background: url("../../img/gwa_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.gdotwdot{
    background: url("../../files/gdotwdot_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.gwny{
    background: url("../../files/gwny_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.gwc{
    background: url("../../img/gwc_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.hallhuber{
		background: url("../../img/hallhuber_logo_black.png") no-repeat scroll 0 bottom transparent;
}

.lightbox_logo.taifunsep{
		background: url("../../img/taifunsep_logo_black.png") no-repeat scroll 0 bottom transparent;
}


@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
	
	.lightbox_logo.gw, .lightbox_logo.home_gw {
	    background: url("../../files/gw_logo_black_2_2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
	.lightbox_logo.samoon {
	    background: url("../../img/samoon_white_logo-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
	.lightbox_logo.home_samoon {
	    background: url("http://gerryweber-ag.de/img/samoon_black_logo@2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
	
	.lightbox_logo.home_taifun,  .lightbox_logo.taifun{
	    background: url("../../img/taifun_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
	
	.lightbox_logo.gwe{
	    background: url("../../img/gw_edition_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
	
	.lightbox_logo.gwa{
	    background: url("../../img/gwa_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}

	.lightbox_logo.gdotwdot{
	    background: url("http://gerryweber-ag.de/files/gdotwdot_logo_black_2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}

	.lightbox_logo.gwny{
			background: url("../../files/gwny_logo_black_2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}

	.lightbox_logo.gwc{
			background: url("../../img/gwc_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}

	.lightbox_logo.hallhuber{
			background: url("../../img/hallhuber_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}

	.lightbox_logo.taifunsep{
			background: url("../../img/taifunsep_logo_black-2x.png") no-repeat scroll 0 bottom transparent;
	    background-size: 50% auto;
	}
    /* Retina-specific stuff here */
}

#gallerySlider{
	height:100%;
	left:0;
	top:0;	
	width:100%;
	white-space: nowrap;
	position:absolute;	
	-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;
}

#gallerySlider .placeholder{
	background: url(../../img/ajax-loader.gif) 50% 50% no-repeat;
	height: 100%;
	max-height:100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	-webkit-perspective: 1000px;
	vertical-align:top;
}

.placeholder .no-vh_wrapper{
	position:relative;
	display:inline-block;
	vertical-align:top;
	width:100%;
	height:100%;
	line-height: 0px;
}

.samoon #gallerySlider .placeholder{
	background: url(../../img/ajax-loader_black.gif) 50% 50% no-repeat;
}

/* The before element moves the
 * image halfway from the top */

.css_vh #gallerySlider .placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

.no-css_vh .no-vh_wrapper:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

/*
#gallerySlider .placeholder img{
	display: inline-block;
	max-height: 80%;
	max-width: 80%;
	vertical-align: middle;
	width:auto;
	height:auto;
}
*/

#gallerySlider .placeholder img {
    display: inline-block; 
    z-index:0;
    height: auto;    
    width: auto;
}

.css_vh #gallerySlider .placeholder img{
	max-height: 100%;    
    max-height: 80vh;
    max-width: 100%;
   
}



.no-css_vh #gallerySlider .placeholder img, .no-css_vh .hotspot_image_wrapper{
	max-width:90%!important;
	max-height:80%!important;
}
.no-css_vh .hotspot_image_wrapper{
	position:absolute;
	z-index: 10;
}
.no-css_vh #gallerySlider .placeholder img{
	z-index: 1;
}

.css_vh.touch #gallerySlider .placeholder img {
	max-height: 100%!important;   
}

.hotspot_image_wrapper{	
    display: inline-block;    
    line-height: 0;
    margin: 0;    
    padding: 0;
    vertical-align: middle;    
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 300ms linear;
   	-moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;     
}

.css_vh .hotspot_image_wrapper{
	position:relative;
	max-height: 80%;
    max-width: 90%;
    width: auto; 
    height: auto;
}

.backside_hotspots{
	position:absolute;
	top:0;
	left:0;
	width:90%;
	min-height:90%;
	height:auto;
	background:#b7bab3;
	font-size: 20px;    
    letter-spacing: 2px;
    line-height: 20px;
    padding: 50px 5% 5%;
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	-moz-backface-visibility:hidden;
	-webkit-backface-visibility:hidden;
	-o-backface-visibility:hidden;
	-ms-backface-visibility:hidden;
	backface-visibility:hidden;
	text-align:left;
	display:none;
	z-index: 1;
}

.backside_hotspots .hotspot {
    display: block !important;
    height: auto;
    left: 0 !important;
    margin: 5px 0!important;
    position: relative !important;
    top: 0 !important;
    transform: none;
    width: auto;
    background: none;
    
}
.backside_hotspots .hotspot .hotspot_inner {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: block !important;
    font-size: 10px;
    left: 0 !important;
    line-height: 20px;
    padding: 0 !important;
    position: relative;
    text-transform: uppercase;
    top: 0 !important;
    white-space:normal;
    width: auto !important;
}

.no-video #content h1{
	line-height:20px!important;
}

.hotspot{
	z-index: 1;
}
.no-touch .hotspot:hover .hotspot_inner{
	display:block;
}
.touch .hotspot.show .hotspot_inner{
	display:block;
}

.hotspot:hover, .touch .hotspot.show{
	z-index: 999;
}

.hotspot_inner {
	font-family: "News Gothic MT W01";
	font-size:13px;
	background:#fff;
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
    color: #000000;
    display: none;
    height: auto;
    
    line-height: 20px;
    padding: 20px;
    position: absolute;
    text-align: left;
    width: auto;
}
#gallerySlider.rightSpring{
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring{
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */

@-moz-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Safari and Chrome Keyframe Animations */

@-webkit-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Arrows */

#prevArrow,#nextArrow{
	border:none;
	text-decoration:none;
	background:url('arrows.png') no-repeat;
	opacity:0.5;
	cursor:pointer;
	position:absolute;
	width:43px;
	height:58px;
	
	top:50%;
	margin-top:-29px;
	
	-moz-transition:opacity 0.2s ease;
	-webkit-transition:opacity 0.2s ease;
	transition:opacity 0.2s ease;
}

#prevArrow:hover, #nextArrow:hover{
	opacity:1;
}


#prevArrow{
	background:url(lightbox_previous.png) 50% 50% no-repeat;
	left:40px;
}

#nextArrow{
	background:url(lightbox_next.png) 50% 50% no-repeat;
	right:40px;
}

.samoon #prevArrow{
	background:url(lightbox_previous_white.png) 50% 50% no-repeat;
	left:40px;
}

.samoon #nextArrow{
	background:url(lightbox_next_white.png) 50% 50% no-repeat;
	right:40px;
}