@font-face {
    font-family: 'fontawesome';
    src: url('/Fonts/Fontawesome/fontawesome.eot?#') format('eot'), url('/Fonts/Fontawesome/fontawesome.woff') format('woff'), url('/Fonts/Fontawesome/fontawesome.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'WooCommerce';
    src: url('/Fonts/WooCommerce/WooCommerce.eot?#') format('eot'), url('/Fonts/WooCommerce/WooCommerce.woff') format('woff'), url('/Fonts/WooCommerce/WooCommerce.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DiodrumArabic_Medium';
    src: url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.eot?#') format('eot'), url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.woff') format('woff'), url('/Fonts/DiodrumArabic_Medium/DiodrumArabic_Medium.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}



/*********** CSS RESET **********/


* {
    margin: 0;
    outline: none;
    padding: 0;
    text-decoration: none;
}

    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

html {
    margin: 0;
    -webkit-text-size-adjust: none;
}

body {
    font-family: DiodrumArabic_Medium !important;
    line-height: 1.8;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none !important;
}

    a img {
        border: none;
    }

    a:active {
        outline: none;
    }

input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    margin: 0;
    border: 0;
    padding: 0;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

.btn {
    border-radius: 50rem;
}

input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 1000px #fff;
}

script {
    display: none !important;
}

.footer {
    background-color: #f5f5f5;
}

.master-wrapper-content {
    min-height: 700px;
    padding: 10px 0;
}

.add-to-wishlist-button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
}

.btn-primary {
    color: #fff;
    background-color: #4974a5;
    border-color: #4974a5;
}

    .btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #A4B9D2;
        border-color: #A4B9D2;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #6D8FB7;
        border-color: #6D8FB7;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #335173;
        border-color: #335173;
        box-shadow: 0 0 0 0.25rem rgb(200 213 228 / 50%);
    }

    .btn-check:active + .btn-primary:focus, .btn-check:checked + .btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.25rem rgb(200 213 228 / 50%);
    }

.separator.green {
    content: "";
    color: #a6cf45;
    border: 3px solid #a6cf45;
    width: 1px;
    height: 100%;
    padding: 0;
    border-radius: 10px;
}

.border-green {
    border: 4px solid #a6cf45;
    border-radius: 25px;
    padding: 5px;
}

.star-rating {
    width: 90px;
}
.input-group-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--bs-gray-400);
    padding: 0 7px;
    border-radius: 7px;
    max-width: 90px;
    min-width: 70px;
}

    .input-group-quantity .quantity {
        text-align: center;
    }

        .input-group-quantity .quantity:focus, .input-group-quantity .quantit:active {
            box-shadow: none;
        }

    .input-group-quantity input {
        pointer-events: none;
    }

.table tr td {
    display: table-cell;
    vertical-align: middle;
}
/* #region CARD */
.card.custom {
    border: none !important;
}

    .card.custom .card-body {
        border: 1px solid #a6cf45;
        border-radius: 10px;
        margin: 5px 0 0 0;
    }

    .card.custom .card-header {
        background-color: #a6cf45;
        border-radius: 5px !important;
    }

    .card.custom .buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .card.custom .inputs {
        display: flex;
        margin: 10px 0;
    }
/* #endregion*/
/* #region HEADER */
.admin-header-links {
    background-color: #333;
    text-align: center;
    color: #eee;
}

    .admin-header-links * {
        display: inline-block;
        margin: 0 10px;
        line-height: 35px;
        font-size: 12px;
        font-weight: bold;
    }

    .admin-header-links .impersonate {
        display: inline-block;
    }

        .admin-header-links .impersonate a {
            background-color: #555;
            padding: 0 15px;
        }

            .admin-header-links .impersonate a:hover {
                background-color: #666;
            }

.logo img {
    max-width: 150px;
}

.logo h1 {
    display: none;
}

.ico-cart {
    color: #a6cf45;
}

    .ico-cart i {
        font-size: 1.8em;
    }

        .ico-cart i:hover {
            color: black;
        }
