@import '../fonts/fontawesome/fontawesome.min.css?v=1';
@import '../fonts/fontawesome/light.min.css?v=1';
@import '../fonts/anjoman/font-face.css?v=1';

html, body, h1, h2, h3, h4, h5, h6, input, textarea, select, button {
    font-family: Anjoman, sans-serif !important;
}

/*//////////////////////////////////////////////////// font-size styles */

.fs-0 {
    font-size: .7rem;
}

.fs-01 {
    font-size: .8rem;
}

.fs-02 {
    font-size: .9rem;
}

.lh-fix {
    line-height: .9;
}

/*////////////////////////////////////////////////////*/

.flex-1 {
    flex: 1;
}

.btn {
    border-radius: .7rem;
}

.dataTables_paginate {
    margin-top: 1rem !important;
}

.color-zone {
    color: #09bdff;
}

.color-zone-g {
    color: #909faa;
}

.color-zone-g1 {
    color: #909faa;
}

.color-zone-g2 {
    color: #f0f0f0;
}

.api-activity-row {
    background: #fff8ee !important;
    box-shadow: inset 4px 0 0 #f5a524;
}

.api-activity-block {
    background: linear-gradient(90deg, #fffaf3, #fff);
    border: 1px solid #ffe3c2;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    box-shadow: inset 4px 0 0 #f5a524;
}

.api-activity-badge {
    background-color: #f5a524;
    color: #3c2a05;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: .7rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: 600;
}

.card-header {
    background-color: #fff;
    color: #939393;
    text-align: center;
    border-bottom: none !important;
}

.card-body {
    padding-top: 0 !important;
}

.nav-item {
    list-style-type: none !important;
}

.nav-tabs li {
    width: 50%;
    text-align: center;
    color: #6d7882 !important;
    padding: 0;
    cursor: pointer;
}

.nav-tabs > li > a {
    position: relative;
    text-decoration: none;
    padding: .5rem;
    color: #6d7882 !important;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li:hover,
.nav-tabs > li:focus {
    color: #323232;
    background-color: #f5f8fa;
}

.nav-tabs > li.active,
.nav-tabs > li.active > a {
    color: #1a1a1a;
    background-color: #dee1e3;
}

/*/////////////*/

.navbar-zone {
    background-color: #3f3f3f !important;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .04) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04) !important
}

.btn-zone {
    color: #fff;
    background-color: #09bdff;
    border-color: #09bdff
}

.btn-zone:hover {
    color: #fff;
    background-color: #09b5f5;
    border-color: #09abeb
}

.btn-zone.focus, .btn-zone:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(9, 161, 225, .5);
    box-shadow: 0 0 0 .2rem rgba(9, 161, 225, .5)
}

.btn-zone.disabled, .btn-zone:disabled {
    color: #fff;
    background-color: #09bdff;
    border-color: #09bdff
}

.btn-zone:not(:disabled):not(.disabled).active, .btn-zone:not(:disabled):not(.disabled):active, .show > .btn-zone.dropdown-toggle {
    color: #fff;
    background-color: #09abeb;
    border-color: #09a1e1
}

.btn-zone:not(:disabled):not(.disabled).active:focus, .btn-zone:not(:disabled):not(.disabled):active:focus, .show > .btn-zone.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(9, 161, 225, .5);
    box-shadow: 0 0 0 .2rem rgba(9, 161, 225, .5)
}

table {
    width: 100%;
}

thead th {
    color: #939393 !important;
    font-weight: normal !important;
    margin-bottom: .5rem !important;
}

a {
    color: #09bdff;
    text-decoration: none;
}

.select2, .select2-search__field {
    width: 100% !important;
}

.select2-selection {
    width: 100% !important;
    border: 1px solid #ced4da !important;
    font-size: 1rem;
    color: #3b3b3b;
    height: 2.4rem !important;
}

.logo-me {
    height: 2rem;
}

