/* HTML5 Boilerplate  */

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; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
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; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
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%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

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; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; max-width: 100%;}
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
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, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

body,
html
{
	height: 100%;
	overflow: hidden;
	background: url(../img/fons-mosaic.jpg) repeat;
}

body
{
	
	position: relative;
	width: 100%;
}

#loading-frame
{
	position: absolute;
	top:0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 99999;
	background: url(../img/fons-mosaic.jpg) repeat;
}

#loading-frame p
{
	text-align: center;
	margin-top: 300px;
	font-size: 14pt;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	color: #888;
	padding-bottom: 50px;
	background: url(../img/bkgs/frame-loader.gif) no-repeat 50% 100%;
}

#main
{
	max-width: 80em;
	max-height: 46.57em;
	position: relative;
	width: 90%;
	/* height: 100%; */
	margin: 0 auto;
	padding: 0px;
	background-color: transparent !important;
	display: none;
}

/* Controles */

#main-control
{
	position: absolute;
	top: 20px;
	right: -215px;
	height: 63px;
	width: 264px;
	z-index: 9;
	display: none;
}

#slider-control
{
	width: 49px;
	height: 63px;
	background: transparent url(../img/controls/slider-settings.png) left top no-repeat;
	float: left;
	cursor: pointer;
	border: none;
}

#slider-control.open-slider
{
	background-position-x: right !important;
}

.control-button
{
	width: 46px;
	height: 38px;
	margin-left: 5px;
	margin-top: 12px;
	float: left;
	cursor: pointer;
}

.pagina-container-right,
.pagina-container-left
{
	height: 100%;
	width: 95%;
	position: relative;
}

.pagina-container-left
{
	border-right: 1px solid #eee;
}

.pagina-container-right img,
.pagina-container-left img
{
	max-height: 46.57em;
}

.lt-ie9 .pagina-container
{
	height: 100%;
	width: 800px;
}

#zoom-control
{
	background: url(../img/controls/zoom-button.png);
}

#fullscreen-control
{
	background: url(../img/controls/fullscreen-button.png);
}

#onepage-control
{
	background: url(../img/controls/onepage-button.png);
	display: none;
}

#twopage-control
{
	background: url(../img/controls/twopages-button.png);
	margin-left: 20px;
	display: none;
}

#cat-control
{
	background: url(../img/controls/cat-button.png);
	/*margin-left: 20px;*/
}

#cas-control
{
	background: url(../img/controls/cas-control.png);
}

#eng-control
{
	background: url(../img/controls/eng-control.png);
}

#download-control
{
	background: url(../img/controls/download-button.png);
}

#page-control
{
	width: 272px;
	position: absolute;
	left: -265px /*0px*/;
	top: 0px;
	bottom: 0px;
	z-index: 9;
	display: none;
}

#page-control-wrapper
{
	background: url(../img/bkgs/page-control-bkg.png) repeat;
	width: 265px;
	height: 100%;
	position: relative;
	border-right: 3px solid #444;
	z-index: 9;
}

#thumbnails-container
{
	overflow: hidden!important;
}

#index-container
{
	overflow: hidden!important;
}

.index-entry
{
	width: 204px;
}

.thumb
{
	float: left;
	width: 204px;
	/*height: 175px;*/
	margin: 10px 10px 0px 0px;
	cursor: pointer;
}

.thumb-img
{
	max-width:50% !important;
	height: auto !important;
}

.thumb-wrapper
{
	width: 204px;
	height: 143px;
}

.thumb h6
{
	color: white;
	font-size: 11pt;
	font-family: serif;
	margin: 3px 0px 0px 0px;
	text-align: center;
}

#page-control-container
{
	position: absolute;
	top: 20px;
	right: -45px;
	width: 49px;
	height: 136px;
}

.slider-button
{
	width: 49px;
	height: 63px;
	margin-bottom: 5px;
}

#thumbnails-button
{
	background-image: url(../img/controls/thumbnails-button.png);
	cursor: pointer;
}

#index-button
{
	background-image: url(../img/controls/index-button.png);
	cursor: pointer;
}

.active-control
{
	background-position-y: bottom !important;
}

/*
#pages-canvas
{
	background: white;
	margin: 0px auto;
	padding: 1em 0px;
	background: #444 url(../img/fons-mosaic.jpg) repeat;
	cursor: pointer;
}
*/

#page-drag-wrapper
{
	position: absolute;
	cursor: move;
	background: url(../img/fons-mosaic.jpg) repeat;
}

#prev-page
{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: -50px;
	width: 40px;
}

#prev-page-button
{
	height: 40px;
	width: 40px;
	top: 50%;
	margin-top: -20px;
	position: absolute;
	cursor: pointer;
}

#next-page-button
{
	height: 40px;
	width: 40px;
	top: 50%;
	margin-top: -20px;
	position: absolute;
	right: 0px;
	cursor: pointer;
}

