@import url("./font/Lato/Lato.css");
@import url("./font/Noto_Sans_JP/NotoSans.css");


html{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}


/*
ヘッダ、フッタ
*/
header,
footer{
  z-index: 1;
}


/*
ボディ
*/
body {
  background-color: #F5F5F5;
  font-family: "Meiryo", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Lato", 'Noto Sans JP';
  font-weight: 600;
  height: 100%;;
}

.body-content{
  padding-top: 20px;
  padding-bottom: 20px;
  overflow-y: auto;
  width: 100%;
}

@media only screen and (max-device-width: 768px) {
  body {
    font-weight: 400;

  }
}

/*
設定関連
*/
.config-sidebar{
  display: none;
}


.container-fluid{
  height: 100%;
}

.w-fit-content{
  width: fit-content;
}

/*
点滅エフェクト
*/
@keyframes blinkEffect {
  50% {
    box-shadow: 0 1px 15px 1px rgb(225, 59, 71);
  }
}

/*
ナビゲーションバー
*/
.navbar,
.navbar-expand-md,
.navbar-light,
.bg-light {
  background-color: #006F86;
}

/* Modify brand and text color */

.navbar-custom .navbar-brand,
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-text {
  font-weight: bold;
  color: whitesmoke;
}

/* nav-itemの文字色 */
header .navbar .navbar-nav .nav-link {
  color: rgb(196, 196, 196);
}

/* nav-item activeの文字色 */
header .navbar .navbar-nav .active>.nav-link {
  color: whitesmoke;
}

header .navbar-light .navbar-nav .nav-link.active,
header .navbar-light .navbar-nav .show>.nav-link {
  color: white;
  font-weight: bold;
}


header .navbar-light .navbar-nav .nav-link.active,
/* nav-item:focus、nav-item:hoverの文字色 */
header .navbar .navbar-nav .nav-link:focus,
header .navbar .navbar-nav .nav-link:hover {
  color: whitesmoke;
}

/* ドロップダウンアイテムの文字色 */
.dropdown-item {
  color: black;
}

.dropdown-item:hover {
  color: rgb(0, 0, 0);
  background-color: #cfcfcf;
}



.dropdown-menu {
  border-radius: 5px;
  background-color: #ffffffD0;
  -webkit-backdrop-filter: blur(30px);
  color:black;
  backdrop-filter: blur(10px);
  max-height: 50vh;
  /* ドロップダウンメニューの最大高さ */
  overflow-y: auto;
  /* 垂直方向にスクロールバーを表示する */
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  border-color: #ffffffff;
}

.navbar-toggler {
  border-color: #ffffffff;
  border: 0px;
}

.nav-tabs {
  font-size: small;
}

.header-navbar>.nav-item {
  margin-left: 2rem;
}

.clock {
  text-align: center;
  vertical-align: middle;
  /* 上下中央に寄せる */
  border-radius: 1;
  border: #006F86;
  font-size: large;
  color: #F5F5F5;

}


/*
スマホ・PCの表示選択
*/

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

/*
時刻
*/
.current-time-area {
  background-color: dimgray;
  height: 2.5rem;
  line-height: 2.5rem;
}


/*
ステータスカードの色
*/
.status_card_blue {
  background-color: rgb(90, 146, 203);
}

.status_card_yellow {
  background-color: rgb(215, 162, 0);
}

.status_card_red {
  background-color: rgb(225, 59, 71);
}

.status_card_gray {
  background-color: rgb(147, 145, 150);
}

.alert_text{
  color:#fff !important;
}

/*
モーダル
*/

.modal-backdrop{
  width: 100%;
  height: 100%;
}

.required-field {
  color: red;
  font-size: small;
}
.note-field {
  color: rgb(94, 94, 94);
  font-size: small;
}



/*
フォーム
*/
form .form-control.is-invalid {
  border-color: #dc3545;
  background-color: #f7e9e8;
}

.error-massage {
  color: #dc3545;
  visibility: hidden;
}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {

  header .nav-dropdown-item {
    font-size: large;
  }

  header .nav-tabs {
    font-size: large;
  }

  header .nav-link {
    font-size: large;
  }

  header .nav-link {
    padding: 0;
  }

  /* パソコンで見たときは"pc"をclassに含む要素が表示される */
  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  /*
  設定画面のサイドバーレイアウト
  */
  .config-sidebar{
    padding-left: 5px;
    padding-top: 20px;
    height: 100%;
    width: fit-content;
    min-width: fit-content;
    background-color: #EEEEEE;
    overflow: auto;
    display: block;
    border-right: 1px solid #e6e6e6;
  }
  .config-body{
    position:relative;
    top:0;
    left:0px;
    padding-top: 80px;
    padding-left: 200px;
    width: 100%;
  }
}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}


/* ======================= */
/* サイドバーのスタイル */
/* ======================= */
#side_col {
  width: 30rem;
  background-color: #fff;
  height: 100%;
}

.sidebar {
  width: 100%;
  background-color: #fff;
  max-height: 80vh;
  overflow-y: auto;
}
.alert-item {
  padding: 0.75rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #e2e2e2;
  background-color: #fafafa;
  border-radius: 0.7rem;
}

.sidebar-area{
  height: 100%;
  width: 23%;

}
.alert-item:last-child {
  border-bottom: none;
}
.alert-item.active {
  background-color: #007bff;
  color: #fff;
}
.alert-item .alert-title {
  font-size: large;
  font-weight: normal;
}
.alert-item .alert-date {
  font-size: 0.875rem;
  color: #6c757d;
}
.alert-item .alert-content {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.sidelink .nav-link.active {
  background-color: #d4d4d4 ;
  color: #111 ;
  border-left: 4px solid #006F86;
}
.sidelink .nav-link:hover{
  background-color: #d4d4d4 ;
  color: #111 ;
}

.sidelink .nav-link{
  min-width: max-content;
  border-left: 4px solid transparent;
}

