:root {
	--my-corporate-color: #0d6efd;
	--bs-nav-link-font-size : 11pt;

--adp-z-index: 2000;
}
body {
	background-color: #f8f9fa;
}

input::placeholder {
	color: #ccc !important;
}

@media (min-width : 992px) {
	.offcanvas {
		visibility      : visible;
		position        : relative;
		background      : none;
		border          : none;
		justify-content : end;
	}
}
@media (max-width : 992px) {
	.offcanvas {
		width : 250px !important;
	}
	.offcanvas-start-lg {
		top          : 0;
		left         : 0;
		border-right : 1px solid rgba(0, 0, 0, .2);
		transform    : translateX(-100%);
	}
}

.dropdown-menu {
	overflow-y: auto;
	overflow-x: hidden;
}

.dropdown-menu-limit {
  white-space: nowrap;
}
@media (max-width: 768px) {
	.dropdown-menu-limit {
		white-space: normal;
		word-break: break-all;
		max-width: 100vw;
	}
}

.nav-link .badge {
	margin-left: 3px;
	padding: 0.25em 0.45em;
}

h1.page-title {
	font-weight: normal;
	padding: 0.25em 0.5em;
	border-left: solid 5px var(--my-corporate-color);
}

.option-input {
	width: 12rem !important;
}

.ymd-input {
	width: 8rem !important;
	height: 2.5rem;
	line-height: 2.5rem;
	flex: none !important;
}
.ym-input {
	width: 7rem !important;
}
.time-input {
	width: 4rem !important;
	height: 2.5rem;
	line-height: 2.5rem;
	flex: none !important;
}
.period-input {
	width: 5rem !important;
}

.inputgroup-first {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.inputgroup-middle {
	border-radius: 0;
}
.inputgroup-last {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.kinkyuDetailTimeRow > .col-sm-auto > .form-select {
	padding: 0.48rem 2.25rem 0.4375rem 0.75rem !important;
}
input:invalid {
	border: 1px solid #ffb9b9;
	box-shadow: 0px 0px 2px 1px #ffb9b9;
}

.fieldset-group {
	border: 1px solid #e0e0e0;
	padding: 10px;
	margin-top: 8px;
}
.group-legend {
	border-style: none;
	border-width: 0;
	line-height: 20px;
	margin-bottom: 0;
	width: auto;
	padding: 0 10px;
}

.material-icons {
	display: inline-flex;
	vertical-align: middle;
}
.material-icons.md-green {
	color: #55bb26;
}
.material-icons.md-primary {
	color: #0d6efd;
}

table th {
	text-align: center;
	vertical-align: middle;
}

.inlist-btn {
	width: 3rem;
}
#myuser-detail li, #myuser-detail a {
	color: #858796!important;
}
.dropdown-divider {
		height: 0;
		margin: 0.5rem 0;
		overflow: hidden;
		border-top: 1px solid #eaecf4;
}


.alert-bell {
	color: #737373;
}

.-weekend- {
	color: #d29292;
}
.help {
	color: #668ad8;
}


.td-text-truncate {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width: 0;
}

.td-text-wrap {
	white-space: normal;
	word-break: break-all;
	max-width: 400px;
}

.custom-tooltip {
	--bs-tooltip-bg: var(--bs-primary);
}

div.disabled{
    position: relative;
}
div.disabled:after{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    cursor: not-allowed;
    background: rgba(255,255,255,.5);
}
div.disabled::before{
    content: "";
    position: absolute;
    top:40%;
    left: 40%;
    color:red;
    z-index: 10;
    cursor: not-allowed;
}
.centering-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}
.fa-rotate-right {
	padding: 0;
	line-height: 1;
	background: none;
	border: none;
	color: #3366cc;
	cursor: pointer;
}

#loading {
	display: table;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #fff;
	opacity: 0.7;
	z-index: 9999;
}

#loading .loadingImg {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding-top: 140px;
	background: url("../img/loading.gif") center center no-repeat;
}
.ope-result {
	margin-left: 10px;
}
.fa-question-circle, .required {
	margin-left: 5px;
}

