/* ***************************************************
 * トップページ
 *
 *
 * *************************************************** */
 @import "./print.css" print;
 
/* ===================================================
 * 全体共通部分
 *
 * =================================================== */
/* 本体 ---------------------------------------------- */
body {
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  margin: 0px;
  display: none;
  width: 100%;
}

/* ===================================================
 * 共通部分
 *
 * =================================================== */
/* ヘッダー ------------------------------------------ */
header {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 150px;
  background-color: #00978F;
  color: white;
  text-align: center;
  /* padding: 20px; */
  padding: 20px 0px;
  margin-top: 0px;

  /* ヘッダ内Main */
  div.divLogo {
    position: absolute;
    right: 0px;
    width: 100%;
    top: 10px
  }

  .imgLogout {
    position: absolute; width: 24px; height: 24px; top: 0px; left: 10px;
  }
}

/* メイン -------------------------------------------- */
div.main {
}

div.print {
  display: none;
}

/* メニュー ------------------------------------------ */
div.menubar {
  padding: 10px;
}

/* フッター ------------------------------------------ */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: white;
}
/* ログインユーザ ------------------------------------ */
div.loginUser {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  /*
  border: 1px solid black;
  width: 150px;
  padding: 0px 5px;
  margin: 2px;
  float: right
  */
}

/* 住所欄 -------------------------------------------- */
div.address {
  padding-left: 20px;
  padding-top: 50px;
}

/* label文字サイズ ----------------------------------- */
label.text {
  font-size: 10pt;
}

div.ui-dialog-content {
  padding: 3px !important;
}

/* ===================================================
 * 制御用部分
 *
 * =================================================== */
/* (縮小コンテンツ非表示) ---------------------------- */
div.smart { display: none; }

/* ===================================================
 * 見出し
 *
 * =================================================== */
h3 {
  border-left: 8px solid gray;
  margin-top: 5px;
}

h5 {
  border-left: 8px solid gray;
  padding-left: 10px;
  margin-top: 20px;
}

/* ===================================================
 * 非表示系
 *
 * =================================================== */
/* 非表示 */
.hidden { 
  display: none;
}
/* 権限用(デフォルト非表示) */
.roll {
  display: none;
}

/* --------------------------------------------------- 
 * 横幅
 *
 * --------------------------------------------------- */
th.w50, td.w50 {
    min-width: 30px;
    width: 50px;
    max-width: 100px;
    text-wrap: avoid;
}

th.w70, td.w70 {
    min-width: 50px;
    width: 70px;
    max-width: 100px;
    text-wrap: avoid;
}

th.w100, td.w100 {
    min-width: 100px;
    max-width: 200px;
    text-wrap: avoid;
}

th.w150, td.w150 {
    min-width: 150px;
    max-width: 300px;
    text-wrap: avoid;
}

th.w200, td.w200 {
    min-width: 200px;
    max-width: 400px;
    text-wrap: avoid;
}

th.w300, td.w300 {
    min-width: 300px;
    max-width: 450px;
    text-wrap: avoid;
}

.wHalf {
  width: calc(50% - 3px);
  text-wrap: avoid;
}

.wFull {
    width: 100%;
    text-wrap: avoid;
}

/* --------------------------------------------------- 
 * ボタン系
 *
 * --------------------------------------------------- */
button.btn-main {
    height: 50px;
    width: 100%;
    margin-top: 10px;
}

button.btn-child {
    height: 50px;
    width: 45%;
    margin-top: 10px;
    margin-left: 10px;
}

/* --------------------------------------------------- 
 * box系
 *
 * --------------------------------------------------- */
div.box-i {
  border: 1px solid green; background-color: #EEFFEE; padding : 20px; border-radius: 5px;
}

/* --------------------------------------------------- 
 * Table
 *
 * --------------------------------------------------- */
/* 一覧用 --------------------------------------------- */
/* スクロールバー設定 */
tbody.scroll {
  overflow-y: scroll;
  overflow-x: auto;
  display: block;
}
thead.scroll {
  overflow-y: scroll;
  overflow-x: auto;
  display: block;
}
/* スクロールバー背景色設定 */
thead.scroll::-webkit-scrollbar-track,
tbody.scroll::-webkit-scrollbar-track {
  background-color: #fff;
}
/* スクロールバー幅設定 */
thead.scroll::-webkit-scrollbar,
tbody.scroll::-webkit-scrollbar {
  width: 12px;
}
/* スクロールバー色設定 */
thead.scroll::-webkit-scrollbar-thumb,
tbody.scroll::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 10px;  
}

/* ---------------------------------------------------
* スマホ用
* --------------------------------------------------- */
@media (min-height: 500px) {
  table.scroll > tbody {
    height: 230px;
    width: 400px;
  }
}
/* ---------------------------------------------------
* PC用
* --------------------------------------------------- */
@media (min-width: 500px) {
  table > thead.scroll {
    overflow-x: hidden;
  }
}

/* --------------------------------------------------- 
 * 文字位置
 *
 * --------------------------------------------------- */
.taLeft {
  text-align: left;
}
.taRight {
  text-align: right;
}
.taCenter {
  text-align: center;
}
.vaBottom {
  vertical-align: bottom
}
.vaMiddle {
  vertical-align: middle;
}
.vaTop {
  vertical-align: top
}

/* --------------------------------------------------------- 
 * Table内入力用
 *
 * --------------------------------------------------------- */
td:has(> input[type=text]),
td:has(> select),
td:has(> button) {
  padding: 0 !important;
  height: 28px !important;
}
td {
  input[type=text],select {
    width: 100%;
    height: 100%;
  }

  input[type=text] {
    padding: 2px 5px;
  }
  button.ms-choice:focus {
    background-color: aquamarine;
  }

}
th.p0 { padding: 0 !important; }

/* --------------------------------------------------------- 
 * 入力フォーカス用（背景色）
 *
 * --------------------------------------------------------- */
/* フォーカス部品の背景色 */
input[list]:focus, 
input[type=text]:focus, 
textarea:focus, 
select:focus {
    background-color: aquamarine;
}
/* フォーカス行の背景色 */
table > tbody > tr.focus {
  background-color: hsl(62, 71%, 84%);
  opacity: 1 !important;
}
input[tabindex="-1"]:not(.error-element) {
  pointer-events: none;
}

/* --------------------------------------------------------- 
 * 値別パターンスタイル
 *
 * --------------------------------------------------------- */
/* 文字列 */
.text {
  text-align: left
}
/* 金額、時刻、数値 */
.amount, .time, .number {
  text-align: right
}

/* --------------------------------------------------------- 
 * container 幅拡張設定スタイル
 *
 * --------------------------------------------------------- */
@media(min-width: 1600px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    /* max-width: calc(1920px * 0.75); */
    max-width: 1520px;
  }
}

@media(min-width: 1900px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    /* max-width: calc(1920px * 0.75); */
    max-width: 1750px;
  }
}

@media(min-width: 2400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    /* max-width: calc(1920px * 0.75); */
    max-width: 2220px;
  }
}

/* --------------------------------------------------------- 
 * 行選択背景色
 *
 * --------------------------------------------------------- */
table > tbody > tr.selected {
  background-color: rgb(200, 250, 220);
  td {
    background-color: rgb(200, 250, 220) !important;
  }
}

/* --------------------------------------------------------- 
 * その他
 *
 * --------------------------------------------------------- */
/* 必須入力表示 */
span.required-red {
  color: red;
  font-size: 10pt;
}


