/**
 * @file
 * Form Styling
 */


.form-item { /* Wrapper for a form element (or group of form elements) and its label */
  margin: 1em 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 */
}

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 */
}

/*
 * 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;
}

/*
 * 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;
}

/* Contact form contact-site-form*/
.page-contact #page #content .introduction{
  clear: both;
}

form#contact-site-form .form-item label, .page-user form#user-login label, .page-user form#user-pass label, .page-user form#user-login .description{
color: #3F3B3B;
font-size: 0.82em;
font-weight: normal;
}
form#contact-site-form .form-item input, form#contact-site-form .form-item select, form#contact-site-form .form-item textarea, .page-user form#user-login .form-type-textfield input, .page-user form#user-login .form-type-password input, .page-user form#user-pass .form-type-textfield input {
  color: #3F3B3B;
  font-size: 0.82em;
  border: 1px solid #c0c0c0;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: inset 0px 0px 10px 2px #efefef;
  box-shadow: inset 0px 0px 10px 2px #efefef;
}
.page-contact #page #content form#contact-site-form .form-type-textfield  label {
  float: left;
  width: 250px;
}
.page-contact #page #content form#contact-site-form .form-type-textfield  input, .page-user form#user-login .form-type-textfield  input, .page-user form#user-pass .form-type-textfield  input, .page-user form#user-login .form-type-password  input{
  width: 370px;
  padding: 5px;
}
.page-contact #page #content form#contact-site-form   input.form-submit, .page-user form#user-login  input.form-submit, .page-user form#user-pass  input.form-submit {
  color: #fff;
  border: 1px solid #162134;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #477a9f; /* Old browsers */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzQ3N2E5ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM1JSIgc3RvcC1jb2xvcj0iIzQwNjc4NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzYzVjN2EiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #477a9f 1%, #406786 35%, #3c5c7a 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#477a9f), color-stop(35%,#406786), color-stop(100%,#3c5c7a)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* IE10+ */
  background: linear-gradient(to bottom, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#477a9f', endColorstr='#3c5c7a',GradientType=0 ); /* IE6-8 */
  -webkit-box-shadow: inset -1px 1px 1px -1px white;
  box-shadow: inset -1px 1px 1px -1px white;
  padding: 5px 10px;
}
.page-contact #page #content form#contact-site-form   input.error,.page-contact #page #content form#contact-site-form   textarea.error{
	background-color: #f39c9c;
}
/*
* Block user login custom form
*/

.inline-user-block {
  font-size: 0.8em;
    padding-right: 1em;
}

.inline-user-block form {
  float: right;
}
.inline-user-block h2, .inline-user-block .form-item {
  float: left;
  color: #7b1515;
  padding-left: 1em;
  margin-top: 0;

}
.inline-user-block h2, .inline-user-block #edit-actions {
  min-height: 4em;
  line-height: 3.5em;
}

.inline-user-block h2:after {
    content: " >>";
}

.inline-user-block .item-list {
  clear: left;
}
.inline-user-block .item-list ul {
    list-style: none;
    text-align: right;
    margin-top: 0.25em;

}
.inline-user-block .item-list ul li  {
    line-height: 1em;
}
.inline-user-block .item-list a {
    color: #464545;
    text-decoration: none;
    font-weight: bold;

}
.inline-user-block .item-list a:hover {
    text-decoration: underline;
}


.inline-user-block #edit-actions {
  float: left;
  padding-left: 1em;
  margin: 0
}
.inline-user-block #edit-actions input {
  margin-top: 1.5em;
}