body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,p,blockquote,th,td,img
{
	margin:		0;
	padding:	0;
}

body
{
	font-size:			62.5%;
	cursor:				default;
	font-family:		Arial, Verdana, sans-serif;
	background: 		#E1E1E1 url(../images/fondos/bg.jpg) top repeat-x;
}

html>body { font-size: 12px; }

a img { border: none; }

#wrap
{
	width:			896px;
	background:		url(../images/fondos/fondo.jpg) no-repeat;
	margin:			0 auto;
}

#container
{
	width:			896px;
	position:		absolute;
}


/* -------------------- */
/*
		<div id="header">			
					
			<span id="slogan">
				<?php if($_SESSION['logged'] && $_SESSION['username'] != "" ) { ?>
					Bienvenido, <?php echo $_SESSION['username']?>.
				<?php }else{ ?>
					Bienvenido, Invitado. Usted no est&aacute; registrado a&uacute;n.
				<?php } ?>
			</span>
			
			<!-- tabs -->
			<ul>
				<li <?php if($sPage == 'home') echo "id='current'" ?> ><a href="<?php echo HREF_HOME ?>"><span>Inicio</span></a></li>
				
				<?php if($_SESSION['logged'] && $_SESSION['username'] != "" ) { ?>
					<li <?php if($sPage == 'perfil') echo "id='current'" ?> ><a href="<?php echo HREF_PROFILE ?>"><span>Mi Perfil</span></a></li>
				<?php }else{ ?>
					<li <?php if($sPage == 'registro') echo "id='current'" ?> ><a href="<?php echo HREF_REGISTER ?>"><span>Registro</span></a></li>
				<?php } ?>
				
				<li><a href="<?php echo HREF_HOME ?>#contacto"><span>Contacto</span></a></li>
				
				<?php if($_SESSION['logged'] && $_SESSION['username'] != "" ) { ?>
					<li><a href="<?php echo HREF_ACTION_LOGOUT ?>"><span>Salir</span></a></li>
				<?php } ?>
				
			</ul>
											
		</div>
*/
div#cabecera
{
	background:		url(../images/top.jpg) top no-repeat;
	height:			120px;
	margin-top:		15em;
}

	div#cabecera ul 
	{
		list-style-type:	none;
		float: 				right;
		/*margin:			4px 15px 0 0;*/ /*El original*/
		/*margin:			-6px 15px 0 0;*/ /*Alternativa arriba del menu*/
		margin:			117px 15px 0pt 0pt; /*Alternativa arriba del flash*/
		
	}
	
		div#cabecera ul li
		{
			display:		inline;
			color:			#fff;
			font-size:		1.1em;
			font-family:	Verdana, Arial, sans-serif;
		}
		
			div#cabecera ul li a
			{
				color:				#fff;
				text-decoration:	none;
				font-weight:		bold;
				margin:				0 0;
			}
			
				div#cabecera ul li a:hover { text-decoration: none; }

	div#cabecera h1 { display:	none; }
	
	form#buscar
	{
		float:	right;
		clear:	right;
		margin:	15px 15px 0 0;
	}
	
		form#buscar fieldset
		{
			background:	#c6eafa;
			border:		1px solid #4d5255;
			width:		140px;
			padding:	10px;
		}
		
			form#buscar fieldset input#buscartxt
			{
				border:		none;
				color:		#6c6d70;
				font-style:	italic;
				width:		8em;
				float:		left;
				height:		22px;
			}
			
		form#buscar input#submit-buscar
		{
			background:		url(../images/botones/buscar.png) bottom no-repeat;
			height:			24px;
			width: 			27px;
			float:			left;
		}
		
	#menuTorivac
	{
		font-family:	Verdana, Arial, sans-serif;
		margin-top:		-140px;
	}
	
		#menuTorivac ul
		{
			text-align:	center;
			margin:		0;
			list-style:	none;
			right:		-18px ;
			bottom: 	3px;
			font-size:  10px;
		}
		
		#menuTorivac ul li
		{
			   display:inline;
			   margin:0;
			   padding:0;
		}
		
		#menuTorivac ul li a
		{
			float:left;
			background: url(../images/tableft.gif) no-repeat left top;
			margin:0;
			padding:0 0 0 4px;
			text-decoration:none;
			text-transform:		uppercase;
		}
		
		#menuTorivac ul li a span {
		   float:left;
		   display:block;
		   background: url(../images/tabright.gif) no-repeat right top;
		   padding:5px 15px 4px 6px;
		   color:#FFF;
		}
		
		/* Commented Backslash Hack hides rule from IE5-Mac \*/
		#header a span {
			float:none;
		}
		/* End IE5-Mac hack */
		
		#menuTorivac ul li a:hover
		{
			background-color: 	#37697F;
			color:				#FFF;
		}
		
		#menuTorivac ul li a:hover span{
			background-position:100% -42px;
			color:#FFF;
		}
		#menuTorivac ul li a:hover{
		   background-position:0% -42px;
		}
		
		#menuTorivac  #current a {
		   background-position:0% -42px;
		}
		#menuTorivac  #current a span {
		   background-position:100% -42px;
		}
