
/* ------------------------------------------------------------------------------*/
.thumb {
    max-height: 171px;
    border: solid 2px rgba(5, 5, 5, 0.8);
    margin: 10px;
}

.lightbox {
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    display:none ; /* MKi */
    opacity: 0;
}

.lightbox img {
    max-width: 95%;
    max-height: 90%;
    margin-top: 2%;
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;

    width: 100%;
    height: 100%;
    opacity: 1 !important;
    display: inline ; /* MKi */
}

.lightbox:target img {
    border: solid 5px rgba(77, 77, 77, 0.8);
    opacity: 1;
    /*webkit-transition: opacity 0.6s;*/
    transition: opacity 0.6s;
}

.light-btn {
    /*background-color: #333;*/
    /*padding: 5px 25px 15px 25px;*/
    /*border-radius: 1px;*/

    background-color: #308645;   /* MKi */
    padding: 5px 30px 15px 30px;   /* MKi */
    border-radius: 100%;           /* MKi */

    color: #fafafa;
    border: solid 3px #777;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 45%;
    z-index: 99;
    font-size: 2rem;
    opacity: 0.5;
}

.light-btn:hover {
    background-color: #111;
}

.btn-prev {
    left: 3%;
}

.btn-prev::after {
    content: "‹";
}

.btn-next {
    right: 3%;
}

.btn-next::after {
    content: "›";
}

.btn-close {
    position: absolute;
    right: 3%;
    top: 3%;
    color: #fafafa;
    background-color: #92001d;
    border: solid 5px #ef4036;
    padding: 10px 15px;
    border-radius: 1px;
    text-decoration: none;
    opacity: 0.5;
}

.btn-close::after {
    content: "×";
}

.btn-close:hover {
    background-color: #740404;
}

