﻿@font-face {
    font-family: 'main_font';
    src: url('../fonts/Cairo-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'main_font';
    font-weight: bold;
    src: url('../fonts/Cairo-VariableFont_wght.ttf') format('truetype');
}



#wrapper {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6, label, div, li, a, td, th, body, .badge {
    font-family: main_font;
}

h1, h2, h3, h4, h5, h6, label, td, th, .form-group {
    text-align: start;
}

body {
    overflow-y: overlay;
}

.card {
    margin-top: 15px !important;
}

.card-header {
    padding: 15px 15px 8px 15px !important;
}

/*.card, .card-body {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}*/

/*.card, .card-header {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
*/
.card.card-custom > .card-header {
    min-height: 35px !important;
}

.app-shadow {
    box-shadow: 0px 0px 11px 5px #c2c2c245;
}

/*.modal-content {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}*/

/*.app-radius {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
*/






.md-skin .nav > li.active > a {
    font-weight: 600 !important;
}


.select2-container--bootstrap4 .select2-selection {
    border-radius: 0px !important;
}



.checkbox-label {
    cursor: pointer;
}

.select2-selection.select2-selection--single {
    box-shadow: none !important;
}

.btn-min-width {
    min-width: 100px;
}

.form-control.input-validation-error {
    border-color: #f05050 !important;
}

.form-control.valid {
    border-color: green !important;
}


#page-wrapper {
    padding-bottom: 30px;
}

.wrapper .page-heading {
    background-color: white;
    margin-top: 5px;
    margin-bottom: 25px;
    padding-right: 20px;
    padding-left: 20px;
    border-top: 1px solid #1e1e2d29;
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn-xs, .btn-group-xs > .btn {
    padding: 0.25rem 0.65rem !important;
    font-size: 0.925rem;
    line-height: 1.35;
    border-radius: 0.42rem;
}

.modal-header {
    display: flex;
    -ms-flex-align: start;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: start;
    padding: 0.5rem 1.75rem !important;
}

    .modal-header .close {
        padding: 0 !important;
        margin: 0 !important;
    }


.badge-big {
    font-size: 14px;
    min-width: 100px;
}

@media(min-width: 768px) {
    .modal-md {
        max-width: 85% !important;
    }

    .modal-sm {
        max-width: 75% !important;
    }

    .modal-lg {
        max-width: 90% !important;
    }

    .wrapper #appbody {
        padding-top: 30px;
    }
}

@media(min-width: 1300px) {
    .modal-md {
        max-width: 70% !important;
    }

    .modal-sm {
        max-width: 30% !important;
    }

    .modal-lg {
        max-width: 75% !important;
    }
}


.font-1 {
    font-size: 12px !important;
}


.font-2 {
    font-size: 14px !important;
}


.font-3 {
    font-size: 16px !important;
}

.font-4 {
    font-size: 18px !important;
}

.font-5 {
    font-size: 20px !important;
}

a label {
    text-decoration: underline;
    cursor: pointer;
}


.width-50 {
    width: 50px !important;
}

.width-75 {
    width: 75px !important;
}

.width-100 {
    width: 100px !important;
}

.width-200 {
    width: 200px !important;
}

.width-300 {
    width: 300px !important;
}

.width-400 {
    width: 400px !important;
}

.driver-button, .print-driver-trip-button {
    height: 25px;
    line-height: 0;
}

.swal2-container {
    z-index: 10000000 !important;
}

.loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#loader, .loader-parent {
    background-color: #0000008a;
    position: fixed;
    z-index: 1000000000;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.loader-parent {
    position: absolute !important;
}

.loader-spinner {
    border: 4px solid #ffffff;
    border-radius: 50%;
    border-top: 4px solid #1884b7;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
    z-index: 100000000;
}

.loader-msg {
    z-index: 100000000;
    color: white;
    margin-top: 10px;
    font-size: 20px;
}

.loader-step {
    color: white;
    margin-top: 10px;
    font-size: 15px;
}

    .loader-step em {
        margin-right: 5px;
        margin-left: 5px;
        color: #ffeb3b;
    }

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.wizard > .steps a {
    text-align: center;
}




.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}


.booking-ticket-body {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 50px;
    padding: 8px;
    margin-right: 8px;
    margin-left: 8px;
    position: relative;
    box-shadow: 1px 1px 6px 0px #bebebe;
}

.booking-ticket .booking-ticket-body:not(:first-child) {
    margin-top: 25px;
}

.mouse-pointer {
    cursor: pointer;
}

span.select2-container--bootstrap4 .select2-selection--single {
    height: calc(1.5em + 1.3rem + 2px) !important;
}

    span.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
        line-height: calc(2.8em) !important;
    }

.form-group .select2-container--bootstrap4 .select2-selection__clear {
    height: 100%;
    line-height: 1.7em;
}

/*.select2-selection.select2-selection--single, .select2-selection__rendered {
    border-bottom-left-radius: 0.42em !important;
    border-bottom-right-radius: 0.42em !important;
    border-top-left-radius: 0.42em !important;
    border-top-right-radius: 0.42em !important;
}
*/

