body {
	margin: 0;
}
#main {
	display: flex;
	display: -webkit-flex;
}
#content {
	flex: 1;
	margin: 10px;
}

/**********************************/
/* ヘッダー */
/**********************************/
#header {
	width: 100%;
	background: #1D3156;
	color: #fff;
}
#header h1 {
	margin: 0;
	padding: 10px;
}
.userinfo {
	text-align: right;
	padding-right: 10px;
	margin: 0;
}

/**********************************/
/* フッター */
/**********************************/
#footer {
	width: 100%;
	color: #fff;
	text-align: right;
	background: #1D3156;
	padding: 10px 0;
}
#footer a {
	color: #fff;
	padding-right: 10px;
}

/**********************************/
/* サイドメニュー */
/**********************************/
#sidemenu {
	background: #d5e2f1;
}
#sidemenu ul {
	width: 100%;
	margin: 0;
	padding: 0;
}
#sidemenu li {
	list-style: none;
	border-bottom: 1px solid #c7d7eb;
	color: #1D3156;
	white-space: nowrap
}
#sidemenu li a {
	color: #1D3156;
	text-decoration: none;
	display: block;
	padding: 15px 30px;
}
#sidemenu li.active {
	background: #88aad3;
	font-weight: 600;
	padding: 15px 30px;
}

/**********************************/
/* ログイン画面 */
/**********************************/
#login-page {
	background: #1D3156;
}
.toppage {
	margin-top: 100px;
}
.login-area {
	width: 100%;
	border-radius: 5px;
	background: #fff;
	padding: 15px;
}
.login-area button {
    width: 310px;
}
.login-area .logo{
    width: 250px;
    margin:auto;
}
/*table.loginform {
	width: 100%;
	border-radius: 5px;
	background: #fff;
}*/
table.loginform {
    margin: auto;
}
table.loginform tr th {
	white-space: nowrap;
	text-align: center;
	vertical-align: top;
	padding: 10px;
}
table.loginform tr td {
	padding: 10px;
}
table.loginform tr td.form-name input {
	font-size: large;
	border: solid 1px #aaa;
}
table.loginform tr td.form-name select {
	font-size: large;
}

/**********************************/
/* 設定番号一覧画面 */
/**********************************/
.setting-menu {
	padding: 0;
}
.setting-menu li {
	list-style: none;
	border: 1px solid #c7d7eb;
	border-bottom: 0;
}
.setting-menu li:last-of-type {
	border-bottom: 1px solid #c7d7eb;
}
.setting-menu li a {
	text-decoration: none;
	display: block;
	padding: 15px;
}

/**********************************/
/* 表示内容設定画面 */
/**********************************/
table.setting {
	width: 95%;
}
table.innertable {
	width: 100%;
	border: solid 1px #888;
	background: #d5e2f1;
}
table.innertable td.usecheck {
	width: 100px;
	text-align: center;
}
table.innertable td.displaytime {
	width: 150px;
}
table.innertable td.displaytime input {
	width: 80px;
}
table.innertable td.setting {
	width: 170px;
}
.func-title {
	margin: 5px 0;
	padding: 5px;
	background: #fff;
}

/**********************************/
/* 共通 */
/**********************************/
.text-white {
	color: #fff;
}
.mt30 {
	margin: 20px 0;
    text-align: center;
}
.mb30 {
	margin-bottom: 30px
}

/*****************/
table.buttons {
	width: 100%;
}
table.buttons td:last-of-type {
	text-align: right;
}

.setting-panel {
	width: calc(100% - 10px);
	padding: 5px;
	background: #ddd;
	border-radius: 5px;
}
.setting-panel h1 {
	margin: 0;
}
.refine-form {
	position: relative;
	z-index: 100;
	margin-top: 20px;
	/*display: table;*/
	width: calc(100% - 10px);
	padding: 5px;
}
/*.refine-form h1,
.refine-form div {
	display: table-cell;
}
.refine-form div {
	text-align: right;
}*/

table.inputform {
	width: 100%;
	border-spacing: 0;
}
/*table.inputform tr.odds {
	background-color: #eee;
}*/
table.inputform tr th {
	background: #d5e2f1;
	border-top: solid 1px #c7d7eb;
	border-bottom: solid 1px #c7d7eb;
}
table.inputform tr td {
	padding: 5px;
	border-bottom: solid 1px #ddd;
	text-align: center;
	background: #fff;
}
table.inputform tr td.form-date input {
	width: 8em;
}
table.inputform tr td.form-age input {
	width: 3em;
}
table.inputform tr td.form-name input {
	font-size: x-large;
	width: 7em;
}
table.inputform tr td.form-kubun input {
	width: 10em;
}
table.inputform tr td.form-car input {
	width: 8em;
}
table.inputform tr td.form-file input {
	width: 210px;
    font-size: 10px;
}

table.seltmpl th {
	/*margin-left: auto;*/
	padding-left: 20px;
}

.error-message {
    padding: 10px;
    border: 2px solid red;
    border-radius: 5px;
    background-color: #ffeeee;
    margin: 5px 0 5px 0;
}

.message {
    padding: 5px;
    border: 5px solid green;
    background-color: #f0feff;
}
a.btnstyle,
button {
    padding: 10px;
    border: solid 1px gray;
    border-radius: 5px;
    background-color: #eeeeee;
    font-size: medium;
    margin: 10px 10px 10px 0;
}
a.btnstyle{
    margin: 10px 50px 10px 0;
    float: right;
    text-decoration: none;
    color: #000;
}

form#editform img.thumb {
	padding-bottom: 5px;
	max-width: 80px;
	vertical-align: bottom;
}


/*add 190704_日付選択のカレンダー*/
#ui-datepicker-div.ui-datepicker{
	z-index: 9999!important;
}

/* 管理画面ページネーション */
.navi ul.pagination {
	display: inline-block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
}
.navi ul.pagination li {
	display: inline;
}
.pagination li a,
.pagination li span {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	color: #111;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
}
.pagination .active span {
	z-index: 3;
	color: #fff;
	cursor: default;
	background-color: #7d7d7d;
	border-color: #7d7d7d;
}

/*表現モード"フリップ"になった際の背景画像選択を消す要素*/
.js-selectOverlay.selectOverlay{
	visibility: hidden;
}
.js-selectOverlay.selectOverlay.active{
	width: 100%;
	height: 20px;
	background-color: rgba(250,250,250,0.5);
	border-radius: 3px;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	visibility: unset;
}