.cart-qty-wrapper {
    position: absolute;
    top: -5px;
    left: 60%;
    background: #000;
    border-radius: 45%;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 20px;
    height: 20px;
    text-align: center;
    justify-content: center;
    color:white;
}
/* #endregion*/
/* #region TOPMENU */
.top-menu {
    background-color: #a6cf45;
    color: white;
    border-radius: 5px;
}

    .top-menu .nav-link {
        color: white;
    }

    .top-menu .nav-item {
        display: flex;
        align-items: center;
    }

        .top-menu .nav-item a {
            color: black;
            font-weight: bold;
            padding-top: 0;
        }

            .top-menu .nav-item a:hover {
                color: white;
            }

    .top-menu .nav-link.separator {
        content: "";
        color: white;
        border: 3px solid white;
        width: 1px;
        height: 70%;
        padding: 0;
        border-radius: 10px;
    }

    .top-menu .navbar-nav {
        margin: 0 auto;
    }
/* #endregion*/
/* #region SEARBOX */
.search-box-container {
    border: 4px solid #a6cf45;
    border-radius: 25px;
    padding: 5px;
}

    .search-box-container input[type=text] {
        border: none;
        padding: 0 11px;
        height: 30px;
    }

#searchButton {
    border: none;
    background: transparent;
    padding: 0 11px;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
}

.fa-search {
    color: #a6cf45;
}
/* #endregion*/
.form-control:focus{
    box-shadow:none;
}
.befor {
    width: 40px;
    height: 20px;
    border-right: 5px solid white;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top: 5px solid white;
    border-bottom: 5px solid white;
}

.after {
    width: 40px;
    height: 20px;
    border-left: 5px solid white;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top: 5px solid white;
    border-bottom: 5px solid white;
}
/* #region NOTIFICATIONS & POPUPS */
.bar-notification {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 10px 15px 25px;
    line-height: 16px;
    color: #fff;
    opacity: 0.95;
}

    .bar-notification.success {
        background-color: #4bb07a;
    }

    .bar-notification.error {
        background-color: #e4444c;
    }

    .bar-notification .content {
        margin: 0 0 0 10px;
    }

        .bar-notification .content a {
            color: #fff;
            text-decoration: underline;
        }

    .bar-notification .close {
        position: absolute;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        margin: 7px;
        background: #fff url('../images/close.png') center no-repeat;
        cursor: pointer;
    }
/* #endregion */
/* checkout */
.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}
/* SEARCHPAGE */
.search-page .item-box .card{
    min-height:477px;
}
.item-box img {
    width: 100%;
    max-height: 300px;
}

/* #region GROUPNAVIGATION */
.product-categories, .product-categories .cat-item {
    position: relative;
    padding: 3px 0;
    border-bottom: 1px solid #f1f1f1;
    list-style: none;
}

    .product-categories .cat-item:last-child {
        border-bottom: none;
    }

    .product-categories a, .product-categories ul li a {
        margin-right: 25px;
    }

    .product-categories .close {
        font-family: "FontAwesome";
        position: absolute;
        right: 0;
        top: 2px;
        cursor: pointer;
    }

        .product-categories .close:before {
            content: "\f0fe";
        }

        .product-categories .close.expanded:before {
            content: "\f146";
        }
/* #endregion GROUPNAVIGATION */

/* #region OWLCAROUSEL */
.owl-carousel-wrapper {
}

    .owl-carousel-wrapper .title {
        background-color: #a6cf45;
        color: white;
        padding: 10px 0;
        border-radius: 5px;
    }

        .owl-carousel-wrapper .title > * {
            margin: 0 10px;
        }

        .owl-carousel-wrapper .title a {
            color: white;
        }

.owl-nav i {
    color: #a6cf45 !important;
    font-size: 2em !important;
    border: none !important;
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252 !important;
    }
.owl-carousel .owl-stage-outer {
    padding: 0 1px;
}

