/********************************************************/
/*                 PS-Image-Gallery                     */
/*      (c) Patrick Saar - www.patrick-saar.de          */
/*                   Version 1.2                        */
/*          last modification: 22.12.2012               */
/*          Licensed under CC BY-NC-SA 3.0              */
/* http://creativecommons.org/licenses/by-nc-sa/3.0/de/ */
/*------------------------------------------------------*/
/*               Cascading Stylesheet                   */
/********************************************************/

#ps-image-gallery-gallery {
    width: 100%; /* Width of PS Image Gallery */
}
#ps-image-gallery-display {
    height: 30em; /* Height of PS Image Gallery */
}
#ps-image-gallery-title, #ps-image-gallery-noscript, #ps-image-gallery-currentphoto, #ps-image-gallery-info, #ps-image-gallery-fullscreen-esc {
	font-family: Verdana, Geneva, sans-serif;
    font-size: 0.75em;
}
#ps-image-gallery-fullscreen-esc {
    font-size: 20px; 
    font-weight: bold;       
}
#ps-image-gallery-info {
    font-size: 12px;    
}
   
/******* Don't change anything after this line  *******/
#ps-image-gallery-gallery img, #ps-image-gallery-loading-circle > img, #ps-image-gallery-fullscreen-bg img {
    border: 0px none;
    margin: 0;
    padding: 0
}
#ps-image-gallery-gallery {
    position: relative;
    background: #fff;                      //////////////////////    #333 grau +fff weiss
    overflow: hidden;
}
#ps-image-gallery-noscript {
    width: 80%;
    height: 60%;
    padding: 20% 10%;
    font-weight: bold;
	color: #fff;
    text-align: center;
    display: block;
}
#ps-image-gallery-images {
    display: none;
}
#ps-image-gallery-display {
    position: relative;
    width: 100%;
    overflow: hidden;  
    top: 0px;
}
#ps-image-gallery-title {
    background: rgba(0,106,179,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#cc009EE0', EndColorStr='#cc006AB3');
    position: absolute; 
    left: 0;
    z-index: 99;
    top: 0px;
    width:100%;
    padding: 0.5em 0;
    text-align: center;
    color: #fff;
}
#ps-image-gallery-display > img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
}

/********************** Thumbnails **************************/
#ps-image-gallery-thumbnails {
    background: rgba(0,106,179,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#cc009EE0', EndColorStr='#cc006AB3');
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    width:100%;
    height: 120px;
    display: none;
}
#ps-image-gallery-thumbnails-left, #ps-image-gallery-thumbnails-right {
    float: left;
    margin: 20px 10px;
    width: 12px;
    height: 80px;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    filter: alpha(opacity=50);
}
#ps-image-gallery-thumbnails-left {
    background: url('images/ps-image-gallery-controls2.png') no-repeat 0 0;
        
} 
#ps-image-gallery-thumbnails-right {
    background: url('images/ps-image-gallery-controls2.png') no-repeat -12px 0;
        
}
#ps-image-gallery-thumbnails-left:hover, #ps-image-gallery-thumbnails-right:hover, #ps-image-gallery-thumbnails-inner > img:hover {
    cursor: pointer;
    -moz-opacity: 1.0;
    -khtml-opacity: 1.0;
    opacity: 1.0;
    filter: alpha(opacity=100);
}
#ps-image-gallery-thumbnails-outer {
    float: left;
    margin: 0;
    height: 120px;
    overflow: hidden;
    position: relative;
}
#ps-image-gallery-thumbnails-inner {
    position: absolute;
    top: 0;
    left: 0;
}
#ps-image-gallery-thumbnails-inner > img {
    height: 100px;
    margin: 10px;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

