@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modifie: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;
    }


.spinner-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/*　original */
.row-padding {
    padding: .375rem .75rem;
}

.row-padding-top {
    padding-top: .375rem;
}

.spanheader {
    display: inline-block;
    margin-top: 5px;
    padding-left: 2px;
    padding-top: 0px;
    padding-right: 0px;
    height: 26px;
    width: 9em;
    float: none;
}

.spanheader_double {
    display: inline-block;
    margin-top: 5px;
    padding-left: 2px;
    padding-top: 0px;
    padding-right: 0px;
    height: 26px;
    width: 18em;
    float: none;
}

.spanheader_sub {
    display: inline-block;
    margin-top: 5px;
    margin-left: 1em;
    padding-left: 2px;
    padding-top: 0px;
    padding-right: 0px;
    height: 26px;
    width: 8em;
    float: none;
}

.spanheader_ex {
    display: inline-block;
    margin-top: 5px;
    padding-left: 2px;
    padding-top: 0px;
    padding-right: 0px;
    height: 26px;
    width: 100%;
    float: none;
}

.check-vertical-top {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-top: 2px;
    vertical-align: top !important
}

@media screen and (max-width: 768px) {

    .scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Original*/


.btn-secondary {
    color: #fff;
    background-color: #c21b6e;
    border-color: #ac1861;
}

/* 2025/07/11*/
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 画面の高さぴったり */
    width: 250px;  /* お好みで */
    background-color: #f8f9fa;
    overflow-y: auto;
}

.menu-items {
    flex: 1 1 auto;
    padding: 0.5rem;
    overflow-y: auto;
}

.sidebar-footer {
    margin-top: auto;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-top: 1px solid #ccc;
    background-color: #f0f0f0;
    text-align: right;
}