﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/* ---------------------------------------------------------------------------------------------------- */
/* @font-face kit by Fonts2u (https://fonts2u.com) */

@font-face {
    font-family: "Michroma";
    src: url("/lib/michroma/Michroma.eot?") format("eot"), url("/lib/michroma/Michroma.woff") format("woff"), url("/lib/michroma/Michroma.ttf") format("truetype"), url("/lib/michroma/Michroma.svg#Michroma") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Fix Size */
.wf-350 {
    width: 350px;
}

.wf-140 {
    width: 140px;
}

.wf-100 {
    width: 100px;
}

.wf-8rem {
    width: 8rem !important;
}

.wm-220 {
    min-width: 220px;
}

.fs-6s {
    font-size: 0.9rem !important;
    line-height: 0.9rem;
    display: inline-block;
}

.fs-7 {
    font-size: 0.75rem !important;
}

.fs-8 {
    font-size: 0.65rem !important;
}

.fs-9 {
    font-size: 0.65rem !important;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Blazor Default */
html, body {
    font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif,'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3',Meiryo,メイリオ,Osaka,'MS PGothic' !Important;
    font-size: 1rem !important;
}

h1:focus {
    outline: none;
}

h5.card-title {
    display: inline-block;
}

a {
    text-decoration: none !important;
}

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

.input-group .btn {
    z-index: 1 !important;
}

.form-select:disabled {
    color: #333;
    opacity: 0.7;
}

.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 {
    font-size: xx-small;
    color: lightgray;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    line-height: 0.2rem;
}

    #blazor-error-ui a {
        color: #9fb3cf;
    }

    #blazor-error-ui .dismiss {
        font-size: xx-small;
        color: lightgray;
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        line-height: 0.2rem;
    }

.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."
    }

.nav-item-menu {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.h-1r {
    height: 1rem;
}
.h-2r {
    height: 2rem;
}
.h-3r {
    height: 3rem;
}
.h-4r {
    height: 4rem;
}
.h-5r {
    height: 5rem;
}
.h-6r {
    height: 6rem;
}
.h-7r {
    height: 7rem;
}
.h-8r {
    height: 8rem;
}
.h-9r {
    height: 9rem;
}
.h-10r {
    height: 10rem;
}

.mh-1r {
    max-height: 1rem;
}

.mh-2r {
    max-height: 2rem;
}

.mh-3r {
    max-height: 3rem;
}

.mh-4r {
    max-height: 4rem;
}

.mh-5r {
    max-height: 5rem;
}

.mh-6r {
    max-height: 6rem;
}

.mh-7r {
    max-height: 7rem;
}

.mh-8r {
    max-height: 8rem;
}

.mh-9r {
    max-height: 9rem;
}

.mh-10r {
    max-height: 10rem;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Style of component */
/* MarginやPaddingはコンポーネント側に mx-2 pt-1 等のBootstrap空白ユーティリティで指定し、ここに指定しないこと
   ただしBootstrapで自動付与されるオブジェクトやクラスの調整は例外とする */
/* アトリビュート指定はアルファベット順とすること、ただし top left bottom right はこの順とする */
/* SpreadSheet */
@media (min-width: 1280px) {
    .page main article.content {
        height: calc(100% - 56px) !important;
    }
}

.x-spreadsheet-selector-corner {
    display: none !important;
}

.x-spreadsheet-selector .x-spreadsheet-selector-area {
    border: none !important;
}

.x-spreadsheet canvas {
    background-color: #f4f4f4;
    border-radius: 5px;
}

/* Index Cards */
#index-cards {
    max-height: 100%;
    overflow: auto;
    width: 100%;
}

    #index-cards .card {
        max-height: 400px !important;
    }

    #index-cards .card-img-top {
        max-width: 350px;
    }

#index-bottom {
    background-color: #f8f9fa;
    transition: height 0.3s ease;
    overflow: hidden;
    z-index: 1050;
    padding-bottom: 2vh;
    border: none;
    background-color: white !important;
}
    #index-bottom span:first-of-type {
        display: none;
    }

    #index-bottom iframe {
        height: 100%;
        min-height: 800px;
    }

    #index-bottom .card {
        border: 2px solid #0061d5;
    }

    #index-bottom #bottom-control {
        display: none;
    }

        #index-bottom #bottom-control button {
            font-size: 0.7rem;
            padding-top: 0.2rem !important;
            padding-bottom: 0.2rem !important;
            margin-right: 0.3rem;
        }

        #index-bottom #bottom-control .btn-secondary {
            background-color: crimson;
            border-color: crimson;
        }

@media (min-width: 1280px) {
    #index-bottom {
        position: fixed;
        bottom: 0vh;
        left: 250px; /* サイドバーと被らないように左端をずらす */
        height: var(--panel-height);
        width: calc(100% - 250px) !important; /* 残り幅に調整 */
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

        #index-bottom .card {
            height: 100%;
        }

        #index-bottom iframe {
            min-height: 1px !important;
        }

        #index-bottom #bottom-control {
            width: 100%;
            height: 10px;
            cursor: ns-resize;
            background: repeating-linear-gradient(to bottom, #0061d5 0px, #5179cb 1px, #072371 1px, transparent 2px);
            display: revert;
            text-align: right;
            padding-top: 0.1rem;
            padding-bottom: 0.2rem;
        }

        #index-bottom span:first-of-type {
            display: inline;
            padding: 0rem 0.2rem 0rem 0.2rem;
            background-color: #f1f5f7;
            text-align: right;
        }

        #index-bottom .open-btn {
            background-color: rgb(0 63 165 / 70%);
            color: white;
            border: none;
            width: 60px;
            padding: 0;
            cursor: pointer;
            z-index: 10;
            font-size: 0.7rem;
            font-weight: 100 !important;
        }

        #index-bottom .close-btn {
            background-color: rgb(121 21 21 / 70%);
            color: white;
            border: none;
            width: 60px;
            padding: 0;
            cursor: pointer;
            z-index: 10;
            font-size: 0.7rem;
            font-weight: 100 !important;
        }
}

.iframe-disabled {
    pointer-events: none;
}

