@charset "UTF-8";

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

:root {
  /** 日本語のみMeiryo。あとは Bootstrapの設定流用。 */
  --rin-font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Meiryo", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
  
/* ブラウザのスクロールバーを常に表示させることでカクカクッとなるのを防ぐ */
html {
  overflow-y: scroll; }

body {
  font-family: var(--rin-font-family-sans-serif) !important;
}

.tooltip {
  font-family: var(--rin-font-family-sans-serif) !important;
}

.popover {
  font-family: var(--rin-font-family-sans-serif) !important;
}

.header-size {
  height: 46px; }

/** モーダル表示時に、右側に余白ができてしまう不具合対処 */
#sidebar {
  padding-right: 0px !important; }

/** 改行コードをそのまま表示する際に使用 */
.preformatted {
  white-space: pre-wrap;
  word-break: break-all;
  /** 半角文字が続く場合などでも改行されるように */ }

.btn-group-toggle label.btn {
  color: #5cb85c;
  background-image: none;
  background-color: white;
  border-color: #5cb85c;
  padding: 0rem 0.4rem; }

.btn-group-toggle label.btn:hover:not(.disabled) {
  box-shadow: 0 3px 0  #5cb85c inset;
  /* background-color: #e6e6e6; */
  /* border-color: #adadad; */ }

.btn-group-toggle label.btn.active {
  color: #fff;
  background-color: #5cb85c;
  border-color: #5cb85c; }

.btn.disabled, .btn:disabled {
  cursor: not-allowed;
  opacity: .5; }

#ajax-loading-area i {
  position: fixed;
  bottom: 30px;
  right: 20px;
}

#ajax-loading-area[data-loading-status="not-doing"] {
  opacity: 0.0;
  transition: all .4s; 
}

#ajax-loading-area[data-loading-status="doing"] {
  opacity: 1.0;
  width: 100%;
  height: 100%;
  position: fixed;
  /* z-indexの最大値を指定 （必ず前面に表示したいため） */
  z-index: 2147483647;
}

.note-editor {
  background-image: linear-gradient(#eee 0.1em, transparent 0);
  background-size: 100% 20px;
  background-color: #fff;
  line-height: 20px;
  margin-top: 5px;
  padding: 0;
  padding-left: .4rem;
  padding-right: .4rem;
  padding-bottom: 1px;
  border: none;
  resize: none; }

/* テキストをリンクへ */
.t-link {
  text-decoration: underline;
  cursor: pointer; }

/**
 * 文字(text)の大きさ指定
*/
/* 親要素の文字サイズに対して、1段階小さい */
.t-small {
  font-size: 92% !important; }

/* 親要素の文字サイズに対して、1段階大きい */
.t-large {
  font-size: 120% !important; }

/* 編集可 */
.editable {
  cursor: pointer; }

/* 編集不可 */
.not-editable {
  pointer-events: none; }

.square-brackets::before {
  content: '['; }

.square-brackets::after {
  content: ']'; }

.brackets::before {
  content: '('; }

.brackets::after {
  content: ')'; }

/** 折りたたまれていない状態 */
/** 折りたたみ有効な状態 */
#content .card {
  background-color: #f7eedb; }

.table tbody {
  background-color: #fff; }

/** テーブルのホバー時に色 */
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
  background-color: #fcf1de;
}

/* ---------------------------------------------------
  TopNavbar Style
----------------------------------------------------- */
#top-navbar {
  background: #de9f68;
  color: #fff;
  border-bottom: none;
  border-radius: 0;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.2);
  padding: 0;
  height: 40px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s; }

/* Sidebar状態に応じて変更するスタイル */
#top-navbar .top-navbar-header {
  width: 220px; 
  padding-left: 10px;
  }

#top-navbar.active .top-navbar-header {
  width: 190px; }

#top-navbar .top-navbar-header strong {
  display: none; }

#top-navbar.active .top-navbar-header h3 {
  display: none; }

