@font-face {
  font-family: Vazir;
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522045380/vazir_v18.0.0/Vazir.eot');
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522045380/vazir_v18.0.0/Vazir.eot?#iefix') format('embedded-opentype'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522045380/vazir_v18.0.0/Vazir.woff') format('woff'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522044764/vazir_v18.0.0/Vazir.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: Vazir;
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522045523/vazir_v18.0.0/Vazir-Bold.eot');
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522045523/vazir_v18.0.0/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522045380/vazir_v18.0.0/Vazir.woff') format('woff'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522045523/vazir_v18.0.0/Vazir-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: Vazir;
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522044764/vazir_v18.0.0/Vazir-Light.eot');
  src: url('https://res.cloudinary.com/ipresta/raw/upload/v1522044764/vazir_v18.0.0/Vazir-Light.eot?#iefix') format('embedded-opentype'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522044764/vazir_v18.0.0/Vazir-Light.woff') format('woff'),
       url('https://res.cloudinary.com/ipresta/raw/upload/v1522044764/vazir_v18.0.0/Vazir-Light.ttf') format('truetype');
  font-weight: 300;
}
.bootstrap body.lang-fa, body.lang-fa, .lang-fa #content.bootstrap .panel .panel-heading a.btn, .lang-fa #content.bootstrap #dash_version .panel-heading a.btn, .lang-fa #content.bootstrap .message-item-initial .message-item-initial-body .panel-heading a.btn, .lang-fa #content.bootstrap .timeline .timeline-item .timeline-caption .timeline-panel .panel-heading a.btn, .lang-fa #notification .dropdown-menu .notifications .nav-tabs .nav-item .nav-link, .lang-fa .bootstrap .tooltip, .lang-fa .bootstrap .btn-group-action .btn, .lang-fa .bootstrap .page-head h2.page-title, .lang-fa .bootstrap .page-head h4.page-subtitle, .lang-fa .bootstrap #dashboard section > section header .small, .lang-fa .bootstrap #login-panel #shop_name, .bootstrap #login-panel #reset_name, .bootstrap #login-panel #reset_confirm_name, .bootstrap #login-panel #forgot_name, .bootstrap #login-panel #forgot_confirm_name, .bootstrap h1, .lang-fa .bootstrap h2, .lang-fa .bootstrap h3, .lang-fa .bootstrap h4, .lang-fa .bootstrap h5, .lang-fa .bootstrap h6, .lang-fa .bootstrap .h1, .lang-fa .bootstrap .h2, .lang-fa .bootstrap .h3, .lang-fa .bootstrap .h4, .lang-fa .bootstrap .h5, .lang-fa .bootstrap .h6, .lang-fa #content.bootstrap .panel .panel-heading, .lang-fa #content.bootstrap #dash_version .panel-heading, .lang-fa #content.bootstrap .message-item-initial .message-item-initial-body .panel-heading, .lang-fa #content.bootstrap .timeline .timeline-item .timeline-caption .timeline-panel .panel-heading, .bootstrap .nav-tabs li a, .bootstrap .list-empty .list-empty-msg, .bootstrap #dashboard #dashtrends dt, .bootstrap #dashboard #dashproducts nav, .lang-fa .bootstrap #dashboard .tooltip-panel-heading {
  font-family:"Vazir",Helvetica,Arial,sans-serif;
}
.lang-fa .bootstrap input[type="text"], .lang-fa .bootstrap input[type="search"], .lang-fa .bootstrap input[type="password"], .lang-fa .bootstrap input[type="email"], .lang-fa .bootstrap input[type="tel"] {
  font-family:"Vazir",Helvetica,Arial,sans-serif !important;
}
.rtl-flip:not(.rtl-no-flip) {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  -ms-transform: scale(-1, 1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

i[class*="right"], i[class*="left"], i[class*="backward"], i[class*="forward"] {
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.magnitude:before {
  content: "?";
  opacity: 0;
}

.dropdown-menu, .mce-window {
  right: auto;
}

ul.category-tree .category-label .category {
  left: 9px;
}

.adminproducts .dz-hidden-input {
  display: none;
}

ul.category-tree .more::before {
  content: "\E5CB";
}

.product-page .product-header {
  overflow: hidden;
}

.select2-container--open .select2-dropdown {
  right: auto;
  left: 0;
}

.collapse-button[data-v-442d0f8a], #search .search-input {
  text-align: right;
}

.ui-datepicker-rtl {
  right: auto;
}

svg {
  direction: ltr
}

.mce-panel {
  right: auto;
}

.process-icon-rtl:before {
  content : "\f1dd\f0d9";
}

#header_infos #header_logo {
  background-position: right;
}

/* fix notification dropdown */
.notification-center .dropdown-menu {
  right: auto;
  left: 85px !important;
}

/* fix popover */
.popover {
  right: auto;
  left: 5px;
  margin-right: 0;
  margin-left: 8px;
}
.popover .arrow {
  left: -8px;
  right: auto;
  transform: scaleX(-1);
}

/* fix stock quantity arrow direction */
.stock-app .stock-overview .table .qty-update .material-icons {
  transform: scaleX(-1);
}

@keyframes showcase-img-appearance-rtl {
  from {
    -webkit-transform: translate(-20px) translateX(-1);
    -ms-transform: translate(-20px) translateX(-1);
    -webkit-transform: translate(-20px) translateX(-1);
    transform: translate(-20px) translateX(-1);
    opacity: 0;
 }
  to {
    -webkit-transform: translate(0) translateX(-1);
    -ms-transform: translate(0) translateX(-1);
    -webkit-transform: translate(0) translateX(-1);
    transform: translate(0) translateX(-1);
    opacity: 1;
 }
}

/* Fixes image flipping for RTL language */
.img-rtl {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  animation: showcase-img-appearance-rtl .4s;
}