#resizeGhost {
    position: fixed;
    left: 240px;
    bottom: 0;
    width: calc(100% - 240px);
    height: 0;
    border-top: 2px dashed #0061d5;
    z-index: 2000;
    pointer-events: none;
    display: none;
}

/* ButtonPanel */
table.ButtonPanel-Table {
    width: 100%;
}

    table.ButtonPanel-Table .BottomPanel-Table-Right a {
        margin-left: 1rem;
        white-space: nowrap;
    }

div.ButtonPanel {
    display: inline-block;
}

    div.ButtonPanel .btn {
        font-size: 0.875rem;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.5;
        margin-top: 0.2rem !important;
        margin-bottom: 0.2rem !important;
        min-width: 5rem;
        height: 2rem;
    }

    div.ButtonPanel > .btn-group > .btn:first-child {
        border-top-left-radius: 0.2rem !important;
        border-bottom-left-radius: 0.2rem !important;
    }

    div.ButtonPanel .btn-dropdown {
        min-width: 1.2rem !important;
        width: 1.2rem !important;
        padding-left: 0px;
        padding-right: 0px;
        border-top-right-radius: 0.2rem !important;
        border-bottom-right-radius: 0.2rem !important;
    }

    div.ButtonPanel .dropdown-menu {
        font-size: 0.8rem !important;
    }

    div.ButtonPanel .btn-primary {
        background-color: rgb(240, 240, 240) !important;
        border-color: lightgray !important;
        color: rgb(75, 75, 75) !important;
    }

        div.ButtonPanel .btn-primary:hover {
            background-color: rgb(240, 240, 240) !important;
            border-color: lightgray !important;
            box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%), 0 2px 3px 0 rgb(0 0 0 / 5%);
            color: rgb(60, 60, 60) !important;
        }

        div.ButtonPanel .btn-primary:focus {
            box-shadow: 0 0 0 0.25rem rgb(130 138 145 / 50%) !important;
        }

/* SheetSwitch */
span.SheetSwitch {
    display: block;
    width: 100%;
    border-radius: 5px;
    background-color: #f4f4f4;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 3px;
}

    span.SheetSwitch span.form-check {
        display: inline-block;
        margin-right: 0.5rem;
        color: #636464;
    }

        span.SheetSwitch span.form-check label.form-check-label {
            font-size: 0.8rem !important;
        }

    span.SheetSwitch span.form-switch input.form-check-input {
        width: 1.8em !important;
        margin-top: 0.35em;
        margin-left: -2.0em !important;
        height: 0.8em !important;
    }

