﻿/* Slideshow container */
.dma-slideshow {
    width: 100%;
    position: relative;
    height: auto;
    margin: auto;
}

/* Hide the images by default */
.mySlides, .myTabs {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

/* Next & previous buttons */
.slide-prev, .slide-next {
    cursor: pointer;
    position: relative;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.slide-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .slide-prev:hover, .slide-next:hover {
        background-color: rgba(0,0,0,0.8);
    }

.slideImg {
    position: relative;
    width: 100%;
    padding: 30px;
}

/* Caption text */
.slideText {
    color: #000000;
    font-size: 15px;
    padding: 12px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    height: auto;
    text-align: left;
}

/* 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
}

.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
}

.numberedBox:hover {
    background-color: #000;
}

#slidePane {
    background-color: #ededed;
}

/* padding for the slideshow text*/
.caption-light {
    padding: 20px;
    height: auto;
}

.map-caption {
    padding: 20px;
    height: 100px;
}

/* Fading animation */
.w3-animate-fading {
    animation: fading 20s infinite
}

.mapSelection, .tabSelection {
    border: 1px solid #999;
    display: inline-block;
    margin-bottom: 1px;
    padding: 5px 10px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-color: #bab1ba;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

    .mapSelection:hover, .tabSelection:hover {
        background-color: #00b1fc;
    }

.tabSelection {
    border: 1px solid #999;
    display: inline-block;
    margin-bottom: 1px;
    width: 33%;
    min-width: 300px;
    padding: 5px 10px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-color: #bab1ba;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="tabSelection"] {
        width: 100%;
    }
}

div.demo {
    display: table;
    width: 100%;
    table-layout: fixed; /* For cells of equal size */
}

    div.demo span {
        display: table-cell;
        text-align: center;
    }

.blueBox, .blueBox-hover-blue:hover {
    cursor: pointer;
    color: #fff !important;
    background-color: #007bff !important;
}

/* Set fade-in to first 3 seconds (15% of 20 seconds) and fade-out to final 3 seconds (15% of 20 seconds) of 20 second transition */
@keyframes fading {
    0% {
        opacity: 0
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.carousel-inner-sus {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
    vertical-align: top;
}

    .carousel-inner-sus::after {
        display: block;
        clear: both;
        content: "";
    }

#myCarousel .list-inline {
    white-space: nowrap;
    overflow-x: auto;
}

#myCarousel .carousel-indicators {
    position: static;
    left: auto;
    width: auto;
    margin-left: auto;
}

    #myCarousel .carousel-indicators > li {
        width: auto;
        height: auto;
        text-indent: inherit;
    }

        #myCarousel .carousel-indicators > li.active img {
            opacity: 1;
            border: 5px solid #000;
        }

/* Next & previous buttons */
.slide-prev, .slide-next {
    cursor: pointer;
    width: auto;
    padding: 16px;
    color: #000;
    font-size: 2em;
    font-weight: bold;
    transition: 0.6s ease;
    user-select: none;
}

.slide-caption {
    width: 100%;
    opacity: 0;
    position: absolute;
    bottom: 0;
    height: auto;
    left: 0;
    text-align: left;
    text-align: center;
    padding: 1em 2em 1em 2em;
}

.carousel-inner-sus:hover .img-fluid {
    opacity: 0.7;
}

.carousel-inner-sus:hover .slide-caption {
    opacity: 1;
    background: rgba(38, 12, 12, 0.5);
    z-index: 10;
}

.slide-text {
    color: white;
    text-align: left;
}

#slide-text a:visited {
    color: #ffffff;
}

#slide-caption-title {
    font-family: 'Colossalis';
    font-weight: 100;
    font-size: 30px;
    line-height: 45px;
    margin-bottom: 0;
    text-transform: uppercase;
}

#slide-caption-desc {
    font-family: 'Colossalis';
    font-weight: 100;
    font-size: 18px;
    margin-bottom: 0;
}

#slide-caption-links {
    font-family: 'Colossalis';
    font-weight: 100;
    font-size: 18px;
    margin-bottom: 0;
    text-transform: uppercase;
    text-align: right;
}

    #slide-caption-links a:visited {
        color: #ffffff;
    }

.list-inline-item {
    opacity: 0.6;
}

    .list-inline-item active {
        opacity: 1;
    }

    .list-inline-item:hover {
        opacity: 1;
    }

.slide-thumb {
    width: 90px;
    height: 70px;
}