body {
	min-width:450px;
}
.body-content{
	width:unset !important;
}
.navbar-nav{
    float:unset !important;
}
.navbar-nav > li > span {
    display: inline-block;
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
}
.float-right{
    float:right !important;
}
.navbar-inverse, .navbar-brand, .navbar-inverse a {
    background-color: royalblue !important;
    border-color: white !important;
    color: white !important;
}
.navbar-brand {
	padding:6px 15px !important;
}
.navbar-brand img {
	height:1em;
}
.navbar-collapse a {
    border-color: lightskyblue;
    border-style: solid;
    border-width: 0px 1px 0px 1px;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form, .navbar-inverse .navbar-toggle{
    border-color:white !important;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus, .navbar-inverse a:hover{
    background-color:cornflowerblue !important;
}
footer{
	text-align:center;
}
.scroll-top {
	transition: 0.8s ease-in-out;
	transform: translateY(30px);
	opacity: 0;
	text-align: center;
	position: fixed;
	border: 1px solid deeppink;
	color: deeppink;
	border-radius: 35px;
	font-size: 9px;
	padding: 5px 9px;
	left: 10px;
	bottom: 10px;
	cursor: pointer;
	background-color:white;
}

.scroll-top.on {
	transform: translateY(0);
	opacity: 0.8;
}
.screentitle{
    padding:1em;
    background-color:lightskyblue;
    font-weight:bold;
    
}
.jumbotron, .body-content {
    margin-top: unset !important;
}
.jumbotron{
    text-align:center;
}
.jumbotron .btn{
	max-width:150px;
}
@media (max-width: 767px) {
    .nav > li {
        text-align: center;
        border-bottom: 1px solid;
    }
    .navbar-collapse a {
        border-width:0px;
    }
    .body-content {
        margin-top: 15px;
    }
    .float-right {
        float: unset !important;
    }
    .disp-account{
        border-bottom:unset !important;
    }
}
.main-content{
	padding:2em;
}
.search_form {
	padding:0em;
    border: 1px solid lightgray;
    margin-bottom:2em;
}
.search_form table{
	width:100%;
}
.search_form table td{
	text-align:left;
}
.search_form .button-area{
	text-align:right;
}
table th{
	background-color: steelblue;
	color: white;
	text-align: center;
	border-color: lightgray;
	border-style: solid;
	border-width: 1px;
	padding:7px 0px;
}
.search_form table td > * {
	vertical-align:middle;
}
.search_form table td div,
.search_form table td .form-control {
	display: inline-table;
}
.search_form table td span{
	margin-left:10px;
}
.search_form table td span label{
	margin-right:10px;
}
.list_head .pages{
	display:table;
	width:100%;
}
.list_head .form-control{
	display:unset;
	width:unset;
}
.list_head .pages_left,
.list_head .pages_right
{
	display:table-cell;
}
.list_head .pages_right
{
	display:table-cell;
	text-align:right;
}
table.list{
	width:100%;
}
table.list td{
	padding:0px 5px;
	overflow-wrap: anywhere;
}
table.list td:has(> .btn-sm){
	padding:0px;
}
table.list th,
table.list td{
	border-color: lightgray;
	border-style: solid;
	border-width: 1px;
}
table.list tr:nth-child(2n) {
	background-color: aliceblue;
}

table.list tr:hover {
	background-color: lightgoldenrodyellow;
}

table.list .item-header {
	display: none;
}

.btn-action {
	font-weight:bold !important;
    color: white !important;
    background-color: cornflowerblue;
    border-color: royalblue !important;
}
.btn-action:hover {
    color: white !important;
    background-color: royalblue;
}
.btn-list {
	font-weight: bold !important;
	color: white !important;
	background-color: mediumseagreen;
	border-color: seagreen !important;
}

.btn-list:hover {
	color: white !important;
	background-color: seagreen;
}
.btn-sub {
	font-weight:bold !important;
    color: black;
    background-color: lightgray;
    border:1px solid darkgray !important;
}
.btn-sub:hover {
	font-weight:bold !important;
    color: white;
    background-color: darkgray;
}
.memo-display{
	display:none;
}
td.memo-action .memo-icon{
	line-height:30px;
	font-weight:bold;
	color:crimson;
}
td .fa-check{
	color:crimson;
}
td.memo-action .btn-edit-dialog {
	float: right;
}

#edit-form{
	display:none;
}
.edit_dialog #input-form table{
	width:100%;
}
.edit_dialog #input-form table th{
	background-color:steelblue;
	text-align:center;
	color:white;
}
.edit_dialog #input-form table th,
.edit_dialog #input-form table td{
	padding:5px;
	border-style: solid;
	border-width: 1px;
	border-color: lightgray;
}
.edit_dialog #input-form table td input[type="checkbox"]{
	-moz-transform:		scale(1.4);
	-webkit-transform:	scale(1.4);
	transform:		scale(1.4);
}
.ui-dialog .ui-dialog-titlebar-close:after{
	content: "×";
	position: absolute;
	margin: -18px -7px;
	font-weight: normal;
	font-size:26px;
	color:black;
}
.ui-widget-header{
	color:white !important;
	background:royalblue !important;
}

