/* ----------------------------------------------------------------------------
Estilos para paginas de contenido
Author:   Ruairi Mc Comb (ruairi.mccomb@madrid.cepsa.es)
Version:  6 Mayo 2005
---------------------------------------------------------------------------- */

/* =Layout Basico
---------------------------------------------------------------------------- */
body { background: url(../images/body-bg.gif) repeat-y left; }

#contenedor {
  position: relative;
  left : 0;
  width: 770px;
  height: auto;
  min-height : 100%;
}

body.dev #contenedor {
  background: url(../images/grid.gif) repeat-y 0 0; /* descomentar para ver la reticula */
}

* html #contenedor {
  height: 100%; /* establecemos la altura para IE */
  margin-bottom: -14px; 
}

#cabecera {
  font-size: 11px;
  position: absolute;
  left: 1px;
  top: 0;
  width: 768px;
  height: 83px;
  background: #e70000 url(../images/header-bg.gif) repeat-x;
}

#logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 126px;
  height: 126px;
  background: url(../images/logo.gif) no-repeat;
  z-index: 100;
}

#logo a, #logo a:hover {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -9999px; /* ocultamos el texto */
  text-decoration: none;  
  overflow: hidden;
}

#navegacion_cabecera {
  text-align: right;
  background-color: #ccc;
  border-bottom: 1px solid #fff;
  height: 15px;
  overflow: hidden;
}

#pie {
  font-size: 11px;
  position: relative;
  background: #ccc url(../images/pie-bg.gif) no-repeat top;
  clear: both;
  width: 768px;
  left: 1px;
  height: 40px;
  vertical-align: bottom;
  margin-top: -46px;
  text-align: right;
  padding: 3px 0;
}


/* =Decoracion Cabecera y Pie de pagina
---------------------------------------------------------------------------- */

#navegacion_cabecera ul {
  margin: 0 10px 0 0; /* se crea un espacio de 14px entre los items y el border derecho del contenedor */
}

#navegacion_cabecera ul li {
  display: inline; /* las items de una lista deben mostrar en una linea */
  padding-left: 7px; /* se crea espacio entre los items */
  border-left: 1px solid; /* pintar una raya horizontal en el lado izquierdo del item */
  margin-left: 7px; /* se crea espacio entre los items */
}

#navegacion_cabecera ul li.first {
  border-left: none; /* el primer item de la lista no tiene una raya a la izquierda*/
}

#navegacion_cabecera ul li a, #pie ul li a {
  color: #000;
  text-decoration: none;
  font: 11px/11px Verdana, Gill Sans, Sans Serif;
}

#navegacion_cabecera ul li a:hover, #pie ul li a:hover  { 
  background-color: #f1f1f1;
}

#pie ul, #pie ul li { display: inline; margin: 0; }

#paises {
  float: left; /* las paises a la izquierda */
  display: inline; /* para eliminar double margin bug en IE */
  margin-left: 10px;
  text-align: left;
  font-weight: bold;
  color: #555;
}

#paises img {
  /*width: 21px;
  height: 14px;
  vertical-align: bottom;
  padding: 1px;
  background-color: #ccc;*/
}

#navegacion_pie {
  display: inline; /* para eliminar double margin bug en IE */
}

#navegacion_pie ul li {
  display: inline; /* para eliminar double margin bug en IE */
  margin-right: 7px; /* separar los items */
  padding-right: 7px; /* separar los items */
  border-right: 1px solid; /* dibuja el separador de items */
}

#copyright {
  display: inline; /* para prevenir una nueva linea */
  margin-right: 10px; /* para separar el copyright del borde derecho */
}

#confianza {
  display: inline;
  margin-right: 10px;
}

#confianza img {
  vertical-align: top;
}

/* =Buscador
---------------------------------------------------------------------------- */
#buscador {
  position: absolute;
  left: 10px;
  top: 150px;
  width: 180px;
}

#buscador input.text {
  width: 140px;
}

