/* FONTS */


/* COLORES */
.blanco {
	color: #fff;
}
.principal  {
	color: #906140;
}
.secundario  {
	color: #d5c472;
}
.terciario  {
	color: #dceff6;
}
.gris  {
	color: #333;
}
.azul {
	color: #51a8de;
}
.marron {
	color: #905b3b;
}
.amarillo {
	color: #f9de59;
}
.rosa {
	color: #b35671;
}
.verde {
	color: #768a29;
}
.naranja {
	color: #f9a61c;
}


.fondo_blanco {
	background: #fff;
}
.fondo_principal  {
	background: #906140;
}
.fondo_secundario  {
	background: #d5c472;
}
.fondo_terciario  {
	background: #dceff6;
}
.fondo_gris  {
	background: #333;
}
.fondo_azul {
	background: #51a8de;
}
.fondo_marron {
	background: #905b3b;
}
.fondo_amarillo {
	background: #f9de59;
}
.fondo_rosa {
	background: #b35671;
}
.fondo_verde {
	background: #768a29;
}
.fondo_naranja {
	background: #f9a61c;
}

.quesito_azul {
	background: #13a5ff;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}
.quesito_marron {
	background: #733915;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}
.quesito_amarillo {
	background: #ffda22;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}
.quesito_rosa {
	background: #b82852;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}
.quesito_verde {
	background: #9bbc1a;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}
.quesito_naranja {
	background: #ff9900;
	box-shadow: inset 2px 2px 2px rgba(255,255,255,.7);
}

.borde_azul {
	border-color: #13a5ff;
}
.borde_marron {
	border-color: #733915;
}
.borde_amarillo {
	border-color: #ffda22;
}
.borde_rosa {
	border-color: #b82852;
}
.borde_verde {
	border-color: #9bbc1a;
}
.borde_naranja {
	border-color: #ff9900;
}

.borde_principal {
	border:1px solid #906140;
}
/* GENERAL */
html, body {
	background: #fff;
	width: 100%;
	height:100%;
	overflow:hidden;
}

body {
	background: url(../img/fondo.jpg) repeat-x top center;
	background-size:100% 100%;
	color: #333;
	font-family: 'Raleway', sans-serif;
	line-height: 1.2;
	margin: 0;
	font-size: 20px;
}

* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

img {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}

/* LAYOUT */
#ce-wrapper {
	position: absolute;
	width: 990px;
	height: 640px;
	overflow: hidden;
	margin: auto;
	-ms-transform-origin: top left;
    -webkit-transform-origin: top left;
    transform-origin: top left;
}
#wrapper-contenido {
	position:absolute;
	width:990px; 
	height:640px; 
	overflow:hidden;
	background: #333;
	margin-top:0px;
	z-index:-1;
}

.contenido {
	position: relative;
	width: 990px;
	min-height: 640px;
	box-sizing: border-box;
	font-size: 14px;
}

/* HEADER */
.header {
	position: absolute;
	top:0;
	right:0;
	background: transparent;
	width: 160px;
	height:40px;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
	z-index:10;
}

/* BUTTONS */
#botones-navegacion {
	position: absolute;
	top:10px;
	right: 10px;
	color:#fff;
	z-index:1;
}
#botones-navegacion div {
	width:18px;
	height:18px;
	display:inline-block;
	margin-left:5px;
}

/* POPUPS */
#ayuda, #creditos, #volumen, #ganador, #reiniciar {
	position:absolute;
	top: 0px;
	left: 0px;
	width: 990px;
	height:640px;
	background:rgba(0,0,0,.8);
	z-index:30;
}
#volumen .popup {
	top: 200px;
	left: 250px;
	width: 490px;
	font-size:14px;
	align-items:flex-start;
}
#volumen .slidecontainer {
	width: 90%;
	display: inline-block;
}
#ayuda .popup {
	top: 110px;
	left: 200px;
	width: 590px;
	font-size:14px;
	align-items:flex-start;
}
#creditos .popup {
	top: 100px;
	left: 100px;
	width: 790px;
	font-size:14px;
	align-items:flex-start;
}
#volumen .popup h2, #volumen .popup .numero, #ayuda .popup h2, #creditos .popup h2, #ganador .popup h2 {
	font-family: 'Bangers';
	font-size: 24px;
	margin-top: 0;
}
#ganador .popup {
	top: 65px;
    left: 100px;
    width: 790px;
	height:500px;
}
#reiniciar .popup {
	top: 200px;
	left: 250px;
	width: 490px;
	font-size:14px;
}
.popupgeneral-cerrar {
	position:absolute;
	top:5px;
	right:10px;
	font-size:20px;
	color:#333;
	cursor: pointer;
}
/* RANGE INPUT FOR VOLUME */
input[type=range] {
  width: 100%;
  margin: 10px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: #dab7a1;
  border: 1px solid #7f7a00;
  border-radius: 5px;
  width: 100%;
  height: 5px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -11px;
  width: 25px;
  height: 25px;
  background: #805d3c;
  border: 1px solid #613f1e;
  border-radius: 22px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ddbda8;
}
input[type=range]::-moz-range-track {
  background: #dab7a1;
  border: 1px solid #7f7a00;
  border-radius: 5px;
  width: 100%;
  height: 5px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #805d3c;
  border: 1px solid #613f1e;
  border-radius: 22px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 11px 0;
  color: transparent;
  width: 100%;
  height: 5px;
  cursor: pointer;
}
input[type=range]::-ms-fill-lower {
  background: #d7b19a;
  border: 1px solid #7f7a00;
  border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
  background: #dab7a1;
  border: 1px solid #7f7a00;
  border-radius: 10px;
}
input[type=range]::-ms-thumb {
  width: 25px;
  height: 25px;
  background: #805d3c;
  border: 1px solid #613f1e;
  border-radius: 22px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
  background: #dab7a1;
}
input[type=range]:focus::-ms-fill-upper {
  background: #ddbda8;
}
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}