/* CenterButtonPanel */
div.CenterButtonPanel {
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

    div.CenterButtonPanel .btn {
        min-width: 10rem;
    }

    div.CenterButtonPanel .btn-sm {
        padding: 0rem;
    }

    div.CenterButtonPanel .btn-danger-dark {
        background-color: #542025;
        border-color: #8d8d8d;
        color: #6e3434;
    }

        div.CenterButtonPanel .btn-danger-dark:hover {
            background-color: #85202a;
            border-color: #b02a37;
            color: #c78e8e;
        }

    div.CenterButtonPanel .btn-danger {
        background-color: rgb(187, 45, 59);
        border-color: #b02a37;
        box-shadow: rgb(187 45 59 / 28%) 0px 0px 0px 0.25rem !important;
        color: #fff;
    }

        div.CenterButtonPanel .btn-danger:hover {
            background-color: #dc3545;
            border-color: #b02a37;
            color: #fff;
        }

/* card-body ButtonPanel */
.card-body .ButtonPanel .right-1 {
    margin-right: 0px !important;
    position: absolute;
    right: 1rem;
}

/* AnnouncePanelMessage */
#AnnouncePanelMessage {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* MessagePanel */
div.MessagePanel {
    display: block;
}

.alert {
    margin-bottom: 0.25rem !important;
}

.alert-announce {
    color: white;
    background-color: #202020;
    border-color: transparent;
}

div.MessagePanel .alert:focus-visible {
    outline: none;
}

div.MessagePanel .btn-outline-light {
    border-color: #bdbdbd !important;
    color: #909090 !important;
}

div.MessagePanel .alert-warning {
    background-color: rgb(255 245 230) !important;
}

div.MessagePanel .btn-outline-warning {
    color: rgb(177 133 0) !important;
}

div.MessagePanel .btn-outline-info {
    color: rgb(0 121 145) !important;
}

div.MessagePanel .btn-outline-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

div.MessagePanel .btn-outline-light:hover {
    color: #707070 !important;
}

div.MessagePanel .btn-outline-info:hover {
    color: #fff !important;
}

div.MessagePanel .btn-outline-warning:hover {
    color: #fff !important;
}

div.MessagePanel .btn-outline-danger:hover {
    color: #fff !important;
}

div.MessagePanel .btn {
    font-size: 0.7rem;
}

div.MessagePanel .alert-light {
    background-color: #fcfcfc !important;
    border-color: #f4f4f4 !important;
}

div.MessagePanel .alert-lightwarn {
    background-color: #f5f5f5 !important;
    border-color: #a4a4a4 !important;
}

div.MessagePanel .notice {
    color: red;
    font-size: 0.7rem;
}

div.MessagePanel .list-message {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    max-height: 5.5rem;
    width: 100%;
    overflow: auto;
    display: inline-block;
    font-size: smaller;
}

div.MessagePanel .message .list-message:first-of-type {
    margin-top: 0.4rem !important;
}

div.MessagePanel .mini-list-message {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    max-height: 4.2rem;
    overflow: auto;
    display: inline-block;
    font-size: 0.8rem;
}

div.MessagePanel .message .mini-list-message:first-of-type {
    margin-top: 0.4rem !important;
}

@media (min-width: 768px) {
    div.MessagePanel.FormTop {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    div.MessagePanel.FormTop {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    div.MessagePanel.FormTop {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    div.MessagePanel.FormTop {
        max-width: 1320px;
    }
}

/* FooterButtonPanel */
div.FooterButtonPanel > div:first-child {
    min-height: 5.5rem;
    color: #636464 !important;
}

    div.FooterButtonPanel .alert {
        padding: 0.3rem 0.3rem;
    }

    div.FooterButtonPanel .alert-light {
        background-color: rgb(232, 240, 254) !important;
        border: 1px solid #ced4da;
    }

    div.FooterButtonPanel .alert-info {
        background-color: rgb(232, 240, 254) !important;
        border: 1px solid #ced4da;
    }

    div.FooterButtonPanel .alert-warning {
        background-color: rgba(255, 243, 205, 0.61) !important;
    }

    div.FooterButtonPanel .notice {
        font-size: 0.75rem;
    }

    div.FooterButtonPanel .btn {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.1rem;
        line-height: 1.2;
        margin-top: 0.2rem !important;
        margin-bottom: 0.2rem !important;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
        min-width: 8rem;
        height: 1.8rem;
    }

        div.FooterButtonPanel .btn:disabled {
            display: none;
        }

    div.FooterButtonPanel button.alert-light {
        background-color: #2F4F7F !important;
        border-color: #2F4F7F;
        color: white;
    }

        div.FooterButtonPanel .btn.alert-light:focus {
            box-shadow: 0 0 0 0.25rem rgb(13 202 240 / 50%) !important;
        }

        div.FooterButtonPanel button.alert-light.cancel {
            background-color: #42427040 !important;
            color: #424270 !important;
        }

        div.FooterButtonPanel button.alert-light:hover {
            background-color: #3F649F20 !important;
            color: #3F649F !important;
        }

    div.FooterButtonPanel button.alert-lightwarn {
        background-color: #5C6F82;
        border-color: #5C6F82;
        color: white;
    }

        div.FooterButtonPanel .btn.alert-lightwarn:focus {
            box-shadow: 0 0 0 0.25rem rgb(120 155 185 / 50%) !important;
        }

        div.FooterButtonPanel button.alert-lightwarn.cancel {
            background-color: #7d2f0c40;
            color: #424270 !important;
        }

        div.FooterButtonPanel button.alert-lightwarn:hover {
            background-color: #6E859D20 !important;
            color: #6E859D !important;
        }

    div.FooterButtonPanel button.alert-danger {
        background-color: #8B2E3A;
        border-color: #8B2E3A;
        color: white;
    }

        div.FooterButtonPanel .btn.alert-danger:focus {
            box-shadow: 0 0 0 0.25rem rgb(210 95 110 / 50%) !important;
        }

        div.FooterButtonPanel button.alert-danger.cancel {
            background-color: #7d0c2240;
            color: #424270 !important;
        }

        div.FooterButtonPanel button.alert-danger:hover {
            background-color: #A3435020 !important;
            color: #A34350 !important;
        }

    div.FooterButtonPanel .list-message {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        max-height: 5.5rem;
        width: 100%;
        overflow: auto;
        display: inline-block;
        font-size: smaller;
    }

    div.FooterButtonPanel .message .list-message:first-of-type {
        margin-top: 0.4rem !important;
    }

    div.FooterButtonPanel .mini-list-message {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        max-height: 4.2rem;
        overflow: auto;
        display: inline-block;
        font-size: 0.8rem;
    }

    div.FooterButtonPanel .message .mini-list-message:first-of-type {
        margin-top: 0.4rem !important;
    }

    div.FooterButtonPanel .btn-group > .btn:last-of-type {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        border-left: 1px solid darkgray;
        min-width: 0px;
    }

/* Button (New UI) */
.new-ui .btn {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    line-height: 1.2;
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    min-width: 8rem;
    height: 1.8rem;
}

    .new-ui button.btn-primary {
        background-color: #2F4F7F !important;
        border-color: #2F4F7F !important;
        color: white !important;
    }

        .new-ui button.btn-primary:focus {
            box-shadow: 0 0 0 0.25rem rgb(13 202 240 / 50%) !important;
        }

        .new-ui button.btn-primary.cancel {
            background-color: #42427040 !important;
            color: #424270 !important;
        }

        .new-ui button.btn-primary:hover {
            background-color: #3F649F20 !important;
            color: #3F649F !important;
        }

/* CheckBox */
#loadCondition div.CheckBox {
    margin-bottom: 3px;
}

div.CheckBox {
    display: inline-block;
}

    div.CheckBox .form-check {
        display: inline-block !important;
        margin-bottom: 0px !important;
        margin-right: 15px;
        vertical-align: bottom;
    }

        div.CheckBox .form-check input {
            cursor: pointer;
        }

        div.CheckBox .form-check label {
            cursor: pointer;
        }

/* ClearableBox */
#loadCondition div.ClearableBox {
    margin-bottom: 3px;
}

div.ClearableBox {
    display: inline-block;
}

    div.ClearableBox label {
        color: #202020;
        display: block;
        font-size: 0.5rem;
    }

        div.ClearableBox label:before {
            content: '- ';
        }

        div.ClearableBox label:after {
            content: ' -';
        }

    div.ClearableBox .input-group {
        display: inline-flex !important;
        flex-wrap: nowrap;
        width: auto !important;
    }

        div.ClearableBox .input-group .form-control {
            border: 1px solid lightgray;
            display: inline-block !important;
            font-size: 0.6rem;
            height: 1.5rem !important;
            width: 7rem !important;
        }

        div.ClearableBox .input-group .input-group-append {
            display: inherit;
            height: 1.5rem !important;
        }

        div.ClearableBox .input-group .btn {
            border: 1px solid lightgray;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            box-shadow: none;
            color: #202020;
            display: inline-block !important;
            font-size: 0.6rem;
            height: 1.5rem !important;
        }

            div.ClearableBox .input-group .btn:focus {
                box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%)
            }

/* BoxFolderIdBox */
#loadCondition div.BoxFolderIdBox {
    margin-bottom: 3px;
}

.large-boxFolderId div.BoxFolderIdBox .input-group .form-control {
    font-size: 1rem;
    height: 2.1rem !important;
    width: 10rem !important;
}

.large-boxFolderId div.BoxFolderIdBox .input-group .btn {
    font-size: 1rem;
    height: 2.1rem !important;
}

