/* arabic */
@font-face {
    font-family: 'Noto Kufi Arabic';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/kufi.woff2") format('woff2');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'manrope';
    font-style: bold;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/manrope.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'manrope', 'Noto Kufi Arabic';

}


.page-header {
    display: flex;
    align-items: center;
    background-color: var(--primary_color) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    width: 100% !important;
    padding: 0.5rem !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    color: white !important;
    border-radius: 0.25rem !important;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%
}

.dashboard_body {
    display: flex;
    width: 100%;
}

.btn {
    box-shadow: none !important
}

/*tools starts*/
.btn-theme,
.btn_primary {
    background-color: var(--primary_color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    width: 100%;
    border-color: var(--primary_color);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.btn-theme:hover,
.btn_primary:hover {
    background-color: var(--primary_color);
    color: white;
    box-shadow: 0px 0px 5px var(--primary_color_light);
}

.btn-theme:focus,
.btn-theme:active,
.btn_primary:focus,
.btn_primary:active {
    box-shadow: none !important;
    border-color: var(--primary_color_light);

}

.bg-theme,
.bg_primary {
    background-color: var(--primary_color);
}

.bg-theme-light,
.bg_primary_light {
    background-color: var(--primary_color_light);
}

.text-theme,
.text_primary {
    color: var(--primary_color);
}

.text-theme-light,
.text_primary_light {
    color: var(--primary_color_light);
}

.border-theme,
.border_primary {
    border-color: var(--primary_color) !important;
}

.row {
    width: 100%;
}

.form_control_container {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;

}

.form-group {
    position: relative;
}

.form-label,
.col-form-label {
    font-weight: bold;
    color: var(--primary_color);
}

/*tools ends*/


[type="reset"],
[type="submit"],
button,
html [type="button"] {
    -webkit-appearance: button;
}

.auth-link {
    padding: 0;
    text-align: center;
}

.select2-results__option--selected {
    display: none;
}

[data-invalid-input] {
    border-color: red !important;
}

[data-invalid-message] {
    /*position: absolute;*/
    bottom: -22px;
    white-space: nowrap;
    top: 100%;
    color: red;
    font-size: 1rem;
    font-weight: bold;
    z-index: 5;
    font-size: 0.9rem
}



a {
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}


.dashboard_content {
    padding: 0.5rem;
    margin: 0;
    transition: all 0.3s
}

[type="hidden"] {
    display: none;
}

/*for toast*/
.toast-main {
    position: fixed;
    top: 5px;
    z-index: 1000;
}


.error {
    background-color: rgba(248, 215, 218, 0.85) !important;
}

.error .toast-header {
    color: #721c24 !important;
    background-color: rgba(245, 198, 203, 0.85) !important;
    border-bottom-color: rgba(245, 198, 203, 0.85) !important;
}

.success {
    background-color: rgba(212, 237, 218, 0.85) !important;
}

.success .toast-header {
    color: #155724 !important;
    background-color: rgba(195, 230, 203, 0.85) !important;
    border-bottom-color: rgba(195, 230, 203, 0.85) !important;
}

.info {

    background-color: rgb(199, 215, 236) !important;


}

.info .toast-header {
    color: #0050B3 !important;
    background-color: rgb(126, 163, 213) !important;
    border-bottom-color: rgb(126, 163, 213) !important;
}

.w-98 {
    width: 98%;
}


.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection {
    border-bottom: 1px solid var(--primary_color) !important;
    border-radius: 4px !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
    background-color: #eeeeee4a !important;
}

.select2-dropdown.select2-dropdown--above,
.select2-dropdown.select2-dropdown--below {
    top: 10px;
    border: none;
    box-shadow: 1px 1px 15px grey;
    border-radius: 4px !important;
}

.form-control:focus,
.btn-primary:focus,
.select2-search__field:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: none !important;
    border-color: var(--primary_color);

}

.form-check-input:focus {
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: var(--primary_color);
    border-color: var(--primary_color);
    box-shadow: none !important;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary_color);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--primary_color) !important;
}

.label-input-small-company {
    font-size: 11px;
    color: grey;
    line-height: 1.2;
    text-align: left;
    position: absolute;
    bottom: 10px;
    left: 20px;
    z-index: 10;
    text-decoration: underline;
}

.label-input-small-company:hover {
    text-decoration: none;
    color: var(--primary_color) !important;
}

.required_label:after {
    content: " * ";
    color: red;
}

.other_lang_badge {
    color: var(--primary_color);
    position: absolute;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    top: 70%;
    left: 0;
    right: 0;
    margin: auto
}


