/**
 * @file
 * Form Styling
 */

form {/*или: .webform-client-form*/
  font-family: Arial,Helvetica,"Nimbus Sans L",sans-serif;
  font-size: 0.857em; /* 14px x .857 = 12px */
  line-height: 1.2em;
  color: #4d8ab7;
}
.block form {
  font-size: 1em; /* размера за блока */
}
form input, form fieldset legend, form textarea {
  font-size: 1em;
  line-height: 1.5em;
}
form fieldset {
  border: 1px solid #4D8AB7;
}
form input, form textarea {
  padding: 1px 2px;
}
form .form-actions {
  color: black;
}

.form-item,
.form-checkboxes,
.form-radios,
.webform-component /* 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: 2px 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: #4d8ab7;
  font-size: 1.1em;
}

.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;
}

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

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

/* Специално форматиране на различни видове полета: */
.form-text /*прост текст*/ {
  border: 1px solid #4D8AB7;
}
input.form-submit /*бутон "Прати"*/ {
  border: none;
  background-image: none;
  background-color: #4D8AB7;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
}
.block .content textarea {
  border: 1px solid #4d8ab7;
  width: 100%;
  height: 5em;
}
.block .content input.form-submit /*бутон "Прати"*/ {
  float: right;
  color: #4D8AB7;
  font-weight: normal;
  padding-right: 23px;
  background: url("../images/ico-submit.png") no-repeat right center transparent;
}
.block .content #search-block-form input.form-submit {
  background: none repeat scroll 0 0 transparent;
  padding: 0 0 0 0px; /* looking glass image padding*/
}

/*
 * 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 up right*/ {
min-width: 305px;
}

#edit-search-block-form-1 {  /* width of the search input text field*/
	width: 270px;
}

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


/*
 * 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: 0px 0px 0px -15px; /* Un-do some of the padding on the ul list. */
}
#user-login-form li.openid-link a,
#user-login li.openid-link a {
  padding: 0px 0px 0px 15px;
}

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

#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 */
  border-bottom: 3px solid #ccc;
}

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