/**
 * @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;
}


/*
 * Drupal admin tables
 *
 * We overrode these styles in html-reset.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;
}


/*
 * Estilos marcados por el diseño del área de cliente
 * @date: 13/02/14
 */

form .form-item {
	overflow: hidden;
	margin-bottom: 3px;
}

form .form-item label,
form .form-item input {
	/*color: #00396d;*/
	color: black;
}

form .form-item label {
	font-weight: bold !important;
	font-size: 13px;
	margin-bottom: 3px;
	text-align: right;
}

form .form-item label.option {
	font-weight: normal !important;
	font-size: 12px;
}

form .form-item input,  .form-item select, .form-item textarea {
	margin: 0;
	/*border: none;*/
	background: #eeefed;
	/*padding: 0 5px;*/
	line-height: 20px;
  vertical-align: middle;
  height: 30px;

  padding: .5em .6em;
  display: inline-block;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px #ddd;
  border-radius: 4px;
  box-sizing: border-box;

}
form .form-item input[type="text"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

form .form-item label,
form .form-item input[type="text"],
form .form-item select {
	display: block;
	/*float: left;*/
	float: none;
  text-align: left;
	margin-right: 5px;
}

#user-login.form-item {
  display: block;
  float: left;
  margin-right: 5px;
}
/*form .form-item label {*/
	/*width: 150px;*/
/*}*/

/* Label encima del input */
form #edit-account label,
form #edit-account input,
form #edit-account select,
form fieldset .form-item label,
form fieldset .form-item input[type="text"],
form fieldset .form-item select {
	float: none;
	width: auto;
	text-align: left;
}

.form-checkboxes .form-item,
.form-radios .form-item {
	margin-bottom: 5px;
}

form .form-item .form-required {
	color: #00396d;
	font-size: 17px;
	font-weight: bold;
}

form .form-item .description {
	font-size: 0.7em;
	clear: both;
}

form .form-item.form-type-password-confirm .form-item {
	float: left;
	margin-right: 20px;
	margin-bottom: 0;
}

form #edit-account .form-item.form-type-password-confirm .form-item input[type="password"] {
	width: 95%;
}

form .form-item.form-type-password-confirm .description {
	clear: both;
}

form .form-item.form-type-password-confirm .password-strength,
form .form-item.form-type-password-confirm div.password-confirm {
	display: none;
}

form fieldset {
	background: #eeefed;
	border: none;
	padding: 0 10px;
}

form fieldset .fieldset-wrapper {
	border: 1px solid transparent;
}

form fieldset .form-item {
	margin: 10px 0;
}

form fieldset legend {
	display: none;
}

form fieldset .form-item input {
	background: #fff;
}

form fieldset .form-item input[type="checkbox"],
form fieldset .form-item input[type="radio"] {
	background: none;
}

#user-profile-form .form-item {
	margin-top: 0;
}

#user-profile-form #edit-account .form-item {
	margin-top: 1.5em;
}

#user-profile-form #edit-account .form-item .form-item {
	margin-top: 0;
}

#user-profile-form fieldset .form-item {
	margin: 10px 0;
}

form .form-item select {
	border: 0 !important;  /*Removes border*/
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
	-moz-appearance: none; /* Removes Default Firefox style*/
	background: url('/sites/all/themes/stada/img/select_arrow.png') no-repeat right top #eeefed;  /*Adds background-image*/
	width: 310px; /*Width of select dropdown to give space for arrow image*/
	text-indent: 0.01px; /* Removes default arrow from firefox*/
	text-overflow: "";  /*Removes default arrow from firefox*/
}

form fieldset .form-item select {
	background: url('/sites/all/themes/stada/img/select_arrow.png') no-repeat right top #fff;  /*Adds background-image*/
}

form .form-item select::-ms-expand {
    display: none;
}

.button,
.form-submit {
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	background: #00396d;
	padding: 3px 10px;
	border: none;
}

a.button:hover {
	text-decoration: none;
}

#user-login .form-item label {
	width: 270px;
  float: left;
  text-align: right;
}


/*#asm-extranet-cliente-form .form-item .description {*/
  /*margin-left: 195px;*/
/*}*/

#user-login .form-item .description {
	margin-left: 285px;
}

#user-login .form-item.form-item-name .description {
	display: none;
}

/*#asm-extranet-cliente-form .form-item label {*/
	/*width: 190px;*/
/*}*/
#asm-extranet-cliente-form.label {
  width: 190px;
}
