﻿body {
    overflow: hidden;
}

#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;
}

.required::after {
    background-color: #ff0039;
    color: #fff;
    content: "必須";
    display: inline-block;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    margin-left: 5px;
    padding: 0.25em 0.4em;
    text-align: center;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    vertical-align: baseline;
    white-space: nowrap;
}

.not-allowed {
    cursor: not-allowed;
}

label.item-label {
    line-height: 40px;
    box-sizing: border-box;
    position: relative;
    padding-left: 14px;
}

label.item-label:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 26px;
    background-color: #2eadad;
}

button.operation-btn {
    font-size: 0.9rem;
    margin-top: 2px;
}

button.wide-button {
    width: 14rem;
}

button.normal-button {
    width: 8rem;
}

button.small-button {
    width: 5rem;
}

input::-ms-reveal {
    display: none;
}

.helper-text {
    font-size: 0.8rem;
    color: #2a6e6b;
}

.validation-message {
    color: #e5465e;
}

.alert-info {
    background-color: #e2f7f7;
    color: #333333;
}

.message-icon-info {
    color: #248888;
    font-size: 1.2rem;
}

.alert-warning {
    background-color: #f9f0d1;
    color: #333333;
}

.alert-danger {
    color: #e5465e;
}

.message-icon-warning {
    color: #cda618;
    font-size: 1.2rem;
}

.message-icon-error {
    color: #ff0000;
    font-size: 1.2rem;
}

.overflow-x-auto-contents {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
}

@media screen and (max-width: 575.98px) {
    #main-container {
        flex-direction: column;
    }

    #main-wrapper {
        height: calc(100vh - 76px);
        height: calc(var(--vh, 1vh) * 100 - 76px);
    }
}

.cursor-pointer {
    cursor: pointer;
}

.table-filter-wrapper {
    background-color: #f3f3f3;
    border-top: 5px solid var(--primary);
    overflow-x: auto;
}

.table-filter-wrapper .table-filter {
    display: flex;
    padding: 0.5rem;
}

.table-filter-wrapper .table-filter .filter-item {
    margin-right: 0.5rem;
}

.table-filter-wrapper .table-filter .filter-item > span {
    font-size: 0.9rem;
}

@media (min-width: 576px) {
    .form-inline input[type="date"].form-control,
    .form-inline input[type="month"].form-control,
    .form-inline input[type="datetime-local"].form-control {
        min-width: 180px;
    }

    .form-inline input[type="time"].form-control {
        min-width: 90px;
    }
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"] {
    clip-path: inset(100%);
    pointer-events: none;
    position: absolute;
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"] + label {
    cursor: pointer;
    padding-left: 30px;
    position: relative;
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"] + label::before {
    border: 2px solid var(--primary);
    border-radius: 50%;
    background-color: #ffffff;
    box-sizing: border-box;
    content: "";
    height: 24px;
    left: 0;
    position: absolute;
    width: 24px;
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"]:checked + label::before {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 24px;
    left: 0;
    position: absolute;
    width: 24px;
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 0.2rem rgba(69, 150, 150, 0.5);
}

.aa-202312-custom-checkbox .custom-checkbox input[type="checkbox"]:checked + label::after {
    border-color: white;
    border-style: solid;
    border-width: 0 0 3px 3px;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 10px;
    left: 5px;
    position: absolute;
    top: 5px;
    transform: rotate(-45deg);
    width: 14px;
}

.aa-cmp-autocomplete {
    background: white;
    border: solid 1px rgb(206, 212, 218);
    border-radius: 0.25rem;
    max-height: 400px;
    min-width: 100%;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    z-index: 10;
}

.aa-cmp-autocomplete > li {
    cursor: pointer;
    list-style: none;
    padding: 0.25rem 0.5rem;
}

.aa-cmp-autocomplete > li.active {
    background-color: #555;
    color: white;
}

.aa-cmp-calendar {
    display: flex;
    flex-direction: column;
}

.aa-cmp-calendar .calendar-header {
    background: #dee2e6;
    display: flex;
    flex-direction: column;
}

.aa-cmp-calendar .calendar-month-header {
    align-items: center;
    display: flex;
}

