@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	font-weight: 400;
	font-size: 100%;
	color: #000;
	height: 80%;
}

.js body {
overflow: hidden;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
	font-size: 1.3em;
	color: #535353;
	letter-spacing: 1px;
	font-weight: bold;
}
.conten-pdf {
	float: left;
	height: auto;
	width: 130px;
	text-align: center;
}
.txt-pdf {
	text-align: center;
	font-size: 1em;
	height: auto;
	margin-bottom: 30px;
	padding: 0px;
	margin-top: -5px;
}


.texto {
	float: left;
	height: auto;
	width: 60%;
/*	overflow: auto;*/
	background: rgba(255,255,255,0.6);
	border-radius: 20px;
	padding-top: 20px;/*	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);*/
	padding-bottom: 200px;
}
.video-actividad {
	float: right;
	width: 35%;
	height: auto;
}
.recursos {
	height: auto;
	width: 100%;
	margin-top: 20px;
	float: right;
}
.recursos li {
	display: inline;
	list-style-type: none;
}

.video1 {
	height: 300px;
	width: 410px;
	margin-right: auto;
	margin-left: auto;
	background-color: #000;
	padding: 10px;
	border-radius: 20px;
}
.video-forma {
	height: 240px;
	width: 390px;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 2em;
	padding: 20px;
	font-weight: bolder;
	color: #000;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.menu-toc {
	list-style: none;
}

.menu-toc li a {
	display: block;
	color: #fff;
	font-size: 1em;
	line-height: 22px;
	cursor: pointer;
	background-color: #A71009;
	border-radius: 20px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	margin-top: 1px;
	margin-bottom: 5px;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background-color: #000000;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.1);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 120px;
	position: absolute;
	z-index: 10000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 100px;
	height: 32px;
	top: 0;
	left: 0;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	
}

.bb-custom-wrapper nav span:last-child {
	left: 60px;
}

.menu-button {
	z-index: 1000;
	left: 10px;
	top: 20px;
	text-indent: -9000px;
}

.content h2 {
	font-weight: bolder;
	font-size: 1.5em;
	color: #000;
	text-align: center;
	/*box-shadow: 0 10px 0 rgba(0,0,0,0.09);*/
	text-shadow: 0 0 2px #fff;
	margin-right: 2em;
	margin-bottom: 0px;
	margin-left: 1em;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 2px;
	padding-left: 0;
	margin-top: 0px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #999;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 83px;
	height: 20px;
	top: 50%;
	margin-top: -1px;
	left: 25%;	
	background-image: url(../img/ico-indice.png);
	background-repeat: no-repeat;
}

	
.menu-button:hover {
	opacity: 0.5;
	filter: alpha(opacity=40); /* For IE8 and earlier */

}
.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	bottom: 50px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
	background-image: url(../img/fondo.png);
	background-repeat: no-repeat;
	background-position: 100px -200px;
}

.scroller {
	padding: 10px 5% 10px 5%;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.js .content:after {
	top: auto;
	bottom: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}

}
@media screen and (max-width: 1000px){
		.video1 {
	height: 300px;
	width: 410px;
	margin-right: auto;
	margin-left: auto;
	background-color: #000;
	padding: 10px;
	border-radius: 20px;
}
.video-actividad {
	float: right;
	width: 100%;
	height: auto;
	position: relative;
}
.video-forma {
	height: 240px;
	width: 390px;
}
.recursos {
	height: 200px;
	width: 100%;
	padding-bottom: 100px;
}
.texto {
	float: left;
	height: auto;
	width: 100%;
	overflow: auto;
	background: rgba(255,255,255,0.6);
	border-radius: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 95%;
}
	}
@media screen and (max-width: 400px){
	.menu-panel,
	.content {
		font-size: 75%;
	}
}
