﻿@font-face {
    font-family: 'IRANSans';
    src: url(/Content/Fonts/Iransans/IRANSansWeb.woff2) format("woff2"), url(/Content/Fonts/Iransans/IRANSansWeb.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url(/Content/Fonts/Iransans/IRANSansWeb_bold.woff2) format("woff2"), url(/Content/Fonts/Iransans/IRANSansWeb_bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.fas.flip,
.far.flip,
.fal.flip,
.fad.flip,
.svg-inline--fa.flip {
    transform: rotateY(180deg);
}

.fa-ul {
    margin-right: 2.5em;
    margin-left: 0;
    padding-right: 0;
}

.fa-li {
    right: -2em;
    left: auto;
}

.form-check {
    padding-right: 2em;
}

.form-check .form-check-input {
    margin-right: -2em;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0;
}

.form-switch {
    padding-right: 3.5em;
}

.form-switch .form-check-input {
    width: 3em;
    margin-right: -3.5em;
}

input[type=number],
input[type=email],
input[type=password],
input.email-mobile-username:focus {
    direction: ltr;
    text-align: right;
}

input[type=number]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder,
input.email-mobile-username:focus::placeholder {
    direction: rtl;
}

.field-validation-error::before {
    margin-right: 0;
    margin-left: 1rem/3;
}

.number-dir {
    direction: ltr;
}

.text-dir {
    direction: ltr;
    text-align: right;
}

a.text-dir,
span.text-dir,
small.text-dir,
strong.text-dir {
    display: inline-block;
}

.attributes .attribute-item .attribute-square {
    margin-left: initial;
    margin-right: 3px;
}

.poll .poll-results .progress-wrapper .vote-percent {
    margin-left: 0;
    margin-right: 1rem/2;
}

html {
    font-size: 14px;
}

.fa,
.fas,
.far,
.fal,
.fad,
.fab {
    vertical-align: middle;
}

body {
    font-family: IRANSans, 'Segoe UI', sans-serif;
    font-size: small;
}

.page-title {
    font-size: x-large;
}

@media(min-width:768px) {
    .dropdown-menu .dropdown-menu {
        right: 100%;
        left: auto;
        top: 0;
    }

    .dropdown-menu .dropdown-toggle::after {
        float: left;
        transform: rotate(90deg);
        transform-origin: left;
    }
}

@media(min-width:768px) {

    .dropdown:hover>.dropdown-menu.dropdown-menu-end,
    .dropup:hover>.dropdown-menu.dropdown-menu-end {
        left: 1px;
        right: auto;
    }

    .dropdown:hover>.dropdown-menu.dropdown-menu-start,
    .dropup:hover>.dropdown-menu.dropdown-menu-start {
        left: auto;
        right: 1px;
    }
}

@media(min-width:768px) {
    .store-logo img {
        object-position: right;
    }
}

.rating {
    direction: ltr;
    text-align: right;
}

.alert {
    border-right: 3rem solid;
    border-left: 0;
}

.alert::before {
    left: auto;
    right: -2rem;
}

.admin-links {
    left: 0;
    right: auto;
    border-radius: 0 .25rem .25rem 0;
    border-left-width: 0;
    border-right-width: 1px;
}

.impersonate {
    right: auto;
    left: 50px;
}

.impersonate .fa-times {
    right: auto;
    left: 5px;
}

@media(max-width:768px) {
    .impersonate {
        right: auto;
        left: 20px;
    }
}

.store-header-mobile .navbar-toggler:not(.collapsed)::after {
    right: auto;
    left: 0;
}

.aside-header .header-customer-wrapper .top-register-link {
    left: 1rem;
    right: auto;
}

.aside-header .dropdown .dropdown-menu .dropdown-menu {
    padding-right: 1rem;
    padding-left: 0;
}

.aside-header .dropdown-toggle::after {
    content: '';
    left: 1rem;
    right: auto;
}

@media(max-width:768px) {
    .store-aside .block .title::after {
        float: left;
    }
}

.search-box .search-box-button {
    left: 1px;
    right: auto;
}

.search-box .search-box-text {
    padding-right: 1rem;
    padding-left: 42px;
}

.search-box .ui-widget-content .ui-menu-item a img {
    margin: 0 1rem/2 0 1rem;
}

.search-loader {
    right: auto;
    left: 52px;
}

.product-grid-carousel .owl-carousel .owl-nav {
    left: 0;
    right: auto;
}

.product-box .picture .ribbons,
.product-box-list .picture .ribbons {
    left: auto;
    right: 0;
}

@media(max-width:767px) {
    .store-footer .footer-block:not(.follow-us) .title::after {
        float: left;
    }
}

.overview .product-name,
.variant-overview .product-name {
    font-size: x-large;
}

.overview .product-name .secondary-name,
.variant-overview .product-name .secondary-name {
    direction: ltr;
    text-align: right;
}

.overview .attributes .custom-control:not(:last-child),
.variant-overview .attributes .custom-control:not(:last-child) {
    margin-left: 1rem;
    margin-right: 0;
}

.block-category-navigation ul li.has-sublist>a::before {
    content: "";
    vertical-align: middle;
}

.block-category-navigation ul ul {
    margin-left: 0;
    margin-right: 1rem;
}

.block-category-navigation ul .category-number {
    float: left;
}

.info-date-picker select+select {
    margin-right: 1rem/2;
    margin-left: auto;
}

.block-account-navigation .list a::before {
    margin-right: 0;
    margin-left: 1rem/2;
}

ul.attribute-squares .popover {
    transform: translateX(50%);
    margin-left: auto;
    margin-right: 15px;
}

.product-reviews-page .product-review-item .user {
    margin-left: 5px;
    margin-right: auto;
}

.product-reviews-page .product-review-item .review-content .reply {
    margin-right: 2rem;
    margin-left: auto;
}

@media(max-width:767px) {
    .cart tr {
        float: right;
    }
}

@media(max-width:479px) {
    .cart tr {
        float: none;
    }
}

.totals .total-info .cart-total.table tbody>tr>td:first-child {
    text-align: left;
}

.order-progress ol li a::before {
    content: "";
}

.order-progress ol li:not(:last-child) {
    margin-right: auto;
    margin-left: 1rem;
}

.address-list-page .buttons,
.order-list-page .buttons {
    right: auto;
    left: 0;
}

.method-list .method-description,
.method-list .payment-description {
    padding-right: 1.5rem;
    padding-left: initial;
}

.flyout-compare {
    right: auto;
    left: 2rem;
}

.flyout-compare .flyout-compare-list {
    left: -1rem;
    right: auto;
}

.addthis_default_style .addthis_separator,
.addthis_default_style .at4-icon,
.addthis_default_style .at300b,
.addthis_default_style .at300bo,
.addthis_default_style .at300bs,
.addthis_default_style .at300m {
    float: right !important;
}

.addthis_counter.addthis_bubble_style {
    transform: rotateY(180deg) !important;
}

.addthis_counter .addthis_button_expanded {
    transform: rotateY(-180deg) !important;
}

.select2.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: auto !important;
    left: 1px;
}

.select2.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 8px !important;
    padding-left: 20px !important;
}

.select2+.please-wait {
    margin-left: auto;
    margin-right: -25px;
}

.bootstrap-touchspin input[type=text] {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}