@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap");

@font-face {
    font-family: "Tajawal", sans-serif;
    src: url("../fonts/Tajawal/Tajawal-Light.ttf") format("truetype");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal", sans-serif;
    src: url("../fonts/Tajawal/Tajawal-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal", sans-serif;
    src: url("../fonts/Tajawal/Tajawal-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal", sans-serif;
    src: url("../fonts/Tajawal/Tajawal-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

body {
    font-family: "Tajawal", sans-serif !important;
    background-color: #f7f7f7;
}

body::-webkit-scrollbar-track {
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background: var(--main-color);
}

:root {
    --main-color: #5a9194;
    --hover-color: #04424e;
}

a {
    color: #3f4254;
}

a:hover {
    color: var(--main-color);
}

body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.aside-menu .menu .menu-item .menu-link {
    font-size: 17px;
}

.number-size {
    font-size: 35px;
}

div.dataTables_wrapper div.dataTables_length {
    padding-left: 10px;
}

.iti {
    width: 100%;
}

.iti__arrow {
    border-top-color: #727272 !important;
}

.iti__selected-flag {
    direction: ltr !important;
    outline: none;
}

.iti__country-name {
    font-size: 12px;
}

.iti__arrow--up {
    border-bottom: none;
}

.iti__country-list {
    left: 0;
    right: auto;
    max-width: 290px;
    overflow-x: scroll !important;
}

/* tel responsive */
@media (max-width: 1024px) {
    .iti__country-list {
        left: 0;
        right: auto;
    }
}

@media (max-width: 576px) {
    .iti__country-list {
        right: 0;
        left: auto;
    }
}

.iti__country-name,
.iti__flag-box {
    margin-left: 6px;
}

.iti__country {
    direction: ltr;
    text-align: left;
}

.iti__arrow {
    border-top: 4px solid #fff;
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: #030f17;
    font-size: 14px;
    font-weight: 300;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: transparent;
}
/* rest */
.text-hover-primary:hover {
    color: var(--main-color);
}

.aside-menu .menu-item .menu-icon i {
    color: #b5b5c3;
    font-size: 17px;
}

.header-brand img {
    width: 100px;
}

.aside .aside-toolbar .aside-search .form-control {
    background-color: #f5f8fa;
    border-color: #f5f8fa;
}

.aside .aside-toolbar .aside-search .form-control.form-control-search {
    background-color: #2c2c41;
    border-color: #2c2c41;
    color: #fff;
}

#kt_aside_mobile_toggle i {
    font-size: 18px;
}

.sign-page .login-bg {
    background-image: url("../images/login.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: left; */
    position: relative;
    z-index: 0;
}

.sign-page .login-bg:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000, #292929);
    opacity: 0.85;
    z-index: -1;
}

.sign-page .logo {
    position: relative;
    z-index: 2;
}

.sign-page .logo img {
    width: 120px;
}

.sign-page .login-text {
    font-size: 18px;
    font-weight: 400;
    margin-top: 15px;
}

@media (max-width: 575px) {
    .sign-page .sign-box {
        width: 90% !important;
    }
}

.header .toolbar .menu-sub-dropdown i {
    font-size: 29px;
    color: #5a9194;
}

@media (min-width: 992px) {
    .header .header-brand {
        justify-content: center;
        position: relative;
    }

    .aside-minimize {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 991px) {
    .header-brand img {
        width: 80px;
    }
}

.nav-line-tabs .nav-item .nav-link.active,
.nav-line-tabs .nav-item.show .nav-link,
.nav-line-tabs .nav-item .nav-link:hover:not(.disabled) {
    border-bottom: 2px solid #5a9194;
}

table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:after {
    display: none !important;
}

.modal-header {
    padding: 10px 15px !important;
    background-color: #5a9194;
}

.modal-header .modal-title {
    color: #fff;
    font-size: 16px;
}

.modal-header svg path,
.modal-header svg rect {
    fill: #fff !important;
    opacity: 1;
}

.modal-header [aria-label="Close"] span {
    color: #fff;
}

.modal-header .btn.btn-active-light-primary:hover:not(.btn-active),
.modal-header .btn.btn-active-light-primary.show {
    background-color: inherit !important;
}

.modal-header .btn.btn-active-light-primary:hover:not(.btn-active),
.modal-header .btn.btn-active-light-primary.show {
    background-color: inherit !important;
}

@media (max-width: 991.98px) {
    .modal-header .toolbar {
        flex-direction: row;
        background-color: inherit !important;
    }
}

.btn.btn-icon {
    height: 35px;
    width: 35px;
}

.tooltip {
    font-family: "Tajawal", sans-serif;
}

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

.form-check.form-check-solid .form-check-input {
    background-color: #dfdfdf !important;
}

.form-check.form-check-solid .form-check-input:checked {
    background-color: #5a9194 !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
    text-align: start;
}

.table > thead {
    background: #f5f5f5;
}

.table tr:first-child,
.table th:first-child,
.table td:first-child {
    padding-right: 15px !important;
}

.select2-container--bootstrap5
    .select2-selection--single
    .select2-selection__rendered {
    color: #525252 !important;
}

.select2-container--bootstrap5
    .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg)
    .select2-selection__choice
    .select2-selection__choice__remove {
    left: 4px;
}

.select2-container--bootstrap5
    .select2-dropdown
    .select2-results__option.select2-results__option--selected {
    background-color: #5a9194;
}

.select2-container .select2-search--inline .select2-search__field {
    font-family: "Tajawal", sans-serif;
}

.home-card {
    transition: 0.3s;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px 4px rgb(0 0 0 / 5%);
}

.home-card .svg-icon.svg-icon-primary svg [fill]:not(.permanent):not(g) {
    fill: #ffffff;
}

.card .card-header {
    min-height: 60px;
    padding: 0 20px;
}

.card .card-header h3 {
    font-size: 15px;
}

.note-toolbar .dropdown-toggle::after {
    display: none;
}

.aside-menu .menu .menu-item .menu-link .svg-icon.svg-icon-2 svg {
    height: 20px !important;
    width: 20px !important;
}

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

/* summer note */
.note-editor .note-toolbar .note-color .dropdown-toggle {
    padding-left: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.note-btn-group > .note-btn-group:not(:last-child) > .note-btn,
.note-btn-group > .note-btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 3px !important;
    margin: 0 2px;
}

.note-btn-group > .note-btn-group:not(:first-child) > .note-btn,
.note-btn-group > .note-btn:not(:first-child) {
    border-radius: 3px !important;
}

.note-color-all.open .note-dropdown-menu {
    display: flex;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu,
.note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: auto;
}

@media (max-width: 991px) {
    .note-color-all.open .note-dropdown-menu {
        flex-direction: column;
        align-items: flex-end;
    }
}

.note-editable,
.note-placeholder {
    font-family: "Tajawal", sans-serif !important;
}

.note-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-modal-footer {
    height: 80px;
}

.note-modal-content .note-modal-body [type="checkbox"] {
    margin: 0 5px !important;
}

.card .card-body {
    padding: 20px;
}

.svg-icon.svg-icon-3x svg {
    height: 2.5rem !important;
    width: 2.5rem !important;
}

.svg-icon.svg-icon-primary svg [fill]:not(.permanent):not(g) {
    fill: #6b6b6b;
}

@media (max-width: 575px) {
    .table tr:first-child,
    .table th:first-child,
    .table td:first-child {
        padding-right: 25px !important;
        padding-left: 10px !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        right: 5px;
        left: auto;
    }
}

.apexcharts-legend-text,
.apexcharts-text,
.apexcharts-title-text {
    font-family: "Tajawal", sans-serif !important;
}

[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
    direction: rtl;
}

.overlay-loader {
    background: white;
    display: block;
    margin: auto;
    width: 90px;
    height: 100%;
    z-index: 99999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90px;
    height: 90px;
    animation-name: rotateAnim;
    -o-animation-name: rotateAnim;
    -ms-animation-name: rotateAnim;
    -webkit-animation-name: rotateAnim;
    -moz-animation-name: rotateAnim;
    animation-duration: 0.3175s;
    -o-animation-duration: 0.3175s;
    -ms-animation-duration: 0.3175s;
    -webkit-animation-duration: 0.3175s;
    -moz-animation-duration: 0.3175s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-timing-function: linear;
    -o-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

.loader div {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid #5a9194;
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.loader div:nth-child(odd) {
    border-top: none;
    border-left: none;
}

.loader div:nth-child(even) {
    border-bottom: none;
    border-right: none;
}

.loader div:nth-child(2) {
    border-width: 2px;
    left: 0px;
    top: -4px;
    width: 11px;
    height: 11px;
}

.loader div:nth-child(3) {
    border-width: 2px;
    left: -1px;
    top: 3px;
    width: 16px;
    height: 16px;
}

.loader div:nth-child(4) {
    border-width: 3px;
    left: -1px;
    top: -4px;
    width: 22px;
    height: 22px;
}

.loader div:nth-child(5) {
    border-width: 3px;
    left: -1px;
    top: 4px;
    width: 29px;
    height: 29px;
}

.loader div:nth-child(6) {
    border-width: 4px;
    left: 0px;
    top: -4px;
    width: 36px;
    height: 36px;
}

.loader div:nth-child(7) {
    border-width: 4px;
    left: 0px;
    top: 5px;
    width: 45px;
    height: 45px;
}

@keyframes rotateAnim {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@-o-keyframes rotateAnim {
    from {
        -o-transform: rotate(360deg);
    }

    to {
        -o-transform: rotate(0deg);
    }
}

@-ms-keyframes rotateAnim {
    from {
        -ms-transform: rotate(360deg);
    }

    to {
        -ms-transform: rotate(0deg);
    }
}

@-webkit-keyframes rotateAnim {
    from {
        -webkit-transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes rotateAnim {
    from {
        -moz-transform: rotate(360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }
}