#top-navbar.active .top-navbar-header strong {
  display: block; }

@media (max-width: 768px) {
  /** ブラウザ幅が768px以下の場合 */
  #top-navbar .top-navbar-header {
    width: 80px; }

  #top-navbar.active .top-navbar-header {
    width: 80px; }

  #top-navbar .top-navbar-header h3 {
    display: none; }

  #top-navbar .top-navbar-header strong {
    display: block; } }
/* TopNavbar Header */
#top-navbar .top-navbar-header {
  transition: width 0.2s;
  color: #fff;
  text-align: center; }

#top-navbar .top-navbar-header strong {
  font-size: 1.8em; }

/* Navbar Brand */
#top-navbar a.navbar-brand {
  color: #fff;
  font-weight: 600; }

#top-navbar a.navbar-brand:hover,
#top-navbar a.navbar-brand:focus {
  color: inherit; }

/* Toggle Button */
#top-navbar .navbar-toggle {
  background: #fff;
  color: #333;
  border: none;
  border-radius: 0; }

#top-navbar .navbar-toggle:hover,
#top-navbar .navbar-toggle:focus {
  background: #fff;
  color: #333; }

/* Navbar Components Holder */
#top-navbar .navbar-collapse {
  border: none; }

/* Navbar links */
#top-navbar ul.navbar-nav {
  border: none; }

#top-navbar ul.navbar-nav a {
  color: #fff; }

#top-navbar ul.navbar-nav a:hover,
#top-navbar ul.navbar-nav a:focus {
  color: #333;
  background: #fff; }

/* Navbar Form */
#top-navbar form.navbar-form input {
  border-radius: 0;
  border-color: #6172b9;
  background: none;
  color: #fff;
  font-weight: 300; }

#top-navbar form.navbar-form button {
  background: #6172b9;
  color: #fff;
  border-color: #6172b9;
  border-radius: 0;
  box-shadow: none !important;
  outline: none; }

#top-navbar form.navbar-form button:hover {
  background: #fff;
  color: #6172b9; }

/* Navbar Button */
#top-navbar button.navbar-btn {
  border-radius: 0;
  border-color: #6172b9;
  background: #6172b9;
  color: #fff; }

#top-navbar button.navbar-btn:hover {
  background: #fff;
  color: #6172b9; }

#top-navbar .logout-area {
  font-size: 16px;
}

#top-navbar .logout-area:hover .staff-name {
  border-bottom: 1px solid;
}

#top-navbar .logout-area:hover .btn-logout {
  color: #ff566c;
}

/* ---------------------------------------------------
  WRAPPER STYLE
----------------------------------------------------- */
.wrapper {
  display: flex;
  align-items: stretch; }

/* ---------------------------------------------------
  SIDEBAR STYLE
----------------------------------------------------- */
/*
  DEMO STYLE
*/
#sidebar p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999; }

#sidebar a, #sidebar a:hover, #sidebar a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s; }

#sidebar .line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0; }

#sidebar i, #sidebar span {
  display: inline-block; }

#sidebar {
  min-width: 220px;
  max-width: 220px;
  position: fixed;
  top: 40px;
  left: 0;
  height: 100vh;
  z-index: 999;
  background: #608bd0;
  color: #fff;
  transition: all 0.2s; }

#sidebar.active {
  min-width: 80px;
  max-width: 80px;
  text-align: center; }

#sidebar ul.components {
  padding: 5px 0; }

#sidebar ul li.component-heading {
  color: #fff;
  padding: 10px;
  white-space: nowrap;
  cursor: default; }

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  text-align: left;
  font-weight: 500; }

#sidebar ul li a:hover, #sidebar ul li a:focus {
  color: #fff;
  background: #de9f68; }

#sidebar ul li a:focus {
  outline: 0; }

#sidebar ul li.active > a, #sidebar a[aria-expanded="true"], #sidebar a[aria-expanded="true"]:focus {
  color: #fff;
  background: #de9f68; }

#sidebar ul li a i {
  margin-right: 10px; }