div.BoxFolderIdBox {
    display: inline-block;
}

    div.BoxFolderIdBox label {
        color: #202020;
        display: block;
        font-size: 0.5rem;
    }

        div.BoxFolderIdBox label:before {
            content: '- ';
        }

        div.BoxFolderIdBox label:after {
            content: ' -';
        }

    div.BoxFolderIdBox .input-group {
        display: inline-flex !important;
        flex-wrap: nowrap;
        width: auto !important;
    }

        div.BoxFolderIdBox .input-group .form-control {
            border: 1px solid lightgray;
            display: inline-block !important;
            font-size: 0.6rem;
            height: 1.5rem !important;
            width: 7rem !important;
        }

        div.BoxFolderIdBox .input-group .input-group-append {
            display: inherit;
            height: 1.5rem !important;
        }

        div.BoxFolderIdBox .input-group .btn {
            background-color: #f5f5f5;
            border: 1px solid lightgray;
            box-shadow: none;
            color: #202020;
            display: inline-block !important;
            font-size: 0.6rem;
            height: 1.5rem !important;
        }

            div.BoxFolderIdBox .input-group .btn:first-child {
                border-top-right-radius: 0 !important;
                border-bottom-right-radius: 0 !important;
                color: darkslateblue;
            }

            div.BoxFolderIdBox .input-group .btn:last-child {
                border-top-left-radius: 0 !important;
                border-bottom-left-radius: 0 !important;
            }

            div.BoxFolderIdBox .input-group .btn:focus {
                box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%)
            }

/* FromToBox */
#loadCondition div.FromToBox {
    margin-bottom: 3px;
}

div.FromToBox {
    display: inline-block;
}

#loadCondition div.FromToBox .input-group {
    display: inline-flex !important;
    flex-wrap: nowrap;
    width: auto !important;
}

    #loadCondition div.FromToBox .input-group .form-control {
        border: 1px solid lightgray;
        display: inline-block !important;
        font-size: 0.6rem;
        height: 1.5rem !important;
        width: 7rem;
    }

#loadCondition div.FromToBox input[type=date] {
    width: 6rem !important;
}

#loadCondition div.FromToBox .input-group-text {
    display: block;
    font-size: 0.6rem;
    height: 1.5rem !important;
    line-height: 1.5rem;
    padding: 0px;
    text-align: center !important;
    vertical-align: middle;
    width: 1.5rem !important;
}

div.FromToBox label {
    color: #202020;
    display: block;
    font-size: 0.5rem;
}

    div.FromToBox label:before {
        content: '- ';
    }

    div.FromToBox label:after {
        content: ' -';
    }

/* MonthBox */
div.MonthBox {
    display: inline-block;
    margin-bottom: 3px;
}

    div.MonthBox .MonthBox-danger {
        background-color: lightpink;
        color: red;
    }

#loadCondition div.MonthBox .input-group {
    display: inline-flex !important;
    flex-wrap: nowrap;
    width: auto !important;
}

    #loadCondition div.MonthBox .input-group .form-control {
        border: 1px solid lightgray;
        display: inline-block !important;
        font-size: 0.6rem;
        height: 1.5rem !important;
        width: 7rem;
    }

#loadCondition div.MonthBox input[type=month] {
    width: 6rem !important;
    font-size: 0.6rem;
    height: 1.5rem !important;
    display: block;
    line-height: 1.5rem;
    vertical-align: middle;
    margin-right: 1rem;
}

#loadCondition div.MonthBox .input-group-text {
    display: block;
    font-size: 0.6rem;
    height: 1.5rem !important;
    line-height: 1.5rem;
    padding: 0px;
    text-align: center !important;
    vertical-align: middle;
    width: 1.5rem !important;
}

div.MonthBox label {
    color: #202020;
    display: block;
    font-size: 0.5rem;
}

    div.MonthBox label:before {
        content: '- ';
    }

    div.MonthBox label:after {
        content: ' -';
    }

/* DropdownBox */
#loadCondition div.DropdownBox {
    margin-bottom: 3px;
}

div.DropdownBox {
    display: inline-block;
}

    div.DropdownBox .btn-outline-light {
        border-color: #bdbdbd !important;
        color: #bdbdbd !important;
    }

    div.DropdownBox .dropdown {
        display: inline-flex !important;
    }

        div.DropdownBox .dropdown .btn {
            box-shadow: none;
            color: #202020 !important;
            font-size: 0.6rem !important;
            height: 1.5rem !important;
        }

            div.DropdownBox .dropdown .btn:focus {
                box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%)
            }

        div.DropdownBox .dropdown .dropdown-menu {
            border: 1px solid rgba(0,0,0,.15);
            font-size: 0.6rem !important;
            min-width: 5rem;
            top: 24px;
        }

    div.DropdownBox .dropdown-toggle::after {
        margin-left: 0.5rem !important;
    }

    div.DropdownBox label {
        color: #202020;
        display: block;
        font-size: 0.5rem;
    }

        div.DropdownBox label:before {
            content: '- ';
        }

        div.DropdownBox label:after {
            content: ' -';
        }

/* SheetModePanel */
#SheetModeHeader {
}

    #SheetModeHeader #SheetModePanel {
        background-color: rgb(187, 45, 59);
        border-radius: 3px;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%), 0 2px 10px 0 rgb(0 0 0 / 10%);
        color: white;
        display: inline-block;
        font-size: 9px;
        text-align: center;
        text-transform: uppercase;
        vertical-align: middle;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #SheetModeHeader #PageNavigation {
        display: inline-block;
    }

        #SheetModeHeader #PageNavigation a {
            color: #0071c1 !important;
            font-size: 0.8rem;
        }

        #SheetModeHeader #PageNavigation .disabled a {
            color: lightgray !important;
            cursor: text;
        }

/* TextSearcherBox */
#loadCondition div.TextSearcherBox {
    margin-bottom: 3px;
}