/*.select2-container--above.select2-container--open .select2-selection.select2-selection--single, .select2-container--above.select2-container--open .select2-selection__rendered {
    border-bottom-left-radius: 0.42em !important;
    border-bottom-right-radius: 0.42em !important;
    border-top-left-radius: 0.1em !important;
    border-top-right-radius: 0.1em !important;
}

.select2-container--below.select2-container--open .select2-selection.select2-selection--single, .select2-container--below.select2-container--open .select2-selection__rendered {
    border-top-left-radius: 0.42em !important;
    border-top-right-radius: 0.42em !important;
    border-bottom-left-radius: 0.1em !important;
    border-bottom-right-radius: 0.1em !important;
}
*/
.select2-search--dropdown .select2-search__field {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.form-group > label:first-child {
    padding-right: 10px;
}


.tooltip {
    pointer-events: none;
}


.fhd-width {
    max-width: 1920px !important;
}


.bn-news ul li a {
    color: black !important;
}

.bn-news {
    background-color: #f1f1f1;
}


.select2-container--disabled .select2-selection__rendered {
    background-color: white;
}

.card-header {
    color: #1e8bbb;
}
/*
thead.bg-primary {
    background-color: unset !important;
}*/

/*html[direction=rtl] .table > thead.bg-primary:first-child > tr:first-child > th:first-child {
    border-top-right-radius: calc(0.475rem - 1px) calc(0.475rem - 1px);
    border-width: 2px !important;
}

html[direction=rtl] .table > thead.bg-primary:first-child > tr:last-child > th:last-child {
    border-top-left-radius: calc(0.475rem - 1px) calc(0.475rem - 1px);
    border-width: 2px !important;
}
*/
/*.table > thead.bg-primary > tr:first-child > th {
    background-color: #3282B8 !important;
    color: white;
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-right-width: 1px;
    border-left-width: 1px;
    border-top: 1px solid #3282B8;
}*/

/* .table > thead.bg-primary > tr:first-child > th:first-child {
        border-right: 1px solid #3282B8;
    }

    .table > thead.bg-primary > tr:first-child > th:last-child {
        border-left: 1px solid #3282B8;
    }
*/


/*html[direction=ltr] .table > thead.bg-primary:first-child > tr:first-child > th:first-child {
    border-top-left-radius: calc(0.475rem - 1px) calc(0.475rem - 1px);
}

html[direction=ltr] .table > thead.bg-primary:first-child > tr:last-child > th:last-child {
    border-top-right-radius: calc(0.475rem - 1px) calc(0.475rem - 1px);
}
*/


/*.table.border {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}*/

.fixed-header thead tr:nth-child(1) th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: inherit;
}

.fixed-header thead tr:nth-child(1) {
    background-color: inherit;
}

.table-center td, .table-center th {
    text-align: center;
}

/*table.table.border.dataTable td:last-child {
    border-right-width: 1px !important;
}

table.table.border.dataTable th, table.table.border.dataTable td {
    border-bottom-width: 1px !important;
}*/

td, th {
    vertical-align: middle !important;
}

    td .form-group, th .form-group {
        margin-bottom: 0 !important;
    }

    thead.bg-success th, thead.bg-primary th, thead.bg-warning th,
    td.bg-success, td.bg-primary, td.bg-warning, td.bg-danger, td.bg-info, tr.bg-success, tr.bg-success:hover {
        color: white !important;
    }

/*.table thead:not(.bg-primary), .table thead:not(.bg-primary) th {
    background-color: white;
}*/

div:focus {
    outline: 0px solid transparent;
}

/*.table-hover tbody tr:hover {
    transition: background-color 0.1s;
}*/

.label {
    width: auto;
    background-color: transparent;
}

.table-responsive {
    position: relative;
}

*:disabled {
    cursor: not-allowed !important;
}


#toast-container > div {
    padding: 15px 50px 15px 50px !important;
}



.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-label-group input,
    .form-label-group label {
        padding: .75rem;
    }

    .form-label-group label {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        margin-bottom: 0; /* Override default `<label>` margin */
        line-height: 1.5;
        color: #495057;
        pointer-events: none;
        cursor: text; /* Match the input under the label */
        border: 1px solid transparent;
        border-radius: .25rem;
        transition: all .1s ease-in-out;
    }

    .form-label-group input::-webkit-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-moz-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::placeholder {
        color: transparent;
    }

    .form-label-group input:not(:-moz-placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-ms-input-placeholder) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-moz-placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:-ms-input-placeholder) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:placeholder-shown) ~ label {
        padding-top: .15rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:-webkit-autofill ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
    .form-label-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

        .form-label-group label {
            position: static;
        }

        .form-label-group input::-ms-input-placeholder {
            color: #777;
        }
}


*::-webkit-scrollbar {
    background-color: #fff;
    width: 16px
}