/********************** Controlbar **************************/
#ps-image-gallery-controlbar {
    padding: 8px 2%;
    /* width: 96%;         */
    background: #0099FF;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#009EE0), to(#006AB3));
    background: -webkit-linear-gradient(top, #009EE0, #006AB3);
    background: -moz-linear-gradient(top, #009EE0, #006AB3);
    background: -ms-linear-gradient(top, #009EE0, #006AB3);
    background: -o-linear-gradient(top, #009EE0, #006AB3);
    background: linear-gradient(top, #009EE0, #006AB3);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ff009EE0', EndColorStr='#ff006AB3');
    text-align: center;
    /* height: 16px;      */
    height: 36px; 
    width: 100%; /* Width of PS Image Gallery */  
    display: none;
    font-size: 1em;
}
#ps-image-gallery-controlbar > div {
    float: left;
    margin: 0 10px;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    filter: alpha(opacity=50);
    height: 16px;
}
#ps-image-gallery-controlbar > div:hover {
    cursor: pointer;
    -moz-opacity: 1.0;
    -khtml-opacity: 1.0;
    opacity: 1.0;
    filter: alpha(opacity=100);
}
#ps-image-gallery-prev, #ps-image-gallery-next {
    width: 26px;
}
#ps-image-gallery-play, #ps-image-gallery-pause {
    width: 13px;
}
#ps-image-gallery-slider {
    background: url('images/ps-image-gallery-controls.png') no-repeat -126px 0;
    width: 180px;
    position: relative  ;
}
#ps-image-gallery-sliderbutton {
    position: absolute;
    top: 3px;
    background: #fff;
    width: 8px;
    height: 18px;
    border: 1px #ccc solid;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    margin: 0;
}
#ps-image-gallery-title-off, #ps-image-gallery-title-on, #ps-image-gallery-fullscreen-on, #ps-image-gallery-fullscreen-off {
    width: 16px;
}
#ps-image-gallery-title-on {
    display: none;
}
#ps-image-gallery-prev {
    background: url('images/ps-image-gallery-controls.png') no-repeat -68px 0;
    
}
#ps-image-gallery-next {
    background: url('images/ps-image-gallery-controls.png') no-repeat -16px 0;
    
}
#ps-image-gallery-play {
    background: url('images/ps-image-gallery-controls.png') no-repeat -55px 0;
    
}
#ps-image-gallery-pause {
    background: url('images/ps-image-gallery-controls.png') no-repeat -42px 0;
    display: none
}
#ps-image-gallery-title-on {
    background: url('images/ps-image-gallery-controls.png') no-repeat -110px 0;
    
}
#ps-image-gallery-title-off {
    background: url('images/ps-image-gallery-controls.png') no-repeat -94px 0;
    
}
#ps-image-gallery-fullscreen-on {
    background: url('images/ps-image-gallery-controls.png') no-repeat 0 0;
    
}
#ps-image-gallery-fullscreen-off {
    background: url('images/ps-image-gallery-controls.png') no-repeat -306px 0;
    display: none
}
#ps-image-gallery-currentphoto {
    text-align: center;
    width: 120px;
    height: 0;
    color: #fff;
}
#ps-image-gallery-showinfo {
    text-align: center;
    width: 10px;
    height: 0;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    color: #fff;    
}
#ps-image-gallery-info {
    padding: 10px;
    background: rgba(0,0,0,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#cc000000', EndColorStr='#cc000000');
    position: absolute;
    right: 0;
    bottom: 125px;
    z-index: 80;
    width: 230px;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    display: none;
}
#programmerlink:link, #programmerlink:active, #programmerlink:visited, #programmerlink:hover {
    color: #fff;
    text-decoration: underline;
    font-style: italic;
}
#programmerlink:hover {
    font-style: normal;
}

/***************** Fullscreen ************************/
#ps-image-gallery-fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    background: #333;
}
#ps-image-gallery-fullscreen-bg > img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
}
#ps-image-gallery-fullscreen-esc {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10000;
    width: 400px;
    margin-top: -20px;
    margin-left: -210px;
    background: rgba(0,0,0,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#cc000000', EndColorStr='#cc000000');
    padding: 10px;
    text-align: center;
    color: #fff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: #000 3px 3px 5px;    
    -moz-box-shadow: #000 3px 3px 5px;
	-o-box-shadow: #000 3px 3px 5px;
    box-shadow: #000 3px 3px 5px;
}

#ps-image-gallery-loading-circle, #ps-image-gallery-loading-circle-fullscreen {
    position: absolute;
    background: #333;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: none;
}
#ps-image-gallery-loading-circle > img, #ps-image-gallery-loading-circle-fullscreen > img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -33px;
    margin-left: -33px;
    height: 66px;
    width: 66px;
}

@media only screen and (max-width:30em) 
{
#ps-image-gallery-title {
    text-align:left; 
    font-size: 0.60em;  
}
#ps-image-gallery-display {
    height: 14em; /* Height of PS Image Gallery */
}

}

@media only screen and (max-height:21em) 
{
#ps-image-gallery-display {
    height: 14em; /* Height of PS Image Gallery */

}