.flash-message {
    overflow: hidden;
    position: fixed;
    width: 50%;
    left: 25%;
    top: 0;
    z-index: 99999;
    border: 1px solid transparent;
    padding: 1rem 1.2rem;
}

.alert-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.right_radius {
    border-radius: 0 20px 20px 0 !important
}

.left_radius {
    border-radius: 20px 0 0 20px !important
}

.top_radius {
    border-radius: 20px 20px 0 0 !important
}

.down_radius {
    border-radius: 0 0 20px 20px !important
}

.both_radius {
    border-radius: 20px 20px 20px 20px !important
}

.hidden {
    display: none !important;
}

.close.right {
    float: left !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
}

.close.right:hover {
    opacity: 0.9 !important;
}

.close.left {
    float: right !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
}

.close.left:hover {
    opacity: 0.9 !important;
}

.card-header .coll-btn {
    transition: .3s transform ease-in-out;
}

.card-header .collapsed .coll-btn {
    transform: rotate(180deg);
}


@keyframes strike {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .03);
}

/*//////////////*/

.strike {
    position: relative;
    color: #909faa;
}

.strike::after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(9, 189, 255, 0.5);
    animation-name: strike;
    animation-duration: .4s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/*//////////////*/

@keyframes check {
    0% {
        height: 0;
        width: 0;
    }
    25% {
        height: 0;
        width: 7px;
    }
    50% {
        height: 12px;
        width: 7px;
    }
}

.checkboxy {
    background-color: #fff;
    display: inline-block;
    height: 18px;
    margin: 0;
    width: 18px;
    border-radius: 7px;
    border: 1px solid #ccc;
    float: right;
    cursor: pointer;
}

.checkboxy span {
    display: block;
    height: 18px;
    position: relative;
    width: 18px;
    padding: 0
}

.checkboxy span:after {
    -moz-transform: scaleX(-1) rotate(135deg);
    -ms-transform: scaleX(-1) rotate(135deg);
    -webkit-transform: scaleX(-1) rotate(135deg);
    transform: scaleX(-1) rotate(135deg);
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    content: '';
    display: block;
    height: 12px;
    left: 1px;
    position: absolute;
    top: 8px;
    width: 7px
}

.checkboxy input {
    display: none
}

.checkboxy input:checked + span:after {
    -webkit-animation: check .5s;
    -moz-animation: check .5s;
    -o-animation: check .5s;
    animation: check .5s;
    border-color: #555
}

.checkboxy input:checked + span:after {
    border-color: #09bdff
}

/*//////////////*/

.task-status[data-pass="1"] {
    background-color: #ffc107 !important
}

.task-status[data-pass="0"] {
    background-color: #dc3545 !important
}

.task-status[data-state="1"] {
    background-color: #28a745 !important
}

.task-status[data-state="2"] {
    background-color: #28a745 !important
}

/*////////////////*/

.pre-scrollable {
    max-height: 240px;
    overflow-y: auto;
}

.max-h-500 {
    max-height: 500px;
}

.max-h-1000 {
    max-height: 1000px;
}

.titr {
    color: #7952b3 !important
}

