/* 共通設定 */
*{
	font-size: 13px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}

html, body {
	background-color: #c8c8c8;
	background-image: url("../images/background.jpg");
	background-repeat: repeat-x;
	margin: 0;
	padding: 0;
}
header {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #111), color-stop(1.00, #444));
	background: -webkit-linear-gradient(#111, #444);
	background: -moz-linear-gradient(#111, #444);
	background: -o-linear-gradient(#111, #444);
	background: -ms-linear-gradient(#111, #444);
	background: linear-gradient(#111, #444);
	height: 50px;
}

article {
	padding-top: 5px;
}

input.input-date {
	width: 100px;
}
/* ヘッダー */
#header {
	position:absolute;
	text-align:center;
	width: 100%;
	z-index: 0;
}
#header img {
	cursor: pointer;
}

/* タブ */
nav {
	background-color: #2a2a2a;
	color: #ccc;
	height: 50px;
	line-height: 50px;
	padding-left: 5px;
}

nav ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
nav ul li {
	color: #ccc;
	cursor: pointer;
	float: left;
	height: 50px;
	line-height: 50px;
	overflow: hidden;
	text-align: center;
	width: 80px;
}
nav ul li.present {
	color: #fff;
	font-weight: bold;
	border-top: #f00 2px solid;
}

nav ul li a{
	color: #ccc;
	text-decoration: none;
}
/* トップ画面 */
.top_info {
	border: solid 1px #666;
	border-radius: 5px;
	background-color: #fff;
	line-height: 180%;
	margin: 20px auto 20px auto;
	padding: 20px;
	width: 500px;
}
.top_info h1{
	border-left: solid 7px #333;
	margin: 0px;
	padding-left: 5px;
}
.top_info p{
	margin: 10px;
}
.menu{
	cursor: pointer;
	float: left;
	height: 100px;
	width: 100px;
	margin: 30px;
	text-align: center;
}
.login_form {
	margin:auto;
	width:400px;
}

/* レジ機能 */
#datalist {
	display: none;
}
.pages {
	padding-left: 5px;
	padding-right: 350px;
}
.pages h2{
	background-color: #333;
	background: -webkit-gradient(linear, left top, right top, from(#111), to(#555));
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	padding: 3px 10px;
	margin: 3px 0px;
}
#receipt {
	position: absolute;
	top: 50px;
	right: 50px;
	width: 300px;
}
#total {
	background-color: #000;
	color: #fff;
	border: #666 solid 1px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 24px;
	margin: 5px 10px 0px 10px;
	padding: 5px;
	text-align: center;
	-moz-box-shadow:1px 1px 3px #666;
	-webkit-box-shadow:1px 1px 3px #666;
}
.tax {
	font-size: 16px;
}
#regist {
	margin: 3px 10px;
}
#btn_regist {
	cursor: pointer;
}
#receipt_body {
	background-color: #fff;
	border: #666 solid 1px;
	border-radius: 5px;
	margin: 0px 10px;
	padding: 0px 0px 30px 0px;
	text-align: center;
	-moz-box-shadow:1px 1px 3px #666;
	-webkit-box-shadow:1px 1px 3px #666;
}
#print_head{
	display: none;
}
#receipt_head{
	font-size: 14px;
	margin: 0px;
	padding-top: 10px;
}
#detail {
	padding: 0px 10px 0px 10px;
	text-align: left;
	width: 310px;
}
.dline {
	margin-left: 20px;
	height: 25px;
	width: 250px;
}
.dline a {
	color: #333;
}
#reset {
	margin: 3px 0px 0px 10px;
	float: left;
}
#regi {
	margin: 3px 0px 0px 5px;
	float: left;
}
#dis {
	margin: 3px 10px;
}
#data {
	margin: 3px 0px 0px 5px;
	float: left;
}
#print {
	margin: 3px 0px 0px 10px;
	float: left;
}
#btn_dis5,
#btn_dis30 {
	float: left;
}
#btn_dis10,
#btn_dis50 {
	float: right;
}
#btn_view_main {
	cursor: pointer;
}
#btn_view_data {
	cursor: pointer;
}
#change{
	background-color: #444;
	color: #fff;
	border: #666 solid 1px;
	border-radius: 5px;
	font-size: 12px;
	margin: 5px 10px;
	padding: 5px;
	text-align: center;
	-moz-box-shadow:1px 1px 3px #666;
	-webkit-box-shadow:1px 1px 3px #666;
}
#calc {
	background-color: #444;
	border-radius: 5px;
	margin: 0px 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	-moz-box-shadow:1px 1px 3px #666;
	-webkit-box-shadow:1px 1px 3px #666;
}
#calc_body {
	margin: 0 auto;
	width: 220px;
}
.btn_calc {
	border-radius: 5px;
	font-size: 16px;
	height: 55px;
	margin: 5px;
	width: 55px;
}
#keep {
	color: #ff0;
	font-size: 16px;
}
#return {
	color: #ff0;
	font-size: 16px;
}
/* Button */
.button_l {
	font-size:16px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #d83526;
	padding: 10px 20px;
	text-decoration:none;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fa665a), color-stop(100%, #d34639) );
	background:-moz-linear-gradient( center top, #fa665a 5%, #d34639 100% );
	background:-ms-linear-gradient( top, #fa665a 5%, #d34639 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fa665a', endColorstr='#d34639');
	background-color:#fa665a;
	color:#ffffff;
	display:inline-block;
	text-shadow:1px 1px 0px #98231a;
	-webkit-box-shadow:inset 1px 1px 0px 0px #fab3ad;
	-moz-box-shadow:inset 1px 1px 0px 0px #fab3ad;
	box-shadow:inset 1px 1px 0px 0px #fab3ad;
	width: 100%;
}
.button_l:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #d34639), color-stop(100%, #fa665a) );
	background:-moz-linear-gradient( center top, #d34639 5%, #fa665a 100% );
	background:-ms-linear-gradient( top, #d34639 5%, #fa665a 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d34639', endColorstr='#fa665a');
	background-color:#d34639;
}
.button_l:active {
	position:relative;
	top:1px;
}
.button_m {
	font-size:16px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #337fed;
	padding:9px 18px;
	text-decoration:none;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #3d94f6), color-stop(100%, #1e62d0) );
	background:-moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% );
	background:-ms-linear-gradient( top, #3d94f6 5%, #1e62d0 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0');
	background-color:#3d94f6;
	color:#ffffff;
	cursor: pointer;
	display:inline-block;
	text-shadow:1px 1px 0px #1570cd;
	-webkit-box-shadow:inset 1px 0px 5px -50px #97c4fe;
	-moz-box-shadow:inset 1px 0px 5px -50px #97c4fe;
	box-shadow:inset 1px 0px 5px -50px #97c4fe;
	width: 135px;
}.button_m:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #1e62d0), color-stop(100%, #3d94f6) );
	background:-moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% );
	background:-ms-linear-gradient( top, #1e62d0 5%, #3d94f6 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6');
	background-color:#1e62d0;
}.button_m:active {
	position:relative;
	top:1px;
}
.button_s {
	font-size:12px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #000;
	padding: 6px 20px;
	text-decoration:none;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #333), color-stop(100%, #111) );
	background:-moz-linear-gradient( center top, #333 5%, #111 100% );
	background:-ms-linear-gradient( top, #333 5%, #111 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333', endColorstr='#111');
	background-color:#333;
	color:#ffffff;
	display:inline-block;
	text-shadow:1px 1px 0px #000;
	-webkit-box-shadow:inset 1px 0px 5px -50px #000;
	-moz-box-shadow:inset 1px 0px 5px -50px #000;
	box-shadow:inset 1px 0px 5px -50px #000;
}.button_s:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #111), color-stop(100%, #333) );
	background:-moz-linear-gradient( center top, #111 5%, #333 100% );
	background:-ms-linear-gradient( top, #111 5%, #333 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#111', endColorstr='#333');
	background-color:#111;
}.button_s:active {
	position:relative;
	top:1px;
}

/* 登録データ */
.data_tbl {
	border: solid 1px #333;
	border-collapse: collapse;
}
.data_tbl th {
	background-color: #666;
	border-style: solid;
	border-width: 1px;
	border-color: #333;
	color: #fff;
	white-space: nowrap;
}
.data_tbl td{
	background-color: #eee;
	border-style: dotted;
	border-width: 1px;
	border-color: #333;
	color: #000;
	text-align: left;
	padding: 1px 5px;
}
#btn_memory{
	margin: 10px 0px;
	cursor: pointer;
}
#btn_memory_del{
	margin: 10px;
	cursor: pointer;
}
/* 管理画面 */
#manage_tbl {
	border: solid 1px #333;
	border-collapse: collapse;
}
#manage_tbl th {
	background-color: #666;
	border-style: solid;
	border-width: 1px;
	border-color: #333;
	color: #fff;
	padding: 1px 5px;
	white-space: nowrap;
}
#manage_tbl tr{
	background-color: #eee;
}
#manage_tbl tr:hover{
	background-color: #fee;
}
#manage_tbl td{
	border-style: dotted;
	border-width: 1px;
	border-color: #333;
	color: #000;
	padding: 1px 5px;
	text-align: left;
}
#textarea_csv {
	height: 450px;
	width: 700px;
}
#summary {
	font-size: 18px;
	font-weight: bold;
}
.box {
	float: left;
	height: 110px;
	margin: 5px;
	text-align: center;
	width: 85px;
}
.box_image {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center center;
	border: 5px solid #fff;
	border-radius: 8px;
	height: 75px;
	width: 75px;
	-moz-box-shadow:1px 1px 5px #666;
	-webkit-box-shadow:1px 1px 5px #666;
}
.box_footer {
	color: #333;
	font-size: 10px;
	font-weight: bold;
	line-height: 100%;
	margin: 3px 0px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
}

