@charset "utf-8";

/**
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.webroot.css
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

* {
	margin:0;
	padding:0;
}

/** General Style Info **/
html{
	height: 100%;
	overscroll-behavior: none;
}

body {
	background: #ffffff;
	color: #333333;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size:90%;
	line-height: 27px;
	margin: 0;
position: absolute;  /* またはfixed */
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: auto;
}
a {
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #ccc;
	text-decoration:none;
}
a img {
	border:none;
}
ul, li {
	margin: 0 12px;
}
p {
	margin: 0;
	padding: 0;
}
.txt-l{
	text-align: left;
}
.txt-r{
	text-align: right;
}
.txt-c{
	text-align: center;
}

/** Layout **/
#header-float {
	width: 100%;
	/*height: 0;*/
}
#header-area {
	width: 100%;
	background-color: #008000;
	/*background-color: #191970;*/
}
#header {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	height: 25px;
	padding: 5px 0;
	background-color: #008000;
	/*background-color: #191970;*/
}
#header img.header-logo{
	float: left;
	margin-bottom: 20px;
}
#header h1 {
	line-height:20px;
	background: #fff1f5 url('../img/cake.icon.png') no-repeat left;
	color: #fff;
	padding: 0 30px;
}
#header h1 a {
	color: #fff;
	background: #fff1f5;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #fff1f5;
	text-decoration: underline;
}

@media screen and (max-width: 640px) {
	#header{
		height: 42px;
		padding: 5px 0;
	}
	#header img {
		width: auto;
		height: 35px;
		margin: 0 5px 0 0;

	}

	#button_box img {
		width: auto;
		height: 50px;
		margin: 0;
	}
}
#title_area{
	width: 11em;
	color: #ffffff;
	font-size: 150%;
}

#date_area{
	width: 10em;
	color: #ffffff;
}
#login_area{
	width: 15em;
	color: #ffffff;
}
#header .hbox{
	float: left;
}

#content{
	display: block;
	/*width: 100%;*/
	max-width: 1250px;
	overflow-x: hidden;
	background: #fff;
	clear: both;
	color: #333;
	margin: 80px auto 10px;
	padding: 20px 0;
	border: solid 1px #ddd;
//	box-shadow:5px 5px 5px #777;
}

#footer {
	width: 100%;
	height: 50px;
	padding: 0;
	clear: both;
	background: #fff;
}

@media screen and (max-width: 640px) {
	#content {
		width: 320px;
		margin: 50px auto 0;
	}

	#footer {
		height: 80px;
		clear: both;
		background: #fff;
	}
}

#header a, #footer a {
	color: #aaaaaa;
}
#cake-powered {
	float: right;
}

/** containers **/
#container {
	width: auto;
	/*height: 100%;*/
	clear: both;
}

div.form,
div.index,
div.view {
	float:right;
	width:76%;
	border-left:1px solid #666;
	padding: 0;
}
div.actions {
	float:left;
	width:16%;
	padding:10px 1.5%;
}
div.actions h3 {
	padding-top:0;
	color:#777;
}


/** Tables **/
table {
	border: 1px solid #ddd;
	color: #333;
	width: 100%;
//	max-width: 800px;
	margin: 0 auto;
	table-layout: fixed;
	border-spacing: 0;
	background: #fcfcfc;
}

@media screen and (min-width: 801px) {
	table.main_info {
		width: 400px;
		bottom: 0px;
		right: 0px;
		float: left;
	}
}

@media screen and (max-width: 800px) {
	table.main_info {
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}
}

th {
	background-color: #f3f3f3e;
	border:0;
	border-left:1px solid #f0f0f0;
	border-bottom:1px solid #ddd;
	text-align: left;
	padding:4px;
	color: #aaa;
	font-weight: normal;
	font-size: 12px;
	line-height: 12px;

}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
tr.clickable:hover td {
    background: #ecf2fa;
    cursor: pointer;
}

table tr td {
	height: 40px;
	border: 0;
	margin: 0 !important;
	padding: 0 5px!important;
	text-align: left;
	vertical-align: middle;
	border-bottom:1px solid #ddd;
	border-left:1px solid #f0f0f0;
}
table tr:nth-child(even) {
	background: #fff;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td a {
	margin: 0 !important;
	padding:0 !important;
}

