/**
 * CSS styles for forms
 *
 * In order to render them in the same line, use the "wide" form as follows,
 *
 * <div class="wide form">
 */

.hidden {
    display: none;
}

div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    border-radius:4px;
}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;	
	display: block;
}

div.form .row
{
	margin: 5px 0;
}

div.form input[type="submit"] {
    text-decoration: none;
    margin: 0.5em 0;
    font-weight: bold;
    font-size: 1.0em;
    border: 0;
    border-radius: 4px;
    box-shadow: 0px 1px 2px rgba(0,0,0,.35);
    color: #294900;
    background-color: #DEF2A0;
    width: 100px;
    height: 27px;
}

div.form input[type="submit"]:hover {
    background-color: #91d47c;
}

#header #login-form input[type="submit"] {
    margin: 0 0.5em;
    width: 80px;
    height: 20px;
    display: inline-block;
}

div.button_row {
    overflow: auto;
    clear: both;
}

.rtl div.button_row a {
    padding: 5px;
    text-decoration: none;
    margin: 2px;    
    font-weight: bold;
    background: white url('../images/add_green_button.png') right center no-repeat;
    padding-right: 28px;
    color: #4b8c21;
    display: block;
    float: right;
}

div.button_row a {
    padding: 5px;
    text-decoration: none;
    margin: 2px;    
    font-weight: bold;
    background: white url('../images/add_green_button.png') left center no-repeat;
    padding-right: 28px;
    color: #4b8c21;
    display: block;
    float: left;
}

div.button_row a:hover {
    text-decoration: underline;
}

div.form input[type='text'],div.form input[type='password'], div.form select, div.form textarea {
    position: relative;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #AAA;
    width: 230px;
    font: inherit;
    padding: 3px 0px;
}

div#header div.form input[type='text'],div#header div.form input[type='password'] {
	padding: 3px;
	background: white;
	width: 100px;
    display:inline;
    margin-left: 5px;
}
div#header div.form label {
    display:inline;
}

div.form select {
    background: #EAEAEA;
}

div.form input[type='text'].large, div.form textarea.large {
    width: 500px;
    font: inherit;
}

div.form input[type='text'].small {
    width: 100px;
    font: inherit;
}

div.form input[type='radio'] {
	display: inline-block;	
}

div.form input[type='radio'] + label,input[type='checkbox'] + label {
    display: inline-block;
    margin-left: 30px;
}

div.form .degree label {
	display: inline-block;
	width: 120px;
	white-space: nowrap;
}

div.form .row .inlined + .inlined label {
    
    text-align: right;
    display: inline-block;
    width: auto;
}

div.form .row .inlined {
	display: inline-block;
}

div.form .row div.inlined + div.inlined {
	margin-left: 30px;
}
	
div.form .hint {
  /*position: relative;
  padding-left: 50px;*/  
  color: #999;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
	border-radius: 4px;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

.rtl div.wide.form label
{
    float: right;
    margin-left: 10px;
    position: relative;
    text-align: left;
    width: 100px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}

div.search-form
{
	border-radius:4px;
	background-color: white;
	border: 1px solid #C9E0ED;
}