/*FUENTES*/  

@font-face {
	font-family:'titillium';
	src:url('../rsc/fonts/Titillium-Light.otf') format('opentype');
} 

*{
	margin: 0; 
	padding: 0;
}
body{
	overflow-x: hidden;
	font-family: "titillium";
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
li{
	list-style:none;
}
a{
	text-decoration:none;
}
.alto_maximo{
	max-height: 80px;
	overflow-y: auto;
}
mark {
    background: #ffb;
}
/*-------------- div de mostrar la imagen en tamaño completa ---------------------*/

#contenedor_muestra_img{
	width: 100%;
	height: 100vh;
	position: fixed;
	background: rgba(8,8,8,0.9);
	z-index: 1500;
	display: none;
	top: 0;
	left: 0;
}
#contenedor_muestra_img span{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10,10,10,0.9);
}
#contenedor_muestra_img p{
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	font-size: 3em;
	color: #fff;
	padding: 3%;
	cursor: pointer;
}
#contenedor_muestra_img p:nth-child(1){
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	font-size: 3em;
	color: #fff;
	padding: 3%;
	right: 0px;
	cursor: pointer;
}

/*-----------------------pantalla de carga---------------------*/
#pantalla_carga{
	width: 100%;
	height: 100vh;
	z-index: 1000000000;
	background: #fff;
	transition: 2s;
	position: fixed;
}
#preloader{
	width: 100%;
	height: 100vh;
	z-index: 1000000001;
	position: fixed;
	background: #fff;
}
#preloader img{
	max-width: 35%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-30%);
}
#preloader 	h1{
	text-align: center;
	padding: 30px;
	font-size: 2.5em;
}
/*-------------- clases prederterminadas ---------------------*/
.oculto{
	display: none !important;
}
.no_scrrol{
	overflow:hidden !important;
}
.limpiar_float{
	float: none;
	clear: both;
}
.w-100{
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
	margin: 0;
}
.w-90{
	width: 90% !important;
	max-width: 90% !important;
	padding: 0;
	margin: 0 5%;
}
.w-80{
	width: 80% !important;
	max-width: 80% !important;
	padding: 0;
	margin: 0 10%;
}
.w-70{
	width: 70% !important;
	max-width: 70% !important;
	padding: 0;
	margin: 0 15%;
}
.w-60{
	width: 60% !important;
	max-width: 60% !important;
	padding: 0;
	margin: 0 20%;
}
.w-59{
	width: 59% !important;
	max-width: 59% !important;
	padding: 0;
	margin: 0 20.5%;
}
.w-50{
	width: 50% !important;
	max-width: 50% !important;
	padding: 0;
	margin: 0 25%;
}
.w-49{
	width: 49% !important;
	max-width: 49% !important;
	padding: 0;
	margin: 0 25.5%;
}
.w-40{
	width: 40% !important;
	max-width: 40% !important;
	padding: 0;
	margin: 0 30%;
}
.w-39{
	width: 38% !important;
	max-width: 39% !important;
	padding: 0;
	margin: 0 30.5%;
}
.w-30{
	width: 30% !important;
	max-width: 30% !important;
	padding: 0;
	margin: 0 35%;
}
.w-29{
	width: 29% !important;
	max-width: 29% !important;
	padding: 0;
	margin: 0 35%;
}
.w-20{
	width: 20% !important;
	max-width: 20% !important;
	padding: 0;
	margin: 0 40%;
}
.w-10{
	width: 10% !important;
	max-width: 10% !important;
	padding: 0;
	margin: 0 45%;
}

/*-------------- estilo  IMPUT checbox  y RADIO personalizados ---------------------*/

/*estructura de HTML   !!!!!!!!! ELEGIT TYPE ESTAN LOS DOS PERO SOLO UNO!!!!!!!!!! <label class="check-personalizados" for="ID"> <input type="checkbox / radio" name="" id="ID" value="" > NOMBRE INPUT <i></i> </label> */
/*estructura de HTML    <div class="select-personalizados"><select name=""><option  value="">Option 1</option><option  value="">Option 2</option><option  value="">Option 3</option></select><i></i></div>*/
.check-personalizados{
    position: relative;
    padding:2px 2px 2px 55px; /* Damos un padding de 55px para posicionar el elemento <i> en este espacio*/
    display: inline-block;
   	cursor: pointer;
}

.check-personalizados input{
    visibility: hidden;
    position: absolute;
    right: 0;
    cursor: pointer;
}
.check-personalizados input,.select-personalizados select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

}
         
/* Estas reglas se aplicarán a todos las elementos i después de cualquier input*/
.check-personalizados input + i{
       background: #f0f0f0;
       border:2px solid rgba(0,0,0,0.2);
       position: absolute; 
       left: 0;
       top: 0;
}