.aa-cmp-calendar .calendar-week-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.aa-cmp-calendar .calendar-week {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.aa-cmp-calendar .calendar-day .day-header {
    font-size: 1.2rem;
}

.aa-cmp-calendar .calendar-day.today:not(.out-of-month) .day-header {
    font-weight: bold;
}

.aa-cmp-calendar .calendar-week .calendar-day:first-child {
    border-left: solid 1px #dee2e6;
}

.aa-cmp-calendar .calendar-week .calendar-day.today:not(.out-of-month) {
    border: solid 2px #000000;
}

.aa-cmp-calendar .calendar-day {
    align-items: center;
    border-bottom: solid 1px #dee2e6;
    border-right: solid 1px #dee2e6;
    box-sizing: border-box;
    display: flex;
    flex-basis: calc(100% / 7);
}

.aa-cmp-calendar .sunday {
    color: #ff0000;
}

.aa-cmp-calendar .saturday {
    color: #0000ff;
}

.aa-cmp-clipboardcopy .btn-icon {
    background: transparent;
    border: solid 1px transparent;
    border-radius: 2px;
    box-sizing: border-box;
    cursor: pointer;
    color: var(--primary);
    display: inline-block;
}

.aa-cmp-clipboardcopy .btn-icon:focus {
    outline: 0;
}

.aa-cmp-clipboardcopy .btn-icon:focus-visible {
    outline: 0;
    box-shadow: rgba(69, 150, 150, 0.5) 0px 0px 0px 0.2rem;
}

.aa-cmp-clipboardcopy .floating-message {
    background-color: #333;
    border-radius: 4px;
    box-shadow: 8px 8px 8px -8px;
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    padding: 4px 10px;
    position: absolute;
    z-index: 1;
}

.aa-cmp-clipboardcopy .floating-message.show {
    opacity: 1;
}

.aa-cmp-downloaddialog .filename {
    word-break: break-all;
}

.aa-cmp-downloaddialog .size {
    column-gap: 0.5rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
}

.aa-cmp-loading.loading-indicator {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aa-cmp-locking.locking-indicator {
    background-color: #000;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2000;
}

.aa-cmp-locking.locking-indicator.show {
    opacity: 0.3;
    transition: opacity 0.2s ease-in;
    visibility: visible;
}

.aa-cmp-locking.locking-indicator:not(.show) {
    opacity: 0;
    transition: opacity 0.2s ease-in, visibility 0.2s;
    visibility: hidden;
}

.aa-cmp-passwordtext.password-column {
    position: relative;
}

.aa-cmp-passwordtext.password-column .password-eye {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 100%;
    cursor: pointer;
}

.aa-cmp-qrcodescanner {
    position: relative;
}

.aa-cmp-qrcodescanner .not-available {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.aa-cmp-qrcodescanner .back-image {
    height: 100%;
    position: absolute;
    width: 100%;
}

.aa-cmp-qrcodescanner .video-image {
    height: 100%;
    position: absolute;
    width: 100%;
}

.aa-cmp-qrcodescanner .back-image .box {
    border: 0.1rem solid rgba(3, 169, 244, 0.2);
    height: 100%;
    left: 50%;
    overflow: hidden;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.aa-cmp-qrcodescanner.scanning .back-image .line {
    animation: aa-cmp-qrcodescanner-radar-beam 3s infinite;
    animation-delay: 0.5s;
    animation-timing-function: cubic-bezier(0.3, 0, 0.43, 0.7);
    background: linear-gradient(180deg, rgba(0, 255, 51, 0) 43%, #03a9f4 400%);
    border-bottom: 1px solid #03a9f4;
    height: 100%;
    transform: translateY(-100%);
    width: 100%;
    z-index: 200;
}

.aa-cmp-qrcodescanner.scanning .back-image .guide-left-top {
    position: absolute;
    border-top: 5px red solid;
    border-left: 5px red solid;
    z-index: 190;
}

.aa-cmp-qrcodescanner.scanning .back-image .guide-left-bottom {
    position: absolute;
    border-left: 5px red solid;
    border-bottom: 5px red solid;
    z-index: 190;
}

.aa-cmp-qrcodescanner.scanning .back-image .guide-right-top {
    position: absolute;
    border-top: 5px red solid;
    border-right: 5px red solid;
    z-index: 190;
}

.aa-cmp-qrcodescanner.scanning .back-image .guide-right-bottom {
    position: absolute;
    border-bottom: 5px red solid;
    border-right: 5px red solid;
    z-index: 190;
}

.aa-cmp-qrcodescanner.fm-user video {
    transform: rotateY(180deg);
}

@keyframes aa-cmp-qrcodescanner-radar-beam {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.aa-cmp-popupmessage {
    align-items: center;
    animation-name: aa-cmp-popupmessage-fadeout-message;
    animation-delay: 1.5s;
    animation-duration: 2.8s;
    animation-fill-mode: forwards;
    border-radius: 0.25rem;
    box-shadow: 4px 4px 8px gray;
    display: flex;
    font-size: 0.9rem;
    min-height: 40px;
    position: fixed;
    text-align: center;
    top: 14px;
    padding-bottom: 0.25rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
}

.aa-cmp-popupmessage.message-normal {
    background-color: #2a6e6b;
    color: white;
}

@keyframes aa-cmp-popupmessage-fadeout-message {
    to {
        top: -999px;
    }
}

.aa-cmp-scrollable-label {
    opacity: 1;
    overflow-x: auto;
    overflow-y: hidden;
}

.aa-cmp-scrollable-label.form-control:not(.active) {
    background-color: #e9ecef;
}

.aa-cmp-scrollable-label::-webkit-scrollbar {
    height: 4px;
}

.aa-cmp-scrollable-label::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 2px;
}

.aa-cmp-scrollable-label::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.aa-cmp-scrollable-label div {
    display: inline-block;
    height: 100%;
    white-space: nowrap;
}

.aa-cmp-extendedtable .aa-cmp-extendedtableheader.sortable {
    cursor: pointer;
}

.aa-cmp-tabcontrol .aa-cmp-tabpanel {
    background: #f3f3f3;
    padding: 1rem;
}

.aa-cmp-tabcontrol > .nav > .nav-item .btn {
    font-size: 0.9rem;
}

.aa-cmp-tabcontrol > .nav > .nav-item .btn:not(.active) {
    color: var(--primary);
}
