@font-face {
  font-family: "Huxtable";
  src: url(huxtable.ttf);
/* format("truetype"); */
}

span.palabra-extranjera {
	font-style: italic;
}

/*
:lang(es)>:lang(en)
{
	font-style: italic;
}
*/

body {
	margin: 0 20% 2em 10%;
	font-family: "trebuchet ms", lucida, sans-serif;
	/*	background-color: white; */
	/* background-color: #fffdf5; */
	text-align: justify;
	line-height: 150%;
	font-size: 90%;
	text-rendering: optimizeLegibility;
}

@media print {
	body { margin: 1cm; line-height: 120%; }
}

h1,h2,h3,h4 {
	margin-left: -1em;
	margin-right: -1em;
}

h1 {
	line-height: 160%;
	text-shadow: .015em .01em .05em #00f, 0.1em 0.1em .2em #777;
	color: #abe;
	font-size: 250%;
/*	font-family: Huxtable, sans-serif; */
}

table {
	margin-left: -2em;
	margin-right: -2em;
	border-collapse: collapse;
	border: 1px solid gray;
}

hr {
	margin-left: -2.5em;
	margin-right: -2.5em;
}

var {
	font-style: italic;
	color: #e0e;
}

h1 {
	margin-top: 1em;
	margin-bottom: 2em;
	text-align: center;
}

h2 {
	border-bottom: 2px solid black;
	text-shadow: .06em .06em .1em #44e;
}

h2,h3,h4,hr {
	margin-top: 2em;
}

:link img, :visited img {
	border-style: none;
}

pre {
	border: 2px inset black;
	background-color: #eee;
	padding: 1em;
	color: black;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 8%;
	margin-right: 8%;
	white-space: pre;
/*	font-weight: bold; */
}

code,pre {
	font-family: consolas, lucida console, monospace;
}

td pre {
	padding: .6em;
}

:link:hover, :visited:hover {
	color: red;
/*	background-color: white; */
}

q {
	quotes: "\201c" "\201d" "\2018" "\2019";
	font-style: italic;
}

p>q {
	font-style: inherit;
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

caption {
	font-style: italic;
	font-weight: bolder;
}

td,th {
	padding: .5em;
	border: 1px solid gray;
}

th {
	background-color: #eee;
	color: black;
}

p.warning {
	padding: 1em;
	border: 3px solid red;
	background-color: #eee;
}

#traducciones {
	/*position: absolute;
	right: 4px;
	width: 8em; */
	font-size: 80%;
	font-family: tahoma, sans-serif;
	border: 1px solid navy;
	border-bottom-width: 2px;
	border-right-width: 2px;
	background-color: #eef;
	margin: 0;
	padding: .5em;
	font-weight: bolder;
}

#traducciones li {
	display: block;
	list-style-type: none; /* for the dumb explorer */
}

#traducciones :link, #traducciones :visited {
	display: block;
	text-decoration: none;
	padding: .1em;
}

#traducciones :link:hover, #traducciones :visited:hover {
	background-color: #ddf;
}

#sponsor {
	position: absolute;
	right: 0;
	display: block;
	margin-top: 1em;
	margin-left: auto;
	margin-right: 0;
	width: auto;
	text-align: right;
}

#sponsor img {
/* the image will scale according to the device's DPI.. ooooh! =) */
	width: 11.2em;
	height: 1.5em;
	border-style: none;
/*	display:block; */
	margin: 0;
}

dt {
	font-weight: bold;
}

li+li {
	margin-top: 1em;
}

#barra-der {
	position: absolute;
	right: 4px;
	top:10em;
	padding-top: 4em;
	padding-left: 5px;
}

.regla {
	font-weight: bold;
	border-left: 3px solid #444;
	border-right: 3px solid #444;
	padding: .6em;
	background-color: #ddd;
}

.subtitulo {
	margin-top: -2em;
	padding-top: 0;
	font-style: italic;
	text-align: center;
	font-size: 133%;
}

.nota-lateral {
	background-color: #eee;
	float: right;
	padding: 1em;
	margin: 0 0 .5em 2.5em;
	max-width: 18em;
	width: 25%;
	border: 1px solid #bbb;
	font-size: 90%;
}

.menos-importante  {
	margin-left: 1em;
	font-size: 85%;
	margin-right: 1em;
	font-style: italic;
}
