/**==================== [1] Font  ======================**/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*Default Css Start*/
html[dir="rtl"] .form-floating>label {
    left: unset;
    right: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Noto Sans Hebrew', sans-serif;

}

html[dir="rtl"] .form-floating>.form-control:focus~label, html[dir="rtl"] .form-floating>.form-control:not(:placeholder-shown)~label, html[dir="rtl"] .form-floating>.form-select~label {
    opacity: .8;
    transform: scale(1) translateY(-0.8rem) translateX(0);
}

html[dir="rtl"] .form-select {
    padding-left: 2.25rem;
    padding-right: 0.75rem;
    background-position: left .75rem center;
}

.form-datepicker {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23003399' viewBox='0 0 16 16'%3E%3Cpath d='M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z'/%3E%3Cpath d='M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 18px center;
    font-size: 16px;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23003399' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.required {
    color: #f04;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 6px;
    display: block;
}

.form-floating>label {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0px;
}

.form-control, .form-select {
    background-color: #FFFFFF;
    border-color: rgba(0,0,0,.25);
    font-size: 18px;
    font-weight: 500;
    color: #000000;
}

.card-heading .title {
    color: #23293f;
    font-size: 34px;
    font-weight: 600;
}
.card-heading .title-lg {
    font-size: 64px;
}
.card-heading .subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #959595;
}

.card-heading .subtitle-lg {
    font-size: 26px;
}

.loading {
    overflow: hidden;
    position: relative;
}

.loading:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: #003399;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 10;
}
.loading:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    background: rgba(200, 200, 200, 0.5);
    z-index: 9;
}

.btn-loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-style: solid;
    border-color: #ffffff;
    border-top-color: transparent;
    border-width: 2px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 0;
    bottom: 0;
    margin: auto 8px -3px 0;
}

.btn-loading.btn-primary:hover:after, .btn-loading.btn-primary:focus:after, .btn.btn-loading.disabled::after, .btn.btn-loading:disabled::after, fieldset:disabled .btn.btn-loading::after {
    border-color: #003399;
    border-top-color: transparent;
}

.loading .form-card, .loading .card-table {
    /* opacity: 0.6; */
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(3px);
    pointer-events: none;
}

