@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
}

/* 画面名 */
.screen-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

    .screen-title:before {
        margin-right: 0.25rem;
    }

    .screen-title:after {
        margin-left: 0.25rem;
    }
/* 画面名 */

/* 見出し */
.screen-subtitle {
    display: block;
    text-align: left;
    margin-top: 1rem;
}

    .screen-subtitle:before {
        content: "－－";
        margin-right: 0.25rem;
    }

    .screen-subtitle:after {
        content: "－－";
        margin-left: 0.25rem;
    }
/* 見出し */

/* form-control オーバーライド */
.form-control {
    height: calc(1em + .75rem + 2px) !important;
    padding: 0rem .375rem !important;
    font-size: 0.9rem !important;
}

a, .btn-link {
    color: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary.btn-red {
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-file {
    color: #fff;
    background-color: #8c8788;
    border-color: #564040;
}

/* ボタンの右寄せ */
.btn-align-right {
    text-align: right;
    width: 1050px;
}

/* 数値項目参照時の右寄せ */
.input-num-align-right {
    text-align: right;
}

/* 項目参照時の中央寄せ */
.input-align-center {
    text-align: center;
}

/* Inputフィールドの幅 */
/* 半角数値 START */
.input-wd-auto {
    width: auto;
}

.input-wd-half-1 {
    width: 40px;
}

.input-wd-half-2 {
    width: 55px;
}

.input-wd-half-4 {
    width: 70px;
}

.input-wd-half-8 {
    width: 130px;
}

.input-wd-half-10 {
    width: 160px;
}

.input-wd-half-11 {
    width: 175px;
}

.input-wd-half-12 {
    width: 190px;
}

.input-wd-half-14 {
    width: 220px;
}

.input-wd-half-20 {
    width: 310px;
}

.input-wd-half-32 {
    width: 490px;
}
/* 半角数値 END */

/* 半角英数記号 START */
.input-wd-half-alpha-1 {
    width: 18px;
}

.input-wd-half-alpha-2 {
    width: 25px;
}

.input-wd-half-alpha-3 {
    width: 32.5px;
}

.input-wd-half-alpha-10 {
    width: 85px;
}

.input-wd-half-alpha-11 {
    width: 93px;
}

.input-wd-half-alpha-12 {
    width: 100px;
}

.input-wd-half-alpha-14 {
    width: 115px;
}

.input-wd-half-alpha-20 {
    width: 160px;
}

.input-wd-half-alpha-32 {
    width: 250px;
}

.input-wd-half-alpha-100 {
    width: 760px;
}
/* 半角英数記号 END */

/* 全角 START */
.input-wd-full-18 {
    width: 245px;
}

.input-wd-full-24 {
    width: 330px;
}

.input-wd-full-30 {
    width: 410px;
}

.input-wd-full-50 {
    width: 670px;
}

.input-wd-full-60 {
    width: 800px;
}
/* 全角 END */

/* コンボボックス：半角４文字用 */
.input-cb-wd-half-4 {
    width: 66px;
}
/* コンボボックス：全角１文字用 */
.input-cb-wd-full-1 {
    width: 43px;
}
/* コンボボックス：全角８文字用 */
.input-cb-wd-full-8 {
    width: 134px;
}
/* コンボボックス：全角２３文字用 */
.input-cb-wd-full-23 {
    width: 330px;
}
/* コンボボックス：全角３０文字用 */
.input-cb-wd-full-30 {
    width: 420px;
}
/* コンボボックス：全角４０文字用 */
.input-cb-wd-full-40 {
    width: 580px;
}
/* ボタン：１文字-５文字用 */
.input-fixed-wd-5 {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
/* ボタン：６文字-８文字用 */
.input-fixed-wd-8 {
    width: 144px;
    min-width: 144px;
    max-width: 144px;
}
/* ボタン：履歴切替ボタン用 */
.input-fixed-wd-rireki {
    width: 30px;
    height: 25px;
    padding: 0px;
}
/* ボタン：非表示 */
.input-hidden {
    display: none;
}
/* Inputフィールドの幅 */
/* テキストエリア（備考） */
.textarea-2rows {
    resize: none;
    height: 44px!important;
}


/* 上部マージン１文字分 */
.margin-top-1 {
    margin-top: 1rem;
}
/* 上部マージン２文字分 */
.margin-top-2 {
    margin-top: 2rem;
}
/* 上部マージン３文字分 */
.margin-top-3 {
    margin-top: 3rem;
}

/* チェックボックスのマージン */
.chkbx-margin {
    margin-top:5px;
}

/* 一覧用テーブル */
.table td, .table th {
    padding: 0rem;
}

.table tbody th {
    width: 200px;
}

.table tbody td {
    width: 400px;
}

.fixed_table_wrapper {
    overflow: scroll;
    width: calc(80vw - 1rem);
    min-width: calc(1366px * 0.8 - 1rem);
    max-width: calc(1366px * 0.8 - 1rem);
    line-height: 1.5;
    height: calc(1.5rem * 11 + 1px);
}

.fixed_table {
    margin-bottom: 0;
    border-left: 1px solid #dee2e6;
    border-collapse: separate;
    border-spacing: 0;
}

    .fixed_table thead th {
        /* 縦スクロール時に固定する */
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #ffffff;
        text-align: center;
        white-space: nowrap;
        /* tbody内のセルより手前に表示する */
        z-index: 1;
        padding-inline: 10px;
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        line-height: 19px;
    }

    .fixed_table tbody td {
        white-space: nowrap;
        line-height: 19px;
    }

    .fixed_table .highlight {
        background-color: #00BFFF;
    }

    .fixed_table .table-label {
        margin-left: 0;
        margin-bottom: 0;
        padding-inline: 10px;
        width: 100%;
        height: 1em;
    }

    .fixed_table input[type=radio] {
        opacity: 0;
        display: none;
    }

    .fixed_table input[type=checkbox] {
        margin-top: 1px;
        margin-left: 1px;
    }

/* 一覧内にテキストボックスがある場合 */
.input_text_table tbody tr {
    height: calc(1em + .75rem + 3px);
}

.input_text_table_wrapper {
    height: calc((1em + .75rem + 3px )*10 + 3rem );
}
/* 一覧内にテキストボックスがある場合 */

.fixed60_table_wrapper {
    height: calc(1.5em * 61 + 52px);
}

.fixed20_table_wrapper {
    height: calc(1.5rem * 20 + 6px);
}

.fixed50_table_wrapper {
    height: calc((1.5rem * 0.9 + 1px) * 50 + 1rem + 2px);
}

.fixed120_table_wrapper {
    height: 2400px;
}

.inputtable tbody th {
    width: 200px;
    height: 27.75px;
    text-align: left;
}

.inputtable tbody td {
    display: flex;
}

    .inputtable tbody td .input-value-label {
        margin-bottom: 0;
        padding-top: 3px;
    }
    
    .inputtable tbody td input[type=checkbox] {
        margin-top: 6px;
    }

        .inputtable tbody td input[type=checkbox] + label {
            margin-bottom: 0 !important;
            margin-top: 3px;
        }

.inputtable_tablecell tbody td {
    display: table-cell;
    text-align: left;
}
/* 右端履歴番号 */
.withrirekino {
    width: 1050px;
}

    .withrirekino > tbody > tr > td:nth-child(2) {
        width: 500px;
    }

    .withrirekino > tbody > tr > th:nth-child(3) {
        width: 150px;
        text-align: right;
        padding-right: 1rem;
    }

    .withrirekino > tbody > tr > td:nth-child(4) {
        width: 200px;
    }
/* 右端削除フラグ */
.withdelflg {
    width: 1050px;
}

    .withdelflg > tbody > tr > td:nth-child(2) {
        width: 750px;
    }

    .withdelflg > tbody > tr > th:nth-child(3) {
        width: 50px;
        text-align: right;
        padding-right: 1rem;
    }

    .withdelflg > tbody > tr > td:nth-child(4) {
        width: 50px;
    }

/* 一覧ページ送り */
.withlistpage {
    width: 1050px;
}
    .withlistpage tbody td{
        display:inline-flex;
    }

    .withlistpage > tbody > tr > td:nth-child(1) {
        width: 650px;
    }

    .withlistpage > tbody > tr > td:nth-child(2) {
        width: 400px;
    }
/* 入力フィールド用テーブル */


/* 必須項目のラベルアイコン */
.input-required:before {
    content: "* ";
    color: #f00;
    left: 0px;
    width: 8px;
    height: 10px;
    font-weight: bolder;
}

/* 必須項目のラベル */
.input-required {
    margin-bottom: 0;
}

/* 必須でない入力項目のラベル */
th > .input-label {
    margin-left: 11.53px;
    margin-bottom: 0;
    font-weight: bold;
}

/* TD内に単独で配置するラベル */
td > .input-label {
    margin-left: 0px;
    margin-bottom: 0;
}

/* TD内に入力フィールド横に配置するラベル */
td > .label-with-input {
    margin-top: 4px;
    margin-bottom: 0;
}

/* レイアウトページ用 */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.header {
    height: 70px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    font-size: 1.1rem;
    color: #333333;
    width: 100%;
}

    .header a.logout {
        font-size: 0.9rem;
        margin-left: 1rem;
        cursor: pointer;
    }

.headerObi {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 70px;
    min-width: 1340px;
    max-width: 3840px;
}

.main {
    min-height: 100vh;
    display: flex;
    flex: 1;
    margin-top: -70px;
}

.content {
    flex: 1;
    background-color: #fff;
    margin-top: 70px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
/* レイアウトページ用 */

/* 子画面ダイアログレイアウト用 */
.modal-dialog-page {
    max-width: 1136px;
    height: 100%;
}

.modal-content-page {
    height: calc(100% - 3.5rem);
    overflow-y: scroll;
}
/* 子画面ダイアログレイアウト用 */

/* ツリーメニュー制御 */
.menu-control {
    margin-top: 70px;
    padding: 0;
    background-color: #333333;
    color: #fff;
}

    .menu-control input[type=checkbox] { /* チェックボックス */
        position: absolute;
        opacity: 0;
        display: none;
    }

    .menu-control label[id=menu-control-item-label]:before { /* メニュー制御アイコン(開いてるとき) */
        content: "\0ab  ";
        left: 0px;
        width: 8px;
        height: 10px;
        font-size: 1.5rem;
        line-height: 20px;
        cursor: pointer;
    }

    .menu-control input[type=checkbox]:checked + div label[id=menu-control-item-label]:before { /* メニュー制御アイコン（閉じてるとき） */
        content: "\0bb  ";
    }

.menu-control-item { /* メニュー制御アイコンの表示位置 */
    text-align: right;
}

menu-control-item-label { /* メニュー制御アイコン部のスタイル */
    margin-bottom: 0;
    cursor: pointer;
}

.menu-control input[type=checkbox]:checked + div + div { /* メニュー非表示 */
    display: none;
}
/* メニュー制御 */

/* ツリーメニュー */
.localNavigation {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
    background-color: #333333;
    color: #fff;
}

.tree-menu {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

    .tree-menu ul, li {
        padding-left: 5px !important;
        margin-left: 0 !important;
    }

    .tree-menu ul {
        display: none;
    }

    .tree-menu li {
        list-style-type: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .tree-menu input[type=checkbox] {
        position: absolute;
        opacity: 0;
        display: none;
    }

    .tree-menu label, .tree-menu a { /* 第1階層 */
        position: relative;
        display: block;
        padding: 2px 2px;
        margin-bottom: 0.1rem;
        color: #fff;
    }

        .tree-menu label:before, .tree-menu label:after, .tree-menu a:after { /* アイコンの位置 */
            content: '';
            display: inline-block;
            width: 16px;
            position: absolute;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
        }

    .tree-menu label { /* 第1階層 */
        cursor: pointer;
        padding-left: 20px;
    }

        .tree-menu label:before { /* 第1階層のアイコン */
            content: "\025b6  ";
            left: 0px;
        }

    .tree-menu input[type=checkbox]:checked + label:before { /* アイコンを回転する */
        content: "\025bc  ";
    }

    .tree-menu input[type=checkbox]:checked + label + ul,
    .tree-menu input[type=checkbox]:checked + label:nth-of-type(n) + ul {
        display: block;
    }
    /* 選択中メニューの背景色 */
    /*
.tree-menu input[type=checkbox]:checked + label,
.tree-menu input[type=checkbox]:checked + a {
    background-color: #666666;
}
*/
    .tree-menu a.active {
        background-color: #666666;
    }

    .tree-menu a:hover {
        background-color: #666666;
    }

    .tree-menu label:hover {
        background-color: #666666;
    }

    .tree-menu ul label,
    .tree-menu ul a { /* 第2階層文字の位置 */
        padding-left: 20px;
        color: #fff;
    }

    .tree-menu ul ul label,
    .tree-menu ul ul a { /* 第3階層文字の位置 */
        padding-left: 20px;
        color: #fff;
    }
/* ツリーメニュー */

/* メッセージ制御 */
.message-control {
    margin-top: 0px;
    padding: 0;
    color: #000;
}

    .message-control input[type=checkbox] { /* チェックボックス */
        position: absolute;
        opacity: 0;
        display: none;
    }

        .message-control input[type=checkbox] + div label[id=message-control-item-mark-open] { /* メッセージ開くアイコン(閉じてるとき) */
            display: block;
        }

        .message-control input[type=checkbox]:checked + div label[id=message-control-item-mark-open] { /* メッセージ開くアイコン(開いてるとき) */
            display: none;
        }

        .message-control input[type=checkbox] + div label[id=message-control-item-mark-close] { /* メッセージ閉じるアイコン(閉じてるとき) */
            display: none;
        }

        .message-control input[type=checkbox]:checked + div label[id=message-control-item-mark-close] { /* メッセージ閉じるアイコン(開いてるとき) */
            display: block;
        }

.message-control-item { /* メッセージ制御アイコンの表示位置 */
    text-align: left;
}

    .message-control-item .message-item-one {
        padding-left: 6px;
    }

.message-control input[type=checkbox] + div div + div { /* メッセージ非表示 */
    display: none;
}

.message-control input[type=checkbox]:checked + div div + div { /* メッセージ表示 */
    display: block;
    padding-left: 20px;
}
/* メッセージ制御 */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.form-login {
    text-align: center;
    width: 1322px;
}

.form-signin {
    text-align: center;
    width: 1050px
}

.error-page {
    color: red;
}

    .error-page a, .btn-link {
        color: red;
    }

/*オーバーレイ*/
.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1040;
    opacity: .50;
    color: #666666;
    padding-top: 350px;
}

.spinner-custom {
    z-index: 1041;
    text-align: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 0.5em solid currentColor;
    border-right-color: transparent;
}

.overlaymsg {
    z-index: 1041;
    text-align: center;
    font-size: 1.85em;
    color: #f1f1f1;
}

/*スプラッシュスクリーン*/
.splash-spinner {
    width: 5rem;
    height: 5rem;
    border: 0.5em solid currentColor;
    border-right-color: transparent;
}


/*エラー画面*/
#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;
    }

.notes {
    font-size: 10px !important;
    color: red !important;
    padding: 5px 0 0 0px;
}
.note1 {
    font-size: 13px !important;
    color: red !important;
    padding: 3px 0 0 5px;
}
