/* 共通部分のcss */
.icon-sm {
  width: 20px;
  height: 20px;
}

.navbar-vertical .navbar-nav .nav-link .icon {
  padding: 5px;
}

.input-group .input-group-text,
.input-group .form-control,
.input-group .btn {
  height: calc(2.25rem + 2px);
}
.custom-select {
  height: calc(2.25rem + 2px);
}
#farmList {
  display: none;
}
.chart-canvas {
  max-height: 350px;
}

/* CRUDイベントのステータス表示部分の見た目 */
.custom-alert {
  background-color: #e7f5ff;
  color: #055160;
  border: 1px solid #a5d8ff;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  position: relative;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.custom-alert-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #055160;
  cursor: pointer;
}

/* 左sidebar部分 */
.arrow-icon {
  font-size: 0.8em;
  cursor: pointer;
}

.arrow-icon .arrow-down {
  display: inline; /* 初期状態で下矢印を表示 */
}

.arrow-icon .arrow-up {
  display: inline; /* 初期状態で上矢印を非表示 */
}

.arrow-icon .not-show {
  display: none;
}

.nav-link-text.ms-1 {
  color: #344767;
  font-size: 1.2rem;
  font-weight: bolder;
}
.sidenav-normal {
  color: #344767;
  font-size: 1.1rem;
}
.navbar-vertical.navbar-expand-xs .navbar-collapse {
  height: auto;
}

/* 共通部分のcss スマホ用 */
@media (max-width: 768px) {
  .chart-canvas {
    height: 220px;
  }
}


/* select2の幅を設定 */

.select2-container {
  min-width: 250px;
}

.select2-container--default .select2-selection--single {
  width: 100%; /* 必要に応じて幅を調整 */
  height: 36px; /* 高さを設定 */
  font-size: 1.2rem; /* フォントサイズを設定 */
  display: flex;
  /* align-items: center; */
}

/* ドロップダウンのフォントサイズを調整 */
.select2-results__option {
  font-size: 1.1rem; /* ドロップダウン内のフォントサイズを設定 */
}

/* select2の検索ボックス内のフォントサイズを調整 */
.select2-search__field {
  font-size: 1.1rem; /* 検索ボックス内のフォントサイズを設定 */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 36px;
}

.select2-container--default .select2-selection--single {
  background: none;
  border: none;
  border-bottom: 1px solid gray;
}

.navbar > .container-fluid {
    padding-left:0;
}

.index-graph-card {
  min-height: 435px;
}
@media (max-width: 768px) {
  .index-graph-card {
    min-height: 300px;
  }
}

@media (min-width: 768px) {
  .dashboard-pi-chart-area {
    min-height: 415px;
  }
}

.icon-excel {
  color: green;
  font-size: 1.5rem;
}

.icon-pdf {
  color: #e33;
  font-size: 1.5rem;
}

.icon-other-file {
  color: #333;
  font-size: 1.5rem;
}

/* ページごとのcss */

/* login page css */
.login-logo-container {
  text-align: center;
}
.login-logo-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* sidebar */
.navbar-vertical .navbar-brand > img, .navbar-vertical .navbar-brand-img {
  max-height: 4.5rem;
}