/* SQL log */
.cake-sql-log {
	background: #fff;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Paging **/
.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	margin-left: 5px;
	clear:both;
}
.paging .current,
.paging .disabled,
.paging a {
	text-decoration: none;
	padding: 0 8px;
	display: inline-block
}
.paging > span {
	display: inline-block;
	border: 1px solid #ccc;
	border-left: 0;
}
.paging > span:hover {
	background: #efefef;
}
.paging .prev {
	border-left: 1px solid #ccc;
	-moz-border-radius: 4px 0 0 4px;
	-webkit-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}
.paging .next {
	-moz-border-radius: 0 4px 4px 0;
	-webkit-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
}
.paging .disabled {
	color: #ddd;
}
.paging .disabled:hover {
	background: transparent;
}
.paging .current {
	background: #efefef;
	color: #c73e14;
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl dd:nth-child(4n+2),
dl dt:nth-child(4n+1) {
	background: #f4f4f4;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
	width: 10em;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: none;
	padding: 0 10px;
	margin-bottom: 20px;
}
fieldset legend {
	color: #01489D;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0;
	padding: 10px 0 0;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	margin: 0;
	padding: 0;
	vertical-align: text-top;
}
form .input {
	color: #444;
	display: inline-block;
	width: 100%;
}
form .required {
	/*font-weight: bold;*/
}
/*
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
*/
span.require:after{
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	display: block;
	border: 0;
	margin: 0;
	margin-top: 10px;
	float: left;
}
label {
	display: block;
	margin-bottom:3px;
}
input, textarea {
	clear: both;
	font-size: 14px;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1px;
	width:90%;
}
select {
	clear: both;
	font-size: 14px;
	margin: 3px 1px 0;
	padding: 1px;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
//	margin: 0 6px 7px 2px;
	margin: 7px 3px 0;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	width: 30px;
	float: left;
	margin: 7px 0;
}
.radio,
.radio label {
	display: inline;
	float: left;
	margin-right: 10px;
}
input[type=submit],
button[type=submit] {
	display: inline;
	font-size: 110%;
	width: auto;
}
form .submit input[type=submit],
button[type=button],
button[type=submit]{
	background:#fff;
	border-color: #2e5591;
	color: #333;
	padding: 8px 10px;
	font-size: 110%;
	min-width: 100px;
	margin-bottom: 5px;
}
#earnings-edit button[type=button]{
	min-width: 150px;
}


/* Form errors */
form .error {
	background: #FFDACC;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: normal;
}
form .error-message {
	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	border: none;
	background: none;
	margin: 0;
	padding-left: 4px;
	padding-right: 0;
}
form .error,
form .error-message {
	color: #9E2424;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

/** Notices and Errors **/
.message {
	clear: both;
	color: #ffcc00;
	font-size: 140%;
	font-weight: bold;
	margin: 0;
	padding: 5px;
}

.success,
.message,
.cake-error,
.cake-debug,
.notice,
p.error,
.error-message {
	background: #fff;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00, #E6B800);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid #ffcc00;
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.success,
.message,
.cake-error,
p.error {
	clear: both;
	color: #c43c35;
	background: #fff;
	border: 1px solid #c43c35;
	position: absolute;
	right: 0;
	top: 60px;
	z-index: 100;
}
.error-message {
	clear: both;
	color: #c43c35;
}
.success {
	clear: both;
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
p.error {
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	font-weight: normal;
	line-height: 140%;
}
.notice {
	color: #000;
	display: block;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	color: #fff;
}

/**  Actions  **/
.actions ul {
	margin: 0;
	padding: 0;
}
.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}

/* Buttons and button links */
input[type=submit],
.actions ul li a,
.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
	color:#333;
	border:1px solid #bbb;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	min-width: 0;
	-webkit-user-select: none;
	user-select: none;
}
.actions ul li a:hover,
.actions a:hover {
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
input[type=submit]:active,
.actions ul li a:active,
.actions a:active {
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0 1px 0;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}

/** Related **/
.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 15px;
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.cake-debug-output {
	padding: 0;
	position: relative;
}
.cake-debug-output > span {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(255, 255, 255, 0.3);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 6px;
	color: #000;
	display: block;
	float: left;
	-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
.cake-debug,
.cake-error {
	font-size: 16px;
	line-height: 20px;
	clear: both;
}
.cake-error > a {
	text-shadow: none;
}
.cake-error {
	white-space: normal;
}
.cake-stack-trace {
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	margin: 10px 0 5px 0;
	padding: 10px 10px 0 10px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.cake-stack-trace a {
	text-shadow: none;
	background: rgba(255, 255, 255, 0.7);
	padding: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 0 4px 10px 2px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 14px;
	display: inline-block;
	text-decoration: none;
	-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
}
.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
.cake-context {
	margin-bottom: 10px;
}
.cake-stack-trace pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0 0 10px 0;
	padding: 1em;
	overflow: auto;
	text-shadow: none;
}
.cake-stack-trace li {
	padding: 10px 5px 0;
	margin: 0 0 4px 0;
	font-family: monospace;
	border: 1px solid #bbb;
	-moz-border-radius: 4px;
	-wekbkit-border-radius: 4px;
	border-radius: 4px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
}
/* excerpt */
.cake-code-dump pre,
.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
.cake-code-dump .code-highlight {
	display: block;
	background-color: rgba(255, 255, 0, 0.5);
}
.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
.code-coverage-results div.covered span.content {
	background:#cec;
}
.code-coverage-results div.ignored span.content {
	color:#aaa;
}
.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
.code-coverage-results span.line-num strong {
	color:#666;
}
.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0 1px;
	margin-top:30px;
	padding-top:5px;
}
.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
.code-coverage-results div.realstart {
	margin-top:0px;
}
.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
.code-coverage-results span.result-bad {
	color: #a00;
}
.code-coverage-results span.result-ok {
	color: #fa0;
}
.code-coverage-results span.result-good {
	color: #0a0;
}

/** Elements **/
#url-rewriting-warning {
	display:none;
}

/** ページ **/
#button_box{
	float: right;
	margin-right: 20px;
	z-index: 10000;
	position: fixed;
	top: 10px;
	right: 0;
}

