/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_BannerSlider
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

#banner-slider-carousel {
    margin-top: 5px;
    margin-bottom: 5px;
}

#banner-slider-carousel .owl-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
}

#banner-slider-carousel .owl-nav {
    opacity: 0;
}

#banner-slider-carousel:hover .owl-nav,
#banner-slider-carousel:hover .owl-dots {
    opacity: 1;
}

#banner-slider-carousel .owl-nav div {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    height: auto;
    width: 5%;
    text-align: center;
    font-size: 3.9em;
    color: #FFF;
    background: transparent;
    opacity: .5;
    text-transform: capitalize;
    justify-content: center;
    margin: 0;
}

#banner-slider-carousel .owl-nav div span {
    position: absolute;
    top: 50%;
    width: 3vmin;
    height: 3vmin;
    background: transparent;
    border-top: 1vmin solid #fff;
    border-right: 1vmin solid #fff;
    box-shadow: 0 0 0 #d3d3d3;
    transition: all 200ms ease;
}

#banner-slider-carousel .owl-nav div span:hover {
    border-color: orange;
    box-shadow: 0.5vmin -0.5vmin 0 #ffffff;
}

#banner-slider-carousel .owl-nav div::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-40%, -60%) rotate(45deg);
    transform: translate(-40%, -60%) rotate(45deg);
    width: 200%;
    height: 200%;
}

#banner-slider-carousel .owl-nav .owl-prev {
    left: 1px;
}

#banner-slider-carousel .owl-nav .owl-next {
    right: 1px;
}

#banner-slider-carousel .owl-item img {
    transform-style: unset;
}

#banner-slider-carousel .item-video {
    height: 340px;
}

#banner-slider-carousel .banner-title {
    position: absolute;
    bottom: 0;
    padding: 1em;
    background: rgba(0, 0, 0, 0.5);
    color: #F0F0F0;
    border-radius: 4px 4px 0 0;
    opacity: .5;
}

.banner-item:hover .banner-title {
    opacity: 1 !important;
}
