body {
	font-family: "Meiryo UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/**
 * ヘッダー
 */
.navbar-brand {
	font-size: 2rem;
}
.navbar-brand img {
	width: 32px;
	vertical-align: sub;
}
.sb-nav-link-icon {
	width: 15px;
}

/**
 * ゲスト用レイアウト
 */
#layoutGuest {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
#layoutGuest_content {
	min-width: 0;
	flex-grow: 1;
}
#layoutGuest_footer {
	min-width: 0;
}

/**
 * タブ
 */
.nav-tabs > .nav-item {
	width: 100px;
	text-align: center;
}

/**
 * タイトル
 */
h3.title,
h4.title {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}
h5.title {
	border-bottom: 1px solid #ccc;
}

/**
 * 項目タイトル
 */
label.subject {
	font-weight: bold;
	display: block;
}

/**
 * 項目データ表示
 */
.show-item {
	border-radius: 0.25rem;
	padding: 0.5rem;
	min-height: 40px;
}

/**
 * ボタンサイズ
 */
.btn.btn-narrow {
	min-width: 100px;
}
.btn.btn-standard {
	min-width: 130px;
}
.btn.btn-wide {
	min-width: 160px;
}

/**
 * アコーディオン
 */
.accordion-item {
	border-color: rgba(0, 0, 0, 0.175);
}
.accordion-button {
	cursor: pointer;
	padding: 8px 16px 8px 16px;
}
.accordion-button:not(.collapsed) {
	color: var(--bs-accordion-color);
}

/**
 * アイコンを縦に並べる際に幅を揃える
 */
.fa-list-style {
	width: 20px;
	text-align: center;
}

/**
 * １週間テーブルのヘッダー
 */
.table-week > thead > tr > th {
	width: calc(100% / 7);
}

/**
 * flatpicker
 */
input.monthpicker:has(+ .picker-clear),
input.datepicker:has(+ .picker-clear),
input.timepicker:has(+ .picker-clear),
input.datetimepicker:has(+ .picker-clear) {
	border-top-right-radius: 0.375rem !important;
	border-bottom-right-radius: 0.375rem !important;
}

/**
 * flatpickerのクリア操作
 */
.picker-clear {
	position: absolute;
	right: 10px;
	top: 0;
	bottom: 0;
	height: 27px;
	margin: auto;
	cursor: pointer;
}

/**
 * ローディング
 */
#loading {
	display: table;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #808080;
	opacity: 0.8;
	z-index: 999999999;
}

/**
 * ローディングメッセージ
 */
#loading .message {
	color: #ffffff;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding-top: 140px;
	background: url("../images/load.gif") center center no-repeat;
}

/**
 * Sortable item
 */
.col-order-handle {
	cursor: pointer;
}

/**
 * 数値入力オブジェクト
 */
.input-number,
.input-number-control {
	text-align: right;
	padding-right: 5px;
}

/**
 * 日曜日
 */
.text-weekday-sun {
	color: red !important;
}
.bg-weekday-sun {
	background-color: #fbf6f6 !important;
}

/**
 * 土曜日
 */
.text-weekday-sat {
	color: blue !important;
}
.bg-weekday-sat {
	background-color: #f5fcfd !important;
}

/**
 * 土日以外の休日
 */
.text-weekday-hol {
	color: red !important;
}
.bg-weekday-hol {
	background-color: #fbf6f6 !important;
}

/**
 * 作業予定画面
 */
.resource{
	width: calc(100% / 14);
}

/**
 * select2のオーバーライド
 */
.select2-results__option--group {
	background-color: #cff4fc;
}
.select2-results__options--nested {
	background-color: #ffffff;
}
strong.select2-results__group {
	display: block;
}

/**
 * jQueryのautocomplete用オーバーライド
 */
.ui-autocomplete {
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}
.ui-widget-content .ui-state-active {
	border-color: #007fff;
}

/**
 * data tables オーバーライド
 */
div.dt-length {
	margin-top: 5px;
}
div.dt-info {
	margin-top: 5px;
}
@media screen and (max-width: 767px) {
	div.dt-container div.dt-length, div.dt-container div.dt-search, div.dt-container div.dt-info, div.dt-container div.dt-paging {
		text-align: left;
	}
}


/**
 * 作業予定
 */

/* 作業予定　テーブル */
.bg-user{
	background-color: #d9edf7;
}
.bg-outsource{
	background-color: #e6e6fa;
}
.bg-equipment{
	background-color: #dff0d8;
}
.bg-process{
	background-color: #ffe1a8;
}
.plan,
.rsc-sort {
	cursor: pointer;
}
.edit-btn {
	border-style: dashed;
}
.choose{
	background-color: #dcdcdc !important;
}
.card-icon-position {
	position: absolute;
	top: 8px;
	left: 7px;
}
/* 作業予定 絞り込み */
#rsc-list-container .select2-selection__rendered {
	max-width:130px;
}
/* 作業予定　ツールチップ */
.custom-tooltip {
	--bs-tooltip-bg: #fff;
}
.custom-tooltip-holiday {
	--bs-tooltip-bg: #f8f9fa;
	--bs-tooltip-color: black;
	font-weight:bold;
	--bs-tooltip-opacity:initial;
}
.custom-text-weekday-sat {
	--bs-tooltip-color: blue;
}
.custom-text-weekday-hol {
	--bs-tooltip-color: red;
}