#next-page
{
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: -50px;
	width: 40px;
}

.button-activated
{
	background-position: center bottom !important;
}

.thumb-seleccionado h6
{
	background: #666;
}

.pagina-container
{
}

.pagina
{
	/*height: 100%;*/
	max-width: 100% !important;
	max-height: 100% !important;
	height: auto !important;
	position: absolute;
	top: 0px;
	bottom: 0px;
	margin: auto;
	/*margin-top: 11% !important;*/
}

#pages-canvas-left
{
	float: left;
	width: 50%;
	height: 100%;
	position: relative;
	background: transparent;
}

#pages-canvas-right
{
	float: right;
	width: 50%;
	height: 100%;
	position: relative;
	background: transparent;
}

#pages-canvas
{
	float: right;
	width: 100%;
	height: 100%;
	position: relative;
	background: transparent;
}

.lt-ie9 #pages-canvas img
{
	position: absolute;
}

#separador-paginas
{
	height: 100%;
	width: 0.0874%;
	background: #eee;
	float: left;
}

/* Thumbnail scroller */
/**********************/


#thumbnails-container
{
	position:absolute; 
	z-index:1;
	top:10px; bottom:10px; left:10px; right: 5px;
	overflow:auto;
}

#thumbnails-scroll
{
	position:relative;
	float:left;
	width:100%;
	padding:0;
}

#thumbnails-scroll ul
{
	margin: 0px;
	padding: 0px;
}

.slider-container
{
	width: 10px;
	height: 100%;
	float: right;
}

#thumbnails-content
{
	width: 90%;
	min-width: 246px;
	height: 10000px;
	position: relative;
	float: left;
	overflow: hidden;
}


/*------------------------*/

#index-container
{
	position:absolute; 
	z-index:1;
	top:10px; bottom:10px; left:10px; right: 5px;
	overflow:auto;
}

#index-scroll
{
	position:relative;
	float:left;
	width:100%;
	padding:0;
}

#index-container ul
{
	margin: 0px;
	font-family: Arial;
	color: white;
	padding: 10px;
	font-size: 10pt;
}

#index-container ul li
{
	border-bottom: 1px solid #aaa;
	padding: 2px 0px;
	cursor: pointer;
	list-style-type: none;
}
/*
#thumbnail-container
{
	position: absolute;
	top: 0px;
	left: 10px;
	bottom: 0px;
	right: 17px;
	overflow: hidden;
}
*/
/*------------------------*/

.slider
{
	height: 95%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.slider-container .ui-slider-handle
{
	border: 1px solid #444 !important;
	background: #444 !important;
	cursor: pointer;
}

#desplegable-control
{
	width: 148px;
	position: absolute;
	top: 45px;
	right: 0px;
	display: none;
	opacity: ;
}

#desplegable-control-sup
{
	height: 20px;
	width: 100%;
	background: transparent url(../img/bkgs/control-container-sup.png) no-repeat;
}

#desplegable-control-content
{
	width: 100%;
	height: 65px;
	background: #808080;
}

#desplegable-control-content ul
{
	margin: 0px;
	padding: 0px 0px 0px 10px;
	list-style-type: none;
}

#desplegable-control-content ul li
{
	
}

#desplegable-control-content ul li a
{
	color: white;
	font-size: 10pt;
	font-family: Times, serif;
	text-decoration: none;
}

#desplegable-control-inf
{
	height: 10px;
	width: 100%;
	background: transparent url(../img/bkgs/control-container-inf.png) no-repeat;
}

/* Zoom controls */
/*****************/

#zoom-container
{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 999;
	overflow: hidden;
	background: url(../img/bkgs/page-control-bkg.png);
}

#zoom-wrapper
{
	width: 1600px;
	height: 980px;
	cursor: move;
	margin-left: auto; 
	margin-right: auto;
}

#zoom-wrapper-onepage
{
	width: 200px;
	height: 480px;
	cursor: move;
}

#close-zoom
{
	position: absolute;
	top: 20px;
	left: 20px;
	height: 35px;
	width: 35px;
	background: transparent url(../img/controls/zoom-close.png);
	cursor: pointer;
	z-index: 9;
}

/* One page styles */
/*******************/

.thumb-wrapper-onepage
{
	width: 118px;
	height: 144px;
	margin: 0 auto;
}

.thumb-onepage
{
	/* width: 118px !important; */
	text-align: center;
}

.thumb-onepage h6
{
	width: 118px;
	margin: 0px auto;
	text-align: center;
}

#popup
{
	margin: 100px auto;
	width: 776px;
	height: 491px;
}

@media only screen and (min-width: 35em) {
  

}

@media only screen and (max-width: 35em) {

#prev-page, #next-page
{
}

}

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  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: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  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; }
}
