:root{
  --theme : #874afd;

  --md-section-height : 80px;
  --sm-section-height : 48px;
}
@font-face {
  font-family: iransans;
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/IRANSans.ttf') format('truetype');
}

@font-face {
  font-family: iransansBold;
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/IRANSansBold.ttf') format('truetype');
}

@font-face {
  font-family: iransansLight;
  font-style: normal;
  src: url('../fonts/IRANSansLight.ttf') format('truetype');
}

@font-face {
  font-family: iransansMedium;
  font-style: normal;
  src: url('../fonts/IRANSansMedium.ttf') format('truetype');
}

.en-font,
.en-font * {
    font-family: "Roboto", sans-serif !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(233, 233, 233) #fff;
    font-family: iransans, serif;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgb(239 239 239);
}
*::-webkit-scrollbar-thumb {
  background-color: rgb(145 139 139);
  border-radius: 20px;
}


/* vuetify */
.v-application a {
  text-decoration: none;
}
.v-application--is-rtl .v-list-item__icon:first-child {
  margin-left: 16px !important;
}
.theme--light.v-btn a {
    color: #fff !important;
}
.v-btn {
    letter-spacing: 0 !important;
}
.v-tab {
    letter-spacing: 0 !important;
}

/* styles */

.font-en-input input{
    font-family: "Roboto", sans-serif !important;
}
.v-data-table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .03);
}
.edit-texts-wrapper{
    height: calc(100vh - var(--sm-section-height) - var(--sm-section-height));
    overflow-y: auto;
    direction: ltr;
    scroll-behavior:smooth;
}
.btn--float{
    position: fixed !important;
    z-index: 10;
}
.btn--float.down{
    bottom: 10px;
    left: 10px;
}
.btn--float.up{
    bottom: 10px;
    left: 60px;
}
.btn--float.save{
    bottom: 10px;
    left: 110px;
}
.page-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9e8eb;
  padding: 0 .75rem;
  height: var(--sm-section-height);
}
.page-head .titr{
  font-size: 1.25rem;
}
.page-head .back{
  color: var(--theme);
}
.md-section{
  height: var(--md-section-height);
}
.sm-section-3{
  height: var(--sm-section-height);
}
.main-section{
  height: calc(100vh - var(--md-section-height) - var(--sm-section-height) - var(--sm-section-height) - var(--sm-section-height) - var(--sm-section-height));
}

.w-100 {
    width: 100% !important;
}
.tbl-nowrap tr{
    white-space: nowrap;
}
.item-profile{
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin: 4px 0 4px 0;
}

.v-application table{
    position: relative;
}
.fetch-loading{
    position: absolute;
    width: 100%;
}
.edit-texts-wrapper  textarea {
    unicode-bidi: plaintext;
}

.main-section table{
    white-space: nowrap;
}

.rtl-dir{
    direction: rtl !important;
}
.ltr-dir{
    direction: ltr !important;
}

.two-line-box {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.8;
    white-space: break-spaces;
}

.red-mark {
    background: red;
    color: #fff !important;
}
.yellow-mark {
    background: #ffb700;
    color: #ff0000;
}
.new-word {
    cursor: pointer;
}
.inline-text-area {
    width: 100%;background: #fff;padding: .5rem;border: #aaaaaa;outline: none;
}
.plain-text,
.plain-text textarea{
    unicode-bidi: plaintext;
}

.mini-player-wrapper {
    position: fixed;
    right: 50%;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: #fff;
    transform: translate(50%, 0px);
    box-shadow: 0 0 20px -2px;
    border-radius: 1rem 1rem 0 0;
    z-index: 300;
}
.mini-player-wrapper.audio {
    height: 100px;
    padding: 0 8px;
}
.mini-player-wrapper.audio audio{
    width: 100%;
    margin-top: 2.5rem;
}
.close-mini-player-wrapper{
    position: absolute;
    left: 5px;
    top: 5px;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    background: red;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .25rem;
    cursor: pointer;
    z-index: 2;
}
.stripes-bg:nth-of-type(even) {
    background-color: #f3f3f3;
}
