body {
	background-color: #1a1a1aff;
	margin: 0;
	font-size: 16px;
	font-family: 'Roboto Condensed', sans-serif;
}
* {
	box-sizing: border-box;
}

hr {
 border-top: 1px dotted;
 width: 5em;
 text-align: right;
 margin-right: 0;
}

h2 {
	font-size: 1.8em;
    margin: -.15em 0 0 0;
}
h6 {
    margin: 3em 0 0 0;
    text-transform: uppercase;
    color: #666;
	font-weight: 400;
    font-size: .75em;
}
p {
	font-family: 'Roboto', sans-serif;
	margin-top: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover,
a:focus,
a:active {
	text-decoration: underline;
}
.fit {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4em 1em 0 1em;
}
.line {
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    border-bottom: 1px solid #fff;
    opacity: .5;
    margin-bottom: 2em;
}
header {
	display: block;
	color: #fff;
}


.intro img {
	width: 100%;
}


.titles-mobile {

}
.titles-desktop {
	display: none;
}
.titles-desktop img {
    margin: 1em 0 2em 0;
}

.intro .titles-desktop p {
	font-family: 'Roboto Condensed', sans-serif;
    clear: both;
    text-align: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 5px 10px;
    margin-bottom: 0;
    font-size: 1.2em;
    font-weight: 400;
}

.stage {
	display: block;
	background: #eee;
	color: #333;
}
.stage-intro {
    text-align: right;
    padding-bottom: 1em;
}
.stage-label {
    display: inline-block;
    color: #fff;
    padding: 0 8px;
    line-height: 24px;
}
.toggle-files {
    border: 1px solid;
    padding: 0 8px;
    margin: -2px 0 0 -5px;
    overflow: hidden;
    line-height: 22px;
    display: inline-block;
    vertical-align: middle;
}
.stage-files {
	display: none;
}
.stage-files ul {
    list-style: none;
    padding: 0;
    font-family: 'Roboto';
    font-size: .8em;
    color: #666;
}
.stage-files ul li {
    margin: .5em 0;
}


ul.tools {
    padding: 0 0 1em 0;
    list-style: none;
}
ul.tools li {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: .5em 0;
    width: 60px;
    height: 60px;
	background: #fff;
	border-radius: 50%;
    margin-right: 1em;
}
ul.tools li img {
	width: 100%;
	opacity: .7;
}
ul.tools span {
	display: none;
    position: absolute;
    top: 70px;
    left: -20px;
    background: #fff;
    padding: 2px 8px 4px 8px;
    font-size: .9em;
    width: 100px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
	z-index: 1000;
}
ul.tools span:before {
    position: absolute;
    content: '';
    border-bottom: 8px solid #fff;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    top: -8px;
    left: 46px;
}
ul.tools li:hover img {
	opacity: 1;
}
ul.tools li:hover span {
	display: block;
}
ul.tools li.text {
	width: auto;
	height: auto;
	background: transparent;
}

.owl-carousel {
	background: #fff;
	background: rgba(255,255,255,.5);
    padding: .5em 0;
    margin: -.5em 0;
}
.owl-dots {
    text-align: center;
    background: transparent;
    margin-top: -21px;
}
.owl-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    display: inline-block;
    margin: 0 3px;
    border-radius: 50%;
    opacity: .5;
}
.owl-dot.active {
	opacity: .7;
}

/* CLOSE
---------------------------------------*/
article.close {
    display: block;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: .9em;
    padding-bottom: 3em;
}
article.close img {
	max-width: 100%;
	margin: 0 auto;
    display: block;
}
.close-lg {
	display: none !important;
}

.modal-close {
	position: fixed;
	font-weight: bolder;
	top: 4%; /*0*/
	right: 5%; /*0*/
	padding: .2em .5em; /*padding: .2em .5em;*/
	font-size: 4em; /*2*/
	font-family: 'Roboto', sans-serif;
	color: #999;
	cursor: pointer;
	display: block;
}


/* INDEX
---------------------------------------*/
.index header,
.index > a {
	min-height: 22vh;
}
.index header {
	background: #eee;
	color: #000;
	display: flex;
	align-items: center;
}

.index .intro h1 {
	font-weight: 300;
	line-height: 1em;
	margin: 0;
}
.index .intro h1 .small {
	font-size: .65em;
}
.index > a.level {
	text-decoration: none;
	display: flex;
	width: 100%;
	text-align: center;
	color: #fff;
	border-top: 2px solid #eee;
	align-items: center;
	transition: text-shadow .5s;
}
.index > a.level:hover,
.index > a.level:focus {
	text-shadow: 0 0 50px rgba(255,255,255,.2);
}
.index h2 {
	margin: 20px auto;
	font-size: 14vh;
	line-height: 1em;
}
.index .colophon {
	min-height: 12vh;
	text-align: center;
	padding: 10px 20px;
}
.index .colophon a {
	color: #000;
}
.index .docentes-link {
	display: block;
	margin-bottom: 8px;
	width: 15%;
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bolder;
	box-shadow: 0 0 11px rgba(33,33,33,.2);
	margin-left: 42.5%;
}

ul.social {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	vertical-align: middle;
}
ul.social li {
	display: inline-block;
	height: 26px;
	width: 26px;
	margin: 0 5px;
}
ul.social li img {
	width: 100%;
}

.flechaVolver {
	padding-left: 0.5em;
	width: 2.5em;
	z-index: 5;
}

