/*
-----------------------------------------------
gilehill.com
Stylesheet: Forms.css
Author:   Ben Glassman
Organization:	Vermont Design Works
Created: 13 Dec 2007
----------------------------------------------- */

/*
Horizontal Orientation Forms */

.horizontal fieldset { border: 0 solid transparent; }
.horizontal ul { margin: 0; list-style: none; }
.horizontal li {
	padding-bottom: 5px;
	float: left;
	clear: left;
}
.horizontal label {
	text-align: right;
	width: 85px;
	float: left;
}
.horizontal input, .horizontal select { margin-left: 5px; width: 150px; }
.horizontal .checkbox input, .horizontal .submit input { margin: 0; width: auto; }

.horizontal textarea { width: 240px; }
.horizontal .long label {
	width: auto;
	text-align: left;
	float: none;
	display: block;
}

.horizontal .dates select { width: auto; }
.horizontal .checkbox label { float: none; }
.horizontal .submit { padding-left: 90px; }
.horizontal .preview { padding-left: 90px; }

td.checkbox { text-align: center; }
td.checkbox input { margin: 0 auto; }

/*
Vertical Orientation Forms */

.vertical fieldset {
	border: 0 solid transparent;
	clear: both;
	overflow: hidden;
}

.vertical legend {
	position: relative;
}

.vertical legend span {
	color: #4D4D4C;
	font-size: 1.2em;
	font-weight: bold;
	position: relative;
	display: block;
	padding: 0 0 0.75em;
	width: 520px;
}

.vertical legend span span { display: inline; width: auto; }

.vertical ul {
	margin-left: 0; 
	list-style: none;
}

.vertical li {
	padding-bottom: 5px;
	min-height: 42px;
}

.vertical li.notes { min-height: 0; }

.vertical input, .vertical select {
	display: block;
	width: 150px;
	font-size: 1em;
}

.vertical input[type="text"], .vertical select, .vertical textarea {
	border: 1px solid #CCC;
}

.vertical em, em.required { font-weight: bold; color: red; }
.vertical em.note { color: #000; font-weight: normal; }

.vertical .submit { padding-top: 5px; min-height: 0; }
.vertical .submit input { margin: 0; width: auto; display: inline; }

.nolabel p { font-size: 1em; margin: 0; }
.nolabel select { width: auto; min-width: 5em; display: inline; }
.nolabel label, label.hide { position: absolute; left: -999em; }

/*
Long Text Areas */
.vertical .long {
	width: 100%;
}
.long label { display: block; }
.long textarea { width: 350px; height: 5em; }

.textarea { border: 1px solid #CCC; }

/*
Column Layout */

ul.twocol { float: left; width: 400px; display: inline; }

ul.twocol li {
	float: left;
	width: 200px;
}

ul.threecol {
	float: left;
	width: 100%;
}

ul.threecol li {
	float: left;
	width: 150px;
}

ul.threecol input, ul.threecol select {
	width: 125px;
}

ul li.onecol {
	clear: both;
	width: 100%;
}
/*
Explanation */

.vertical .explanation {
	font-style: italic;
	color: #999;
	min-height: 0;
}

/*
Radio Buttons and Checkboxes */

ul.radio li, ul.checkbox li { min-height: 0; }
ul.radio label, ul.checkbox label { font-weight: normal; }
ul.radio input, ul.checkbox input { border: 0; margin-left: 1.5em; }
ul.radio input, ul.checkbox input, ul.radio select, ul.checkbox select { width: auto; display: inline; }
ul.radio .text input, ul.checkbox .text input { width: 150px; }

li.radio, li.checkbox { min-height: 0; }
li.radio label, li.checkbox label {	font-weight: normal; padding-bottom: 5px; }
li.radio input, li.checkbox input { width: auto; display: inline; margin-left: 1.5em; }
li.radio p, li.checkbox p { padding-bottom: 5px; }

li p { font-size: 1em; margin: 0; padding: 0; }

/*
Login Form */

form.login {
	margin: 0 auto;
	background: #E3E1C1;
	width: 155px;
	padding: 15px 15px 10px;
	border: 1px solid #596125;
}

#content .login ul { margin: 0; }

.login #error_container h3 {
	font-size: 1.2em;
}

/* Readonly */
.vertical input.readonly, .vertical textarea.readonly { border: 0; }
.vertical #url { width: 99%; }

/*
Error Messages */

.vertical input[class="error"], .vertical select[class="error"], .vertical textarea[class="error"] { border: 1px solid red; }

#error_container {
	color: #000;
	border: 1px solid red;
	padding: 1.8em 1.8em 0;
	margin-bottom: 1.8em;
}

#error_container h3 { margin-top: 0; }

#error_container li { min-height: 0; }

.javascript_required { color: red; }
.hasJS .javascript_required { display: none; }
.hasJS #order_information { display: block; }

/*
Learn More Form */

form#learn_more {
	float: left;
	width: 565px;
	position: relative;
}

form#learn_more ul { margin: 0; list-style: none; }

form#learn_more li {
	margin-bottom: 10px;
	position: relative;
}

form#learn_more li.twocol {
	float: left;
	width: 80px;
}

form#learn_more li.twocol input { width: 60px; }

form#learn_more #zip { width: 70px; }

form#learn_more label {
	text-transform#learn_more: lowercase;
	display: block; 
}

form#learn_more input, form#learn_more select {
	width: 150px;
	min-height: 1%;
	border: 0;
}

form#learn_more textarea {
	width: 180px;
	height: 106px;
	border: 0;
}

form#learn_more fieldset {
	width: 180px;
	float: left;
}

form#learn_more fieldset.submit {
	float: none;
	clear: both;
}

form#learn_more fieldset.contact_information {
	padding-left: 25px;
}

form#learn_more li.checkbox { clear: both; width: 360px; }

form#learn_more .checkbox input { width: auto; margin: 0; }
form#learn_more .checkbox label { display: inline; }

form#learn_more p.affordable { padding-top: 18px; clear: both; padding: 18px 0 0 0px; }

form#learn_more fieldset.submit {
	float: none;
	height: 67px;
	width: 595px;
	overflow: hidden;
}

form#learn_more fieldset.submit li { margin: 0; }
form#learn_more .submit input { width: auto; }