/* custom stuff */

html {
  height: 100%;
  margin-bottom: 1px;
}


body {
	margin: 0;
	padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

span.pathway img {
	margin: 0px 2px;
}

div#pathway {
	padding-top: 128px;
	padding-left: 10px;
}

span.pathway {
	color: #fff;
	font-size: 12px;
}


div.componentheading {
  padding-left: 0px;
}

a.readon {
	margin-top: 10px;
	line-height: 14px;
	height: 16px;
	color: #2b7d95;	
}

/*** fonts ***/
body {
		font-size: 13px;
		line-height: 130%;
		font-family: trebuchet ms, Geneva, Tahoma, Helvetica, sans-serif;
		color: #21252C;
}

a:link,
a:visited {
	text-decoration: none;
	color: #2b7d95;
}

a:hover {
	text-decoration: underline;
}

a.enlacecontacto:link,
a.enlacecontacto:visited {
         text-align: right;
	text-decoration: underline;
         color: #ffffff;
         font-weight: bold;
         font-size: 11px;
}

a.enlacecontacto:hover {
         text-align: right;
		 text-decoration: underline;
         color: #ffffff;
         font-weight: bold;
         font-size: 11px;
}


div.moduletable h3,
.componentheading,
#moofx a.toggle {
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-size: 11px;
	padding-bottom: 5px;
}

div#side div.moduletable h3 {
	padding-top: 10px;
}

div.bottom div.moduletable h3,
div#side div.moduletable h3 {
	color: #fff;
	padding-top: 5px;
}

div#side a:hover,
div.bottom a:hover,
a.pathway:link, a.pathway:visited, a.pathway:hover {
	color: #fff;
}

.contentheading {
	padding-top: 10px;
	padding-bottom: 15px;
	font-weight: normal;
	font-family: Geneva, Tahoma, sans-serif;
	font-size: 22px;
	line-height: normal;	
}

/* headings */

h1 {
	
}

h2 {

}

h3 { 
	margin: 0;
}

h4 {
	
}

.small {
	font-size: 10px;
	color: #666;
	font-weight: normal;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
	font-size: 10px;
	color: #666;
	font-weight: normal;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: 10px;
	color: #666;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}

div#footer {
	height: 40px;
	line-height: 40px;
	font-size: 11px;
	text-align: center;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
	
}

td.sectiontableheader {
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry1 td, tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry1, td.sectiontableentry2{
  padding: 3px;
}

table.contentpaneopen, table.contentpane {
  width: 100%;
}

div.moduletable ul {
	margin: 5px 0;
	padding: 0 2em;
}

div.moduletable ul li {
	padding-bottom: 3px;
}

.clr {
	clear: both;
}

#page_bg {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
}

div.mosimage {
  margin: 5px;
}

div.mosimage_caption {
  font-size: 10px;
  color: #666;
}

table.adminform textarea {
  width: auto;
  font-size: 1em;
  color: #666;
}


/** template layout stuff **/

div#wrapper {
	margin: 0 auto;
	/*position: relative;*/
}

body.wide div#wrapper {
	width: 980px;
}

body.thin div#wrapper {
	width: 750px;
}

div#shadow_l {
}

div#shadow_r {
	padding: 0 21px;
}

div#side {
	width: 223px;	
}

body.left div#side {
	float: left;
}

body.right div#side {
	float: right;
}

div#side_l {
}

div#side_r {
	padding: 0 10px;
	height:800px;
}

div#main {
	margin: 0;
	padding: 0;
}

body.left div#main {
	margin-left: 223px;		
}

body.right div#main {
	margin-right: 223px;	
}

div#header {
	height: 149px;
}

div#logo {
	height: 122px;
}

body.left div#moofx {
	float: left;	
}

body.right div#moofx {
	float: right;	
}

div#moofx {

	width: 150px;
}

body.left div.mainbody {
	margin: 0;
	margin-right: 5px;
}

body.right div.mainbody {
	margin: 0;
	margin-left: 5px;	
}

body.left div.mainbody.thin {
	margin-left: 152px;
}

body.left div.mainbody.wide {
	margin-left: 5px;
}

body.right div.mainbody.thin {
	margin-right: 152px;
}

body.right div.mainbody.wide {
	margin-right: 0px;
}

body.left div.float_module {
	float: right;
	padding: 0;
	margin: 0;
}

