* {
	margin:0px;
	padding:0px;
}

html, body, div#main{
    min-height: 100%; /* alto minimo FF y Safari */
    width: 100%;
    height: 100%; /* alto minimo para IE Windows */
    margin: 0;
    padding: 0;
	/*margin-bottom:-70px;*/
}

html>body div#main{
    height: auto; /* con este hack escondemos el min-height de IE*/
	
}

div#main {
    position: absolute;
    top: 0;
	left:0;
	background-color:#EBEBEB;
	margin:0;
}
body {
/*	text-align: center;*/
background-color:#EBEBEB;
}

div#esquinas_superiores {
	background-image: url(../images/esq_superiores.jpg);
	background-repeat:no-repeat;
	margin:0 auto;
	height:33px;
	width:902px;
	margin-top:11px;
}

.clear { clear:both;}


/*-------------------------------------------*/
/*                 CABEZAL                   */
/*-------------------------------------------*/

div#cabezal {
	width:842px;
	margin:0 auto;
	height:83px;
	margin-bottom:16px;
}

div#cabezal p {
	width:380px;
	float:right;
	height:63px;
	text-align:right;
	margin:0;
	margin-top:20px;
}

div#cabezal h1{
	float:left;
	/*width:245px;
	height:83px;*/
	display:block;
	}
	
div#cabezal h1 a{
	color:#fff;
	text-indent:-9999px;
	font-size:0;
/*	width:245px;
	height:83px;*/
	display:block;
/*	background-image:url(../images/logo.jpg);*/
	background-repeat:no-repeat;
}
div#imagengrande {
	margin:0 auto;
	width:844px;
	/*height:231px;*/
	height:154px;
}

div#imagengrande_interiores {
	margin:0 auto;
	width:844px;
	height:154px;
}
	

/*-------------------------------------------*/
/*                 MENÚ                      */
/*-------------------------------------------*/


div#menu {
	width:844px;
	height:44px;
	margin: 0 auto;
	margin-top: 9px;
	margin-bottom: 30px;
	padding:0;
	border:0;
}

div#menu_left_corner {
	width:15px;
	height:44px;
	background-image: url(../images/fondo_menu_izq.jpg);
	background-repeat:no-repeat;
	background-position:top left;
	margin:0;
	padding:0;
	border:0;
	float:left;
}

div#menu_items {
	width:814px;
	height:44px;
	margin:0;
	padding:0;
	border:0;
	float:left;
	background-image: url(../images/fondo_menu.jpg);
}

div#menu_right_corner{
	width:15px;
	height:44px;
	background-image: url(../images/fondo_menu_der.jpg);
	background-repeat:no-repeat;
	background-position:top right;
	margin:0;
	padding:0;
	border:0;
	float:right;
}

div#menu_items a {
	color:#0070c0;
	text-decoration:none;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-size:0.94em;
	padding:0 15px;
	margin:0;
	display:block;
	line-height:44px;
	font-weight:bold;
}


div#menu_items a:hover {
	color:#0070c0;
	text-decoration:underline;
	position:relative;
	top:1px;
	left:1px;
}


div#menu_items ul {
	list-style-type:none;
	margin:0 0 0 15px;
	height:44px;
	padding:0;
}

div#menu_items li {
	float:left;
	margin:0;
	line-height:44px;
	padding:0;
	height:44px;
}

.separador_menu {
	background-image: url(../images/fondo_menu_separador.jpg);
	background-position:right center;
	background-repeat:no-repeat;
}

/*-------------------------------------------*/
/*                 SUBMENÚ                   */
/*-------------------------------------------*/

div#submenu_arriba {
	width:164px;
	height:22px;
	background-image: url(../images/fondo_submenu_arriba.gif);
	background-repeat:no-repeat;
	background-position:top left;
	margin:0;
	padding:0;
	border:0;
}

div#columna_izq ul {
	list-style-type:none;
	margin:0;
	padding:0 0 22px 0;
	background: url(../images/fondo_submenu_abajo.gif) no-repeat 0 100%;
}

