﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/



/* Slideshow container */
.slideshow-container {
    height: 50vh;
    position: relative;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 2em;
}

/* Hide the images by default */
.mySlides {
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    /* transition: 1s;
  left: -800px;
  position: absolute;
  z-index: -3;
  -webkit-animation: slide 2s forwards;
  animation: slide 2s forwards; */
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.gridSlider2Hrs {
    position: absolute;
    bottom: 8%;
    display: -ms-grid;
    display: grid;
    width: 25%;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    -ms-grid-columns: 1fr 1.2em 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 1.2em;
    -moz-column-gap: 1.2em;
    column-gap: 1.2em;
}

.gridSliderHrs {
    position: absolute;
    bottom: 10%;
    display: -ms-grid;
    display: grid;
    width: 50%;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    -ms-grid-columns: 1fr 1em 1fr 1em 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
}


.hrSlider {
    border: none;
    height: 2px;
    border-color: lightgray;
    color: lightgray;
    background-color: lightgray;
}


    .active, .hrSlider:hover {
        border-color: white;
        color: white;
        background-color: white;
    }

/* Fading animation */
/* TODO CSSKRAM Fade durch Slide-Animation ersetzen */
/* https://stackoverflow.com/questions/16989585/css-3-slide-in-from-left-transition */
.fade {
    -webkit-animation-name: fade;
    animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}

@-webkit-keyframes slide {
    100% {
        left: 0;
    }
}

@keyframes slide {
    100% {
        left: 0;
    }
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
/*#region MediaQueries */

@media(max-width: 768px) {
}

@media(min-width: 1024px) {
    .gridImages {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }

    .gridSliderHrs {
        width: 20%;
        -webkit-column-gap: 2em;
        -moz-column-gap: 2em;
        column-gap: 2em;
    }

    .slideshow-container {
        gap: 4em;
    }
}

@media(min-width: 1280px) {
}
/*#endregion MediaQueries */