.warehous-table-head th {
    background-color: #125E89;
    color: #fff;
    /* color: #000; */
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.lack-danger {
    font-weight: bold;
    color: #CA0B00 !important;
}


@media print {
    body {
        background-color: #fff;
    }

    .fs-15 {
        font-size: 16px !important;
        font-weight: 500;
    }

    .fs-17 {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    .max-h-100 {
        max-height: 170px !important;
    }

    .letter-width {
        margin: 10rem 8rem;
    }
}

.letter-footer {
    /*background-color: #42b3ff !important;*/
    font-weight: 300 !important;
}

.p-break {
    page-break-after: always;
}

.letter-header {
    margin: 5rem 4rem 7rem 5rem;
}

table.dataTable.fixedHeader-floating {
    position: relative !important;
}

.text-bold, .text-bold * {
    font-weight: 600 !important;
}

table.dataTable thead .sorting::before,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_asc_disabled::before,
table.dataTable thead .sorting_desc_disabled::before {
    font-size: 10px;
    right: 0.5em;
    content: "\25B2";
    bottom: 14px;
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after,
table.dataTable thead .sorting_asc_disabled::after,
table.dataTable thead .sorting_desc_disabled::after {
    font-size: 10px;
    content: "\25BC";
    bottom: 5px;
}

table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::after {
    color: #9e9e9e;
}

.mt-6 {
    margin-top: 8rem;
}

.fix-px {
    padding: 0.375rem 0.35rem;
}

.fix-lh {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .navbar-brand h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand h5 {
        font-size: .8rem;
    }
}

@media (max-width: 390px) {
    .navbar-brand h5 {
        display: none;
    }
}


#sidebar {
    max-width: 4rem;
}

html[dir="rtl"] #mainbar {
    margin-right: 4rem;
}

html[dir="ltr"] #mainbar {
    margin-left: 4rem;
}

#allpage #sidebar a {
    display: flex;
    justify-content: center !important;
    --bs-text-opacity: 1;
    white-space: nowrap;
    color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
    padding-top: .3rem !important;
    padding-bottom: .3rem !important;
}

#allpage #sidebar #half1 a {
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
}

#allpage #sidebar a div {
    min-width: 2.5rem;
    text-align: center;
}

#allpage #sidebar a p {
    display: none;
    margin-bottom: 0 !important;
    font-size: .8rem;
}

#allpage #sidebar #half1 a p {
    font-size: 1rem;
}


#allpage.active #sidebar {
    max-width: 12rem;
}

#allpage.active #sidebar a {
    justify-content: start !important;
}

#allpage.active #sidebar a p {
    display: block !important;
    margin-left: .4rem;
    margin-right: .4rem;
}

html[dir="rtl"] #allpage.active #mainbar {
    margin-right: 12rem;
}

html[dir="ltr"] #allpage.active #mainbar {
    margin-left: 12rem;
}

#main_func a {
    width: 9rem !important;
}

.rounded-9 {
    border-radius: .9rem !important
}

.select2-results__option {
    border-bottom: solid 1px #eaeaea !important;
}

.products .select2-selection {
    height: 3.5rem !important;
}

/*================================================*/

.btn-light2 {
    color: #000;
    background-color: #eeeff0;
    border-color: #eeeff0
}

.btn-light2:hover {
    color: #000;
    background-color: #ebeced;
    border-color: #ebeced
}

.btn-light2:focus {
    background-color: #ebeced;
    border-color: #ebeced;
    box-shadow: 0 0 0 .25rem rgba(211, 212, 213, .5)
}

.btn-light2.active, .btn-light2:active, .show > .btn-light2.dropdown-toggle {
    background-color: #ebeced;
    border-color: #ebeced
}

.btn-light2.active:focus, .btn-light2:active:focus {
    box-shadow: 0 0 0 .25rem rgba(211, 212, 213, .5)
}

.btn-light2.disabled, .btn-light2:disabled {
    color: #000;
    background-color: #eeeff0;
    border-color: #eeeff0
}

/*================================================*/


.long-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.long-text:hover {
    overflow: visible;
    transition: all 0.3s ease;
    z-index: 1;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

.rotate-45 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

.voided-watermark {
    position: absolute;
    font-size: 8rem;
    font-weight: 700;
    transform: translate(-50%, -50%) rotate(-30deg);
    z-index: 200;
    top: 50%;
    left: 50%;
    pointer-events: none;
    padding: 15px;

    color: rgba(255, 0, 0, 0.3);
    border: 1rem double rgba(255, 0, 0, 0.3);

    display: inline-block;
    border-radius: 1rem;
    -webkit-mask-image: url('../images/grunge.png');
    -webkit-mask-size: 944px 604px;
    mix-blend-mode: multiply;
    -webkit-mask-position: 2rem 3rem;
}
