/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: 1px solid #E7E8E8;
	margin-bottom: 1em;
	padding: 8px 10px;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}
fieldset legend {
	background:#fff;
	color: #6C0784;
	font-size: 130%;
	font-weight: bold;
}
fieldset fieldset {
	position: relative;
	border: none;
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 0;
}
fieldset fieldset legend {
	position: absolute;
	top: 0;
	left: 0;
	color: #808080;
	display: inline-block;
	width: 100px;
	font-size: 100%;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
/*	padding: .5em;*/
	vertical-align: text-top;
}
form .input {
/*	margin: 0;*/
	padding: 0 0.5em;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #6C0784;
	content: ' *';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 30px;
	padding: 0 15px;
	text-align: right;
}
label {
	color: #808080;
	display: inline-block;
	width: 100px;
	padding-right: 15px;
	font-size: 100%;
}
input, textarea {
	color: #808080;
	font-size: 100%;
	padding: 5px;
	width: 315px;
	border: solid 1px #E7E8E8;
	background: transparent;
}
input[type=text], input[type=password], textarea {
	-moz-box-shadow:    inset 0 0 5px #DDD;
	-webkit-box-shadow: inset 0 0 5px #DDD;
	box-shadow:         inset 0 0 5px #DDD;
}
input.short {
	width: 150px;
}
select {
	font-size: 100%;
	vertical-align: baseline;
	
	padding: 5px;
	width:315px;
	/*border: solid 1px #E7E8E8;
	background: transparent;*/
	color: #4D4D4D;
}
option {
	font-size: 100%;
	padding: 0 3px;
}
div.checkbox label {
	float: left;
	/*display: inline;*/
}
div.radio label {
	margin: 0 0 6px 10px;
	width: auto;
	display: block;
	float: left;
}
input[type=submit] {
	color: #fff;
	background: #4D4D4D;

	display: inline;
	font-size: 110%;
	width: auto;
	cursor: pointer;
	padding: 5px 30px;
}
input[type=submit]:hover {
	background: #808080;
}
input[type=radio] {
	display: block;
	float: left;
	clear: left;
	width: auto;
	margin: 0 0 0 115px;
}
.input.datetime select {
	width: auto;
}
.placeholder { color: #aaa; }


/**
 * 	UI Corrections
 */
.ui-combobox .ui-autocomplete-input {
	width: 265px;
}
.input .ui-buttonset {
	display: inline;
}

.ui-combobox {
	position: relative;
	display: inline-block;
}
.ui-combobox .ui-button {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
	/* adjust styles for IE 6/7 */
	*height: 1.7em;
	*top: 0.1em;
}
.ui-combobox .ui-autocomplete-input {
	margin: 0;
	line-height: 1.8em;
	padding: 0 1em;
	/*padding: 0.3em;*/
}
.ui-buttonset .ui-button {
	margin-right: 0;
}
.ui-buttonset label {
	width: auto;
}
.ui-button .ui-button-text {
	line-height: 1.8em;
}
.ui-button-text-only .ui-button-text {
	padding: 0 1em;
}

.ui-autocomplete.ui-menu.ui-widget {
	height: 200px;
	overflow-y: scroll;
}
.ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active {
	font-weight: bold;
}

/*
 * Sidebar
 */
#right .ui-combobox .ui-autocomplete-input {
	width: 150px;
}

/*
 * Share News
 */
#share-news form .input {
	margin: 5px;
	padding: 0;
}
#share-news .input input,
#share-news .input textarea,
#share-news .input select {
	width: 100%;
	line-height: 22px;
	padding: 2px 5px;
}
#share-news .input.text label, #share-news .input.textarea label {
	display: none;
}
#share-news .input.text, #share-news .input.textarea, #share-news .input.file {
	margin: 5px 17px 5px 5px;
}
#share-news .input label {
	width: auto;
}
#share-news .input.file input {
	/*padding: 2px 5px;
	line-height: 22px;*/
}
#share-news .input.datetime select {
	width: auto;
	vertical-align: middle;
}
#share-news .input.datetime label {
	vertical-align: middle;
	margin-right: 10px;
}
#share-news .error-message {
	margin-left: 0;
	margin-right: 10px;
	text-align: right;
}

/* Register */
#student-register .error-message, #profile-settings .error-message {
	margin-left: 120px;
}
#profile-settings fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
#profile-settings div.checkbox label {
	float: none;
	width: auto;
}
#profile-settings div.checkbox input {
	width: auto;
	margin-right: 15px;
}