/* General form styles
----------------------------------------*/
fieldset {
    border: none;
    padding: 0;
    }
#body fieldset {
	margin-bottom: 20px;
	border-bottom: 1px solid #E8E8E8;
	padding-bottom: 20px;
	}
#body fieldset.buttons {
	border-bottom: 0;
	padding-bottom: 0;
	}

fieldset ul {
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0 !important;
    }
fieldset ul li {
    padding-bottom: 0;
    }
#body fieldset ul li {
	padding: 5px 0;
	clear: both;
	float: left;
	width: 100%;
	}
#body fieldset ul li.highlight {
	background: #E8E8E8;
	}
fieldset input,
fieldset select,
fieldset textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	border: 1px solid #8E8E8E;
	padding: 2px;
	margin: 2px 0 0 0;
	color: #333333;
	background-color: #fff;
	font-size: 100%;
	}
fieldset textarea {
	width: 98%;
	}
fieldset input.checkbox,
fieldset input.radio {
	border: 0 !important;
	width: auto !important;
	}
#body fieldset li input,
#body fieldset li select,
#body fieldset li textarea,
#body fieldset .radio_group,
#body fieldset .select_group {
	float: left;
	width: 48%;
	}
#body fieldset .select_group select {
	width: auto;
	margin-right: 5px;
	}
fieldset textarea {
    overflow: auto;
    }
fieldset input:focus,
fieldset select:focus,
fieldset textarea:focus {
	border-color: #AAA;
	}

fieldset select {
	padding: 1px;
	padding: 2px 1px 2px 0;
	}
fieldset select option {
    padding: 0 1em 0 2px;
    }
#body fieldset h4 {
	color: #86141A;
	background: #E8E8E8;
	font-weight: bold;
	padding: 0 5px;
	line-height: 1;
	font-size: 1em;
	}
#body fieldset legend span {
	width: 460px;
	display: block;
	line-height: 1.2;
	}
fieldset label {
    margin-right: 5px;
    display: block;
    margin-top: 10px;
	line-height: 1.3;
    }
#body fieldset li label {
	float: left;
	width: 46%;
	margin-right: 3%;
	padding-left: 1%;
	}
fieldset span.note {
    font-weight: normal;
    color: #AAA;
    margin: 0 1em 0 0;
	font-size: 92%;
    }
.required {
    color: #000 !important;
    }
fieldset label.checkbox_note {
    font-weight: normal;
    display: inline;
    float: none;
    }
.tiny { width: 10% }
input.small,
label.small { width: 20%; }
.third { width: 31%; }
.half { width: 48%; }
.two_thirds { width: 67%; }
.full { width: 98%; }

li.full { width: 100%; clear: both;}

label.tiny,
label.small,
label.third,
label.half,
label.two_thirds,
label.full {
    float: left;
    }

fieldset p {
    margin-bottom: 0.5em !important;
    }

/* Submit button fieldset
---------------------------------------- */
fieldset.buttons {
	border: 0px none #CCCCCC;
	background-color: transparent;
	margin: 0;
	padding: 0 0 15px 0;
	}
fieldset.buttons input {
	cursor: pointer;
	width: auto;
	padding: 2px 10px;
	background-color: #DFDFDF;
	border-top: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #A5A5A5;
	border-bottom: 1px solid #A5A5A5;
	margin-right: 15px;
	}
fieldset.buttons input:hover {
	background-color: #E9E9E9;
	border-top: 1px solid #DFDFDF;
	border-left: 1px solid #DFDFDF;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	color: #000;
	}
fieldset.buttons button {
    background: #333333 url("/media/media,37,en.png") 93% 50% no-repeat;
    padding: 3px 14px 3px 8px;
    color: #fff;
    border: 0;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    }
/*
fieldset.buttons button:hover {
    background-color: #ED1C24;
    background-image: url("/media/media,38,en.png");
    }
*/

fieldset.advanced_search button {
    float: right;
    }
fieldset.advanced_search .advanced_switch {
    float: left;
    color: #E81D25;
    font-weight: bold;
    line-height: 2em;
    }

/* Buttons */
fieldset.buttons input.button1 {
	font-weight: bold;
	}
fieldset.buttons input.button2 {
	font-weight: normal;
	}


/* Searh form */
#search_form {
	padding: 0;
    margin: 0;
	text-align: right;
	line-height: 2em;
	}
#search_form label {
    display: inline;
    margin: 0;
    cursor: pointer;
    }
#search_terms {
	width: 140px;
    margin: 0;
	}
#search_terms:focus {
	border-color: #CCC;
	}

#search_form button {
    text-indent: -4999em;
    width: 13px;
    height: 13px;
    background: transparent url("/media/media,40,en.png") top left no-repeat;
    border: 0;
    padding: 0;
    line-height: 2em;
    cursor: pointer;
    }





/* Error/notice fields
-------------------------------- */
#notice {
	background-color: #bae68f;
	padding: 7px 14px;
	margin: 10px 0;
	}
#notice p {
	font-weight: bold;
	margin: 5px 0;
	font-size: 100%;
	}
.error {
	font-weight: bold;
	color: #DF226A;
	}
em.field_error input,
em.field_error textarea,
em.field_error select {
	background-color: #F3E9E9;
	border-color: #B72222;
	font-style: normal;
	}


/* Default rails error styles */
.fieldWithErrors {
	display: inline;
	}
.fieldWithErrors input,
.fieldWithErrors textarea {
	border: 1px solid #DF226A;
	background-image: url("/media/alert.gif");
	background-repeat: no-repeat;
	background-position: 100% 3px;
	}
#errorExplanation,
#error {
	padding: 9px;
	margin: 9px 0;
	background-color: #B72222;
	color: #FFFFFF;
	}
#errorExplanation p	,
#error p {
	font-size: 100%;
	margin-bottom: 0;
	font-weight: bold;
    color: #FFCD38;
	}
#errorExplanation ul {
	margin: 0;
	}
#errorExplanation ul li {
	font-size: 100%;
	list-style: square;
	margin-left: 1em;
	}

