/* Stock form styles. */

fieldset {
	width: 98%;
	border: 0px;
	margin: 0;
	padding: 0;
}

fieldset#entry_settings {
	 border: 1px solid black;
}

fieldset#entry_settings legend {
	margin-left: 3em; 
	font-weight: bold;
}

form {
	width: 98%;
	margin: 0;
	padding: 0;
}

form div, fieldset div {
	width: 100%;
	clear: both;
	margin-top: 0.5em;
}

textarea {
	width: 100%;
}

textarea.textbox {
	width: 40%;
}

form div.threebutton {
	text-align: center;
}

form div.threebutton input {
	margin-right: 1%;
	margin-left: 1%;
}

.form_buttons {
	text-align: center;
}

.form_buttons input,
.form_buttons button {
	margin-left: 1%;
	margin-right: 1%;
}

.basic_form_label {
	float: left;
	clear: left;
	text-align: right;
	width: 24%;
}

.basic_form_data {
	float: right;
	clear: right;
	text-align: left;
	width: 73%;
	padding-left: 2%;
}

.check_label {
	float: left;
	clear: left;
	text-align: right;
	width: 50%;
}

.check_data {
	float: right;
	clear: right;
	text-align: left;
	width: 48%;
	padding-left: 2%;
}

.basic_form_submit {
	float: left;
	clear: left;
	text-align: right;
	width: 49%;
	padding-right: 1%;
}

.basic_form_clear {
	float: right;
	clear: right;
	text-align: left;
	width: 49%;
	padding-left: 1%;
}

#submit, #clear, #preview, #draft {
	min-width: 6em;
}

form label {
	width: 50%;
	text-align: right;
	margin-right: 1%;
	float: left;
}

.formbox label {
	width: 50%;
	text-align: right;
	margin-right: 1%;
	float: left;
}

form#tbconfirm label {
	width: 30%;
}

label.none,  li label {
	width: auto;
	float: none;
}

#editorbox {
	margin-bottom: 1em;
	width: 98%;
}

#mathent, #editboxes {
	display: none;
}

#editorbox {
	display: block;
}

h4 {
	margin-top: 2px;
	margin-bottom: 2px;
}

/* Entry edit form styles */
div.entry_subject label { width: 20%; }
div.entry_subject input { width: 70%; }

div.entry_tags label  { width: 20%; }
div.entry_tags input  { width: 55%; }
div.entry_tags select { width: 20%; }