div.TextSearcherBox {
    display: inline-block;
}

    div.TextSearcherBox label {
        color: #202020;
        display: block;
        font-size: 0.5rem;
    }

        div.TextSearcherBox label:before {
            content: '- ';
        }

        div.TextSearcherBox label:after {
            content: ' -';
        }

    div.TextSearcherBox .input-group {
        display: inline-flex !important;
        flex-wrap: nowrap;
        width: auto !important;
    }

        div.TextSearcherBox .input-group .form-control {
            border: 1px solid lightgray;
            font-size: 0.6rem;
            display: inline-block !important;
            height: 1.5rem !important;
            width: 7rem !important;
        }

    div.TextSearcherBox .btn-outline-light {
        border-color: #bdbdbd !important;
        color: #bdbdbd !important;
    }

    div.TextSearcherBox .btn {
        box-shadow: none;
        color: #202020 !important;
        font-size: 0.6rem !important;
        height: 1.5rem !important;
        line-height: 1.5rem;
        min-width: 5rem;
        padding: 0px 5px 0px 5px;
        vertical-align: central;
    }

    div.TextSearcherBox .input-group .btn:focus {
        box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%)
    }

    div.TextSearcherBox .dropdown-menu {
        border: 1px solid rgba(0,0,0,.15);
        font-size: 0.6rem !important;
        min-width: 5rem;
        top: 24px;
    }

/* Virtutal Select */
.vscomp-ele {
    max-width: none !important;
}

.vscomp-toggle-button {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem;
}

.vscomp-wrapper.focused .vscomp-toggle-button, .vscomp-wrapper:focus .vscomp-toggle-button {
    box-shadow: none !important;
}

/* BoxUsersSelectionBox */
.box-users-selection {

}

    .box-users-selection .box-users-selection-fixed {
        line-height: 1.8rem;
    }

    .box-users-selection.emails-input {
        width: auto;
        overflow: visible !important;
    }

    .box-users-selection .dropdown-item {
        cursor: default;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow-x: hidden;
    }

    .box-users-selection .suggest-container {
        position: relative;
        display: inline;
    }

        .box-users-selection .suggest-container .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin: 4px 0 0 0;
            padding: 0;
            list-style: none;
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
        }

#CoAdminsToAddBoxArea {
    min-height: 5rem !important;
}

#FolderAdminsToAddBoxArea {
    min-height: 5rem !important;
}

/* StatusBox */
.StatusBox {
    background-color: #f4f0fb;
    border: 1px solid transparent;
    border-color: #af83ff;
    border-radius: 0.2rem;
    color: rgb(75, 75, 75) !important;
    display: inline-block;
    font-size: .875rem;
    height: 2rem;
    margin: 0.2rem;
    padding: .25rem .5rem;
}

    .StatusBox.gray {
        background-color: #fafafa;
        border: 1px solid transparent;
        border-color: lightgray;
    }

    .StatusBox a {
        font-size: 0.7rem;
    }

    .StatusBox .SubPanel {
        background-color: #fafafa;
        border: 1px solid lightgray;
        border-radius: 0.2rem;
        font-size: .875rem;
        left: -0.5rem;
        margin-top: 10px;
        padding: 10px;
        position: relative;
        text-align: center;
        width: 160px;
        z-index: 50000;
    }

        .StatusBox .SubPanel input {
            font-size: 0.75rem;
        }

        .StatusBox .SubPanel span {
            display: inline-block;
            width: 100%;
        }

        .StatusBox .SubPanel a {
            margin-left: 0.2rem;
            margin-right: 0.4rem;
        }

/* ---------------------------------------------------------------------------------------------------- */
/* Page Item */
/* MarginやPadding指定可　ただし margin は可能な限り left よりは right を、top よりは bottom を優先すること */
/* アトリビュート指定はアルファベット順とすること、ただし top left bottom right はこの順とする */
/* ページ表示制御 */
.show-contents {
    display: block;
    overflow: auto;
}

    .show-contents .container {
        padding-right: 0px !important;
    }

    .show-contents .container-fluid {
        padding-right: 0px !important;
    }

    .show-contents .container-md {
        padding-right: 0px !important;
    }

        .show-contents .container-md .row {
            margin-right: 0px !important;
        }

            .show-contents .container-md .row .col-12 {
                padding-left: 0px !important;
                padding-right: 0px !important;
            }

/* ヘッダ */
.header {
}

    .header .top-row {
        background-color: white;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
        height: 3.5rem !important;
    }

        .header .top-row .navbar-brand {
            color: #444444;
            font-size: 1.8rem;
            padding-left: 2rem;
        }

    .header .nav-item-right {
        position: absolute;
        right: 10px;
        top: 0;
    }

    .header .navbar-text {
        display: inline-block;
        margin-right: 0.7rem;
        max-width: 10rem;
        overflow: hidden;
        position: absolute;
        right: 2rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header .dropdown-menu {
        font-size: 1rem !important;
        position: relative;
        top: 2rem !important;
    }

    .header .iconify {
        font-size: 2rem;
        position: absolute;
        right: 0.2rem !important;
    }

/* Main Menu (Index.razor) のトップ */
.MainContentTop {
    height: 5%;
    text-align: right;
    vertical-align: bottom;
    width: 100%;
}

    .MainContentTop a {
        color: darkgray;
        display: inline-block;
        font-size: x-small;
        position: relative;
    }

        .MainContentTop a:hover {
            display: inline-block;
            position: relative;
            text-decoration: underline;
        }

/* ロード条件欄 */
#loadCondition {
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 0.25rem;
}

    #loadCondition .btn {
        background-color: #f5f5f5;
    }

    #loadCondition .lead {
        color: #b0b0b0;
        font-size: 0.6rem !important;
        margin-top: 0;
        margin-bottom: 0;
    }

        #loadCondition .lead::before {
            content: "- ";
        }

        #loadCondition .lead::after {
            content: " -";
        }

    #loadCondition div.CheckBox .form-check label {
        font-size: 0.6rem !important;
    }

    #loadCondition .nav-tabs {
        font-size: 0.6rem !important;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        border-bottom: 1px solid lightgray;
    }

        #loadCondition .nav-tabs .nav-link {
            border-color: #e9ecef #e9ecef lightgray;
            color: lightgray;
        }

            #loadCondition .nav-tabs .nav-link:hover {
                color: #202020 !important;
            }

            #loadCondition .nav-tabs .nav-link.active {
                border-color: lightgray lightgray #fff !important;
                color: #202020 !important;
            }

    #loadCondition .metadata-query {
        display: none;
    }

        #loadCondition .metadata-query.active {
            display: block;
        }

    #loadCondition .folder-crawl {
        display: none;
    }

        #loadCondition .folder-crawl.active {
            display: block;
        }

    #loadCondition .metadata-search {
        display: none;
        margin-top: 1rem;
    }

        #loadCondition .metadata-search.active {
            display: block;
        }

    #loadCondition .search-field .form-check {
        height: 0.8rem;
        min-height: 0.8rem;
        margin-bottom: 0;
        padding-left: 1rem;
    }

        #loadCondition .search-field .form-check input {
            font-size: 0.6rem;
        }

        #loadCondition .search-field .form-check label {
            font-size: 0.6rem;
            vertical-align: bottom;
            padding-top: 0;
            padding-bottom: 0;
            cursor: pointer;
        }

            #loadCondition .search-field .form-check label:before {
                content: '';
            }

            #loadCondition .search-field .form-check label:after {
                content: '';
            }