.btn {
	height: 50px;
	margin-bottom: 20px;
	width: 100px;
}
.button {
	height: 30px;
	width: 120px;
}
.clear {
	clear: both;
}
.pmbtn {
	font-size: 15px;
	margin: 3px 5px;
	height: 30px;
	width: 50px;
}
.num {
	font-size: 10px;
}
.divmanage {
	margin: 10px;
}
.divmanage h1 {
	background-color: #333;
	background: -webkit-gradient(linear, left top, right top, from(#111), to(#555));
	border-radius: 3px;
	color: #fff;
	font-size: 13px;
	padding: 3px 10px;
	margin: 3px 0px;
}
.longtext {
	width: 600px;
}
#sideArea {
	position: absolute;
	top: 120px;
	right: 0px;
	width: 330px;
}

/* For Responsive Design */
@media screen and (max-width: 640px) {
	.logo {
		height: auto;
		max-width: 100%;
	}
	.login_form {
		width: auto;
	}
	.top_info {
		margin: 1%;
		padding: 1%;
		width: 95%;
	}
	.menu {
		margin: 0;
		height: auto;
		width: 33%;
	}
	.menu img{
		height: auto;
		max-width: 100%;
	}
	#receipt {
		position: static;
		width: 100%;
	}
	#reset, #print {
		margin: 0;
		padding: 5px;
		width: 46%;
	}
	.button_m {
		width: 100%;
	}
	#dis {
		display: none;
	}
	.pages {
		padding: 5px;
	}
}
