@charset "utf-8";

.slideshow {
    margin: auto;
    position: relative;
    width: 75%;
}

.slide {
    display: none;
}

.cursor {
    cursor: pointer;
}

.button-prev-slide,
.button-next-slide {
    color: white;
    cursor: pointer;
    font-size: 3.5vh;
    font-weight: bold;
    margin-top: -50px;
    padding: 0.25vh 0.5vw 1vh;
    position: absolute;
    top: 45%;
    width: auto;
}

.button-next-slide {
    border-radius: 3px 0 0 3px;
    right: 0;
}

.button-prev-slide {
    border-radius: 0 3px 3px 0;
    left: 0;
}

.button-prev-slide:hover,
.button-next-slide:hover {
    background-color: rgba(219,0,20,0.80);
}

.slide-number {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.row:after {
    clear: both;
    content: "";
    display: table;
}

.column {
    float: left;
    width: 14.28%;
}

.demo {
    opacity: 0.6;
}

.demo:hover {
    opacity: 1;
}

.active {
    opacity: 1;
}

@media screen and (max-width: 950px) {
    .slideshow {
        margin: auto;
        position: relative;
        width: 90%;
    }

    .button-prev-slide,
  .button-next-slide {
        border-radius: 0 3px 3px 0;
        color: #FFFFFF;
        font-size: 4vw;
        font-weight: bold;
        margin-top: -50px;
        padding: 0.25vh 1vw 1vh;
        top: 50%;
    }

    .button-next-slide {
        border-radius: 3px 0 0 3px;
        right: 0;
    }
}

@media screen and (max-width: 600px) {
    .slideshow {
        margin: auto;
        position: relative;
        width: 98%;
    }

    .button-prev-slide,
  .button-next-slide {
        border-radius: 0 3px 3px 0;
        color: #FFFFFF;
        font-size: 3.5vh;
        font-weight: bold;
        margin-top: -50px;
        padding: 0.1vh 1vw 0.6vh;
        top: 55%;
    }

    .button-next-slide {
        border-radius: 3px 0 0 3px;
        right: 0;
    }
}