/* background of the scrollbar except button or resizer */
*::-webkit-scrollbar-track {
    background-color: #fff
}

    *::-webkit-scrollbar-track:hover {
        background-color: #f4f4f4
    }

/* scrollbar itself */
*::-webkit-scrollbar-thumb {
    background-color: #babac0 !important;
    border-radius: 16px !important;
    border: 5px solid #fff !important;
}

    *::-webkit-scrollbar-thumb:hover {
        background-color: #a0a0a5;
        border: 4px solid #f4f4f4
    }

/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {
    display: none
}

.form-control:focus {
    box-shadow: 0px 0px 2px 0px #9c9c9c !important;
}


.list-enter-active {
    animation: add-item 0.5s;
}

.list-leave-active {
    position: absolute;
    animation: add-item 0.5s reverse;
}

.list-move {
    transition: transform 0.5s;
}

@keyframes add-item {
    0% {
        opacity: 0;
        transform: translateX(150px);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-10px) skewX(20deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.fade-enter-active,
.fade-leave-active {
    transition: all 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
    transition: all 0.5s ease;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: inherit !important;
}

#kt_aside_menu_wrapper::-webkit-scrollbar {
    background-color: transparent !important;
}

/* background of the scrollbar except button or resizer */
#kt_aside_menu_wrapper::-webkit-scrollbar-track {
    background-color: initial !important;
}

    #kt_aside_menu_wrapper::-webkit-scrollbar-track:hover {
        background-color: initial !important;
    }

/* scrollbar itself */
#kt_aside_menu_wrapper::-webkit-scrollbar-thumb {
    background-color: gray !important;
    border-radius: initial !important;
    border: initial !important;
}

    #kt_aside_menu_wrapper::-webkit-scrollbar-thumb:hover {
        background-color: initial !important;
        border: initial !important;
    }

/* set button(top and bottom of the scrollbar) */
#kt_aside_menu_wrapper::-webkit-scrollbar-button {
    display: initial !important;
}


.main-menu > .menu-item {
    padding-right: 20px !important;
    padding-left: 10px !important;
}

.main-menu > .menu-item {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}



.main-menu * {
    transition: background-color 0.2s ease-in-out !important;
}

.form-group {
    margin-bottom: 2rem;
}

    .form-group label {
        margin-bottom: 0.5rem;
    }


.main-menu > .menu-item > .menu-link > .menu-title {
    font-weight: bold !important;
}


.menu-item.menu-accordion.hover.show, .menu-item.menu-accordion.hover.showing {
    background-color: #11111b
}


.select2-search--dropdown {
    padding: 4px !important;
}


.input-icon.input-icon-right span {
    left: 0 !important;
    right: auto !important;
    position: absolute;
    bottom: 0;
    margin-bottom: 0 !important;
}


.form-select {
    padding: 0.90rem 1rem 0.80rem 3rem !important;
    font-size: 1rem;
}

.aside-menu .menu .menu-item .menu-link.active {
    transition: color 0.2s ease, background-color 0.2s ease;
    background-color: #009EF7;
    color: #ffffff;
    border-radius: 8px;
}

.menu-sub-accordion {
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-group-toggle > .btn input[type="radio"], .btn-group-toggle > .btn input[type="checkbox"], .btn-group-toggle > .btn-group > .btn input[type="radio"], .btn-group-toggle > .btn-group > .btn input[type="checkbox"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
    color: #ffffff;
}

.btn-outline:hover, .btn-outline:active, .btn-outline.active {
    color: #ffffff;
}


ul[role=tablist]:not(.justify-content-center) {
    justify-content: unset !important;
}


.form-group label {
    font-size: 1.05rem;
}


[type="tel"], [type="url"], [type="email"], [type="number"] {
    text-align: center;
}


.table th:first-child {
    border-top-right-radius: 5px;
}

.table th:last-child {
    border-top-left-radius: 5px;
}

.table-bordered td, .table-bordered th {
    border-width: 1px 1px !important;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}


.table tfoot tr:last-child th, .table tfoot tr:last-child td, .table tbody tr:last-child th, .table tbody tr:last-child td {
    border-bottom-width: 1px !important;
    border-bottom-color: #EFF2F5 !important;
    border-bottom-style: solid !important;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 0.75rem !important;
}


th {
    font-weight: bold !important;
}


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 {
    content: '' !important;
    opacity: 1 !important;
}


span::-webkit-scrollbar, ol::-webkit-scrollbar, ul::-webkit-scrollbar, pre::-webkit-scrollbar, div::-webkit-scrollbar {
    width: initial !important;
    height: initial !important;
}


#kt_aside_menu_wrapper::-webkit-scrollbar-thumb {
    background-color: #292941 !important;
    border-radius: 8px !important;
}

.tabs.lines-tab.row, .tabs.row.no-gutters {
    margin: 0 !important;
}

.table-hover > tbody > tr:hover {
    background-color: var(--bs-table-hover-bg);
    --bs-table-accent-bg: unset;
}


@media (min-width: 992px) {
    .aside .aside-logo {
        height: 65px !important;
    }
}
