/** ! The 1140px Grid V2 by Andy Taylor http://cssgrid.net 
  * Adapted to allow nested rows by Francisco Torralbo 
  */

.container { padding-left: 20px; padding-right: 20px; }
.row { width: 100%; margin: 0 auto; overflow: hidden; max-width:1140px;}
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol { margin-right: 3.8%; float: left; min-height: 1px; }
.row .onecol { width: 4.85%; }
.row .twocol { width: 13.45%; }
.row .threecol { width: 22.05%; }
.row .fourcol { width: 30.75%; }
.row .fivecol { width: 39.45%; }
.row .sixcol { width: 48%; }
.row .sevencol { width: 56.75%; }
.row .eightcol { width: 65.4%; }
.row .ninecol { width: 74.05%; }
.row .tencol { width: 82.7%; }
.row .elevencol { width: 91.35%; }
.row .twelvecol { width: 100%; float: left; }
.last { margin-right: 0px; }

img, object, embed { max-width: 100%; }
img { height: auto; -ms-interpolation-mode: bicubic}

/* LIST ========================= */
.dl-horizontal dt {
  float: left;
  width: 120px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-horizontal dd {
  margin-left: 130px;
}

.unstyled{ list-style-type: none; padding:0;}
.inline{ padding:0; }
  .inline li{ display:inline; padding:0; }

/* TIPOGRAFÍA *********************/

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  color: #444;
  background-color: #ffffff;
  -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -o-hyphens: auto; hyphens: auto;
}

/* Where to avoid hyphenation (http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/) */
code, var, kbd, samp, tt, dir, listing, plaintext, xmp, abbr, acronym, blockquote, q {hyphens: none;}

p { font-size:1em; line-height: 1.5em; margin:0 0 1.5em 0;}
/* Indented paragraphas */
/*p { margin-bottom: 0; } p + p { text-indent: 2em; margin-top: 0; }*/
h1, h2, h3, h4, h5{ font-weight: normal; font-family:Palatino, Georgia, Times, serif; color:#000; }
/* Ems calculator http://modularscale.com/ */
h1 { font-size:2em; line-height: 1.5em; margin:0 0em 0em 0; }
h2 { font-size:1.5em; line-height: 1em; margin:0em 0em 1em 0em;}
h3 {font-size: 1.2em; line-height: 1.25em; margin-bottom:1.25em; font-variant: small-caps;}
h4{ font-size: 1em; line-height:1.5em; margin-bottom:1.5em; font-weight: bold;}
h1 a, h2 a, h3 a, h4 a, h5 a { font-weight: inherit; }
ul, ol{ margin-bottom:1.5em; }
abbr{ font-variant: small-caps; }

/* Resaltar enlaces externos */
a[target="_blank"]:before, a[target="new"]:before { margin:0 5px 0 0; padding:1px; color:#666; background:#EEE; font:13px "Zapf Dingbats"; content: "\279C"; }

.hero{ font-size:1.2em; line-height: 1.25em; margin-bottom: 1.25em; font-family: Palatino, Georgia, Times, serif;}
.small{ font-size:0.8em; line-height: 1.875em; margin-bottom: 1.875em;}
.hyphenate{ -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; text-rendering: optimizeLegibility; text-align:justify;}

/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

#pageHeader, #pageFooter{ text-align:center;}
.button{
  text-decoration: underline;
  cursor:pointer;
}

dt{ font-style: italic;}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

/* Smaller screens */

/** iPad Landscape **/
@media only screen and (max-width: 1024px) {

	body {
		font-size: 0.9em;
		line-height: 1.5em;
	}

	.row .row{ width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; }
	.row .row .onecol, .row .row .twocol, .row .row .threecol, .row .row .fourcol, .row .row .fivecol, .row .row .sixcol, .row .row .sevencol, .row .row .eightcol, .row .row .ninecol, .row .row .tencol, .row .row .elevencol, .row .row .twelvecol { width: auto; float: none; margin-left: 0px; margin-right: 0px;  }

}

/** iPad Portrait **/
@media handheld, only screen and (max-width: 767px) {

	body { font-size: 16px; -webkit-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; }

	.container{ width: 96%; min-width: 0; margin-left: 0px; margin-right: 0px; padding:0 2%; }
	.row { width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; }
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol { width: auto; float: none; margin-left: 0px; margin-right: 0px;  }

  /* Helper classes */
  .visible-phone { display: inherit !important; }
  .hidden-phone { display: none !important; }
  .hidden-desktop { display: inherit !important; }
  .visible-desktop { display: none !important; }
}

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !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; }
  .hide{ display:block!important; }
}


/** HELPER CLASSES */

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

.pull-right { float: right; }
.pull-left { float: left; }

.hide { display: none; }
.show { display: block; }
.invisible { visibility: hidden; }
.screen-reader-text { position: absolute; top: -9999px; left: -9999px; }
.visible-phone { display: none !important; }
.visible-tablet { display: none !important; }
.hidden-desktop { display: none !important; }

@media (min-width: 768px) and (max-width: 979px) {
  .visible-tablet { display: inherit !important; }
  .hidden-tablet { display: none !important; }
  .hidden-desktop { display: inherit !important; }
  .visible-desktop { display: none !important ; }
}