﻿/* Slideshow container */
.dma-slideshow {
    background-color: #ededed;
    position: relative;
    width: 100%;
    height: 600px;
    margin: auto;
    margin-bottom: 1em;
}

/* Hide the images by default */
.mySlides {
    height: auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.slideTitle {
    display: inline-block;
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
    height: auto;
    max-height: 50px;
    min-height: 50px;
    width: 100%;
}

.imgDiv {
    display: block;
    height: 400px;
    max-height: 100%;
    max-width: 100%;
    text-align: center;
    object-fit: contain;
}

.slideImage {
    width: 100%; /* or any custom size */
    height: 100%;
    object-fit: contain;
}

/* padding for the slideshow text*/
.caption-light {
    position: relative;
    padding: 20px;
    padding-top: 0px;
    height: auto;
    max-height: 150px;
}

/* Next & previous buttons */
.prevImg, .nextImg {
    cursor: pointer;
    position: absolute;
    top: 275px;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.nextImg {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prevImg:hover, .nextImg:hover {
        background-color: rgba(0,0,0,0.8);
    }

.slideNumbers {
    position: absolute;
    right: 1em;
    bottom: 1em;
}

/* The dots/bullets/indicators */
.numberedBox {
    border: none;
    display: inline-block;
    padding: 0px 5px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    white-space: nowrap
}

    .numberedBox:hover {
        background-color: #000;
    }

.w3-red, .w3-hover-red:hover {
    cursor: pointer;
    color: #fff !important;
    background-color: #f44336 !important;
}

.w3-light-grey, .w3-hover-light-grey:hover, .w3-light-gray, .w3-hover-light-gray:hover {
    color: #000 !important;
    background-color: #f1f1f1 !important
}
