﻿.loading {
    position: relative;
    min-height: 100px; /* ensure some space for the spinner */
    overflow: hidden;
    filter: grayscale(100%);
}

    .loading::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 3rem;
        height: 3rem;
        margin-top: -1.5rem; /* half of height */
        margin-left: -1.5rem; /* half of width */
        border: 0.4em solid rgba(0, 0, 0, 0.1);
        border-top-color: #0d6efd; /* Bootstrap primary blue */
        border-radius: 50%;
        animation: spin 0.75s linear infinite;
        display: block;
        z-index: 10;
    }
    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    .loading:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        z-index: 1;
        background: #2d2d2d1f;
    }

.all-in-One-section .section-title {
    margin: 0 0 30px;
    border-bottom: 1px solid #ddd;
    font-size: 30px;
    font-weight: normal;
    color: #444;
    text-align: center;
}

    .all-in-One-section .section-title span {
        border-bottom: 2px solid #ec524b;
    }

.all-in-One-carousel .item-box {
    width: 100%;
    text-align: center;
    overflow: hidden;
    border: 1px solid #eee;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
    border-radius: 10px;
    background-color: #fff;
    margin: 15px 0;
}

.AllInOneImage-section .carousel .item-box {
    margin: 0;
}

.all-in-One-carousel .item-box:hover {
    box-shadow: 0 0 10px #ddd;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    z-index: 1;
}

.all-in-One-carousel .item-box .product-item:hover .buttons,
.AllInOneImage-section .carousel .item-box .product-item:hover .buttons {
    bottom: 180px;
}

.all-in-One-carousel .item-box .picture,
.AllInOneImage-section .carousel .item-box .picture {
    height: 210px;
}

    .all-in-One-carousel .item-box .picture a,
    .AllInOneImage-section .carousel .item-box .picture a {
        height: 100%;
    }

.all-in-One-carousel .owl-nav {
    position: absolute;
    top: -80px;
    right: 0;
    margin: 0;
}

    .all-in-One-carousel .owl-nav button {
        font-size: 35px !important;
    }

        .all-in-One-carousel .owl-nav button:hover {
            background-color: transparent !important;
            color: #ec524b !important;
        }

.AllInOneImage-section .row {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eee;
}

.AllInOneImage-section .title {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    color: #777;
    padding: 3px 10px;
    margin: 15px 0 0;
    font-size: 16px;
    font-weight: bold;
}

.AllInOneImage-section .info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #f5f5f5;
}

    .AllInOneImage-section .info .picture {
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .AllInOneImage-section .info img {
        max-height: 100%;
    }

.AllInOneImage-section .products-list {
    background-color: #f5f5f5;
}

.AllInOneImage-section .item-box .product-rating-box {
    margin: 0;
}

.AllInOneImage-section .owl-nav {
    position: absolute;
    margin: 0;
    right: 102%;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #fff;
}

    .AllInOneImage-section .owl-nav button,
    .AllInOneImage-section .owl-nav button span {
        font-family: 'Vazir';
        font-size: 35px;
        color: #808080;
        height: 20px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

        .AllInOneImage-section .owl-nav button:hover,
        .AllInOneImage-section .owl-nav button:hover span {
            background-color: transparent !important;
            color: #ec524b;
        }

@media (max-width:991px) {
    .AllInOneImage-section .info .picture {
        height: 250px;
    }

    .AllInOneImage-section .info .title {
        top: unset;
        bottom: 0;
        right: 0;
        text-align: center;
        font-size: 18px;
    }

    .AllInOneImage-section .owl-nav {
        position: unset !important;
        background-color: transparent !important;
        margin-top: 10px !important;
    }
}

@media (max-width:767px) {
    .all-in-One-section .section-title {
        font-size: 20px;
    }

    .AllInOneImage-section .info .picture {
        height: 200px;
    }

    .AllInOneImage-section .owl-theme .owl-dots .owl-dot span,
    .all-in-One-section .owl-theme .owl-dots .owl-dot span {
        width: 7px;
        height: 7px;
        margin: 3px;
    }
}
