﻿body {
    direction: rtl;
    text-align: right;
}

.text-right {
    text-align: left !important;
}

.text-left {
    text-align: right !important;
}

.custom-control {
    padding-left: 0;
    padding-right: 1.2rem;
}

.custom-control-input {
    right: 0;
    left: unset;
}

.custom-control-label::before,
.custom-control-label::after {
    right: -1.2rem;
    left: unset;
}

.search-box-button,
.header-links,
.cart-detail-header {
    right: unset;
    left: 0;
}

    .header-links:before,
    .cart-detail-header:before {
        right: unset;
        left: 20px;
    }

.ui-autocomplete a img {
    margin-right: 0;
    margin-left: 10px;
}

.sub-megaMenu > ul a.hasChild:after {
    float: left;
}

.offer-carousel .owl-nav .owl-prev,
.products-home-section .owl-nav .owl-prev {
    left: unset;
    right: 0;
}

    .offer-carousel .owl-nav .owl-prev span,
    .products-home-section .owl-nav .owl-prev span {
        border-radius: 5px 0 0 5px;
    }

.offer-carousel .owl-nav .owl-next,
.products-home-section .owl-nav .owl-next {
    right: unset;
    left: 0;
}

    .offer-carousel .owl-nav .owl-next span,
    .products-home-section .owl-nav .owl-next span {
        border-radius: 0 5px 5px 0;
    }

.banner-section .inner p:not(:last-of-type) {
    margin-right: 0;
    margin-left: 20px;
}

.blogBox .date {
    text-align: left;
}

.newsletter-subscribe > div .send {
    right: unset;
    left: 10px;
}

.newsletter-validation > span {
    right: unset;
    left: 50px;
}

.mr-2 {
    margin-right: 0 !important;
    margin-left: .5rem !important;
}

.ml-2 {
    margin-left: 0 !important;
    margin-right: .5rem !important;
}

.mr-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

.ml-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: 0 !important;
    margin-left: 1.5rem !important;
}

.ml-4 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

.mr-5 {
    margin-right: 0 !important;
    margin-left: 3rem !important;
}

.ml-5 {
    margin-left: 0 !important;
    margin-right: 3rem !important;
}

.two-columns-page .side-2 .block .title:after {
    float: left;
}

.two-columns-page .side-2 .block .listbox ul {
    padding-left: 0;
    padding-right: 20px;
}

.two-columns-page .side-2 .block .listbox li a:before {
    content: "\f053";
    margin-right: 0;
    margin-left: 7px;
}

.two-columns-page .side-2 .block .view-all {
    text-align: left;
}

.product-viewmode a {
    margin: 0 5px 0 0;
}

.compare-fav-buttons .btn {
    text-align: right;
}

.compare-fav-buttons {
    left: unset;
    right: -80px;
}

.product-item:hover .compare-fav-buttons {
    left: unset;
    right: 5px;
}

.product-list .product-item .product-title {
    text-align: right;
}

.product-list .product-item .details .inner {
    padding-right: 0;
    padding-left: 20px;
    border-right: none;
    border-left: 1px solid #eee;
    margin-right: 0;
    margin-left: 20px;
}

.product-list .prices {
    padding: 0 0 0 40px;
}

.prices .last-price {
    direction: rtl;
}

.ribbon {
    right: unset;
    left: 0;
}

.product-list .ribbon {
    right: unset;
    left: 20px;
}

.overview-buttons {
    left: unset;
    right: 20px;
}

    .overview-buttons .btn span {
        margin-left: unset;
        margin-right: -20px;
    }

    .overview-buttons .btn i:hover + span {
        margin-left: unset;
        margin-right: 10px;
    }

    .overview-buttons .btn span:before {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        left: unset;
        right: -6px;
        border-right: unset;
        border-left: 6px solid #888;
    }

.product-info .left .delivery .label,
.product-info .left .availability .label,
.product-info .left .additional-details .label {
    margin-right: 0;
    margin-left: 5px;
}

.product-info .left .delivery i,
.product-info .left .availability i,
.product-info .left .additional-details i {
    margin-right: 0;
    margin-left: 10px;
}

