:root {
    --color-psu: #003C71;
    --color-brand-primary: #e95420;
    --color-brand-secondary: #0085AD;
    --color-brand-info: #009CDE;
    --color-light-background: #F5F5F5;
    --color-register: #4c4fff;
    --color-change-savings: #00a800;
    --color-change-savings-auto: #a643ca;
    --color-change-beneficiary: #976e32;
    --color-resign: #904b61;
}

html, body {
    font-family: 'Noto Sans',sans-serif;
}

h1:focus {
    outline: none;
}

a {
    cursor: pointer;
}

a, .btn-link {
    color: #0071c1;
}

p {
    margin-bottom: 0px !important;
}

.modal-pdf {
    max-width: 1200px;
    width: 100%;
    height: 96vh;
}

.swal2-close{
    color:#3b3333;
    width:20px;
    height:20px;
    margin: 5px 5px 0px 0px !important;    
}

.btn-upload {
    text-decoration: none;
    cursor: pointer;
    color: #3468C0;
}

    .btn-upload:hover {
        color: #FF9843;
    }

.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;
}

.btn:hover, .nav-link:hover {
    box-shadow: 2px 2px 10px 0px rgba(142,126,126,0.75);
}

.pvd-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.content {
    padding-top: 1.1rem;
}

.center-w50 {
    width: 50%;
    margin: 0 auto;
    max-width: 512px;
}

.center-w90 {
    width: 90%;
    margin: 0 auto;
    max-width: 1024px;
}

.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.bg-pvd {
    --bs-link-color-rgb: #ffffff;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1)), url(../images/pvd_bg.jpg);
}

.title-pvd {
    font-family: 'Sarabun',sans-serif;
    font-size: 24px;
    color: white;
}

#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: #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");
    }

code {
    color: #c02d76;
}

.section-heading {
    font-size: 1.2rem;
    color: var(--color-brand-info);
}

.bg-psu {
    background-color: var(--color-psu);
}

.bg-brand-primary {
    background-color: var(--color-brand-primary);
}

.bg-brand-secondary {
    background-color: var(--color-brand-secondary);
}

.bg-brand-info {
    background-color: var(--color-brand-info);
}

.bg-light {
    background-color: var(--color-light-background);
}

.bg-register {
    background-color: #c5dbff;
}

.bg-change-savings {
    background-color: #bdf8b9;
}

.bg-change-beneficiary {
    background-color: #ffebcd;
}

.bg-resign {
    background-color: #fbbfd2;
}

.bg-register-body {
    background-color: #deeafb;
}

.bg-change-savings-body {
    background-color: #dcffd9;
}

.bg-change-beneficiary-body {
    background-color: #fff3e1;
}

.bg-resign-body {
    background-color: #fad1de;
}

.border-register {
    border: 2px solid #c5dbff;
}

.border-change-savings {
    border: 2px solid #bdf8b9;
}

.border-change-beneficiary {
    border: 2px solid #ffebcd;
}

.border-resign {
    border: 2px solid #fbbfd2;
}

.border-brand-primary {
    border: 2px solid var(--color-brand-primary);
}

.border-brand-secondary {
    border: 2px solid var(--color-brand-secondary);
}

.border-brand-info {
    border: 2px solid var(--color-brand-info);
}

.border-psu {
    border: 2px solid var(--color-psu);
}

.border-black {
    border: 2px solid #000000;
}

.border-white {
    border: 2px solid #ffffff;
}

.line-primary {
    border-bottom: 3px solid var(--color-brand-primary);
}

.line-secondary {
    border-bottom: 3px solid var(--color-brand-secondary);
}

.line-secondary-sm {
    border-bottom: 1px solid var(--color-brand-secondary);
}

.line-info {
    border-bottom: 3px solid var(--color-brand-info);
}

