﻿body {
	overflow-y: hidden;
}

main {
/*	height: 100vh; */
	overflow: auto;
}

footer {
	overflow: hidden;
}

.body-content {
	padding: 8px 16px;
	z-index: 1;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
	white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
	max-width: 280px;
}

.mei-titlebar {
	width: 100%;
	min-height: 40px;
	height: 40px;
	padding: 2px 12px;
	white-space: nowrap;
}
.mei-titlebar > div:not(.dropdownMenuBase),
.mei-titlebar > button {
	font-size: 115%;
	display: inline-block;
	position: relative;
}
.mei-titlebar > div:last-child,
.mei-titlebar > button:last-child {
	margin-right: 0px;
}

.subMenu:not(:last-child) {
	margin-right: 15px;
}

#pageTitle {
	font-size: 125%;
	text-align: center;
	border-radius: 4px;
}

#divUserProf {
	font-size: small;
	margin-top: auto;
	text-align: right;
}
#divUserProf >label {
	position: absolute;
	max-height: 3.0em;
	bottom: 0em;
	left: 0;
	right: 0;
	margin: auto;
	white-space: normal;
	overflow: hidden;
}

/*a[cart-count]:before,
button[cart-count]:before {
	content: attr(cart-count);
	position: absolute;
	font-size: 16px;
	font-weight: bold;
	background: rgba(222, 237, 247, 0.8);
	color: Red;
	top: -3px;
	left: 11px;
	height: 16px;
	line-height: 14px;
	padding: 1px;
	border-bottom-left-radius: 8px;
}

a.anime:before {
	animation-name: anime;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
}

@keyframes anime {
	from {
		font-size: 48px;
	}
}

a[alert-badge]:after,
button[alert-badge]:after {
	content: "!";
	position: absolute;
	top: 18px;
	left: -3px;
	font-size: 17px;
	font-weight: bold;
	background: red;
	color: white;
	width: 15px;
	height: 15px;
	text-align: center;
	line-height: 15px;
	border-radius: 50%;
	box-shadow: 0 0 1px #333;
}

a[data-badge]:after,
button[data-badge]:after {
	content: attr(data-badge);
	position: absolute;
	font-size: .7em;
	background: red;
	color: white;
	width: 18px;
	height: 18px;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	box-shadow: 0 0 1px #333;
}*/
/*
label[data-badge]:after {
	content: attr(data-badge);
	position: absolute;
	top: -12px;
	right: 6px;
	font-size: .7em;
	background: red;
	color: white;
	width: 18px;
	height: 18px;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	box-shadow: 0 0 1px #333;
}
*/
.menu-inframe {
	margin-top: 1.0rem;
	padding: 12px;
	align-items: center;
}
.btn-menu {
	margin-bottom: 2.0rem;
	margin-right: 1.0rem;
	font-size: 20px;
	height: 4.0rem;
	width: 15.0rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.caution {
	position: absolute;
	display: none;
	z-index: 10000;
	padding: 20px 40px;
	font-size: 115%;
	font-weight: 500;
	border-radius: 0px 18px 0px 18px;
}

.btn:not(.disabled):not(:disabled) {
	cursor: pointer;
}

/*.row-buttons .btn:not(.radio),*/
.maker,
.keyword {
	margin: 4px;
}

.btn-outline-primary {
	white-space: nowrap;
	min-width: 4.0rem;
	min-height: 2.6rem;
	width: 5.0rem;
	padding-left: 0px !important;
	padding-right: 0px !important;
	margin: 4px;
}

.btn-outline-secondary {
	white-space: nowrap;
}

.btn-secondary {
	/*	border-color: black !important;*/
	white-space: nowrap;
	min-width: 4.0rem;
	min-height: 2.6rem;
	width: 5.0rem;
	padding-left: 0px !important;
	padding-right: 0px !important;
	margin: 4px;
}

table {
	margin-bottom: 0px !important;
}

.table-wrapper {
	height: 20px;
	overflow-y: auto;
	border: 1px solid #808080;
}

.table-jmb {
	vertical-align: middle;
	line-height: 1.0em;
}

.table-jmb thead th {
	position: -webkit-sticky;
	position: sticky;
	white-space: nowrap;
	z-index: 9;
	box-shadow: 0px 0px 0px 1px #454d55;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
}
.table-jmb thead th:focus {
	outline: auto -webkit-focus-ring-color;
	z-index: 1000;
}
.table-jmb-striped .src {
	background-color: #FEFE9D;
}
.table-jmb-striped .odd:not(.src):not(.sel) {
	background-color: rgba(0, 0, 0, 0.05);
}
.table-jmb-striped .odd.sel:not(.src) {
	background-color: rgba(191, 255, 175, 1);
}
.table-jmb-striped .sel:not(.odd):not(.src) {
	background-color: rgba(191, 255, 175, 0.5);
}
.table-checked tbody tr:not(.sel):nth-of-type(odd) {
	background-color: rgba(0, 0, 0, 0.05);
}
.table-checked .sel:nth-of-type(odd) {
	background-color: rgba(191, 255, 175, 1);
}
.table-checked .sel:nth-of-type(even) {
	background-color: rgba(191, 255, 175, 0.5);
}

tr.del {
	/*color: red !important;*/
	background-color: darkgray !important;
}

td.ed,
/*td.ge,
td.go,
td.jo,
td.od,
td.pk,
td.sa,*/
td.pr {
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}
/*td.ge,
td.go,
td.jo,
td.pk,
td.sa,
td.tb {
	font-size: medium !important;
}*/
td.no {
	font-size: 150%;
	line-height: 1.0em;
}
td.del::before {
	content: "【削除】";
	color: red;
}
/*td.cy::before {
	content: "【中止品】";
	color: red;
}
td.ng::before {
	content: "【発注不可商品】";
	color: red;
}
td.sc::before {
	content: "【店舗中止品】";
	color: red;
}*/
/*td.df {
	color: red;
	position: relative;
}
td.df:not(.uo)::after {
	content: 'i';
	position: absolute;
	font-size: 16px;
	font-weight: bold;
	font-style: italic;
	font-family: 'Segoe UI';
	height: 18px;
	width: 18px;
	right: 0px;
	bottom: 0px;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	color: white;
	background-color: mediumblue;
}
td.df:hover::before {
	content: "卸・口座は採用品登録内容と異なります";
	position: absolute;
	left: 1em;
	top: calc(-1em - 14px);
	z-index: 1000;
	font-size: 16px;
	font-weight: normal;
	color: black;
	white-space: nowrap;
	background-color: rgb(253, 254, 144);
	padding: 6px;
	border: 1px solid lightgray;
	border-radius: 6px;
}
td.ma,
td.uo {
	position: relative;
}*/
/*
td.ma::after,
td.uo::after {
	content: "発注書";
	position: absolute;
	font-size: 10px;
	height: 18px;
	width: 4.0em;
	right: 1px;
	bottom: 1px;
	text-align: center;
	line-height: 18px;
	border-radius: 5px;
	color: white;
	background-color: gray;
	padding: 0px 4px;
}
*/

@media screen and (-webkit-min-device-pixel-ratio:0) {
	.table-jmb thead th::before {
		position: absolute;
		content: "";
		left: -1px;
		top: -1px;
		width: calc(100% + 2px);
		height: calc(100% + 2px);
		border: 1px solid #454d55;
	}
}
.table-jmb thead tr:nth-child(1) th {
	top: 0;
}
/*
.table-jmb thead th.sorted:not(.desc):after {
	content: " ▼";
}
.table-jmb thead th.sorted.desc:after {
	content: " ▲";
}
*/
.tablesorter thead th.tablesorter-headerAsc .tablesorter-header-inner::after {
	content: ' ▲';
}
.tablesorter thead th.tablesorter-headerDesc .tablesorter-header-inner::after {
	content: ' ▼';
}
.tr-err {
	color: red;
}

/*** 幅・余白指定 ***/
.w-20 {
	width: 20% !important;
}

.w-30 {
	width: 30% !important;
}

.w-90 {
	width: 90% !important;
}

.w-100px {
	width: 100px !important;
}

.w-500px {
	width: 500px !important;
}

.w-2rem {
	width: 2.0rem !important;
}

.w-8rem {
	width: 8.0rem !important;
}

.h-80 {
	height: 80% !important;
}

.ml-30px {
	margin-left: 30px;
}

.ml-30px {
	margin-left: 30px;
}


/*** ダイアログ用共通CSS ***/
.div-dialog dl {
	display: table;
	margin: 0px;
}
.div-dialog dl:not(.error-msg) {
	padding-top: 8px;
}
.div-dialog dl.error-msg {
	padding-top: 0px;
}

.div-dialog dt,
.div-dialog dd {
	display: table-cell;
	vertical-align: middle;
}

.div-dialog form {
	margin-block-end: 0em;
}

.ui-dialog-buttonpane {
	margin: 0px !important;
	padding: 0px !important;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: none;
	text-align: center;
}

.btn-btn1,
.btn-btn2 {
	margin-top: 4px !important;
	margin-bottom: 0px !important;
	/*
	margin-right: 0px !important;
	margin-left: 0px !important;
	*/
}
.btn-btn1 {
	min-width: 30% !important;
}
.btn-btn2 {
	min-width: 20% !important;
	white-space: nowrap;
}

.btn-dlg {
	margin: 4px;
}

.div-detail {
	display: flex;
	justify-content: flex-end;
}

.btn-detail {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	width: 4em;
	height: 1.5em;
	border: 2px outset #bbbbbb;
	transition: 0.3s;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(209, 209, 209, 1));
}
.btn-detail:hover {
	background-image: linear-gradient(180deg, rgba(209, 209, 209, 1), rgba(255, 255, 255, 1));
}

