#header {
  background-color: #2FCDB4;
}
#header .navbar-light .navbar-brand,
#navigation.navbar-light .navbar-nav .nav-link {
  color: #FFF;
}
#footer {
  padding: 10px;
  text-align: right;
  color: #ddd;
}

.container.container-wide {
  width: 100%;
  max-width: 100%;
}
i.fa {
  padding-right: 5px;
}
.btn-save {
  width: 120px;
}
.form-actions {
  text-align: center;
  background-color: #EEF;
  padding: 20px 10px;
}
.modal-body {
  overflow-y: auto;
}
.card-header {
  font-size: 150%;
}

.form-check-switch input[type="radio"] {
  display: none;
}
.form-check-switch label {
  display: block;
  float: left;
  cursor: pointer;
  width: 60px;
  margin: 0;
  padding: 10px;
  background: #eee;
  color: #869198;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  transition: .2s;
}
.form-check-switch label:first-of-type {
  border-radius: 3px 0 0 3px;
}
.form-check-switch label:last-of-type {
  border-radius: 0 3px 3px 0;
}
.form-check-switch input[type="radio"]:checked + .switch-on {
  background-color: #6cb2eb;
  color: #fff;
}
.form-check-switch input[type="radio"]:checked + .switch-off {
  background-color: #6cb2eb;
  color: #fff;
}


.table-data {
  background-color: #FFF;
}
.table-data th {
  background-color: #E3DECC;
}
.table-data tbody tr:nth-of-type(odd) {
  background-color: #F5F5F5;
}
.table-middle th, .table-middle td {
  vertical-align: middle;
}
.table-stocklist .today {
  border: 3px solid #F00;
  font-weight: bold;
}
.table-stocklist .current {
  font-weight: bold;
  background-color: #FFF;
}
.table-stocklist .current .text-danger {
  background-color: #FFF5F5;
}
.table-stocklist .stock1 {
  color: #000000;
  background-color: #FFF8EE;
}
.table-stocklist .stock2 {
  color: #0000FF;
}

.table-header-fixed-wrapper {
  overflow: scroll;
  /*width: calc(100vw - 1rem);*/
  height: 85vh;
}
.table-header-fixed {
  /*border-collapse: separate;*/
  border-spacing: 1px;
}
.table-header-fixed td {
  background-color: #fff;
}
.table-header-fixed .total td {
  background-color: #fff1a7;
}
.table-header-fixed thead th, .table-header-fixed thead td {
  /* 縦スクロール時に固定する */
  position: -webkit-sticky;
  position: sticky;
  /* 高さが変わらないよう改行させない */
  white-space: nowrap;
  /*top: 0;*/
  /* tbody内のセルより手前に表示する */
  z-index: 1;
  height: 48px;
}
.table-header-fixed thead tr:nth-child(1) th {
  top: 0;
}
.table-header-fixed thead tr:nth-child(2) th, .table-header-fixed thead tr:nth-child(2) td {
  top: 48px; /* 2行目は1行目の高さの位置に固定する */
}
.table-header-fixed thead tr:nth-child(3) th, .table-header-fixed thead tr:nth-child(3) td {
  top: 119px; /* 3行目は1行目の高さの位置に固定する */
}
.table-header-fixed thead tr:nth-child(4) th, .table-header-fixed thead tr:nth-child(4) td {
  top: 167px; /* 4行目は1行目の高さの位置に固定する */
}
.table-header-fixed thead tr:nth-child(5) th, .table-header-fixed thead tr:nth-child(5) td {
  top: 215px; /* 5行目は1行目の高さの位置に固定する */
}
#stock_tab1 .table-header-fixed thead tr:nth-child(1) th,
#stock_tab2 .table-header-fixed thead tr:nth-child(1) th {
  height: 71px;
  vertical-align: middle;
}
#stock_tab1 .table-header-fixed thead tr:nth-child(2) th, #stock_tab1 .table-header-fixed thead tr:nth-child(2) td,
#stock_tab2 .table-header-fixed thead tr:nth-child(2) th, #stock_tab2 .table-header-fixed thead tr:nth-child(2) td {
  top: 71px; /* 2行目は1行目の高さの位置に固定する */
}
.table-header-fixed th:first-child {
  /* 横スクロール時に固定する */
  position: -webkit-sticky;
  position: sticky;
  left: 0;
}
.table-header-fixed thead th:first-child {
  /* ヘッダー行内の他のセルより手前に表示する */
  z-index: 2;
}



/* 汎用クラス ------------------------------------- */
.excerpt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis; /* Opera9,10対応 */
}

.error-message {
  color: #F00;
}

@media (max-width: 767px) {
  .pc-only {display: none !important;}
}
@media (min-width: 768px) {
  .sp-only {display: none !important;}
}

.mt0{margin-top:0 !important;}
.mt5{margin-top:5px;}
.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.mt30{margin-top:30px;}
.mt40{margin-top:40px;}
.mt50{margin-top:50px;}

.mr0{margin-right:0 !important;}
.mr5{margin-right:5px;}
.mr10{margin-right:10px;}
.mr20{margin-right:20px;}
.mr30{margin-right:30px;}
.mr40{margin-right:40px;}
.mr50{margin-right:50px;}

.mb0{margin-bottom:0 !important;}
.mb5{margin-bottom:5px;}
.mb10{margin-bottom:10px;}
.mb20{margin-bottom:20px;}
.mb30{margin-bottom:30px;}
.mb40{margin-bottom:40px;}
.mb50{margin-bottom:50px;}

.ml0{margin-left:0 !important;}
.ml5{margin-left:5px;}
.ml10{margin-left:10px;}
.ml20{margin-left:20px;}
.ml30{margin-left:30px;}
.ml40{margin-left:40px;}
.ml50{margin-left:50px;}
