form#contactform {
	width: 550px;
	margin: 10px auto;
}

fieldset {
	border: none;
	padding: 10px;
	margin: 30px 0;
}

form h4 {
	color: #a75705;
	font-size: medium;
	margin-bottom: 10px;
}

fieldset table.inputform {
	border-collapse: collapse;
	margin-top: 10px;
	margin-bottom: 10px;
}

fieldset table.inputform th {
	padding: 4px 6px;
	line-height: 120%;
	border-left: 1px solid white;
	border-right: 1px solid white;
	background: #68a42e;
	width: auto;
	text-align: center;
	white-space: nowrap;
	color: white;
}

fieldset table.inputform th,
fieldset table.inputform td {
	padding: 3px;
	line-height: 1.3;
	border-bottom: 1px solid #ccc;
}

fieldset table.inputform td input {
	padding: 1px;
	line-height: 1.2;
}

fieldset table.inputform input[type=text],
fieldset table.inputform textarea[name=contents] {
	background: #f4f2ee;
}

fieldset table.inputform input[type=text]:focus,
fieldset table.inputform textarea[name=contents]:focus {
	background: #fff;
}

fieldset .caption{
	font-size: small;
	text-align: center;
}

fieldset textarea {
	display: block;
	margin:1px auto;
	width: 100%;
}

div.detail_input_form {
	margin: 10px 30px;
	line-height: 1.3;
}

.required{
	color: #F00;
}

.confirm {
	background-color: #ffe6e6;
	margin: 1em 2em;
	padding: 6px;
	text-align: center;
	line-height: 1.4;
}

.submit {
	text-align: center;
}

table.inputform td.submit{
	text-align: left;
	padding-top: 10px;
}


/* @group Form Parts Size */

input.sizeSSS {
    width: 30px;
}

input.sizeSS {
    width: 60px;
}
input.sizeS {
    width: 110px;
}
input.sizeM {
    width: 150px;
}
input.sizeL {
    width: 230px;
}
input.sizeLL {
    width: 300px;
}
textarea.sizeL {
    width: 400px;
}
textarea.sizeM {
    width: 350px;
}

/* @end */

ul.errors_list {
    margin: 10px 0 10px 8px;
    list-style-position: inside;
}

ul.errors_list li {
    color: #d20000;
    line-height: 1.2;
    list-style: disc;
    margin: 1px 0 2px 50px;
    padding: 1px 2px;
}

tr.error td {
	background: #ffdfef;
}

/* @group Beige Container */

fieldset.beigecontainer {
	width: 762px;
	background: transparent url(../images/form/beige_bottom.gif) no-repeat center bottom;
	margin: 0 auto 30px;
	padding: 0;
	border: none;
}

fieldset.beigecontainer div.bgwrapper {
	width: 722px;
	padding: 10px 20px 15px;
	margin: 0;
	background: transparent url(../images/form/beige_top.gif) no-repeat center top;
	line-height: 1.4;
}

fieldset.beigecontainer table {
	border-collapse: collapse;
	width: 100%;
}

fieldset.beigecontainer table th,
fieldset.beigecontainer table td {
	border-bottom: 1px solid #aaa499;
	padding: 7px 10px;
}

fieldset.beigecontainer table th {
	white-space: nowrap;
	text-align: left;
	font-weight: normal;
}

fieldset.beigecontainer .required {
	color: red;
	font-weight: bold;
	padding-right: 3px;
	padding-left: 3px;
}



/* @end */

/* @group Complete */

.complete {
	margin: 10px 20px 0;
}

.complete h3 {
	font-size: large;
	color: #46a31f;
	line-height: 1.4;
	border-bottom: 2px solid #eaeaea;
}

.complete p {
	margin-top: 10px;
	line-height: 1.4;
}

.complete div.return {
	margin-top: 20px;
	text-align: center;
}

/* @end */

div#remarks1 {
	margin: 10px 20px 15px;
	padding-bottom: 5px;
	/*
	border-bottom: 1px solid #ccc;
	*/
}

div#remarks1 div {
	background: #f2fced;
	border: 1px solid #68a42e;
	padding: 3px;
	margin: 10px 0;
}

div#remarks1 div .phone {
	font-size: medium;
	font-family: sans-serif;
}

div#remarks2 {
	margin: 5px 20px;
}

form#contactform {
	margin-top: 10px;
}

form#contactform fieldset {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
}

form#contactform th {
	text-align: right;
}

form#contactform label {
	padding-right: 1em;
}