﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: "Sukhumvit Set",Icons !important;
    background: none;
    color:black;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44Nzc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Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

/********************** My CSS ***********************/
.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bb-font {
    color: #021689;
}
.bb-background {
    background-color: #021689;
    color:white;
}
.lbl-mousepointer {
    cursor:pointer;
}
.ul-menu {
    padding-left: 15px;
}
.li-menu {
    list-style-type: square;
    margin: 5px;
    padding:0px 0px;
}

.amisButton {
    border-style: outset;
    background-color: #1C4E80;
    color: white;
    padding: 3px 15px 3px 15px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px #999;
    transition-delay: 0s;
    transition: 0s;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

    .amisButton:hover {
        background-color: #008CBA;
    }

    .amisButton:active {
        background-color: #f44336;
        box-shadow: 0 2px black;
        transform: translateY(1px);
    }
    .amisButton:focus {
        background-color: darksalmon;
    }


.iconButton {
    border-style: outset;
    background-color: transparent;
    color: #1C4E80;
    padding: 0px 5px;
    text-align: center;
    cursor: pointer;
    transition-delay: 0s;
    transition: 0s;
    font-size: 1.1rem;
    font-weight: bold;
    user-select: none;
}

    .iconButton:hover {
        color: red;
    }

    .iconButton:active {
        color: #f44336;
        transform: translateY(1px);
    }

    .iconButton:focus {
        color: darksalmon;
    }

.iconButtonRed {
    border-style: outset;
    background-color: transparent;
    color: darkred;
    padding: 0px 5px;
    text-align: center;
    cursor: pointer;
    transition-delay: 0s;
    transition: 0s;
    font-size: 1.1rem;
    font-weight: bold;
    user-select: none;
}

    .iconButtonRed:hover {
        color: red;
    }

    .iconButtonRed:active {
        color: #f44336;
        transform: translateY(1px);
    }

    .iconButtonRed:focus {
        color: darksalmon;
    }

.noBorder {
    border:1px solid transparent;
}

.amisMenuActiveButton {
    font-weight: bold;
    border-style: outset;
    background-color: #1C4E80;
    color: white;
    padding: 5px 15px 5px 15px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
}




.amisMenuInactiveButton {
    font-weight: bold;
    border-style: outset;
    color: #1C4E80;
    padding: 5px 15px 5px 15px;
    text-align: center;
    cursor: pointer;
}

    .amisMenuInactiveButton:hover {
        color: #008CBA;
    }

.amisReportButton {
    border-style: outset;
    background-color: PaleVioletRed;
    color: white;
    padding: 3px 15px 3px 15px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px #999;
    transition-delay: 0s;
    transition: 0s;
}

    .amisReportButton:hover {
        background-color: #008CBA;
    }

    .amisReportButton:active {
        background-color: #f44336;
        box-shadow: 0 2px black;
        transform: translateY(1px);
    }

    .amisReportButton:focus {
        background-color: darksalmon;
    }
.navlink-menu {
    color: black;
    text-decoration: solid;
    cursor: pointer;
}

    .navlink-menu:hover {
        color: darkblue;
        font-weight: bolder;
        cursor: pointer;
    }

    .navlink-menu:active {
        color: darkred;
        text-decoration: underline solid;
        cursor: pointer;
    }

.xlsFormat {
    border: none;
    padding: 3px 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    background-color: darkgreen;
    color: white;
    font-weight: bolder;
}
.amisbuttonActive {
    border-radius: 6px;
    border: none;
    padding: 3px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    background-color: #1C4E80;
    color: white;
    font-weight: 500;
}
.amisbuttonInactive {
    border-radius: 6px;
    border: none;
    padding: 3px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    background-color: #D4D0D5;
    color: white;
    font-weight: 500;
}


.menu-web-active {
    border-radius: 5px;
    padding: 4px 10px 4px 10px;
    font-size: 0.85rem;
    background-color: #0059b3;
    color: white;
}

.my-table .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
}
.menu-web-inactive {
    border-radius: 5px;
    padding: 4px 10px 4px 10px;
    font-size: 0.85rem;
    background-color: transparent;
    color: #0059b3;
    font-weight: bold;
}

    table.fixed {
        table-layout: fixed;
    }

    table.fixed td {
        overflow: hidden;
    }

.span-alink {
    font-style: italic;
    color: blue;
    text-decoration: underline solid;
    cursor: pointer;
}

    .span-alink:hover {
        color: lightblue;
        text-decoration: underline solid;
        cursor: pointer;
    }

    .span-alink:active {
        color: black;
        text-decoration: underline solid;
        cursor: pointer;
    }


.BlueTemplateTable table.fixed {
    table-layout: fixed;
}
.BlueTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
    color:black;
}

.BlueTemplateTable th {
    padding-left: 2px;
    border: 1px solid darkgray;
    background-color: #1D6189;
    color: white;
    font-weight: normal;
    border-collapse: collapse;
}

.BlueTemplateTable tr:nth-child(even) {
    background-color: aliceblue;
}
.BlueTemplateTable tr:nth-child(odd) {
    background-color: white;
}

.BlueTemplateTable {
    border: 1px solid darkgray;
    border-collapse: collapse;
}

    .BlueTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid darkgray;
        border-collapse: collapse;
        color: black;
    }

.CyanTemplateTable table.fixed {
    table-layout: fixed;
}

