/* 登録・更新処理終了メッセージ */
div.message {
    overflow: visible;
}
div.message.hidden {
    overflow: hidden;
}

/* メインウィンドウ */
.form-label {
    border-left: 3px solid #c2cfd6;
    padding-left: 6px;
}

.card-body {
    height: calc(100vh - 190px);
    overflow: scroll;
}
.Login .card-body {
    height: auto;
    overflow: hidden;
}

.card-body-no-scrollbar {
    flex: 1 1 auto;
    padding: 1.25rem;
}
/* スクロールバー定義 */
.card ::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
}
.card ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 50, .5);
    border-radius: 10px;
    box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}
/* スクロールバー適用 */
.card ::-webkit-scrollbar {
    width: 10px;
    height: 0;
}
.card-body ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


/* フォーム */
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    background-color: #ffffe0;
    border-color: rgb(228, 231, 234);
    border-radius: .25rem;
    box-shadow: none;
    height: calc(2.0625rem + 2px);
}
.ms-container .ms-list {
    background-color: #ffffe0;
    border-color: rgb(228, 231, 234);
    border-radius: .25rem;
    box-shadow: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
select.form-control, textarea.form-control {
    background-color: #ffffe0;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
}
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.ms-container {
    margin: 0 0 1rem 0;
}

.select2-container .select2-selection--single {
    display: block;
    width: 100%;
    height: calc(2.0625rem + 2px);
    padding: .375rem .75rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5c6873;
    background-clip: padding-box;
    border: 1px solid #e4e7ea;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: #ffffe0;
    margin: 0 0 1rem 0;
    padding: 0.375rem 0.5rem;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.s-repeater-item .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    margin-left: -3px;
    margin-top: -7px;
}
.s-repeater-item .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
}
.s-repeater-item .select2-container--bootstrap .select2-dropdown {
    margin-top: -16px;
}
.s-repeater-item .select2-container--bootstrap .select2-dropdown--above {
    margin-top: 1px;
}

/* フォームエラー・エラーメッセージ */
.form-control.form-error {
    margin-bottom: 0;
}
.required > .error label {
    font-weight: bold;
}
.required > .error label:after {
    content: ' *';
    color: #C3232D;
}
.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: #C3232D;
}
.error-message {
    margin-bottom: 1rem;
    color: #C3232D;
}
.error-message ul {
    margin-left: 0;
    list-style: none;
    font-size: inherit;
}

/* 閲覧画面 */
.form-showcase {
    border-bottom: 1px dotted #c2cfd6;
    padding: 0 9px;
}
.form-showcase.form-showcase-no-data {
    color: #ccc;
}
.form-label.w-12 {
    width: 12%;
}
/* 一覧テーブル */
.scroll-table {
  min-width: 100%;
  max-height: 100%;
  background-color: transparent;
  border-top: 1px solid #c8ced3;
  border-right: 1px solid #c8ced3;
  overflow: scroll;
}
.scroll-table td, .scroll-table th {
  padding: 0.3rem 0.5rem;
  vertical-align: top;
  border: 1px solid;
  border-color: rgb(228, 231, 234);
}
.scroll-table th {
  vertical-align: bottom;
  border-bottom: 2px solid #c8ced3;
}
.scroll-table tbody tr:nth-of-type(odd) {
  background-color: #f6f6f6;
}
.scroll-table tbody tr.invalid {
  background-color: rgba(0, 0, 0, 0.1);
}
.scroll-table table {
    table-layout: auto; /* データをセル内に収めるようにする */
}
.scroll-table th, .scroll-table td {
  overflow: hidden; /* データが幅を超えたとき非表示に */
  white-space: nowrap; /* データの折り返しを防止 */
}

