.gallerie-photo{
    clear: both;
    opacity: 0;
}
.gallerie-photo li img{
    height: 300px;
    float: left;
    cursor: pointer;
}
.gallerie-photo li img:hover{
    opacity: .6;
}
#backgal{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.94);
    top: 0;
    display: none;
}
#innergal{
    width: 100%;
    height: 100%;
    margin: 100px auto;
    text-align: center;
}
.opengal{
    margin: 5% auto;
    text-align: center;
    position: fixed;
}
#innergal img, .opengal{
    max-width: 80%;
    max-height: 80%;
}
#closegal{
    width: 32px;
    height: 32px;
    color: #fff;
    position: absolute;
    top: 40px;
    right: 50px;
    cursor: pointer;
    text-indent: -9999px;
    background: url(../img/close.png) no-repeat;
}
#nextgal, #prevgal{
    position: absolute;
    top: 50%;
    color: #fff;
    cursor: pointer;
    text-indent: -9999px;
    height: 48px;
    width: 42px;
    background: url(../img/flechedt.png) no-repeat;
}
#nextgal{
    left: 4%;
    background: url(../img/flechegc.png) no-repeat;
}
#prevgal{
    right: 4%;
}
.load{
    width: 50px;
    height: 50px;
    background: url(../img/load.png) no-repeat;
    position: relative;
    left: 50%;
    margin-left: -25px;
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}