/**
 * 画面間共通のCSS定義.
 * HTMLコンポーネントのデフォルトのスタイルを定義
 * bootstrapのクラスと紛らわしい名前には接頭辞「common-」をつける
 */
/**
 * 色
 * #004CAD 青(濃)
 * #006AD7 青(中)
 * #0088FF 青(薄)
 * #00A5E4 
 */

/* --------------------------------
 * HTMLタグデフォルト
 -------------------------------- */
html, body {
	font-size: 14px;
	line-height: 1.3;
	height: 100%;
}

body {
	background-color: #F2F2F2;
	/*background-color: #cccccc;*/
}

button {
	white-space: nowrap;
}

button.middle {
	width: 100px;
	height: 30px;
	margin-top: 1px;
	margin-bottom: 1px;
	vertical-align: middle;
	text-align: center;
}

button.large {
	width: 160px;
	height: 30px;
	margin-top: 1px;
	margin-bottom: 1px;
	vertical-align: middle;
	text-align: center;
}

button.btn-warning {
	font-weight: 800;
}

/* --------------------------------
 * アイコンは大きめに
 -------------------------------- */
i.fas {
	font-size: 14px;
}

i.fas-big {
	font-size: 20px;
}

/* --------------------------------
 * FlexBox
 -------------------------------- */
/* [flexbox]横並び。改行可 */
.flex-wrap {
	display: flex;
	flex-wrap: wrap;
}

/* [flexbox]横並び。改行不可 */
.flex-nowrap {
	display: flex;
	flex-wrap: nowrap;
}

/* [flexbox]横並び。両サイドに配置 */
.flex-between {
	display: flex;
	justify-content: space-between;
}

/* [flexbox]横並び。先頭に配置 */
.flex-start {
	display: flex;
	justify-content: flex-start;
}

/* [flexbox]横並び。末尾に配置 */
.flex-end {
	display: flex;
	justify-content: flex-end;
}

.flex-vertical {
	display: flex;
	flex-direction: column;
}

/* --------------------------------
 * スクロールバー
 -------------------------------- */
::-webkit-scrollbar {
	width: 16px;
	height: 16px;
}

::-webkit-scrollbar-track:vertical {
	-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
	border-radius: 2px;
	background-color: #CCCCCC;
}

::-webkit-scrollbar-thumb:vertical {
	border-radius: 2px;
	-webkit-box-shadow: inset 0 0 8px rgba(50, 50, 50, 0.9);
	background-color: #FFFFFF;
}

::-webkit-scrollbar-track:horizontal {
	-webkit-box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	margin: 0 15px 0 0;
}

::-webkit-scrollbar-thumb:horizontal {
	border-radius: 4px;
	-webkit-box-shadow: inset 0 0 16px rgba(50, 50, 50, 0.9);
}

/* --------------------------------
 * bootstarpまわり
 -------------------------------- */

/** bootstarp > card　を上書き */
.common-card {
	/*margin: 4px;*/	
}

/** bootstarp > card-header　を上書き */
.card-header {
	padding: 0.4rem 1.0rem 0rem;
}

.common-card-header {
	background-color: #253449;
	color: #FFFFFF;
}

.common-card-body {
	padding: 6px;
	background-color: #FFFFFF;
}

/* --------------------------------
 * レイアウト部品
 -------------------------------- */

/** 検索条件欄  */
#contents-condition {
/*	max-width: 1000px; */
}
/** 検索結果欄 */
#contents-result {
	
}
/** card-bodyトグル */
.card-header.toggle-card-body {
	cursor: pointer;
}
.toggle-btn {
	margin-top: 6px;
	margin-right: 4px;
}
/** 画面名 */
.screen-title {
	font-size: 21px;
	color: #004CAD;
	font-weight:600; 
}
i.fas.fa-toggle-off {
	font-size: 21px;
	color: #c0c0c0;
}
i.fas.fa-toggle-on {
	font-size: 21px;
	color: #004080;
}

/** 検索条件ラベル */
.common-label {
	background-color: #253449;
	color: #FFFFFF;
	line-height: 1.5;
	padding: 0.375rem 0.75rem;
	margin-right: 2px;
	/*	border-radius: 0.25rem;*/
	width: 120px;
}

/** ボタンエリア */
.common-buttons {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0.5rem 1rem;
	/*padding: 0.5rem 3rem 0.5rem 1rem;*/
	max-width: 99%;
}

.common-headers {
	justify-content: space-between;
	padding: 0rem 0rem;
	width: 100%;
}

.common-delButtons {
	background-color: #FF9999;
}
.common-delButtons:hover {
	background-color: #FF9999;
}

.common-buttons button {
/* 	width: 100px; */
}

/* --------------------------------
 * input
 -------------------------------- */
 /* --------------------------------
 * text
 -------------------------------- */
.text-currency {
	text-align: right;	
}
.text-percent {
	text-align: right;	
}
.text-number {
	text-align: right;	
}
.text-code {
	text-align: right;	
}
.text-name {
	text-align: left;
}
.text-calendar {
	width: 110px;
}
.text-time {
	width: 60px;	
	text-align: center;
}
.text-tardy {
	width: 82px;	
	text-align: center;
}

.common-table-title {
	font-size: 16px;
	font-weight: bold;
	margin: 3px;
	padding: 3px;
	text-align: center;
	white-space: nowrap;
}


select[readonly=readonly] {
	pointer-events: none;
}

div.checkbox-groups {
	display: flex;
	justify-content: flex-start;
	border: 1px solid #CCCCCC;
	border-radius: 0.3rem;
	padding: 0 10px;
}

div.checkbox-flex {
	display: flex;
	justify-content: flex-start;

}

/** チェックボックス */
label.checkbox-group {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	margin-right: 8px;
	padding-top: 0.467rem;
	padding-bottom: 0.467rem;
	line-height: 1.5rem;
}

label.checkbox-group-table {
	margin-bottom: 0;
}

input[type="checkbox"] {
	display: none;
}

.checkbox-label {
	padding-left: 18px;
	position: relative;
}

.checkbox-label::before {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	left: 0;
	width: 15px;
	height: 15px;
	border: 1px solid #999999;
	border-radius: 4px;
	background-color: #FFFFFF;
}

input[type="checkbox"]:checked ~ .checkbox-label {
	/*  color: #AA0000;*/
	
}

input[type="checkbox"]:checked ~ .checkbox-label::after {
	content: "";
	display: block;
	position: absolute;
	top: 0px;
	left: 5px;
	width: 7px;
	height: 14px;
	transform: rotate(40deg);
	border-bottom: 3px solid #4466FF;
	border-right: 3px solid #4466FF;
}
input[type="checkbox"]:indeterminate ~ .checkbox-label::after {
	content: "";
	display: block;
	position: absolute;
	top: -5px;
	left: 3px;
	width: 10px;
	height: 14px;
	border-bottom: 3px solid #4466FF;
}

/* チェックボックス(readonly) */
label.checkbox-group[readonly=readonly] {
	pointer-events: none;
}

label.checkbox-group[readonly=readonly]>.checkbox-label::before {
	background-color: #cccccc;
}

label.checkbox-group[disabled=disabled]>.checkbox-label::before {
	background-color: #cccccc;
}

label.checkbox-group[readonly=readonly]>.checkbox-label::after {
	border-bottom: 3px solid #7799FF;
	border-right: 3px solid #7799FF;
}

label.checkbox-group-table[readonly=readonly] {
	pointer-events: none;
}

label.checkbox-group-table[readonly=readonly]>.checkbox-label::before {
	background-color: #cccccc;
}

label.checkbox-group-table[disabled=disabled]>.checkbox-label::before {
	background-color: #cccccc;
}

label.checkbox-group-table[readonly=readonly]>.checkbox-label::after {
	border-bottom: 3px solid #7799FF;
	border-right: 3px solid #7799FF;
}

/** ラジオボタン */
div.radio-groups {
	display: flex;
	justify-content: flex-start;
	border: 1px solid #CCCCCC;
	border-radius: 0.3rem;
	padding: 0 10px;
}

label.radio-group {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	margin-right: 8px;
	padding-top: 0.467rem;
	padding-bottom: 0.467rem;
	line-height: calc(1.5rem - 2px);
}

label.radio-group-table {
	margin-bottom: 0;
}

input[type="radio"] {
	display: none;
}

.radio-label {
	padding-left: 18px;
	position: relative;
}

.radio-label::before {
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 0;
	width: 15px;
	height: 15px;
	border: 1px solid #999999;
	border-radius: 50%;
	background-color: #FFFFFF;
}

input[type="radio"]:checked+.radio-label {
	/*  color: #AA0000;*/
	
}

input[type="radio"]:checked+.radio-label::after {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: 3px;
	width: 9px;
	height: 9px;
	background: #4466FF;
	border-radius: 50%;
}
/* ラジオボタン(readonly) */
label.radio-group[readonly=readonly] {
	pointer-events: none;
}

label.radio-group[readonly=readonly]>.radio-label::before {
	background-color: #cccccc;
}

label.radio-group[disabled=disabled]>.radio-label::before {
	background-color: #cccccc;
}

label.radio-group[readonly=readonly]>.radio-label::after {
	background: #7799FF;
}

input[type=file].form-control {
	padding: 0.22rem 0.75rem;
}

/* ラベル風テキスト */
.form-control.text-label {
	background-color: transparent;
	border:none;
	pointer-events : none;
}
/* ラベル風テキストエリア */
.form-control.textarea-label {
	background-color: transparent;
	border:none;
	pointer-events : none;
	white-space: nowrap;
	overflow :hidden;
	resize: none;
}
/* カレンダー範囲 */
span.calendar-between {
	align-self: center;
	padding: 0 0.5rem;
}

.item-box {
	border: 1px solid #CCCCCC;
	display: flex;
	flex-wrap: nowrap;
	padding: 0.2em 0.3em;
}

/* プレースホルダ */
input[type=text]::placeholder { color: #AAAAAA; }
textarea::placeholder { color: #AAAAAA; }

/* --------------------------------
 * icon系
 -------------------------------- */
/** disabled */
i[disabled=disabled] {
	pointer-events: none;
}
/** カレンダーテキスト後ろに置くicon */
i.text-calendar-icon {
	font-size: 16px;
	margin-left: -20px;
	margin-right: 5px;
	color: #AACCFF;
	z-index: 0;
	align-self: center;
	pointer-events: none;
}
/** パスワードテキスト後ろに置くicon */
i.text-password-icon {
	font-size: 16px;
	margin-left: -24px;
	margin-right: 6px;
	color: #AACCFF;
	z-index: 0;
	align-self: center;
	pointer-events: auto;
	cursor: pointer;
}

/** 行削除ボタン */
i.del-row-icon {
	font-size: 28px;
	color: #FF9999;
	vertical-align: middle;
	cursor: pointer;
}
/** 行削除ボタン:hover */
i.del-row-icon:hover {
	color: #FF0000;
}
/** 行追加ボタン */
i.add-row-icon {
	font-size: 28px;
	color: #26344A;
	cursor: pointer;
}
/** 行追加ボタン:hover */
i.add-row-icon:hover {
	color: #666666;
}
/** 行クリアボタン */
i.clear-row-icon {
	font-size: 28px;
	color: #666666;
	cursor: pointer;
}
/** 行クリアボタン:hover */
i.clear-row-icon:hover {
	color: #888888;
}

/** 社員情報アイコン */
i.user-icon {
	font-size: 30px;
}

/* --------------------------------
 * information お知らせ欄
 -------------------------------- */
[id^=information] {
	/* max-height: 100px; */
	/* overflow-y: auto; */
	width: 100%;
}

[id^=information] .error-message {
	color: #FF0000;
	background-color: #FFDDDD;
	width: calc(100% - 20px);
	/*max-width: 1000px;*/
	margin: 10px 10px 0 10px;
	padding: 8px 8px;
	border: 1px #FFAAAA solid;
	max-height: 95px;
	overflow-y: auto;
}

[id^=information] .client-message {
	color: #FF0000;
	background-color: #FFDFFF;
	width: calc(100% - 20px);
	/*max-width: 1000px;*/
	margin: 10px 10px 0 10px;
	padding: 8px 8px;
	border: 1px #FFAAAA solid;
	max-height: 95px;
	overflow-y: auto;
}

[id^=information] .notify-message {
	color: #0000FF;
	background-color: #DDEEFF;
	width: calc(100% - 20px);
	/*max-width: 1000px;*/
	margin: 10px 10px 0 10px;
	padding: 8px 8px;
	border: 1px #AAAAFF solid;
	max-height: 95px;
	overflow-y: auto;
}

[id^=information] .warning-message {
	color: #FF8C00;
	background-color: #FFFACD;
	width: calc(100% - 20px);
	/*max-width: 1000px;*/
	margin: 10px 10px 0 10px;
	padding: 8px 8px;
	border: 1px #FF8C00 solid;
	max-height: 95px;
	overflow-y: auto;
}

[id^=information] .warning-title {
/* 	width:100%; */
	text-align: left;
    float: left;
}

[id^=information] .warning-buttons {
	display: flex;
	justify-content: flex-end;
}

[id^=information] .warning-buttons button {
	margin-left: 10px;
}

/* --------------------------------
 * エラー項目色付け
 -------------------------------- */
.form-control[readonly].bg-error {
	background-color: #FFDDDD;
}

.form-control.bg-error {
	background-color: #FFDDDD;
}

/* --------------------------------
 * 必須項目
 -------------------------------- */
 /* テーブル */
th.common-required::after {
	font-family: 'Noto Sans JP', sans-serif;
	content: "\f069";
	font-weight: bold;
	font-size: 10px;
	margin-left: 3px;
	color:#FF9999;
}
/* div */
.common-label.common-required::after {
	font-family: 'Noto Sans JP', sans-serif;
	content: "\f069";
	font-weight: bold;
	font-size: 10px;
	margin-left: 3px;
	color:#FF9999;
}

/* --------------------------------
 * stlye指定したくないときに
　* [margin, padding, height, width]
 -------------------------------- */
.mar-10 {
	margin: 10px;
}

.mar-b-1 {
	margin-bottom: 1px;
}

.mar-b-5 {
	margin-bottom: 5px;
}

.mar-b-10 {
	margin-bottom: 10px;
}

.mar-b-20 {
	margin-bottom: 20px;
}

.mar-b-50 {
	margin-bottom: 50px;
}

.mar-b-100 {
	margin-bottom: 100px;
}

.mar-r-10 {
	margin-right: 10px;
}

.mar-r-20 {
	margin-right: 20px;
}

.mar-r-30 {
	margin-right: 30px;
}

.mar-l-10 {
	margin-left: 10px;
}

.pad-0 {
	padding: 0
}

.h-100p {
	height: 100%;
}

.w-100p {
	width: 100%;
}

.w-200 {
	width: 200px;
}

.w-1000 {
	width: 1000px;
}

.w-1100 {
	width: 1090px;
}

/* ----------------------------------------------------------------
 * 画像ポップアップ
 ---------------------------------------------------------------- */
#large-image {
}

#large-image img {
	display: none;
	position: absolute;
	z-index: 100;
}

#large-image-background {
	background: rgba(0, 0, 0, 0.7);
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 50;
}

.list_fix{
	min-width:50px;
	position: sticky;
	left: 0px;
}
th.list_fix{
	z-index: 30;
}
td.list_fix{
	z-index: 20;
	background-color: #fdfeff;
}

/* ----------------------------------------------------------------
 * タブ
 ---------------------------------------------------------------- */
.nav-item {
	border-right: 1px solid #FFFFFF;
	border-radius: 2px; 
}
/* アクティブ */
.nav-link.active {

}
/* 非アクティブ */
.nav-link {
	background-color: #F0F0F0;
	color: #98999C; 
}

/* ----------------------------------------------------------------
 * PageTopアイコン
 ---------------------------------------------------------------- */
#page-top {
	position: fixed;
	bottom: 40px;
	right: 20px;
	font-size: 77%;
	z-index: 100;
}
#page-top a {
	background: #999;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 10px 0px;
	text-align: center;
	display: block;
	border-radius: 8px;
	opacity: 0.5;
}
#page-top a:hover {
	background: #666;
	text-decoration: none;
	opacity: 0.5;
}
