html, body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color-light);
}

a, .btn-link {
    color: #006bb7;
}
.nav-link {
    color:var(--primary-color-dark);
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--primary-color-dark);
}
.form-control,.form-select {
    border-color: rgba(var(--main-color),0.5) !important;
}
.text-primary {
    color: rgba(var(--main-color),1) !important;
}
.btn-primary {
    color: #fff;
    background-color: var(--primary-color-dark);
    border-color: rgba(var(--main-color),0.9);
}
.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 rgb(var(--main-color));
}
.btn-primary:focus, .btn-primary:hover, .btn-primary:active:focus {
    background-color: rgb(var(--main-color));
}
.border-color {
    border-color: rgba(var(--color),0.3) !important;
}

#img-status-id {
    fill: var(--mainColor);
}
.login-section form {
    min-height:100%;
}
.report-toolbar {
    min-height: 3rem;
    
}
.report-toolbar .pagination {
    --bs-pagination-color: #fff !important;
    --bs-pagination-bg: transparent !important;
    --bs-pagination-active-bg: var(--primary-color-dark) !important;
    --bs-pagination-disabled-bg: transparent !important;
    --bs-pagination-disabled-border-color: transparent !important;
}
    /* typical phone screen resolution */
    @media only screen and (max-width : 667px) {
        .login-section {
            padding: 0.1em 0 !important;
        }

        .bg-login {
            border-end-end-radius: unset !important;
            border-top-right-radius: unset !important;
            margin: unset !important;
        }
    }
    /* landscape orientation */
    @media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : landscape) {
    }
    /* portrait orientation */
    @media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : portrait) {
    }

    .text-bg-login {
        background-color: rgba(var(--color),1) !important;
        text-shadow: -3px 1px black;
        border-radius: 5px;
    }

    .text-bg-login-secondary {
        border-radius: 5px;
        background: var(--primary-color-light);
        color: var(--primary-color-dark);
    }

    .card-header {
        background-color: rgba(var(--main-color),0.11) !important;
    }

    .card-h-100 {
        height: calc(100% - 1.5rem);
    }

    .card .card-body .img-bg {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }

    .card-body {
        position: relative;
        overflow: hidden;
    }

    .bg-login {
        background-color: var(--primary-color-dark) !important;
        margin-left: -5px;
        margin-top: 5px;
        margin-bottom: 5px;
        text-align: center;
        border-end-end-radius: 25%;
        border-top-right-radius: 25%;
    }

    span.emoji {
        font-size: 50px;
        /* border-radius: 50%;*/
        height: 6rem;
        width: 6rem;
        background-color: rgba(var(--color),0.1) !important;
        margin-right: .75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-text-fill-color: initial;
        /* background-color: var(--primary-color-dark);*/
        color: var(--primary-color-dark);
        border-radius: 50%;
    }

    .top-menu-manage {
        justify-content: flex-end !important;
        height: 3.5rem;
        display: flex;
        align-items: center;
    }

        .top-menu-manage form {
            padding: 10px;
        }


    .content {
        padding-top: 1.1rem;
    }

    h1:focus {
        outline: none;
    }

    .valid.modified:not([type=checkbox]) {
        outline: 1px solid #26b050;
    }

    .invalid {
        outline: 1px solid #e50000;
    }

    .validation-message {
        color: #e50000;
    }

    .blazor-error-boundary {
        background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1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4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

        .blazor-error-boundary::after {
            content: "An error has occurred."
        }

    .darker-border-checkbox.form-check-input {
        border-color: #929292;
    }

    .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;
    }


    .report-container {
        max-width: 900px;
        margin: auto;
        border: 1px solid #ccc;
        padding: 30px;
    }

    .report-header {
        text-align: center;
        margin-bottom: 20px;
    }

        .report-header h1 {
            margin: 0;
            font-size: 24px;
            text-transform: uppercase;
        }

        .report-header .subtitle {
            font-size: 14px;
            color: #555;
        }

    .report-meta {
        margin-bottom: 20px;
        font-size: 13px;
    }

        .report-meta td {
            padding: 5px;
        }

    .card table {
        margin-top: unset;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

        table th,
        table td {
            border: 1px solid #000;
            padding: 8px 12px;
            font-size: 13px;
        }

        table th {
            background-color: rgba(var(--main-color),0.08) !important;
            text-align: left;
        }

        table tfoot th, table tfoot td {
            font-weight: bold;
            background-color: rgba(var(--bs-secondary-rgb),0.08) !important;
        }

    .signature-section {
        margin-top: 60px;
        display: flex;
        justify-content: space-between;
    }

    .signature {
        width: 40%;
        text-align: center;
    }

        .signature .line {
            border-top: 1px solid #000;
            margin-top: 60px;
        }

    @media print {
        .modal, .modal-dialog, .modal-lg, .modal-content, .modal-body{
            border: unset !important;
        }
        .modal-header {
            display: none !important;
        }
        body {
            margin: 0;
        }

        .report-container {
            border: none;
            padding: 0;
        }

        .no-print {
            display: none;
        }
    }

    .nav-item form {
        background: unset;
        margin: unset;
        padding: unset;
        border-radius: unset;
        box-shadow: unset;
    }

    form {
        max-width: 100%;
        background: #fff;
        margin: auto;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    /*#FilterOptions*/
    .iscollapsed, #filterOptions {
        display: none;
    }

        .iscollapsed:target, #filterOptions:target {
            display: block;
        }

            .iscollapsed:target::after, #filterOptions:target::after {
                display: none;
            }
    /*#End*/
    /*Print CSS*/
    @media print {
        .table-responsive {
            border: unset !important;
        }

        .shadow {
            box-shadow: unset !important;
        }

        .pagination, .report-toolbar {
            display: none;
        }

        .navbar-brand-text {
            padding: 10px;
        }

        html, body {
            background-color: unset;
        }

        .gridHeader > .gridCell {
            color: black !important;
            border: 1px;
        }

        .table-responsive {
            overflow: unset !important;
            overflow-x: unset !important;
        }

        .container {
            padding: unset !important;
            margin: unset !important;
            min-width: 100% !important;
        }

        .Current-page .col-8 {
            width: 100%;
        }

        .Current-page {
            text-align: center;
            min-width: 100% !important;
            min-height: unset;
            color: black;
            text-align: left;
            border-bottom: unset;
        }

            .Current-page p {
                display: none;
            }

            .Current-page h4 {
                color: black;
                margin: unset;
                text-align: center;
            }

        main {
            min-width: 100% !important;
            overflow: unset;
            height: unset !important;
            min-height: 95vh;
        }

        .modal-backdrop.show {
            opacity: 0;
        }

        .sidebar, .bb-top-row,
        .bb-sidebar, .navbar, .top-row {
            display: none !important;
        }

        .modal-lg, .modal-dialog {
            min-width: 100% !important;
            margin: 0 !important;
        }

        #multiForm {
            display: block !important;
        }

        form {
            display: none !important;
        }

        #showDetail {
            display: none;
        }

        .overlay {
            background-color: white;
        }

        .popup {
            width: 100% !important;
        }

        button {
            display: none !important;
        }

        .Main-content {
            min-width: 100% !important;
        }





        .navTitle, .Current-page {
            min-width: 100%;
            text-align: center;
        }

            .navTitle span {
                overflow: visible;
            }



            .navTitle span {
                margin-top: 40px;
                margin-bottom: 0px;
                font-size: 36px;
                font-weight: 900;
                color: #000;
            }
    }
    /*End*/
    /*Grid Form*/
    .gridForm {
        border: unset;
        background: unset;
        margin: unset;
        padding: unset;
        box-shadow: unset;
        border-radius: unset;
    }

    .gridDetail {
        margin-left: 5px;
        margin-right: 5px;
        background-color: white;
    }

    .gridDetail {
        border-right: 1px solid;
        border-right-width: thin;
        border-right-color: rgba(var(--color),0.30);
    }
    /*.gridCell {
    border-left: 1px solid;
    border-bottom: 1px solid rgba(var(--color),0.30);
    border-left-color: rgba(var(--color),0.30);
    border-left-style: solid;
    border-left-width: thin;
}*/


    .gridCell input {
        padding: unset !important;
        border: unset !important;
        height: unset !important;
    }
    /*.gridHeader {
    font-weight: bold;
    background-color: var(--mainColor) !important;
    margin-left: 5px;
    margin-right: 5px;
}*/
    /*  .gridHeader > .gridCell {
        border: unset;
        color: white;
        padding: 6px;
        background-color: transparent !important;
        font-weight: 600;
    }*/

    .gridSubtotal {
        border: 1px solid;
        border-color: rgba(var(--main-color),0.30);
        background-color: white;
        width: 250px;
        float: right;
        margin-right: 5px;
        margin-top: 10px;
        padding: 10px;
    }
    /*End*/

    .login-section {
        padding: 7em 0;
    }

        .login-section .row > * {
            padding: 0;
        }

    .bb-sidebar-top-row {
        height: 3.5rem;
        background-color: var(--primary-color-dark) !important;
        border-bottom: 1px solid var(--primary-color-dark) !important;
        border-right: 1px solid var(--primary-color-dark) !important;
    }

    :root {
        --main-color: 55, 142, 240;
        --color: var(--main-color);
        --mainColor: rgb(var(--main-color));
        --primary-color-light: color-mix(in srgb, rgb(var(--main-color)), white 95%);
        --primary-color-dark: color-mix(in srgb, rgb(var(--main-color)), black 30%);
        --bb-sidebar-width: 270px;
        --bb-sidebar-collapsed-width: 50px;
        --bb-sidebar-background-color: rgba(var(--main-color),0.11);
        --bb-sidebar-top-row-background-color: rgba(0,0,0,0.08);
        --bb-sidebar-top-row-border-color: rgb(194,192,192);
        --bb-sidebar-title-text-color: rgb(255,255,255);
        --bb-sidebar-brand-icon-color: #fff;
        --bb-sidebar-brand-image-width: 24px;
        --bb-sidebar-brand-image-height: 24px;
        --bb-sidebar-title-badge-text-color: rgb(255,255,255);
        --bb-sidebar-title-badge-background-color: rgba(25,135,84,var(--bs-bg-opacity,1));
        --bb-sidebar-navbar-toggler-icon-color: rgb(0,0,0);
        --bb-sidebar-navbar-toggler-background-color: rgba(0,0,0,0);
        --bb-sidebar-content-border-color: rgb(194,192,192);
        --bb-sidebar-nav-item-text-color: rgb(0,0,0);
        --bb-sidebar-nav-item-text-active-color-rgb: 255,255,255;
        --bb-sidebar-nav-item-text-hover-color: rgba(var(--main-color),0.9);
        --bb-sidebar-nav-item-text-active-color: rgba(var(--main-color),0.8);
        --bb-sidebar-nav-item-background-hover-color: rgba(var(--main-color),0.08);
        --bb-sidebar-nav-item-group-background-color: rgba(var(--main-color),0.08);
    }