/* Estas reglas se aplicarán a todos los i despues de un input de tipo checkbox*/
.check-personalizados input[type=checkbox ] + i{
    width: 38px;
    height: 15px;
    margin:2px 5px;
    border-radius:15px;
}

/*Creamos el círculo que aparece encima de los checkboxcon la etqieta before. Importante aunque no haya contenidodebemos poner definir este valor.*/
.check-personalizados input[type=checkbox] + i:before{
    content: ''; /* No hay contenido */
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    -webkit-box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
    transition: 0.5s;
}

.check-personalizados input[type=checkbox]:checked + i:before{
    left: 22px;
    -webkit-box-shadow: -3px 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 3px 0 -3px 0 rgba(0,0,0,0.2);
    transition: 0.5s;
}
 
.check-personalizados input[type=checkbox]:checked + i{
 	background: #900;
  	transition: 0.5s;
}

.check-personalizados input[type=checkbox] + i:after{
    content: 'ON';
    position: absolute;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    top: 0px;
    left: 4px;
    opacity: 0 /* Ocultamos este elemento */;
    transition: all 0.25s ease 0.25s;
}
 
/* Cuando esté checkeado cambiamos la opacidad a 1 y lo mostramos */
.check-personalizados input[type=checkbox]:checked + i:after{
 	opacity: 1;
}

.check-personalizados input[type=radio] + i{
	height: 15px;
	width: 15px;
	border-radius: 100%;
	left: 25px;
}

.check-personalizados input[type=radio] + i:before{
	content: '';
	display: inline-block;
	height: 13px;
	width: 13px;
	border-radius: 100%;
	position: absolute;
	z-index: 1;
	top: 1px;
	left: 1px;
	background:#900;
	transition: all 0.25s ease; /* Todas las propiedades | tiempo | tipo movimiento */
	transform: scale(0) /* Lo reducimos a 0*/ ;
	opacity: 0; /* Lo ocultamos*/
}
.check-personalizados input[type=radio]:checked + i:before{
	transform: scale(1);
	opacity: 1;
}
	
.check-personalizados:hover input[type=radio]:not(:checked) + i{
	background:rgba(238,208,208,0.3);
}

/* Eliminamos la fecha que por defecto aparece en el desplegable */
.select-personalizados select::-ms-expand {
    display: none;
}

.select-personalizados{
	min-width: 150px;
	position: relative;
	display: inline-block;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
 
.select-personalizados select{
	display: inline-block;
	width: 100%;
	cursor: pointer;
  	padding: 2px 40px 2px 2px;
  	height: 30px;
  	outline: 0; 
  	border: 0;
	border-radius: 0;
	background: rgba(238,208,208,0.3);
	outline:0px;
	color: #900;
	font-weight: bold;
	font-size: 1em;
	font-family: 'titillium', sans-serif;
	border: 1px solid rgba(238,208,208,0) !important;
    border-radius: 0px;
    position: relative;
    transition: all 0.25s ease;
}
 
.select-personalizados select:hover{
	background: rgba(238,208,208,0.5);
}
 .select-personalizados .legend{
	margin-left: 10px;
	font-size: 0.7em;
	color: #900;
	position: absolute;
	transform: translateY(-50%);
	background: #fff;
	padding: 0 5px;
	border-radius: 0px;
	transition: 0.5s;
	opacity: 0;
	border: 1px solid rgba(238,208,208,1);
	z-index: 10;
}
/* 
Creamos la fecha que aparece a la izquierda del select.
Realmente este elemento es un cuadrado que sólo tienen
dos bordes con color y que giramos con transform: rotate(-45deg);
*/
.select-personalizados i{
	position: absolute;
	right: 20px;
	top: calc(50% - 12px);
	width: 10px;
	height: 10px;
	display: block;
	border-left:4px solid #EED0D0;
	border-bottom:4px solid #EED0D0;
	transform: rotate(-45deg); /* Giramos el cuadrado */
	transition: all 0.25s ease;
}
 
.select-personalizados:hover i{
	margin-top: 3px;
}


/*-------------- estilo  BOTONES HOVER personalizados ---------------------*/
/*estructura de HTML <span class="boton"><button >NOMBRE DEL BOTON</button></span>*/


span.boton{
	display: inline-block;
	max-width: calc(100% -10px);
}
.boton button{
	font-family: 'titillium', sans-serif;
	min-width: 135px;
	position: relative;
	display: block;
	padding:5px 10px;
	border-radius:0px;
	border: none;
	text-align: center;
	font-weight: bold;
	overflow: hidden;
	color:rgba(255,255,255,1);
	cursor: pointer;
	letter-spacing: 1px;
	box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);
	text-decoration: none;
	transition: all ease 0.5s;
	background:#900;
}

