/* css for sm tags (form fields and buttons)*/

.sm_field {
	/* white-space: nowrap; */
	float: none;
	padding: 0em;
	margin-bottom: 1em;
	min-width: 14em;
	}
.sm_field_group .sm_field {
	float:left;
	margin-right: 1em;
	margin-top:0.4em;
	}
.sm_field_group .sm_field .sm_field_input {
	/*float:left;*/ /* changed 8/30/12 */
	}
.sm_field_group {
	/*width:100%;*/
	padding:0.25em 0em 0.25em 0em;
/*	clear:both; */
	}
.sm_field_group .sm_last {
	float:none;
	}

.sm_required {
	color: #CC0000;
	padding-right:0.25em;
}

.sm_label {
	font-size: 0.85em;
	font-size: 95%;
	font-weight: bold;
	white-space: normal;
	margin-right:0.5em; /*added July 19th*/
	}



.sm_label .sm_details {
	display: block;
	font-weight: normal;
	font-size: 85%;
	color: black;
	}
	
label.sm_label, 
legend.sm_label {
        display: block;
	}
/*	THIS WILL ALIGN REQUIRED AND NON REQUIRED LABELS
	BUT HAS BEEN COMMENTED UNTIL OLDER APPS USING SM TAGS
	CAN BE RETROFITTED FOR THE CODE

label.sm_label.sm_label_not_required, 
legend.sm_label.sm_label_not_required {
	margin-left: 0.65em;
	}

.sm_print label.sm_label.sm_label_not_required, 
.sm_print legend.sm_label.sm_label_not_required {
	margin-left: 0em;
	}
*/
label.sm_label span.sm_error_details, 
legend.sm_label span.sm_error_details {
	display: block;
	font-weight: normal;
	font-size: 85%;
	margin-left: 0.25em;
	}

label.sm_label_inline span.sm_error_details,
legend.sm_label_inline span.sm_error_details {
	padding-top: 0em;
	}

label.sm_label_inline {
	display: inline;
	vertical-align: bottom;
	text-align: right;
	}


label.sm_label span.sm_example, 
legend.sm_label span.sm_example {
	display: inline;
	font-style: italic;
	font-weight: normal;
	font-size: 85%;
	color: black;
	margin-left: 0.25em;
	}

label.sm_label .sm_tooltip, 
legend.sm_label .sm_tooltip {
	margin-left: 0.25em;
	width: 1.625em;
	}
	
label.sm_label .sm_tooltip .sm_tooltip_icon, 
legend.sm_label .sm_tooltip .sm_tooltip_icon {
	display: inline;
	font-weight: bold; 
	font-size: 75%; 
	color: black; 
	background-color: #FFFFCF; 
	border: 1px solid black; 
	padding: 0.1em 0.25em 0em; 
	width: 0.75em;
	}

label.sm_label .sm_tooltip .sm_tooltip_icon .sm_tooltip_message, 
legend.sm_label .sm_tooltip .sm_tooltip_icon .sm_tooltip_message {
	display: none; 
	position: absolute; 
	max-width: 35%; 
	margin-top: -6.0em; 
	margin-left: 0em; 
	border: 1px solid black; 
	background-color: #FFFFCF; 
	list-style-type: none; 
	padding: 0em;
	white-space: normal; 
	text-align: left;
	}
	
label.sm_label .sm_tooltip .sm_tooltip_message .sm_tooltip_title, 
legend.sm_label .sm_tooltip .sm_tooltip_message .sm_tooltip_title {
	display: block;  
	text-align: center; 
	display: block; 
	margin: 0em; 
	color: black; 
	text-transform: uppercase; 
	padding:0.25em;
	border-bottom:1px solid gray;
	}
	
label.sm_label .sm_tooltip .sm_tooltip_message .sm_tooltip_text,
legend.sm_label .sm_tooltip .sm_tooltip_message .sm_tooltip_text {
	display: block;
	padding: 0.5em;
	font-weight: normal;
	}
	
label.sm_label .sm_tooltip span.sm_tooltip_icon:hover .sm_tooltip_message,
legend.sm_label .sm_tooltip span.sm_tooltip_icon:hover .sm_tooltip_message  {
	display: block;
	}



.sm_error {
	color: #C00;
	}

.sm_error fieldset fieldset label {
	color:black;
	}

.sm_error textarea, .sm_error .input_text {
	border-color: #C00;
	background-color: #FCC;
	} 
.sm_error textarea:hover, .sm_error .input_text:hover {
	border-color: #C00;
	background-color: #FDD
	}

.sm_error_below .sm_field_input {
	margin-top: -2.4em;
	margin-bottom: 1.75em;
	}
.sm_error_below {
	color: #C00;
	}
.sm_error_below .input_text {
	border-color: #C00; 
	background-color: #FDD;
	}
.sm_error_below .input_text:hover {
	border-color: #C00;
	background-color: #FFF0F0;
	}

.sm_print label span.sm_required {
	display: none;
	}
.sm_print label span.sm_details {
	display: none;
	}
.sm_print .sm_example {
	display: none;
	}
.sm_print .sm_field_input .input_text {
	color: #111;
	background-color: transparent;
	border-width: 0px;
	}

