/**
 * @file
 * Form Styling
 */

/* Generic webform style */

form.webform-client-form input.form-text{

    height: 43px;
}

form.webform-client-form input.form-text,
form.webform-client-form textarea{

    width: 50%;
}

form.webform-client-form select{

    height: 43px;
}

form.webform-client-form input.webform-calendar.hasDatepicker{

    height: auto;
    margin-top: 10px;
}

form.webform-client-form input.form-submit{

    font-size: 129%;
    font-family: 'PT Sans Narrow';
    color: white;
    padding: 9px 40px;
    background: #da1715;
    border: none;
    text-transform: uppercase;
}

form.webform-client-form .form-item.form-type-radio{

    margin-bottom: 10px;
}

form.webform-client-form .webform-component-date .webform-datepicker > .form-item{

    margin-right: 5px;
}


.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: normal;
    margin-bottom: 10px;
}

.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 */
}

a.button { /* Buttons used by contrib modules like Media */
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

/*
 * Password confirmation
 */

.password-parent,
.confirm-parent {
  margin: 0;
}

/*
 * Search (search-block-form.tpl.php)
 */

#block-search-form { /* Wrapper for the search form */
}

.block-facetapi ul {
  padding-left: 1em;
}

.block-facetapi .item-list {
  padding-top: 0.25em;
}

/*
 * 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 {

}

/*
 * Drupal admin tables
 *
 * We overrode these styles in normalize.css, but restore them for the admin
 * section of the site.
 */

form th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody {
  border-top: 1px solid #ccc;
}

form tr.even {
  background-color: #fff;
}

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

.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
  border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */
}

/*
 * Drupal core wrongly puts this in system.menus.css. Since we override that, add it back.
 */

td.menu-disabled {
  background: #ccc;
}

.grippie{
    display: none;
}


.page-user-edit form.user-profile-form {
}

.page-user-edit form.user-profile-form .form-wrapper {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 50%;
}


.page-user-edit form.user-profile-form .form-item {
  width: 100%;
}

.page-user-edit form.user-profile-form .form-item label {
  font-weight: bold;
}

.page-user-edit form.user-profile-form .form-item .description {
  margin-top: 1em;
  width: 95%;
}

.page-user-edit form.user-profile-form .form-type-password input,
.page-user-edit form.user-profile-form .form-type-textfield input {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 1ex 1em;
  height: 3.07em;
}

.page-user-edit form.user-profile-form .form-type-select select {
  height: 43px;
}

.page-user-edit form.user-profile-form .form-type-select select,
.page-user-edit form.user-profile-form .form-type-password input,
.page-user-edit form.user-profile-form .form-type-textfield input {
    width: 100%;
}

.page-user-edit form.user-profile-form .form-item .description {
  margin-top: 1em;
}

.page-user-edit form.user-profile-form .form-item,
.page-user-edit form.user-profile-form .form-type-password-confirm .confirm-parent {
  margin: 1.5em 0;
}

.page-user-edit form.user-profile-form .password-strength,
.page-user-edit form.user-profile-form .password-suggestions,
.page-user-edit form.user-profile-form div.password-confirm {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: none;
  clear: both;
  display: block;
  float: none;
  width: 95%;
  font-size: 1em;
  margin: 1.4em 0;
  padding: 0;
}

.page-user-edit form.user-profile-form fieldset {
  border: none;
  padding: 0;
  margin: 1.5em 0 0 0;
}
.page-user-edit form.user-profile-form legend {
  display: none;
}

.page-user-edit form.user-profile-form  #edit-picture {
}

.page-user-edit form.user-profile-form  #edit-picture .description {
  display: none;
}

.page-user-edit form.user-profile-form  #edit-picture .user-picture {
  display: block;
  float: left;
  width: 6em;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

.page-user-edit form.user-profile-form #edit-picture .form-item {
  float: left;
  width: 80%;
  margin-top: 0;
}
.page-user-edit form.user-profile-form #edit-timezone .form-item {
  margin-top: 0;
}

.page-user-edit form.user-profile-form .union-details-link {
  clear: left;
  display: block;
  float: left;
  margin: 1em 2em 0 0;
}

.page-user-edit .union-details-link a:link,
.page-user-edit .union-details-link a:visited {
  background: #3f383a;
  color: #48c8d7;
  display: inline-block;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: bold;
  font-size: 20px;
  margin-right: 1em;
  padding: 12px 45px;
  text-decoration: underline;
  text-transform: uppercase;
}

.page-user-edit .union-details-link a:active,
.page-user-edit .union-details-link a:hover,
.page-user-edit .union-details-link a:focus {
  color: #da1715;
}


.page-user-edit form.user-profile-form #edit-actions {
  width: auto;
}

.page-user-edit form.user-profile-form #edit-actions input {
  background: none repeat scroll 0 0 #97C5CA;
  border: 0 none;
  color: #FFFFFF;
  font-family: 'PT Sans Narrow';
  font-size: 164%;
  padding: 10px 45px 9px 65px;
  text-transform: uppercase;
  height: 50px;
}

.page-user-edit form.user-profile-form #edit-actions {
  background: url("../images/headling_blue.png") no-repeat scroll right top transparent;
  float: left;
  margin-right: 35px;
  padding-bottom: 17px;
  padding-right: 20px;
}