#docentes {
	display: none;
	position: fixed; /*fixed*/
	width: 90%; /*100*/
	top:5%; /*0*/
	left: 5%; /*0*/
	height: 91vh; /*height: 100vh*/
	overflow-y: auto;
	background: #fff;
	text-align: center;
	padding: 10px 10px 30px 10px;
}
#docentes.open {
	display: block;
}
.profe {
	display: inline-block;
	max-width: 200px;
	margin: 10px;
}
ul.auxiliares {
	margin: 20px 0 0 0;
	padding: 0;
	list-style: 0;
}

/* LEVEL 1
---------------------------------------*/
body.level1 {
	background: #f6f4f2;
}
body.level1 .toggle-files {
	color: #dc393d;
}
body.level1 header,
body.level1 .stage-label,
.index .level1 {
	background: #dc393d;
}
body.level1 .stage,
body.level1 .close {
	background-image: url(../img/ricepaper2.png);
}
body.level1 .owl-carousel.e1 img{
	height: 310px;
	width: auto;
}
body.level1 .owl-carousel.e2 img{
	height: 380px;
	width: auto;
}
body.level1 .owl-carousel.e3 img{
	height: 400px;
	width: auto;
}
body.level1 .owl-carousel.e4 img{
	height: 380px;
	width: auto;
}
body.level1 ul.social {
	padding: 1em;
	background: rgba(100, 100, 100, .1);
	margin: 3em 0 -3em 0;
}

/* LEVEL 2
---------------------------------------*/
body.level2 header,
body.level2 .stage-label,
.index .level2 {
	background: #00b2a6;
	color: #fff;
}
body.level2 .toggle-files {
	color: #00b2a6;
}
body.level2 .stage,
body.level2 .close  {
	background-image: url(../img/cardboard_flat.png);
}
body.level2 .close {
	padding: 0;
}
body.level2 .close .fit {
	padding-top: 5em;
	padding-bottom: 1em;
}
body.level2 .close .tools {
	padding-top: 0;
}
body.level2 ul.social {
	padding: 1em;
	background: rgba(100, 100, 100, .1);
	margin: 0;
}

/* LEVEL 3
---------------------------------------*/
body.level3 header,
body.level3 .stage-label,
.index .level3 {
	background: #eaa203;
	color: #fff;
}
body.level3 .toggle-files {
	color: #eaa203;
}
body.level3 .stage,
body.level3 .close {
	background-image: url(../img/textured_paper.png);
}
body.level3 .close .fit {
	background: none;
	padding-top: 4em;
}
body.level3 .close img {
	max-width: 100%;
}
body.level3 ul.social {
	padding: 1em;
	background: rgba(100, 100, 100, .1);
	margin: 3em 0 -3em 0;
}

@media screen and (max-width: 799px) {
	.stage-files {
		position: fixed;
		background: #fff;
		background: rgba(255,255,255,.98);
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 100;
		text-align: center;
		font-size: 1.2em;
		line-height: 2em;
		padding: 1em 2em;
		overflow-y: auto;
	}
	.stage-files.open {
		display: block;
	}
	.stage-files .stage-label {
		padding: 0 15px;
		line-height: 1.8em;
	}
	.stage-files ul {
		font-size: 1em;
	}
}
@media screen and (min-width: 800px) {
	.index header {
		display: block;
		position: absolute;
		width: 100%;
		background: none;
		min-height: none;
	}
	.index .intro {
		padding-top: 55px;
	}
	.index a.level {
		display: block;
		border-top: none;
		width: calc(100% /3);
		float: left;
		min-height: 100vh;
		padding-top: 110px;
	}
	.index h2 {
		font-size: 24vw;
		line-height: 67vh;
	}
	.index a.level:hover h2,
	.index a.level:focus h2 {
		opacity: .9;
	}
	.index .level2 {
		border-left: 2px solid #fff;
		border-right: 2px solid #fff;
	}
	.index .colophon {
		position: absolute;
		width: 100%;
		bottom: 0;
		margin: 0;
	}
	.index .modal-close {
		display: block !important;
	}

	.fit {
		padding: 2em;
	}
	.fit:after {
		content: '';
		display: block;
		clear: both;
	}
	.titles-mobile {
		display: none;
	}
	.titles-desktop {
		display: block;
	}
	.intro p {
		font-size: 1.1em;
		text-align: justify;
    	text-align-last: center;
	}

	.stage.first {
		padding-top: 4em;
	}
	.stage.first .fit {
		padding-top: 0;
	}
	.stage .fit {
		background: url(../img/line.png) repeat-y 31.1% center;
		padding-top: 6em;
		padding-bottom: 0;
	}
	.stage-intro {
	    float: left;
	    width: 30%;
	    padding-right: 2em;
	}
	.stage-label {
		font-size: 1.5em;
    	line-height: 1.2em;
	}
	.stage-files {
		display: block;
	}
	.toggle-files,
	.modal-close,
	.stage-files .stage-label  {
		display: none;
	}
	.stage-info {
	    width: 70%;
	    float: left;
	    padding-left: 2em;
	}
	.stage-info h2 {
		margin-bottom: .2em
	}
	.stage-info p {
		font-size: 1.05em;
	}
	article.close .fit {
		background: url(../img/line.png) repeat-y 31.1% center;
		padding-bottom: 0;
	}
	article.close .tools {
		padding: 2em 0 2em 27.3%;
	}
	.close-sm {
		display: none !important;
	}
	.close-lg {
		display: block !important;
	}
}
