header{
  position: absolute !important;
  width: 100%;
  z-index: 700;
}

.gallery-logo img{
  width: 100px;
  display:block;
   margin:auto;
}

.service-picker {
    height: 450px;
    /*
    overflow-y: scroll !important;
    */
    overflow: hidden;;
    display: block;
    padding: 5% 0 !important;
    position: relative;
}
.simplebar-scrollbar{
  background-color: rgba(108, 93, 8, 1) !important;
}
.simplebar-scrollbar-visible{
  opacity: 1 !important;
}
h1.ac_text{
  display: inline;
}
span.reference{
    position:fixed;
    left:10px;
    bottom:0px;
    font-size:9px;
}
span.reference a{
    color:#aaa;
    text-decoration:none;
}
span.reference a:hover{
    color:#ddd;

}
#thumbsWrapper{
    position: absolute;
    width:100%;
    overflow-y:hidden;
    background-color:#000;
    bottom:20px;
    left:0px;
    border-top:2px solid #000;
    opacity: 0.7;
}
#thumbsContainer{
    height:79px;
    display:block;
    margin: 0;
}
#thumbsWrapper img{
    float:left;
    margin:2px;
    display:block;
    cursor:pointer;
    opacity:0.4;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
}
#imageWrapper{
    position:fixed;
    text-align:center;


  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

}
#imageWrapper img{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 50%;
  min-height: 50%;
}
.cursorRight{
   cursor:url("icons/next.cur"),url("icons/next.cur"), default;
}
.cursorLeft{
    cursor:url("icons/prev.cur"),url("icons/prev.cur"), default;
}
.cursorPlus{
    cursor:url("icons/plus.cur"),url("icons/plus.cur"), default;
}
.cursorMinus{
    cursor:url("icons/minus.cur"),url("icons/minus.cur"), default;
}
.title{
    color:#f0f0f0;
    z-index:600;
    border:1px solid #444;
    background-color:#555;
    background-repeat:no-repeat;
    background-position:90% 50%;
    cursor:pointer;
    text-align:left;
    text-indent:10px;
    width:100%;
    position:absolute;
    top:0px;
    left:0px;
}
.down{
    background-image:url(icons/down.png);
}
.up{
    background-image:url(icons/up.png);
}

#image-caption{
   background-image: url("../img/topics/gallery-caption.png");
    bottom: 110px;
    height: 100px;
    left: 10px;
    line-height: 100px;
    position: absolute;
    text-align: center;
    width: 500px;
    z-index: 500;
    font-size: 1.2rem;
    font-family: 'Bell';
    font-weight: bold;
    color:#000;
}


#loading{
  display: none;
  z-index: 700;
}

.loading,
.loading::before,
.loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.4);
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
}

.loading {
  margin: -25px 0 0 -25px;
  height: 50px;
  width: 50px;
  -webkit-animation: animation-rotate 1000ms linear infinite;
  -moz-animation: animation-rotate 1000ms linear infinite;
  -o-animation: animation-rotate 1000ms linear infinite;
  animation: animation-rotate 1000ms linear infinite;
}

.loading::before {
  content: "";
  margin: -23px 0 0 -23px;
  height: 44px;
  width: 44px;
  -webkit-animation: animation-rotate 1000ms linear infinite;
  -moz-animation: animation-rotate 1000ms linear infinite;
  -o-animation: animation-rotate 1000ms linear infinite;
  animation: animation-rotate 1000ms linear infinite;
}

.loading::after {
  content: "";
  margin: -29px 0 0 -29px;
  height: 56px;
  width: 56px;
  -webkit-animation: animation-rotate 2000ms linear infinite;
  -moz-animation: animation-rotate 2000ms linear infinite;
  -o-animation: animation-rotate 2000ms linear infinite;
  animation: animation-rotate 2000ms linear infinite;
}

@-webkit-keyframes animation-rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes animation-rotate {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-o-keyframes animation-rotate {
  100% {
    -o-transform: rotate(360deg);
  }
}

@keyframes animation-rotate {
  100% {
    transform: rotate(360deg);
  }
}
