body {
    font-family: Verdana, sans-serif;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.imageContainerFit {
    margin-bottom: 30px;
}

.row>.column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.column {
    float: left;
    width: 25%;
}

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);
    cursor: pointer;
}

/*=================== The Modal  ====================================*/
.modalbox {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    padding-top: 15%;
    padding-bottom: 15%;
    padding-right: 20%;
    padding-left: 20%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery {
    z-index: 1030;
    background-color: rgba(0, 0, 0, 0.7);
}

.active,
.gallery:hover {
    opacity: 1;
}

.modalbox-body {
    margin: 0px !important;
    padding: 0px !important;
}

.modalbox-content {
    border: 4px solid #082f55;
    border-radius: 6px;
}

/*=================== The Carousel  ====================================*/
/* Overrides Bootstrap */
.carousel-control-next {
    right: 0px;
}

/* Overrides Bootstrap */
.carousel-control-prev {
    left: 0px;
}

/* Overrides Bootstrap */
.carousel-control-prev,
.carousel-control-next {
    z-index: 1;
    width: 7.5%;
    bottom: 0px;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.0);
    opacity: 1.0;
    color: rgba(108, 117, 125, 0.5);
    border: 0px solid white;
}

/* Overrides Bootstrap */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    transition: 0.6s ease;
    color: rgba(108, 117, 125, 0.8);
    background-color: rgba(0, 0, 0, 0);
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    width: auto;
    height: auto;
    padding: 0px;
    border: 0px solid grey;
    font-weight: bold;
    font-size: 60px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.0);
}

/* Overrides Bootstrap */
.carousel-subcaption {
    position: relative;
    z-index: 0;
    background-color: white;
    margin-bottom: 0px !important;
}

.close {
    position: absolute;
    z-index: 2;
    right: 2%;
    top: 0px;
    text-align: right;
    /* height: 50px; */
    width: 50px;
    font-size: 50px;
    font-weight: bold;
    color: gray !important;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    padding: 0px !important;
    border-radius: 5px;
}

.close:hover,
.close:focus {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    cursor: pointer;
    transition: 0.6s ease;
}

/* number display */
.slideAmount {
    position: absolute;
    z-index: 0;
    right: 2%;
    bottom: 10px;
    width: 30px;
    text-align: right;
    font-size: 20px;
    color: gray !important;
    user-select: none;
    -webkit-user-select: none;
}

.imageSize,
.imageSizeMax {
    z-index: 1;
    width: 85%;
    height: 85%;
    cursor: zoom-in;
    /*add zoom-in cursor */
}

.img-magnifier-glass {
    z-index: 1050;
    position: absolute;
    border: 1px solid #000;
    cursor: zoom-out;
    /*Set the size of the magnifier glass:*/
    width: 400px;
    height: 400px;
}

/* ====================== Screen size adaptation ==================================== */
@media only screen and (max-width: 1533px) {
    .modalbox {
        padding: 15% 14%;
    }

    /* Overrides Bootstrap */
    .carousel-control-prev,
    .carousel-control-next {
        background-color: rgba(255, 255, 255, 0.01) !important;
    }
}

@media only screen and (min-width: 868px) and (max-width: 1592px) {
    @media only screen and (max-width: 1000px) {
        .modalbox {
            padding: 15% 5%;
        }
    }

    @media only screen and (min-width: 1000px) and (max-width: 1250px) {
        .modalbox {
            padding: 15% 10%;
        }
    }


    .imageSize {
        width: 768px !important;
    }

    .imageSizeMax {
        max-width: 768px !important;
    }

    .closebox {
        margin-right: 0% !important;
    }

    /* Overrides Bootstrap */
    .carousel-control-prev,
    .carousel-control-next {
        margin: 0% !important;
    }

}

@media only screen and (max-width: 867.98px) {
    .modalbox {
        padding: 0px !important;
        padding-top: 100px;
    }

    .closebox {
        right: 0px !important;
        margin-right: 0% !important;
    }

    /* Overrides Bootstrap */
    .m-auto {
        margin: 0px !important;
    }

    /* Overrides Bootstrap */
    .carousel-control-prev {
        margin: 0% !important;
        left: 0px !important;
    }

    /* Overrides Bootstrap */
    .carousel-control-next {
        margin: 0% !important;
        right: 0px !important;
    }

    /* Overrides Bootstrap */
    .carousel-item {
        position: center;
        margin-right: 0px !important;
    }

    .imageSize {
        width: 100% !important;
        height: 100% !important;
    }

    .imageSizeMax {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}