/* 共有リンクリクエストオプション */
#requestOptions span {
    display: inline-block;
    font-size: 0.7rem;
    margin-right: 0.5rem;
    border-radius: 0.2rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#requestOptions .RequestOptions_RequestToRemoveClassifications {
    background-color: #b54646;
    color: white;
}

#requestOptions .RequestOptions_RequestToRplaceClassifications {
    background-color: #3c8c6b;
    color: white;
}

#requestOptions .RequestOptions_PreviewOnly {
    background-color: #4fb6b2;
    color: white;
}

#requestOptions .RequestOptions_CompanyLink {
    background-color: #5a63a6;
    color: white;
}

#requestOptions .RequestOptions_ExpiresAt {
    background-color: #db805c;
    color: white;
}

#requestOptions .RequestOptions_ShareByFolder {
    background-color: #2f5d8c;
    color: white;
}

#requestOptions .RequestOptions_RestrictSelfApproval {
    background-color: #a6a23a;
    color: white;
}

#requestOptions .RequestOptions_Forbidden {
    background-color: #8f2f2f;
    color: white;
}

#requestOptions .RequestOptions_SecureLink {
    background: linear-gradient(160deg, #000000, #0435f3);
    color: white;
}

/* フォルダー招待申請のフォルダー種類 */
#folderTypes span {
    display: inline-block;
    font-size: 0.7rem;
    margin-right: 0.5rem;
    border-radius: 0.2rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#folderTypes .FolderType_Project {
    background-color: crimson;
    color: white;
}

#folderTypes .FolderType_General {
    background-color: mediumturquoise;
    color: white;
}

/* ProvisioningConfig の選択値設定欄 */
#ProvisioningConfig .form-select {
    height: 20rem !important;
}

/* UserConfig の選択値設定欄 */
#UserConfig .form-select {
    height: 20rem !important;
}

/* MetadataConfig の選択値設定欄 */
#MetadataConfig .form-select {
    height: 20rem !important;
}

#MetadataFields .form-select {
    display: inline-block;
    width: 95%;
}

#MetadataFields span {
    width: 4%;
    display: inline-block;
    text-align: center;
}

#MetadataConfigTitle {
    width: 12rem;
}

/* TODO 意図を確認 */
/*#selectedBoxFiles {
    table-layout: fixed;
}

    #selectedBoxFiles td {
        overflow: auto;
        white-space: nowrap;
    }
*/

.metadata-field-description {
    font-size: 0.7rem;
    color: GrayText;
}

/* 承認者用のマルチセレクト */
#ApproverBox :focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
    border-radius: 0.25rem;
}

/* 承認用の参照情報欄 */
.request-info label {
    font-size: 0.7rem;
    margin-bottom: 1px;
}

.request-info input {
    background-color: #f4f4f4;
    border-radius: 4px 4px;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #4f4f4f;
}

.request-info textarea.form-control-plaintext {
    background-color: #f4f4f4;
    border-radius: 4px 4px;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #4f4f4f;
}

/* exsheetの補足 */
.exsheet-comment {
    color: #6c757d;
    display: inline-block;
    font-size: 0.7rem !important;
    line-height: 0.9rem;
    vertical-align: middle;
    margin-bottom: 0;
    width: 100%;
}

    .exsheet-comment .MessagePanel .btn {
        line-height: 1 !important;
    }

    .exsheet-comment div.MessagePanel .alert-light {
        background-color: inherit !important;
        border: none !important;
    }

    .exsheet-comment div.notice-popup {
        color: white !important;
        background-color: #c9505c;
        border-radius: 0.25rem;
        padding: 0.2rem 0.6rem 0.2rem 0.2rem !important;
        display: inline;
    }

        .exsheet-comment div.notice-popup::before {
            content: "";
            position: relative;
            top: -22px; /* 上に出す */
            left: 20px; /* 横位置調整 */
            border-width: 8px;
            border-style: solid;
            border-color: transparent transparent #c9505c transparent;
        }

/* Box Preview */
.preview-container {
    height: 350px;
    width: 100%;
    background-color: black;
}

/* Box Content Explorer */
.content-explorer {
    height: 500px;
    width: 100%;
    background-color: black !important;
}

    .content-explorer .be-header {
        display: none !important;
    }

.bcs-content-header {
    display: none !important;
}

.bcs-activity-feed-comment-input {
    display: none !important;
}

.bcs-scroll-content-wrapper {
    top: 0px !important;
}

#sharedlink_approve .content-explorer .be-sub-header {
    display: none !important;
}

.bdl-SecurityBadge {
    padding: 1px 5px !important;
}

.bdl-SecurityBadge-name {
    font-weight: 100 !important;
    font-size: 10px !important;
    text-transform: lowercase !important;
    line-height: 10px;
}

.bdl-SecurityBadge-nolabel {
    color: #c5c5c5;
    font-size: 10px !important;
    font-weight: 100;
    line-height: 10px;
}

.bdl-SecurityBadge-remove {
    color: crimson;
    font-weight: bold !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    line-height: 10px;
}