.CyanTemplateTable th {
    padding-left: 2px;
    background-color: #B3CCCC;
    border: 1px solid darkgray;
    color: black;
    font-weight: bold;
    border-collapse: collapse;
}
.CyanTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
    color: black;
}

.CyanTemplateTable tr:nth-child(even) {
    background-color: #EEF7F1;
}

.CyanTemplateTable {
    border: 1px solid darkgray;
    border-collapse: collapse;
}

    .CyanTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid darkgray;
        border-collapse: collapse;
        color: black;
    }

.PinkTemplateTable table.fixed {
    table-layout: fixed;
}

.PinkTemplateTable th {
    padding-left: 2px;
    border: 1px solid black;
    background-color: #d4bfca;
    font-weight: bold;
    border-collapse: collapse;
}
.PinkTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
    color: black;
}


.PinkTemplateTable tr:nth-child(even) {
    background-color: Linen;
}

.PinkTemplateTable {
    border: 1px solid black;
    border-collapse: collapse;
}

    .PinkTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid black;
        border-collapse: collapse;
        color: black;
    }

    .GreenTemplateTable table.fixed {
        table-layout: fixed;
    }

.GreenTemplateTable th {
    padding-left: 2px;
    border: 1px solid black;
    background-color: #a8c2b5;
    font-weight: bold;
    border-collapse: collapse;
}
.GreenTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
    color: black;
}


.GreenTemplateTable tr:nth-child(even) {
    background-color: Linen;
}

.GreenTemplateTable {
    border: 1px solid black;
    border-collapse: collapse;
}

    .GreenTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid black;
        border-collapse: collapse;
        color: black;
    }

    .BrownTemplateTable table.fixed {
        table-layout: fixed;
    }

.BrownTemplateTable th {
    padding-left: 2px;
    border: 1px solid black;
    background-color: #cdc4b6;
    font-weight: bold;
    border-collapse: collapse;
    color: black;
}
.BrownTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
    color: black;
}

.BrownTemplateTable tr:nth-child(even) {
    background-color: Linen;
}

.BrownTemplateTable {
    border: 1px solid black;
    border-collapse: collapse;
}
    .BrownTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid black;
        border-collapse: collapse;
        color: black;
    }



    .RedTemplateTable table.fixed {
        table-layout: fixed;
    }

    .RedTemplateTable th {
        padding-left: 2px;
        border: 1px solid black;
        background-color: darkred;
        color: white;
        font-weight: bold;
        border-collapse: collapse;
    }

    .RedTemplateTable tr:nth-child(even) {
        background-color: #F1D2D2;
    }
.RedTemplateTable .mud-table-cell {
    padding: 0px 0px; /* vertical, horizontal */
}

.RedTemplateTable {
    border: 1px solid black;
    border-collapse: collapse;
}

    .RedTemplateTable td, tr {
        padding-left: 2px;
        border: 1px solid black;
        border-collapse: collapse;
        color: black;
    }


.WebTemplateTable {
    cursor: pointer;
}

    .WebTemplateTable table.fixed {
        table-layout: fixed;
    }

    .WebTemplateTable th {
        text-align:center;
        border: 1px solid darkgray;
        background-color: #021689;
        font-weight: bold;
        color: white;
    }

    .WebTemplateTable tr:nth-child(even) {
        background-color: aliceblue;
    }

    .WebTemplateTable .mud-table-cell {
        padding: 0px 0px; /* vertical, horizontal */
        color: black;
    }

    .WebTemplateTable td, tr {
        border-top: 1px solid darkgray;
        color: black;
    }

.amis-mud-table-mobile .mud-table-cell {
    padding: 1px 1px; /* vertical, horizontal */
    overflow: hidden;
    text-overflow: ellipsis;
}

.flexfontS {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    vertical-align: top;
}
.flexfont {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    vertical-align: top;
}

.flexfontL {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    vertical-align: top;
}

.flexfontXL {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    vertical-align: top;
}

.btn:focus {
    background-color: #ff6e40;
}

input[type="date"]::-webkit-datetime-edit, input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-clear-button {
    color: #fff;
    position: relative;
    border:1px solid gray;
}

input[type="date"]::-webkit-datetime-edit-year-field {
    position: absolute !important;
    border-left: 1px solid #8c8c8c;
    padding: 2px;
    color: #000;
    left: 56px;
}

input[type="date"]::-webkit-datetime-edit-month-field {
    position: absolute !important;
    border-left: 1px solid #8c8c8c;
    padding: 2px;
    color: #000;
    left: 26px;
}


input[type="date"]::-webkit-datetime-edit-day-field {
    position: absolute !important;
    color: #000;
    padding: 2px;
    left: 4px;
}


/* The Modal (background) */
.dialog {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


.dialog-loading {
    background-color: transparent;
    margin: auto;
    padding: 20px;
    border: 1px solid transparent;
    width: 90%;
    max-width: 500px;
    position: fixed;
    margin: 5% auto; /* Only centers horizontally not vertically! */
    left: 0;
    right: 0;
    text-align: center;
}

/* Modal Content */
.dialog-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    position: fixed;
    margin: 5% auto; /* Only centers horizontally not vertically! */
    left: 0;
    right: 0;
}

/* The Close Button */
.dialog-close {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top:-15px;
    right: 10px;
}

    .dialog-close:hover,
    .dialog-close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }