/* mio用 */
.bg-body-secondary-mio {
    --bs-bg-opacity: 1;
    background-color: #013220 !important;
}


/* フォントサイズ */
@media (max-width: 992px) {
	html {
		font-size: 0.8rem;
	}
}

/* ログインメッセージ */
.form_message {
	padding-top: 5px;
	text-align: center;
}
.form_message .error_txt {
    color: #a72126;
}

/* aタグ */
a {
	color: #198754;
}

/* ロゴ色の反転 */
.invert {
	filter: invert(100%);
}

/* パンくずリスト */
.nav-item .breadcrumb {
	margin-bottom: 0;
}
.breadcrumb-item::before {
	padding-top: 8px;
	padding-bottom: 8px;
}
.nav-item .breadcrumb .nav-link {
	padding-right: 0rem;
}
.breadcrumb-item:not(.active) .nav-link {
	color: #198754;
}

/* フラッシュメッセージ */
.message.success {
	background: #d1e7dd !important;
    color: #0a3622 !important;
    border-color: #a3cfbb !important;
}
.message.error {
	background: #f8d7da !important;
    color: #58151c !important;
    border-color: #f1aeb5 !important;
}

/* 必須入力項目 */
label:has(+ div > input:required)::after,
.required::after {
	content: "*";
	color: #a72126;
	padding-left: 4px;
}

/* ボタン */
.btn-xsm {
	--bs-btn-padding-y: 0.1rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.7rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}
.btn-xsm-dialog {
	--bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 0.3rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.shortcut_button {
	width: 100%;
}

/* コントロールのフォーカス色 */
.form-control:focus {
	border-color: #a3cfbb;
	box-shadow: none;
}

/* フォームのチェックボックスの位置調整 */
.post_form .form-check {
	padding-top: 6px;
}

/* フォームの非活性 */
.post_form .disabled {
	background-color: #e9ecef;
}

/* ブロック要素の中央寄せ */
.text-center div {
	display: ruby;
}

/* チェックボックス、ラジオボタンの色 */
.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* 並び替えボタンの色 */
thead a {
	color: #212529;
	text-decoration: none;
}
thead a:hover {
	color: #198754;
}

/* 行クリックで遷移 */
.select-tr {
	cursor: hand; 
	cursor: pointer;
}

/* ページネーション */
.page-info {
	padding: 4px 8px;
	margin-bottom: 0;
}
.pagination a {
	color: #212529;
}
.pagination .page-item {
	margin: 0;
}
.pagination .active a {
	background-color: #198754;
}

.handle {
	cursor: grab;
}

/* カード */
.card-header {
	padding: 0.8rem 1rem;
	display: flex;
}
.card-title {
    margin: 5px 0;
}
.card-title i {
    padding-right: 10px;
}
.card-sub-title {
    padding: 0 10px;
}
.card-error {
    padding: 0 0 0 20px;
	color: #a72126;
}
.card-warning {
	color: #f58220;
}
.button_container {
	flex-grow: 1;
	display: flex;
}
.search_container {
	display: flex;
}
.search_box {
    transition: border ease 1s;
    padding: 0 35px 0 10px;
    border: solid thin #eeeeee;
    background-color: #eeeeee;
    height: 2rem;
    max-width: 230px;
    color: #444444;
    z-index: 1;
    flex: 1;
	outline: none;
}
.search_icon {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.search_icon button {
	border: none;
	padding: 0;
}

.search_cd_parent {
	position: relative;
}
.search_cd_icon {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    right: 22px;
    top: 4px;
}
.search_cd_icon button {
	border: none;
	padding: 0;
	background-color: transparent;
}
.search_cd_error {
	color: #a72126;
}

/* レスポンシブル列表示制御 */
@media (max-width: 1200px) {
	.tb-column {
		display: none;
	}
}
@media (max-width: 992px) {
	.sp-column {
		display: none;
	}
}

/* 詳細画面の項目のボーダー */
.view_element {
    border-bottom: solid thin #dddddd;
	margin: 0 10px;
}

.header_button {
	margin-top: 3px;
	margin-bottom: 3px;
	margin-left: 3px;
}

.footer_button {
    margin-left: 3px;
}

/* 仮想フィールド */
.type_label:read-only {
	border: none;
	outline:none;
	padding: 0.25rem 0;
	width: 100%;
}
a .type_label:read-only {
	cursor: pointer;
	color: #198754;
	text-decoration: underline;
}
a:hover .type_label:read-only {
	color: rgb(10, 88, 202);
}
.type_label_company_client:read-only, .type_label_company_supplier:read-only, .type_label_company_lend:read-only, .type_label_company_lend_old:read-only {
	font-size: small;
    height: 27.5px;
    line-height: 27.5px;
}

/* メニューの階層表示 */
.sidebar-mini.sidebar-collapse .app-sidebar:hover .nav-treeview .nav-link {
	padding-left: 2rem;
}
.sidebar-mini .app-sidebar .nav-treeview .nav-link {
	padding-left: 2rem;
}
.sidebar-mini.sidebar-collapse .app-sidebar .nav-treeview .nav-link {
	padding-left: 1rem;
}

/* SweetAlert2 */
h2:where(.swal2-title) {
	font-size: 1.2em !important;
}
button:where(.swal2-styled) {
	padding: .325em 1.1em !important;
}
.swal2-popup {
	border-top: 3px solid #198754;
	padding-bottom: .5em;
}
div:where(.swal2-actions) {
	margin: .5em auto 0 !important;
}
.list-group {
    max-height: 400px;
    padding-right: 10px;
    overflow-y: scroll;
}
.list-group-item {
	text-align: left;
	cursor: pointer;
	padding: 0.25rem 1rem;
}
.list-group label:has(input[type="radio"]:checked) {
	color: white;
    background-color: #198754;
}
.list-group label:has(input[type="radio"]:checked) a {
	color: white;
}
.list-group-item input[type=radio] {
	display: none;
}
.list-group label:has(input[type="checkbox"]:checked) {
	color: white;
    background-color: #198754;
}
.list-group label:has(input[type="checkbox"]:checked) a {
	color: white;
}
.list-group-item input[type=checkbox] {
	display: none;
}

/* フォームのチェックボックスの位置調整 */
.container_slip_details .form-check {
	padding-top: 6px;
}

.total_information {
	padding-left: 20px;
}
@media (max-width: 992px) {
	.total_information {
		padding-left: 10px;
	}
}