/* Vertical Splitter */
.show-contents .top-row {
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.show-contents .second-row {
    background-color: black;
    border: 1px solid black;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 5px;
    min-height: 300px;
}

    .show-contents .second-row.hide {
        display: none;
    }

.sub-label {
    display: inline-block;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    position: absolute;
    right: 20px;
    text-align: right;
}

.link-label {
    display: inline-block;
    margin-top: 0.2rem;
    position: absolute;
    right: 20px;
    text-align: right;
}

    .link-label a {
        color: lightgray;
    }

.link-button {
    font-size: 0.8rem;
    color: gray;
    white-space: nowrap;
}

.right-label {
    display: inline-block;
    font-size: 0.6rem;
    padding-top: 0.4rem;
    vertical-align: top;
    text-align: right;
}

.row-counter {
    color: var(--bs-secondary) !important; /*グレー*/
    font-size: 0.7rem;
}

/* TODO 意図を確認 */
/*.selection-empty {
    background-color: #e9ecef;
    color: #6c757d;
    text-align: center;
}*/

/* ---------------------------------------------------------------------------------------------------- */
/* Common Adjust Bootstrap */
/* text */
.text-danger {
    color: #d22d2d !important;
}

.text-warning {
    color: #d2772d !important;
}

/* layout */
.side-menu {
    display: flex;
}

/* col */
.col {
    margin-bottom: 0.4rem;
}

.collapse-menu {
    display: none !important;
}

/* position */
.right-0 {
    position: absolute;
    right: 0rem;
}

.right-1 {
    position: absolute;
    right: 1rem;
}

.right-2 {
    position: absolute;
    right: 2rem;
}

/* input */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -2px;
}

input::placeholder {
    color: rgba(160, 160, 160, 0.6) !important;
}

input:focus::placeholder {
    color: transparent !important;
}

/* alert-secondary */
.alert-secondary {
    background-color: #f5f5f5 !important;
    border: none !important;
}

/* form-control-plaintext */
.form-control-plaintext {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border-radius: 0.25rem;
    background-color: #f5f5f5 !important;
}

/* btn */
.btn {
    margin: 0;
}

    .btn .btn-content {
        line-height: 1rem !important;
    }

.btn-outline-info {
    color: #0dcaf0;
    border-color: #0dcaf0 !important;
}

.btn-outline-secondary {
    border: 1px solid lightgray !important;
    background-color: #f5f5f5 !important;
    box-shadow: none;
    color: #202020 !important;
}

    .btn-outline-secondary:focus {
        box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%) !important;
    }

.btn-outline-info:hover {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
}

.btn-outline-warning:hover {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-outline-danger:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-check:focus + .btn-outline-info, .btn-outline-info:focus {
    box-shadow: 0 0 0 0.25rem rgb(13 202 240 / 50%) !important;
}

.btn-check:focus + .btn-outline-warning, .btn-outline-warning:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.25rem rgb(255 193 7 / 50%) !important;
}

.btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus {
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 50%) !important;
}

/* row */
.row > * {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important
}

/* toggle-link */
.toggle-link {
    color: gray;
    font-size: 0.8rem;
}

    .toggle-link:hover {
        color: darkgray;
    }

/* 強制右寄せパネル*/
.align-right {
    width: 100%;
    text-align: right;
}

/* HR */
.hr-text {
    width: 100%;
    text-align: center;
    position: relative;
    top: 1.8rem;
    background-color: transparent;
    z-index: 5;
}

    .hr-text .label {
        background-color: white !important;
        display: inline-block;
        position: relative;
        font-weight: 100 !important;
        padding-left: 10px;
        padding-right: 10px;
    }

        .hr-text .label::after {
            content: attr(data);
            font-size: 0.9rem;
            opacity: 0.7;
        }

/* list */
.list-group-item.title div {
    font-size: 0.7rem !important;
    color: lightgray;
    text-transform: uppercase;
    cursor: default !important;
}

.list-group-item.title:hover {
    background-color: transparent;
}

.list-group-item:hover {
    background-color: aliceblue;
    cursor: pointer;
}

.list-group-item div {
    color: rgb(75, 75, 75);
}

.list-group-item:first-child {
}

.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 1px !important;
}

.list-item-status {
    width: 50px;
    vertical-align: middle;
}

    .list-item-status img {
        width: 40px;
        position: relative;
    }

.list-item-requestedat {
    vertical-align: middle;
    width: 100px;
    font-size: 0.75rem;
    display: inline-block;
    padding-top: 0.3rem;
}

.list-item-requestedby {
    vertical-align: middle;
    width: 150px;
    font-size: 0.75rem;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0.3rem;
}

