.caption{
    color: white;
    margin-bottom: 75px;
}
.galleryimage{
    cursor:pointer
}
.gallerypdf{
    cursor:pointer
}
.hiddenimage{
    display: none;
}
.gallery img.galleryimage{
    width: 188px;
    height: 188px;
}
.gallery img.gallerypdf{
    width: 188px;
    height: 188px;
}
body .thumbnails{
    text-align: center;
    padding-top: 20px;
}

.actualimage{
    position: fixed;
    top: 50%;
    left: 50%;
    overflow-y: auto;
    width: 960px;
    height: 100%;
    transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);

    overflow-y: auto;
    z-index: 100;

}
.actualimage img{
    display: block;
    margin: 0 auto;
    width: inherit;
    max-width: 100%;
}
.actualimagebackground{
    background-color: rgb(30,30,30);
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    z-index: 99;
}
.hideoverflow{
    overflow:hidden;
}

@media screen and (max-width:550px){
    .gallery img.galleryimage{
    width: 144px;
    height: 144px;
}
    .gallery img.gallerypdf{
    width: 144px;
    height: 144px;
}

}

@media screen and (max-width:1000px){
    .actualimage{
        max-width: 100%;
    }
    .caption{
        padding-left: 20px;
        padding-right: 20px;
    }

}