.line-dark {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.line-white {
    border-bottom: 1px solid #ffffff;
}

.line-psu {
    border-bottom: 1px solid var(--color-psu);
}

.text-psu {
    color: var(--color-psu);
}

.text-brand-primary {
    color: var(--color-brand-primary);
}

.text-brand-secondary {
    color: var(--color-brand-secondary);
}

.text-brand-info {
    color: var(--color-brand-info);
}

.text-register {
    color: var(--color-register);
}

.text-change-savings {
    color: var(--color-change-savings);
}

.text-change-savings-auto {
    color: var(--color-change-savings-auto);
}

.text-change-beneficiary {
    color: var(--color-change-beneficiary);
}

.text-resign {
    color: var(--color-resign);
}

.vh-80 {
    height: 80vh;
}

.vh-20 {
    height: 20vh;
}

.rounded-20 {
    border-radius: 20px;
}

.w-10 {
    width: 10% !important;
}

.fs-7 {
    font-size: 0.8rem;
}

.p-2px {
    padding: 2px !important;
}

.nav-item a {
    height: 2.5rem !important;
    line-height: normal !important;
}

.nav-item:first-of-type {
    padding-top: 0.25rem !important;
}

.widget-icon {
    font-size: 20px;
    height: 35px;
    width: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
    margin-right: 4px;
}

/* Card Status */
.card-status {
    text-decoration: underline;
    align-items: stretch;
    flex-direction: row;
    border: 0;
    display: flex;
    background-color: #fff;
    color: #fff;
    box-shadow: 3px 3px #818181;
}

    .card-status:hover {
        box-shadow: 0px 0px #ffffff;
    }

.card-status-icon {
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.card-status-body {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    padding-left: 0px;
    padding-right: 0px;
}

.card-status-icon-blue {
    background-color: #2f80e7 !important;
}

.card-status-body-blue {
    background-color: #5d9cec !important;
}

.card-status-border-blue {
    border: 2px solid #5d9cec !important;
}

.card-status-icon-purple {
    background-color: #564aa3 !important;
}

.card-status-body-purple {
    background-color: #7266ba !important;
}

.card-status-border-purple {
    border: 2px solid #7266ba !important;
}

.card-status-icon-brown {
    background-color: #b66a34 !important;
}

.card-status-body-brown {
    background-color: #cb793b !important;
}

.card-status-border-brown {
    border: 2px solid #cb793b !important;
}

.card-status-icon-green {
    background-color: #2b957a !important;
}

.card-status-body-green {
    background-color: #37bc9b !important;
}

.card-status-border-green {
    border: 2px solid #37bc9b !important;
}

/* Table */
.col-title {
    justify-content: center !important;
}

.col-header-content {
    align-content: start;
    justify-content: center;
}

.w-50px {
    width: 50px !important;
}

.w-100px {
    width: 100px !important;
}

.w-150px {
    width: 150px !important;
}

.w-200px {
    width: 200px !important;
}

.col-percent {
    width: 120px !important;
}

.table-rounded {
    border-radius: 10px;
    /*border: 2px solid white;*/
    overflow: hidden;
}

.table-header-text-white > thead * {
    color: #ffffff !important;
}

.table-header-text-register > thead * {
    color: var(--color-register);
}

.table-header-text-change-savings > thead * {
    color: var(--color-change-savings);
}

.table-header-text-change-beneficiary > thead * {
    color: var(--color-change-beneficiary);
}

.table-header-text-resign > thead * {
    color: var(--color-resign);
}

.table-header-blue > thead * {
    background-color: #5d9cec !important;
}

.table-header-purple > thead * {
    background-color: #7266ba !important;
}

.table-header-green > thead * {
    background-color: #37bc9b !important;
}

.table-header-secondary > thead * {
    background-color: var(--color-brand-secondary) !important;
}

.table-header-register > thead * {
    background-color: #c5dbff !important;
}

.table-header-change-savings > thead * {
    background-color: #bdf8b9 !important;
}

.table-header-change-beneficiary > thead * {
    background-color: #ffebcd !important;
}

.table-header-resign > thead * {
    background-color: #fbbfd2 !important;
}

.role > nav-link:hover {
    background-color: #4583dd !important;
}