a[data-toggle="collapse"] {
  position: relative; }

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
  content: '\e034';
  display: block;
  position: absolute;
  right: 20px;
  font-family: 'Icons';
  font-size: 0.6em; }

a[aria-expanded="true"]::before {
  content: '\e037'; }

#sidebar.active ul li a {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.85em; }

#sidebar.active ul li a i {
  margin-right: 0;
  display: block;
  font-size: 1.8em;
  margin-bottom: 5px; }

/* Same dropdown links padding*/
#sidebar.active ul ul a {
  padding: 10px !important; }

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
  top: auto;
  bottom: 5px;
  right: 50%;
  transform: translateX(50%); }

/** メニュー(ルート) */
.menu-parent-icon {
  position: relative;
  width: 80px;
  height: 60px;
}

/** メニュー(子) */
.menu-child-contents {
  position: relative;
  color: #fff;
  top: -61px;
  left: 80px;

  width: 0px;
  overflow: hidden;
  white-space: nowrap;
}

/** メニューリンク(子) */
.menu-child-contents > a {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

/** メニューラベル(子) */
.menu-child-contents > a > span {
  font-size: 1em;
}

/** メニューの子を出す設定 */
.menu-parent-icon:hover .menu-child-contents {
  width: 200px;
}

@media (max-height: 800px) {
  #sidebar.active ul li a {
    padding: 6px 10px !important;
    font-size: 8pt;
  }

  .menu-parent-icon {
    height: 52px !important;
  }

  .menu-child-contents {
    top: -52px;
  }
  
  .menu-child-contents > a {
    padding: 2px 4px !important;
  }
  .menu-child-contents > a > span {
    font-size: 8pt !important;
  }

}

/* ---------------------------------------------------
  CONTENT STYLE
----------------------------------------------------- */
#content {
  width: calc(100% - 220px);
  padding: 10px 15px;
  padding-bottom: 300px;
  /** 一番下の内容をスクロール出来るようにするため */
  min-height: calc(100vh - 40px);
  transition: all 0.2s;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #f8f8ec; }

#content.active {
  width: calc(100% - 80px); }

/* ---------------------------------------------------
  MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
  #sidebar {
    min-width: 80px;
    max-width: 80px;
    margin-left: -80px !important;
    text-align: center; }

  #content {
    width: 100%; }

  #content.active {
    width: calc(100% - $sidebar-active-width); }

  a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%); }

  #sidebar.active {
    margin-left: 0 !important; }

  #sidebar .sidebar-header h3 {
    display: none; }

  #sidebar .sidebar-header strong {
    display: block; }

  #sidebar ul li a {
    padding: 20px 10px; }

  #sidebar ul li a i {
    margin-right: 0;
    display: block; }

  #sidebar ul ul a {
    padding: 10px !important; }

  #sidebar ul li a i {
    font-size: 1.3em; }

  #sidebar {
    margin-left: 0; } }
/* ---------------------------------------------------
  SidebarのToggleアイコン
----------------------------------------------------- */
nav.navbar .menu-btn {
  margin-right: 20px;
  font-size: 1.2em;
  -webkit-transition: all 0.7s;
  transition: all 0.7s; }

nav.navbar .menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 4px auto 0;
  -webkit-transition: all 0.2s cubic-bezier(0.81, -0.33, 0.345, 1.375);
  transition: all 0.2s cubic-bezier(0.81, -0.33, 0.345, 1.375); }

nav.navbar .menu-btn span:nth-of-type(2) {
  position: relative;
  width: 35px;
  -webkit-transform: none;
  transform: none; }

nav.navbar .menu-btn span:nth-of-type(2)::before, nav.navbar .menu-btn span:nth-of-type(2)::after {
  content: '';
  width: 6px;
  height: 2px;
  display: block;
  background: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 0;
  -webkit-transition: all 0.7s;
  transition: all 0.7s; }

