/**
 * @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,
.views-exposed-form label { /* The label for a form element */
  display: block;
  font-weight: normal;
  color: #cbcbcb;
  font-style: italic;
}

.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;
	-ms-appearance: button;
	-o-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 #000;
}

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

/* Form */

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0px;
	line-height: 24px;
	cursor: pointer;
	border-style: none;
	padding: 3px 10px;
	color: #ffffff;
	background-color: transparent;
	background-image: url(../images/cs-select@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
	min-height: 30px;
}

select:hover {
	background-position: center bottom;
}

option {
	color: #000000;
	background-color: #ffffff;
}

select[multiple=multiple] option {
	color: #ffffff;
}

input[type=text],
input[type=password] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0px;
	line-height: 24px;
	cursor: text;
	border-style: none;
	padding: 3px 15px;
	color: #000000;
	background-color: transparent;
	background-image: url(../images/cs-input-text@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
	min-height: 24px;
	max-width: 90%;
}

input[type=text]:hover,
input[type=password]:hover {
	background-position: center bottom;
}

html.js input[type=text].form-autocomplete {
	background-image: url(/misc/throbber.gif), url(../images/cs-input-text@2x.png);
	background-size: auto auto, 100% 200%;
	background-repeat: no-repeat, no-repeat;
	background-position: 98% 10px, center top;
}

html.js input[type=text].throbbing {
  background-position: 98% -13px, center top;
}

input[type=submit] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0px;
	line-height: 24px;
	cursor: pointer;
	border-style: none;
	padding: 3px 15px;
	margin-right: 5px;
	color: #ffffff;
	background-color: transparent;
	background-image: url(../images/cs-input-btn@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
	min-height:30px;
}

input[type=submit]:hover {
	background-position: center bottom;
}

input[type=checkbox] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0px;
	vertical-align: middle;
	width: 15px;
	height: 15px;
	cursor: pointer;
	border-style: none;
	background-color: transparent;
	background-image: url(../images/cs-input-checkbox@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
}

input[type=checkbox]:checked {
	background-position: center bottom;
}

input[type=radio] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0px;
	vertical-align: middle;
	width: 15px;
	height: 15px;
	cursor: pointer;
	border-style: none;
	background-color: transparent;
	background-image: url(../images/cs-input-radio@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
}

input[type=radio]:checked {
	background-position: center bottom;
}

#edit-cancel {
	float: right;
}

/* Formulario advertencias */

.form-item-field-advertencia-tid .bef-checkboxes .form-item {
	display: inline-block;
	margin-right: 3px;
}

.form-item-edit-field-advertencia-tid-6 input[type=checkbox],
.form-item-edit-field-advertencia-tid-7 input[type=checkbox],
.form-item-edit-field-advertencia-tid-8 input[type=checkbox] {
	width: 30px;
	height: 30px;
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
}

.form-item-edit-field-advertencia-tid-6 input[type=checkbox] {
	background-image: url(../images/cs-input-checkbox-sexual@2x.png);
}

.form-item-edit-field-advertencia-tid-7 input[type=checkbox] {
	background-image: url(../images/cs-input-checkbox-lenguaje@2x.png);
}

.form-item-edit-field-advertencia-tid-8 input[type=checkbox] {
	background-image: url(../images/cs-input-checkbox-violencia@2x.png);
}

.form-item-edit-field-advertencia-tid-6 label.option,
.form-item-edit-field-advertencia-tid-7 label.option,
.form-item-edit-field-advertencia-tid-8 label.option {
	display: none;
}

.form-item-edit-field-advertencia-tid-6 input[type=checkbox]:checked,
.form-item-edit-field-advertencia-tid-7 input[type=checkbox]:checked,
.form-item-edit-field-advertencia-tid-8 input[type=checkbox]:checked {
	background-position: center bottom;
}

/* Buscador */

#block-search-form {
	position: relative;
	z-index: 499;
	min-width: 35px;
}

#block-search-form input[type=submit] {
	width: 30px;
	height: 30px;
	background-image: url(../images/cs-ico-buscar@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
	font-size: 0;
	line-height: 30px;
	float: right;
}

#block-search-form input[type=submit]:hover {
	background-position: center bottom;
}

#block-search-form input.form-text {
	position: absolute;
	right: 35px;
	top: 0px;
	width: 0px;
	opacity: 0;
	padding: 0px;
	max-width: none;
}

#block-search-form:hover input.form-text,
#block-search-form input.form-text:focus {
	width: 120px;
	opacity: 1;
	padding: 3px 15px;
}

#block-search-form .element-invisible {
	display: none;
}

/* Ubercart */

/*.display-price {
	color: rgb(3,165,0);
	clear: right;
	float: right;
	font-size: 1.1em;
	font-weight: bold;
	padding-bottom: 0px;
	padding-left: 4px;
	text-align: center;
}*/

.group-compra .form-actions {
	margin: 0;
	padding: 0 0 10px 0;
	clear: both;
}

.group-compra input.node-add-to-cart {
	background-image: url(../images/cs-btn-3@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;
	width: 100%;
}

.group-compra .attributes input.node-add-to-cart {
	margin-top: 15px;
}

.group-compra input.node-add-to-cart:hover {
	background-position: center bottom;
}

.group-compra .attribute > .form-item {
	margin: 0;
}

.group-compra .form-item.form-type-radio:nth-child(2n+1) {
	float: left;
	width: 49%;
	margin-left: 0%;
	margin-right: -49%;
	clear: left;
}

.group-compra .form-item.form-type-radio:nth-child(2n) {
	float: left;
	width: 49%;
	margin-left: 51%;
	margin-right: -100%;
}

.group-compra .form-item.form-type-radio input {
	display: none;
}

.group-compra .form-item.form-type-radio label {
	display: block;
	background-image: url(../images/cs-btn-3@2x.png);
	background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center bottom;
	text-align: center;
	padding: 3px 15px;
	line-height: 24px;
	cursor: pointer;
	margin: 0 0 10px 0;
	font-style: normal;
	color: #ffffff;
}

.group-compra .form-item.form-type-radio label:hover {
	background-position: center top;
}

.group-compra .form-item.form-type-radio input[checked="checked"] + label {
	background-position: center top;
}

.group-compra select {
	/*color: #ffffff;
	background-color: transparent;*/
	background-image: url(../images/cs-btn-3@2x.png);
	/*background-size: 100% 200%;
	background-repeat: no-repeat;
	background-position: center top;*/
	
	width: 100%;
	margin-bottom: 5px;
	text-align: center;
}

.group-compra select:hover {
	background-position: center bottom;
}

.display-price {
	color: rgb(3,165,0);
	clear: right;
	float: right;
	
	font-weight: bold;
	padding-bottom: 0px;
	padding-left: 4px;
	text-align: center;
	
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 1.4em;
}

/*.group-compra input.node-add-to-cart {
	width: 66%;
}*/