.lightbox-row > .lightbox-column {
    padding: 0 8px;
}

.lightbox-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.lightbox-column {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.lightbox-modal {
    z-index: 999 !important;
    display: none;
    position: fixed;
    padding-top: 25px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .88);
}

/* Modal Content */
.lightbox-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 65%;
    max-width: 1000px;
}

/* The Close Button */
.lightbox-close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.lightbox-close:hover, .lightbox-close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.lightbox-mySlides {
    display: none;
}

/* Next & previous buttons */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

@media (min-width: 320px)  { 
    .lightbox-modal-content {
        position: absolute;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        max-width: 1000px;
    }

    .lightbox-prev, .lightbox-next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* smartphones, Android phones, landscape iPhone */
@media (min-width: 480px)  { 
    .lightbox-prev, .lightbox-next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
@media (min-width: 600px)  {
    .lightbox-modal-content {
        position: absolute;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        max-width: 1000px;
    }

    .lightbox-prev, .lightbox-next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
    }
}

@media (min-width:801px)  {
    .lightbox-modal-content {
        position: absolute;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        width: 100%;
        max-width: 650px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
}

@media only screen and (min-width: 1500px) {
    .lightbox-modal-content {
        position: absolute;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        width: 100%;
        max-width: 1000px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
}

/* Position the "next button" to the right */
.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.lightbox-numbertext {
    color: black;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.lightbox-mySlides-img {
    width: 100%;
}

/* Caption text */
.lightbox-caption-container {
    text-align: center;
    background-color: whitesmoke;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    color: black;
}

img.demo {
    opacity: 0.6;
}

.active, .demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}