.required, .error-message {
	color: red;
}

.btn {
	min-height: 44px;
}

.btn-outline-primary:disabled, .btn-outline-secondary:disabled {
	background-color: #e9ecef;
	color: #6c757d;
	border-color: #ced4da;
}

/* エラー画面イメージ最大高さ */
.crop-img {
	max-height: 600px;
	object-fit: cover;
}

/* 時間外勤務指示画面設定 */
.scroll-bar-top {
	width: 2000px;
	height: 1px;
}
.overtime-table-header {
	overflow-wrap: break-word;
	min-width: 121px;
}
.overtime-width {
	width: 170px;
}
.worktime-width {
	width: 232px;
}
.resttime-width {
	width: 539px;
}
.reason-width {
	width: 213px;
}
.resttime-view-width {
	width: 280px;
}
/* -------------------------- */

/* テーブルの縦スクロールが出るのを防ぐ */
.table-responsive {
	overflow-x: auto !important;
	overflow-y: hidden !important;
}

.scroll-hint-icon {
	top: calc(50% - 35px);
}
/* -------------------------- */

/* テキストエリアの高さを改行に合わせて自動調整 */
.textarea-adjust {
	field-sizing: content;
}

/* ボタンと横並びのテキストの設定 */
.btn-group {
	min-height: 44px;
}

/* アイコン付きバッジのサイズを他のバッジと合わせる */
.badge-icon {
	display: inline-flex;
	align-items: center;
	padding-top: 0px;
	padding-bottom: 0px;
}

.badge-text {
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
}
/* -------------------------- */

/* 日付バッジのサイズを調整 */
.select-date {
	min-width: 7.5rem;
}

.targetDatesDisplay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
/* -------------------------- */

/* テキストボックスを表示しない日付項目 */
.invisible-input {
	width: 0 !important;
	min-width: 0 !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	border: none !important;
	visibility: hidden !important;
}

/* -------------------------- */

/* 検索機能付きコンボボックス(Select2)の高さを親要素の高さに統一 */
.select2-container--default .select2-selection--single {
	min-height: 38px !important;
	line-height: normal !important;
	padding: 0 8px !important;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: normal !important;
	padding-left: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	min-height: 38px !important;
}
/* -------------------------- */

/* メッセージ時のアイコンを左に表示 */
.message-list {
	display: inline-block;
	vertical-align: top;
}

/* 文字数カウンターのレイアウト設定 */
.comment-info-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
}
.comment-over {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-all;
}
.comment-counter {
	margin-left: auto;
	white-space: nowrap;
	flex-shrink: 0;
}

/* 労務特記事項のレイアウト設定 */
.laborcomment-over {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-all;
}
.laborcomment-counter {
	margin-left: auto;
	white-space: nowrap;
	flex-shrink: 0;
}
.laborcomment-textarea-button {
	align-self: flex-end;
	writing-mode: horizontal-tb;
	white-space: nowrap;
}
.laborcomment-textarea {
	width: 80.5%;
	max-width: 80.5%;
}
.laborcomment-counterarea {
	position:absolute;
	right:4.5%;
	top:100%;
}

/* 前ユーザ、次ユーザボタンを横一列で表示 */
.user-transition {
	display: inline-block
}
/* -------------------------- */

/* アコーディオンのヘッダー部分を中央揃え */
.accordion-item .accordion-header {
	display: flex;
	align-items: center;
}

.accordion-button {
	margin: 0;
}

/* モーダルを画面下部に固定 */
.modal-footer {
	position: sticky;
	bottom: 0px;
	background: #fff;
}

/* DatePickerのレイアウト設定 */
.datepicker * {
	font-family: system-ui;
	font-size: 16px;
}
.datepicker {
	padding: 7px;
}
.datepicker th {
	font-weight: normal;
}

.datepicker .prev, .datepicker .next, .datepicker .datepicker-switch {
	padding: 4px 7px;
}

.datepicker .datepicker-days td {
	padding: 4px 7px;
}

