/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

@font-face {
font-family: 'senturi';
src: url(../fonts/gothic.ttf) format('truetype'), 
url('../fonts/gothic.eot');
}

body {
	font-size: 1em;
	line-height: 1.4;
	font-family: Tahoma, Geneva, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'senturi', Tahoma, Geneva, sans-serif;
	}
h3 a {
	color:#073656;
	text-decoration:none;
	}
h3 a:hover {
	color: #0A4974;
	text-decoration: underline;
	}	
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * 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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}



/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}

#iso {
	float: left;
	height: 246px;
	width: 200px;
	background-image: url(../img/iso.png);
	background-repeat: no-repeat;
	margin-left: 10px;
	z-index: 100;
}
#pie {
	position: fixed;
	height: 70px;
	width: 100%;
	background-image: url(../img/f.png);
	float: left;
	bottom: 0px;
	text-align: right;
	padding-top: 7px;
	z-index:1000;
	}
#conte {
	margin: 0;
	float: left;
	width: 83%;
	height:100%
	display: block;
	padding-top: 2.3em;
	padding-bottom: 2.3em;
	padding-left: 2.3em;
	padding-right:0em;
	}
#conte h1 {
	line-height: 1em;
	}	
#conte p {
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.3em;
	text-align: justify;
	}
#contenido {
	top: 5px;
	bottom: 5px;
	right: 0px;
	left: 100%;
	background-color: #FFFFFF;
	opacity: 0.90;
	filter: alpha(opacity=90);
	position: fixed;
	z-index: 10;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #9C0;
	overflow: auto;
	background-image: url(../img/fd.png);
	background-repeat: repeat-x;
	background-position: left top;
}
#cerrar {
	display: block;
	position:absolute;
	width: 48px;
	height: 48px;
	background-image: url(../img/cerrar.png);
	opacity: 1;
	filter: alpha(opacity=100);
	cursor: pointer;
	margin-top: 10px;
	margin-right: 19px;
	margin-bottom: 10px;
	margin-left: 10px;
	z-index:100;
}
#cerrar:hover {
	opacity: 0.8;
	filter: alpha(opacity=80);
	}
#btop {
	display: block;
	position: fixed;
	top: 0px;
	left: 0px;
	bottom: 80px;
	width: 250px;
	background-image: url(../img/f.png);
	z-index: 20;
}
.sombra {
	-moz-box-shadow: 4px 4px 4px #073656;
	-webkit-box-shadow: 4px 4px 4px #073656;
	box-shadow: 4px 4px 4px #073656;
	}
.sombratexto {
	-moz-text-shadow: 1px 1px 2px #073656;
	-webkit-text-shadow: 1px 1px 2px #073656;
	text-shadow: 1px 1px 2px #073656;
	}	
.borde {
	border: 1px solid #FFF;
}
#cheader {
}
.minfo {
	display: block;
	background-color: #ABAAB8;
	float: left;
	margin: 0.5em;
	padding: 0.5em;
	min-height: 10em;
	-moz-box-shadow: 2px 2px 2px #161616;
	-webkit-box-shadow: 2px 2px 2px #161616;
	box-shadow: 2px 2px 2px #161616;
	color: #FFF;
	cursor:pointer;
	width:auto;
	min-width:16em;
	max-width:23em;
	}
.minfo div {
	font-size:85%;
	}
.minfo:hover {
	background-color: #7B7B93;
	-moz-box-shadow: 3px 3px 3px #161616;
	-webkit-box-shadow: 3px 3px 3px #161616;
	box-shadow: 3px 3px 3px #161616;
}
.minfo img {
	float: left;
	margin-right:10px;
	}
.descargable {
	background-image: url(../img/d.png);
	background-repeat: no-repeat;
	background-position: right top;
}

.izquierda {
	float: left;
	margin-right:10px;
	}	
.resumen {
	color: #FFF;
	background-color: #1E3644;
	padding: 6px;
}
.resumen a {
	color: #FFF;
	text-decoration:none;
	}
.resumen a:hover {
	text-decoration:underline;
	}
.etiqueta {
	font-size: 80%;
	color: #FFF;
	background-color: #1E3644;
	padding: 6px;
	margin-bottom: 12px;
}
.etiqueta a {
	color: #FFF;
	}
	
.etiqueta2 {
	font-size: 80%;
	color: #FFF;
	background-color: #ACB3C1;
	padding: 6px;
}
.etiqueta2 a {
	color: #FFF;
	}
.separador {
	clear: both;
	width: 100%;
	display: block;
	margin: 0px;
	margin-top: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ACBCBF;
	}
.arr {
	font-size: 80%;
}
#volver {
	display: block;
	height: 30px;
	background-image: url(../img/volver1.png);
	background-repeat: no-repeat;
	background-position: left top;
	width: 101px;
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	cursor:pointer;
	float:left;
	}
#volver:hover {
	background-image: url(../img/volver2.png);
		}
		
#pedir, #pedir2, #pdf, #epub, #compartir {
	display: block;
	height: 30px;
	background-repeat: no-repeat;
	background-position: left top;
	width: 101px;
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	cursor:pointer;
	float:left;
	}
#pedir	{
	background-image: url(../img/b1.png);}
#pedir2	{
	background-image: url(../img/b1x.png);
	cursor:default;}	
#pdf	{
	background-image: url(../img/b2.png);}	
#epub	{
	background-image: url(../img/b3.png);}
#compartir	{
	background-image: url(../img/b4.png);}		


#pedir:hover	{
	background-image: url(../img/b1b.png);}
#pdf:hover	{
	background-image: url(../img/b2b.png);}	
#epub:hover	{
	background-image: url(../img/b3b.png);}
#compartir:hover	{
	background-image: url(../img/b4b.png);}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 700px) {
    /* Style adjustments for viewports that meet the condition */
	#conte h1{
		font-size: 20px
	}
	#conte{
		padding-left: 4px;
		padding-right: 4px;
		margin-top: 1px;
		margin-left: 1px;
	}
	#cerrar{
		margin-top: 1px;
		margin-left: 1px;
	}
	.minfo{
		float: none;
		max-width: inherit;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}
