/**
 * @file
 * Form Styling
 */

fieldset {
	padding: 1em;
  	border: 1px solid #CCCCCC;
  	-moz-border-radius: 4px;
  	border-radius: 4px;	
}

fieldset.collapsible.collapsed {
	-moz-border-radius: 0;
	border-radius: 0;
	padding: 0 1em;
}



.form-item,
.form-checkboxes,
.form-radios /* 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;
}

.webform-container-inline label {
    display: inline;
    margin-right: 1em;
}

.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.4em 0;
    text-align: left;  
}

.form-submit /* The submit button */ {
	border: 0;
	background: #B6B6B6;
	color: #FFFFFF;
	padding: 3px 30px;
	cursor: pointer;
	margin-right: 5px;	
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.form-submit:hover {
	color: #F2EA00;
}

.form-submit:active {
	color: #FFFFFF;
	background: #009BD1;
	
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	
}


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

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


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

#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-top: 1em;
  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: 1em;
}

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


/* Formulario de contacto */

.section-contacto .webform-component {
    float: left;
    width: 48%;
    margin-right: 2%;
    margin: 0;
}

.webform-component--nota {
	width: 100% !important;
	text-align: left !important;
	float: none;
	clear: both;
	background: #F4F4F4;
	padding: 2px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;	
	margin-bottom: 1em;
}
.webform-component--nota p{
	margin: 0;
}
.section-contacto input.form-text, .section-contacto textarea.form-textarea {
	border-top: 1px solid #8F8F8E;	
	border-left: 1px solid #8F8F8E;
	border-width: 1px 0 0 1px;
	background: #ECECE9;
	width: 100%;
	padding: 3px;
	vertical-align: middle;
	
	-moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.3) inset;
	-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.3) inset;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.3) inset;
}

.section-contacto input.form-text {
	width: 60%;
}

.section-contacto input#edit-submitted-datos-nombre {
	width: 30%;
	margin-right: 30%;	
}

.webform-client-form .webform-component {
	text-align: right;
	padding-bottom: .7em;	
}

.webform-submission .webform-client-form .webform-component {
	text-align: left;	
}

.webform-component--campo-consulta .webform-component {
	width: auto;
	float: none;
	margin: 0;
}

.webform-component--campo-consulta .resizable-textarea {
	width: auto;
	margin-left: 124px;
	margin-right: 3%;
}

.webform-component--campo-consulta .resizable-textarea textarea {
	
}

.webform-component--asunto-fieldset select {
	border: 0;
	background: #009DD3;
	color: #FFFFFF;
	padding: 2px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.webform-component--campo-consulta--confirmacion {
	padding-left: 124px;
	font-size: .9em;
	margin-bottom: 0;
	text-align: left;
}

.webform-submission  .webform-component--campo-consulta--confirmacion {
	padding-left: 0;	
}

.webform-component--campo-consulta--confirmacion .form-radios {
	margin-bottom: 0;
}

.section-contacto .form-actions {
	text-align: right;	
	padding-right: 14px;
}

/*.section-contacto input.form-submit {
	border: 0;
	background: #B6B6B6;
	color: #FFFFFF;
	padding: 1px 30px;
	cursor: pointer;
	
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.section-contacto input.form-submit:hover {
	color: #F2EA00;
}

.section-contacto input.form-submit:active {
	color: #FFFFFF;
	background: #009BD1;
	
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.65) inset, -2px -2px 2px rgba(255,255,255,0.65) inset;
	
}*/

.section-contacto .node-type-webform {
	padding-bottom: 2em;	
}


div.admin {
	padding-bottom: 1em;	
}

.section-admin .admin .left, .section-admin .admin .right {
	width: 48%;
	float: left;
	margin-right: 4%;
}
.section-admin .admin .right {
	margin-right: 0;	
}

div.admin-panel {
	border: 1px solid #CCCCCC;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 12px;
	margin-bottom: 2em;
	
	-moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.4);
	box-shadow: 0px 3px 5px rgba(0,0,0,0.4);
}

div.admin-panel h3 {
	font-size: 1.5em;
	color: #008ED2;	
	margin-top: 0;
}

div.admin-panel p.description {
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #E0E0E0;
	padding: 6px;
}



/*****
******  CAPTCHA
*****/


fieldset.captcha {
	background: #F4F4F4;
	text-align: left;
}

.section-contacto #content-area .node fieldset.captcha {
	padding: 1em;	
}

fieldset.captcha legend {
	display: none;
}

.captcha .description {
	background: #FFFFFF;
	padding: .6em;
	margin-bottom: 1em;
	color: #666666;
	font-size: .9em;
}

.captcha img {
	display: block;
	margin: 1em auto;
	border: 2px solid #CCCCCC;	
}


#edit-captcha-response-wrapper {
	margin-bottom: 0;	
}

#edit-captcha-response-wrapper label {
	display: inline-block;
	vertical-align: middle;
}

input#edit-captcha-response {
	background-color: #FFFFFF;
	vertical-align: middle;
	width: 100px;
}

#edit-captcha-response-wrapper .description {
	background: transparent;
	font-size: .8em;
	padding: 0;	
	margin-bottom: 0;
	color: #999999;
}


/****
*****  RECAPTCHA
****/


#recaptcha_widget_div {
	text-align: center;	
}

#recaptcha_table {
	display: inline-block;
	border: 0!important;
}

.captcha #recaptcha_area img {
	margin: 0;
	border: 0;	
}

.recaptcha_input_area input {
	background: none repeat scroll 0 0 #ECECE9;
	border-color: #8F8F8E #E6E6E6 #E6E6E6 #8F8F8E!important;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) inset;
    padding: 3px;
}