/*****/
		
/* -------------------- */

#images
{
	background:		#e6eef0;
	float:			left;
	width:			100%;
	padding-bottom:	3px;
}

	#images img
	{
		float:			left;
		margin-right:	1.5em;
	}
	
ul#enlaces
{
	list-style-type:	none;
	text-align:			right;
	background:			#c6eafa;
	padding:			1.5em 1em 1em 0.2em;
	width:				145px;
	position:			absolute;
	font-size:			1.1em;
	font-family:		Verdana, Arial, sans-serif;
	border:				1px solid #515254;
	margin-left:		720px;
}

	ul#enlaces li { font-weight: bold; }
	
		ul#enlaces li a
		{
			color:				#221c1c;
			text-decoration:	none;
			font-weight:		normal;
			margin-bottom:		0.5em;
			display:			block;
		}
		
			ul#enlaces li a:hover { text-decoration: underline; }

		
/* ------------------- */

#contenido
{
	background:		#fdfef9;
	float:			left;
	width:			100%;
	padding-bottom:	1.5em;
}

ul#secciones
{
	list-style-type:	none;
	text-align:			right;
	text-transform:		uppercase;
	width:				215px;
	padding:			2em 1.5em 5em 0;
	float:				left;
	margin-right:		1.5em;
	margin-top:			-7px;
	margin-left:		5px;
}

ul#secciones ul { list-style-type: none; }

	ul#secciones li a
	{
		color:				#FFF;
		padding:			7px 5px 7px 5px;
		margin-top:			10px;
		border:				1px #000;
		background-color:	#333333;
		font-size:			1.2em;
		font-weight:		bold;
		text-decoration:	none;
		margin-bottom:		0.5em;
		display:			block;
	}
	
		ul#secciones li a:hover
		{
			background-color:	#2F6178;
		}
		
p
{
	color:			#221c1c;
	font-size:		1.2em;
	margin-bottom:	1em;
}

div#texto { padding-top:	3em; }

	div#texto img
	{
		border:	1px solid #ef9e4c;
		float:	left;
		margin:	0 1em 1em 0;
	}
	
/* ------------------ */

#footer
{
	height:		100px;
	background:	url(../images/fondos/footer.jpg) no-repeat;
	width:		100%;
	clear:		both;
}

	#footer ul
	{
		list-style-type:	none;
		float:				right;
		margin:				45px 150px 0 0;
	}
	
		#footer ul li 
		{ 
			display:		inline;
			color:			#2F6178;
			font-size:		1.1em;
			font-family:	Verdana, Arial, sans-serif;
			font-weight:	bold;
		}
		
			#footer ul li a
			{
				color:				#2F6178;
				text-decoration:	none;
				margin:				0 0.1em;
				font-weight:		bold;
			}
				#footer ul li a:hover { color:	#6D9CAF; }
				
	#logoFooter
	{	
		height:			70px;
		width:			160px;
		background:		url(../images/logoFooter.jpg) no-repeat;
		float:			right;
		margin-right:	20px !important;
		margin-right:	5px;
	}

/* ------------------ */

span.torivac
{
	text-transform:	uppercase;
	color:			#0073be;
}


.no { display: none; }

/*Buscar*/

#contenedor-gsearch{
	position:		absolute;
	padding:		10px;
	margin-left:	700px;
}

#contenedor-central{
	margin-top:	-150px;
}

input.inputbox
{
	margin-bottom:	6px;
}

#banderitas
{
	text-align:		right;
}

	#banderitas img
	{
		margin-left:	5px;
		padding-top:	10px;
	}