@media screen and (max-width: 640px) {
/* 唐戸魚市場はスマホでも上
	#button_box{
		position: static;
		position: fixed;
		top: auto;
		bottom: 0px;
		right: 0px;
	}
*/
}

.list_contents{
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	overflow: hidden;
}
#headblock{
	overflow: hidden;
}

.data_contents{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;

}

.wide_contents{
	display: block;
	width: 100%;
	height: 80%;
/*	min-height: 400px;*/
	padding: 0;
	margin: 0 auto 0px;
	/*margin: 0 auto 50px;*/
	float: left;
	overflow: scroll;
}

.wide_contents_blank {
	display: block;
	width: 100%;
	height: 70px;
}
.earnings h2{
	float: left;
	margin-right: 20px;
	line-height: 33px;
	padding: 0px;
}
div.status-box{
	float: left;
}
div.status-box p.st0{
	color: #ffffff;
	background-color: #ffa500;
	padding: 3px 10px;
}
div.status-box p.st85,
div.status-box p.st19{
	color: #ffffff;
	background-color: red;
	padding: 3px 10px;
}
div.status-box p.st10{
	color: #404040;
	background-color: #ffff00;
	padding: 3px 10px;
}
div.status-box p.st15{
	color: #ffffff;
	background-color: #32cd32;
	padding: 3px 10px;
}

div.status-box p.st20,
div.status-box p.st50{
	color: #ffffff;
	background-color: blue;
	padding: 3px 10px;
}
div.status-box p.st80{
	color: #ffffff;
	background-color: #404040;
	padding: 3px 10px;
}
/* 表のステータス表示 */
td.st0{
	color: #ffffff;
	background-color: #ffa500;
}
td.st85,
td.st19{
	color: #ffffff;
	background-color: red;
}
td.st10{
	color: #404040;
	background-color: #ffff00;
}
td.st15{
	color: #ffffff;
	background-color: #32cd32;
}
td.st20,
td.st50{
	color: #ffffff;
	background-color: blue;
}
td.st80{
	color: #ffffff;
	background-color: #404040;
}


div#control-box{
	clear: both;
	height: 50px;
}
div#control-box div.action-box{
	float: right;
}

@media screen and (max-width: 640px) {
	.wide_contents{
		width: 320px;
		float: none;
	}
}

.state_title {
	width: 100%;
	margin: 0;
	margin-left: 10px;
}

.icon_box {
	width: 70px;
	margin: 5px 10px 5px 20px;
	padding: 0;
	float: left;
}

.link_box {
	margin: 0 auto;
	padding: 0;
}

.data_box {
	width: 300px;
	margin: 10px;
	padding: 0;
	float: left;
}

.control_box {
	width: 300px;
	padding: 20px;
	border: solid 1px #aaa;
	background-color: #fff;
	position: fixed;
	top: 170px;
	right: 12%;
}


.large-font {
	color: #000;
	font-size: 18px;
}

@media screen and (max-width: 640px) {
	.link_box {
		width: 320px;
	}

	.control_box {
		display: block;
		width: 100%;
		padding: 0;
		border: none;
		position: static;
		top: 0;
		right: 0;
	}
}


