html {
  font-size: 16px;
}

body {
  background-color: #eff1f4 !important;
}

/* ヘッダー */
#header-content {
  background-color: white;
  margin-left: 136px;
  height: 32px;
  line-height: 32px;
  width: auto;
  border-bottom: 1px solid #e6e6e6;
}

#header-content.sidebar-collapsed {
  margin-left: 40px;
}

#header-content .header-title {
  color: #3d454d;
  font-size: 0.8125rem;
}

#header-content .dropdown .dropdown-menu {
  font-size: 0.8125rem;
  padding: 0;
  min-width: 6rem;
}

#header-content .dropdown .dropdown-menu .dropdown-item {
  padding: 0 1rem;
  height: 30px;
}

/* サイドバー */
#sidebar {
  background-color: #4772b3;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  font-size: 0.8125rem;
}

.sidebar-collapsed {
  width: 40px;
}

.sidebar-collapsed #sidebar {
  width: 40px;
}

.sidebar-collapsed .sidebar-link {
  display: none;
}

.nav-item.sidebar-link:first-child {
  border-top: 1px solid #334691;
  border-bottom: 1px solid #334691;
}

.nav-item.sidebar-link {
  border-bottom: 1px solid #334691;
}

/* ボタン */

.btn.sidebar-btn {
  border-radius: 50%;
  text-align: center;
  font-size: 12px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #4772b3;
  border-color: #fff;
  margin-left: 0.45rem;
}

.btn.sidebar-btn:hover {
  background-color: #375d96;
  border-color: #fff;
}

.btn.sidebar-btn:focus {
  background-color: #4772b3;
  border-color: #fff;
}

.btn.sidebar-btn:focus:hover {
  background-color: #375d96;
}

.btn.btn-small {
  font-size: 0.8125rem;
}

.button:disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

#sidebar-toggle:focus {
  box-shadow: none;
}

.sidebar-btn {
  width: 24px;
  height: 24px;
}

#sidebar > ul.nav .nav-link {
  color: #fff;
}

#sidebar > ul.nav .nav-link:hover {
  background-color: #a6a6a6;
}

#sidebar > ul.nav a.active {
  opacity: 1;
  font-weight: bold;
  background-color: #444c5b;
}

main {
  margin-left: auto;
  width: calc(100% - 136px) !important;
}

main.sidebar-collapsed {
  flex: 1 1 auto;
  margin-left: 40px;
}

.search-content {
  font-size: 0.75rem;
  max-width: 770px;
}

.small-input {
  height: 1.5rem;
  padding: 0.25rem;
}
.form-control.small-input {
  font-size: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 0.275rem 0.75rem;
}

.small-input-size {
  height: 1.5rem;
  padding: 0.25rem;
}
.form-control.small-input-size {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  margin-bottom: 0.1rem;
  padding: 0.1rem 0.75rem;
}

.col-form-label-size {
  font-size: 0.65rem;
  display: inline-block;
  line-height: 3.5;
}

.custom-col {
  max-width: 110px !important;
}

/* フラッシュメッセージ */
.alert.visible {
  visibility: visible;
}


/* 検索欄 */
.row.search-container {
  font-size: 0.8125rem;
  margin: 0;
  padding: 12px;
  background-color: white;
  border-radius: 4px;
}

.btn-search {
  background-image: linear-gradient(to bottom, #b9b59d, #8f8b77);
}


/* ボタンのスタイル */
.button {
  font-size: 0.8125rem;
  padding: 8px 12px;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.button:hover {
  color: black;
}
.button:active {
  box-shadow: none; /* 影を解除 */
  transform: translateY(2px); /* Y軸方向に少し移動（凹むような表現） */
}


/* ボタンカラー */
.btn-submit {
  background-image: linear-gradient(to bottom, #0D6EFD, #095ac4);
}

.export {
  background-image: linear-gradient(to bottom, #b9b59d, #8f8b77);
}

.filter {
  background-image: linear-gradient(to bottom, #b9b59d, #8f8b77);
}

.update {
  background-image: linear-gradient(to bottom, #FFA500, #d19547);
}

.btn-show {
  background-image: linear-gradient(to bottom, #0D6EFD, #095ac4);
}

.btn-toggle {
  background-image: linear-gradient(to bottom, #6c757d, #535d66);
}

.upload-excel-file {
  background-image: linear-gradient(to bottom, #0D6EFD, #095ac4);
}

.btn-sort {
  color: black;
  background-image: linear-gradient(to bottom, #ffc107, #e9b10b);
}
.btn-sort:hover {
  color: white;
}

.btn-export {
  display: inline-block;
  text-decoration: none;
  width: 150px;
  font-size: 0.63rem;
  padding: 8px;
  text-align: center;
}

.small-input {
  margin-top: 4px;
}

/* スピナー */
.hidden-spread {
  visibility: hidden;
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.hidden-spread.visible {
  visibility: visible;
}

.spinner-border {
  visibility: hidden;
}

.spinner-border.visible {
  visibility: visible;
}

.gc-statusbar {
  font-size: 10pt !important;

}

.pointer:hover {
  cursor: pointer;
}
