/**
 * Form Generation Library Stylesheet
 * 
 * This style sheet includes the basic styles
 * for a form generated with the form generation
 * library for CodeIgniter
 * 
 * @license		MIT License
 * @author		Frank Michel
 * @link		http://frankmichel.com
 * @docu		http://frankmichel.com/formgenlib
 * @email		info@frankmichel.com
 * 
 * @file		form.css
 * @version		1.0.4
 * @date		02/28/2011
 * 
 * Copyright (c) 2009 Frank Michel
 */

/* --------------------------------------------------------------------------
	GENERAL FORM */

form {
	color: #444;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, Tahoma, Arial, sans-serif;
	font-size: 12px;
	line-height: 24px;
}

/**
 * this will make sure that floats will be cleared
 * for example if you use <br /> after checkboxes and radio buttons
 */
form br {
	clear: left;
}

#errors {
	padding: 10px; 
	margin-bottom: 10px;
	border: 1px solid #c00;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: #fff;
}

/* --------------------------------------------------------------------------
	FIELDSET */
fieldset {
	margin: 0 auto;
	padding: 10px 10px 10px 10px;
	width:95%;
	border: 1px solid #000099;	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: #fff;
}

fieldset.small {
	margin: 0 auto;
	padding: 30px 10px 10px 10px;
	width: 70%;
	background-color: #fff;
}

fieldset.large {
	margin: 0 auto;
	padding: 30px 10px 10px 10px;
	width: 85%;
	background-color: #fff;
}

legend {
	font-size: 14px;
	padding: 0 8px;
	font-variant:small-caps;
	color: #3f1b01;
}

input,label {
	padding-bottom: 8px

}

/* --------------------------------------------------------------------------
	LABELS */

label {
	display: inline;
	float: left;
	width: 150px;
	vertical-align: middle;
	font-weight:bold;
}

label.error {
	color: #c00;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want the text in the label left justified
 */
label.left {
	text-align: left;
}

/**
 * 'combine' is used when two labels are combined such as in 'City/Zip'
 */
label.left.combine {
	width: auto;
	float: left;
	padding: 0;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want the text in the label right justified
 */
label.right {
	text-align: right;
	padding-right: 10px;
}

label.right.combine {
	width: auto;
	float: none;
	text-align: right;	
	padding: 0;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want to display the label above the field
 */
label.top {
	float: none;
	padding: 0;
	width: auto;
	text-align: left;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want to display the label after the field
 */
label.after {
	float: none;
	padding-left: 10px;
	vertical-align: top;
	text-align: left;
}

label.after.combine {
	width: auto;
	float: left;
	padding: 0;
}

/**
 * this needs to be assigned to all 'checkbox' and 'radio' type elements
 * (to remove any width and float styles previously set)
 */
label.check {
	float: left;
	width: auto;
	padding-right: 25px;
}

input.check + label.check  {
	padding-left: 6px;
}


/**
 * this is where you can style your required labels
 * don't forget to include this class name in the config file
 */
label.required {
	font-weight: bold;
}

/* --------------------------------------------------------------------------
	GENERAL INPUTS */

input, select, textarea {
	font-size: 12px;
	color: #000;
	border: 1px solid #666;
	float: left;
}

button {

}

input#submit {
	float: none;
}
input#submit2  {
	float: none;
}
input.submitbutton {
  float: none;
}



input.error, select.error, textarea.error {
	border: 1px solid #c00;
}

input[disabled], input[readonly] {
	color: #808080;
	background-color: #efefef;
}

input[type="file"] {
	border: none;
}

/* --------------------------------------------------------------------------
	TEXT INPUTS */

input {
	padding: 4px;
	margin-bottom: 5px;
}

/* --------------------------------------------------------------------------
	CHECKBOX / RADIO INPUTS */

input.check {
	width: auto;
	padding: 0 5px 0 5px;
	margin: 0;
	height: 24px;
	border: none;
}

/* --------------------------------------------------------------------------
	UPLOADS */

input.upload {
	border: none;
	background-color: transparent;
}

/* --------------------------------------------------------------------------
	IMAGE INPUTS */

input.image {
	border: 0px;
	background-color: transparent;
}

/* --------------------------------------------------------------------------
	TEXTAREA */

textarea {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, Tahoma, Arial, sans-serif;	
	padding: 2px;
}

textarea.normal {
	width:550px;
	height:150px;
	float: left;
}/* --------------------------------------------------------------------------
	SELECT */

select {
	padding: 2px;
	margin-bottom: 4px;
	background-color: #fff;
}

optgroup {
	color: #fff;
	background-color: #999;
}

option {
	color: #000;
	background-color: #fff;
}

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

button, .button {
	width: auto;
	padding: 1px 5px 1px 5px;
	margin: 0;
	vertical-align: middle;
}




.submit {
	width: 65px;
	height: 24px;
	padding: 1px 5px 4px 5px;
	margin: 0;
	font-size:14px;
	font-variant:small-caps;
	color: #fff;
	vertical-align: middle;
	outline: none;
	border: none;

  background:url("/cms/assets/images/site_graphics/submit.gif") no-repeat;
	background-color: #f4f4f4;
}

div.btnContainer {
  width: 100%;
  margin:  0 auto 0;
  bottom: 0;
  padding: 10px 0;
  text-align: center;
}



/* --------------------------------------------------------------------------
	OTHER */
	
span.help {
	display: block;
	color: #666;
	font-size: 10px;
	margin-left: 160px;
	line-height: 15px;
	margin-bottom: 5px;
}

.ast {
  vertical-align:top;
  color: #900;
  font-size: 12px;
}

/* Used by jquery validator */
.err {
  color: #900;
  padding-left: 8px;
}

span.errors {
    color: #900;
    padding-left: 8px;
}