.form-floating>label.error {
    position: absolute;
    bottom: -23px;
    padding: 0;
    height: auto;
    top: unset;
    font-size: 14px;
    color: #f00;
    transform: none !important; 
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.btn {
    padding: 10px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    border-width: 2px;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #003399;
    --bs-btn-border-color: #003399;
    --bs-btn-hover-color: #003399;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #003399;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #003399;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #003399;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #003399;
    --bs-btn-disabled-bg: #ffffff;
    --bs-btn-disabled-border-color: #003399;
}

.btn-outline-secondary {
    --bs-btn-color: #003399;
    --bs-btn-border-color: #f2f3f4;
    --bs-btn-hover-color: #003399;
    --bs-btn-hover-bg: #f2f3f4;
    --bs-btn-hover-border-color: #003399;
    --bs-btn-focus-shadow-rgb: 108,117,125;
    --bs-btn-active-color: #003399;
    --bs-btn-active-bg: #f2f3f4;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5pxrgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f2f3f4;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f2f3f4;
    --bs-gradient: none;
}

html[dir="rtl"] .form-check-inline:first-child {
    margin-right: 0px;
}

.card-thank-you {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.card-thank-you .title {
    color: #000000;
    font-size: 34px;
    font-weight: 600;
}
.card-thank-you .title-lg {
    font-size: 44px;
}
.card-thank-you .subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #959595;
}

.form-card {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.form-check {
    display: flex;
    flex-wrap: wrap;
}

.form-check-inline {
    display: inline-flex;
}

.form-check-label {
    color: #000;
    font-weight: 500;
    font-size: 16px;
    display: block;
    width: calc(100% - 1.5em);
    padding-right: 5px;
}

.form-check .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.form-check label.error {
    order: 3;
    width: 100%;
    font-size: 14px;
    color: #f00;
}

html[dir="rtl"] .form-check {
    padding-right: 1.5em;
    padding-left: 0;
}

html[dir="rtl"] .form-check .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

.form-check-input:checked {
    background-color: #003399;
    border-color: #003399;
}

.datepicker.dropdown-menu {
    font-family: 'Noto Sans Hebrew', sans-serif;
    border: solid 2px #f2f3f4;
    padding: 15px;
    min-width: 260px;
}

.datepicker-dropdown:before {
    border-bottom: 7px solid #f2f3f4;
}

.datepicker-dropdown.datepicker-orient-bottom:before {
    border-top: 7px solid #f2f3f4;
}

.datepicker.dropdown-menu th, .datepicker.dropdown-menu td {
    padding: 6px 10px;
    font-size: 14px;
    height: 35px;
    width: 35px;
    border-radius: 12px;
    font-weight: 500;
}

.datepicker table {
    width: 100%;
}

.datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active[disabled], .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td.active:hover, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active:active, .datepicker table tr td.active:hover:active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active[disabled], .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active.disabled:hover[disabled] {
    background-color: #003399;
    background-image: none;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #003399;
    border-color: transparent;
    color: #fff;
}

.datepicker table tr td span {
    height: 45px;
    line-height: 45px;
}

.datepicker table tr td.day:hover, .datepicker table tr td.day.focused {
    background: #f7f7f8;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

.card {
    --bs-card-spacer-y: 1.3125rem;
    --bs-card-spacer-x: 1.3125rem;
    --bs-card-title-spacer-y: 0.25rem;
    --bs-card-border-width: 0.0625rem;
    --bs-card-border-color: rgba(231, 234, 243, 0.7);
    --bs-card-border-radius: 0.75rem;
    --bs-card-box-shadow: 0rem 0.375rem 0.75rem rgba(140, 152, 164, 0.075);
    --bs-card-inner-border-radius: 0.6875rem;
    --bs-card-cap-padding-y: 1.3125rem;
    --bs-card-cap-padding-x: 1.3125rem;
    --bs-card-cap-bg: transparent;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1.3125rem 1.3125rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.card {
    box-shadow: 0 0.375rem 0.75rem rgb(140 152 164 / 8%);
}

.card-title {
    font-size: 18px;
}

.card-header:first-child {
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

.table thead th {
    color: #677788;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: pre-wrap;
}

.card-table {
    margin-bottom: 0px;
}

.table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(231, 234, 243, 0.7);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: #f9fafc;
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(231, 234, 243, 0.4);
    width: 100%;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.table-thead-bordered>:not(:last-child)>:last-child>* {
    border-top: 0.0625rem solid rgba(231,234,243,.7);
    border-bottom: 0.0625rem solid rgba(231,234,243,.7);
}

.table>:not(caption)>*>* {
    padding: 0.75rem 0.75rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 0.0625rem;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.thead-light th {
    background-color: #f8fafd;
}

.card .card-header+.table .table-thead-bordered>:not(:last-child)>:last-child>*, .card .card-header+.table-responsive .table-thead-bordered>:not(:last-child)>:last-child>* {
    border-top: 0.0625rem solid rgba(231,234,243,.7);
}

.card table tr th {
    font-weight: 400;
}

.card .card-table>:not(caption)>*>* {
    padding-right: 1.3125rem;
    padding-left: 1.3125rem;
}

/*.card .card-table>tbody>tr:first-child>td {
    padding-top: 1.3125rem;
}*/

/*.card .card-table>tbody>tr:last-child>td {
    padding-bottom: 1.3125rem;
}*/

.card .card-table tbody tr td {
    border-bottom: none;
}

.checkmark-icon svg {
    width: 30px;
    height: 30px;
}

/*Default Css End*/
.navbar-brand {
    font-size: 48px;
    font-weight: 600;
}

.navbar-brand img {
    max-width: 150px;
}

.navbar {
    border-bottom: solid 2px#f2f3f4;
}

.form-card .card-body {
    border: solid 2px #f2f3f4;
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 1.5rem;
    background-color: #eceff6;
}

.list-detail {
    margin: 0 -1.5rem;
    background-color: transparent;
}

.list-detail li {
    border: none;
    border-bottom: solid 1px #ffffff;
    padding: 10px 40px;
    background-color: transparent;
}

.list-detail li:first-child {
    padding-top: 0px;
}

.list-detail li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.list-detail li .title {
    color: #23293f;
}

.list-detail li .value {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.auth-form_section, .table-section {
    flex: 1 0 auto;
}
.filter-shifts {
    font-size: 14px;
}
.form-select:focus {
    box-shadow: none;
}

/*.custom-table, th, td, thead {
  border: 1px solid black;
  border-collapse: collapse;
}
*/

.custom-table, .custom-table th, .custom-table td {
  border: 1px solid var(--bs-table-border-color);
  border-collapse: collapse;
}

.table-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.today-shifts__table {
    padding:0px;
}

.main-footer {
    border-top: solid 2px#f2f3f4;
    padding-top: 30px;
    padding-bottom: 20px;
}

.main-footer__content p {
    color: #000;
    font-weight: 500;
    font-size: 16px;
}


.card-table .form-control {
    width: 100%;
    max-width: 300px;
}

.today-shifts__table .card-header {
    position: sticky;
    top: 0;
    z-index: 6515;
    background-color: #fff;
    --bs-card-cap-padding-y: 5px;
    border-radius: 0;
}

.today-shifts__table .table-responsive {
    height: calc(100vh - 60px);
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.today-shifts__table .table-responsive::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.today-shifts__table  .table>thead {
    background-color: #fff;
}

.today-shifts__table  .table>thead tr th, .today-shifts__table  .table>thead tr td {
    position: sticky;
    top: 0;
    z-index: 1111;
}

.today-shifts__table  thead tr, .today-shifts__table  .table>thead tr td {
    background-color: #fff;
}

.today-shifts__table  .table>thead:after {
    content: "";
    position: absolute;
    height: 78px;
    left: 0;
    right: 0;
    bottom: 0px;
    top: 0px;
    background-color: #eef0f7;
    z-index: 9;
}
.today-shifts__table thead tr:first-child th {
    vertical-align: middle;
}
.today-shifts__table thead tr:last-child th {
    width: 100px;
}
.card .custom-table table thead tr:first-child td {
    width: 130px;
    font-size: 15px;
}
.card .custom-table tbody tr {
    border-bottom: 1px solid var(--bs-table-border-color);
}
.card .custom-table tr th {
    font-size: 12px;
}
.card .custom-table>:not(caption)>*>* {
    padding-top: 3px;
    padding-bottom: 3px;
}
.card .custom-table tbody tr td {
    padding: 0px 15px;
    font-size: 12px;
}
.card .custom-table tbody tr:first-child td {
    width: 130px;
}

.today-shifts__table .card .custom-table tbody {
    position: relative;
}

.today-shifts__table .card .custom-table tbody:after {
    content: "";
    position: absolute;
    width: 142px;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0px;
    top: 0px;
    background-color: #eef0f7;
    z-index: 9;
}

.today-shifts__table .card .custom-table tbody tr td {
    padding-left: 0;
    padding-right: 0;
    width: max-content;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
}

.today-shifts__table .card .custom-table tbody tr td:first-child {
    padding-left: 5px;
    padding-right: 5px;
    border-left: solid 1px #000;
    position: sticky;
    right: 0;
    z-index: 1120;
    background-color: #FFFFFF;
}

.today-shifts__table .card .custom-table tbody tr td:nth-child(2) {
    border-bottom: solid 1px #000000;
    border-left: solid 1px #000000;
}

.today-shifts__table .custom-table {
    table-layout: fixed;
    width: 1894px;
}

.today-shifts__table .table>thead td:first-child {
    width: 142px;
    padding-left: 15px;
    padding-right: 15px;
    vertical-align: middle;
    position: sticky;
    right: 0;
    z-index: 1121;
    background-color: #FFFFFF;
}

.today-shifts__table thead tr:first-child th:nth-child(2) {
    white-space: nowrap;
}

.today-shifts__table thead tr:last-child th {
    padding-left: 5px;
    padding-right: 5px;
    min-width: 100px;
    width: 100px;
    max-width: 100px;
    white-space: nowrap;
}

.shift-list {
    position: relative;
    min-height: 20px;
    z-index: 1;
}

.shift-list-item {
    position: absolute;
    display: inline-block;
}

.shift-list-item__child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: solid 1px transparent;
    padding-left: 5px;
    padding-right: 5px;
}

.today-shifts__table .custom-table thead tr:last-child th {
    font-weight: bold;
    color: #000000;
} 

.list-shifts-border {
    position: absolute;
    display: flex;
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.list-shifts-border li {
    flex: 1;
    padding-left: 5px;
    padding-right: 5px;
    border-left: solid 1px #000;
    font-size: 0;
}

.list-shifts-border li:last-child {
    border-left: none;
}

/*Login page*/
.login-form {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.login-form .card {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
}
.error {
    color: #ef2a2a;
    position: fixed;
    font-size: 14px;
}
.form-control:focus , .btn-check:focus+.btn, .btn:focus { 
    box-shadow: unset;
}

.today-shifts__table .custom-table thead tr:last-child th:last-child:before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: 0;
    width: 1px;
    background-color: rgba(231, 234, 243, 1);
    z-index: 4;
}



/* @media(max-width: 1400.98px) {
    .today-shifts__table thead tr:last-child th {
        min-width: 30px;
        width: 50px;
        max-width: 50px;
    }
} */

@media(max-width: 767.98px) {
    .today-shifts__table .table>thead:after {
        height: 85px;
    }
}