﻿
.carousel {
    margin: 50px auto;
    padding: 0 70px;
}

    .carousel .item {
        color: #747d89;
        min-height: 325px;
        text-align: center;
        overflow: hidden;
    }

    .carousel .thumb-wrapper {
        padding: 25px 15px;
        background: #fff;
        border-radius: 6px;
        text-align: center;
        position: relative;
        box-shadow: 0 2px 3px rgba(0,0,0,0.2);
        width: 100%;
        height: 270PX;
    }

    .carousel .item .img-box {
        height: 160px;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }

    .carousel-inner {
        margin-left: 14px;
    }

.carousel .item img {
    max-height: 200px;
    max-width: 200px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -1em;
}

.carousel .item h4 {
    font-size: 22px;
    font-weight: bold
}

.carousel .item h4, .carousel .item p, .carousel .item ul {
    margin-bottom: 5px;
}

.carousel .thumb-content .btn {
    color: #1277bd;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    border: 1px solid #1277bd;
    padding: 6px 14px;
    margin-top: 5px;
    line-height: 16px;
    border-radius: 20px;
}

    .carousel .thumb-content .btn:hover, .carousel .thumb-content .btn:focus {
        color: #fff;
        background: #1277bd;
        box-shadow: none;
    }

    .carousel .thumb-content .btn i {
        font-size: 14px;
        font-weight: bold;
        margin-left: 5px;
    }

.carousel .carousel-control {
    height: 44px;
    width: 40px;
    background: transparent;
    margin: auto 0;
    border-radius: 4px;
    opacity: 0.8;
}

    .carousel .carousel-control:hover {
        background: transparent;
        opacity: 1;
    }

    .carousel .carousel-control i {
        font-size: 36px;
        position: absolute;
        top: 50%;
        display: inline-block;
        margin: -19px 0 0 0;
        z-index: 5;
        left: 0;
        right: 0;
        color: #000000;
        text-shadow: none;
        font-weight: bold;
    }

.carousel .item-price {
    font-size: 13px;
    padding: 2px 0;
}

    .carousel .item-price strike {
        opacity: 0.7;
        margin-right: 5px;
    }

.carousel .carousel-control.left i {
    margin-left: -2px;
}

.carousel .carousel-control.right i {
    margin-right: -4px;
}

.carousel .carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li, .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 50%;
    border: none;
}

.carousel .carousel-inner div.active {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    width: 120%
}

.carousel-indicators li {
    background: rgba(0, 0, 0, 0.2);
}

    .carousel-indicators li.active {
        background: rgba(0, 0, 0, 0.6);
    }

.carousel .wish-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    cursor: pointer;
    font-size: 16px;
    color: #abb0b8;
}

    .carousel .wish-icon .fa-heart {
        color: #ff6161;
    }


.carousel-sm, .carousel-md, .carousel-xs {
    display: none;
}

.carousel .carousel-inner div.active {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    margin-right: 1px;
}

.carousel-lg {
    display: flex;
    justify-content: center;
}

.carousel .thumb-wrapper {
    width: 210px;
}


/*media query for md / laptop screen size*/
@media (max-width: 1024px) {
    .carousel-md {
        display: flex;
        justify-content: center;
    }

    .carousel-lg, .carousel-sm, .carousel-xs {
        display: none;
    }

    .carousel .thumb-wrapper {
        width: 200px;
    }

    .carousel {
        padding: 0 30px;
    }
}
/*media query for a small/ tablet screen size*/
@media (max-width: 915px) {
    .carousel-sm {
        display: flex;
        justify-content: center;
    }

    .carousel-lg, .carousel-md, .carousel-xs {
        display: none;
    }

    .carousel {
        padding: 0 30px;
    }

        .carousel .carousel-inner div.active {
            display: flex;
            justify-content: space-between;
            flex-direction: row;
            flex-wrap: nowrap;
            width: 100%;
        }

        .carousel .thumb-wrapper {
            width: 170px;
        }
}
/*media query for xs / phone screen size*/
@media (max-width: 540px) {
    .carousel-xs {
        display: flex;
        justify-content: center;
    }

    .carousel {
        padding: 0 30px;
    }

        .carousel .thumb-wrapper {
            width: 215px;
        }

    .carousel-lg, .carousel-sm, .carousel-md {
        display: none;
    }
}

@media all and (max-width: 543px) {
    .carousel-indicators {
        display: none;
    }
}
