﻿.float-right {
    float: right !important;
}

.bg-primary {
    background-color: #2c3c87 !important;
}

.no-scroll {
    scrollbar-width: none !important;
}

h4 {
    padding: 6px 12px !important;
    background-color: #e2e6ea !important;
    color: #333 !important;
    text-align: center !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    margin-bottom: 15px !important;
    border-bottom: #87b2ff 3px solid !important;
}

.grid-header {
    padding: 8px !important;
    background-color: #d0d4d7 !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: bold !important;
}

th {
    font-weight: normal !important;
    font-size: 14px !important;
}

.required::after {
    content: "*";
    color: red;
    margin-left: 5px;
    font-size: 1em;
    font-weight: 600;
}

.required-label::after {
    content: "*";
    color: red;
    margin-left: 5px;
    font-size: 1em;
    font-weight: 600;
}

.header-td {
    background-color: #d0d4d7 !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: bold !important;
}

.font-bold {
    font-weight: 600 !important;
}

.suggestion-list-box {
    position: absolute;
    z-index: 1000;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 150px;
    overflow-y: auto;
    min-width: 100%;
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

    .suggestion-list-box .list-group-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        color: black;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: none;
        margin: 0;
    }

        .suggestion-list-box .list-group-item:hover {
            background-color: whitesmoke;
            color: white;
        }

.confirm-box {
    top: 50px;
    max-width: 450px;
    min-height: 250px;
    padding: 15px;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .confirm-box h5 {
        text-align: center;
        font-weight: 600;
        font-size: 1.3rem;
    }

    .confirm-box .message {
        color: #000dff;
        font-weight: 400;
        font-size: 1rem;
        text-align: center;
    }

    .confirm-box .question {
        color: #808080;
        font-weight: 400;
        font-size: 1rem;
        text-align: center;
    }


.markdown > table thead th, .table thead th {
    font-weight: 500 !important;
    text-transform: none !important;
}

.custom-bordered-table td, .custom-bordered-table th {
    border: 1px solid #ddd !important; /* Customize the color and thickness as needed */
}

#ckbCheckAll {
    display: inline-block !important;
    margin: 0 auto !important;
    transform: scale(1.2) !important;
}

#select_emp {
    display: inline-block !important;
    margin: 0 auto !important;
    transform: scale(1.2) !important;
}

.passphoto-img {
    max-width: 40px !important;
    max-height: 36px !important;
    min-width: 40px !important;
    min-height: 36px !important;
}

.modal-header {
    background-color: #007bff;
    color: white;
}

.font-14 {
    font-size: 14px !important;
}

.font-20 {
    font-size: 20px !important;
}

.br-20 {
    border-radius: 0.5rem !important;
}

.btn-outline-white {
    background-color: white;
    color: #1a1a1a;
    border: 1px solid #d0d0d0;
}

    .btn-outline-white:hover,
    .btn-check:checked + .btn-outline-white {
        background-color: #f0f0f0;
        border-color: #007bff;
        color: #007bff;
        font-weight: 600;
    }

.data-list-error-td {
    background: #fff0eb !important;
    text-align: center !important;
    color: #ff0000 !important;
    font-weight: 500 !important;
}


/********************** Entry table Style **********************/

.entry_table .table {
    font-size: 0.9rem;
}

    .entry_table .table th {
        vertical-align: middle;
    }

    .entry_table .table td {
        vertical-align: middle;
        padding: 0px 2px;
    }

.entry_table .btn-square {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.entry_table .totals-section {
    font-size: 0.9rem;
    color: #333;
}

    .entry_table .totals-section .fw-bold {
        font-weight: 600;
    }

    .entry_table .totals-section .form-control-sm {
        width: 100px;
    }

.entry_table .text-end {
    text-align: right;
}

.entry_table button .btn-success {
    background-color: #28a745;
    border: none;
}

.entry_table button .btn-danger {
    background-color: #dc3545;
    border: none;
}

.entry_table .equal-height {
    height: 38px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

/********************* Gridview Container Style *********************/

.gv-container {
    min-height: auto;
    margin: 0px;
    overflow: scroll !important;
    scrollbar-width: thin;
    border-radius: 0.5rem;
    /*border: 1px solid #dee2e6;*/
    padding: 0 !important;
}

.gvc-150 {
    max-height: 150px !important;
}

.gvc-200 {
    max-height: 200px !important;
}

.gvc-250 {
    max-height: 250px !important;
}

.gvc-300 {
    max-height: 300px !important;
}

.gvc-350 {
    max-height: 350px !important;
}

.gvc-400 {
    max-height: 400px !important;
}

.gvc-450 {
    max-height: 450px !important;
}

.gvc-500 {
    max-height: 500px !important;
}

.table-gv {
    font-size: 0.75rem;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
    margin: 0 !important;
}

    .table-gv th,
    .table-gv td {
        padding: 0.28rem 0.45rem;
        vertical-align: middle;
        border: .5px solid #dee2e6;
        font-size: 0.75rem !important;
    }

    .table-gv th {
        position: sticky;
        top: 0;
        z-index: 2;
        background-color: #f3f3f3 !important;
        color: #495057 !important;
        font-weight: bold !important;
    }

    .table-gv td {
        background-color: #fff;
    }

    .table-gv tr:hover {
        background-color: #f1f3f5 !important;
    }

/********************* Media Style *********************/

@media (min-width:360px) {
    .thank-you h1 {
        font-size: 4.5em;
    }

    .thank-you .go-home {
        margin-bottom: 20px;
    }
}

@media (min-width:600px) {
    .thank-you .content {
        max-width: 1000px;
        margin: 0 auto;
    }

    .thank-you .wrapper-1 {
        height: initial;
        max-width: 620px;
        margin: 0 auto;
        margin-top: 50px;
        box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
    }
}
