/**
 * @file
 * Form Styling
 */


.form-item /* Wrapper for a form element (or group of form elements) and its label */ {
  margin: 1.5em 0;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
  border: 1px solid #c00;
}

.form-item label /* The label for a form element */ {
  display: block;
  font-weight: bold;
}

.form-item label.option /* The label for a radio button or checkbox */ {
  display: inline;
  font-weight: normal;
}

.form-required /* The part of the label that indicates a required field */ {
  color: #c00;
}

.form-item .description /* The descriptive help text (separate from the label) */ {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item /* Pack groups of checkboxes and radio buttons closer together */ {
  margin: 0; /* Drupal core uses "0.4em 0" */
}

.form-submit /* The submit button */ {
}

.container-inline div,
.container-inline label /* Inline labels and form divs */ {
  display: inline;
}

.tips /* Tips for Drupal's input formats */ {
}


/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
  margin: 0;
}


/*
 * Search (search-block-form.tpl.php)
 */
#block-search-form /* Wrapper for the search form */ {
}


/*
 * Drupal's default login form block
 */
#user-login-form {
  text-align: left; /* LTR */
}


/*
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

#user-login-form ul /* OpenID creates a new ul above the login form's links. */ {
  margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
}

html.js #user-login-form li.openid-link,
#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-top: 1.5em;
  margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
}

#user-login-form li.user-link /* The "Cancel OpenID login" link. */ {
  margin-top: 1.5em;
}

#user-login ul {
  margin: 1.5em 0;
}

.cssforms .form dl,
.cssforms .form dd,
.form dt {
  margin: 0;
  padding: 0;
}


.cssforms form th {
  text-align: center;
  font-size: 150%;
  border: 0;
  height: 32px;
  background-color: #6B7DA8;
  border-right: 1px solid #6B7DA8;
  border-left: 1px solid #6B7DA8;
  border-top: 1px solid #6B7DA8;
  color: white;
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 4px;
}

.cssforms form tbody {
  border: 0;
}

.cssforms form tr.even {
  background-color: #E2EAFB;
  border: 0;
}

.cssforms form table {
 /* border: 1px solid #B0BDD9;*/
  margin-top: 0;
}

.cssforms form table .item-list ul {
  margin: 0;
}

.cssforms form table td {
  border-top: 1px solid #B0BDD9;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  
}

.cssforms form table td.label {
  text-align: right;
  padding-left: 16px;
  white-space:nowrap;
}

table td.label {
    font-weight: bold;
    vertical-align: top;
}

table td.label.fixed {
    vertical-align: middle;
}

table td.value.fixed {
    vertical-align: middle;
    padding-left: 0px !important;
    padding-right: 6px !important;
}

.cssforms form table td.input, 
.cssforms form table td.button
{
  padding-right: 16px;
  width: 100%;
}

.cssforms form table td label {
  padding-right: 4px;
}

.cssforms form table td input {
 border: 1px solid #B0BDD9;
 -moz-border-radius: 5px;
 border-radius: 5px;
 padding: 0;
 margin: 0;
 margin-top: 2px; 
 margin-left: -4px;
}

.cssforms form table td input.textbox {
 margin-top: 0;
 width: 100%;
 height: 24px;
}

.cssforms form table td textarea {
  width: 100%;
  margin-left: -4px;
  border: 1px solid #B0BDD9;
 -moz-border-radius: 5px;
 border-radius: 5px;
}

.cssforms form table td select {
  margin-left: -4px;
  border: 1px solid #B0BDD9;
 -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: white;
}

.cssforms form table td.button {
  text-align: right;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cssforms form table td.button input {
  height: 24px;
  padding: 0px;
  padding-left: 4px;
  padding-right: 4px;
  margin: 0;
  line-height: 20px;
  background-color: #6B7DA8;
  border: 1px solid #495573;
  color: white;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.cssforms #content .form h1 {
  text-align: center;
  font-size: 200%;
  margin: 0;
  padding: 0;
}

.cssforms #content .form dt label {
  font-size: 120%;
  font-weight: normal;
  margin-bottom: 6px;
  color: #445B8F;
}

.cssforms #content .form dd.submit {
  text-align: right;
}

.cssforms #content .form .dijitTextBox {
  line-height: 30px;
  height: 30px;
  
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;

  font-size: 180%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0px;
  padding-right: 0px;
  margin-bottom: 20px;
  margin-top: 5px;
  border: 1px solid white;

  border: 1px solid #6B7DA8;

  overflow: hidden;
}

.cssforms #content .form .dijitTextBox .dijitArrowButton {
   height: 30px;
}

.cssforms #content .form .dijitTextBox .dijitArrowButtonInner {
   padding-top: 10px;
}

.cssforms #content .form .dijitTextBox .dijitInputContainer {
  padding-left: 5px;
  padding-right: 5px;
}


.cssforms #content .form .dijitTextBox input {
  height: 30px;
}

.cssforms #content .form .dijitButton,
.cssforms #content .form .dijitButton.dijitInline,
.cssforms #content .form .dijitButton.dijit,
.cssforms #content .form .dijitButton *,
.cssforms #content .form .dijitButton *:hover,
.cssforms #content .form .dijitButton .dijitReset,
.cssforms #content .form .dijitButton .dijitInline
{
  border: 0;
  background-color: inherit;
  padding: 0;
  margin: 0;
  color: inherit;
}

.cssforms #content .form dd.submit,
.cssforms #content .form dt.submit
{
  float: left;
  padding: 0;
  margin-top: 20px;
  margin-right: 10px;
}

.cssforms #content .form dt.submit {
  display: none;
}


.cssforms #content .form .dijitButton.dijitInline,
.cssforms #content .form .dijitButton.digit
 {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  height: 26px;
  margin-top: -20px;
  overflow: hidden !important;
  padding-top: 0px;

  border: 1px solid #6B7DA8;
  background-color: white;
  color: #445B8F;
}

.cssforms #content .form .dijitButton .dijitButtonContents {
  height: 19px;
  padding-bottom: 3px;
  padding-left: 8px;
  padding-right: 8px;
}

.cssforms #content .form .dijitButton .dijitButtonText {
  font-size: 160%;
}




.cssforms #content .form ul.errors {
  margin: 0;
  padding: 0;
  margin-top: -15px;
  margin-bottom: 20px;
}

.cssforms #content .form ul.errors li {
  margin-left: 20px;
  color: red;
}

table ul.errors {
    margin: 0;
    margin-top: 4px;
}

table ul.errors li{
    margin: 0;
    margin-left: -20px;
    font-size: 90%;
    border: 1px solid #c00;
    color:red;
    
}



