/*FUENTES*/  

@font-face {
	font-family:'titillium';
	src:url('../rsc/fonts/Titillium-Light.otf') format('opentype');
} 

*{
	margin: 0; 
	padding: 0;
}
html{
	font-size: 1em;
	-webkit-text-size-adjust: 1em; 
	-ms-text-size-adjust: 1em;
}
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;
	color: #353535; 
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
	-o-transition: all 0.5s; 
	transition: all 0.5s; 
}
a:hover, a:focus { 
	color: rgba(153,0,0,1); 
	text-decoration: none; 
}
p { 
	color: #8c9398; 
	word-spacing: 1px; 
	line-height: 25px; 
	font-size: 0.9em; 
}
h2 { 
	font-size: 1.3em; 
	color: #353535; 
	text-transform: uppercase; 
	font-weight: bold; 
}
h2::after { 
	content: " "; 
	border: solid 2px rgba(153,0,0,1); 
	display: block; width: 35px; 
	margin: 25px auto; 
}
.centrar_texto{
	text-align: center;
}
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: 2.2em;
	color: #fff;
	padding:0.5em;
	margin: 1em;
	cursor: pointer;
	border-radius: 50%;
	transition: 0.5s;
	width: 2em;
	height: 2em;
	text-align: center;
}
#contenedor_muestra_img p:focus,#contenedor_muestra_img p:hover{
	 background: rgba(153,0,0, 0.4);
}
#contenedor_muestra_img p:nth-child(1){
	right: 0px;
}
#contenedor_muestra_img p#boton_cerar_visor{
	top: 1em;
	right: 0px;
}
/*-----------------------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;
}
.no_margin{
	margin:0 !important;
}
.limpiar_float{
	float: none;
	clear: both;
}
/*-------------- 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;
   	color:#fff;
}
.check-personalizados a{
   	color:#ccc;
}
.check-personalizados a:focus,.check-personalizados a:hover { 
	text-decoration: none; 
	color: rgba(153,0,0, 1);
}

.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: 20px;
    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: rgba(153,0,0, 1);
  	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:rgba(153,0,0, 1);
	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(103,193,255,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(153,0,0,0.6);
	outline:0px;
	color:#fff;
	font-weight: bold;
	font-size: 1em;
	font-family: 'titillium', sans-serif;
	border: 1px solid rgba(153,0,0,0) !important;
    border-radius: 0px;
    position: relative;
    transition: all 0.25s ease;
}
 
.select-personalizados select:hover{
	background:  rgba(153,0,0,0.8);
}
 .select-personalizados .legend{
	margin-left: 10px;
	font-size: 0.7em;
	color: rgba(153,0,0, 1);
	position: absolute;
	transform: translateY(-50%);
	background: #fff;
	padding: 0 5px;
	border-radius: 0px;
	transition: 0.5s;
	opacity: 0;
	border: 1px solid rgba(153,0,0,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 rgba(153,0,0, 1);
	border-bottom:4px solid rgba(153,0,0, 1);
	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:rgba(153,0,0, 1);
}

.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(103,193,255,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: #fff;
	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(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(153,0,0,1) !important;
	border-radius: 0px;
}

fieldset legend{
	margin-left: 10px;
	font-size: 0.7em;
	color: #fff;
	position: absolute;
	transform: translateY(-50%);
	background: rgba(153,0,0, 1);
	padding: 0 5px;
	border-radius: 0px;
	transition: 0.5s;
	opacity: 0;
	border: 1px solid rgba(153,0,0,1);
	z-index: 1;
}
fieldset input[type="text"],fieldset input[type="password"],fieldset input[type="time"],fieldset input[type="email"],fieldset input[type="number"],fieldset input[type="date"],fieldset input[type="tel"] {
	outline:0px;
	background: rgba(208,235,255,0) !important;
	border: 1px solid rgba(153,0,0,0) !important;
	border-radius: 0px;
	padding:6px 10px;
	color: rgba(153,0,0, 1);
}
fieldset input[type="text"]:focus,fieldset input[type="password"]:focus,fieldset input[type="time"]: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 rgba(153,0,0, 1);
}
fieldset textarea{ 
	width: calc(100% - 2em);
	border: none;
	background: none;
	padding: 1em;
	color: #fff;
	min-height: 150px;
	 resize: vertical;
	 font-family: "titillium";
	
}

fieldset input[type="color"] {
	width: 100%;
	height: 30px;
	border: 1px solid rgba(153,0,0,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: rgba(153,0,0, 1);
	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: #fff;
}

:-ms-input-placeholder { /* Internet Explorer */
  color: #fff;
}