.list-item-destination {
    vertical-align: middle;
    width: 20%;
    min-width: 100px;
    max-width: 200px;
    font-size: 0.75rem;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0.3rem;
}

    .list-item-destination.over-10line {
        --lines: 10;
        max-height: calc(var(--lines) * 1.5em);
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
        mask-image: linear-gradient(180deg, #000 70%, transparent);
    }

        .list-item-destination.over-10line::after {
            content: "…";
            position: absolute;
            right: 0.25em;
            bottom: 0.1em;
            background: inherit; /* 背景を引き継ぐ */
        }

    .list-item-destination .list-item-destination-mails {
        color: #0435f3;
        font-size: 0.6rem;
        display: block;
        line-height: 1.75;
    }

.list-item-files {
    vertical-align: middle;
    width: 20%;
    min-width: 100px;
    max-width: 200px;
    font-size: 0.75rem;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0.3rem;
}

    .list-item-files.over-10line {
        --lines: 10;
        max-height: calc(var(--lines) * 1.5em);
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
        mask-image: linear-gradient(180deg, #000 70%, transparent);
    }

        .list-item-files.over-10line::after {
            content: "…";
            position: absolute;
            right: 0.25em;
            bottom: 0.1em;
            background: inherit; /* 背景を引き継ぐ */
        }

.list-item-message {
    display: none;
}

.list-item-approver {
    display: none;
}

.list-item-metadata {
    vertical-align: middle;
    width: 20%;
    min-width: 100px;
    max-width: 200px;
    font-size: 0.75rem;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0.3rem;
}

    .list-item-metadata.over-10line {
        --lines: 10;
        max-height: calc(var(--lines) * 1.5em);
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
        mask-image: linear-gradient(180deg, #000 70%, transparent);
    }

        .list-item-metadata.over-10line::after {
            content: "…";
            position: absolute;
            right: 0.25em;
            bottom: 0.1em;
            background: inherit; /* 背景を引き継ぐ */
        }

@media (min-width: 1024px) {
    .list-item-message {
        vertical-align: middle;
        font-size: 0.7rem;
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        padding-top: 0.3rem;
        width: 150px;
    }

        .list-item-message.over-10line {
            --lines: 10;
            max-height: calc(var(--lines) * 1.5em);
            overflow: hidden;
            position: relative;
            -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, transparent);
        }

            .list-item-message.over-10line::after {
                content: "…";
                position: absolute;
                right: 0.25em;
                bottom: 0.1em;
                background: inherit; /* 背景を引き継ぐ */
            }

    .list-item-approver {
        vertical-align: middle;
        width: 150px;
        font-size: 0.75rem;
        display: inline-block;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        padding-top: 0.3rem;
    }
}

/* pagination*/
.page-item.disabled .page-link {
    color: #dfdfdf !important;
}

.page-link {
    color: var(--bs-secondary) !important;
}

nav ul.pagination {
    margin-bottom: 0;
}

/* modal-dialog */
.box-ui-element .modal-dialog .btn-primary {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.box-ui-element .modal-dialog .be-sub-header-right {
    display: none;
}

/* media */
@media (min-width: 576px) {
    .box-ui-element .modal-dialog {
        max-width: 800px !important;
    }

        .box-ui-element .modal-dialog .modal-content {
            height: 600px !important;
        }

        .box-ui-element .modal-dialog .modal-body > div:first-child {
            height: 580px !important;
        }

    #select-co-admins-dialog .modal-dialog {
        max-width: 800px !important;
    }

        #select-co-admins-dialog .modal-dialog .modal-content {
            height: 600px !important;
        }

    #select-co-admins-dialog select {
        height: 400px !important;
    }

    #select-collaborators-dialog .modal-dialog {
        max-width: 800px !important;
    }

        #select-collaborators-dialog .modal-dialog .modal-content {
            height: 600px !important;
        }

    #select-collaborators-dialog select {
        height: 370px !important;
    }

    #select-folder-admins-dialog .modal-dialog {
        max-width: 800px !important;
    }

        #select-folder-admins-dialog .modal-dialog .modal-content {
            height: 600px !important;
        }

    #select-folder-admins-dialog select {
        height: 400px !important;
    }
}

@media (min-width: 1280px) {
    .collapse-menu {
        display: flex !important;
    }

    .guide-sidemenu {
        display: flex !important;
    }

        .guide-sidemenu .guidemenu-title {
            display: block !important;
        }
}

/* emails-input */
.disabled {
}

    .disabled .emails {
        background-color: #e9ecef;
        min-height: 2.8rem !important;
    }

    .disabled .remove {
        display: none !important;
    }

    .disabled input {
        display: none !important;
    }

.emails input {
    width: 20rem;
}

.email-chip .content {
    padding-top: 0;
}

#inviteesToAdd .emails {
    height: 10rem !important;
}

#folderAdminsToAdd .emails {
    height: 5rem !important;
}

#folderAdminsToRemove .emails {
    height: 5rem !important;
}

    #folderAdminsToRemove .emails.emails-input .email-chip {
        background: rgba(255, 102, 102, 0.2);
    }

    #folderAdminsToRemove .emails input {
        display: none;
    }

#coAdminNames .added {
    color: #08385a !important;
    font-weight: 500;
}

#coAdminNames .removed {
    text-decoration: line-through;
    color: darkgray !important;
    font-weight: 500;
}

#collaboratorsToRemove .emails {
    height: 5rem !important;
}

#collaboratorsToRemove .emails.emails-input .email-chip {
    background: rgba(255, 102, 102, 0.2);
}

    #collaboratorsToRemove .emails input {
        display: none;
    }

#folderAdminNames .added {
    color: #08385a !important;
    font-weight: 500;
}

#folderAdminNames .removed {
    text-decoration: line-through;
    color: darkgray !important;
    font-weight: 500;
}

/* Summernote */
.note-fontname button {
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.note-fontsize button {
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.note-color-all > button:nth-child(2) {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.note-table button {
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.note-para button[title=Paragraph] {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* Multi Select */
.vscomp-ele[disabled] {
    background-color: lightgray;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* New UI Adjust */
.input-group-text.form-switch {
    padding: .375rem 2.95rem;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Top Close Button */
.close-button {
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    border: none;
    font-size: 15px;
    padding: 6px 12px;
    cursor: pointer !important;
    border-radius: 4px;
}

    .close-button:hover {
        background: rgba(0,0,0,0.8);
    }

/* ---------------------------------------------------------------------------------------------------- */
/* Secure Link Mark */

h6.secure-link::after,
label.secure-link::after {
    margin-left: 6px;
}

.secure-link::after {
    content: "secure";
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 200;
    margin-left: 0px;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    vertical-align: middle;
    letter-spacing: 0.03rem;
    background: linear-gradient(160deg, #000000, #0435f3);
    color: white;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Required Mark */
.required > label:first-of-type:after {
    content: ' *';
    font-size: 1rem;
    color: crimson;
    font-weight: 400;
}

.required > .BoxFilesSelectionBox > label:first-of-type:after {
    content: ' *';
    font-size: 1rem;
    color: crimson;
    font-weight: 400;
}

.required > .BoxFoldersSelectionBox > label:first-of-type:after {
    content: ' *';
    font-size: 1rem;
    color: crimson;
    font-weight: 400;
}

th.required:after {
    content: ' *';
    font-size: 1rem;
    color: crimson;
    font-weight: 400;
}

/* ---------------------------------------------------------------------------------------------------- */
/* virtual select tooltip */
.tooltip-comp {
    z-index: 5000 !important;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Common Class */
.brand {
    font-family: "Michroma" !Important;
}

.brand-color {
    color: green !important;
    font-weight: 600;
}

    .brand-color a {
        color: green !important;
        font-weight: 600;
    }

.brand.brand-color {
    display: inline;
}

.underline {
    background: linear-gradient(transparent 70%, #ff99ab 70%);
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Detail Adjust */
#loginFilterBox {
    width: 12rem !important;
}

/* ---------------------------------------------------------------------------------------------------- */
