/* Styling for image sliders. */
p.caption {
    margin: 5px;
    font-size: 8pt;
    text-align: center;
}

div.slider {
    display: flex;
    flex-direction: column;
}

div.display {
    display: flex;
    align-items: center;
    justify-content: center;
}

img.slide {
    max-width: 100%;
    height: auto;
}

button.prev, button.next {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    padding-bottom: 3px;
}

button.prev:hover, button.next:hover {
    color: darkgray;
}

div.buttonrow {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

button.dot {
    cursor: pointer;
    height: 8px;
    width: 16px;
    border: 0;
    border-radius: 10%;
    transition: background-color 0.6s ease;
}

button.active, button.dot:hover {
    background-color: darkgray;
}