.chk {
	position: fixed;
	clip: rect(0px, 0px, 0px, 0px);
}
.chk + label{
	height: 20px;
	position:relative;
	display: inline;
	margin: 0px;
}
.chk:not(:disabled) + label {
	cursor: pointer;
}
.chk:not(#chkAll) + label{
	padding-left: 24px;
}
.chk + label::before {
	content: "";
	display: inline;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	z-index: 0;
}
.chk:not(#chkAll):not(:disabled):not(.dup) + label::before {
	border: 2px solid #212529;
	background-color: white;
}
.chk:not(#chkAll):checked:not(:disabled):not(.dup) + label::after {
	border-bottom: 4px solid #212529;
	border-right: 4px solid #212529;
}
.chk:not(#chkAll):not(:disabled).dup + label::before {
	border: 2px solid #c90926;
	background-color: #FFEFF0;
}
.chk:not(#chkAll):disabled.dup + label::before {
	border: 2px solid #a97575;
	background-color: #FFEFF0;
}
.chk:not(#chkAll):checked.dup + label::after {
	border-bottom: 4px solid #990000;
	border-right: 4px solid #990000;
}
.chk:not(#chkAll):not(.dup):disabled + label::before {
	border: 2px solid gray;
	background-color: gainsboro;
}
.chk:not(#chkAll):checked:disabled + label::after {
	border-bottom: 4px solid gray;
	border-right: 4px solid gray;
}
.chk:checked + label::after {
	content: "";
	display: block;
	position: absolute;
	top: -7px;
	left: 3px;
	width: 15px;
	height: 22px;
	transform: rotate(40deg);
	cursor: pointer;
}
#chkAll + label {
	padding-left: 26px;
	padding-top: 1px;
	vertical-align: middle;
}
#chkAll:not(:disabled) + label::before {
	border: 2px solid #212529;
	background-color: white;
	box-shadow: 0px 0px 4px 1px white;
}
#chkAll:disabled + label::before {
	border: 2px solid darkgray;
	background-color: #212529;
	cursor: default;
}
#chkAll + label::after {
	border-bottom: 4px solid #212529;
	border-right: 4px solid #212529;
}