/* width */
::-webkit-scrollbar {
    width: 7px;
}


::-webkit-scrollbar-track {
    /*border-radius: 10px;*/
    background-color: white;

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #e3e3e3;
    border-radius: 10px;
}

.body_overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.1;
    z-index: 5;
    display: none;
}

.hide {
    display: none
}

.row {
    margin: 0;
}

.loader {
    height: 1px;
    width: 60%;
    border-radius: 20px;
    animation: 0.8s loader_animation linear infinite;
    position: absolute;
    opacity: 1 !important;
    top: 3px;
}

.iframe_loader {
    position: absolute;
    top: 50px;
    left: 0;
    height: 2px;
    width: 50%;
    background-color: var(--primary_color);
    animation: 0.8s loader_animation infinite;
    opacity: 0;
    animation-delay: 1s;

}

.of-cotain {
    object-fit: contain;
}

.of-cover {
    object-fit: cover;
}

.pointer {
    cursor: pointer;
}

.grab {
    cursor: grab;
}

.w-fit {
    width: fit-content !important;
}

.h-fit {
    height: fit-content !important;
}

.shadow-none {
    box-shadow: none !important;
}

.center,
.center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-shimmer:hover,
.shimmer {
    -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right/300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 2.5s infinite;
}

.hover-shimmer:hover {
    animation: shimmer 0.7s forwards;
}

.overflow-y-scroll {
    overflow-y: scroll
}

.overflow-x-scroll {
    overflow-x: scroll
}

.overflow-y-auto {
    overflow-y: auto
}

.overflow-x-auto {
    overflow-x: auto
}

.overflow-y-hidden {
    overflow-y: hidden
}

.overflow-x-hidden {
    overflow-x: hidden
}

.opacity-0 {
    opacity: 0
}

.opacity-1 {
    opacity: 1
}

.transition {
    transition: all 0.3s;
}

@keyframes shimmer {
    100% {
        -webkit-mask-position: left
    }
}

@keyframes loader_animation {
    0% {
        opacity: 0;
        left: -100%;
    }

    100% {
        opacity: 1;
        left: 100%;
    }
}


.horizontal-shaking {
    animation: 0.3s horizontal-shaking;
}

@keyframes horizontal-shaking {
    0% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(5px)
    }

    50% {
        transform: translateX(-5px)
    }

    75% {
        transform: translateX(5px)
    }

    100% {
        transform: translateX(0)
    }
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary_color);

}

.switch_dir_container {
    width: 100% !important;
}


.layer-dark {
    background-color: #0000006e;
}

.z-1 {
    z-index: 1
}

.z-2 {
    z-index: 2
}

.z-3 {
    z-index: 3
}

.z-4 {
    z-index: 4
}

.z-5 {
    z-index: 5
}

.z-6 {
    z-index: 6
}

.z-7 {
    z-index: 7
}

.z-8 {
    z-index: 8
}

.z-9 {
    z-index: 9
}

.z-10 {
    z-index: 10
}

.z-99 {
    z-index: 99
}

.z-999 {
    z-index: 999
}

.z-9999 {
    z-index: 9999
}

.modal-backdrop {
    z-index: 99999999
}

.modal {
    z-index: 99999999999
}

svg.sidebar_item_icon {
    flex-shrink: 0
}

.sidebar_hide .sidebar_item_sub {
    padding-left: 0 !important;
    padding-right: 0 !important
}

.form_element_div {
    margin: 0 !important
}

.form-label {
    margin-bottom: 0 !important;
    margin-top: 0.3rem !important;
}

.dataTable td {
    font-size: 14px !important
}

[data-fancybox] {
    cursor: zoom-in;
}

.main-header .sidebar_item {
    margin-top: 20px;
    font-size: 0.8rem;
}

.main-header .sidebar_item svg {
    width: 30px;
    height: 30px;
}

.shake {
    animation: shake 0.3s ease 2;
}

@keyframes shake {
    0% {
        transform: rotateZ(0);
    }

    25% {
        transform: rotateZ(5deg);
    }

    75% {
        transform: rotateZ(-5deg);
    }

    100% {
        transform: rotateZ(0);
    }
}

.rounded-theme {
    border-radius: 12px !important;
    overflow: hidden;
}


.date_calendar select,
.date_calendar input {
    height: auto !important
}

.calendar {
    top: 0 !important;
}

.select2-selection__choice__remove {
    margin-inline-start: 5px;
}

/* hide the first option in select2 because the first option will always be empty */
.select2-results__option:first-of-type {
    display: none;
}

.phone_number_container [data-invalid-message] {
    position: absolute !important;
}