@font-face {
    font-family: 'kanit';
    src: url('../fonts/kanit/kanit-Light.ttf') format('truetype')
}

html, body {
    font-family: kanit;
    color: var(--color-dark);
    background-color: var(--color-content-background);
}

#blazor-error-ui {
    background-color: #25324a !important;
    color: #ffffff !important;
}

    #blazor-error-ui i {
        padding-top: 5px;
        color: #ffffff !important;
    }

.blazored-toast-container.position-bottomcenter {
    right: calc((100vw - 320px) / 2);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

div.form-control {
    background-color: #dddddd;
}

input.form-control:disabled {
    background-color: #dddddd;
}

.content {
}

.screen-max-size {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.form-control:focus {
    box-shadow: none;
}

input[type="file"] {
    width: 100%;
}

/* Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 38px;
    width: 38px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

    .checkmark.readonly {
        background-color: #dddddd !important;
        pointer-events: none;
    }

.text-center .checkbox-container .checkmark {
    left: calc(50% - 19px);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #dddddd;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 14px;
    top: 6px;
    width: 9px;
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* Custom */
.content-page {
    height: calc(100vh - 13rem);
    background-color: var(--color-content-background);
    padding: 10px;
    display: block;
    overflow-y: auto;
}

.content-page-header {
    font-size: 1.5rem;
    min-height: 50px;
}

.content-header {
    height: 5rem;
    background-color: var(--color-dark);
}

.content-navigation-header {
    height: 5rem;
    background-color: var(--color-content-background);
    border-bottom: 1px solid #dddddd;
}

.content-footer {
    height: 3rem;
    background-color: #dddddd;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.signup-center-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
}

.signup-stage-header {
    text-align: center;
    height: 75px;
    padding-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.content-page .signup-center-text {
    height: calc(100vh - 220px);
}

.standard-text {
    font-size: 1rem;
}

.terms-and-conditions-list ol {
    counter-reset: item
}

.terms-and-conditions-list li {
    display: block
}

    .terms-and-conditions-list li:before {
        content: counters(item, ".") ". ";
        counter-increment: item;
        font-weight: 600;
    }

.case-container {
    max-height: calc(100vh - 300px);
    padding: 0rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
}

    .case-container.closed {
        max-height: calc(100vh - 100px);
    }

    .case-container .case-message {
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        background-color: #cccccc;
    }

        .case-container .case-message .case-message-text {
            padding-top: 1rem;
        }

        .case-container .case-message .case-message-user, .case-container .case-message .case-message-date {
            font-size: 0.75rem;
            font-weight: 600;
        }

        .case-container .case-message .case-message-date {
            text-align: end;
        }

        .case-container .case-message .case-message-status {
            margin-top: auto;
            text-align: end;
            font-size: 0.75rem;
        }

        .case-container .case-message .case-message-file {
            display: inline-block;
            padding: 5px;
            margin: 5px 5px 0px 0px;
            border-radius: 5px;
            border: 1px solid #555555;
            font-size: 0.75rem;
            cursor: pointer;
        }

            .case-container .case-message .case-message-file:hover {
                background-color: #555555;
                color: #cccccc;
            }

    .case-container .current-user {
        justify-content: flex-end !important;
    }

        .case-container .current-user .case-message {
            background-color: var(--color-medium);
            color: #dddddd;
        }

            .case-container .current-user .case-message .case-message-file {
                border: 1px solid #cccccc;
            }

                .case-container .current-user .case-message .case-message-file:hover {
                    background-color: #cccccc;
                    color: var(--color-medium);
                }

.new-case-message-container textarea {
    min-height: 100px;
}

.case-new-message {
    display: inline-block;
    float: inline-end;
    font-size: 0.75rem;
    background-color: var(--color-medium);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 10px;
}

.banks-container {
    background-color: #ffffff;
    border-radius: 5px;
    border: 3px solid var(--color-medium);
}

    .banks-container .banks-container-items {
        height: 30vh;
        overflow: auto;
    }

        .banks-container .banks-container-items .selected {
            background-color: #2d4e6a4e;
        }

    .banks-container .banks-container-filter {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

.top-bar {
    background-color: var(--color-dark);
    color: #ffffff;
    height: 60px;
}

    .top-bar .top-bar-item {
        display: inline-block;
        padding: 10px;
    }

        .top-bar .top-bar-item a {
            color: #ffffff;
            text-decoration: none;
        }

            .top-bar .top-bar-item a:hover {
                color: #ffffff;
                opacity: 0.8;
                cursor: pointer;
            }

.menu .dropdown {
    position: relative;
    height: 100%;
}

    .menu .dropdown span {
        padding: 0.5rem 0rem;
    }

.menu .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1.5rem;
    background-color: var(--color-medium);
    opacity: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 0.5rem 1rem 0.5rem 1rem;
    z-index: 999;
}

.menu .dropdown:hover .dropdown-content {
    display: block;
}

.menu .dropdown .dropdown-content-item {
    width: calc(100% + 1.5rem);
    font-size: 1rem;
    list-style-type: none;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 2rem;
}

    .menu .dropdown .dropdown-content-item a {
        font-weight: 300 !important;
        font-size: 1rem;
    }

        .menu .dropdown .dropdown-content-item a:hover {
            text-decoration: none !important;
            color: var(--color-light) !important;
        }

    .menu .dropdown .dropdown-content-item .dropdown-content-item-icon {
        width: 1.5rem;
    }

.side-menu {
    height: calc(100vh - 60px);
    background-color: var(--color-medium);
    position: relative;
}

    .side-menu .menu-item {
        height: 50px;
        line-height: 50px;
        padding: 0px;
        border-bottom: 3px solid var(--color-light);
    }

        .side-menu .menu-item.menu-item-bottom {
            position: absolute;
            bottom: 3px;
            border-bottom: none;
            border-top: 3px solid var(--color-light);
        }

    .side-menu a {
        display: block;
        height: 100%;
        color: #ffffff;
        text-decoration: none;
        padding-left: 16px;
        background-color: var(--color-medium);
    }

        .side-menu a span {
            padding-left: 20px;
        }

        .side-menu a:hover {
            background-color: var(--color-light);
        }

.login-body {
    height: 100vh;
    width: 100vw;
    background-color: #eeeeee;
}

.login-container {
    padding: 20px 20px 20px 20px;
    width: 300px;
    box-shadow: 0 3px 15px 0 rgba(0,0,0,.1);
    position: absolute;
    top: calc(50vh - 100px);
    left: calc(50vw - 150px);
    background-color: #ffffff;
}

    .login-container input, .login-container input:focus {
        background-color: #eeeeee;
        border: none;
        border-radius: 0px;
    }

    .login-container button {
        border-radius: 0px;
    }

.login-container-block {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #eeeeee;
    opacity: 0.6
}

.login-forgotten-password {
    font-size: 0.75rem;
    cursor: pointer;
    color: #555555;
    text-decoration: underline;
}

.pointer {
    cursor: pointer;
}

.header {
    font-size: 1.25rem;
}

.icon {
    color: var(--color-icon);
    cursor: pointer;
    font-size: 16px;
}

.icon-on {
    color: #2a8b32 !important;
}

.icon-pdf {
    color: #f2594b !important;
}

.delete-container {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    display: inline-block
}

.revi-log-table {
    max-height: calc(100vh - 170px);
    overflow-x: hidden;
    overflow-y: auto;
}

.revi-log {
}

    .revi-log .revi-log-header {
        font-weight: bold;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .revi-log .revi-log-content {
        font-style: italic;
        white-space: pre-wrap;
    }

.revi-file {
    border-radius: 5px;
    border: 1px solid #aaaaaa;
    background-color: #eeeeee;
    cursor: pointer;
    height: 100%;
}

    .revi-file:hover {
        border: 1px solid #aaaaaa;
        background-color: #dddddd;
    }

    .revi-file .revi-file-text {
        padding: 10px;
        overflow: hidden;
        margin-top: auto !important;
        margin-bottom: auto !important;
        white-space: nowrap;
        font-size: 12px;
        height: 40px;
        display: flex;
    }

    .revi-file .revi-file-icon {
        text-align: end;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }


.revi-box {
    background-color: var(--color-tab-content);
    border: 1px solid var(--color-tab-header);
    border-radius: 5px;
    padding: 10px;
}

.revi-statistics {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    position: relative;
}

    .revi-statistics.h-1 {
        height: calc((100vh - 120px) * 0.25 - 1rem);
        padding: 20px;
    }

    .revi-statistics.h-2 {
        height: calc((100vh - 120px) * 0.5 - 1rem);
        padding: 20px;
    }

    .revi-statistics.h-3 {
        height: calc((100vh - 120px) * 0.75 - 1rem);
        padding: 20px;
    }

    .revi-statistics .revi-statistics-header {
        height: 40%;
        min-height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center !important;
        font-size: 1.2rem;
    }

    .revi-statistics .revi-statistics-content {
        height: 40%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        font-size: 2.5rem;
    }

    .revi-statistics .revi-statistics-warning {
        height: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center !important;
        font-size: 1rem;
        color: #d72c2c
    }

    .revi-statistics .revi-statistics-link-icon {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .revi-statistics.h-2 .revi-statistics-header {
        height: calc(20% - 0.5rem);
    }

    .revi-statistics.h-2 .revi-statistics-content {
        height: calc(60% + 1rem);
    }

    .revi-statistics.h-2 .revi-statistics-warning {
        height: calc(20% - 0.5rem);
    }

    .revi-statistics .revi-statistics-content .revi-statistics-content-text {
        font-size: 1rem;
    }

.revi-statistics-histogram-vertical {
    height: 100%;
}

    .revi-statistics-histogram-vertical .revi-statistics-bar-container {
        padding-bottom: 3px;
        padding-top: 3px;
    }

    .revi-statistics-histogram-vertical .revi-statistics-bar {
        height: 100%;
    }

    .revi-statistics-histogram-vertical .revi-statistics-bar-name {
        overflow-x: hidden;
        white-space: nowrap;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

.revi-statistics-histogram-horizontal {
    height: calc(100% - 50px);
}

    .revi-statistics-histogram-horizontal .revi-statistics-bar-container {
        position: relative;
        padding-left: 2px;
        padding-right: 2px;
        height: calc(100% - 30px);
    }

    .revi-statistics-histogram-horizontal .revi-statistics-bar {
        position: absolute;
        bottom: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

        .revi-statistics-histogram-horizontal .revi-statistics-bar .revi-statistics-bar-text {
            color: #ffffff;
            font-weight: bold;
        }

    .revi-statistics-histogram-horizontal .revi-statistics-bar-name {
        overflow-x: hidden;
        text-align: center !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        padding: 5px;
    }

.revi-statistics-bar {
    background-color: var(--color-light);
}

    .revi-statistics-bar.current {
        background-color: var(--color-medium);
    }

    .revi-statistics-bar.calculated {
        opacity: 0.6;
        background-color: var(--color-medium);
    }

.revi-step-container {
    text-align: center;
    height: 100%;
}

.revi-step {
    position: relative;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

    .revi-step .revi-step-icon {
        background-color: var(--color-step-content);
        color: var(--color-dark);
        padding: 0.5rem;
        font-size: 0.8rem;
        border-radius: 50%;
        height: 2rem;
        width: 2rem;
        margin-right: auto !important;
        margin-left: auto !important;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .revi-step.complete .revi-step-icon {
        background-color: var(--color-medium);
        color: #ffffff;
        cursor: pointer;
    }

    .revi-step.active .revi-step-icon {
        background-color: var(--color-light);
        color: var(--color-dark);
    }

    .revi-step .revi-step-text {
        font-size: 0.8rem;
        color: var(--color-step-content);
        white-space: nowrap;
    }

.revi-step-container .revi-step:not(:first-child) .revi-step-line-left {
    position: absolute;
    left: 0px;
    height: 3px;
    width: calc(50% - 1rem);
    background-color: var(--color-step-content);
}

.revi-step-container .revi-step:not(:last-child) .revi-step-line-right {
    position: absolute;
    right: 0px;
    height: 3px;
    width: calc(50% - 1rem);
    background-color: var(--color-step-content);
}

    .revi-step-container .revi-step:not(:first-child) .revi-step-line-left.complete, .revi-step-container .revi-step:not(:last-child) .revi-step-line-right.complete {
        background-color: var(--color-medium) !important;
    }

.revi-range {
}

    .revi-range .revi-range-slider {
        width: 88%;
    }

    .revi-range .revi-range-text {
    }

        .revi-range .revi-range-text.selected {
            font-weight: 600;
        }

/* BUTTONS */
.btn-modal {
    width: 100px;
    float: right;
}

.btn-large {
    height: 5rem !important;
}

.btn-standard {
    background-color: var(--color-medium);
    color: #ffffff;
}

    .btn-standard:hover, .btn-standard:active, .btn-standard:focus {
        background-color: var(--color-light);
        box-shadow: none !important;
        color: #ffffff;
    }

    .btn-standard:disabled {
        background-color: var(--color-medium);
        opacity: 0.4;
        box-shadow: none !important;
        color: #ffffff;
    }

.btn-cancel {
    background-color: var(--color-cancel);
    color: #ffffff;
}

    .btn-cancel:hover, .btn-close:active, .btn-close:focus {
        background-color: var(--color-cancel-alt);
        box-shadow: none !important;
        color: #ffffff;
    }

    .btn-cancel:disabled {
        background-color: var(--color-cancel);
        opacity: 0.4;
        box-shadow: none !important;
        color: #ffffff;
    }

/* TABLES */
.revi-table-container {
    max-height: calc(100vh - 200px);
    overflow-x: hidden;
    overflow-y: auto;
}

.revi-table {
    width: 100%;
    height: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

    .revi-table th {
        position: sticky;
        top: 0;
    }

    .revi-table th, .revi-table td {
        padding: 8px;
    }

    .revi-table th {
        background-color: var(--color-table-header);
        border-left: 1px solid var(--color-table-header);
        border-right: 1px solid var(--color-table-header);
    }

    .revi-table td {
        background-color: var(--color-table-body);
        border-bottom: 1px solid var(--color-table-header);
        border-left: 1px solid var(--color-table-header);
        border-right: 1px solid var(--color-table-header);
        white-space: nowrap;
        overflow: hidden;
    }

    .revi-table tfoot {
        position: sticky;
        inset-block-end: 0;
        background-color: var(--color-table-footer);
        box-shadow: inset 0 1px 0 var(--color-table-header), inset 0 -1px 0 var(--color-table-header);
    }

        .revi-table tfoot td {
            padding: 2px 8px 2px 8px;
            font-weight: bold;
            text-align: end;
            z-index: 9999;
            background-color: var(--color-table-footer);
            border-bottom: none;
            border-left: none;
            border-right: none;
        }

            .revi-table tfoot td:first-child {
                border-left: 1px solid var(--color-table-header);
            }

            .revi-table tfoot td:last-child {
                border-right: 1px solid var(--color-table-header);
            }

        .revi-table tfoot tr:last-child td {
            border-bottom: 1px solid var(--color-table-header);
        }

    .revi-table .w-icon {
        width: 50px;
    }

    .revi-table .w-small {
        width: 100px;
    }

    .revi-table .w-medium {
        width: 125px;
    }

    .revi-table .w-large {
        width: 150px;
    }

    .revi-table .w-xl {
        width: 200px;
    }

    .revi-table .w-xxl {
        width: 250px;
    }

    .revi-table .w-xxl {
        width: 300px;
    }

.revi-invoice-line-table {
    max-height: calc(100vh - 400px);
    overflow-x: hidden;
    overflow-y: auto;
}


.revi-notifications {
    position: relative;
}

    .revi-notifications .revi-notifications-counter {
        position: absolute;
        top: 1rem;
        left: 0.5rem;
        background-color: #cb4343;
        border-radius: 50%;
        font-size: 0.75rem;
        width: 1.1rem;
        height: 1.1rem;
        text-align: center;
    }

.revi-notifications-items {
    position: absolute;
    top: 65px;
    right: 5px;
    z-index: 9999;
    background-color: #ffffff;
    color: var(--color-dark);
    width: 200px;
    padding: 10px;
    text-align: left;
    border: 1px solid var(--color-dark);
}

/*TABS*/
.tab-container {
    background-color: var(--color-tab-content);
    border: 1px solid var(--color-tab-header);
    min-height: 300px;
    padding: 0px;
}

    .tab-container .tab-headers {
        background-color: var(--color-tab-header);
    }

        .tab-container .tab-headers .tab-header {
            display: inline-block;
            padding: 0.5rem 1rem 0.25rem 1rem;
            font-weight: 600;
            cursor: pointer;
        }

            .tab-container .tab-headers .tab-header:hover {
                background-color: var(--color-tab-header-alt);
                border-bottom: 0.25rem solid var(--color-tab-header-alt);
            }

            .tab-container .tab-headers .tab-header.selected {
                border-bottom: 0.25rem solid var(--color-tab-header-alt);
            }

/*UPLOAD*/
.upload-file {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 2px dashed #aaaaaa;
    color: #aaaaaa;
    font-weight: 600;
    width: 100%;
    text-align: center;
    height: 3rem;
    cursor: pointer;
    border-radius: 5px;
}

    td.upload-file label, td.upload-file .new-file, td.upload-file .file, .upload-file.small label {
        height: 38px;
    }

    .upload-file label, .upload-file input {
        background-color: #ffffff;
        width: 100%;
        height: 100%;
        justify-content: center;
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .upload-file .new-file {
        cursor: default;
        border: 2px dashed #666666;
        color: #666666;
        flex-direction: row;
    }

    .upload-file .file {
        cursor: default;
    }

    .upload-file .icon {
        cursor: pointer;
        font-size: 1rem;
    }

    .upload-file input {
        opacity: 0;
        position: absolute;
        z-index: -1;
        width: 0%;
    }

.upload-file-infomation {
}

    .upload-file-infomation:has(.upload-file-infomation-image-pdf) {
        height: calc(100% - 280px) !important;
    }

    .upload-file-infomation .upload-file-infomation-image img {
        max-width: 100%;
    }

.attached-file {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid #dddddd;
    color: #666666;
    background-color: #ffffff;
    font-weight: 600;
    width: 100%;
    text-align: center;
    height: 38px;
    margin: 0px;
    padding: 5px;
    border-radius: 5px;
}

    .attached-file .file-name {
        font-size: 1rem;
        font-weight: 400;
        text-align: left;
        overflow: hidden;
        text-wrap: nowrap;
    }

    .attached-file .file-icon {
        text-align: right;
        cursor: pointer;
    }

.document-upload-container {
    padding: 0.5rem;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid var(--color-dark);
}

/* MODAL */
.blazored-modal {
    padding: 0px !important;
    border: none !important;
    border-radius: 10px !important;
    margin-top: 100px !important;
    margin-bottom: 40px !important;
}

    .blazored-modal .bm-header {
        padding: 20px !important;
        background-color: var(--color-medium);
        color: #ffffff;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

        .blazored-modal .bm-header h3 {
            padding-top: 0.25rem;
            font-size: 1.25rem;
        }

    .blazored-modal .bm-content {
        padding: 0px !important;
    }

    .blazored-modal .bm-close {
        color: #ffffff;
    }

    .blazored-modal .revi-modal-body {
        padding: 30px 20px 30px 20px !important;
        margin: 0px;
    }

    .blazored-modal .revi-modal-footer {
        padding: 10px 20px 10px 20px !important;
        background-color: #efeeeb;
        margin: 0px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        justify-content: end;
    }

    .blazored-modal .revi-modal-body.pdf-modal {
        padding: 0px !important;
        height: calc(100vh - 300px)
    }

/*MudBlazor*/
.mud-slider.mud-slider-large .mud-slider-tickmarks .mud-slider-track-tick-label {
    white-space: nowrap !important;
}

.mud-input-control-boolean-input.text-center .mud-switch {
    margin-left: auto;
    margin-right: auto;
}

.mud-dialog .mud-dialog-title {
    background-color: var(--color-medium) !important;
    color: #ffffff;
}

    .mud-dialog .mud-dialog-title button {
        color: #ffffff;
    }

.mud-dialog .mud-dialog-content {
    padding: 1rem 1.5rem !important;
}

.mud-input-control.justify-content-center .mud-radio-group {
    justify-content: center !important;
}

.mud-input-control.mud-input-input-control .mud-input-control-input-container,
.mud-input-control.mud-file-upload .mud-input-control-input-container,
.mud-input-control.mud-select .mud-input-control-input-container {
    background-color: #ffffff;
}

/*Responsiveness*/
/*Full*/
@media (min-width: 767.99px) {
    .mobile {
        display: none !important;
    }
}

/*Mobile*/
@media (max-width: 767.98px) {
    .full-screen {
        display: none !important;
    }

    .content-footer {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        height: 5rem;
    }

    .content-page {
        height: calc(100vh - 10rem);
    }
}

/* VARIABLES */
:root {
    --color-cancel: #c3575c;
    --color-cancel-alt: #953f43;
    --color-light: #5db3ca;
    --color-medium: #2d4e6a;
    --color-dark: #101d29;
    --color-content-background: #efeeeb;
    --color-icon: #525046;
    --color-icon-hover: #9b9786;
    --color-table-header: #cdc8b1;
    --color-table-footer: #ebe9e0;
    --color-table-body: #ffffff;
    --color-log-header: #cdc8b1;
    --color-log-content: #ffffff;
    --color-tab-header: #cccccc;
    --color-tab-header-alt: #bbbbbb;
    --color-tab-content: #eeeeee;
    --color-step-content: #cccccc;
}