.nav-tabs-wrapper {
	position: relative;
}

.tab-wrapper {
	overflow: hidden;
	position: absolute;
	display: inline-block;
	vertical-align: middle;
}

.nav-tabs {
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	padding-left: 0px;
	margin-bottom: 0px;
}

.nav-tabs-button {
	display: inline-block;
	border: 1px solid #dee2e6;
	background-color: transparent;
	border-radius: 4px;
	font-size: 14pt;
	font-weight: 600;
	vertical-align: middle;
	width: 30px;
	padding: 4px 4px;
	margin: 0px 4px;
}

.nav-tabs-button-right {
	position: absolute;
	right: 4px;
}

.nav-link {
	white-space: nowrap;
}

.nav-item {
	margin-right: 2px;
}

.div-button input[type="button"],
.div-button button {
	height: 38px;
	min-height: 38px;
	min-width: 76px;
	line-height: 1.0em;
	padding: 0px 8px;
	width: 8.0em;
	margin-top: 10px;
	margin-left: 10px;
}

input:disabled + label {
	color: darkgray !important;
}

dt.required::after,
label.required::after {
	position: absolute;
	content: "※";
	margin-left: 4px;
	margin-top: -2px;
	padding: 0px 0px;
	font-size: large;
	font-weight: bold;
	color: red;
}

#titlebar label {
	margin-top: 0px;
	margin-bottom: 0px;
}
/*
#divSearch label {
	margin-bottom: 0px;
}
*/
.term {
	display: inline-block;
	vertical-align: middle;
	margin-left: -6px;
	width: 6.0em;
	height: 1.8em;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: large;
	background-color: #007bff;
	color: white;
}

dt.disabled,
dt:disabled,
dt[disabled] {
	color: #a5acb1;
}

/*** ページング ***/
#pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
#pager > * {
	margin-right: 4px;
}
#pager button {
	height: 30px;
	padding: 0px 8px /*12px*/;
}
#pager label {
	margin-bottom: 0px;
	white-space: nowrap;
}
#pager .pagesize {
	display: inline-block;
	width: 5.0em;
}

#lblPageRows {
	padding-left: 5px/*30px*/;
}

.processing,
.tablesorter-processing {
	background: rgba(255,255,255,0.8) url(../images/loading.gif) center center no-repeat;
	z-index: 1000;
}

.tablesorter-pager {
	padding: 6px 6px 0px 6px !important;
}

.loading-msg {
	display: inline-flex;
	margin-top: 20%;
	padding: 0.5em;
	border: 3px whitesmoke double;
	background-color: navy;
	color: white;
	font-size: x-large;
}

.doc-link {
    overflow: hidden;
}

.doc-link a {
    text-decoration: underline;
    font-size: smaller;
    cursor: pointer;
    margin-right: 2em;
}

@-ms-viewport {
	width: device-width;
}