[linkid]{
	display:none;
}
input[type="radio"],
input[type="checkbox"]{
	margin-right:5px !important;
}
.sticky_table_wrapper {
	overflow: scroll;
	width: 50%;
	height: 250px;
}
.sticky_table {
	width: 100%;
}

.sticky_table thead th {
	/* 縦スクロール時に固定する */
	position: -webkit-sticky;
	position: sticky;
	top: -1px;
	/* tbody内のセルより手前に表示する */
	z-index: 1;
}

.nowrap{
	white-space:nowrap;	
}
/* サブ画面デザイン */
.on-dialog .pages_right{
	display:none !important;
}
.sub-title {
	background-color: steelblue;
	color: white;
	font-weight: bold;
	padding: 0.5em;
}
.sub-title.shipment {
	background-color: darkcyan;
}
.sub-items {
}
.sub-items div {
	display: inline-block;
	border-bottom: 1px solid black;
	margin-right: 1em;
	padding: 0.5em 0.5em 0px 0.5em;
}
.sub-items div .item-title,
.sub-items div .item-text{
	display:table-cell;
}
.sub-items div .item-title {
	font-weight: bold;
}
.sub-items div .item-text {
	min-width: 2em;
}

@media (max-width: 991px) {
	.list_head .pages {
		display: block;
		width: 100%;
	}

	.list_head .pages_left,
	.list_head .pages_right {
		display: inline-block;
	}

	.list_head .pages_right {
		text-align: unset;
	}
	#MainContent_ctrlSearchList table td .fa-check {
		background-color: crimson;
		color: white;
		margin:2px;
	}

	#MainContent_ctrlSearchList table {
		display: block;
	}

	#MainContent_ctrlSearchList table tbody {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	#MainContent_ctrlSearchList .list_head .list {
		display: none;
	}

	#MainContent_ctrlSearchList .list col {
		width: unset !important;
		min-width: unset !important;
	}

	#MainContent_ctrlSearchList .list tr {
	}

	#MainContent_ctrlSearchList .list td {
		display: block;
		text-align: left !important;
		vertical-align: middle;
		padding: 0em;
	}

	#MainContent_ctrlSearchList .list td > *:not(.hide,.memo-display) {
		display: table-cell;
	}
	#MainContent_ctrlSearchList .list td span,
	#MainContent_ctrlSearchList .list td i {
		padding: 0.25em;
	}

	#MainContent_ctrlSearchList .list td .btn-syukka-rireki {
	}

	#MainContent_ctrlSearchList .list td button {
		width: calc(100% - 85px - 65px);
		float: right;
		margin-top:-30px;
	}

	#MainContent_ctrlSearchList .list td.memo-action .memo-icon {
		line-height: unset;
		width: 57px;
	}

	#MainContent_ctrlSearchList .list td span.item-header {
		width: 85px;
		min-width: 85px;
		padding: 5px;
		text-align: center;
		background-color: steelblue;
		color: white;
		font-weight: bold;
	}
}
@media (max-width: 768px) {
	.search_form table {
		display:block;
	}
	.search_form table tbody{
		display:block;
	}
	.search_form table tr{
		display:block;
	}
	.search_form table th,
	.search_form table td{
		display:inline-block;
	}	
	.search_form table th{
		width:70px;
		vertical-align:top;
	}
	.search_form table td{
		width: calc(100% - 80px);
	}
	.search_form table td:has(input[type="radio"]){
		margin-left:70px;
	}
	.search_form .button-area {
		display: block;
		text-align:center;
		border-top:1px solid lightgray;
		padding:5px;
		width:100%;
	}
}
@media (max-width: 640px) {
	#MainContent_ctrlSearchList table tbody {
		grid-template-columns: repeat(1, 1fr);
	}
	.cp_pagination .cp_pagenum {
		display: none !important;
	}
	.cp_pagination .cp_pagenum.prev ,
	.cp_pagination .cp_pagenum.next {
		display: block !important;
		width:70px;
	}
}
@media (max-width: 600px) {
	.ui-dialog {
		left:unset !important;
		width:100% !important;
		min-width:450px !important;
	}
}
@media (max-width: 550px) {
	.list_head .pages_left,
	.list_head .pages_right {
		display: block;
	}
	.cp_navi,
	.cp_navi .cp_pagination {
		width: 100%;
	}
	.cp_pagination .cp_pagenum.prev,
	.cp_pagination .cp_pagenum.next {
		width: 50%;
	}
	.cp_pagination .cp_pagenum.next {
		float:right;
	}
}
