html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,  del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  margin:0;
  padding:0;
  text-decoration:none;
  outline:none;
  border:none;
  font-size: 100%;
  list-style: none;
  font-family: Verdana, Helvetica, Tahoma, Geneva, sans-serif;
  color:#000;
  -webkit-text-size-adjust:none;
  -webkit-font-smoothing: antialiased;
  vertical-align: baseline;
}
*, *:before, *:after {
    box-sizing: border-box;
}
:focus { outline: 0;}
:link, :visited, :hover, :active{text-decoration:none}
table { border-collapse: separate;border-spacing: 0;}
th, td {text-align: left; font-weight: normal;}
img, iframe {border: none; text-decoration:none;}
ol, ul {list-style: none;}
input, textarea, select, button {font-size: 100%;font-family: inherit;}
select {margin: inherit;}
hr {margin: 0;padding: 0;border: 0;color: #000;background-color: #000;height: 1px}



html{
  position: relative;
  top:0px;
  left: 0px;
  width:100%;
  min-height:100%;
}

body{
  background: #fff; /* Old browsers */
}

#loading{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#fff url(../../codigo/img/loading.gif) no-repeat center;
  background-size: 150px;
  z-index: 1000000000;
}


.wrapper{
  width: 100%;
  margin: 0 auto;
  padding: 0px;
}
.wrapper .overlay{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
  z-index: 10;
}
.wrapper .overlay p{
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 50px;
  font-size: 40px;
  color: #3da9d3;
  font-weight: bold;
  cursor: default;
  
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: both; 
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}



header{
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 4.3vw;
  margin: 0 auto;
  padding: 0px;
  background-color: #3da9d3;
}

header h1{
  color: #fff;
  padding-left: 30px;
  font-size: 2.3vw;
  text-align: left;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}


.wrapper h5{
	width:100%;
  color: #000;
  font-size: 20px;
  text-align: justify;
	font-weight:normal;
  margin-bottom: 20px;
  font-size: 1.9vw;
}
.wrapper h5 *{
  color: #000;
}



