@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Open Sans', sans-serif;
}

    body header {
        background-color: #F5F4F3 !important;
    }

        body header .dropdown:not(.nav-item) {
            border: 1px solid;
            border-radius: 0.375rem;
        }

:root {
    --primary-color: #1153b5;
    --lightGray-color: #e8e8e8;
    --darkGray-color: #a9a9a9;
    --pink-color: #ff0047;
    --green-color: #c9df25;
    --orange-color: #ff9900;
}

@media print {
    .no-print {
        display: none !important;
    }
}

tr[data-row-href] {
    cursor: pointer;
}

input:disabled, input:read-only {
    cursor: not-allowed;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    padding: 0.3rem;
}

.select2-container--default .select2-selection--single {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: var(--bs-border-radius) !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100%;
        top: 50%;
        transform: translateY(20%);
        right: 10px;
    }

.select2-dropdown {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: var(--bs-border-radius) !important;
}

.bg-primary {
    color: white !important;
    background-color: var(--primary-color) !important;
}

border-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.bg-light-gray {
    color: black !important;
    background-color: var(--lightGray-color) !important;
}

.bg-dark-gray, .btn-delay {
    color: black !important;
    background-color: var(--darkGray-color) !important;
}

.bg-green, .btn-vacation {
    color: black !important;
    background-color: var(--green-color) !important;
}

.bg-orange, .btn-sick {
    color: black !important;
    background-color: var(--orange-color) !important;
}

.bg-pink, .btn-notcoming {
    color: white !important;
    background-color: var(--pink-color) !important;
}


input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}

/* Select2 single & multiple */
.select2-container--default .select2-selection--single.input-validation-error,
.select2-container--default .select2-selection--multiple.input-validation-error {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}

label.required:after {
    content: " *";
    color: red;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    input,
    textarea,
    select {
        font-size: 16px;
    }

    table input,
    table select,
    table textarea {
        min-width: 100px;
    }

    table tr th, table tr td {
        text-wrap: nowrap;
    }
}

.form-select {
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2rem;
    direction: rtl;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.nav-link.active {
    font-weight: bold;
    color: var(--primary-color) !important;
}

html {
    position: relative;
    min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-white {
    color: white !important;
    border-color: white !important;
    background-color: transparent !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

input[type="checkbox"] {
    accent-color: var(--primary-color) !important;
}

.table {
    margin: 0;
}

.paint-table {
    overflow-x: auto;
}

    .paint-table thead tr th, .modal thead tr th {
        font-weight: normal;
        color: white !important;
        background-color: var(--primary-color) !important;
    }

thead tr th {
    font-weight: normal;
}

thead, tbody, td, tfoot, th, thead, tr {
    vertical-align: middle;
}

table tfoot tr, table tfoot tr th {
    border: 0 !important;
    background-color: transparent !important;
    font-weight: normal;
}

.modal-title {
    margin: 0;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

    .card .header {
        height: auto;
        color: white;
        padding: 15px;
        font-size: 18px;
        border-radius: 8px 8px 0 0;
        background-color: var(--primary-color);
    }

        .card .header h1, h2, h3, h4, h5 {
            margin: 0 auto;
        }

        .card .header h2 {
            font-size: 20px;
        }

    .card .body {
        height: 100%;
        padding: 20px;
        display: flex;
        overflow-x: auto;
        align-items: center;
        background-color: #F5F4F3;
    }

.btn-circle {
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
}

.btn-white {
    color: #000;
    background-color: white;
    border: 2px solid white;
}

    .btn-white:hover {
        color: #000;
        background-color: #f8f9fa;
    }
