/* -------------------------------------------------------------------------------------------------------------
共通
------------------------------------------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  font-size: .85rem;
  line-height: 1;
  background-color: #fff;
}

.wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* -------------------------------------------------------------------------------------------------------------
ヘッダー
------------------------------------------------------------------------------------------------------------- */

.header {
  width: 100%;
  height: 66px;
}

.header-img img {
  width: 9rem;
}

.nav-item.active {
  background: #427b00;
}

/* -------------------------------------------------------------------------------------------------------------
メニュー
------------------------------------------------------------------------------------------------------------- */

.menu {
  width: 100%;
  height: 30px;
  background: #8bc34a;
}

.menu ul {
  display: table;
  table-layout: fixed;
  list-style-type: none;
  padding: 0;
  width: 100%;
  height: 100%;
}

.menu li {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  word-wrap: break-word;
  height: 100%;
  border: none;
}

.menu li:hover {
  background: #97d949;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.menu li > a {
  color: #fff;
}

/* -------------------------------------------------------------------------------------------------------------
コンテンツ
------------------------------------------------------------------------------------------------------------- */
.content-wrapper {
  padding-bottom: 50px;
}

.content-body {
  width: 100%;
  padding-right: 7.5px;
  padding-left: 7.5px;
  margin-right: auto;
  margin-left: auto;
}

.content-wrapper .card-header {
  background-color: transparent;
  position: relative;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  border-bottom: none;
}

.content-wrapper .card-header span {
  padding: .25em .5em;
  color: #636363;
  background: transparent;
  border-left: solid 5px #327baa;
}

/* -------------------------------------------------------------------------------------------------------------
フッター
------------------------------------------------------------------------------------------------------------- */

.footer {
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
}

/* -------------------------------------------------------------------------------------------------------------
テーブル
------------------------------------------------------------------------------------------------------------- */
.content-table {
  padding: 0 2rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table td,
table th {
  text-align: center;
  padding: .5rem;
}

/* コンテンツテーブル */
.content-table table tr {
  border-bottom: solid 1px #eee;
  cursor: pointer;
}

.content-table table tr.table-row:hover {
  background: #cadeed;
}

.content-table table th {
  background: #4887b0;
  color: #fff;
}

.content-table table .table-row:nth-child(even) {
  background: #c3dda4;
}

.content-table input[type="radio"] {
  display: none;
}

.content-table .nav-link {
  padding: 0;
}

.z_index {
  z-index: 100;
}

.fixed01 {
  position: sticky;
  left: 0;
}

.record_finish {
  background: #cadeed;
}

.record_empty {
  background: #ff00005c !important;
}

/* -------------------------------------------------------------------------------------------------------------
テーブル(切り替えタブ)
------------------------------------------------------------------------------------------------------------- */
.tab_area {
  height: 4rem;
  margin-top: 1.2rem;

}

.tab_area label {
  width: 150px;
  padding: .5rem 0;
  color: #000;
  background: #fff;
  text-align: center;
  font-size: .85rem;
  cursor: pointer;
  transition: ease .2s opacity;
  border: solid 1px #000;
  margin-bottom: .1rem;
  margin-top: .75rem;
}

.tab_area label:hover {
  opacity: .8;
}

.panel_area {
  background: #fff;
}

.tab_panel {
  width: 100%;
  display: none;
}

.tab_panel p {
  letter-spacing: 1px;
  text-align: center;
}

#tab1:checked ~ .tab_area .tab1_label {
  background: #4887b0;
  color: #fff;
}

#tab1:checked ~ .panel_area #panel1 {
  display: block;
}

#tab2:checked ~ .tab_area .tab2_label {
  background: #4887b0;
  color: #fff;
}

#tab2:checked ~ .panel_area #panel2 {
  display: block;
}

/* -------------------------------------------------------------------------------------------------------------
表のカラムサイズ
------------------------------------------------------------------------------------------------------------- */
.col-w2-m3 {
    width: 2%;
    min-width: 3em;
}
.col-w3-m5 {
    width: 3%;
    min-width: 5em;
}
.col-w4-m5 {
    width: 4%;
    min-width: 5em;
}
.col-w4-m8 {
    width: 4%;
    min-width: 8em;
}
.col-w5-m6 {
    width: 5%;
    min-width: 6em;
}
.col-w5-m8 {
    width: 5%;
    min-width: 8em;
}
.col-w5-m10 {
    width: 5%;
    min-width: 10em;
}
.col-w5-m15 {
    width: 5%;
    min-width: 15em;
}
.col-w6-m5 {
    width: 6%;
    min-width: 5em;
}
.col-w7-m15 {
    width: 7%;
    min-width: 15em;
}
.col-w8-m9 {
    width: 8%;
    min-width: 9em;
}
.col-w8-m15 {
    width: 8%;
    min-width: 15em;
}
.col-w8-m17 {
    width: 8%;
    min-width: 17em;
}
.col-w9-m15 {
    width: 9%;
    min-width: 15em;
}
.col-w10-m10 {
    width: 10%;
    min-width: 10em;
}
.col-w10-m15 {
    width: 10%;
    min-width: 15em;
}
.col-w12-m15 {
    width: 12%;
    min-width: 15em;
}
.col-w14-m10 {
    width: 14%;
    min-width: 10em;
}
.col-w14-m20 {
    width: 14%;
    min-width: 20em;
}
.col-w15-m15 {
    width: 15%;
    min-width: 15em;
}
.col-w15-m18 {
    width: 15%;
    min-width: 18em;
}
/* -------------------------------------------------------------------------------------------------------------
検索
------------------------------------------------------------------------------------------------------------- */
/* ステータス */
.status-product label {
  width: 6.5em;
  text-align: center;
}