.owl-carousel {
    display: none;
    width: 100%;
    position: relative;
    direction: ltr !important;
}

    .owl-carousel .owl-item {
        direction: rtl;
    }

        .owl-carousel .owl-item .thumbnail {
            min-height: 470px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .owl-carousel .owl-item .thumbnail .old-price {
                color: red;
                text-decoration: line-through;
            }

            .owl-carousel .owl-item .thumbnail .price {
            }

        .owl-carousel .owl-item .caption a.book_link_title {
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            display: block;
        }

    .owl-carousel .owl-stage {
        position: relative;
        -ms-touch-action: pan-Y;
        -moz-backface-visibility: hidden
    }

        .owl-carousel .owl-stage:after {
            content: ".";
            display: block;
            line-height: 0;
            height: 0
        }

    .owl-carousel .owl-stage-outer {
        position: relative;
        overflow: hidden
    }

    .owl-carousel .owl-item, .owl-carousel .owl-wrapper {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0)
    }

    .owl-carousel .owl-item {
        position: relative;
        min-height: 1px;
        float: left;
        -webkit-backface-visibility: hidden
    }

    .owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
        display: none
    }

    .no-js .owl-carousel, .owl-carousel.owl-loaded {
        display: block
    }

    .owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
        cursor: pointer;
        cursor: hand;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-loading {
        opacity: 0;
        display: block
    }

    .owl-carousel.owl-hidden {
        opacity: 0
    }

    .owl-carousel.owl-drag .owl-item {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-grab {
        cursor: move;
        cursor: grab
    }

    .owl-carousel.owl-rtl {
        direction: rtl
    }

        .owl-carousel.owl-rtl .owl-item {
            float: right
        }

    .owl-carousel .animated {
        animation-duration: 1s;
        animation-fill-mode: both
    }

    .owl-carousel .owl-animated-in {
        z-index: 0
    }

    .owl-carousel .owl-animated-out {
        z-index: 1
    }

    .owl-carousel .fadeOut {
        animation-name: fadeOut
    }

@keyframes fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.owl-height {
    transition: height .5s ease-in-out
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity .4s ease
}

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d
}

.owl-carousel .owl-item img {
    max-height: 300px;
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform .1s ease
}

    .owl-carousel .owl-video-play-icon:hover {
        -ms-transform: scale(1.3,1.3);
        transform: scale(1.3,1.3)
    }

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
    display: none
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%
}

.owl-carousel .owl-next, .owl-carousel .owl-prev {
    position: absolute;
    display: inline-block;
    top: 43%
}

.tm-category-panel .tm-category-panel-menu > li, .tm-search-block .tm-list-toggle {
    position: relative
}

.owl-carousel .owl-next {
    left: 15px
}

.owl-carousel .owl-prev {
    right: 15px
}

    .owl-carousel .owl-next.disabled, .owl-carousel .owl-prev.disabled {
        display: none
    }

.owl-nav i {
    display: inline-block;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 20px;
    color: #d6d6d6;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    border: 1px solid #d6d6d6
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252
    }
/* #endregion OWLCAROUSEL */


/* #region PRODUCT DETAILS */
.book-detail .description ul li .first {
    background-color: #fafafa;
    padding: 5px 10px;
    margin: 10px 10px;
}

.book-detail .description ul li .old-price {
    text-decoration: line-through;
    color: red;
}

.book-detail .description ul li .last {
    background-color: #f0f8ff;
    padding: 5px 10px;
    margin: 10px 10px;
}

.book-detail .description .buttons .btnAddToCart {
    float: right;
}

.book-detail .image-wrapper img {
    width: 100%;
}

.book-detail ul li {
    display: flex;
    width: 100%;
    min-height: 25px;
}

#review_form {
    margin: 30px 0;
    padding: 40px;
    background-color: #f5f5f5;
}

.parent-img-container {
    display: flex;
    margin: 20px 0;
}
/* #endregion */
/* NIVOSLIDER */
.theme-custom .nivo-controlNav {
    bottom: -54px !important;
}

    .theme-custom .nivo-controlNav a {
        box-shadow: 0 0 1px 0 rgba(0,0,0,0.8) !important;
    }
