/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; overflow:auto; font-family: Arial, Helvetica, sans-serif;}

body { margin: 0; font-size: 13px; line-height: 1.231; text-align: center; background: #fff;}

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fc0; color: #fff; text-shadow: none; }
::selection { background: #fc0; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #888; text-decoration: none;}
a:visited { color: #888; text-decoration: none;}
a:hover { color: #aaa; text-decoration: none; }
a:focus { outline: thin dotted; text-decoration: none; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */
header{
	width: 100%;
	margin: 0 auto;
	height: 120px;
	border-bottom: 1px solid #fff;
	background-image: url('images/header.jpg');
	display: inline-block;
	box-shadow: 0 -18px 40px #000;
	position: relative;
	z-index: 9;
}
header > div{
	width: 960px;
	margin: 0 auto;
}
header .phoneborderleft{
	width: 1px;
	background: #f3d5a5;
	height: 58px;
	display: inline-block;
	float: right;
}
header .phoneborderright{
	width: 1px;
	background: #dcb968;
	height: 58px;
	display: inline-block;
	float: right;
}
header .phone{
	border-left: 1px solid #f3d5a5;
	border-right: 1px solid #dcb968;
	color: #fff;
	background-image: url('images/phoneBack.jpg');
	float: right;
	width: 207px;
	height: 58px;
	display: inline-block;
	font-size: 20px;
}
header .phone > span{
	font-size: 14px;
}
header .logo{
	float: left;
	width: 271px;
	height: 110px;
	display: inline-block;
	background: url('images/jarilloLogo01.jpg') 0 5px no-repeat;
	cursor: pointer;
}
header nav{
	width: 960px;
	margin: 61px auto;
}
header nav ul li{
	float: right;
	display: inline-block;
	height: 58px;
}
header nav ul li:first-child{
	width: 1px;
	background: #fff;
}
header nav ul li:last-child{
	width: 1px;
	background: #d6d6d6;
}
header nav ul li[to]{
	width: 137px;
	border-left: 1px solid #fff;
	border-right: 1px solid #d6d6d6;
	color: #565656;
	font-size: 12px;
	line-height: 58px;
	cursor: pointer;
}
header nav ul li[to]:hover{
	font-weight: bold;
	border-bottom: 2px solid #fc0;
}
header > img{
	position: absolute;
	top: 120px;
	left: 50%;
	margin: auto -130px;
}
header > img#arrowW{
	display: none;
}
#slide{
	height: 362px;
	width: 960px;
	margin: -2px auto;
	background: #fff;
}
#main{
	width: 100%;
	border-top: 1px solid #e5e5e5;
	display: inline-block;
	background: #efefef;
	margin-top: 2px;
}
footer{
	width: 100%;
	display: inline-block;
	height: 60px;
	background-image: url('images/footer.jpg');
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
	margin: -3px;
	line-height: 60px;
	vertical-align: middle;
}
footer span{
	float: right;
	display: inline-block;
	margin-right: 8px;
}
footer div{
	width: 960px;
	margin: 0 auto;
	color: #565656;
}
footer nav ul li[to]{
	float: left;
	display: inline-block;
	width: 137px;
	border-right: 1px solid #d6d6d6;
	color: #565656;
	font-size: 12px;
	cursor: pointer;
}
footer nav ul li[to]:hover{
	font-weight: bold;
	border-top: 2px solid #fc0;
}
footer nav ul li[to]:first-child{
	border-left: 1px solid #d6d6d6;
}
/*
 * ANIM
 */
#progressbar{
	height: 2px;
	background: #ffeaba;
	width: 0;
	position: absolute;
	top:120px;
	z-index: 8009;	
}
#butt_anim_left{
	background-image:url('images/butt_anim_left.png');
	position:absolute;
	top: 280px;
	left:auto;
	height:55px;
	width:36px;
	cursor:pointer;
	z-index: 999;
}
#butt_anim_right{
	background-image:url('images/butt_anim_right.png');
	position:relative;
	top: -204px;
	left:924px;
	height:55px;
	width:36px;
	cursor:pointer;
	z-index: 999;
}
#div_img_anim{
	height:362px;
	z-index: 0;
	box-shadow: 0 0 20px #eee;
}
#img_anim, #img_anim2{
	position:absolute;
	display:none;
}
#div_text_anim{
	position:absolute;
	top:224px;
	left:auto;
	width:960px;
	height:120px;
	margin:40px 0px;
	color:#ffffff;
	text-align:center;
	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size:28px;
	overflow:hidden;
	cursor:default;
}
#text_anim{
	position:relative;
	padding: 0 68px;
	width: 824px;
	z-index: 99;
	display: inline-block;
	text-shadow: 1px 1px 1px #333;
	font-weight: bold;
}
/* * */
.section{
	display: none;
	width: 960px;
	margin: 0 auto;
	color: #969696;
	font-size: 14px;
}
#aboutus div{
	width: 439px;
	padding: 40px 20px 40px 20px;
	float: left;
	display: inline-block;
	text-align: justify;
	border-left: 1px solid #d7d7d7;
	height: 360px;
}
#aboutus div.team{
	width: 388px;
	padding: 40px 20px 40px 70px;
	float: left;
	display: inline-block;
	text-align: left;
	border-left: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
	height: 360px;
}
#services div{
	width: 279px;
	padding: 160px 20px 40px 20px;
	/*margin: 0 20px;*/
	float: left;
	display: inline-block;
	text-align:justify;
	border-left: 1px solid #d7d7d7;
	min-height: 320px;
}
#services div > span{
	font-size: 18px;
	display: block;
	width: 278px;
	text-align: center;
}
#services div.medtec{	
	background: url('images/ji_icon_medtec.png') top center no-repeat;
}
#services div.col{	
	background: url('images/ji_icon_col.png') top center no-repeat;
}
#services div.exp{	
	background: url('images/ji_icon_exp.png') top center no-repeat;
	border-right: 1px solid #d7d7d7;
	width: 278px;
}
#lecturacontador div{
	width: 918px;
	padding: 20px;
	padding-top: 32px;
	/*margin: 0 20px;*/
	float: left;
	display: inline-block;
	text-align:justify;
	border-left: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
	min-height: 340px;
}
#lecturacontador > img{	
	float: right;
	height: 124px;
	margin-right: 32px;
}
#lecturacontador > span{
	text-align: left;
}
#lecturacontador label{
	display: inline-block;
	min-width: 120px;
	margin: 4px;
	margin-left: 32px;
}
#lecturacontador input{
	min-width: 200px;
	margin: 4px;
	margin-left: 32px;
}
#lecturacontador label[for=comentarios]{
	float: right;
	min-width: 80px;
	margin: 4px;
	margin-top: -174px;
	margin-right: 32px;
}
#lecturacontador textarea[name=comentarios]{
	float: right;
	min-width: 320px;
	min-height: 168px;
	margin: 4px;
	margin-top: -176px;
	margin-right: 32px;
}
#lecturacontador input[type=button]{
	float: left;
	min-width: 96px;
	min-height: 28px;
	margin-top: 8px;
	border: none;
	color: #FFF;
	background-color: #47862B;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.iberdrola_banner{
	float: right;
	margin: 4px;
	cursor: pointer;
}
.mandatory_field_violation{
	color: #f00;
}
#contact div{
	width: 279px;
	padding: 40px 20px 40px 20px;
	float: left;
	display: inline-block;
	text-align:justify;
	border-left: 1px solid #d7d7d7;
	min-height: 280px;
}
#contact div.add{
	width: 278px;
	border-right: 1px solid #d7d7d7;
}
#contact div > span{
	font-size: 18px;
	display: block;
	width: 278px;
	text-align: center;
}
#home{
	display: block;	
	min-height: 362px;
}
#home > span{
	font-size: 24px;	
	font-style: italic;
}
#home div{
	width: 280px;
	padding: 160px 20px 40px 20px;
	float: left;
	display: inline-block;
	text-align:justify;
	margin-top: 40px;
	cursor: pointer;
	min-height: 24px;
	text-align: center;
}
#home div[to="aboutus"]{	
	background: url('images/ji_home_about.png') top center no-repeat;
}
#home div[to="services"]{	
	background: url('images/ji_home_serv.png') top center no-repeat;
}
#home div[to="contact"]{	
	background: url('images/ji_home_contact.png') top center no-repeat;
}
#home > div > span{
	display: none;
	font-size: 18px;
	width: 280px;
	text-align: center;
}
/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.social{
	min-width: 200px;
}


/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
