﻿@charset "utf-8";

html, body {
	width: 100%;
	min-width: 820px;
	height: 100%;
	margin: 0;
	border: 0;
	padding: 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body {
	background-image: url(../img/fondo.png);
	padding: 0px;
}

#container {
	position: relative;
	width: 100%;
	min-width: 820px;
	height: 100%;
	overflow: hidden;
	font-family: 'Arial', sans-serif;
	font-size: 15px;
	display: none;
}

#header {
	position: fixed;
	width: 100%;
	min-width: 820px;
	height: 40px;
	overflow: hidden;
	background-image: url(../img/gris_arriba.png);
}

#header_title {
	position: absolute;
	left: 20px;
	top: 8px;
	right: 20px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #f0f0f0;
	font-size: 18px;
}

#menu {
	position: fixed;
	width: 100%;
	min-width: 820px;
	height: 33px;
	top: 40px;
	background-image: url(../img/naranja_01.png);
}

.menu_button {
	position: relative;
	width: 165px;  /*(width (165px) + padding left (20px) + padding right (20px) = total width (205px) */
	height: 33px;
	cursor: pointer;
	padding: 0 20px;
	text-align: center;
	line-height: 33px;
	color: #ffffff;
	float: left;
}

.menu_button:hover {
	color: #8d3b00;
}

.menu_button_selected {
	color: #8d3b00;
	background-image: url(../img/boton.png);
	cursor: default;
}


/**************************************
 
  Ligas a páginas dentro de una sección
 
****************************************/

#menu_pages {
	position: absolute;
	width: 100%;
	height: 33px;
	top: 33px;
	background-image: url(../img/naranja_02.png);
	box-shadow: 0 1px 3px rgba(0,0,0,0.50);
}

.menu_pages_page {
	position: relative;
	width: 33px;
	height: 33px;
	float: left;
	color: #b74d00;
	font-size: 15px;
	text-align: center;
	line-height: 33px;
	cursor: pointer;
	font-weight: bold;
	text-decoration: underline;
}
.menu_pages_page:hover {
	color: #a2531b;
}

.menu_pages_page_selected {
	color: #8d3b00;
	cursor: default;
	font-size: 18px;
	text-decoration: none;
}

#main {
	position: absolute;
	width: 100%;
	bottom: 33px;
	top: 106px !important;
	overflow: auto;
	visibility: hidden;
	-webkit-overflow-scrolling: touch;
}


#footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	min-width: 820px;
	height: 33px;
	overflow: hidden;
	background-image: url(../img/gris_abajo.png);
	box-shadow: 0 -1px 3px rgba(0,0,0,0.50);
}

#footer_title {
	position: absolute;
	left: 20px;
	top: 8px;
	right: 20px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #e2e2e2;
	font-size: 12px;
}

#loading {
	position: absolute;
	width: 70px;
	height: 70px;
	left: 50%;
	top: 50%;
	margin-left: -35px;
	background-image:url(../img/loading.gif);
	background-repeat:no-repeat;
	background-position: 5px 5px;
	background-color:#4b4b4b;
	border-radius: 20px;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.25);
}


/**************************************************************************
 
 Nuevos botones laterales
 
 **************************************************************************/


.lateral_button{
  position: fixed;
  top: 50%;
  width: 54px;
  height: 54px;
  /*border: 1px solid #333333;
  box-shadow: 0px 0px 5px rgba(10,10,10,0.75);*/
  cursor: pointer;
  opacity: 1;
  border-radius: 50%;
}

.lateral_button:hover{
  box-shadow: 0px 0px 8px rgba(250,150,50,0.75);
}

.lateral_button:active{
  box-shadow: 0px 0px 8px rgba(200,80,25,0.75);
}

.lateral_button.off{
  opacity: 0.3;
  cursor: default;
}
.lateral_button.off:hover{
  box-shadow: 0px 0px 8px rgba(10,10,10,0.75);
}

.tablet.left{
	left: 12px;
}
.tablet.right{
	right: 18px;
}
.compu.left{
	left: 50%;
	margin-left: -477px;
}
.compu.right{
	left: 50%;
	margin-left: 422px;
}

#lb_left{
  background-image: url("../img/navigation_left.png");
}

#lb_right{
  background-image: url("../img/navigation_right.png");
}


/*************************************************
 
 Glosario & créditos
 
**************************************************/

#menu_links{
	position: fixed;
	top: 81px;
	right: 0px;
	color: #703f18;
	font-size: 14px;
	font-weight: lighter;
}

.menu_link {
	color: #8d3b00;
	font-weight: lighter;
	margin: 0px 12px;
	cursor:pointer;
}
.menu_link:hover {
	color: #b74d00;
}
.menu_link:active {
	color: #a2531b;
}


