a.gallery-item,
a.gallery-item:hover,
a.gallery-item:visited {
    color: #ffffff;
    text-decoration: none;
}

.thumbnail img {
}

.hamilton-gallery {
    margin: 2rem 0;
}
.hamilton-gallery .gallery-item {
    margin-bottom: 2rem;
    cursor: pointer;
}
.hamilton-gallery .thumbnail {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hamilton-gallery .thumbnail > img {
    max-width: 100%;
    height: 18rem;
    object-fit: cover;
    width: 100%;
    border-color: var(--medium-grey);
    border-style: solid;
    border-width: 1px 1px 0 1px;
}
.hamilton-gallery .thumbnail .caption {
    flex: 1;
    background-color: var(--medium-dark-grey);
    padding: .5rem 1rem;
}
.hamilton-gallery .thumbnail .caption h3 {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5rem;
}

.iziModal-content > img {
    max-width: 100%;
}

.image-popup {
    background-color: var(--medium-grey);
    color: #fff;
}

.iziModal-navigate>button:hover {
    background-color: transparent;
}
.iziModal-navigate>button:focus {
    border:none;
    outline: none;
    box-shadow: none;
    text-shadow: none;
}

.hamilton-gallery-popups.iziModal {
    background-color: var(--medium-dark-grey);
}

.hamilton-gallery-popups .gallery-info {
    display: flex;
    justify-content: space-between;
}
.hamilton-gallery-popups .caption {
    padding: .5rem 1rem;
    flex: 2;
}


.hamilton-gallery-popups .product-stats {
    flex: 1 1 110px;
}
.hamilton-gallery-popups .product-stats ul {
    line-height: 1.375rem;
    margin-top: 2rem;
    list-style: none;
}
.hamilton-gallery-popups .product-stats ul li {
    line-height: 2rem;
}
.hamilton-gallery-popups .product-stats ul li strong {
    display: inline-block;
    width: 7.9rem;
}

.gallery-close-button,
.gallery-close-button:hover,
.gallery-close-button:active {
    background-color: var(--medium-dark-grey);
    width: 2.7rem;
    height: 2.7rem;
    border: none;
    outline: none;
    position: fixed;
    right: -1.2rem;
    top: -1.3rem;
    border-radius: 1.5rem;
    color: #fff;
    font-size: 3rem;
    padding: 0;
    z-index: 2000;
}
.gallery-close-button > svg {
    margin-left: -0.1rem;
    margin-top: -0.1rem;
}

.iziModal-navigate>button.iziModal-navigate-next,
.iziModal-navigate>button.iziModal-navigate-prev {
    opacity: .7;
    background-size: 6rem!important;
    top: calc(50% - 6rem);
    height: 6rem;
}
.iziModal-navigate>button.iziModal-navigate-next {
    padding-right: 16rem;
}
.iziModal-navigate>button.iziModal-navigate-prev {
    padding-left: 16rem;
}
.iziModal-navigate {
    z-index: 999 !important;
}
