/* CSS Document */
:root {
	--rojo-normal: #F00;
	--rojo-negro: #500;
	--rojo-osc: #A00;
	--roco-gris: #DBB;
	--rojo-blanco: #FEE;
}

body {
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
}
	body.cargando {
		opacity: 0.9;
		cursor: wait;
	}
body * {
	box-sizing: border-box;
	font-family: 'Righteous';
}
div#body {
	position: fixed;
	width: 100%;
	height: 100%;
}
/* CABECERA */
header {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 55px;
	z-index: 10;
	border-bottom: solid 1px;
	background-color: white;
}
header * {
	display: inline-flex;
	-ms-align-items: center;
	align-items: center;
}
header .cabecera {
	position: relative;
	width: 100%;
	height: 54px;
	background-color: white;
	z-index: 10;
}
header .cabecera img#logo {
	margin: 2px;
	height: 40px;
}

nav {
	cursor: pointer;
}
header nav.ico {
	position: relative;
	height: 40px;
	width: 40px;
	margin-right: 15px;
	cursor: pointer;

	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
	header nav.home {
		background-image: url("../_img/ico/ico.home.png");
	}
header nav.home:hover {
	height: 50px;
	width: 50px;
	margin-right: 10px;
}
header nav.padre {
	position: absolute;
	height: 100%;
	overflow: hidden;
	background-color: white;
	z-index: 10;
}
header nav.categoria {
	cursor: pointer;
	display: block;
	color: black;
	text-decoration: none;
	text-align: center;
	transition: 0.3s;
	height: 100%;
    background-image: url("../_img/flecha.down.png");
    background-repeat: no-repeat;
    background-position: center 32px;

	font-size: 22px;
	margin: 25px 20px 0px 0px;
}
header nav.categoria.otros {
	width: 190px;
	color: var(--rojo-osc);
	color: #A00;
}
header nav.categoria.over {
	margin-top: 50px;
    background-position: center 28px;
	border-top: solid 3px var(--rojo-normal);
	border-top: solid 3px #F00;
}
header nav.subcategorias {
	position: absolute;
	right: 0px;
	z-index: 8;
	transition: 0.3s;
	justify-content: flex-end;
	height: 34px;
	top: 20px;
	width: 100%;
	border-bottom: solid 1px black;
	font-size: 20px;
	background-color: var(--rojo-gris);
	background-color: #DBB;
}
header nav.subcategorias.show {
	top: 55px;
}
header nav.subcategoria {
	display: block;
	margin-right: 30px;
	text-align: center;
	cursor: pointer;
}
header nav.subcategoria:hover {
	color: var(--rojo-osc);
	color: #A00;
}

/* PIE */
footer {
	position: fixed;
	display: flex;
	
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 36px;
	border-top: solid 1px black;
	background-color: white;
	color: var(--rojo-normal);
	color: #F00;
}
footer * {
	display: inline-block;
	z-index: 10;
}
footer .ico {
	display: inline-block;
	height: 25px;
	width: 25px;
	margin: 3px;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
}
footer input {
	background-color: white;
	border: solid 1px var(--rojo-normal);
	border: solid 1px #F00;
	color: solid 1px var(--rojo-osc);
	color: solid 1px #A00;
}
footer #admin {
	background-image: url("../_img/admin.png");
}
footer input {
	margin-top: 5px;
	width: 80px;
}

footer div.social {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 4px 0px;
	left: 0px;
	display: flex;
	justify-content: center;
	z-index: 9;
}
	footer div.social div.grupo {
		display: flex;
	}
	footer div.social div.separador {
		border-left: solid 1px black;
		margin: -4px 5px;
		width: 2px;
	}
	footer div.social a {
		display: flex;
		text-decoration: none;
		margin: 0px 10px;
		color: black;
	}
		footer div.social img {
			border-radius: 3px;
			height: 28px;
		}
		footer div.social div.grupo div {
			line-height: 30px;
			margin-left: 5px;
		}