.status label {
  height: calc(1.5em + .75rem + 2px);
  border-radius: 5px;
  padding: .375rem .2rem;
  border: 1px solid #dfdede;
  background-color: white;
  margin: 0;
}

.status label span {
  margin-left: 5px;
}

.btn {
  font-size: .85rem;
}

.btn_small {
  position: relative;
  display: inline-block;
  border: none;
  padding: .5em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-trash {
  background: #8f8f8f;
  color: #fff;
}

.content-search {
  padding: 1rem 2rem;
}

.btn-default {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #444;
  white-space: nowrap;
}

.search-title {
  padding-bottom: 2px;
}

.btn-custom {
  color: #fff;
}
/* -------------------------------------------------------------------------------------------------------------
モーダル
------------------------------------------------------------------------------------------------------------- */

/* モーダルウィンドウ */
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
  }

  .modal-info_main {
    max-width: 800px;
    margin: 30vh auto;
  }

.modal-dialog {
  max-width: 700px;
  margin: 10% auto;
}

.modal-content {
  box-shadow: 0 .5rem 1rem rgb(0 0 0 / 50%);
}

.modal__close {
  padding: 6px 8px;
}

.target-area .hidden {
  display: none;
}

.target-area2 .hidden {
  display: none;
}

/* -------------------------------------------------------------------------------------------------------------
スクロール
------------------------------------------------------------------------------------------------------------- */

.scroll_layout {
  overflow: scroll;
  height: 30vh;
}

/* -------------------------------------------------------------------------------------------------------------
フレックスボックス
------------------------------------------------------------------------------------------------------------- */

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

/* -------------------------------------------------------------------------------------------------------------
フォーム
------------------------------------------------------------------------------------------------------------- */

.form-control {
  font-size: .85rem;
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
}
/* -------------------------------------------------------------------------------------------------------------
ステータスボタン
------------------------------------------------------------------------------------------------------------- */
.status_template {
  border-radius: 100vh;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: .3em .5em;
  font-size: .85em;
  width: 6em;
  color: #fff;
}

.status_ok {
  background-color: #00b1c6;
}

.status_ng {
  background-color: red;
}

.status_none {
  background-color: #6c757d;
}

/* -------------------------------------------------------------------------------------------------------------
jquery ui
------------------------------------------------------------------------------------------------------------- */

.ui-autocomplete {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

#jquery-ui-autocomplete label {
  float: left;
  margin-right: .5em;
  color: black;
  font-size: 15px;
}

/* -------------------------------------------------------------------------------------------------------------
ホーム画面
------------------------------------------------------------------------------------------------------------- */
.content-calendar {
    margin: 0 2rem;
    width: 50%;
}
.content-list {
    margin: 0 2rem;
    width: 50%;
}
@media screen and (max-width:1800px) {
    .content-calendar {
        width: 60%;
    }
    .content-list {
        width: 40%;
    }
}
/* -------------------------------------------------------------------------------------------------------------
時間コンボ
------------------------------------------------------------------------------------------------------------- */
.timeCombo {
    width: 5rem;
    display: inline-block;
}

/* -------------------------------------------------------------------------------------------------------------
タブレット対応
------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:1700px) {
    .content-wrapper {
        padding-bottom: 10px;
    }
    .content-calendar {
        margin: 0;
    }
    .content-list {
        margin: 0;
        margin-left: 1em;
    }
    footer {
        display: none;
    }
    .serach-to {
        display: none;
    }
    .flex-wrap-Table {
        flex-wrap: wrap;
    }
    .status label {
        margin-bottom: 0.5rem;
        padding: 0.375rem 0;
    }
    .content-search .row div {
        padding-right: 1px;
        padding-left: 1px;
    }

    @media screen and (max-width:1280px) {
        .tablet-font {
            font-size: 1.2em !important;
            margin-top: 0.3em;
            padding-left: 0.1em !important;
            padding-right: 0.2em !important;
        }
    }
}