.btn.add-to-cart {
    margin-left: unset;
    margin-right: 10px;
}

    .btn.add-to-cart:before {
        left: unset;
        right: -10px;
    }

    .btn.add-to-cart i {
        float: right;
    }

.rating-options .checkmark {
    right: unset;
    left: 0;
    margin: 0 -15px 0 30px;
}

    .rating-options .checkmark:last-child {
        margin-right: unset;
        margin-left: 0;
    }

.form-group .required {
    left: unset;
    right: -6px;
}

.close-preview {
    right: unset;
    left: 20px;
}

.badge.offer,
.product-info .left .delivery .value, .product-info .left .availability .value, .product-info .left .additional-details .value {
    font-family: IRANSansXFaNum !important;
}

.price-sec .badge.offer {
    right: 0;
    left: unset;
}

.ui-dialog .ui-dialog-title {
    float: none !important;
}

    .ui-dialog .ui-dialog-title:before {
        margin-right: unset;
        margin-left: 15px;
    }

.ui-dialog .ui-dialog-titlebar-close {
    right: unset !important;
    left: 15px !important;
}

.rememberMe .checkmark {
    left: unset;
    right: 0;
}

.rememberMe label {
    margin: 0 10px 0 0;
}

.order-tabs .nav-item a span {
    margin-left: unset;
    margin-right: 10px;
}

.order-item .info span:before {
    left: unset;
    right: 0;
}

.order-item .info span:first-child {
    padding-left: 15px;
    padding-right: 0;
}

.fa-angle-right:before {
    content: "\f104";
}

.fa-chevron-right:before {
    content: "\f053";
}

.fa-hand-point-right:before {
    content: "\f0a5";
}

.account-page .page-body .detail-return-btns .btn i {
    margin-left: unset;
    margin-right: 5px;
}

.order-progress ul li:first-child a:before {
    border-radius: 0 7px 7px 0;
}

.order-progress ul li:last-child a:before {
    border-radius: 7px 0 0 7px;
}

.estimate-shipping-row-item.address-item + .estimate-shipping-row-item.address-item {
    padding-left: unset;
    padding-right: 15px;
}

.estimate-shipping-row-item + .estimate-shipping-row-item {
    padding-left: unset;
    padding-right: 10px;
}

.ship-to-title,
.choose-shipping-title, .estimate-shipping-row {
    text-align: right;
}

.shipping-address .required {
    left: unset;
    right: 1px;
}

.mfp-close-btn-in .mfp-close {
    left: 0;
    right: unset;
}

.method-list li .icon i {
    margin-right: unset;
    margin-left: 20px;
}

.selectMark:before {
    left: unset;
    right: 0;
    border-radius: 15px 0 0 15px;
}

.selectMark:after {
    right: unset;
    left: 100%;
    -webkit-transform: translateY(-50%) translateX(-60%) scale(0);
    transform: translateY(-50%) translateX(-60%) scale(0);
}

.method-list li input:checked ~ .selectMark:after {
    -webkit-transform: translateY(-50%) translateX(-60%) scale(1);
    transform: translateY(-50%) translateX(-60%) scale(1);
}

.cart-page .page-title .title span {
    left: unset;
    right: 0;
    padding-right: unset;
    padding-left: 10px;
}

.section.payment-info .info {
    text-align: right;
}

.order-review-data .side-list-wrap {
    text-align: right;
}

.quick-section {
    text-align: right;
}

    .quick-section .address-list .items {
        text-align: right;
        margin: 2% 2% 0 0;
    }

    .quick-section .method-list > div.checked:before {
        left: unset;
        right: 0;
        border-radius: 15px 0 0 15px;
    }

    .quick-section .method-list > div.checked:after {
        right: unset;
        left: 100%;
        transform: translateY(-50%) translateX(-60%) scale(1);
    }

    .quick-section.gift-discount > div {
        text-align: right
    }

        .quick-section.gift-discount > div:nth-child(2) {
            margin-left: unset;
            margin-right: 20px;
        }

.quick-total .btn.add-to-cart:before {
    content: "\f053";
}

.comparelist-page .clear-list {
    right: unset;
    left: 30px;
}