/*** ログイン画面 ***/
#top-login_top{
	margin: 50px auto 0 auto;
//	height: 60%;
//	position: relative;
}

#top-login {
	width: 640px;
	height: 700px;
	margin: 0 auto;
	background-color: #f4f5f8;
	border-bottom: solid 2px #2e5591;
	position: absolute;
//	bottom: -210px;
}

#login-content {
	width: 320px;
	margin: 0 auto;
	height: 100%;
}

#login-content img{
	display: block;
	margin: 20px auto;
}

#top-login_top,
#top-login {
	width: 640px;
}

@media screen and (max-width: 640px) {
	#top-login_top,
	#top-login,
	#login-content {
		width: 320px;
	}

	#login-content img{
		margin: 12px auto;
	}
}

#logout-content {
	width: 140px;
	margin: 0 auto;
}


/*** 人配管理 ***/

table.position {
	font-size: 11px;
	line-height: 15px;
}

table.position th {
	height: 12px;
	padding: 0;
	z-index: 9999;
}

table.position td {
	height: 30px;
	overflow: hidden;
	border-left: solid 1px #eee
}

table.position a {
	display: inline;
	width: 100%;
	line-height: 15px;
	text-decoration: none;
	font-weight: normal;
}

table.position td img {
	display: inline;
}

th.t-head,
td.t-head {
}

table.site-name {
	width: 100%;
	max-width: 100%;
	border: none;
	background-color: #fff;
}


/*** 明細 ***/
.detail input {
	border: none;
	padding: 10px 0;
	background: none;
}

.detail input:disabled {
	background-color: #fafafa;
}

/*** 日付選択 ***/
div.ymBlock{
	float: right;
	text-align: right;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 0 10px;
}
div.ymBlock a{
	display: inline-block;
	border: 1px solid #cccccc;
	padding: 0 5px;
	margin: 0 10px;
	text-decoration: none;
}


/*** セパレーター ***/

