.navbar-login {
    font-size: 0.8rem;
}

.logout {
	text-decoration: underline;
	color: blue;
}

.page-label {
	font-size: 0.9rem;
}

.sort-label {
	font-size: 0.9rem;
}

.sub-label {
	font-size: 90%;
	margin-left: 4px;
}

a[data-toggle="collapse"].collapsed::after {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f078"; /* chevron-down */
	float: left;
	margin-right: 8px;
}

a[data-toggle="collapse"]::after {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f077"; /* chevron-up */
	float: left;
	margin-right: 8px;
}

.sortIndicator.asc::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f077"; /* chevron-up */
	float: left;
	margin-right: 4px;
}

.sortIndicator.desc::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f078"; /* chevron-down */
	float: left;
	margin-right: 4px;
}

.card-body .content {
	font-size: 0.8rem;
}

.thumbnail {
	object-fit: contain;
	height: 180px;
	background-color: #FFFFFF;
	border: 1px solid #FFFFFF;
	font-family: 'object-fit: contain;';
	border-radius: inherit;
}

.message {
	position: relative;
}

.message span.remark {
	display: none;
	font-size: 12px;
	text-align: left;
	white-space: nowrap;
	background: none repeat scroll 0 0 #070707;
	color: #ffffff;
	top: 35px;
	right: 0;
	border-radius: 10px;
	line-height: 12px;
	margin: 5px;
	padding: 5px 10px;
	position: absolute;
}

.message a:hover span.remark {
	display: block;
}

#spinner-modal {
	width: 100vw;
	height: 100vh;
	transition: all 1s;
	background-color: rgba(0,0,0,.2);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loaded {
	opacity: 0;
	visibility: hidden;
}

/* 以下、発注システム：発注方法の改修対応にて追記 */
/* 今後はなるべく table レイアウトを減らしたい */
main {
	width: calc(100vw - 50px);
	padding: 10px 15px 0 15px;
	display: flex;
	align-items: center;
}

.fullwidth {
	flex: 1
}

table.sub-container {
	width: 100%;
	margin-bottom: 8px;
}

table.sub-container tr td {
	padding: 4px 16px;
}

div.grid-2c {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

div.form-grid {
	display: grid;
	grid-template-columns: 15rem 1fr;
}

div.bottom-buttons {
    display: grid;
    grid-template-columns: 10rem 1fr 10rem;
}

div.form-row {
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: left;
    gap: 8px 16px;
    margin: 8px 0;
}

div.form-label {
	font-weight: bold;
	width: 8rem;
}

div.remark {
	font-size: 0.8rem;
}

div.form-row > label {
	margin-right: 8px;
}

div.form-checkbox-list > label {
	margin-right: 8px;
}

div.form-checkbox-list > label > button {
	font-size: 1rem;
}

div.form-checkbox-list > label > input {
	vertical-align: middle;
}

select.multi {
	width: 95%;
	height: calc(1.5em * 15.5);
	margin: 8px;
	padding: 0;
}

select.multi > option {
	border: 0;
	border-radius: 0;
}

select.multi > option:nth-child(even) {
    background-color: #59b8c430;
}

select.multi > option:checked {
    background-color: #59b8c4;
    color: #FFFFFF;
}

button > i.fas {
	margin-right: 4px
}

.datepicker img {
    width: 25px;
    position: absolute;
    margin: 2px 0px 0px -33px;
    cursor: pointer;
}

.text-right {
	text-align: right;
}

h2.search-filter {
	font-weight: 700;
	color: #173156;
	font-size: 24px;
	line-height: 20px;
	white-space: nowrap;
	font-family: "Noto Sans", Helvetica;
	letter-spacing: 0;
	margin: 1rem 0;
}

h2.search-filter > img {
    vertical-align: middle;
}

div.accordion-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

div.accordion-header > .accordion-label {
    flex: 1;
    margin-top: 4px;
}

div.accordion-header > .accordion-button {
    display: flex;
    flex-direction: column;
    width: 4rem;
    align-items: center;
}

div.accordion-header > .accordion-button > img {
    height: 20px;
    width: 20px;
}

div.accordion-header > .accordion-button > input {
    background-color: #173156;
    border: 0;
    color: #ffffff;
}