/* DVS Images */

/* .carousel-caption {
} */

.carousel-caption h5 {
    background-color: white;
    color: black;
    padding: 0.2rem;
    border-radius: 1rem;
}

.carousel-item {
    cursor: pointer;
}

.dash-modal-body {
    width: inherit;
}

.dash-modal-img {
    width: inherit;
}

.dvs-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.dvs-image:hover {
    opacity: 0.7;
}

.alarm {
    /*border:.5px solid grey;*/
    height: 100%;
    width: 100%;
}

.alert {
    padding: 0.2rem 1.25rem;
    margin-bottom: 0.2rem;
}

.alert-dismissible .close {
    padding: 0.2rem 1.25rem;
}

/* Style the Image Used to Trigger the Modal */

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */

#dashModal {
    /* Hidden by default */
    display: none;
    /* Stay in place */
    position: fixed;
    /* Sit on top */
    z-index: 1;
    /* Location of the box */
    padding-top: 20px;
    left: 0;
    top: 0;
    /* Full width */
    width: 100%;
    /* Full height */
    height: 100%;
    /* Enable scroll if needed */
    overflow: auto;
    /* Fallback color */
    background-color: rgb(0, 0, 0);
    /* Black w/ opacity */
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (Image) */

#modalImg {
    margin: auto;
    display: block;
    width: 80%;
    /*max-width: 700px;*/
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */

#dashModalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
    font-size: 20px;
    /* Add Animation - Zoom in the Modal */
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* The Close Button */

.img-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.img-close:hover,
.img-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.alarm-style {
    border: 1px solid lightgrey;
    border-radius: 5px;
    max-width: 560px;
    max-height: 300px;
    overflow-y: auto;
}

.alarm-style::-webkit-scrollbar {
    width: 5px;
}

/* Track */

.alarm-style::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */

.alarm-style::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */

.alarm-style::-webkit-scrollbar-thumb:hover {
    background: #555;
}
