/* START */

#form {
	clear: both;
}

#form .block {
	margin-bottom: 20px;
}

#form .caption {
	display: -moz-inline-box;
	display: inline-block;
	background: #434343;
	color: #ffffff;
	padding: 5px 10px 5px 4px;
	font-size: 93%;
	width: auto;
	border-left: solid 8px #000000;
}

#form .required {
	display: inline-block;
	font-size: 93%;
}

#form .required .required {
	color: #e2375d;

}

#form .description {
	font-size: 85%;
}

#form .form {
	position: relative;
	display: inline-block;
}

/* MSG */

#form-msg {
	margin: 0 0.5em 2em; 0.5em;
}


/* FORM PARTS */

#form input,
#form select {
	margin-top: 10px;
}

#form select {
	width: 200px;
}

#form .input-text,
#form textarea {
	width: 280px;
	height: 22px;
	font-size: 123.1%;
	border: solid 1px #dcdcdc;
	padding: 4px;
	margin-top: 0;
}

* html #form .input-text,
* html #form textarea {
	width: 290px;
	height: 30px;
	margin-top: -1px;
}

* html #form textarea {
	width: 290px;
}

#form .checkbox-notice {
	margin-bottom: 0;
	font-size: 85%;
}

/* CHECK ALL BUTTON */

#form .chk-all-button {
	margin-bottom: 0;
}

#form .chk-all-button a {
	display: inline-block;
	background: url(./../images/chk-all-button.png) left top;
	height: 30px;
	padding-left: 35px;
}

#form .chk-all-button a span {
	display: inline-block;
	background: #ffffff url(./../images/chk-all-button.png) right top;
	text-decoration: none;
	font-size: 85%;
	height: 30px;
	line-height: 30px;
	padding-right: 20px;
}

* html #form .chk-all-button a {
	background: url(./../images/chk-all-button.gif) left top;
}

* html #form .chk-all-button a span {
	background: #ffffff url(./../images/chk-all-button.gif) right top;
}

/* CONFIRM */

#form .confirm-val {
	background: #eeeeee;
	border: solid 1px #dcdcdc;
	padding: 10px;
	margin-bottom: 20px;
}

/* SEND/CONFIRM BUTTON */

#form button.send-button {
	background: url(./../images/send-button.jpg);
	width: 200px;
	height: 60px;
	border: 0;
	cursor: pointer;
	font-size: 138.5%;
	margin: 30px 0;
	line-height: 60px;
	text-align: left;
	padding-left: 70px;
	overflow: hidden;
	outline: none;
}

#form button.send-button:hover {
	background-position: 0 -60px;
}

#form button.send-button:active {
	background-position: 0 -120px;
}

/* BACK BUTTON */

#form button.back-button {
	background: url(./../images/back-button.png);
	width: 170px;
	height: 30px;
	border: 0;
	cursor: pointer;
	font-size: 85%;
	margin: 0;
	line-height: 28px;
	text-align: left;
	padding-left: 50px;
	overflow: hidden;
	outline: none;
}

#form button.back-button:hover {
	background-position: 0 -30px;
}

#form button.back-button:active {
	background-position: 0 -60px;
}

* html #form .back-button {
	background: url(./../images/back-button.gif) left top;
}

/* INVALID STYLE */

#form-msg .error {
	color: #e2375d;
}

#form .block.invalid .caption {
	background: #e2375d;
	border-color: #a00024;
}

#form .form.invalid-val select,
#form .form.invalid-val input {
	background: #fbe4e9;
}

#form .form.invalid-val .input-text,
#form .form.invalid-val textarea {
	border: solid 1px #e2375d;
	background: #ffffff;
}

/* FORM VALIDITY STATUS */

#form .status {
	margin-left: 10px;
	position: absolute;
	width: 200px;
	height: auto;
	top: 4px;
	right: -210px;
	z-index: 1000;
}

#form .alert-top {
	background: url(../images/bg_alert.png) left top no-repeat;
	display: block;
	width: 160px;
	height: 10px;
}

#form .alert-bottom {
	background: url(../images/bg_alert.png) left bottom no-repeat;
	display: block;
	width: 160px;
	height: auto;
	color: #ffffff;
	font-size:77%;
	line-height: 1.4em;
	text-align: left;
}

* html #form .alert-top,
* html #form .alert-bottom {
	background-image: url(../images/bg_alert.gif);
}


#form .alert-bottom span {
	display: block;
	padding: 0 15px 10px 15px;
}

* html #form .alert-bottom span {
	padding-bottom: 15px;
}


/* 以下個別指定 */

/* 'address' ONLY */

#form #address-block .line {
	margin-bottom: 10px;
	position: relative;
}

#form #address_1 input {
	text-align: center;
	width: 50px;
}

#form #address_2 input {
	text-align: center;
	width: 70px;
}

#form #address_3 input,
#form #address_4 input,
#form #address_5 input,
#form #address_6 input {
	width: 230px;
}

/* 'body' ONLY */

#form #body textarea {
	height: 300px;
}