#buscador input.boton {
  border: 0; /* quitamos border + padding */
  padding: 0;
  width: 19px; /* establecemos altura imagen */
  height: 19px; 
  text-indent: -9999em; /* ocultamos el boton */
  background: #fff url(../images/lupa-buscador.gif) no-repeat top left; /* establecemos imagen */
  cursor: pointer; cursor:  hand;
  
}

/* =Pagina con menu izquierdo
---------------------------------------------------------------------------- */
#contenido {
  float: left;
  width: 560px;
  margin-left: 200px;
  display : inline;

  padding-top: 128px;
  padding-bottom: 100px;
  margin-bottom: 40px;
}

#navegacion_contenido {
  float: left;
  width: 170px;
  margin-left: -750px;
  
  padding-top: 191px;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

#banner_navegacion {
  padding: 10px;
  text-align: center;
  
}

#banner_navegacion a {
  display: block;
  margin-bottom: 10px;
}

/* =Pagina sin menu derecho
---------------------------------------------------------------------------- */
.ancho #contenido {
  float: left;
	width: 750px;
	margin-left: 10px;
	display : inline;

	padding-top: 128px;
  padding-bottom: 40px;
}

/* =Productos
---------------------------------------------------------------------------- */ 

.descripcion_producto {
  background-color: #f2f2f2;
  border-bottom: 1px dashed #a0a0a0;
  padding: 10px 10px 10px 10px;
  margin-bottom: 1em;
  overflow: auto;
  float: left;
}

.descripcion_producto h1 {
  border-bottom: 0;
  padding-top: 0;
  margin-top: 10px;
}

.descripcion_producto img.izq {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid #e70000;
  width: 170px;
}

.listado_productos {
	clear: both;
  margin-top: 10px;
}

.producto {
  margin-bottom: 1.5em;
  margin-left: 120px;
  clear: both;
}

.producto h2 {
  margin-left: -120px;
}

.producto img.izq {
  float: left;
  margin: 0 10px 10px -120px;
  width: 100px;
  border: 1px solid #e70000;
}

.producto .mas_info {
	position: relative;
	display: block;
}

.producto .mas_info img {
	position: absolute;
	right: 0;
	width: auto;
	border: 0;
	margin-top: -34px;
}

.producto em {
  color: #e70000;
  font-style: normal;
}

/* =Menu Superior 
 * TODO: Simplificar estilos
 * TODO: Usar :focus para la accesabilidad
---------------------------------------------------------------------------- */ 
#menu_superior {
  position: absolute;
  top: 25px;
  left: 138px;
  font-size: 90%;
}

#menu_superior, #menu_superior ul {
  padding: 0;
	margin: 0;
	list-style: none;
  line-height: 10px;
  font-size: 10px;
}

/* fondo menus */

#menu_superior ul ul {
  width: 180px;
  background: #fff url(/nustyle/images/fondo_burbujas.gif) no-repeat top left;    
  padding: 2px;
  border: 1px solid #a8a2a2;
}

#menu_superior ul ul ul {
  background: #fff;
}

/* items de menu primer nivel */

#menu_superior a {
	display: block;
  padding: 0 3px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font: bold 130% "Gill Sans", "Gill Sans MT", "Trebuchet MS";
  margin-right: 1em;
  border-left: 4px solid #ccc;
}

#menu_superior li {
  padding: 0;
  margin: 0;
	float: left;
}

#menu_superior li { 
  border-left: 1px solid #ccc;
  padding-top: 35px;
}

#menu_superior li:hover, #menu_superior li.sfhover {
  border-left: 1px solid #fff;
}

#menu_superior li:hover a, #menu_superior li.sfhover a {
  border-color: #fff;
}

/* items de menu despues de primer nivel */

#menu_superior li li a {
	display: block;
  color: #333;
  text-decoration: none;
  padding: 3px;
  font: normal 100% Verdana;
  margin-right: 0;
  border-left-width: 0px;
}

#menu_superior li:hover li,
#menu_superior li.sfhover li {
  border-left: none;
  padding-top: 0;
}

#menu_superior li li {
  border-left: none;
  padding-top: 0;
}

/* cambios de color */

