.ghmp-gallery {
    margin: 0 0 20px 0px !important;
}
.ghmp-gallery ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ghmp-gallery ul a,
.ghmp-gallery ul img {
    display: block;
}

.small-img {
    height: 40px !important;
}

.ghmp-gallery .image {
    position: relative;
    width: 660px;
    margin: 0 !important;
}
.ghmp-gallery .image li {
    position: absolute;
    display: block;
    z-index: 1;
    opacity: 0;
    top: 0;
}

.ghmp-gallery .image li:first-child {
    position: relative;
    display: block;
    z-index: 1;
    opacity: 0;
}
.ghmp-gallery .image li img {
    /* width: 660px; */
    max-width: 640px;
    max-height: 400px;
}
.ghmp-gallery .thumbs {
    zoom: 1;
    position: relative;
    z-index: 999;
    border-bottom: black 1px dotted;
}
.ghmp-gallery .thumbs:before,
.ghmp-gallery .thumbs:after {
    content: "";
    display: table;
}
.ghmp-gallery .thumbs:after {
    clear: both;
}
.ghmp-gallery .thumbs ul {
    zoom: 1;
    margin: 0 0 0 -5px;
}
.ghmp-gallery .thumbs ul:before,
.ghmp-gallery .thumbs ul:after {
    content: "";
    display: table;
}
.ghmp-gallery .thumbs ul:after {
    clear: both;
}
.ghmp-gallery .thumbs li {
    display: block;
    float: left;
    margin: 5px 0 0 5px;
}
.ghmp-gallery .thumbs .caption {
    margin: 0;
    padding: 15px 0;
    width: 600px;
}
.ghmp-gallery .thumbs .close-thumbs {
    display: block;
    float: right;
    margin: 0px 0 5px 0;
}
.ghmp-gallery .thumbs-toggler {
    position: relative;
    z-index: 999;
    float: left;
    width: 100%;
}
.ghmp-gallery .thumbs-toggler a {
    float: right;
    right: 0;
    top: 0;
    display: block;
    margin: 5px 0 20px 50px;
}

body.light .thumbs-toggler a:hover{
    color: black !important;
}
body.dark .thumbs-toggler a:hover{
    color: white !important;
}
body.light a.close-thumbs:hover{
    color: black !important;
}
body.dark a.close-thumbs:hover{
    color: white !important;
}