body.right div.float_module {
	float: left;
}

div.columns_3 div.float_module {
	width: 33%;
}

div.columns_2 div.float_module {
	width: 50%;
}

div.columns_1 div.float_module {
	width: 100%;
}

body.left div.bodyposition {
	clear: right;
}

body.right div.bodyposition {
	clear: left;
}

div.bodypadding {
	padding: 5px;
}

div.moduletable {
	padding: 5px;
	border: 0px solid #f00;
}

div.pagedivider {
	height: 7px;
}

body.left div.pagedivider {
	clear: right;
}

body.right div.pagedivider {
	clear: left;
}

div#bottomsection {
	padding-top: 5px;
	width: 100%;
}

body.left div#bottomsection,
body.left div.bottom {
	float: left;
}

div.bottom {
	width: 100%;
}

body.right div#bottomsection,
body.right div.bottom {
	float: left;
}

/* moofx styling */

body.left #moofx div.module {
	padding-left: 2px;
}

body.right #moofx div.module {
	padding-right: 2px;
}


#moofx a.toggle {
	display: block;
	cursor: pointer;
	padding: 3px;
	padding-left: 16px;
	margin-bottom: 2px;
}

#moofx div.stretcher {
}

#moofx div.padding{
	padding: 5px 0;
}

/*****************************
 ****   supersuckerfish   ****
 *****************************/

#nav {
	margin: 0;
	padding: 0;
	position: relative;
	height: 68px;
	padding-left: 5px;
}

#nav li {
	margin: 0;
	margin-top: 3px;
	float: left;
	display: block;
	padding-left: 2px;
}

#nav li ul {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 33px;
	height: 30px;
	left: 0;
	width: 100%;
}


body.wide #nav li ul {
	width: 714px;
}

body.thin #nav li ul {
	width: 484px;
}

#nav a {
	text-decoration: none;
	cursor: pointer;
}

#nav li.on ul {
	display: block;
}

#nav li:hover ul, #nav li.over ul {
	display: block;
	z-index: 6000;
}

#nav li a {
	display: block;
	float: left;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
}

#nav li:hover a, 
#nav li.over a {
	background-position: 0px -30px;
}

#nav li.on a, 
#nav li.on:hover a,
#nav li.over.on a {
	background-position: 0px -60px;
}

/* sub level links */

#nav ul li {
	border-right: 0;
	padding: 3px 0;
}



#nav li ul a, #nav li.on ul a {
	display: block;
	float: left;
	padding: 0 15px;
	background: none;
	height: 20px;
	line-height: 20px;
}

/* some page content things */

.hide {
	display: none;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}
table.nopad td {
	padding: 5px;
}

body.contentpane {
	background: #fff;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}

/**************************************************************/
/* Truco Christian para convertir módulos en menuex */

/* (C) Christian Mayo 2008 para poder hacer el advanced menú junto con (en el futuro) el mapa web */
#mainlevelbotones {
	margin: 0;
	padding: 0;
	position: relative;
	height: 68px;
	padding-left: 5px;
}

#mainlevelbotones LI {	
	margin: 0;
	margin-top: 3px;
	float: left;
	display: block;
	padding-left: 2px;
}

#mainlevelbotones li ul a, #mainlevelbotones li.on ul a {
	display: block;
	float: left;
	padding: 0 15px;
	background: none;
	height: 20px;
	line-height: 20px;
	color: #ffffff;
}

#mainlevelbotones LI.on {
	BORDER-RIGHT: #444d5c 1px solid;
}

#mainlevelbotones LI.on LI.on {

	BORDER-RIGHT-WIDTH: 0px
}

#mainlevelbotones LI UL {

	BACKGROUND: #5d7616;
		display: none;
}

#mainlevelbotones LI A:link, #mainlevelbotones LI A:visited { /* pers */
	color: #ffffff;
	display: block;
	float: left;
	padding: 0 10px;
	height: 33px;
	line-height: 30px;
	BACKGROUND: url(../images/tech_bar_bg_1.png) #dce2e7 repeat-x;
}

#mainlevelbotones LI A:hover {
	COLOR: #fff;
	/*BACKGROUND: url(../images/tech_bar_bg_1i.png) #dce2e7 repeat-x;*/
	BACKGROUND-POSITION: 0px -33px; 
	text-decoration: none;
	
}
