﻿/* carousel */

/*#OPharmCarousel {
        width: calc(100vw - 10px);
    }*/

#OPharmCarousel .carousel-item.img-desc,
#OPharmCarousel .carousel-item.img-desc .carousel-caption {
    height: 500px;
}

#OPharmCarousel .carousel-item[onclick] {
    cursor: pointer;
}

#OPharmCarousel .carousel-item .carousel-caption {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
}

#OPharmCarousel .carousel-indicators li {
    background-color: #d2d2d2;
}

#OPharmCarousel .carousel-item.with-bg .carousel-caption {
    position: absolute;
}

#OPharmCarousel .carousel-item .slideRow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#OPharmCarousel .carousel-item:not(.img-desc) img {
    width: auto;
    height: auto;
    margin: auto;
}

#OPharmCarousel .carousel-item.img-desc img {
    width: 100%;
    height: auto;
    margin: auto;
}

#OPharmCarousel .carousel-item .slide-title h2 {
    font-size: 38px;
    font-weight: 300;
    color: #1D1F20;
}

#OPharmCarousel .carousel-item .slide-title.OPharmslide h2 {
    font-size: 44px;
    font-weight: 400;
}

#OPharmCarousel .carousel-item .slide-content {
    font-size: 20px;
    font-weight: 300;
    color: #dfdfdf;
    text-align: left;
}

    #OPharmCarousel .carousel-item .slide-content.OPharmslide {
        max-width: 100%;
        margin: 0 auto 0 auto;
        font-size: 24px;
        text-align: center;
        color: #dfdfdf;
    }

#OPharmCarousel .carousel-item .slide-price .actual {
    font-size: 32px;
    font-weight: 500;
    color: #1D1F20;
    margin-right: 15px;
    margin-bottom: 0;
}

#OPharmCarousel .carousel-item .slide-price .old-price {
    font-size: 24px;
    font-weight: 300;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 0;
}

#OPharmCarousel .btn {
    font-size: 18px;
    font-weight: 500;
    border-width: 2px;
    padding: 10px 20px;
}

#OPharmCarousel .carousel-indicators {
    margin-bottom: 15px;
}

#OPharmCarousel .carousel-control-prev,
#OPharmCarousel .carousel-control-next {
    top: calc(50% - 25px);
    width: 5%;
    height: 50px;
    color: #364150;
    background: #f2f2f2;
    font-size: 30px;
    opacity: 0;
    z-index: 10;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

    #OPharmCarousel .carousel-control-prev .mdi,
    #OPharmCarousel .carousel-control-next .mdi {
        font-size: 34px;
    }

#OPharmCarousel:hover .carousel-control-prev,
#OPharmCarousel:hover .carousel-control-next {
    opacity: .8;
}

#OPharmCarousel .carousel-control-prev {
    left: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

#OPharmCarousel .carousel-control-next {
    right: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

@media screen and (max-width: 1200px) {
    #OPharmCarousel .carousel-item .slide-content.OPharmslide {
        font-size: 16px;
        font-weight: 400;
        letter-spacing: -0.5px;
    }

    #OPharmCarousel .btn {
        padding: 6px 18px;
    }

    #OPharmCarousel .carousel-item .slide-title.OPharmslide h2 {
        font-size: 36px;
    }

    #OPharmCarousel .carousel-item .slide-title h2,
    #OPharmCarousel .carousel-item .slide-price .actual {
        font-size: 26px;
    }

    #OPharmCarousel .carousel-item .slide-content {
        font-size: 16px;
    }
}

/*@media (max-width: 1024px) {
    #OPharmCarousel {
        width: 100vw;
    }
}*/

@media (max-width: 991px) {
    #OPharmCarousel .carousel-item .slideRow {
        margin: 0;
    }

    #OPharmCarousel .btn {
        padding: 5px 20px;
    }

    #OPharmCarousel .carousel-item.img-desc,
    #OPharmCarousel .carousel-item.img-desc .carousel-caption {
        height: 335px;
    }

    #OPharmCarousel .carousel-item.OPharmslide .slide-content {
        font-size: 24px;
    }

    #OPharmCarousel .carousel-item .slide-content:not(.OPharmslide) {
        display: none;
    }

    #OPharmCarousel .carousel-item .slide-title h2 {
        font-size: 24px;
    }

    #OPharmCarousel .carousel-item .slide-price .actual {
        font-size: 24px;
    }
}