html,
body {
  height: 100%;
}

body {
  display: flex;
  /* align-items: center; */
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.container-footer {
  background-color: #303030;
  z-index: 900;
  height: 50px;
  width: 100vw;
  clear: both;
  position: fixed;
  bottom: 0;
  font-size: 0.8rem;
  font-weight: 300;
}
.container-footer p {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 100vw;
  text-align: center;
  color: #ffffff;
}

#translucent {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: space-around;
  opacity: 1;
  z-index: 2000;
  background-color: rgba(55, 55, 55, 0.6);
}

#translucent > #spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  font-size: 4em;
  color: white;
}

/* ナビゲーションバー */
.navbar {
  background-color: #404040;
  padding-top: 3;
  padding-bottom: 3;
  padding-left: 1;
  padding-right: 1;
  height:78px;
}

.navbar-nav {
  width: 100%;
}

.navbar-nav .nav-link.active {
  font-weight: 100;
  color: #ffffff;
}

.navbar-nav .nav-link.disabled {
  font-weight: 100;
  color: #3cb371;
}
.bg-green {
  background-color:#2e8b57;
}
.btn-green {
  background-color:#2e8b57;
}
.btn-blue {
  background-color:#0275d8;
}
@media screen and (max-width: 1023px) {
  .nav-link {
    font-weight: 100;
    color: #ffffff;
    background-color: #808080;
    border-color: #808080;
  }
  .nav-link .tow-tier-icon {
    position:inherit;
    font-size: 2.2rem;
  }
  .nav-link .tow-tier-text {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .nav-link {
    font-weight: 100;
    color: #ffffff;
    width: 94px;
    height: 68px;
    background-color: #808080;
    border-color: #808080;
    display: flex;
    justify-content: center;
  }
  .nav-link .tow-tier-icon {
    position: relative;
    font-size: 2.2rem;
    margin-top: -5px;
  }
  .nav-link .tow-tier-text {
    position: absolute;
    font-size: 0.8rem;
    margin-top: +38px;
  }
}
/* disabled時の色*/
.nav-link:disabled {
  color: #a9a9a9;
  background-color: #404040;
  border-color: #404040;
}
/* hover時（マウスカーソルを重ねた時）の色*/
.nav-link:hover:not(:disabled) {
  color: #ffffff;
  background-color: #dcdcdc;
  border-color: #404040;
}
/* focus時の色 */
.nav-link:focus:not(:disabled) {
  color: #ffffff;
  background-color: #404040;
  border-color: #808080;
}
.btn-link-active:not(:disabled) {
  color: #ffffff;
  background-color: #0275d8;
  border-color: #0275d8;
}

/* サイドメニュー */
.sidemenu-nav {
  top: 103px;
  z-index: 920;
  padding-left: 5px;
  padding-right: 5px;
}
.sidemenu-nav.sidemenu-nav-vertical {
  position: absolute;
  float: right;
  width: 204px;
  /* left: calc(100vw - 408px); */
  left: Calc(100vw - 70px);
  font: white;
  box-sizing: border-box;
  color: #ffffff;
}
.sidemenu-nav.sidemenu-nav-vertical.sidemenu-nav-fixed {
  position: fixed;
}

.sidemenu-btn {
  position: fixed;
  width: 204px;
  height: 64px;
  color: #ffffff;
  background-color: #0275d8;
  font-size: 2.0em;
  padding: 0;
  padding-left: 8px;
  padding-right: 8px;
  margin: auto;
}
.sidemenu-btn-selected {
  position: fixed;
  width: 204px;
  height: 64px;
  color: #ffffff;
  background-color: #f98526;
  font-size: 2.0em;
  padding: 0;
  padding-left: 8px;
  padding-right: 8px;
  margin: auto;
}
/* hover時（マウスカーソルを重ねた時）の色 [未選択ボタン]*/
.sidemenu-btn:hover:not(:disabled) {
  color: #000;
  background-color: #ffc680;
  border-color: #ffc680;
}
/* disable時の色 [未選択ボタン]*/
.sidemenu-btn:disabled {
  color: #a9a9a9;
  background-color: #ffffff;
  border-color: #ffffff;
}
/* hover時（マウスカーソルを重ねた時）の色 [選択済みボタン]*/
.sidemenu-btn-selected:hover:not(:disabled) {
  color: #000;
  background-color: #f98526;
  border-color: #f98526;
}
/* focus時の色（hover時と同等かさらに濃いor暗めの色を指定） */
.sidemenu-btn-selected:focus:not(:disabled) {
  color: #ffffff;
  background-color: #f98526;
  border-color: #f98526;
}
/* disable時の色 [選択済みボタン]*/
.sidemenu-btn-selected:disabled {
  color: #a9a9a9;
  background-color: #ffffff;
  border-color: #ffffff;
}

.custom-tooltip {
  --bs-tooltip-bg: #c0c0c0;
  --bs-tooltip-color: #000000;
  --bs-tooltip-max-width: 300px;
  padding: 5px;
  text-align: left;
}

.pagetitle {
  /* position: absolute; */
  position: fixed;
  padding: 0;
  width: calc(100vw - 115px);
  top: 86px;
  left: 10px;
  font-size: 1.6rem;
  z-index: 920;
  background-color: #f5f5f5;
}

.instockdetail-top {
  position: fixed;
  /* padding: 0;
  width: calc(100vw - 115px);
  top: 45px;
  left: 10px;
  font-size: 1.6rem;
  z-index: 920; */
  /* background-color: #f5f5f5; */
}

.sectiontitle {
  left: 20px;
  font-size: 1.4rem;
}

/* .container {
  margin-left: 10px;
  padding-left: 0px;
  width: 100vw;
} */

.dashcontainer {
  /* margin-left: 10px;
  margin-right: 10px; */
  padding-left: 30px;
  padding-right: 30px;
  width: 100vw;
}

.dashsubcontainer {
  padding: 0px;
  margin-left: 10px;
  z-index: 500;
}

.maincontainer {
  position: absolute;
  top: 0px;
  padding: 0px;
  margin-top: 32px;
  margin-left: 10px;
  /* z-index: 500; */
  z-index: 1;
  overflow: auto;
  width: calc(100vw - 80px);
  height: calc(100vh - 100px);
  /* background-color: #a9a9a9; */
}

.orderlistcontainer {
  position: absolute;
  top: 280px;
  padding: 0px;
  /* margin-top: +5px; */
  margin-left: +10px;
  /* z-index: 500; */
  z-index: 1;
  overflow: auto;
  width: calc(100vw - 80px);
  height: calc(100vh - 300px);
  /* background-color: #a9a9a9; */
}

.instockcontainer {
  position: absolute;
  top: 180px;
  padding: 0px;
  /* margin-top: +5px; */
  margin-left: +10px;
  /* z-index: 500; */
  z-index: 1;
  overflow: auto;
  width: calc(100vw - 80px);
  height: calc(100vh - 195px);
  /* background-color: #a9a9a9; */
}

.stockcontainer {
  position: absolute;
  top: 160px;
  padding: 0px;
  /* margin-top: +5px; */
  margin-left: +10px;
  /* z-index: 500; */
  z-index: 1;
  overflow: auto;
  width: calc(100vw - 80px);
  height: calc(100vh - 185px);
  /* background-color: #a9a9a9; */
}

.masterlistcontainer {
  position: absolute;
  top: 130px;
  padding: 0px;
  /* margin-top: +5px; */
  margin-left: +10px;
  /* z-index: 500; */
  z-index: 1;
  overflow: auto;
  width: calc(100vw - 80px);
  height: calc(100vh - 155px);
  /* background-color: #a9a9a9; */
}

.subcontainer {
  padding: 0px;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  margin-left: 0px;
  margin-right: 5px;
  /* z-index: 500; */
  z-index: 1;
  /* height: calc(100vh - 115px); */
  /* background-color: #0275d8; */
}

.searchcontainer {
  position: absolute;
  padding: 0px;
  width: calc(100vw - 82px);
  top: 130px;
  left: 10px;
  padding-top: 3px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 0.9rem;
  z-index: 1;
  background-color: #dcdcdc;
}

.validpcodecontainer {
  /* position: absolute; */
  /* padding: 0px; */
  width: calc(100%-20px);
  height: calc(100%-80px);
  top: 10px;
  left: 10px;
  padding-top: 3px;
  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
  /* z-index: 1; */
  /* background-color: #dcdcdc; */
}

.dashcountcontainer {
  position: absolute;
  padding: 0px;
  width: calc(100vw - 82px);
  top: 80px;
  left: 10px;
  padding-top: 3px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 0.9rem;
  z-index: 1;
}

.dashtablecontainer {
  position: absolute;
  padding: 0px;
  width: calc(100vw - 82px);
  height: calc(100vh - 250px);
  top: 220px;
  left: 10px;
  padding-top: 3px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 0.9rem;
  z-index: 1;
}

.tablepager {
  position: fixed;
  padding: 0px;
  width: calc(100vw - 120px);
  height: 36px;
  top: 130px;
  left: 22px;
  font-size: 1.6rem;
  z-index: 1;
  background-color: #f5f5f5;
}

/* table {
  width: calc(100vw - 120px);
  padding: 0;
  z-index: 920;
}
table thead th {
  vertical-align: middle;
  position: sticky;
  text-overflow: ellipsis;
  white-space: nowrap;
}
table tbody td {
  vertical-align: middle;
  text-overflow: ellipsis;
} */

.sticky_table_wrapper {
  overflow: auto;
  width: calc(100%-200px);
  /* max-height: calc(100%-200px); */
  height: calc(100%-80px);
}
.sticky_table_wrapper_d {
  overflow: auto;
  width: calc(100%-200px);
  /* max-height: calc(100%-200px); */
  height: calc(100vh-80px);
}
.sticky_table thead th {
  /* 縦スクロール時に固定する */
  position: -webkit-sticky;
  position: sticky;
  text-align: center;
  vertical-align: middle;
  top: 0;
  /* tbody内のセルより手前に表示する */
  z-index: 1;
}
.sticky_table th:first-child {
  /* 横スクロール時に固定する */
  position: -webkit-sticky;
  position: sticky;
  left: 0;
}
.sticky_table thead th:first-child {
  /* ヘッダー行内の他のセルより手前に表示する */
  z-index: 2;
}
/* .sticky_table tr:hover th{
  background-color: #87ceeb;
} */
.sticky_table tr:hover td{
  /* background-color: #87ceeb; */
  background-color: #c6ffff;
}

.dashcard {
  width:calc(100vw/6);
  height:120px;
  border: 1px solid #bebebe;
  border-radius: 8px;
}

.dashcard-alert-on {
  box-shadow: 10px 5px 5px rgba(255,0,0,.2);
}

.dashcard-alert-off {
  box-shadow: 10px 5px 5px rgba(255,0,0,0);
}

.dashcard-caution-on {
  box-shadow: 10px 5px 5px rgba(255,140,0,.2);
}
.dashcard-caution-off {
  box-shadow: 10px 5px 5px rgba(255,140,0,0);
}

.dashcard-info-on {
  box-shadow: 10px 5px 5px rgba(46,139,87,.2);
}
.dashcard-info-off {
  box-shadow: 10px 5px 5px rgba(46,139,87,0);
}

.dashcard .title {
  border-radius: 5px;
  vertical-align: middle;
  font-size: 1.2rem;
  font-weight: 700;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 4px;
  margin-left: 3px;
  margin-right: 4px;
}

.dashcard .body {
  text-align: end;
  padding-right: 25px;
  margin-top: 10px;
}

.dashcard .body .count {
  font-size: 2.4rem;
  font-weight: 700;
  margin-right: 10px;
}

.dashcard .body .unit {
  font-size: 1.4rem;
  font-weight: 400;
}
.dashcard-alert .title {
  border: 2px solid #ff0000;
  background-color: #ff0000;
  color: #ffffff;
}

.dashcard-caution .title {
  border: 2px solid #ff8c00;
  background-color: #ff8c00;
  color: #ffffff;
}

.dashcard-info .title {
  border: 2px solid #2e8b57;
  background-color: #2e8b57;
  color: #ffffff;
}

.modal.fade .modal-dialog.modal-work {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

@keyframes onAutoFillStart { from {} to {}}

input:-webkit-autofill {
  animation-name: onAutoFillStart;
  transition: background-color 50000s ease-in-out 0s;
}