footer{
  position: relative;
  left: 0;
  bottom: 0;
	width:100%;
  height: 60px;
	border:1px solid #ccc;
	background-color: #e6e6e6 !important;
  border-bottom: none;
	box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.75);
	-moz-box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.75);
	-webkit-box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.75);
}
footer ul{
  position: relative;
  width: 100%;
}
footer ul li{
  display: table;
  vertical-align: middle;
  position: relative;
  width: 30%;
  height: 60px;
  float: right;
  padding: 5px 5%;
}
footer ul li.btn:hover{
  cursor: pointer;
  box-shadow: inset 0px 0px 10px 4px rgba(000, 000, 000, 0.10);
}
footer ul li.btn:hover div{
  opacity: 0.8;
}
footer ul li.btn div{
  font-size: 1.6vw;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  position: relative;
  margin: auto;
  padding-left: 40px;
  height: 50px;
  padding-right: 10px;
  border:1px solid #3da9d3;
  border-radius: 10px;
  color: #fff;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#008ac9+0,2cc2ee+100 */
  background: #3da9d3; /* Old browsers */
  background: -moz-linear-gradient(top,  #3da9d3 50%, #dbf5ff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #3da9d3 50%,#dbf5ff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #3da9d3 50%,#dbf5ff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008ac9', endColorstr='#2cc2ee',GradientType=0 ); /* IE6-9 */
  box-shadow: 0px 0px 2px 0px #000; 
  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

footer ul li.logo{ width: 100px;  margin-left: 1vw; float:left;  }
footer ul li.logo div{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  color: #fff;
  /*background-image: url("../img/logo_anaya.png");*/
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}



footer ul li.btn div:before{
  content: "";
  position: absolute;
  top: 0px;
  left: 5px;
  width: 30px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

footer ul li.btnReiniciar div{
 
}
footer ul li.btnReiniciar div:before{
  background-image: url("../img/icon_reiniciar.png");
}

footer ul li.btnEmpezar div{
 
}
footer ul li.btnEmpezar div:before{
  background-image: url("../img/icon_avanzar.png");
}

footer ul li.btnIniciar div{
 
}
footer ul li.btnIniciar div:before{
  background-image: url("../img/icon_iniciar.png");
}







.wrapper section{
  position: relative;
  width: 100%;
  padding: 10px 3%;
  overflow-y: auto;
}

.wrapper section strong.titulo{
  font-size: 1.6vw;
  display: block;
  width: 100%;
  padding: 5px 10px;
  color: #fff;
  text-align: right;
  border-radius: 10px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e5e5e5+0,005ea8+100 */
  background: #e5e5e5; /* Old browsers */
  background: -moz-linear-gradient(left,  #ffffff 10%, #3da9d3 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  #ffffff 10%,#3da9d3 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  #ffffff 10%,#3da9d3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#005ea8',GradientType=1 ); /* IE6-9 */

}
.wrapper section .texto{
  font-size: 1.4vw;
  display: block;
  width: 100%;
  padding: 5px 0px;
  margin: 5px 0px;
  text-align: right;
  color: #e67e22;
}
.wrapper section .texto span{ color: #000; }

.wrapper section .btn.plus{
  background-color: #f1c40f;
  width: 50px;
  height: 40px;
  line-height: 33px;
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border: 2px solid #e67e22;
  border-radius: 3px;
  margin: 0px 10px;
  display: inline-block;
}

.wrapper section table.usuarios{
  width: 100%;
  margin-bottom: 20px;
  counter-reset: counter-user;
}
.wrapper section .usuarios thead{
  background-color: #2980b9;
  line-height: 30px;
  display: none;
}
.wrapper section .usuarios thead tr th{
  border-bottom: 4px solid #fff;
  color: #fff;
  padding: 10px;
  font-size: 10px;
  text-align: center;
  line-height: 14px;

}

.wrapper section .usuarios tbody tr{  height: 70px; }
.wrapper section .usuarios tbody tr td{  position: relative; }

.wrapper section .usuarios tbody tr:nth-child(2n+1){
  background-color: #f1f8fd;
}
.wrapper section .usuarios tbody tr td:nth-of-type(1){  width: 10%; }
.wrapper section .usuarios tbody tr td:nth-of-type(2){  width: 10%; }
.wrapper section .usuarios tbody tr td:nth-of-type(3){  }
.wrapper section .usuarios tbody tr td:nth-of-type(4){  width: 10%; }
.wrapper section .usuarios tbody tr td:nth-of-type(5){  width: 10%; }



.wrapper section .posicionUsuario{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #ffb0e9;
  color: #3da9d3;
  width: 35px;
  height: 35px;
  line-height: 30px;
  font-size: 18px;
  text-align: center;
  border:2px solid #3da9d3;
  border-radius: 100%;
  cursor: default;
}
.wrapper section .posicionUsuario:before{
  counter-increment: counter-user;
  content: counter(counter-user);
}

.wrapper section .boxPerfil{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 60%;
  height: 90%;
  border:3px solid #3da9d3;
  border-radius: 5px;
  cursor: pointer;
  
  background-color: #eeeeee;
  background-image: url("../img/icon-perfil.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.wrapper section .boxPerfil:hover{
  border-color: #dbf5ff;
}



.wrapper section .boxNombre{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
  height: 50px;
  line-height: 40px;
  padding: 0px 10px;
  background-color: #eeeeee;
  border:3px solid #3da9d3;
  border-radius: 5px;
  font-size: 1.4vw;
}
.wrapper section .boxNombre font{  
  opacity: 0.5;  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}


.wrapper section .btn.delete{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #e74c3c;
  width: 35px;
  height: 35px;
  line-height: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border: 2px solid #c0392b;
  border-radius: 3px;
}
.wrapper section .btn.delete:hover{
  background-color: #c0392b;
  cursor:pointer;
}







.msn{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 50;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);

}



.msn#alertEmpezar > div{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  
  background-color: #e74c3c;
  color: #fff;
  box-shadow: 0px 0px 20px #bdc3c7;
  width: 400px;
  height: 100px;
  line-height: 25px;
  text-align: center;
  font-size: 18px;
  padding: 25px;
  padding-left: 110px;
  text-align: left;
  border-radius: 5px;
  background-image: url("../img/icon_alert.png");
  background-repeat: no-repeat;
  background-size: 90px;
  background-position: 10px center;
}
.msn#alertEmpezar > div:before{
  content: "x";
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 18px;
  color: #ccc;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  text-align: center;
}

.msn#countDown > div{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  
  width: 200px;
  height: 200px;
  line-height: 160px;
  border-radius: 100%;
  border: 15px solid #3da9d3;
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0px 0px 5px 5px #3da9d3;
  color: #3da9d3;
  font-weight: bold;
  font-size: 80px;
  text-align: center;
}








.boxTurno{
  width: 500px;
  height: 100px;
  border-radius: 50px;
  position: relative;
  margin: auto;
  background-color: #dbf5ff;
  border:5px solid #3da9d3;
  box-shadow: 0px 0px 10px 2px #3da9d3;
}
.boxTurno .imgPerfil{
  position: absolute;
  left: 10%;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  width: 60px;
  height: 60px;
  border:2px solid #3da9d3;
  border-radius: 5px;
  
  background-color: #eeeeee;
  background-image: url("../img/icon-perfil.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.boxTurno .nombre{
  position: absolute;
  left: 25%;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  height: 40px;
  padding: 0px 10px;
  padding-bottom: 10px;
  font-size: 2.2vw;
  line-height: 40px;
  color: #000;
  text-align: left;
}

.boxPreparado{
  text-align: center;
  width: 500px;
  position: relative;
  top: 50px;
  margin: auto;
  margin-bottom: 80px;
  font-size: 3.4vw;
  color: #3da9d3;
  font-weight: bold;
  
}





.wrapper section[data-pantalla="3"] h5{
  width: 85%;
  height: 55px;
  margin-bottom: 0px;
}

.countDown{
  background-color: #dbf5ff;
  color: #3da9d3;
  border:2px solid #3da9d3;
  position: absolute;
  top: 10px;
  right: 30px;
  z-index: 1;
  width: 100px;
  height: 50px;
  line-height: 48px;
  text-align: center;
  border-radius: 3px;
  font-size: 20px;
  font-weight: bold;
}

.boxSoluciones{
  position: absolute;
  z-index: 3;
  bottom: 5px;
  left: 30px;
  height: 20px;
  text-align: center;
  border-radius: 3px;
  background-color: #dbf5ff;
  color: #3da9d3;
  border:2px solid #3da9d3;
  min-width: 180px;
}
.boxSoluciones p{
  position: absolute;
  top: -18px;
  left: 0px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
}
.boxSoluciones ul{  width: 100%;  }
.boxSoluciones ul li{  
  display: inline-block;
  width: 30px;
  line-height: 14px;
  color: #999;
  font-size: 25px;
}
.boxSoluciones ul li.done{  
  color: #2ecc71;
}


.boxInteractivo{
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f1f8fd;
  border-radius: 10px;
  /*border:1px solid rgb(0, 94, 168);*/
}
.boxInteractivo .shadowUp{
  z-index: 2;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 0px;
  box-shadow: 0px 0px 5px 1px rgba(000,000,000,0.7);
}
.boxInteractivo .shadowDown{
  z-index: 2;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 0px;
  box-shadow: 0px 0px 5px 1px rgba(000,000,000,0.7);
}

.boxInteractivo ul{
  width: 100%;
  height: 100%;
  position: relative;
}
.boxInteractivo ul li{
  height: 100%;
  float: left;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

.boxInteractivo ul li:nth-child(2n+1){
  /*background-color: #e1e6ea;*/
}

.boxInteractivo ul li div{
  cursor: default;
  width: 90%;
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  border: 5px solid rgba(255,255,255,0.5);
  box-shadow: 0px 0px 2px 1px rgba(000,000,000,0.5);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  font-size: 1.6vw;
  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}
.boxInteractivo ul li div:not(.disabled):not(.done):not(.fail):hover{
  cursor: pointer;
  filter:sepia(50%);
}


.boxInteractivo ul li div.done{
  background-color: #2ecc71 !important;
  border-color: #2ecc71 !important;
  color: #fff !important;
}
.boxInteractivo ul li div.fail{
  background-color: #e74c3c !important;
  border-color: #e74c3c !important;
  color: #fff !important;
}





.boxPodium{
  width: 100%;
  height: 250px;
  position: relative;
  margin-bottom: 20px;
}
.boxPodium ul{
  width: 400px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.boxPodium ul li{
  width: 33.33%;
  height: 100%;
  position: relative;
  float: left;
}
.boxPodium ul li div.base{
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  box-shadow: 0px 0px 10px 0px rgba(150, 150, 150, 0.75);
}
.boxPodium ul li[data-podium="1"] div.base{
  background-color: #f2ce42;
  height: 70%;
  z-index: 3;
}
.boxPodium ul li[data-podium="2"] div.base{
  background-color: #e5e4e9;
  height: 55%;
  z-index: 2;
}
.boxPodium ul li[data-podium="3"] div.base{
  background-color: #dd9e5c;
  height: 40%;
  z-index: 1;
}
.boxPodium ul li div.base font{
  width: 100%;
  height: 45px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}



.boxPodium .imgPerfil{
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  margin: auto;
  display: block;
  width: 50px;
  height: 50px;
  border:2px solid #fff;
  border-radius: 5px;
  
  background-color: #eeeeee;
  background-image: url("../img/icon-perfil.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.boxPodium .nombre{
  position: absolute;
  left: 0;
  margin: auto;
  display: block;
  width: 100%;
  padding: 0px 10px;
  padding-bottom: 10px;
  font-size: 16px;
  line-height: 18px;
  color: #000;
  text-align: center;
  
}
.boxPodium ul li[data-podium="1"] .nombre{
  bottom: 70%;
}
.boxPodium ul li[data-podium="2"] .nombre{
  bottom: 55%;
}
.boxPodium ul li[data-podium="3"] .nombre{
  bottom: 40%;
}



.wrapper section table.clasificacion{
  width: 100%;
  margin-top: 15px;
  margin-bottom: 20px;
  counter-reset: counter-user;
}
.wrapper section .clasificacion thead{
  background-color: #3da9d3;
  line-height: 30px;
  box-shadow: 0px 0px 5px 0px rgba(000, 000, 000, 0.75);
  position: relative;
  top: -5px;
}
.wrapper section .clasificacion thead tr th{
  border-bottom: 4px solid transparent;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  text-align: center;
  line-height: 14px;
  border:1px solid #dbf5ff;
  vertical-align: middle;

}

.wrapper section .clasificacion tbody tr{  height: 70px; }
.wrapper section .clasificacion tbody tr td{  position: relative; }

.wrapper section .clasificacion tbody tr:nth-child(2n+1){
  background-color: #f1f8fd;
}
.wrapper section .clasificacion tbody tr td:nth-of-type(1){  width: 100px; }
.wrapper section .clasificacion tbody tr td:nth-of-type(2){  width: 100px; }
.wrapper section .clasificacion tbody tr td:nth-of-type(3){  }
.wrapper section .clasificacion tbody tr td:nth-of-type(4){  width: 100px; }
.wrapper section .clasificacion tbody tr td:nth-of-type(5){  width: 100px; }
.wrapper section .clasificacion tbody tr td:nth-of-type(6){  width: 100px; }

.wrapper section .clasificacion .imgPerfil{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border:3px solid #3da9d3;
  border-radius: 5px;
  
  background-color: #eeeeee;
  background-image: url("../img/icon-perfil.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.wrapper section .clasificacion .nombre{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
  height: 50px;
  line-height: 50px;
  color: #000;
  font-weight: bold;
}
.wrapper section .clasificacion .puntos{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
  height: 50px;
  line-height: 50px;
  color: #2ecc71;
  font-weight: bold;
  text-align: center;
}
.wrapper section .clasificacion .fallos{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
  height: 50px;
  line-height: 50px;
  color: #e74c3c;
  font-weight: bold;
  text-align: center;
}
.wrapper section .clasificacion .tiempo{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90%;
  height: 50px;
  line-height: 50px;
  color: #000;
  font-weight: bold;
  text-align: center;
}




.wrapper section .clasificacion tbody tr:nth-child(1) .posicionUsuario{
  background-color: #f2ce42;
  border-color: #d9b93d;
  transform: scale(1.3);
  color: #000;
}
.wrapper section .clasificacion tbody tr:nth-child(2) .posicionUsuario{
  background-color: #e5e4e9;
  border-color: #cfcfd1;
  transform: scale(1.2);
  color: #000;
}
.wrapper section .clasificacion tbody tr:nth-child(3) .posicionUsuario{
  background-color: #dd9e5c;
  border-color: #be8a53;
  transform: scale(1.1);
  color: #000;
}










/************* CAMBIAR COLOR EN LOS INTERACTIVOS *******/
/*******************************************************/
/*******************************************************/

/** Color principal_1: 3da9d3  */
/** Color principal_2: dbf5ff  */
/** Color secundario: ffb0e9 */