/* SHIPMENTTIME */
.shipment-time {
    width: 100% !important;
}
/* #region ajaxloader */
.ajaxloader {
    margin: 0 auto;
    height: 50px;
    position:fixed;
    left:50%;
    top:50%;
    z-index:99999;
}

    .ajaxloader .x-rtl {
        direction: rtl;
    }

    .ajaxloader .inner {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-left-color: transparent;
        border-right-color: transparent;
        border-radius: 50%;
        width: 27px;
        height: 27px;
        position: relative;
        top: -36px;
        margin: 0 auto;
        -webkit-animation: spin-right 1s linear infinite normal;
        -moz-animation: spin-right 1s linear infinite normal;
        -ms-animation: spin-right 1s linear infinite normal;
        animation: spin-right 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

    .ajaxloader .outer {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-right-color: transparent;
        border-left-color: transparent;
        width: 44px;
        height: 44px;
        margin: 0 auto;
        border-radius: 50%;
        -webkit-animation: spin-pulse 1s linear infinite normal;
        -moz-animation: spin-pulse 1s linear infinite normal;
        -ms-animation: spin-pulse 1s linear infinite normal;
        animation: spin-pulse 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

@-moz-keyframes spin-right {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-right {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin-pulse {
    from {
        -moz-transform: rotate(360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin-pulse {
    from {
        -webkit-transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes spin-pulse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* #endregion */

/* checkout */

.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}

.number {
    font-family: IRANSans_FaNum !important;
}
/* product review */
.woocommerce p.stars a {
    position: relative;
    height: 2em;
    width: 1.5em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none
}

    .woocommerce p.stars a::before {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 2em;
        height: 2em;
        line-height: 1;
        font-family: WooCommerce;
        font-size: 1.7em;
        content: '\e021';
        text-indent: 0
    }

    .woocommerce p.stars a:hover ~ a::before {
        content: '\e021'
    }

.woocommerce p.stars:hover a::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active ~ a::before {
    content: '\e021'
}

.woocommerce p.stars.selected a:not(.active)::before {
    content: '\e020'
}

#review_form_wrapper .comment-form .stars a {
    border: none;
    color: #fed700;
    line-height: 14px
}

    #review_form_wrapper .comment-form .stars a:after {
        color: #afafaf;
        font-family: FontAwesome;
        font-weight: 400
    }

    #review_form_wrapper .comment-form .stars a.star-1:after {
        content: '\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-2:after {
        content: '\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-3:after {
        content: '\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-4:after {
        content: '\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-5:after {
        content: '\f006\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.active:after,
    #review_form_wrapper .comment-form .stars a:hover:after {
        color: #fed700
    }
/* FOOTER */
.footer .title {
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1.2em;
}

.footer ul {
    padding: 0;
}

    .footer ul li {
        padding: 5px 0;
    }
/* follow-us */
.follow-us {
    text-align: center;
}

    .follow-us .title {
        margin: 0 0 10px;
        background: none;
        cursor: auto;
    }

    .follow-us .social ul {
        margin: 0 0 30px;
        /*border-bottom: 1px solid #ddd;*/
        padding: 0 0 30px;
        font-size: 0;
    }

    .follow-us .social li {
        display: inline-block;
        margin: 0 5px;
    }

    .follow-us .social a {
        display: block;
        width: 38px;
        height: 38px;
        background: url('../images/social-sprite.png') no-repeat;
        font-size: 0;
    }

    .follow-us .social .enamad a, .follow-us .social .samandehi a {
        width: auto;
        height: auto;
        background: transparent;
    }

    .follow-us .social .facebook a {
        background-position: 0 0;
    }

    .follow-us .social .twitter a {
        background-position: -38px 0;
    }

    .follow-us .social .rss a {
        background-position: -76px 0;
    }

    .follow-us .social .youtube a {
        background-position: -114px 0;
    }

    .follow-us .social .google-plus a {
        background-position: -152px 0;
    }

    .follow-us .social .instagram a {
        background-position: -228px 0;
    }

    .follow-us .social .telegram a {
        background-position: -190px 0;
    }