.separater {
	width: 100%;
	border: 0;
	height: 1px;
	background: #bbb;
	background-image: -webkit-linear-gradient(left, #2e5591, #aaa, #eee);
	background-image: -moz-linear-gradient(left, #2e5591, #355bf1, #eee);
	background-image: -ms-linear-gradient(left, #2e5591, #355bf1, #eee);
	background-image: -o-linear-gradient(left, #2e5591, #355bf1, #eee);
	margin: 15px auto;
}

/*** レイアウト ***/

.w10 {width: 10px;}
.w20 {width: 20px;}
.w30 {width: 30px;}
.w40 {width: 40px;}
.w50 {width: 50px;}
.w60 {width: 60px;}
.w70 {width: 70px;}
.w80 {width: 80px;}
.w90 {width: 90px;}
.w100 {width: 100px;}
.w120 {width: 120px;}
.w125 {width: 125px;}
.w130 {width: 130px;}
.w140 {width: 140px;}
.w150 {width: 150px;}
.w170 {width: 170px;}
.w200 {width: 200px;}
.w230 {width: 230px;}
.w250 {width: 250px;}
.w300 {width: 300px;}
.w90p {width: 95%;}
.w15 {width: 15px;}

.vertical {
	width: 10px!important;
	padding: 0 10px 0 5px!important;
	text-align: center!important;
}
.pc-only {
	display: block;
}
.mobile-only {
	display: none;
}

table .pc-only {
	display: table-cell;
}
@media screen and (max-width: 640px) {
	.pc-only {
		display: none!important;
	}
	.mobile-only {
		display: block!important;
	}

	table .mobile-only {
		display: table-cell!important;
	}
}

.input-hyphen{
	line-height: 27px;
}

.tel-input-area {
	width: 100%;
	margin: 0;
}

.clear {
	clear: both;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

col.mobile_none {
	visibility: collapse;
}

.float-l {
	float: left;
}

.float-r {
	float: right;
}

.charactor {
	width: 100%;
}

.charactor_box {
	width: 300px;
	height: 400px;
	margin: 0 auto;
	overflow: hidden;
}

.alert-msg {
	width: 90%;
	margin: 0;
	padding: 10px;
	font-size: 100%;
	color: #000;
	background: #fff;
	border: solid 1px #fff;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
}
.frame1 {
    height: 20px;
    border-style: solid;
    border-color: #777;
    border-width: 1px 0 0 0;
    border-radius: 20px;
}

.frame2 {
    display: block;
    content: "";
    height: 20px;
    border-style: solid;
    border-color: black;
    border-width: 0 0 1px 0;
    border-radius: 20px;
}

img.img_btn {
	width: 50px;
}

img.img_btn_r {
	width: 50px;
	float: right;
}

a:hover{
//	background-color: #fff;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}

/***************************/
/*****  Configuration  *****/
/***************************/

input#search{ 
	display: inline;
	width: 300px;
	margin: 2px;
	padding: 5px;
	border: solid 1px #cccccc;
}
@media screen and (max-width: 640px) {
	input#search{ 
		width: 180px;
	}
}

/*** 見出し ***/

h1, h2, h3, h4 {
	font-weight: normal;
	margin:0 0 10px ;
}
h1 {
	color: #00439a;
	font-size: 160%;
	text-align: center;
}
h2 {
	background:#fff;
	color: #fa8072;
	font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
	font-size: 150%;
	font-weight: bold;
	line-height: 30px;
	vertical-align: middle;
	padding: 10px 3px 0;
}
h3 {
	width: 98%;
	padding: 0 1%;
	border: 1px solid #fa8072;
	color: #fa8072;
	font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
	font-size: 140%;
}
h4 {
	color: #777;
	font-weight: normal;
	font-size: 120%
}

.contentTitle {
	float: left;
}
.contentValue {
	float: left;
	width: calc(100% - 120px);
}
#price-hae .contentValue {
	float: left;
	width: calc(100% - 200px);
}
.controls .contentValue {
	float: left;
	width: calc(100% - 200px);
}

@media screen and (max-width: 640px) {
	.contentTitle {
		float: none;
		width: 100%;
		background-color: #6495ed;
		color: #ffffff;
	}
	.contentValue {
		float: none;
		width: 100%;
		min-height: 1em;
		margin-bottom: 10px;
	}
}




/*** ボタン ***/

.btn1,
.btn2,
.btn3,
.btn4,
.btn5,
.btn6,
.btn7 {
	display: inline-block;
	background: #fff;
	border: 1px solid #DDD;
	color: #777;
	text-decoration: none;
	margin: 5px;
	text-align: center;
}

.btn1:active,
.btn2:active,
.btn3:active,
.btn4:active,
.btn5:active,
.btn6:active,
.btn7:active {
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
}

.btn1 {
	width: 147px;
	line-height: 75px;
}

.btn2 {
	width: 100px;
	line-height: 45px;
	padding: 0 !important;
}

.btn3 {
	width: 70px;
	line-height: 12px;
	padding: 10px 0 !important;
	font-size: 12px;
}

.btn4 {
	width: 20px;
	line-height: 20px;
	padding: 0 !important;
	font-size: 80%;
}
.btn5 {
	width: 130px;
	line-height: 45px;
	padding: 0 !important;
}
.btn6 {
	width: 90px;
	line-height: 12px;
	padding: 10px 0 !important;
	font-size: 12px;
}
.btn7 {
	width: 200px;
	line-height: 75px;
}


/*** 色 ***/
.color-red{
	color: #cc0033;
	border-color: #e60073;
	/*
	color: #fa8072;
	border-color: #ffc0cb;
	*/
}

.color-orange {
	color: #ff3300;
	border-color: #ff7300;
	/*
	color: #ff8c00;
	border-color: #ffd700;
	*/
}

.color-blue {
	color: #003399;
	border-color: #003399;
	/*
	color: #6495ed;
	border-color: #b0c4de;
	*/
}

.color-green{
	color: #008000;
	border-color: #8FBC8F;
}

.color-plam{
	color: #8B008B;
	border-color: #D8BFD8;
}

/*** suggest ***/

div.suggest_list,
/*
#production_area_cd_list,
#owner_cd_list,
#user_id_list,
*/
#suggest1,
#suggest2,
#suggest3,
#suggest4,
#suggest5,
#suggest6,
#suggest7,
#suggest {
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #CCCCFF;
    font-size: 90%;
    /*width: 270px;*/
    height: 200px;
	z-index: 100;
	overflow: auto;
}
div.suggest_list div,
/*
#production_area_cd_list div,
#owner_cd_list div,
#user_id_list div,
*/
#suggest1 div,
#suggest2 div,
#suggest3 div,
#suggest4 div,
#suggest5 div,
#suggest6 div,
#suggest7 div,
#suggest div {
    display: block;
    width: 270px;
    overflow: hidden;
    white-space: nowrap;
    color: #333333;
	text-align: left;
//	border: none;
}

div.suggest_list div.select,
/*
#production_area_cd_list div.select,
#owner_cd_list div.select,
#user_id_list div.select,
*/
#suggest1 div.select,
#suggest2 div.select,
#suggest3 div.select,
#suggest4 div.select,
#suggest5 div.select,
#suggest6 div.select,
#suggest7 div.select,
#suggest div.select{ /* キー上下で選択した場合のスタイル */
    color: #FFFFFF;
    background-color: #3366FF;
}
div.suggest_list div.over,
/*
#production_area_cd_list div.over,
#owner_cd_list div.over,
#user_id_list div.over,
*/
#suggest1 div.over,
#suggest2 div.over,
#suggest3 div.over,
#suggest4 div.over,
#suggest5 div.over,
#suggest6 div.over,
#suggest7 div.over,
#suggest div.over{ /* マウスオーバ時のスタイル */
    background-color: #99CCFF;
}



