body {
/*    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}
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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.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;
}

/*custom SS*/

.labelform-ratakanan {
    text-align: right !important;
    font-weight: 600;
}

.bg-primary {
    background-color: rgb(17, 205, 239) !important;
    border-color: rgb(17, 205, 239);
}
.btn-default {
    background-color: #dc3545 !important;
    color: #fff !important;
}
.btn.btn-default:hover {
    box-shadow: inset 300px 0 0 0 #d08282 !important;
    color: var(--bs-light) !important;
}
.btn-sm, .btn-group-sm > .btn {
    border-radius: 2px !important;
}


.navbar {
    background-color: #a7a7a7 !important
}

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    width: 100%;
    padding-right: 0rem !important;
    padding-left: var(--bs-gutter-x, 0rem) !important;
    margin-right: auto;
    margin-left: auto;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: .50rem !important;
}
    .table {
    color: #0b0b0b !important;
    font-size: 13px !important;
}
.text-right {
    text-align: right !important;
}
.float-right {
    float: right !important;
}
.float-left {
    float: left !important;
}
.x-align-center {
    text-align: center !important;
}
.y-align-center{
    vertical-align:middle !important;
}
.itemdata-center
{
    text-align:center !important;
}
.itemdata-left {
    text-align: left !important;
}
.itemdata-right {
    text-align: right !important;
}
.table-bordered thead tr:last-child > th {
    border-bottom-width: 1px !important;
    border-bottom-color: #929292 !important;
}


.width5 {
    width: 5% !important;
}

.width10 {
    width: 10% !important;
}

.width15 {
    width: 15% !important;
}

.width20 {
    width: 20% !important;
}

.width25 {
    width: 25% !important;
}

.width30 {
    width: 30% !important;
}

.width35 {
    width: 35% !important;
}

.width40 {
    width: 40% !important;
}

.width45 {
    width: 45% !important;
}

.width50 {
    width: 50% !important;
}

.width60 {
    width: 50% !important;
}

.width70 {
    width: 70% !important;
}

.width80 {
    width: 80% !important;
}

.width100 {
    width: 100% !important;
}
.chartoUpper {
    text-transform: uppercase !important;
}
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
    height: 30px !important;
}
.form-control {
    padding: 0rem .375rem 0rem .375rem !important;
    border-radius: 3px !important;
}
.form-select {
    border-radius: 3px !important;
}

.ant-input-number {
    height: 30px !important;
}
.ant-picker {
    padding: .175rem .175rem !important;
}

    /*custom SS*/
.btn-ss {
    --bb-button-circle-width: 40px !important;
    --bb-button-circle-height: 40px !important;
    opacity: 0.7;
    /* box-shadow: 0 0 8px #211b50;*/
    transition: opacity .3s linear;
    position: fixed;
    z-index: 999;
}

.btn-theme-ss {
    right: 3rem !important;
    bottom: 5rem !important;
}

.btn-circle-ss {
    --bs-btn-border-radius: 50% !important;
    --bb-button-circle-width: 45px !important;
    --bb-button-circle-height: 45px !important;
    width: var(--bb-button-circle-width);
    height: var(--bb-button-circle-height);
}


/* Allow resizing in both horizontal and vertical directions */
.resizable {
    resize: both;
    overflow: auto; /* Important to handle content overflow during resize */
}

/* Allow resizing only horizontally */
.resizable-horizontal {
    resize: horizontal;
    overflow-x: auto;
}

/* Allow resizing only vertically */
.resizable-vertical {
    resize: vertical;
    overflow-y: auto;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #dc3545 !important;
}


