/*
	BEGIN copied section.
*/

/* Foundation
------------------------------------- */

form * {
	margin: 0;
	padding: 0;
}

form {
/*	width: 500px;*/
	margin: 20px;
}

form ul {
	list-style-type: none;
	width: 100%;
}
form li {
	width: 62%;
	padding: 4px 5px 2px 9px;
	position: relative;
	clear: both;
	background: none;
}
form.small li {
	width: auto;
}
* html form li, * html .buttons {
	height: 1%;
}
form li, .buttons {
	display: block;
}
* html form li div {
	display:inline-block;
}
form li div {
	margin:0 4px 0 0;
	padding:0 0 8px 0;
}
form li.options div {
	float:left;
}

form li div.address {
	padding-bottom:0;
}

form li div.left{
	display:inline;
	float:left;
	width:47%;
}
form li div.right{
	display:inline;
	float:right;
	width:47%;
}

form .clear{
	clear:both !important;
}

/* ----- HEADINGS ----- */

form h3, #content h3 {
	border-top: 1px dashed #ccc;
	font-size: 1.7em;
	padding: 6px 0 10px;
	margin-top: 10px;
	color: #336aa3;
}
form h3.first, #content form h3.first {
	padding-top: 0;
	border: none;
}

/* ----- BUTTONS ----- */

form input.button {
	padding: 0 7px;
	width: auto;
	overflow: visible;
}
form .buttons{
	clear:both;
	margin-top:10px;
}
form .buttons input{
	font-size:120%;
	margin-right: 5px;
}

/* ----- FIELDS AND LABELS ----- */

form label.desc {
	line-height: 150%;
	padding: 0 0 1px 0;
	border: none;
	display: block;
	font-size: 1.3em;
	font-weight: bold;
}
form li div label {
	margin:0;
	padding-top:3px;
	clear:both;
	font-size:11px;
	line-height:9px;
	color:#444;
	display: block;
}

form label.choice {
	display: block;
	line-height: 1.5em;
	margin: -1.65em 0 0 25px;
	padding: .44em 0 .5em 0;
	width: 90%;
	font-size: 100%;
}
form input.checkbox, form input.radio{
	display:block;
	line-height:1.5em;
	margin:.6em 0 0 3px;
	width:13px;
	height:13px;
}

form input.text, form input.file, form textarea.textarea, form select.select{
	margin: 0;
	/*font-size: 100%;*/
	color: #333;
	width: 100%;
}
form input.text, form textarea.textarea, form .firefox select.select{
	border-top:1px solid #7c7c7c;
	border-left:1px solid #c3c3c3;
	border-right:1px solid #c3c3c3;
	border-bottom:1px solid #ddd;
	background:#fff url(fieldbg.gif) repeat-x top;
}
form input.text, form input.file {
	padding:2px 0 2px 0;
}

/* ----- SPECIAL FIELDS and LABELS ----- */

form .date div, form .phone div, form .ft_in div {
	float: left;
	display: inline;
}
form .date input.small {
	width: 2em;
}
form .date input.medium {
	width: 4em;
}
form .phone input.small, form .ft_in input.small {
	width: 3em;
}
form .phone input.medium {
	width: 4em;
}

/* ----- SIZES ----- */

form .third{
	width:32% !important;
}
form .half{
	width:48% !important;
}
form .full{
	width:100% !important;
}

form input.small, form select.small{
	width:25%;
}
form input.medium, form select.medium{
	width:50%;
}
form input.large, form select.large, form textarea.textarea{
	width:100%;
}

form textarea.small{
	height:5.5em;
}
form textarea.medium{
	height:10em;
}
form textarea.large{
	height:20em;
}

/* ----- REQUIRED ----- */

form .req {
	color:red !important;
	font-weight:bold;
}
form .opt {
	color: gray !important;
	font-weight: normal;
}

/* ----- INSTRUCTIONS ----- */

form li.focused{
	background-color:#fff7c0;
}
form .instruct{
	position:absolute;
	top:0;
	left:100%;
	z-index:1000;
	width:42%;
	margin:0 0 0 8px;
	padding:8px 10px 9px 10px;
	border:1px solid #e6e6e6;
	background:#f5f5f5;
	line-height:130%;
	font-size:80%;
	color:#444;
	visibility:hidden;
}
form .instruct small{
	font-size:105%;
}
form li.focused .instruct, form li:hover .instruct{
	visibility:visible;
}

/* ----- ERRORS ----- */

form #errorLi{
	width:99%;
	margin:0 auto;
	background:#fff;
	border:1px dotted red;
	margin-bottom:1em;
	text-align:center;
	padding-top:4px;
	padding-left:0px;
	padding-right:0px;
}
form #errorMsgLbl {
	margin:7px 0 5px 0;
	padding:0;
	font-size:125%;
	color:#DF0000;
}
form #errorMsg {
	margin:0 0 .8em 0;
	color:#000;
	font-size:100%;
}
form #errorMsg strong {
	background-color: #FFDFDF;
	padding:2px 3px;
	color:red;
}
form li.error {
	display:block !important;
	background-color: #FFDFDF !important;
	margin:3px 0;
}
form li.error label {
	color:#DF0000 !important;
}
form p.error {
	display:none;
	color:red;
	font-weight:bold;
	font-size:10px;
	margin:-2px 0 5px 0;
	clear:both;
}
form li.error p.error {
	display:block;
}
/*
	END copied section.
*/

form li div.scroll {
	height: 125px;
	overflow-y: scroll;
	border: 1px solid #ddd;
	padding: 4px;
}
.force_clear {
	display: block !important;
	clear: both !important;
	margin: 0px !important;
	height: 0px !important;
	font-size: 0px !important;
	padding: 0px !important;
	float: none !important;
}
form li div.date-pick,
form li div.date-pick div {
	margin: 0px;
	padding: 0px;
}
form li div.date-pick div.dp-popup {
	padding: 2px;
}
form li.editable_list li span {
	position: relative;
	top: 2px;
	left: 5px;
}
form li.editable_list li img {
	vertical-align: text-top;
}
.validation_errors {
	background-color: #ffdfdf;
	padding: 10px;
}
.validation_errors strong {
	color: #df0000;
	font-size: 1.3em;
}
.validation_errors li {
	margin-left: 15px;
}

form li.uploader .muppy_wrap {
	background-color: transparent;
	border: none;
	margin: 0px;
	padding: 0px;
}