﻿/* 上書き */
#main-wrapper {
	width: 640px;
	margin-right: 25px;
}

/* Inquery */
.msg-off {
	display: none;
}
.msg-on {
	display: inline;
	font-size: 11px;
	color: #FF3300;
}
.short_input {
	width: 80px;
}
.middle_input {
	width: 180px;
}
.long_input {
	width: 300px;
}
.big_input {
	width: 99%;
	height: 120px;
}
#formtable
{
	font-size: 13px;
	border: 1px #E3E3E3 solid;
	border-collapse: collapse;
	margin-bottom: 20px;
	width: auto;
}
#formtable tr th, #formtable tr td
{
	font-size: 13px;
	vertical-align: top;
	padding: 0;
}
#formtable tr td p, #formtable tr th p
{
	font-size: 13px;
	line-height: 19px;
	padding: 8px 0 4px 6px;
}
#formtable tr td span, #formtable tr th span
{
	font-size: 13px;
	line-height: 19px;
}
#formtable tr th
{
	width: 170px;
}
#formtable tr td
{
	width: 465px;
}
#formtable tr td span.msg-on, #formtable tr td p.msg-on
{
	font-size: 11px;
}
#formtable #order-book-table
{
	width: auto;
	margin-left: 4px;
}
#formtable #order-book-table tr td
{
	width: auto;
}
#formtable #order-book-table td 
{
    border-style: none;
	padding: 1px;
	width: auto;
}
#formtable #order-book-table td .short_input 
{
    width: 2em;
    margin-right: 4px;
}
#formtable #order-book-table td.input-msg 
{
    border-style: none;
}
#submit-wrapper
{
	text-align:right;
	padding-right: 20px;
}
#SubmitForm {
	margin-left: 0.5em;
	padding: 2px 10px 2px 10px;
	background-color: #990000;
	border: medium outset #FF3300;
	color: #FFFFFF;
}
#confirm-wrapper a#confirm-to-edit {
	display: block;
	width: 200px;
	text-align: center;
	float: left;
	margin-left: 100px;
	background-color: #990000;
	border: medium outset #FF3300;
	line-height: 1.5em;
	color: #FFFFFF;
}
#confirm-wrapper a#confirm-to-edit:link {
	background-color: #990000;
}
#confirm-wrapper a#confirm-to-edit:visited {
	background-color: #990000;
}
#confirm-wrapper a#confirm-to-edit:hover {
	background-color: #FF3300;
}
#confirm-wrapper a#confirm-to-edit:active {
	background-color: #FF3300;
}
#confirm-wrapper a#confirm-to-site {
	display: block;
	width: 180px;
	text-align: center;
	float:right;
	margin-right: 100px;
	background-color: #0033CC;
	border: medium outset #0000FF;
	line-height: 1.5em;
	color: #FFFFFF;
}
#confirm-wrapper a#confirm-to-site:link {
	background-color: #0033CC;
}
#confirm-wrapper a#confirm-to-site:visited {
	background-color: #0033CC;
}
#confirm-wrapper a#confirm-to-site:hover {
	background-color: #0066CC;
}
#confirm-wrapper a#confirm-to-site:active {
	background-color: #0066CC;
}
#greeting-logout {
	margin-top: 14px;
}
#greeting-logout a {
	display: block;
	width: 180px;
	text-align: center;
	margin-right: 100px;
	background-color: #0033CC;
	border: medium outset #0000FF;
	line-height: 1.5em;
	color: #FFFFFF;
}
#greeting-logout a:link {
	background-color: #0033CC;
}
#greeting-logout a:visited {
	background-color: #0033CC;
}
#greeting-logout a:hover {
	background-color: #0066CC;
}
#greeting-logout a:active {
	background-color: #0066CC;
}

@media screen and (max-width:599px) {

	#main-wrapper {
		float: right;
		width: 90%;
		margin-right: 5%;
		display: inline;
	}

	#formtable
	{
		width: 100%;
	}
	#formtable tr th
	{
		width: 40%;
	}
	#formtable tr td
	{
		width: 60%;
	}

	.short_input {
		width: 98%;
	}
	.middle_input {
		width: 98%;
	}
	.long_input {
		width: 98%;
	}

	#confirm-wrapper a#confirm-to-edit {
		margin-left: 0px;
	}
	#confirm-wrapper a#confirm-to-site {
		margin-right: 0px;
	}


}

@media screen and (max-width:450px) {

	#confirm-wrapper a#confirm-to-edit {
		font-size: 12px;
		width: 160px;
	}
	#confirm-wrapper a#confirm-to-site {
		font-size: 12px;
		width: 120px;
	}

}
@media screen and (max-width:330px) {

	#confirm-wrapper a#confirm-to-edit {
		font-size: 10px;
		width: 140px;
	}
	#confirm-wrapper a#confirm-to-site {
		font-size: 11px;
		width: 100px;
	}

}