.standardButton{
	
	border-radius: 8px;
	padding-top: 4px;
	font-family: sans-serif;
	text-decoration: none;
	font-size: 20px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	
	color: #ffffff;
		
	background: #ee7f30; /* Old browsers */
	background: -moz-linear-gradient(top,  #b76024 0%, #773f18 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b76024), color-stop(100%,#773f18)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b76024 0%, #773f18 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b76024 0%, #773f18 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b76024 0%, #773f18 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b76024 0%, #773f18 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b76024', endColorstr='#773f18',GradientType=0 ); /* IE6-9 */
}

.standardButton:hover{  
	background: #ee7f30; /* Old browsers */
	background: -moz-linear-gradient(top,  #b76024 0%, #cc773d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b76024), color-stop(100%,#cc773d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #b76024 0%, #cc773d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b76024 0%, #cc773d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b76024 0%, #cc773d 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b76024 0%, #cc773d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b76024', endColorstr='#cc773d',GradientType=0 ); /* IE6-9 */
}

.standardButton:active{  
	background: #ee7f30; /* Old browsers */
	background: -moz-linear-gradient(top,  #cc773d 0%, #b76024 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc773d), color-stop(100%,#b76024)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #cc773d 0%, #b76024 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #cc773d 0%, #b76024 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #cc773d 0%, #b76024 100%); /* IE10+ */
	background: linear-gradient(to bottom, #cc773d 0%, #b76024 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc773d', endColorstr='#b76024',GradientType=0 ); /* IE6-9 */
}

.popupWindow{
	/*position: relative;
	margin: 105px auto 10px auto;*/
	position: absolute;
	top: 105px;
	width: 100%;
	height: 100%;
	margin: 0px auto 10px auto;
	background-color: rgba(0,0,0,0.3);
	padding: 0px;
	visibility: none;
	overflow: hidden;
}

.popup_inner{
	position: relative;
	width: 780px;
	height: 520px;
	margin: 35px auto auto auto;
	background-color: #ffffff;
	border: 2px solid #f38f31;
	border-radius: 5px;
	color: #232323;
	font: Arial, sans-serif;
	overflow: hidden;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.75);
}


#popup_header{
	font-size: 20px;
	color: #944a17;
	margin: 30px 20px 15px 20px;
	border-bottom: 1px solid #f38f31;
	line-height: 55px;
	text-align: center;
}

.bt_close_popup{
	position:absolute;
	top: 8px;
	right: 6px;
	width: 28px;
	height: 25px;
	font-size: 30px;
}

#popup_content{
  margin: 0px;
  width: 100%;
  height: 400px;
  overflow-x: hidden;
  overflow-y: scroll;
  text-align: left;
}

.glossary_entry{
  font-size: 15px;
  font-weight: bold;
  color: #944a17;
  padding-bottom: 20px;
  padding-left: 20px;
  vertical-align: top;
}

.glossary_definition{
  padding-left: 15px;
  padding-right: 30px;
  color: #000000;
  text-align: justify;
  padding-bottom: 20px;
  vertical-align: top;
}


.oculto{
	opacity: 0;
	visibility: hidden;
}

.visible{
	transition: -ms-transform, transform, visibility, opacity;
	-webkit-transition: -webkit-transform, visibility, opacity;
	transition-duration: 500ms;
	-webkit-transition-duration: 200ms;
	transition-timing-function: linear;
	-webkit-transition-timing-function: linear;
	transition-delay: 200ms;
	-webkit-transition-delay: 200ms;
	/*arregla artefactos con ipad safari*/
	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
}


/* fórmulas matemáticas */
.formula{
  font-family: serif;
  font-size: 16px;
  font-style: italic; 
}



/**************************************************************************
 
 Para ocultar los botones laterales y cambiar de posición glosario
 
 **************************************************************************/

@media screen and (min-width: 960px) {
	#lb_left {
		visibility: visible;
	}
	#lb_right{
		visibility: visible;
	}
}

@media screen and (max-width: 959px) {
	#lb_left {
		visibility: hidden;
	}
	#lb_right{
		visibility: hidden;
	}
	#menu_links {
		right: 0px;
		left: auto;
	}
}

@media screen and (max-width: 640px) {
	#menu_links {
		left: 0px;
		right: auto;
	}
}




/*******************************************
 *
 *Estilos de los créditos a nivel de página
 *
 *******************************************/

.creditos{
	padding: 0px 25px 0px 25px;
	margin: 0px 0px 25px 0px;
}

.creditos > ul{
	min-height: 60px;
}

.creditos > ul > li{
	margin-left:20px;
}

.proyecto{
	font-family: Arial, sans-serif;
	font-size: 15px;
	color: #232323;
	text-align: justify;
	font-style: !important;
}

.autores{
	font-family: Arial, sans-serif;
	font-size: 15px;
	color: #703f18;
	text-align: justify;
}

.nombre{
	color: #d07020;
}

.logos{
	display: block;
	margin: 0px auto;
}


.licencias{
	margin: 20px 20px 0px 20px;
	border-top: 1px solid #ee7f30;
	padding-top: 20px;
}

.licencias > p{
	font-family: Arial, sans-serif;
	font-size: 13px;
	color: #703f18;
	text-align: justify;
}

.creativeCommons{
	background: url("../icns/logoCreativeCommons.png") no-repeat;
	padding-left: 100px;
}
