/* slideshow settings */

@keyframes fading {
    0%{opacity:0}
    10%{opacity:1}
    90%{opacity:1}
    100%{opacity:0}
}

@keyframes sliding {
    0%, 15% {left: 0;}
    25%, 40% {left: 0;}
    50%, 65% {left: 0;}
    75%, 90% {left: 0%;}
    100% {left: -100%;}
}

#slideshow {
    overflow: hidden;
}
#slideshow .sliderimage {
    width: 100% !important;
    margin: 0px !important;
}
#slideshow .fading {
    animation:fading 10s 1;
}
#slideshow .sliding {
    animation: sliding 10s 1;
}
#slideshow button {
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    border: 0px;
    font-size: 1.3rem;
    opacity: 0.7;
    z-index: 100;
}
#slideshow button.left {
    left:0%;
}
#slideshow button.right {
    right:0%;
}

#slideshow .slidertitle {
    position: absolute;
    bottom: 25px;
    left: 50%;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    transform: translate(-50%,-25px);
}
#slideshow .indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    color: #fff;
    transform: translate(-50%, 0px);
}
#slideshow .badge {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 50;
    text-align: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
    margin: 0px 2px;
}
#slideshow .badge:hover, #slideshow .badge.active {
    background-color: #fff;
    color: #fff;
}


/* default display view settings */
@media only screen and (min-width:1000px) {
    #slideshow {
        max-width: 98%;
        min-width: 50%;
        position: relative;
        float: left;
        margin: 0px 10px 10px 0px;
    }

}


/* smartphone and tablet view settings */
@media only screen and (max-width:999px) {

    #slideshow {
        width: 100%;
        min-width: 50%;
        position: relative;
        margin: 0px 0px 10px 0px;
    }
    
    #slideshow .slidertitle {
        width: 80%;
        margin: 0px auto;
    }
}