div#columna_izq li{
	border-bottom:solid 1px #CBCBCB;

}

div#columna_izq li.item_activo{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.88em;
	color:#666;
	font-weight:bold;
	text-decoration:none;
	width:152px;
	padding:8px 0 8px 12px;
}

div#columna_izq a {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.88em;
	color:#999999;
	font-weight:bold;
	text-decoration:none;
	width:144px;
	padding:8px 0 8px 12px;
	margin:0;
	display:block;
}

div#columna_izq a:hover {
	color: #666666;
	text-decoration:underline;
	position:relative;
	top:1px;
	left:1px;
}

/*-------------------------------------------*/
div#esquinas_inferiores {
	background-image: url(../images/esq_inferiores.jpg);
	background-repeat:no-repeat;
	margin:0 auto;
	height:33px;
	width:902px;
	display:block;
}

/*-------------------------------------------*/
/*                 CONTENEDOR                */
/*-------------------------------------------*/

div#contenedor {
	margin: 0 auto;
	background-image:url(../images/fondo.jpg);
	background-repeat:repeat-y;
	background-position:center;
	width:902px;
	background-color:#FFFFFF;
	height:auto;
	overflow:hidden;
}

div#content_perse {
	width:840px;
	margin:0 auto;
	overflow:hidden;
	padding:0;
}

div#columna_izq {
	float:left;
	display:inline;
}

div#columna_der {
	float:right;
}

/* --------- definiendo las columnas para cada página-------*/
body#home div#columna_izq {
	margin:0;
	margin-left:16px;
	margin-top:20px;
	/*width:516px;*/
	width:400px;
}
body#home div#columna_der {
	margin-right:16px;
	width:390px;
}
body#empresa div#columna_izq {
	margin:0;
	margin-left:0;
	width:164px;

	}
body#empresa div#columna_der{
	margin:0;
	width:640px;
	margin-left:25spx;
}

body#objetivos div#columna_izq {
	margin:0;
	margin-left:0;
	width:164px;
	}
body#objetivos div#columna_der{
	margin:0;
	width:610px;
	margin-left:47px;
}

body#greycon div#columna_izq {
	margin:0;
	margin-left:0;
	width:164px;
	}
body#greycon div#columna_der{
	margin:0;
	width:560px;
	margin-left:47px;
	padding-right:50px;
}
	
body#omdec div#columna_izq {
	margin:0;
	margin-left:0;
	width:164px;
	}
body#omdec div#columna_der{
	margin:0;
	width:600px;
	margin-left:47px;
	padding-right:10px;
}
body#referencias div#columna_der{
	margin:0;
	width:600px;
}
body#alianzas div#columna_der{
	margin:0;
	width:580px;
}



/*-------------------------------------------*/
/*                 FOOTER                    */
/*-------------------------------------------*/

div#footer {
	/*position:absolute;
	bottom:0;*/
	/*bottom:-5px;  ------esto es lo que tenía puesto, puse lo que tenía cifer-------*/
	width:844px;
	height:30px;
	padding:0;
	border:0;
	clear:left;
	margin:0 auto;
	background-color:#EBEBEB;
}

div#direccion {
	float:left;
	width:720px;
	height:30px;
	margin:8px 0 0 0;
	display:inline;
}

div#direccion p {
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.69em;
	color:#666666;
	text-align:left;
}
div#direccion a {
	color:#0070c0;
	text-decoration:none;
}
div#direccion a:hover {
	position:relative;
	top:1px;
	left:1px;
	text-decoration:underline;
}


div#design_by_tangram {
	width:120px;
	height:30px;
	float:right;
	display:inline;
}

div#design_by_tangram p {
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	font-size:0.56em;
	color:#666666;
	line-height:30px;
	margin: 0;
	padding:0;
	border:0;
	height:30px;
	text-align:right;
}

div#design_by_tangram p a {
	color:#666666;
	text-decoration:none;
	font-weight: bold;
}

div#design_by_tangram p a:hover{
	position:relative;
	top:1px;
	left:1px;
	text-decoration:underline;
}
