@charset "shift_jis";
body {
	color: #000;
	font-size:13px;
	margin: 0 auto 0;
	width: 970px;	/* ←IE7,8対策用。実際は、bootstrapによって .container の max-width が設定されるので、それに従う */
}
body, h1, h2, h3, h4, h5, h6 {
	/*font-family:"Arial",'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',Osaka,sans-serif;*/
}

.topnav {
	/*background-color:#84A5B7;*/
	background-color: #000000;
	margin-bottom: 20px;
	/*
	padding: 5px;
	line-height: 1.9em;
	*/
}
.topnav li {
	/*background-color: green;*/
}
.topnav-direct a:link, .topnav-direct a:hover, .topnav-direct a:active, .topnav-direct a:visited {
	color: white;
}
/*
.topnav li {
	padding: 1px;
}
*/
.topnav > div {
	padding: 2px;
}
.nav li a:hover {
	background-color: green;
}
.table a:link, .table a:hover, .table a:active, .table a:visited {
  color: #cc0000;
  text-decoration: underline;
}
.table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
}
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th {
	background-color: seashell;
}
.table thead th, .table thead td {
	background-color: #4F81BD;
	color: white;
	text-align: center;

}
th, td {
	vertical-align: middle !important;
	padding: 4px !important;
}
th {
	/*font-weight: bold;*/
}
.search_form {
	background-color: #FCEEC0;
	margin-bottom: 20px;
}
.search_form label {
	font-weight: normal;
}
.alert {
	font-weight: bold;
}



/* **********************************【 枠組み 】********************************** */
.layout {
	padding: 0;
}
.header {
	background-color: #F7F3E8;
}
.header a {
	display:block;
	height: 80px;
	margin-left: 20px;
	background: url(../images/logo.gif) no-repeat left center;
}
.header a span {
	display: none;
}
.topicpath {
	height: 25px;
	margin: 0 0 0 0;
	padding: 7px 0 0 25px;
	background: url(../images/admin_topicpass_bg.gif) repeat-x;
	/*font-size: 100%;*/
	color: #ffffff;
	line-height:1.0;
	position: relative;
}
.topicpath a {
	color: #fff;
	text-decoration: none;
}
.topicpath a:hover {
	color: #fff;
	text-decoration: underline;
}
.logout {
	position: absolute;
	top: 8px;
	right: 12px;
}
.mainconts {
	padding: 0 15px 50px;
}

input[type=checkbox].form-control {
	width: auto !important;
	height: auto !important;
}
.checkbox-inline {
	padding: 0 4px 10px 0;
}
.label-danger {
	font-size: 1em;
}
span.label-danger {
	margin-left: 10px;
}
textarea.form-control {
	height: 85px;
}


/* **********************************【 ホームメニュー 】********************************** */
ul.contents_menu {
	padding: 0;
}
.contents_menu {
	width: 500px;
	margin: 5px auto 260px auto;
	font-size: 140%;
	border: solid #bebebe;
	border-width: 1px 1px 0;
}

.contents_menu li {
	display: inline;
}

.contents_menu li a {
	display: block;
	padding: 0.5em;
	text-align: center;
	font-weight: bold;
	border-bottom: solid 1px #bebebe;
	background: #f6f6f6;
}

.contents_menu li a:hover {
	background: #FDE3E4;
}

/* **********************************【 テーブル 】********************************** */
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
	border-color: #aba;		/* #ccc */
}
.table a:link, .table a:hover, .table a:active, .table a:visited {
  color: #cc0000;
  text-decoration: underline;
}
.table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
}
table.list tr:nth-child(odd) {
	/* テーブルの項目行が1に当たる。その為、奇数で丁度良い */
	background-color: seashell;
}
table.list .tr_odd {
	/* 上記のIE9未満用 */
	background-color: seashell;
}
table.list th, table.list td {
	padding: 8px;
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
}

/* デバッグ用 */
table.cake-sql-log tr:nth-child(odd) {
	/* テーブルの項目行が1に当たる。その為、奇数で丁度良い */
	background-color: #CCCCCC;
}
/* デバッグ用 */
table.cake-sql-log th, table.cake-sql-log td {
	padding: 8px;
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
}

