/*
 * Styles for the Lampo Web Forms Framework
 * Authors: Phil Harvey & Kevin Powell
 * Created June-July 2009
 * Revisited and modified by Kevin Powell September 2009
 */

/* 
	LAYOUT 
*/
.formContainer {
	background-color: #F4F5F9;
	border: 1px solid #CBDFE8;
	border-radius: 1ex;
	-moz-border-radius: 1ex;
	-webkit-border-radius: 1ex;
	-o-border-radius: 1ex;
	color: #030D17;
	/* padding is grid gutter (20px) minus border) */
	padding: 19px;
	margin: 0 0 40px 20px;
}

.formWidth{
	width:500px;
}

 form .field_wrapper{
	display:block;
	position:relative;
	padding: 0 0 9px 20px;
	zoom:1;
}

form .adjacent_field_wrapper .field_wrapper{
	float:left;
	line-height:1;
}

/*use this to kill margins on field_wrappers (ex: checkbox lists) */
form .no_margin_wrapper .field_wrapper{
	padding: 0 0 0 20px;
}

.formContainer .standalone_error_message {
	position: relative;
	display: block;
	zoom: 1;
	padding: 0 0 16px 20px;
}

form hr{
	color: #CBDFE8;
	margin: 10px 0 15px;
	clear:both;
}

/*
	FORM HEADERS
*/

.sectionPrimary form h1{
	color: #2882A5;
	font-size: 24px;
	margin:0 0 10px;
	padding:0;
}

form h2{
	color: #383838;
	font-size: 20px;
	margin:0 0 10px;
	padding:0;
}

form h3{
	color: #2882A5;
	font-size: 16px;
	margin:0;
	padding:0;
}

form h4{
	color: #383838;
	font-size: 12px;
	margin:0;
	padding:0;
}

form ul li{
	list-style-image:none;
}


/*
	INPUT STYLES
*/
form button,  form button span {
	/* override for the background color specified in gui.css */
	/* This is the color revealed through the transparent regions of the bg image */
	background-color: #F4F5F9;
}

form input.disabled,
form textarea.disabled{
	background:#ddd;
	color:#666;
}

.submit{
	margin: 0 0 0 20px;
	*margin: 0 0 0 0px;
}


form input.micro,
form select.micro,
form textarea.micro{
	width:50px;
}

form input.small,
form select.small,
form textarea.small{
	width:170px;
}

form textarea.small{
	height: 75px;
}

form input.medium,
form select.medium,
form textarea.medium{
	width:230px;
}

form textarea.medium{
	height: 100px;
}

form input.large,
form select.large,
form textarea.large{
	width:390px;
}

form textarea.large{
	height:150px;
}

optgroup {
	font-style: normal;
}

/*
	field specific styles
*/
.hidden_input_field {
	background: none;
	display: none;
}

.text_input_field,
.password_input_field,
form select,
form textarea,
form input {
    color: #383838;
    font-size: 10pt;
    font-weight:normal;
    margin: 0;
    padding: 4px;
	border-top: 1px solid #999;
    border-left: 1px solid #999;
    border-bottom: 1px solid #CBDFE8;
    border-right: 1px solid #CBDFE8;
    background: #FCFCFC url(//www.daveramsey.com/media/image/form/inputbg.png) no-repeat scroll left top;
}

form textarea {
	clear:both;
}

form input.checkbox_input_field{
	display:block;
	margin: 0px 5px 0 20px;
	padding: 0;
	float:left;
	border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: none;
    background: none;
}

form input.checkbox_input_field.no_indent{
	margin: 0 5px 0 0;
	float:left
}

form input.radio_input_button{
	border:none;
	margin: 2px 5px 0 0;
	display:block;
	padding: 0;
	border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: none;
    background: none;
}

form .radio_label input{
	position:absolute;
	left:-20px;
	top:-2px;
}
/*
	LABEL STYLES
*/
form label, 
.text_input_field_label, 
.password_input_field_label,
form label.generic_label, 
form .textarea_field_label,
.radio_input_button_label,
.select_field_label {
	color: #656565;
	display: block;
	clear: left;
	line-height:1em;
	margin: 0 0 8px 0;
}

form label.generic_label{
	padding: 0 0 0 20px;
}

.radio_input_button_label{
	float:left;
}

 form .radio_label{
	margin: 0 0 9px 40px;
	font-weight:normal;
	color:#666;
	cursor: pointer;
	cursor: hand;
	position:relative;
}

form label.no_indent{
	clear:none;
	cursor:pointer;
	display:block;
	font-weight:normal;
	line-height:1.3em;
	margin:0 0 0 20px;
}

.checkbox_input_field_label{
	display:block;
	cursor: pointer;
	cursor: hand;
	font-weight: normal;
	line-height: 1.3em;
	clear:none;
	margin: 0 0 0 40px;
}

.contentPrimary form label.text_input_field_label {
	display: block;
}

/*
	STATUS & ERROR MESSAGING
*/
.form_field_status {
	float: left;
	margin: 0 0 0 5px;
}
.field_status_untouched {
	background-image: url(//www.daveramsey.com/media/image/form/blank16x16.gif);
	height: 16px;
	width: 16px;
	position:absolute;
	top:-2px;
	left:0px;
}
.field_status_busy, .ajax_busy {
	background-image: url(//www.daveramsey.com/media/image/form/circle-ball-dark-antialiased.gif);
	height: 16px;
	width: 16px;
	position:absolute;
	top:-2px;
	left:0px;
}
.field_status_invalid {
	background-image: url(//www.daveramsey.com/media/image/form/exmark02.png);
	height: 16px;
	width: 16px;
	position:absolute;
	top:-2px;
	left:0px;
}
.field_status_valid {
	background-image: url(//www.daveramsey.com/media/image/form/checkmark02.png);
	height: 16px;
	width: 16px;
	position:absolute;
	top:-2px;
	left:0px;
}

/* form and field error message styles */
.form_errors {
	font-size: 10pt;
	border: 2px solid #c00;
	padding: 5px;
}
.form_errors ul {
	list-style-type: disc;
	margin-left: 15px;
}
.field_error_message {
	min-height: 1em;
	clear:both;
	font-size: 8pt;
	padding: 3px 0 0 0;
	color: #c00;
	display:block;
}
.standalone_error_message {
	font-size: 8pt;
	color: #c00;
}
input.field_with_error,
textarea.field_with_error,
select.field_with_error {
	background:url(//www.daveramsey.com/media/image/form/inputbgError.gif) #FFDFDF;
	border: 1px solid #c00;
}

.findTypeChosen{
	background:#E3E3E3 none repeat scroll 0 0;
	float:right;
	padding:10px;
	position:relative;
	top:20px;
	right:20px;
	width:200px;
}
.enableBoth{
	color:#2882A5;
	cursor:pointer;
	display:block;
	font-weight:bold;
}

/*
	Below Form Div's
*/
.form_security{
	float:right;
	position:relative;
	top: -30px;
	text-align:right;
}