/*CSS Reset*/
{
	margin: 0;
	padding: 0;
}

/*Redner HTML5 elements as block */
#header, #footer, #aside, #nav, #article 
{
	display: block;
}

html{
	background-image: url('images/fondo.jpg');
	background-repeat: repeat-x;
}

body {
	margin: 0 auto;
	width: 940px;
	height: 1080px;
	font: 13px/22px Arial, Helvetica, sans-serif;
	color: black;
	background-color: #f0f0f0;
	
	border-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-color: white;	
	border-right-style: solid;
}

#header {
	margin: 0 auto;
	padding: 0;
	height: 120px;
}


#header img{
	float: left;
	position: absolute;
	margin-left: 50px;	
	margin-top: -15px;
	padding-left: 10px;
}

#header h1 {
	font-size: 30px;
	text-align: center;
	margin-top: 25px;
}

#nav {
	margin-top: -10px;
	height: 30px;
	background-image: url('images/bgNav.jpg');
	background-repeat: repeat-x;
	/* Border-radius not implemented yet */  
    /*-moz-border-radius: 22px;  
    -webkit-border-radius: 22px;  */
}

#nav ul{
	padding: 0;
	/*padding-top: 10px;
	padding-bottom: 10px;*/
	padding-top: 3px;
	width: 940px;
	list-style: none;
	text-align: center;
}

#nav ul li {
	/*float: left;*/
	display: block;
	float: left;
	width: 188px;
	
}
#nav ul a {
	text-decoration: none;
}

#nav ul a :hover  {
	color: white;
}

#nav ul a li {
	color: black;
	text-decoration: none;
	font-size: 15px;
}

.navHover {
	width: 156px;
	height: 25px;
	background-image: url('images/bgSelected.jpg');
	background-repeat: repeat-x;
	margin-top: -3px;
	padding-top: 3px;
	padding-bottom: 2px;
}

.navHoverLink{
	color: white;
}

.selectedPage  {
	background-image: url('images/bgSelected.jpg');
	background-repeat: repeat-x;
	margin-top: -3px;
	padding-top: 3px;
	padding-bottom: 2px;
	/*-moz-border-radius: 22px;  
    -webkit-border-radius: 22px; */
}

#nav ul a li.selectedPage {
	color: white;
}


/*slideshow*/
#sliderContent {
	height: 273px;
	background-color: #364f9a;
	padding-top: 5px;
}

#slider {
	margin: 0 auto;
	width: 640px;
	position: relative;
}

#slider #slideContainer {
	margin: 0px auto;
	width: 560px;
	height: 263px;
	overflow: auto;
	position: relative;
	background-image: url('images/bgSlider.jpg');
	background-repeat: repeat-x;
	-moz-border-radius: 15px;  
    -webkit-border-radius: 15px;
	border-color: white;
	border-style: solid;
	border-width: 1px;
}

#slider #slideContainer a {
	text-decoration: none;
}

#slider #slideContainer .slide {
	margin: 0 auto;
	width: 540px;
	height: 263px;
}

.control {
  display:block;
  width:39px;
  height:263px;
  text-indent:-10000px;
  position:absolute;
  cursor: pointer;
}

#leftControl {
  top:0;
  left:0;
  background:transparent url(images/left.png) no-repeat 0 0;
}
#rightControl {
  top:0;
  right:0;
  background:transparent url(images/right.png) no-repeat 0 0;
}

.slide h2 {
	font: bold 22px Arial, "Times New Roman", Times, serif;
	color:#364f9a;
	letter-spacing:-1px;
	margin-right: 100px;
	margin-bottom: 10px;
}

.slide ul {
	list-style-image: url(images/bullet.png);
}

.slide ul li {
	font: 18px arial, "Times New Roman", serif;
	margin-bottom: 5px;
	color: #000;
	text-decoration: none;
}

.slide img {
	float: left;
	margin:0;
	margin-right: 20px;
	border-style: none;
}

#intro {
	margin-top: 20px;
	margin-bottom: 30px;
}

#contenido {
	display: table;
	width: 940px;
	height: 600px;
	font-size: 14px;
	margin-bottom: -12px;
	background-image: url('images/bgContent.jpg');
	background-repeat: repeat-y;
	
}

#contenido ul {
	list-style-image: url(images/bullet.png);
}

#contenido #sidebar p.mas {
	margin-left: 150px;
}

#nuestrosClientes {
	display: table;
}

#contenido #info #intro #nuestrosClientes #clientes1, #contenido #info #intro #nuestrosClientes #clientes2 {
	display: table-cell;
	padding-left: 25px;
	padding-right: 10px;
}

#info {
	display: table-cell;
	width: 600px; 
	text-align: justify;
	padding-left: 20px;
	padding-right: 50px;
}

#fotos {
	display: table;
	padding-left: 20px;
}

#fotos div {
	display: table-cell;
}

#producto #imgProduct {
	float: left;
	margin-left: 15px;
	margin-right: 15px;
}

#producto #infoProduct {
	padding-top: 30px;
}

#producto {
	border-bottom-style: solid;
	border-width: 1px;
	height: 250px;
}

#sidebar {
	margin-left: 70px;
	display: table-cell;
	width: 200px;
	border-width: 1px;
	border-left-style: solid; 
}

#sidebar h3 {
	text-align: left;
	margin-left: 30px;
}

#productosContenedor, #mercados, #servicios {
	border-bottom-style: solid;
	margin-left: 10px;
	border-width: 2px;
	width: 90%;
}

#productos {
	width: 200px;
	height: 143px;
	margin: 0 auto;
	border-width: 2px;
	border-style: solid;
	border-color: #d0d0d0;
	-moz-border-radius: 8px;  
    -webkit-border-radius: 8px;
}

#productos div {
	position: absolute;
	z-index: 0;
}

#prodcuctos div img {
	background-color: black;
}

#productos div.currentProduct {
	z-index: 2;
}

#productos div.previousProduct {
	z-index: 1;
}

#contenido #sidebar #contacto p{
	margin-left: 20px;
	margin-right: 5px;
}

#contenido #sidebar #contacto p span, #contenido #info #intro span{
	font-weight: bold;
}

#footer {
	-moz-border-radius-bottomright: 15px;  
	-moz-border-radius-bottomleft: 15px;  
    border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
}

#footer #content{
	display: table;
	width: 100%;
}

#footer #content #tels, #footer #content #dir{
	display: table-cell;
}

#tels {
	padding: 0px;
	margin: 0;	
	width: 400px;
}
#tels h3 {
	margin-left: 40px;
}

#tels ul{
	list-style: none;
	text-align: left;
}

#tels ul li {
	/*float: left;*/
	display: inline;
	
}

#tels ul li a {
	text-decoration: none;
	font-size: 15px;
	color: black;
}

#footer {
	margin-top: 10px;
	background-color: black;
	color: white;
}
#footer h3 {
	font-size: 12px;
	text-align: center;
	margin-bottom: 0;
	padding-bottom: 0;
}
#footer #content #dir {
	width: 500px;
	padding-left: 20px;
}

#footer #copyright p{
	text-align: center;
	margin-top: 0;
	padding-top: 0;
	font-size: 10px;
}