/***************************/
/********* 共通 *********/
div#submit_box{
	/*width: 200px;*/
	width: 90%;
	position: fixed;
	bottom: 0px;
	left: 0px;
	/*right: 20px;*/
	text-align: right;
	background-color: #ffffff;
	padding: 0px 5%;
}
@media screen and (max-width: 640px) {
	div#submit_box{
		padding: 5px 5% 50px;
	}
}

/* ポップアップマスタ選択 */
.popup div#submit_box{
	width: 100px;
	position: fixed;
	top: auto;
	bottom: 0px;
	left: auto;
	right: 0px;
	text-align: right;
}
.popup div#submit_box button{
	margin-bottom: 5px;
}
.popup table tr:hover td {
    background: #ecf2fa;
    cursor: pointer;
}



div.sub_block{
	margin-bottom: 10px;
}
/***** フォーム関連 *****/
input.size7{
	width: 7em!important;
}
input.size6{
	width: 6em!important;
}
input.size5{
	width: 5em!important;
}
input.size4{
	width: 4em!important;
}
input.size3{
	width: 3em!important;
}
input.txt-long{
	width: 90%!important;
}
input.txt-middle{
	width: 65%!important;
}
input.txt-short{
	width: 30%!important;
}
input.txt-code{
	width: 20%!important;
}
input.txt-name{
	width: 70%!important;
}


form div.input-float div.input{
	display: inline-block;
	width: auto;
}
.focusReadOnly {
	background-color:#CCCCCC;
}
.form-error {
    border: 1px solid red;
}
form div.error-message{
	position: absolute;
	/*position: relative;*/
	z-index: 1000;
	background-color: #ffffff;
	border: 1px solid red;
	padding: 5px 10px;
}

/***** 一覧　検索フォーム *****/
div#search-block{
	width: 100%;
	margin: 10px auto;
}
div#search-block #open-button{
	width: 100%;
    margin: 30px auto 10px;
    padding: 5px;
    background: #eee;
    border: 1px solid #ccc;
    text-align: center;
}
div#search-block #open-button:hover{
	cursor: pointer;
}

/***** マスター選択ポップアップ *****/
.popup,
.popup2{
	width: 85%;
	margin: 0 0 0 5%;
}
.popup table{
	margin-bottom: 100px;
}



/***** scroll fixed *****/
#fixnav{
	/*height: 200px;*/
	background-color: #ffffff;
	max-width: 1000px;
	width: 100%;
	margin-bottom: 30px;
}
#fixnav2{
	/*height: 200px;*/
	background-color: #ffffff;
	width: 100%;
	margin-bottom: 30px;
}

.fixed_not{
	position: relative; 
	top: 0;
}
.fixed{
	position: fixed; 
	top: 0;
}
.fixed_releace{
	position: absolute;
}

.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background-color: #ffffff;
}
@media screen and (max-width: 640px) {
	#fixnav{
		max-width: 320px;
	}
}




/********* 仕切入力 *********/
/* 編集フォーム */
.earning form input{
	width: auto;
}
.earning form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/*タブメニュー*/
ul#tab_menu{
	clear: both;
	overflow:hidden;
	list-style: none;
	width: 100%;
}
ul#tab_menu li{
	width: 18%;
	background:#ccc; 
	padding: 3px 10px; 
	float:left; 
	margin-right:2%;
	margin-left:2%;
	list-style: none;
	/*border: 1px solid #dddddd;*/
	font-size: 14px;
	text-align: center;
}
ul#tab_menu li:hover{
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
	cursor: pointer;
}
ul#tab_menu li.select{
	font-size: 150%;
	font-weight: bold;
}

