#image-gallery { top: 0; left: 0; text-align: center; background-color: rgba(0, 0, 0, 0.9); z-index: 500000; display: none; }
#image-gallery .image-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

#image-gallery > .prev,
#image-gallery > .next {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 40px;
    height: 40px;
    margin-top: -23px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 60px;
    font-weight: 100;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 2px #000;
    text-align: center;
    background: #222;
    background: rgba(0, 0, 0, 0.5);
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: 3px solid #fff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 23px;
    opacity: 0.5;
    cursor: pointer;
    z-index: 1000;
}
#image-gallery > .next {
    left: auto;
    right: 15px;
}
#image-gallery > .title {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    bottom: 35px;
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color:#eee;
    background: #0B0B0B none;
    text-shadow: none;
    opacity: 0.8;
    top: auto;
    z-index: 1;
}

#image-gallery > .share,
#image-gallery > .close,
#image-gallery > .zoom {
    position: absolute;
    top: 15px;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    text-shadow: 0 0 2px #000;
    opacity: 0.5;
    z-index: 1000;
    cursor: pointer;
}
#image-gallery > .close { right: 25px; }
#image-gallery > .zoom { right: 80px; }
#image-gallery > .share { right: 135px; }

#image-gallery .social-container {
    position: absolute;
    top: 65px;
    right: 45px;
    display: none;
    z-index: 1000;
}

#image-gallery > .prev:hover,
#image-gallery > .next:hover,
#image-gallery > .close:hover,
#image-gallery > .share:hover,
#image-gallery > .zoom:hover,
#image-gallery > .title:hover { color: #fff; opacity: 1; }

#slider-prev { left: -5px; display: block; position: absolute; top: 45%; z-index: 100; width: 30px; font-size: 24px; }
#slider-next { right: -5px; display: block; position: absolute; top: 45%; z-index: 100; width: 30px; font-size: 24px; }
.slide-img-title { width: 100%; position: absolute; bottom: 4px; text-align: center; font-size: 14px; color: #fff; line-height: 24px; }
.slide-img-title div { margin: 0 auto; max-width: 100%; background-color: #444; }
td:hover .slide-img-title { font-size: 14px; }

#gallery { width: 100%; }