/* 行列固定テーブル */
.sticky-table {
    border-collapse: separate;
    padding: 0;
    border-top: none;
    border-right: none;
}
.sticky-table thead,
.sticky-table tbody {
  width: max-content;
}
.sticky-table th,
.sticky-table td {
  width: 8.0rem;
  font-size: 1.0rem;
  min-height: 30px;
}
.sticky-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
}
.sticky-table thead tr th {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 2;
}
.sticky-table thead tr:not(:nth-last-child(1)) th {
  border-bottom-width: 0;
}
.sticky-table thead tr:nth-child(2) th {
  top: 27px;
}
.sticky-table thead tr:nth-child(3) th {
  top: 54px;
}
.scroll-table  table{
  margin-bottom: 0;
}
.scroll-table tbody tr:nth-of-type(odd) {
  background-color: #f6f6f6;
}
.scroll-table tbody tr:nth-of-type(odd) td {
  background-color: rgba(246, 246, 246, 1);
}
.sticky-table td.sticky-table_fixed {
  position: sticky;
  top: 0;
  right: 0;
  background-color: #fff;
}
.sticky-table td.sticky-table_fixed_left {
  position: sticky;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 1);
}
.sticky-table thead th.sticky-table_fixed {
  position: sticky;
  top: 0;
  right: 0;
  z-index: 4;
}
.sticky-table thead th.sticky-table_fixed_left {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(255, 255, 255, 1);
}

/* スライドスイッチ */
.switch-slider, .switch-slider::before {
    border-color: #20a8d8;
}
.switch-label .switch-slider::after {
    color: #20a8d8;
}
/* ボタン */
.btn-ghost-primary:focus {
    color: #fff;
    background-color: #20a8d8;
    border-color: #20a8d8;
}
.btn-ghost-danger:focus {
    color: #fff;
    background-color: #f86c6b;
    border-color: #f86c6b;
}
.btn-ghost-warning:focus {
    color: #23282c;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-primary:focus {
    color: #fff;
    background-color: #20a8d8;
    border-color: #20a8d8;
}
.btn-danger:focus {
    color: #fff;
    background-color: #f86c6b;
    border-color: #f86c6b;
}
.btn-warning:focus {
    color: #23282c;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-ghost-warning:disabled:hover, .btn-ghost-danger:disabled:hover, .btn-ghost-primary:disabled:hover {
    background-color: #ddd;
    box-shadow: none;
}

/* ヘッダー */
.app-header {
    box-shadow: none;
}
.app-header .container{
    overflow: visible;
}
/* サイドバー */
.sidebar .sidebar-minimizer {
    background-color: #fff;
}
.sidebar .sidebar-minimizer:hover {
    background-color: #ddd;
}
.sidebar-minimized .sidebar .sidebar-minimizer {
    background-color: #ddd;
}
.side-nav li a:not(.button):hover, .side-nav li a:not(.button):focus {
    background: rgba(0,0,0,.2);
    color: #fff;
}
.sidebar .nav-dropdown.open .nav-link .nav-icon {
    color: #fff;
}
/* 打刻画面フォーム位置調整 */
.t_timestamps_form-inactivator {
    margin-bottom: 9px;
}

/* spinbutton無効化 */
input[type="time"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* エラーページ */
.err_body{
    background-color: #fff;
}
.err_title{
    font-weight: bold;
    font-size: 120%;
}
.err_text{
    text-align:center;
    margin-top: 30px;
}

/* 出力処理中画面 */
#loading-view {
    width: 100%;
    height: 100%;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    /* 背景関連の設定 */
    background-color: #f3f3f3;
    filter: alpha(opacity=50);
    -moz-opacity: 0.85;
    -khtml-opacity: 0.85;
    opacity: 0.85;
    background-image: url(/img/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 画面リサイズ時の崩れ防止 */
@media screen and (min-width: 992px){
    .sidebar-minimized .sidebar .nav-item:hover>.nav-link {
        background: rgba(0,0,0,.2);
        color: #fff;
    }
}
@media screen and (max-width: 991.98px){
    .app-header {
        position: relative;
    }
    .app-header .navbar-nav {
        position: absolute;
        right: 15px;
    }
    .app-header .navbar-brand {
        left: 0;
        margin-left: 0;
    }
    .app-body {
        margin-top: 0;
    }
    .app-body .main {
        margin-left: 200px;
    }
    html:not([dir=rtl]) .sidebar {
        margin-left: 0;
    }
    .sidebar-minimizer {
        position: static;
        display: block;
        height: 100vh;
    }
}

/* アラート帯 */
.alert-danger-medium {
    color: #ff0000;
    font-weight: 700;
}
.alert-danger-high {
    color: #ff0000;
    font-weight: 700;
    background: #23282c;
}
