.lb-album{width: 100%;margin: 0 auto;font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif; margin-left: 1%!important;}

img{max-width:100%;}

.lb-album li{
  float: left;
  margin: 5px;
  position: relative;
  list-style:none;
}
.lb-album li > a,
.lb-album li > a img{
  display: block;
  height: 100%;
}
.lb-album li > a 
{
    background: #fafafa none repeat scroll 0 0;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    height: 120px;
    margin: 5px 0 5px 5px;
    padding: 10px;
    position: relative;
    width: 121px;
    margin-top: 15px;
}

.lb-album li > a span{
  position: absolute;
  width: 102px;
  height: 98px;
  top: 10px;
  left: 10px;
  text-align: center;
  line-height: 100px;
  color: rgba(27,54,81,0.8);
  text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight:bold;
  opacity: 0;
  filter: alpha(opacity=0); /* internet explorer */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
  background: rgb(241,210,194);
  background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%, rgba(241,210,194,1) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.56)), color-stop(100%,rgba(241,210,194,1)));
  background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
  background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
  -webkit-transition: opacity 0.3s linear;
  -moz-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  -ms-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
.lb-album li > a:hover span{
  opacity: 1;
  filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-overlay
{
  width: 0px;
  height: 0px;
  position: fixed;
  overflow: hidden;
  left: 0px;
  top: 0px;
  padding: 0px;
  z-index: 9999;
  text-align: center;
    background-color: rgba(0, 0, 0,0.95);
    background: rgba(0, 0, 0, 0.95);
    color: rgba(0, 0, 0, 0.95);
}


.lb-overlay > div
{
  position: relative;
  color: rgba(27,54,81,0.8);
  /* width: 550px; */
  height: 80px;
  margin: 40px auto 0px auto;
  text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
}

.lb-overlay div h3,
.lb-overlay div p
{
  padding: 0px 20px;
  width: 200px;
  height: 60px;
}

.lb-overlay div h3{
  font-size: 36px;
  float: left;
  text-align: right;
  border-right: 1px solid rgba(27,54,81,0.4);
}
.lb-overlay div h3 span,
.lb-overlay div p{
  font-size: 16px;
  font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
  font-style: italic;
}
.lb-overlay div h3 span{
  display: block;
  line-height: 6px;
}
.lb-overlay div p{
  font-size: 14px;
  text-align: left;
  float: left;
  width: 260px;
}


    .lb-overlay a.lb-close
{
  background: #272363;
  z-index: 1001;
  color: #fff;
  position: absolute;
  top: 43px;
  left: 50%;
  font-size: 13px;
  line-height: 10px;
  text-align: center;
  padding: 0.5%;
  /* width: 50px; */
  /* height: 23px; */
  overflow: hidden;
  margin-left: -25px;
  opacity: 0;
  filter: alpha(opacity=0); /* internet explorer */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
  -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}


.lb-overlay img
{
  /* height: 100%; For Opera max-height does not seem to work */
  max-height: 420px;
  position: relative;
  opacity: 0;
  filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
  -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
  -webkit-transition: opacity 0.5s linear;
  -moz-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  -ms-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
   border: 1px solid #e6e6e6;
}
.lb-prev, .lb-next{
  text-indent: -9000px;
  position: absolute;
  top: -32px;
  width: 24px;
  height: 25px;
  left: 50%;
  opacity: 0.8;
  filter: alpha(opacity=80); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /*IE8*/
}
.lb-prev:hover, .lb-next:hover{
  opacity: 1;
  filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-prev{
  margin-left: -30px;
  background: transparent url(./arrows.png) no-repeat top left;
}
.lb-next{
  margin-left: 6px;
  background: transparent url(./arrows.png) no-repeat top right;
}
.lb-overlay:target {
  width: auto;
  height: auto;
  bottom: 0px;
  right: 0px;
  padding: 80px 100px 120px 100px;
    /*top:80px;*/
}
.lb-overlay:target img,
.lb-overlay:target a.lb-close{
  opacity: 1;
  filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

x:-o-prefocus, .lb-overlay img {
    height: 100%;
}

.img-wrap .close 
{
   position: absolute;
   top: 2px;
   right: 2px;
   z-index: 100;
   background-color: #FFF;
   padding: 5px 2px 2px;
   color: #000;
   font-weight: bold;
   cursor: pointer;
   opacity: .2;
   text-align: center;
   font-size: 22px;
   line-height: 10px;
   border-radius: 50%;
   -webkit-transition: all .5s ease-in-out;
   -moz-transition: all .5s ease-in-out; 
   -o-transition: all .5s ease-in-out; 
   -ms-transition: all .5s ease-in-out;
}

   .img-wrap:hover .close 
{
   opacity: 1;
   -webkit-transition: all .5s ease-in-out;
   -moz-transition: all .5s ease-in-out; 
   -o-transition: all .5s ease-in-out; 
   -ms-transition: all .5s ease-in-out;
   -webkit-transform: rotate(360deg);
   -moz-transform: rotate(360deg);
   -o-transform: rotate(360deg);
   -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}