.table thead th, .table thead td {
	background-color: #4F81BD;
	color: white;
	text-align: center;

}
th, td {
	vertical-align: middle !important;
/*	padding: 4px !important;*/
}
th {
	/*font-weight: bold;*/
}
table.edit > tbody > tr > td:nth-child(1) {
	background-color: #D9E7FF;
	text-align: right;
}
table.edit textarea {
	width: 100%;
}

/* **********************************【 互換性 】********************************** */
.center {
	text-center;
}


/* **********************************【 DIV、その他 】********************************** */
a {
	color: #cc0000;
	/*color: #364B5C;*/
	text-decoration: none;
}
a:hover {
	color: #33A0A7;
	text-decoration: underline;
}
.pager {
	/*float: right;*/
	margin: 10px 0 10px;
	width: 210px;
}
.pager .next a {
	padding: 7px 22px 7px 12px;
	background: url("../images/icn_next.gif") no-repeat 3px 7px;
	background-position: center right;
}
.pager .next span {
	padding: 7px 22px 7px 12px;
}
.pager .previous a {
	padding:7px 12px 7px 20px;
	border:solid 1px #CCCCCC;
	background:url("../images/icn_prev.gif") no-repeat 3px 9px;
}
.pager .previous span {
	padding:7px 12px 7px 20px;
	border:solid 1px #CCCCCC;
}

.pager .nolink {
	color:#CCCCCC;
	background:url();
}

.search_form {
	background-color: #FCEEC0;
	margin-bottom: 20px;
}
label {
	font-weight: normal;
	margin-bottom: 0px;
	padding-right: 5px !important;
}
.alert {
	font-weight: bold;
}
h2, fieldset legend {
	box-sizing: border-box;
	height: 45px;
	padding: 10px 0px 10px 15px;
	font-size: 140%;
	font-weight: bold;
	background: #DBEEEF;
}
h3 {
	box-sizing: border-box;
	height: 35px;
	padding: 10px 0px 10px 15px;
	font-size: 120%;
	font-weight: bold;
	background: #BCE9BC;
}
h4 {
	box-sizing: border-box;
	height: 28x;
	padding: 10px 0px 10px 15px;
	font-size: 105%;
	font-weight: bold;
	background: #F2DDE7;
}

#footer {
	clear:both;
	padding: 10px 0;
	border-top: solid 1px #ccc;
}
#footer p {
	padding: 0 10px;
	text-align: right;
	color: #666666;
}

/* **********************************【 ページング用。Twitter Bootstrapとは異なるため、仮のものとする 】********************************** */
.page{
	padding:20px 0;
	text-align:center;
}
.page .off{
	padding:8px;
	font-weight:bold;
	border:solid 1px #CCCCCC;
	background:#CCCCCC;
}
.page .on{
	padding:8px;
	border:solid 1px #CCCCCC;
}
.page .next{
	padding:8px 8px 8px 20px;
	border:solid 1px #CCCCCC;
	background:url("../images/icn_next.gif") no-repeat 3px 8px;
}
.page .prev{
	padding:8px 8px 8px 20px;
	border:solid 1px #CCCCCC;
	background:url("../images/icn_prev.gif") no-repeat 3px 8px;
}

th a.asc:before {
	content: '▲ ';
}

th a.desc:before {
	content: '▼ ';
}

/* ログモーダルデータ */
.modal-dialog.access-log {
	width: 840px;
}

.modal-dialog.access-log th {
	width: 8%;
}

.modal-dialog.access-log th.period {
	width: 18%;
}

.modal-dialog.access-log ul#modal-data-select {
	list-style: none;
	margin: 0;
	padding: 0;
}

.modal-dialog.access-log ul#modal-data-select li {
	display: inline-block;
	margin-right: 8px;
}

.modal-dialog.access-log ul#modal-data-select li a {
	padding: 10px 24px;
}

.modal-dialog.access-log select, select#yearSelect {
	margin-bottom: 10px;
}

tr.sortableTr a {
	z-index: 100;
}

p.ajaxResult {
	display: none;
	margin: 10px 0;
	padding: 4px;
	text-align: center;
	background-color: #ffffcc;
	border: 1px solid gold;
	border-radius: 4px;	
}

.sortControl {
	padding: 4px;
	border: 1px solid #ddd;
	border-bottom: none;
	text-align: center;
}

.sortControl.scBottom {
	border-bottom: 1px solid #ddd;
	border-top: none;
	margin: -20px 0 0px;
}

.sortControl button {
	margin: 0 12px;
	font-weight: bold;
	padding: 6px 12px; 
} 