/* FormFu */

.sanform {
	width: 90%;
	margin: 0 auto;
}

.sanform form {
	width: 100%;
	min-width: 300px;
	padding: 7px;
	margin: 0 auto;
}

.sanform form div.label {
	padding: 8px 10px 8px 10px;
	/* background: #fff; */
	color: #333;
    border-bottom: 1px dotted #ccccc1;
}

.sanform form label{
	float: left;
	width: 33%;
	/*line-height: 23px;*/ /* Comment out or will garble fll_* */
	padding-right: 2%;
	text-align: right;

}

.sanform fieldset input {
	width: 33%;
	margin-left: 2em;
	padding: 0.5em;
}

.sanform fieldset textarea {
	width: 33%;
	margin-left: 2em;
	padding: 0.5em;
}

.sanform fieldset select{
	width: 34%;
	margin-left: 2em;
	background-color: #F0F8FF;
	padding: 3px 3px 3px 3px;
	border: 1px solid #9E9E9E;
}

.sanform fieldset select:hover {
	/* background-color: White; */
	outline: 1px solid #4682B4;

}

.sanform span.error_message {
	font: small-caps bold 100%/1.3 Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: red;
	/* float: right; */
	display: block;
    border-left: 1px solid red;
    margin-left: 5px;
    padding-left: 5px;
}

.sanform span.okay_message {
	font: small-caps bold 100%/1.3 Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: lightgreen;
	float: right;

}

.sanform fieldset {
	background: transparent;
	margin-top: 1em;
	padding: 2px;
	margin-bottom: 1em;
  border: none;
	border: 1px solid  #dddddd;
}

.sanform input, textarea  {
	background-color: #F0F8FF;
	border: 1px solid #9E9E9E;
}

.sanform input:hover, textarea:hover  {
	background-color: white;
	border: 1px solid #4682B4;
	outline-color: #4682B4;
	outline-style: solid;
	outline-width: 1px;
}

.sanform textarea {
    vertical-align:top;
    width: 400px;
    height: 200px;
}

.sanform div.error input, div.error textarea {
	background-color: #FFF5EE;
	border: 1px solid #FF4500;
	padding: 3px 3px 3px 3px;
}

.sanform div.okay input, div.okay textarea {
	background-color: White;
	border: 1px solid #4682B4;
	padding: 3px 3px 3px 3px;
}

/* Other */

.sanform #aboveform_div {
    margin: 10px 0 10px 0;
    font-size: 110%;
    font-weight: bold;
}

.sanform .form_success {
	border: 1px solid #19A41A;
	width: 60%;
	font-size: 1.5em;
	padding: 10px 10px 10px 10px;
	background-color: lightgreen;
}

.sanform .form_fatal {
	color: White;
	border: 1px solid #840000;
	width: 60%;
	font-size: 1.5em;
	padding: 10px 10px 10px 10px;
	background-color: red;
}

.sanform .form_help_trigger {
    margin-left: 10px;
}

.sanform .form_select_view {
    margin-left: 10px;
}

.sanform .form_file_btns, .sanform .form_file_btns:hover {
    border: none;
    display: inline;
    clear: none;
    margin-left: 10px;
    background: transparent;
}

.sanform .form_file_original_uri {
    padding: 5px 5px 5px 0;
    float:right;
}

.sanform input.form_search_field {
    width: 200px;
    float: left;
}

/* Buttons fieldset */

.sanform fieldset.buttons_fieldset {
    border: none;
    text-align:center;
}

.sanform fieldset.buttons_fieldset div.submit {
    display: inline;
    min-height: 30px;
    margin: 0 auto;
}

.sanform fieldset.buttons_fieldset div.submit input {
    font-weight: bold;
}

.sanform fieldset.buttons_fieldset div.button {
    display: inline;
    min-height: 30px;
    margin: 0 auto;
}

.sanform fieldset.buttons_fieldset div.button input {
}

.sanform fieldset.buttons_fieldset div.submit input, .sanform fieldset.buttons_fieldset div.submit input:visited {
    width: 15em;
    height: 3em;
	cursor: pointer;
	border: 1px solid black;
	color: black;
	background-color: #E8EAF7;
	background-image: url(../images/css/button_bb1.jpg);

}

.sanform fieldset.buttons_fieldset div.submit input:hover {
	border: 1px solid black;
	background: #E8EAF7 url(../images/css/button_bb2.jpg);
	cursor: pointer;
}

.sanform fieldset.buttons_fieldset div.submit input:active {
	background-color: #E8EAF7;
	border: 2px solid black;
	background-image: url(../images/css/button_bb1.jpg);
}

.sanform fieldset.buttons_fieldset div.button input, .sanform fieldset.buttons_fieldset div.button input:visited {
    width: 15em;
    height: 3em;
	cursor: pointer;
	border: 1px solid black;
	color: black;
	background-color: #E8EAF7;
	background-image: url(../images/css/button_bb1.jpg);
}

.sanform fieldset.buttons_fieldset div.button input:hover {
	border: 1px solid black;
	background: #E8EAF7 url(../images/css/button_bb2.jpg);
	cursor: pointer;
}

.sanform fieldset.buttons_fieldset div.button input:active {
	background-color: #E8EAF7;
	border: 2px solid black;
	background-image: url(../images/css/button_bb1.jpg);
}

.sanform fieldset .fieldset_title {
    font-weight: bold;
    padding-bottom: 10px;
}

.sanform a.unfilled_tab {
    color: deeppink;
}

.sanform .unfilled_field {
    color: deeppink;
}

.sanform .tratteggiato, .sanform .tratteggiato:hover {
    width: 100%;
		padding: none;
		border: 2px solid transparent;
}

.sanform .tratteggiato:hover {
	border: 2px solid #FF8C00;
}

/* Forms made by hand (some dialogs, ...) */

.handform .hfcnt {
    clear:both;
    margin:0 auto;
}

.handform .hfcnt .hfcnt_label {
    text-align:right;
    float:left;
    width:48%;
    padding-right:5px;
}

.handform .hfcnt .hfcnt_field {
    text-align:left;
    float:right;
    width:48%;
    padding-left:5px;
}