nav.navbar .menu-btn span:nth-of-type(2)::after {
  -webkit-transform: rotate(145deg);
  transform: rotate(145deg);
  position: absolute;
  top: -2px;
  left: 0; }

nav.navbar .menu-btn.active span:first-of-type {
  -webkit-transform: translateY(12px);
  transform: translateY(12px); }

nav.navbar .menu-btn.active span:nth-of-type(2) {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg); }

nav.navbar .menu-btn.active span:last-of-type {
  -webkit-transform: translateY(-12px);
  transform: translateY(-12px); }

@media (max-width: 768px) {
  nav.navbar .menu-btn {
    margin-right: 20px;
    font-size: 1.2em;
    -webkit-transition: all 0.7s;
    transition: all 0.7s; }

  nav.navbar .menu-btn span:first-of-type {
    -webkit-transform: translateY(12px);
    transform: translateY(12px); }

  nav.navbar .menu-btn span:nth-of-type(2) {
    -webkit-transform: none;
    transform: none; }

  nav.navbar .menu-btn span:nth-of-type(2)::before, nav.navbar .menu-btn span:nth-of-type(2)::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); }

  nav.navbar .menu-btn span:nth-of-type(2)::after {
    -webkit-transform: rotate(145deg);
    transform: rotate(145deg);
    position: absolute;
    top: -2px;
    left: 0; }

  nav.navbar .menu-btn span:last-of-type {
    -webkit-transform: translateY(-12px);
    transform: translateY(-12px); }

  nav.navbar .menu-btn.active span:first-of-type {
    -webkit-transform: none;
    transform: none; }

  nav.navbar .menu-btn.active span:nth-of-type(2) {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg); }

  nav.navbar .menu-btn.active span:last-of-type {
    -webkit-transform: none;
    transform: none; } }

/** 必須項目用識別子 */
.required:before{
  content: "＊";
  color: #ff0000;
}

/** 削除レコード */
table tr.delete {
  background-color: #eeeeee !important;;
}

/** 備考ラベル */
div .name-note-content {
  font-size: 9pt;
  color: gray;
}

/** ケース記録内容テキストエリアの文字カウンタ ツールチップ */
[data-character-count-tooltip] .tooltip-inner {
  color: hsl(24, 100%, 95%) !important;
  background-color: hsl(24, 100%, 50%) !important;
}

[data-character-count-tooltip].bs-tooltip-top .arrow::before ,
[data-character-count-tooltip].bs-tooltip-left .arrow::before ,
[data-character-count-tooltip].bs-tooltip-right .arrow::before ,
[data-character-count-tooltip].bs-tooltip-bottom .arrow::before {
  border-right-color: hsl(24, 100%, 50%) !important;
}

/** モニタリング進捗等の期限の色 */
.progress-status-OK {
	background-color: #9fceff !important;
	color: #0000ff;
}

.progress-status-link-OK {
	color: #0000ff;
}

.progress-status-NOW {
  background-color: #fdf6c4 !important;
  color: #ab701f;
}

.progress-status-link-NOW {
  color: #ab701f;
}

.progress-status-NG {
  background-color: #ffd0d9 !important;
  color: #ff0000;
}

.progress-status-link-NG {
  color: #ff0000;
}

.progress-status-NOT_USED {
  background-color: #d3d3d3 !important;
}

.progress-status-WARN {
  background-color: #fdf6c4 !important;
  color: #ff0000;
}

.progress-status-link-WARN {
  color: #ff0000;
}

.modal-header {
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
}

/** 土曜日共通カラー */
.saturday {
  color: #0000cc;
}

/** 日曜日・祝日共通カラー */
.sunday {
  color: #ff0000;
}

.todo_message {
	color: #fb7244;
}

div .min-gray {
  font-size: 8pt;
  color: gray;
}

div .min-orange {
  font-size: 8pt;
  color: #cd4c00;
}

/** */
.badge {
  font-weight: initial;
  padding: 0.25rem;
}

div .status-color {
  color: gray;
  font-weight: bold;
  text-align: right;
}

