:root {
    --scrollbar-track: var(--bs-dark);
    --scrollbar-thumb: var(--bs-secondary);
    --scrollbar-thumb-hover: var(--bs-secondary-bg);
}

/* WebKit */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

/* Firefox */
html,
body {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

@font-face {
    font-family: 'Vazir';
    src: url("/static/font/Vazir.ea0968dcee21.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PacificoRegular';
    src: url("/static/font/PacificoRegular.10c159bc6512.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Vazir;
}

.font-PacificoRegular {
    font-family: PacificoRegular;
}

.card-height {
    height: 300px;
}

.card-header-height {
    height: 70px;
}

.card-footer-height {
    height: 75px;
}

.description-height {
    height: 40px;
}

.font-thin {
    font-size: smaller;
}

.font-10 {
    font-size: 10px;
}

.font-13 {
    font-size: 13px;
}

.font-14 {
    font-size: 14px;
}

.font-15 {
    font-size: 15px;
}

.font-16 {
    font-size: 16px;
}

.font-20 {
    font-size: 20px;
}

.bg-hover-white:hover {
    background-color: white !important;
}

.text-hover-black:hover {
    color: black !important;
}

.menu-focus:focus {
    color: black !important;
    background-color: white !important;
}

.thumbnail-size {
    height: 28px;
    width: 50px;
}

.status-select:focus {
    outline: none;
    box-shadow: none;
}

.status-icon-width {
    width: 20px;
}

.status {
    width: 300px;
    height: 30px;
    padding-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Only on the My Space page */
.my-space-status-form {
    width: 150px;
    background-color: #E2E3E5;
}

.activity {
    width: 350px;
    height: 35px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    margin: auto;
}

.activity-sign {
    width: 10px;
    height: 10px;
}

.filter-button-width {
    width: 100px;
}

.flag-button-1 {
    text-align: center;
    height: 70px;
    width: 30px;
    position: fixed;
    top: 80px;
    right: -10px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-button-2 {
    text-align: center;
    height: 70px;
    width: 30px;
    position: fixed;
    top: 160px;
    right: -10px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-button-3 {
    text-align: center;
    height: 70px;
    width: 30px;
    position: fixed;
    top: 240px;
    right: -10px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.min-height-110 {
    min-height: 110px;
}

.min-height-70 {
    min-height: 70px;
}

.current-task-row td {
    background-color: cornflowerblue;
    color: white;
}

.current-task-row select {
    background-color: cornflowerblue !important;
    color: white;
}

.current-task-row button {
    color: white;
}

.no-resize {
  resize: none;
}

.post-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.background-Definition {
    background-color: rgb(255, 121, 73);
}

.background-Review {
    background-color: rgb(243, 116, 255);
}

.background-Report {
    background-color: rgb(255, 235, 102);
}

.background-Note {
    background-color: rgb(36, 159, 241);
}

.yellow-color {
    color: yellow;
}

/* Row style when we select a task dropdown. */
/* Start */
.current-dropdown-row > td:not(.activity-td) {
    background-color: #550dfd !important;
}

.current-dropdown-row select {
    background-color: #550dfd !important;
}
/* End */

.task-menu {
    background-color: #550dfd;
}

.administration-menu {
    background-color: #e2e3e5;
}

/* To prevent layout jumping */
.scrollbar-stable {
    overflow-y: scroll !important;
}

/* Custom scrollbar (used in the post text input) */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f1f1f1;
}

#chat-text-input::placeholder {
    font-size: 14px;
}

/* This style only applies to Firefox */
@-moz-document url-prefix() {
    div:has(> #chat-text-input) {
        margin-bottom: 0.5rem;
    }
}

/* Bootstrap Tooltip Styles */
.tooltip-inner {
    color: white;
    background-color: black;
    max-width: 240px;
}

/* Editor.js Styles */
/* Start */

/* Hide the image caption box in the Editor.js 
without using display:none, to avoid breaking the editor toolbar */
.image-tool__caption {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    border: none !important;
}

/* Image Container Style */
.cdx-block.image-tool {
    padding: 6.4px 0 !important;
}

/* End */