﻿/* Cuerpo, Cabecera y Menu principal */
body{
	background-image: url("imagenes/fondo.jpg");
	background-repeat: repeat;
	background-color: #126B12;
}
#contenedor{
	font-family:  Helvetica, Verdana, Arial;
	margin: auto; 
	width: 80%;
	height: 100%;
	background-color: #E7FEF4;
	border: 3px solid green;
	border-radius: 6px;
}
#cabecera{
	height: 100px;
	background-image: url("imagenes/cabecera.png");
	background-repeat: no-repeat;
	background-color: #013F01;
}
#cabecera img{
	width: 4%;
	padding-top: 1.5em;
}
#cabecera form{
	padding-top: 1em;
	color: #E7FEF4;
}
#cabecera img, #cabecera form{
	float: right;	
	padding-right: 1em;
	overflow: hidden;
}
#cabecera input{
	width: 80%;
}
#cabecera button{
	width: 16%;
}
#menu ul{
    list-style-type: none;
    overflow: hidden;
    background-color: white;
	border: 1px solid black;
	border-radius: 2px;
}
#menu li{
    float: left;
}
#menu li a{
    display: inline-block;
    color: black;
    text-align: center;
    padding: 10px 100px;
    text-decoration: none;
}
#menu li a:hover{    
	background-color: #95BCF2;
}

/* Pie de la Página */
#pie ul{
    list-style-type: none;
    overflow: hidden;
}

#pie li{
    float: left;
	display: inline-block;
    color: blue;
    text-align: center;
    padding-right: 1em;
	padding-left: 1em;
    text-decoration: underline;
}

/* Contenido de cada Web*/
#contenido{
	height: 34em;
	position: relative;
}

/* Bloque izquierdo y derecho de la web de inicio */
#izquierda{
	width: 65%;
	float: left;
	overflow : auto;	
}
#izquierda img, #derecha img{
	width: 100%;
}
#izquierda img, #derecha p{
	padding-top: 2.7em;
}
#derecha{
	width: 32%;
	float: right;
	overflow : auto;
}

/* Barra lateral de las Web de Busqueda y de Ficha de Producto */
#lateral{
	width: 22%;
	height: 100%;
	float: left;
	overflow: scroll;
}
#lateral p, #combouno, #combodos{
	float: left;
}
#lateral p{
	font-size: 0.9em;
}

/* Contenido de las Web de Busqueda y de Ficha de Producto */
#contbusficha{
	width: 76%;
	height: 100%;
	position: absolute;
	right: 0em;
	top: 0em;
}

/* Menu de Aqui estas de las Web de Busqueda y de Ficha de Producto */
#menuaqui{
	height: 8%;
	position: relative;
	overflow: hidden;
}
#menuaqui ul{
    list-style-type: none;
    overflow: hidden;
	position: absolute;
	left: -2em;
	top: -0.5em;
}
#menuaqui li{
	display: inline-block;
    color: blue;
	padding-left: 5px;
	padding-right: 5px;
	border-left: 1px solid black;
    text-decoration: underline;
}
#menuaqui li.inicio{
	border-left: none;
}

/* Contenido de la Web de Busqueda de Productos */
#busqueda{
	height: 92%;
	position: relative;
}

/* Productos a Buscar */
#productouno, #productodos, #productotres, #productocuatro, #productocinco, #productoseis{
	width: 48%;
	height: 27.5%;
	overflow: auto;	
}
#productouno{
	position: relative;
}
#productodos, #productotres, #productocuatro, #productocinco, #productoseis{
	position: absolute;
}	
#productodos{
	top: 0em;
	right: 0em;
}
#productotres{
	top: 9em;
}
#productocuatro{
	top: 9em;
	right: 0em;
}
#productocinco{
	top: 18em;
}
#productoseis{
	top: 18em;
	right: 0em;
}
#busqueda img{
	width: 30%;
	float: left;
}
#busqueda p{
	float: left;
	padding-left: 10px;
}
#busqueda input{
	width: 3em;
}
#busqueda p > img{
	position: absolute;
	right: 2em;
	top: 1.2em;
	width: 15%;
}
#pagbusqueda{
	position: absolute;
	bottom: 0em;
	height: 12%;
	overflow: auto;
}

/* Ficha del Producto */
#ficha{
	height: 92%;
	position: relative;
	overflow: scroll;
}
#imagenficha{
	width: 50%;
	float: left;
}
#imagenficha img{
	width: 75%;
	padding-top: 3em;
	padding-left: 3em;
}
#textoficha{
	width: 50%;
	float: right;
}
#textoficha p{
	padding-top: 3em;
	padding-right: 3em;
	text-align: center;
}
#textoficha img{
	width: 15%;
}
#textoficha input{
	width: 3em;
}

/* Cesta de la Compra */
#cesta{
	height: 70%;
	text-align: right;
	overflow: scroll;
}
#contenido h3{
	text-align: center;
}
.valores{
	width: 15%;
}
.datosproducto{
	text-align: left;
	width: 40%;
}
.imgproducto{
	width: 10%;
}
.imgproducto img{
	width: 80%;
	float: left;
}
.papelera{
	width: 15%;
}
.papelera img{
	width: 75%;
}

/* Botones y Pedido */
#botones{
	width: 47%;
	height: 20%;
	float: left;
	position: relative;
	overflow: hidden;
}
#pedido{
	width: 47%;
	height: 20%;
	float: left;
	position: relative;
	text-align: right;
	overflow: hidden;
}
#botonescesta input{
	margin-right: 0.5em;
	font-size: 1.1em;
}
#botoncompra input, #pedido input{
	font-size: 1.7em;
	position: absolute;
	bottom: 0em;
}
#pedido input{
	right: 0em;	
}
#pedido p{
	font-size: 1.7em;
	margin-top: 0em;
}