/** 年月表示のカレンダー(MonthPicker)の当月のスタイル(目立つように修正) */
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  font-weight: bold;
  background: #fcefa1;
}

.todo-disabled {
  background-color: #eeeeee !important;
}

/** サイン受領日などのラベル */
.important-date-color{
	color: blue;
	font-weight: bold;
}

.card-body{
	padding: 0.8rem 0.6rem;
}

/** 出欠cd: "001" = 選択無し */
.attendance [data-attendance-cd="001"] {
  /** .btn-ligntと同様 */
  color: #212529;
  background-color: #F6F6F6;
  border-color: #F6F6F6;
}
/** 出欠cd: "002" = 出席 */
.attendance [data-attendance-cd="002"] {
  color: #29a309;
  background-color: #e2f8e4;
  border-color: #F6F6F6;
}
/** 出欠CD: "003" = 欠席 */
.attendance [data-attendance-cd="003"] {
  /** .alert-dangerと同様 */
  color: #721c24;
  background-color: #f8d7da;
  /** border-color: #f5c6cb; */
  border-color: #F6F6F6;
}
/** 出欠CD: "004" = 欠席(事前連絡) */
.attendance [data-attendance-cd="004"] {
  color: #856404;
  background-color: #fff3cd;
  /** border-color: #ffeeba; */
  border-color: #F6F6F6;
}

/** 出欠CD: "005" = 実習 */
.attendance [data-attendance-cd="005"] {
  color: #0000a0;
  background-color: #dde9ff;
  border-color: #F6F6F6;
}

/** 出欠CD: "006" = 在宅 */
.attendance [data-attendance-cd="006"] {
  color: #482d73;
  background-color: #e3ddff;
  border-color: #F6F6F6;
}

/** 出欠CD: "007" = 訪問 */
.attendance [data-attendance-cd="007"] {
  color: #2760c5;
  background-color: #d0eefb;
  border-color: #F6F6F6;
}

/** 出欠CD: "010" = 有給 */
.attendance [data-attendance-cd="010"] {
  color: #2760c5;
  background-color: #d0eefb;
  border-color: #F6F6F6;
}

.logo  {
	margin-top: -8px;
	padding-right: 5px;
	height: 25px;
}
/** モーダル表示時の不具合修正 */
.navbar {
  padding-right: 0 !important;
}

/** メール送信済み */
.mail-send{
	color: #608bd0;
	font-weight: bold;
}

/* 要素とツールチップを横並び */
.c-tooltip {
    display: inline-block;
    position: relative;
}

/* ツールチップ共通の設定 */
.c-tooltip::before,
.c-tooltip::after {
    -webkit-transition: all 0.2s;
    opacity: 0;
    position: absolute;
    transition: all 0.2s;
    visibility: hidden;
    z-index: 11;
}

/* ツールチップ吹き出しのひげ */
.c-tooltip::before {
    -webkit-transform: translateY(-190%);
    left: calc(100% - 19px);
    width: 0;
    content: "";
    border: 5px solid transparent;
    border-top: 5px solid #d2b48c;
}

/* ツールチップ吹き出しの本体 */
.c-tooltip::after {
    -webkit-transform: translateY(-130%);
    background: #d2b48c;
    border-radius: 5px;
    color: #fff;
    text-align: left;
    white-space: pre;
    display: block;
    font-size: 12px;
    font-weight: 600;
    left: calc(100% - 30px);
    padding: 5px 10px;
    top: 47%;
}

/* マウスオンしたときのカーソルの設定 */
.c-tooltip:hover {
    cursor: pointer;
}

.c-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.c-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.text-gray {
  color: gray;
}

.management-organization-color {
  color: #ea5506;
}

.plan-delete-link {
  padding-right: 20px;
}

.auto-line-break {
  line-break: anywhere;
}

.bg-purple {
  background-color: #8a52d4;
}

.tr-disabled, .td-disabled {
  background-color: #eeeeee !important;
}