/**
 * @file
 * Form Styling
 */


.form-item,
.form-checkboxes,
.form-radios /* Wrapper for a form element (or group of form elements) and its label */ {
  margin: 1em 0;
}

.popups-box input[type="text"]:focus, .popups-box input[type="password"]:focus, .popups-box textarea:focus {
    background-color: #FFF;
    outline: none;
}

.popups-box {
    opacity: 1;
    width: 80%;
    border: 5px solid #666;
}

.popups-title {
    color: #000;
}

#nice-menu-1 {
    padding: 0;
    margin: 21px;
}

#nice-menu-1 li.menuparent {
    background-color: #0064CD;
    background-image: -moz-linear-gradient(center top , #049CDB, #0064CD);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    text-align: center;
}

#nice-menu-1 li {
    background-color: #0150A6;
    border: none;
    text-align: left;
    
}

ul.nice-menu-down li.menuparent, ul.nice-menu-down li.menuparent:hover {
    background: none;
}

#nice-menu-1 li:hover {
    background-color: #193EB4;
}

#nice-menu-1 li.menuparent a {
    color: #FFF;
    text-decoration: none;
    z-index: 10000 !important;
    position: relative;
}

ul.nice-menu-down .menuparent a {
    padding-right: 5px;
}

#block-nice_menus-1 {
    padding: 0;
    margin: 0;
    float: right;
    position: relative;
    z-index: 10000;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
  border: 2px solid #c00;
}

.form-item label /* The label for a form element */ {
  display: block;
  font-weight: bold;
  margin-bottom:4px;
}

body.front .form-item label {
font: Georgia, "Times New Roman", Times, serif; !important 
font-size:12px;
color:#FFF8E2;
}

div.popups-box {
    font-size: 0.75em;
    line-height: 1.333em;
}

form#node-form .form-autocomplete {
    padding: 2px;
}

.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;
}

body.front .form-required
{
	display:none;
}

.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.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 */ {
}


/*
 * Search (search-theme-form.tpl.php)
 */
#search-box /* Wrapper for the search form */ {
}

#edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Search (search-block-form.tpl.php)
 */
#search-block-form /* Wrapper for the search form */ {
}

#edit-search-block-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Drupal's default login form block
 */
#user-login-form {
  text-align: left;/* LTR */
}

body.front #user-login-form {
	margin-top:150px;

}

/*
 * 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. */
}

#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-top: 1em;
  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: 1em;
}

#user-login ul {
  margin: 1em 0;
}

#user-login li.openid-link,
#user-login li.user-link /* The OpenID links on the /user form. */ {
  margin-left: -2em; /* LTR */ /* Un-do all of the padding on the ul list. */
}


/*
 * Drupal admin tables
 *
 * We overrode these styles in html-elements.css, but restore them for the admin
 * section of the site.
 */

form tbody {
  border-top: 1px solid #ccc;
}

form th,
form thead th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */;
}

form tbody th {
  border-bottom: 1px solid #ccc;
}

form#user-login-form input#edit-name.form-text, form#user-login-form input#edit-pass.form-text
{
  border-radius: 4px 4px 4px 4px;
  margin-bottom: 8px;
  opacity: 1 !important;
  padding: 9px 7px 10px;
  width: 80%;
  -moz-transition: opacity 1s ease 0s;
  background-color: white;
  border: medium none !important;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
  color: #7b7b7b;
  font: 15px "Helvetica Neue",Arial,sans-serif;
}
  
fieldset.group-publicationdate #edit-field-publication-date-prefix-value-wrapper, fieldset.group-publicationdate #edit-field-publication-date-month-value-wrapper, 
fieldset.group-publicationdate #edit-field-publication-date-day-value-wrapper, fieldset.group-publicationdate #edit-field-publication-date-year-0-value-wrapper,
fieldset.group-creatorbirthdeath #edit-field-author-birth-prefix-value-wrapper, fieldset.group-creatorbirthdeath #edit-field-publication-date-month-value-wrapper,
fieldset.group-creatorbirthdeath #edit-field-publication-date-day-value-wrapper, fieldset.group-creatorbirthdeath #edit-field-author-birth-0-value-wrapper,
fieldset.group-creatorbirthdeath #edit-field-death-month-value-wrapper, fieldset.group-creatorbirthdeath #edit-field-death-day-value-wrapper,
fieldset.group-creatorbirthdeath #edit-field-author-death-0-value-wrapper, fieldset.group-creatorbirthdeath #edit-field-author-death-prefix-value-wrapper,
fieldset.group-publication-info #edit-field-publication-date-month-value-wrapper, fieldset.group-publication-info #edit-field-publication-date-day-value-wrapper,
fieldset.group-publication-info #edit-field-publication-date-year-0-value-wrapper, fieldset.group-textpublicationinfo #edit-field-date-prefix-value-wrapper,
fieldset.group-textpublicationinfo #edit-field-publication-date-month-value-wrapper, fieldset.group-textpublicationinfo #edit-field-publication-date-day-value-wrapper,
fieldset.group-textpublicationinfo #edit-field-publication-date-year-0-value-wrapper
{
  float: left;
  margin-right: 10px;
}

fieldset.group-publicationdate #edit-field-publication-date-exception-0-value-wrapper, fieldset.group-creatorbirthdeath #edit-field-author-death-prefix-value-wrapper, 
fieldset.group-creatorbirthdeath #edit-field-author-date-exception-bnd-0-value-wrapper, fieldset.group-publication-info #edit-field-image-dateexception-0-value-wrapper,
fieldset.group-textpublicationinfo #edit-field-text-dateexception-0-value-wrapper, #edit-field-text-pagenumber-value-wrapper, #edit-field-text-pagestart-0-value-wrapper, 
#edit-field-text-pageend-0-value-wrapper, #edit-field-vol-num-0-value-wrapper
{
  float: left;
  clear: both;
}

fieldset.group-textpublicationinfo div.fieldset-wrapper div#edit-field-vol-num-text-0-value-wrapper.form-item {
  float: left;
  clear: both;
}

/* scrollable autocomplete for CKeditor Link */
div.cke_dialog_ui_input_text div#autocomplete ul {
    height: 100px !important;
    max-height: 100px !important;
    overflow: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* hide project from creators edit form */
body.node-type-creator #edit-field-text-project-value-wrapper, body.page-node-add-creator #edit-field-text-project-value-wrapper {
    display: none;
}