.sm_disabled .sm_select {background:#EAEAEA; color:#777;}

.sm_disabled .input_text {
	color: #777; 
	background-color: transparent; 
	border: 1px solid #AAA;
	}
.sm_disabled textarea {
	color: #777; 
	background-color: transparent; 
	border: 1px solid #AAA;
	}
.sm_disabled .sm_button {
	border-color: #AFAFAF; 
	background-color: #DFDFDF; 
	color: #999;
	}
.sm_disabled .sm_button:hover {
	border-color: #AFAFAF; 
	background-color: #DFDFDF; 
	color: #999;
	}
.sm_submit_group .sm_field {
	float: left;
	margin: 0em;
	min-width: 1em;
	}
.sm_submit_group .sm_field input {
	float:left;
	margin-right: 1em;
	}
.sm_submit_group {
	clear: both;
	}
.sm_submit_group .sm_last {
	float:none;
	}
.sm_field_counter {
	color: #000;
	font-size: 75%;
	}
.sm_select_error .sm_field_input {
	margin-top: -2.4em;
	margin-bottom: 1.75em;
	}
.sm_select_error {
	color: #C00;
	}
.sm_select_error select {
	border-color: #C00;
	background-color: #FDD;
	}
.sm_select_error select:hover {
	border-color: #C00;
	background-color: #FFF0F0;
	}
	
.sm_radio {
	padding: 0.5em 1em;
        float: left;
	}
.sm_fieldset legend {
	font-size: 95%;
	padding-bottom: 0.25em;
	white-space: normal;
	}
.sm_error legend {
	color: #C00;
	}
.sm_error legend .sm_error_details {
	display: block;
	color: #C00;
	}
.sm_fieldset.sm_error .sm_label {color: black;}



.sm_radio {
    padding: 0.5em 1em;
        float: left;
    }
.sm_radio .sm_radio_legend {
    display: block;
    font-size: 85%;
    font-weight: bold;
    color: black;
    padding-bottom: 0.25em;
    white-space: normal;
    }
.sm_radio_error .sm_radio_legend {
    color: #C00;
    }
.sm_radio_error .sm_radio_legend .sm_error_details {
    display: block;
    color: #C00;
    }
.sm_radio_wrapper {
    display: block; 
    min-height: 1.75em;
    padding-top: 0.5em;
    white-space: normal;
    float: none;
    }
.sm_radio_wrapper input {
    display: block;
    float: left;
    margin-right: 0.50em;
	margin-top:0.4em;
    }
.sm_radio_wrapper .sm_label {
    padding: -0.4em 0em 0em 0.75em;   
    }
* html .sm_radio_wrapper .sm_label {padding: 0em 0em 0em; margin-top: -1em; margin-bottom: 0.75em;} /* IE6 */
* html .sm_radio_group .sm_radio_wrapper .sm_label {padding: 0.25em 0em 0.75em; margin-top: 0em; margin-bottom: 0em;} /* IE6 */
.sm_radio_group {
    width: 99%; 
    }
.sm_radio_group .sm_radio_wrapper {
    float: left;
    min-width: 5em;
    width: 23%;
    margin-right: 1%;
    margin-bottom: 0.25em;
    }
	html>/**/body .sm_radio_group .sm_radio_wrapper {margin-top: -0.85em;} /* GECKO */
.sm_radio_group .sm_radio_wrapper label {
    float: left;
    }


.sm_checkbox {
	padding: 0.5em 1em;
        float: left;
	}
.sm_checkbox .sm_checkbox_legend {
	display: block;
	font-size: 85%;
	font-weight: bold;
	color: black;
	padding-bottom: 0.25em;
	white-space: normal;
	}
.sm_checkbox_error .sm_checkbox_legend {
	color: #C00;
	}
.sm_checkbox_error .sm_checkbox_legend .sm_error_details {
	display: block;
	color: #C00;
	}


.sm_checkbox_wrapper {
	display: block; 
	min-height: 1.75em;
	padding-top: 0.5em;
	white-space: normal;
	float: none;
	}
.sm_checkbox_wrapper input {
	display: block;
	float: left;
	margin-right: 0.25em;
	}
.sm_checkbox_wrapper .sm_label {
	margin-bottom: -0.25em;
	padding-top: 0.25em;   
	}
* html .sm_checkbox_wrapper .sm_label {padding: 0em 0em 0em; margin-top: -1em; margin-bottom: 0.75em;} /* IE6 */
* html .sm_checkbox_group .sm_checkbox_wrapper .sm_label {padding: 0.25em 0em 0.75em; margin-top: 0em; margin-bottom: 0em;} /* IE6 */

.sm_checkbox_group {
    width: 99%; 
    }
.sm_checkbox_group .sm_checkbox_wrapper {
	float: left;
	min-width: 5em;
	width: 23%;
	margin-right: 1%;
	margin-bottom: 0.25em;
	}
.sm_checkbox_group .sm_checkbox_wrapper label {
	float: left;
	}
.sm_print .sm_field_counter {
	display: none;
	}
.sm_print textarea, .sm_print textarea:hover {
	color: #111;
	background-color: transparent;
	border-width: 0px;
	}
.sm_print legend span.required {
	display: none;
	}
.sm_print legend span.details {
	display: none;
	}
.sm_print .submit_button {
	display: none;
	}


.sm_field_group {display: table;}
* html .sm_field_group {display: block;}

.sm_field.YN .sm_radio_wrapper {width: 5em;}

/*.ui-datepicker-trigger {margin-top:-2em; float:left; margin-left:7em;}*/ /* date picker closer to text box */
/*.ui-datepicker-trigger {margin-top:-2em; float:left; margin-left:10.5em;} *//* for chrome */






#date2_cal_trigger {margin-left:6.5em; margin-top:-2em !important; position:absolute;}

.hasDatepicker {float:left; margin-right:3px !important; } /*keeps the datepicker to the right of the text box*/