::placeholder {
  color: #fff;
}


/*------------------------------INPUT RANGO------------------------------------*/
/*<fieldset><legend> NOMBRE <span class=" legend_ranger">0</span></legend><input type="range" placeholder=" NOMBRE: " name="" value="0" min="0" max="100"></fieldset>*/

input[type='range'] {
  display: block;
  width: 100%;
  margin: 10px 0;
  background: none;
}

input[type='range']:focus {
  outline: none;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  background-color: rgba(153,0,0, 1);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(153,0,0, 1);
  border-radius: 50%;
  margin-top: -9px;
}

input[type=range]::-moz-range-thumb {
  background-color: rgba(153,0,0, 1);
  width: 15px;
  height: 15px;
  border: 3px solid rgba(153,0,0, 1);
  border-radius: 50%;
}

input[type=range]::-ms-thumb {
  background-color: rgba(153,0,0, 1);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(153,0,0, 1);
  border-radius: 50%;
}

input[type=range]::-webkit-slider-runnable-track {
  background-color: rgba(153,0,0, 1);
  height: 3px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  outline: none;
}

input[type=range]::-moz-range-track {
  background-color: rgba(153,0,0, 1);
  height: 3px;
}

input[type=range]::-ms-track {
  background-color: rgba(153,0,0, 1);
  height: 3px;
}

input[type=range]::-ms-fill-lower {
  background-color: HotPink
}
input[type=range]::-ms-fill-upper {
  background-color: black;
} 
.legend_ranger{
	font-size: 1.5em;
	margin: 0.3em 0;
}



input[type=text]:disabled,input[type=password]:disabled,input[type=time]:disabled,input[type=email]:disabled,input[type=number]:disabled,input[type=date]:disabled,input[type=tel]:disabled,select:disabled {
 	background: #eee !important;
}

input[type=text]:disabled,input[type=password]:disabled,input[type=time]:disabled,input[type=email]:disabled,input[type=number]:disabled,input[type=date]:disabled,input[type=tel]:disabled {
 	width: calc(100% - 22px);
}





[data-title]:hover:after {
    opacity: 1;
    transition: all 0.7s ease 0.4s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    background-color: rgba(153,0,0, 1);
    color: #fff;
    font-size: 1em;
    position: absolute;
    padding: 3px 20px;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    box-shadow: 1px 1px 2px #6666;
    opacity: 0;
    z-index: 99999;
    visibility: hidden;
    border-radius: 6px;
    
}
[data-title] {
    position: relative;
}


/* MEDIA QUERIES */
/* TV */
@media screen and ( min-width: 2049px){
	body{
		font-size: 1.2em;
	}
}

/* PC */
@media screen and ( max-width: 2048px){
	body{
		font-size: 1.05em;
	}
}

/* PORTATIL */
@media screen and ( max-width: 1630px){
	body{
		font-size: 1em;
	}
}

/* TABLET */
@media screen and ( max-width: 991px){
	body{
		font-size: 0.95em;
	}
	#contenedor_muestra_img p{
		font-size: 2.5em !important;
		padding: 0.5em !important;
	}

}

/* MOVIL */
@media screen and ( max-width: 720px){

	body {
  		font-size: 0.95em;
	}
	#preloader span{
		height: calc(100% - 100px);
		margin-top: 100px;
	}
}
/* SMARTWATCH */
@media screen and ( max-width: 330px){
	body{
		font-size: 0.85em;
	}
}
/* ANIMACIONES */