.product-specs-box .list li .list-value {
    margin-left: unset;
    margin-right: 8px;
}

.border-right {
    border-right: unset !important;
    border-left: 1px solid #dee2e6 !important;
}

.first-level li > a.hasChild:after {
    content: "\f053";
    right: unset;
    left: 0;
}

.header-menu .nav {
    padding-right: 0;
}

.first-level > li > a.hasChild:after {
    content: "\f053";
    left: 0;
    right: unset;
}

.first-level > li > ul > li > a:before {
    content: "\f053";
    margin-right: 0;
    margin-left: 5px;
}

.header-menu .sub-menu {
    padding: 0 25px 10px 0;
}

.owl-carousel.owl-rtl .product-Box {
    direction: rtl;
}

@media (min-width: 576px) {
    .text-sm-right {
        text-align: left !important;
    }

    .text-sm-left {
        text-align: right !important;
    }

    .mr-sm-2 {
        margin-right: 0 !important;
        margin-left: .5rem !important;
    }

    .ml-sm-2 {
        margin-left: 0 !important;
        margin-right: .5rem !important;
    }

    .mr-sm-4 {
        margin-right: 0 !important;
        margin-left: 1.5rem !important;
    }

    .ml-sm-4 {
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .text-md-right {
        text-align: left !important;
    }

    .text-md-left {
        text-align: right !important;
    }

    .offset-md-1 {
        margin-right: unset;
        margin-left: 8.333333%;
    }

    .pl-md-3 {
        padding-left: unset !important;
        padding-right: 1rem !important;
    }

    .quick-section .address-list .items:nth-child(3n+1) {
        margin-right: 0;
    }
}

@media (min-width:992px) {
    .sub-megaMenu > ul a.hasChild:after {
        content: "\f053";
    }

    .cat-drop-down {
        left: unset;
        right: 301px;
        transform: translateX(-20px);
        box-shadow: -3px 5px 10px #ddd;
    }

        .cat-drop-down .cat-title span:before,
        /*.sublist.first-level > li > ul > li > a:before,*/
        .sub-megaMenu > div > ul > li > a:before {
            content: "\f053";
            margin-left: 10px;
            margin-right: 0;
        }

    .top-menu > li > a.hasChild:before {
        right: unset;
        left: 0;
    }
}

@media (max-width:991.98px) {
    .bottom-header {
        left: unset;
        right: -350px;
    }

        .bottom-header.open {
            left: unset;
            right: 0;
        }

    .menu a.nolink:after,
    .megaMenu-link:after {
        float: left;
    }

    .menu a.nolink:after,
    .megaMenu-link:after {
        content: "\f104";
    }

    .menu a.nolink.open:after, .megaMenu-link.open:after {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    .bottom-header .close {
        text-align: left;
    }

    .two-columns-page .side-2,
    .filter-block-xs {
        right: unset;
        left: -100%;
    }

        .two-columns-page .side-2.open,
        .filter-block-xs.open {
            right: unset;
            left: 0;
        }

    .more-links .more {
        right: unset;
        left: 10px;
    }

    .compare-fav-buttons {
        left: unset;
        right: 5px;
    }
}

@media (max-width:767.98px) {
    .top-header > div.col-3 {
        padding-right: 15px;
        padding-left: 0;
    }

    .product-list .prices {
        padding: 0;
        margin-bottom: 5px;
    }

    .product-info-tab .tabList .nav-item:after {
        right: unset;
        left: 15px;
        content: "\f104";
    }

    .quick-section .address-list .items:nth-child(2n+1) {
        margin-right: 0;
    }
}

@media (max-width:575.98px) {
    .product-list .product-item .ribbon {
        right: 20px;
        left: unset;
    }

    .product-list .product-item .details .inner {
        border: none;
        margin: 0 0 10px;
        padding-right: 0;
        padding-left: 5px;
    }

    .btn.add-to-cart {
        margin-left: unset;
        margin-right: 5px;
    }

    .list-item-cart .item .pr-0 {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }

    .quick-section .address-list .items {
        width: 100%;
        margin: 20px 0 0;
    }

    .comparelist-page .clear-list {
        left: unset;
        right: unset;
    }
}
