@charset 'utf-8';

@import url(https://fonts.googleapis.com/css?family=Roboto);

/**
 * Reset
 */
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
*{
	margin: 0;
	padding: 0;
}
:focus {
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
em, strong {
	font-weight: bold;
}
html, body {
	height: 100%;
}
body {
	font-family: 'Roboto','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 14px;
	background: #f1f1f1;
	color: #333;
}
a {
	color: #333;
	text-decoration: underline;
}
a.disable {
	color: #666;
	text-decoration: line-through;
}
.clearfix {
	min-height: 1px;
}
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
/**
 * Pager
 */
.pager {
	padding: 20px;
}
.pager ul {
	text-align: center;
}
.pager li {
	display: inline-block;
	margin: 0 0 0 20px;
}
.pager li:first-child {
	margin: 0;
}
.pager li a, .pager li span {
	display: block;
	background: #fff;
	padding: 5px 10px;
	font-size: 16px;
	text-decoration: none;
	border: 1px solid #ccc;
}
.pager li span {
	color: #ccc;
}

/**
 * Form
 */
input[type=number], 
input[type=text],
input[type=email], 
input[type=password], 
input[type=tel] {
	box-sizing: border-box;
	border: none;
	font-size: 16px;
	line-height: 1.5;
	padding: 10px;
	width: 100%;
	border-radius: 0;
	border: 1px solid #ddd;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
select:focus, 
textarea:focus {
	background-color : #fffee6;
}
input[type=number] {
	width: 8em;
	text-align: right;
}
input[type=radio] {
	display: none;
}
input[type=radio] + label {
	text-align: center;
	cursor: pointer;
	display: block;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	padding: 10px;
}
input[type=radio]:checked + label {
	background: #ddd;
}
input[type=checkbox] {
	margin: 0 5px 0 0;
}
select {
	box-sizing: border-box;
	border: none;
	font-size: 16px;
	line-height: 1.5;
	padding: 10px 35px 10px 15px;
	border-radius: 0;
	border: 1px solid #ddd;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #fff url(/images/select_arrow@2x.png) no-repeat right 10px center;
	background-size: 18px 18px;
}
textarea {
	box-sizing: border-box;
	border: none;
	font-size: 16px;
	padding: 10px;
	width: 100%;
	border-radius: 0;
	background: #fff;
	border: 1px solid #ddd;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
textarea.comment {
	height: 200px;
}
.bool li {
	display: inline-block;
	width: 50%;
}
.colors {
	margin: 10px 0 0 0;
}
.colors dt {
	display: inline-block;
	margin: 0 10px 0 0;
}
.colors dd {
	display: inline-block;
}
.date-picker select {
	width: auto;
	margin: 0 10px 0 0;
}
.form {
	padding: 0 30px 30px 30px;
}
.form-login dt {
	float: none;
	width: auto;
	font-weight: bold;
	margin: 0 0 5px;
}
.form-login dd {
	margin: 0 0 15px;
}
.form-login {
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 5px -1px rgba(200, 200, 200, 0.7);
	padding: 30px;
}
.form-login p {
	font-size: 13px;
	text-align: right;
	margin: 10px 0 0 0;
}
.form-login p.lead {
	text-align: center;
	margin: 0 0 20px;
}
.table {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
}
.table tr {
	background: #fff;
}
.table th {
	vertical-align: middle;
	padding: 10px;
}
.table td {
	vertical-align: middle;
	padding: 10px;
}
.table td .memo {
	display: inline-block;
	font-size: 12px;
	background: #ffffcc;
	padding: 6px 8px;
	margin: 5px 0 0 0;
}
.table-form th {
	width: 160px;
}
.table-list {
	border-bottom: 1px solid #e5e5e5;
}
.table-list thead th .fa {
	margin: 0 0 0 5px;
}
.table-list th {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.table-list tr {
	background: #f9f9f9;
}
.table-list tr:nth-child(2n+1) {
	background: #fff;
}
.table-list tr.cancel {
	text-decoration: line-through;
}
.table-list tr.paid {
	background: #ddd;
}
.table-list td.accounts-payable {
	font-weight: bold;
	color: #ff0000;
}
.table-list td.options {
	white-space: nowrap;
}
.table-list td.options li {
	display: list-item;
	font-weight: bold;
}
.table-list .bool {
	text-align: center;
}
.table-detail th {
	width: 200px;
	background: #efefef;
	border: 1px solid #e5e5e5;
}
.table-detail td {
	border: 1px solid #e5e5e5;
}
.table-detail td .data {
	margin: 0 0 10px;
}
.table-detail ul.list li {
	display: list-item;
}
.table-fixed {
	table-layout: fixed;
}
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
	z-index: 100;
}
.modal .container {
	background: #fff;
	padding: 20px;
}
.modal .close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 22px;
}
.modal {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 800px;
	height: 600px;
	z-index: 1000;
}
.modal h3 {
	margin: 0 0 20px;
}
.modal textarea {
	font-size: 13px;
	height: 500px;
}
.modal .actions {
	margin: 20px 0;
}

/**
 * Login
 */
.container-login {
	width: 400px;
	margin: 0 auto;
	padding: 100px 0 0 0;
}
.container-login h1 {
	display: block;
	background: url(/images/admin/logo.png) no-repeat top left;
	background-size: 100%;
	width: 266px;
	height: 113px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	margin: 0 auto;
	margin-bottom: 30px;
}

/**
 * Errors
 */
.errors {
	font-weight: bold;
	color: #ff0000;
	padding: 0 0 0 20px;
	margin: 0 0 20px 0;
}

/**
 * Notification
 */
.notification {
	font-weight: bold;
	color: #0c6fcc;
	padding: 0 0 0 20px;
	margin: 0 0 20px 0;
}

/**
 * Button
 */
.btn {
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 18px;
	line-height: 50px;
	border: none;
	box-sizing: border-box;
	background: #4e4948;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.btn:hover {
	opacity: 0.8;
}
.btn:disabled {
	cursor: default;
	color: #ccc;
	background: #999;
}
.btn:disabled:hover {
	opacity: 1;
}
.btn-small {
	font-size: 13px;
	line-height: 30px;
	width: 100px;
}
.btn-discount {
	display: inline-block;
	margin: 0 0 0 10px;
}
.btn-back {
	background: #999;
}
.btn-cancel {
	background: #cc0000;
}
.action, .actions {
	text-align: center;
	margin: 30px 0;
}
.form-login .action {
	margin: 30px 0 0 0;
}
.action li {
	display: block;
}
.actions li {
	display: inline-block;
	margin: 0 0 0 30px;
}
.actions li:first-child {
	margin: 0;
}
.actions li .btn {
	width: 200px;
}

/**
 * Header
 */
header {
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	width: 100%;
	height: 50px;
	z-index: 10;
	border-bottom: 1px solid #eee;
	box-sizing: border-box;
}
header h1 a {
	display: block;
	position: absolute;
	top: 5px;
	left: 10px;
	background: url(/images/admin/logo_small.png) no-repeat top left;
	background-size: 100%;
	width: 96px;
	height: 40px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}
header p {
	position: absolute;
	top: 0;
	right: 10px;
	font-size: 11px;
	line-height: 48px;
	color: #000;
}
header p span {
	margin: 0 10px 0;
}
header p span a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
header p span a:hover {
	text-decoration: underline;
}

/**
 * Contents
 */
.wrapper {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 100%;
}
.container {
	margin-left: 180px;
	padding: 0 20px 60px 20px;
}
.contents {
	padding: 0 0 20px;
	margin: 70px 0 0 0;
	width: 100%;
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 2px 5px -1px rgba(200, 200, 200, 0.7);
}
h2 {
	font-size: 22px;
	padding: 20px;
}
h2 ul {
	display: inline-block;
}
h2 li {
	display: inline;
}
h2 a {
	position: relative;
	top: -4px;
	display: inline-block;
	font-size: 13px;
	font-weight: bold;
	line-height: 30px;
	text-decoration: none;
	background: #fff;
	padding: 0 10px;
	margin: 0 0 0 15px;
	border: 1px solid #e5e5e5;
}
h3 {
	font-size: 20px;
	padding: 20px;
}

.report {
	padding: 0 20px;
	margin: 0 0 30px;
}
.report li {
	position: relative;
	text-align: center;
	display: inline-block;
	width: 20%;
	border: 1px solid #ccc;
	border-left: none;
	padding: 20px 0;
	box-sizing: border-box;
}
.report li:first-child {
	border-left: 1px solid #ccc;
}
.report h3 {
	font-size: 16px;
	font-weight: bold;
	padding: 0;
	margin: 0 0 20px;
}
.report h4 {
	font-size: 26px;
	font-weight: bold;
	color: #fd9f4b;
}
.report .chartview {
	padding: 20px;
}
.report canvas {
	display: block;
	margin: 0 auto;
}
.report-pie .legend {
	position: absolute;
	top: 10px;
	right: 10px;
}
.report-pie .legend li {
	padding: 0;
	float: none;
	width: auto;
	border: none;
	font-size: 11px;
	display: block;
}
.report-pie .legend li span {
	display: inline-block;
	width: 13px;
	height: 13px;
	border-radius: 2px;
	margin: 0 3px 0 0;
	position: relative;
}
.report .date-selector {
	margin: 0 0 30px;
}
.report .date-selector input[type=text] {
	width: 140px;
	padding: 5px;
}
.report .date-selector .btn {
	display: inline-block;
	margin: 0 0 0 20px;
}
.report .trend {
	width: 100%;
	height: 300px;
	max-height: 300px;
}
.report .trend canvas {
	max-height: 100%;
	overflow: hidden;
}

/**
 * Menu
 */
.menu-bg {
	position: absolute;
	bottom: 0;
	top: 0;
	height: 100%;
}
.menu-bg, .menu {
	background: #333;
	width: 180px;
}
.menu {
	position: fixed;
	top: 50px;
	left: 0;
	color: #fff;
}
.menu li a {
	display: block;
	padding: 10px;
	color: #fff;
	text-decoration: none;
}
.menu li a:hover {
	background: #000;
}
.menu li.current a {
	background: #0c6fcc;
}
.menu li.current a:hover {
	color: #fff;
}
.menu li ul {
	display: none;
	font-size: 12px;
	background: #444;
	padding: 12px 0;
}
.menu li.current ul {
	display: block;
}
.menu li li.current {
	font-weight: bold;
}
.menu li.current li a {
	background: none;
}
.menu li li a {
	padding: 4px 16px;
}
.menu li li a:hover {
	background: none;
}

@media screen and (max-width: 768px) {
	.container-login {
		width: 100%;
		box-sizing: border-box;
		padding: 20px;
	}
	.form-login {
		padding: 15px;
	}
}