#menu_superior li:hover a,
#menu_superior li:hover li:hover a,
#menu_superior li:hover li:hover li:hover a,
#menu_superior li.sfhover a,
#menu_superior li.sfhover li.sfhover a,
#menu_superior li.sfhover li.sfhover li.sfhover a {
  color: #fff;
  background-color: #e70000;
}

#menu_superior li:hover li a,
#menu_superior li:hover li:hover li a,
#menu_superior li.sfhover li a,
#menu_superior li.sfhover li.sfhover li a {
  color: #333;
  background-color: transparent;
}

/* fin cambios */

#menu_superior ul ul a {
  width: 174px;
  font-weight: bold;
}

#menu_superior ul ul ul a {
  font-weight: normal;
}

/* lineas entre opciones de menu*/

#menu_superior li li {
  border-bottom: 1px solid #a8a2a2;
}

#menu_superior ul li:last-child , #menu_superior li li.last {
  border-bottom: 0px solid #fff;
}

/* posicion submenus */

#menu_superior li ul ul {
  margin: -1.7em 0 0 180px;
}

/* Para mostrar y ocultar submenus */

#menu_superior li ul { 
	position: absolute;
	left: -999em;
}

#menu_superior li:hover ul ul, 
#menu_superior li:hover ul ul ul, 
#menu_superior li.sfhover ul ul, 
#menu_superior li.sfhover ul ul ul {
	left: -999em;
}

#menu_superior li:hover ul,
#menu_superior li li:hover ul, 
#menu_superior li li li:hover ul, 
#menu_superior li.sfhover ul, 
#menu_superior li li.sfhover ul, 
#menu_superior li li li.sfhover ul {
	left: auto;
  z-index: 10;
}

#menu_superior iframe ,
#menu_superior li.sfhover li iframe {
  left: -999em;
  z-index: 1;
}

#menu_superior li li iframe {
  margin: -1.7em 0 0 180px;
}

#menu_superior li.sfhover iframe,
#menu_superior li.sfhover li.sfhover iframe {
	left: auto;
  z-index: 1;
  
}

/* mostrar el submenu de "trabaja con nosotros" a la izquierda */

#trabaja_con_nosotros li:hover ul, #trabaja_con_nosotros li.sfhover ul,
#trabaja_con_nosotros li:hover iframe, #trabaja_con_nosotros li.sfhover iframe {
  left: auto;
  right: 180px;
}

/* imagenes */

#quienes_somos a {
  background: url(/nustyle/images/menu/quienes_somos.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 111px;
}

#que_ofrecemos a {
  background: url(/nustyle/images/menu/que_ofrecemos.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 110px;
}

#quien_dirigimos a {
  background: url(/nustyle/images/menu/a_quien_nos_dirigimos.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 152px;
}

#trabaja_con_nosotros a {
  background: url(/nustyle/images/menu/trabaja_con_nosotros.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 137px;
}

#the_company a {
  background: url(/nustyle/images/menu/the_company.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 110px;
}

#products_services a {
  background: url(/nustyle/images/menu/products_services.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 157px;
}

#markets a {
  background: url(/nustyle/images/menu/markets.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 87px;
}

#career_opportunities a {
  background: url(/nustyle/images/menu/career_opportunities.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 140px;
}

/* pt */

#quem_somos a {
  background: url(/nustyle/images/menu/quem_somos.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 99px;
}

#o_que_oferecemos a {
  background: url(/nustyle/images/menu/o_que_oferecemos.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 130px;
}

#trabalha_connosco a {
  background: url(/nustyle/images/menu/trabalha_connosco.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 142px;
}

#centro_imprensa a {
  background: url(/nustyle/images/menu/centro_imprensa.gif) no-repeat 4px 2px;
  text-indent: -9999em;
  width: 137px;
}

#quienes_somos li a,
#que_ofrecemos li a,
#quien_dirigimos li a,
#trabaja_con_nosotros li a,
#the_company li a,
#products_services li a,
#markets li a,
#career_opportunities li a,
#quem_somos li a,
#o_que_oferecemos li a,
#trabalha_connosco li a,
#centro_imprensa li a
 {
  background: transparent;
  text-indent: 0;
  width: 174px;
}