.day.holiday {
	color: red;
}

/* -------------------------- */

.font-size-11, .font-size-16, .font-size-24, .font-size-48, .page-link {
	font-family: system-ui;
}

.font-size-11 {
	font-size: 11px;
}

.font-size-16, .fa-16, .page-link {
	font-size: 16px;
}

.font-size-24, .material-icons, .fa-24 {
	font-size: 24px;
}

.font-size-48, .fa-48 {
	font-size: 48px;
}

.color-whitesmoke, .color-whitesmoke.accordion-button:not(.collapsed) {
	background-color:whitesmoke
}

.table-fixed {
	table-layout: fixed;
}

.fixed-table-md {
	width: 62.5%;
}

.syukkinbo-table .badge {
	white-space: normal;
}

/* 半角3文字分の固定幅(全角2文字分) */
.column-3ch {
	min-width: 3ch;
	max-width: 3ch;
	width: 3ch;
}
	
/* 半角5文字分の固定幅 */
.column-5ch {
	min-width: 5ch;
	max-width: 5ch;
	width: 5ch;
}

/* 半角7文字分の固定幅(全角4文字分) */
.column-7ch {
	min-width: 7ch;
	max-width: 7ch;
	width: 7ch;
}

/* 半角8文字分の固定幅 */
.column-8ch {
	min-width: 8ch;
	max-width: 8ch;
	width: 8ch;
}

/* 半角10文字分の固定幅(全角5文字分) */
.column-10ch {
	min-width: 10ch;
	max-width: 10ch;
	width: 10ch;
}

/* 半角11文字分の固定幅(全角6文字分) */
.column-11ch {
	min-width: 11ch;
	max-width: 11ch;
	width: 11ch;
}

/* 半角12文字分の固定幅 */
.column-12ch {
	min-width: 12ch;
	max-width: 12ch;
	width: 12ch;
}

/* 半角15文字分の固定幅(全角7文字分) */
.column-15ch {
	min-width: 15ch;
	max-width: 15ch;
	width: 15ch;
}

/* 半角17文字分の固定幅 */
.column-17ch {
	min-width: 17ch;
	max-width: 17ch;
	width: 17ch;
}


/* 半角19文字分の固定幅(全角10文字分) */
.column-19ch {
	min-width: 19ch;
	max-width: 19ch;
	width: 19ch;
}

/* 半角23文字分の固定幅(全角15文字分) */
.column-23ch {
	min-width: 23ch;
	max-width: 23ch;
	width: 23ch;
}

/* 半角15文字分の最低固定幅(全角7文字分) */
.column-min-15ch {
	min-width: 15ch;
}

/* 半角17文字分の最低固定幅 */
.column-min-17ch {
	min-width: 17ch;
}

/* 日本語に対して幅を調整しているため、これが適用されていると、英語の場合に項目名が省略されて見えなくなるため、コメントアウト */
/*.ellipsis .column-3ch, .ellipsis .column-5ch, .ellipsis .column-7ch, .ellipsis .column-8ch, .ellipsis .column-10ch, */
/*.ellipsis .column-11ch, .ellipsis .column-12ch, .ellipsis .column-15ch, .ellipsis .column-17ch, .ellipsis .column-19ch, .ellipsis .column-23ch {*/
/*	overflow: hidden;*/
/*	white-space: nowrap;*/
/*	text-overflow: ellipsis;*/
/*}*/

.biztrip-icon {
	width: 25px;
	height: 25px;
}

i.fas-help {
	margin-right: 5px;
}

.fieldset-group-help {
	border: 1px solid #e0e0e0;
	padding: 20px;
	margin-top: 8px;
}

.when-read-only[readonly] {
	background-color: #e9ecef;
	opacity: 1;
	pointer-events: none;
}

.group-legend-help {
	display: block;
	float: none;
	border-style: none;
	border-width: 0;
	line-height: 20px;
	margin-bottom: 0;
	width: auto;
	padding: 0 10px;
}

.word-break {
	word-break: keep-all;
}

.dummy-button {
	visibility:hidden;
}