/* CUERPO */
.cuerpo {
	position: absolute;
	top: 55px;
	bottom: 36px;
	transition: left 1s;
	width: 100%;
	overflow-y: auto;
}
	.cuerpo.sinanim {
		transition: left 0s;	
	}
	#cuerpo {
		left: 0px;
	}
	#cuerpo2 {
		left: 100%;
	}

	.tapa {
		position: fixed;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 100%;
	}
	.cuerpo div.imagenFondo {
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	.cuerpo .contenido {
		position: absolute;
		display: block;
		width: 90%;
		margin: 50px 5% 100px;
	}
		.cuerpo .contenido > * {
			position: relative;
			display: inline-block;
			margin: 0px;
		}
			.cuerpo .contenido > .columnaT {
				width: 100%;
			}
			.cuerpo .contenido > :not(.columnaT) {
				width: 49%;
			}
			.cuerpo .contenido > .columnaI {
				float: left;
				clear: left;
			}
			.cuerpo .contenido > .columnaD {
				float: right;
				clear: right;
			}
			.cuerpo .contenido > .alineacionI {
				text-align: left;
			}
			.cuerpo .contenido > .alineacionC {
				text-align: center;
			}
			.cuerpo .contenido > .alineacionD {
				text-align: right;
			}
			.cuerpo .contenido > .borde {
				border: solid 2px;
			}

		.cuerpo .contenido .tipo_foto {
		}
			.cuerpo .contenido .tipo_foto img.laFoto.tam6 {
				width: 90%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam5 {
				width: 77%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam4 {
				width: 63%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam3 {
				width: 50%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam2 {
				width: 37%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam1 {
				width: 23%;
			}
			.cuerpo .contenido .tipo_foto img.laFoto.tam0 {
				width: 10%;
			}
				.cuerpo .contenido .tipo_foto img.laFoto.sombra {
					box-shadow: 5px 5px 10px 5px black;
				}
				.cuerpo .contenido .tipo_foto img.laFoto.luz {
					box-shadow: 0px 0px 25px yellow;
				}

		.cuerpo .contenido span {
		}
			.cuerpo .contenido span.sombra {
				text-shadow: 5px 5px 10px black, 5px 5px 15px black;
			}
			.cuerpo .contenido span.borde.sombra {
				text-shadow: none;
				box-shadow: 5px 5px 10px 5px black;
			}
			.cuerpo .contenido span.luz {
				text-shadow: 0px 0px 5px yellow, 0px 0px 10px yellow;
			}
			.cuerpo .contenido span.borde.luz {
				text-shadow: none;
				box-shadow: 0px 0px 25px yellow;
			}

			.cuerpo .contenido span.tipo_titulo {
				font-size: 60px;
				font-weight: 800;
				margin: 10px 0px;
			}
			.cuerpo .contenido span.tipo_subtitulo {
				font-size: 45px;
				font-weight: 600;
				margin: 15px 0px;
			}
			.cuerpo .contenido span.tipo_texto {
				font-size: 30px;
				margin: 10px 0px;
			}
			.cuerpo .contenido span.tipo_blanco {
				font-size: 40px;
				margin: 15px 0px;
				background: none !important;
				border: none !important;
			}
			.cuerpo .contenido span.categoria {
				text-decoration: underline;
				margin: 0px 0px 30px;
			}

	.cuerpo .puntos {
		position: fixed;
		left: 0px;
		bottom: 36px;
		width: 100%;
		height: 50px;
		display: flex;
		justify-content: center;
	}
		.cuerpo .puntos .fondo {
			position: absolute;
			opacity: 0.3;
			left: 0px;
			right: 0px;
			top: 0px;
			bottom: 0px;
		}
		.cuerpo .puntos nav {
			position: relative;
			border: solid 5px red;
			height: 25px;
			width: 25px;
			border-radius: 50%;
			margin: 13px;
			cursor: pointer;
		}
		.cuerpo .puntos nav.actual {
			background-color: red;
		}

/* PRODUCTOS */
table.producto {
	margin-bottom: 30px !important;
}
table.producto tbody {
	display: inline-table;
	width: 100%;
}
	table.producto * {
		font-size: 18px;
	}
		table.producto h2 {
			margin: 0px;
			padding: 10px 15px;
			border: solid 1px black;
			border-radius: 5px;
			background-color: #eef3fa;
			font-size: 20px;
		}
		table.producto td {
			vertical-align: top;
		}
		table.producto td.miniaturas {
			width: 80px;
		}
			table.producto img.miniatura {
				width: 100%;
			}
		table.producto td.foto {
			overflow-x: scroll;
			width: calc(70% - 100px);
		}
			table.producto td.foto img {
				width: 100%;
			}			
		table.producto td.separacion {
			width: 20px;
		}
		table.producto td.descripcion {
			position: relative;
			padding-bottom: 30px;
			width: 30%;
		}
		table.producto td.caracteristica {
			width: 40%;
		}
		table.producto td.precio {
			position: relative;
			padding-top: 30px;
			line-height: 35px;
		}
			table.producto td.precio span.precio,
			table.producto td.precio span.consultar {
				background-color: antiquewhite;
				font-size: 25px;
				padding: 5px 10px;
				border-radius: 5px;
				background-color: #afa;
			}
			table.producto td.precio span.precio:after {
				content: "€";
			}
		table.producto td.relleno {
			height: 100%;
		}

		table.producto td select {
			width: 100%;
		}

.tapa.flotante {
	display: flex;
	z-index: 500;
	align-items: center;
	justify-content: center;
}
	.flotante .fondo {
		background-color: black;
		opacity: 0.5;
	}
	.flotante .ventana {
		background-color: white;
		border: solid 1px black;
		padding: 10px 30px 20px;
		z-index: 1;
		box-shadow: 10px 10px 5px black;
		max-height: 80%;
		overflow-y: scroll;
	}

/* CLASES GENERICAS */

.azul { color: blue !important; }
.gris { color: #aaa !important; }
.rojo { color: red !important; }

.grande {
	font-size: 1.3em;
}
.total {
	width: 100%;
}

.derecha {
	text-align: right;
}

.esperando, .esperando * {
	cursor: wait !important;
}

.oculto, .oculta {
	display: none !important;
}
.absoluto {
	position: absolute !important;
}
.fijo {
	position: fixed !important;
}
body.error, div#error {
	margin: 60px;
}

.borroso {
	filter: blur(5px);
}

/* * * * * * * */
/* RESPONSIVE */
/* * * * * * */

/* ORDENADORES */
@media only screen and (min-width: 1250px) {
	header .cabecera h1 {
		margin: 0px 0px 0px 10px;
		font-size: 35px;
	}
	header nav.padre {
		top: 0px;
		right: 0px;
	}
}
@media only screen and (max-width: 1250px) and (min-width: 1091px) {
	header .cabecera img#logo {
		height: 35px;
	}
	header .cabecera h1 {
		margin: 0px 0px 0px 10px;
		font-size: 30px;
	}
	header nav.padre {
		top: 0px;
		right: 0px;
	}
	header nav.padre nav {
		margin-right: 5px;
	}
}
/* TABLETS */
@media only screen and (max-width: 1090px) and (min-width: 731px) {
	header {
		height: 106px;
	}
	header .cabecera {
		height: 105px;
		padding-bottom: 50px;
	}
	header .cabecera img.logo {
		width: 120px;
	}
	header .cabecera h1 {
		margin: 0px 0px 0px 15px;
		font-size: 30px;
	}
	header nav {
		position: relative;
		float: right;
	}
	header nav.padre {
		right: 0px;
		margin-top: 50px;
		width: auto;
		padding: 0px 0px 0px 20px;
		height: 55px;
	}
	header nav.subcategorias {
		top: 72px;
		font-size: 12px;
	}
		header nav.subcategorias.show {
			top: 106px;
		}

	footer {
		height: 80px;
	}
		footer div.social {
			flex-direction: column;
		}
			footer div.social div.separador {
				display: none;
			}
			footer div.social div.grupo {
				display: flex;
				justify-content: center;
				width: 100%;
				margin: 5px 0px;
			}
}
/* MOVILES */
@media only screen and (max-width: 730px) {
	body {
		zoom: 60%;
	}
	header {
		height: 106px;
	}
	header .cabecera {
		height: 105px;
		padding-bottom: 50px;
	}
	header .cabecera img.logo {
		width: 120px;
	}
	header .cabecera h1 {
		margin: 0px 0px 0px 15px;
		font-size: 30px;
	}
	header nav {
		position: relative;
		float: right;
	}
	header nav.padre {
		right: 0px;
		margin-top: 50px;
		width: auto;
		padding: 0px 0px 0px 20px;
		height: 55px;
	}
	header nav.subcategorias {
		top: 72px;
		font-size: 12px;
	}
		header nav.subcategorias.show {
			top: 106px;
		}

	footer div.social div.grupo a div {
		display: none;
	}

	#admin {
		display: none;
	}
}