.boton button:after,
.boton button:before{
	width: 80px;
	height: 300px;
	content: '';
	display: block;
	background: rgba(255,255,255,0.5);
	transform: rotate(45deg);
	top: -100px;
	position: absolute;
	transition: none;
	right:-100%;
	cursor: pointer;
}
.boton button:before{
	left: -120%;
}
.boton button:hover{
	text-shadow: 0 1px 1px rgba(0,0,0,0.5);
	background:rgba(238,208,208,0.8);
}

.boton button:hover:after,
.boton button:hover:before{
	transform: rotate(45deg), scaleX(130%);
	background: rgba(255,255,255,0.1);
	transition: all ease 0.5s;
}

.boton button:hover:after{
	right: 150%;
}

.boton button:hover:before{
	left: 150%;
}
/*-------------- estilo  IMPUT personalizados ---------------------*/
/*estructura de HTML <fieldset><legend>DATOS_CAMPO</legend><input type="text" placeholder="DATOS_CAMPO: " name="DATOS_CAMPO" value=""></fieldset>*/

fieldset input{
	outline:0px;
	color: #900;
	font-weight: bold;
	width:  calc( 100% - 21px);
	height: calc( 100% - 13px);
	min-width: 75px;

}
fieldset{
	display: inline-block;
	border: none;
	padding: 0;
	margin: 0;
	background:rgba(238,208,208,1) !important;
	border: 1px solid rgba(238,208,208,1) !important;
	border-radius: 0px;
}

fieldset legend{
	margin-left: 10px;
	font-size: 0.7em;
	color: #900;
	position: absolute;
	transform: translateY(-50%);
	background: #fff;
	padding: 0 5px;
	border-radius: 0px;
	transition: 0.5s;
	opacity: 0;
	border: 1px solid rgba(238,208,208,1);
	z-index: 1;
}
fieldset input[type="text"],fieldset input[type="password"],fieldset input[type="email"],fieldset input[type="number"],fieldset input[type="date"],fieldset input[type="tel"] {
	outline:0px;
	background: rgba(238,208,208,0) !important;
	border: 1px solid rgba(238,208,208,0) !important;
	border-radius: 0px;
	padding:6px 10px;
	color: #900;
}
fieldset input[type="text"]:focus,fieldset input[type="password"]:focus,fieldset input[type="email"]:focus,fieldset input[type="number"]:focus,fieldset input[type="date"]:focus,fieldset input[type="tel"]:focus,fieldset input[type="color"]:focus,fieldset textarea:focus,fieldset input[type="file"]:focus,{ 
	box-shadow: 0 0 2px 2px #900;
}
fieldset textarea{ 
	width: calc(100% - 2em);
	border: none;
	background: none;
	padding: 1em;
	color: #900;
	min-height: 150px;
	 resize: vertical;
	 font-family: "titillium";
	
}

fieldset input[type="color"] {
	width: 100%;
	height: 30px;
	border: 1px solid rgba(238,208,208,0) !important;
	transform: scaleY(1.2);
}

/**********File Inputs**********/


/*<fieldset class="container-input"><legend>NOMBRE</legend><input type="file" name="file" id="file-1" class="inputfile" data-multiple-caption="{count} archivos seleccionados" multiple /><label for="file-1"><span class="iborrainputfile"></span><strong>Seleccionar archivo: </strong></label></fieldset>
*/

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;

}
.inputfile + label {
	padding: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    overflow: hidden;
    outline:0px;
	color: #900;
	font-weight: bold;
	width:  calc(100% - 15px);
	height: calc( 100% - 13px);
	min-width: 75px;
}

.inputfile + label .iborrainputfile{
	width: 50%;
	max-height: 18px;
	overflow: hidden;

}

/**********End File Inputs**********/


::-webkit-input-placeholder { /* Edge */
  color: #900;
}

:-ms-input-placeholder { /* Internet Explorer */
  color: #900;
}

::placeholder {
  color: #900;
}























/* MEDIA QUERIES */
/* TV */
@media screen and ( min-width: 2049px){
	body{
		font-size: 1.1em;
	}
}

/* PC */
@media screen and ( max-width: 2048px){
	body{
		font-size: 1em;
	}
}

/* PORTATIL */
@media screen and ( max-width: 1630px){
	body{
		font-size: 0.85em;
	}
}

/* TABLET */
@media screen and ( max-width: 870px){
	body{
		font-size: 0.80em;
	}
	#contenedor_muestra_img p{
	font-size: 2.5em !important;
	padding: 0.5em !important;
	}

}

/* MOVIL */
@media screen and ( max-width: 720px){

	body {
  		font-size: 0.70em;
	}
	#preloader span{
	height: calc(100% - 100px);
	margin-top: 100px;
}

}
/* SMARTWATCH */
@media screen and ( max-width: 330px){
	body{
		font-size: 0.55em;
	}
}
/* ANIMACIONES */