/* 合計テーブル */
.contents_box{
	margin-bottom: 20px;
}
#sumTbl td.blank-cell{
	background-color: #9f9f9f;
}
#sumTbl th,
#feeTbl th{
	font-size: 9px;
	/*height: 27px;*/
}
#sumTbl td,
#feeTbl td{
	/*height: 27px;*/
	height: auto;
}
#sum_block{
	width: 65%;
	float: left;
	margin-right: 2%;
}
#other_block{
	width: 33%;
	float: left;
}
@media screen and (max-width: 640px) {
	#sum_block{
		width: 100%;
		float: none;
		margin-right: 0%;
	}
	#other_block{
		width: 100%;
		float: none;
	}
}



/* 明細テーブル */
#detail_section{
	/*overflow: hidden;*/
}

.nav div.wide_contents{
	display: none;
	overflow: hidden;
}
#detail_section div.wide_contents{
	display: none;
	margin-bottom: 100px;
	overflow: hidden;
	/*
	overflow-x: scroll;
	overflow-y: auto;
	*/
}
table.detail_table{
	width: 100%;
	background-color: #b0e0e6;
	/*background-color: #e5f2ff;*/
}
table.detail_table,
table.detail_table th,
table.detail_table td{
	border: none;
}
table.detail_table tr{
	margin-bottom: 5px;
}
table.detail_table tr.akaden_line{
	background-color: #ffa3a3;
}
table.detail_table tr.mod_line{
	background-color: #ffff7f;
}
div.mod_line{
	overflow: hidden;
	background-color: #ffff7f;
}
table.detail_table th{
	color: #FFFFFF;
	background-color: #407BBF;
	border-right: #FFF 1px solid;
	padding: 5px!important;
	font-size: 11px;
}
table.detail_table td{
	vertical-align: top;
	/*padding: 5px!important;*/
}
table.detail_table th.delbox,
table.detail_table th.updownbox{
	background-color: #FFFFFF!important;
}

.sale_tab table th,
ul#tab_menu li#sale_menu{
	color: #FFFFFF;
	background-color: #006eb0;
	/*background-color: #6C9BD2;*/
}
.buying_tab table th,
ul#tab_menu li#buying_menu{
	color: #FFFFFF;
	background-color: #37a34a;
	/*background-color: #69BD83;*/
}
.stock_tab table th,
ul#tab_menu li#stock_menu{
	color: #FFFFFF;
	background-color: #f39700;
	/*background-color: #F9C270;*/
}
.fee_tab table th,
ul#tab_menu li#fee_menu{
	color: #FFFFFF;
	background-color: #d83473;
	/*background-color: #EE87B4;*/
}
div.foot_menu{
	width: 80%;
	margin: 10px auto;
}
table#fee td input{
	display: inline-block;
}
/* フォームの隙間対策 */
table.detail_table td{
	height: auto;
}
.earnings table.detail_table input,
.earnings table.detail_table select{
	width: 100%!important;
	margin: 0;
	display: block;
	/*float: left;*/
}
/*
#deposit_block table.detail_table input{
	width: auto;
	margin: 0;
	float: left;
}
*/

table.detail_table div.txt-code-box{
	width: 20%!important;
	display: block;
	float: left;
}
table.detail_table input.txt-code{
	width: 100%!important;
}
table.detail_table input.txt-code2{
	width: 40%!important;
}
#trans-edit table.detail_table{
	background-color: #ffffff;
}

table.detail_table div.txt-name-box{
	display: block;
	float: left;
	width: 80%!important;
}
table.detail_table input.txt-name{
	width: 100%!important;
}
/* 編集フォーム */
div.left-box{
	width: 50%;
	float: left;
}
div.right-box{
	width: 50%;
	float: right;
}
form ul, li {
	margin: 0 0px;
}
@media screen and (max-width: 640px) {
	div.left-box{
		width: 100%;
		float: none;
	}
	div.right-box{
		width: 100%;
		float: none;
	}
}
/* カレンダー調整 */
#earnings-add button[type=button].ui-datepicker-trigger,
#earnings-edit button[type=button].ui-datepicker-trigger{
	display: none;
	/*
	width: 0px;
	min-width: 0px;
	border: none;
	background-color: transparent;
	padding: 0;
	*/
}
/*
#earnings-edit button[type=button].ui-datepicker-trigger img{
	cursor: pointer;
	margin-left: 7px!important;
	vertical-align: middle;
	width: 100%;
}
*/

