﻿
/* Carousel slider styles */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .slider .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        transition: all 0.5s;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }

    .slider .btn {
        position: absolute;
        width: 40px;
        height: 40px;
        padding: 10px;
        border: none;
        border-radius: 50%;
        z-index: 10;
        cursor: pointer;
        background-color: #fff;
        font-size: 18px;
    }

        .slider .btn:active {
            transform: scale(1.1);
        }

    .slider .btn-prev {
        top: 45%;
        left: 2%;
    }

    .slider .btn-next {
        top: 45%;
        right: 2%;
    }

    .slider .slide-description {
        text-align: center;
        width: 100%;
        bottom: 0;
        background-color: #000;
        color: #fff;
        padding: 5px 0 5px 0;
        position: absolute;
        left: 0;
        opacity: 0.5;
    }

@media (max-width:500px) {
    .slider .btn {
        display: none;
    }
}