/********* 荷主管理 *********/
/* 編集フォーム */
.owners form input{
	width: auto;
}
.owners form div.input-radio label{
	display: inline-block;
	width: 7em;
}
.owners div.input-label label{
	max-width: 100px;
}
/********* 社員管理 *********/
/* 編集フォーム */
.users form input{
	width: auto;
}
.users form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 品名管理 *********/
/* 編集フォーム */
.items form input{
	width: auto;
}
.items form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 規格管理 *********/
/* 編集フォーム */
.standards form input{
	width: auto;
}
.standards form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 産地管理 *********/
/* 編集フォーム */
.production-areas form input{
	width: auto;
}
.production-areas form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 支払先管理 *********/
/* 編集フォーム */
.payments form input{
	width: auto;
}
.payments form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 所属管理 *********/
/* 編集フォーム */
.groups form input{
	width: auto;
}
.groups form div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 仲卸人管理 *********/
/* 編集フォーム */
.clients form input{
	width: auto;
}
.clients form div.input-radio label{
	display: inline-block;
	width: 9em;
}
/********* ステータス表示 *********/
table tr.st20{
	background-color: #ffffa3;
	color: #333;
}

/********* 仕切書 *********/
table tr td.no_use{
	background-color: #bbbbbb!important;
}
table tr td.fax_confirm{
	background-color: #ffffa3!important;
}
/********* 売渡計算書 *********/
#shikiri-index div.allCheck,
#uriwatashi-index div.allCheck,
#bill-index div.allCheck,
#keisan-index div.allCheck{
	width: 350px;
	/*float: left;*/
}

/********* 在庫管理 *********/
#stocks-view no-mod{
	background-color: #9f9f9f;
}

/********* ふく販売証明 *********/
.same{
	background-color: yellow;
}
.trans{
	background-color: #ff0033;
}

/********* ラベル印刷 *********/
#ownerlabel-index div.input-radio label{
	display: inline-block;
	width: 7em;
}
/********* 帳票類 *********/
#anytimeout form div.input-radio label{
	display: inline-block;
	width: 10em;
}
/********* 帳票類 *********/
#monthlyouts form div.input-radio label{
	display: inline-block;
	width: 10em;
    /*background-color: #191970;*/
}


/********* 上部メニュー *********/
#topMenu div.link_box a{
	width: 14%;
	color: #ffffff;
    background-color: #191970;
}


/********* 下部メニュー *********/
#GrobalNaviSP {
	position: fixed;
	left: 10px;
	bottom: -200px;
	left: 0;
    z-index: 9999;
    float: none;
    margin: 0 0px 1px;
    padding: 0;
    max-width: 350px;
	width: 100%;
	height: 241px;
}
#GrobalNaviSP #BtnMenu {
    display: block;
    position: relative;
    left: 10px;
    /* top: 0px; */
    /* right: 10px; */
    width: 200px;
    height: 41px;
    /*margin: 0 auto;*/
    background-color: #191970;
    color: #ffffff;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	padding-top: 10px;
	border-radius: 10px 10px 0 0 / 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0 / 10px 10px 0 0;

}
#GrobalNaviSP #BtnMenu:hover {
	cursor: pointer;
}
#GrobalNaviSP .spMenuWrap{
	display: block;
	position: absolute;
	top: 40px;
	left: 0px;
	width: 100%;
	/*width: 40%;*/
	max-width: 350px;
	height: 200px;
    background-color: #191970;
    padding-top: 20px;
	/*background-color: #ffffff;*/
}
#GrobalNaviSP ul{
	list-style: none;
	display: block;
    position: relative;
    top: 10px;
    left: 0px;
    width: 85%;
    margin: 0 auto;
    height: 200px;
    background-color: #dddddd;
	/*background-color: #ffffff;*/
    padding-top: 10px;
}
#GrobalNaviSP ul li{
	list-style: none;
    float: left;
    width: 33%;
    /*width: 14.2%;*/
	text-align: center;
	max-height: 80px;
	margin-bottom: 10px;
}
#GrobalNaviSP ul li a{
	display: inline-block;
	height: 100%;
}

#GrobalNaviSP {
    bottom: -159px;
    height: 200px;
}
#GrobalNaviSP ul li{
    float: left;
    width: 33%;
	text-align: center;
	max-height: 60px;
	margin-bottom: 10px;
}
#GrobalNaviSP ul li a img{
	height: 60px;
}
#GrobalNaviSP ul li a{
	display: inline-block;
	height: 100%;
}
@media screen and (max-width: 640px) {

	#GrobalNaviSP .btn2{
		width: 90px;
		line-height: 14px;
		padding: 15px 0!important;
		font-size: 13px;
	}
	
	#topMenu div.link_box a{
		width: 45%;
	}
	
}
