@charset "UTF-8";

/* GLOBAL DEFINITIONS */
* {
	margin: 0;
	padding: 0;
}

a:link,a:visited
{
	color: #009445;
}

a:hover,a:active,a:focus
{
	color: #74B74A;
}

h1 {
	color: #4D4D4D;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	font-weight: normal;
	margin: 0 0 15px 0;
}

h2 {
	color: #4D4D4D;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0 0 25px 0;
}

h3 {
	color: #4D4D4D;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	font-weight: normal;
	margin: 20px 0 10px 0;
	font-style: italic;
}

p {
	line-height: 1.4em;
	margin: 10px 0;
	text-indent: 0;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px; /* 0.9em; */
	background: #c2c2c3;
}

#wrapper1 {
	position: relative;
	width: 1012px; /* 900px + 56px + 56 px (56px is the img size) */
	margin: 0 auto;
	padding: 0;
	background: url(./images/fondo-lateral.jpg) repeat-y 100%;
}


/*** HEADER ***/
#header {
	position: relative;
	left: 56px;
	height: 150px;
	width: 900px;
	background: #74B74A;
	z-index: 15;
}

#header img{
	display:block;
	margin: 0;
	padding: 0;
	border: none;
}

#admin-header {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	z-index: 16;
	background: red;
}

/* CONTENT */
#wrapper2 {
	position: relative;
	width: 900px;
	margin: 0 auto;
	padding: 0;
}

/* Content layer */
#toplayer {
	position: relative;
	margin: 0;
	z-index: 10;
}

/* Top background for decent browsers */
#midlelayer {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: url(./images/fondo-zubiak.png) no-repeat 100% 100%;
}

/* Bottom background for decent browsers */
#bottomlayer {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: #f1f0f1 url(./images/news-fondo.gif) repeat-y 100%;
}

/* without right strip */
#bottomlayerfull {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: #f1f0f1;
}

/* Top background for IE */
#midlelayerie {
	position: absolute;
	bottom: 0;
	width: 900px;
	height: 6400px;
	margin: 0;
	padding: 0;
	z-index: -1;
	background: url(./images/fondo-zubiak.gif) no-repeat 100% 100%;
}

/* Bottom background for IE */
#bottomlayerie {
	position: absolute;
	bottom: 0;
	width: 900px;
	height: 6400px;
	margin: 0;
	padding: 0;
	z-index: -2;
	background: #f1f0f1 url(./images/news-fondo.gif) repeat-y 100%;
}

/* without right strip */
#bottomlayerfullie {
	position: absolute;
	bottom: 0;
	width: 900px;
	height: 6400px;
	margin: 0;
	padding: 0;
	z-index: -2;
	background: #f1f0f1;
}



/* left menu */
#left-menu {
	float: left;
	height: 300px;
	width: 191px;
	text-align: left;
	line-height: 38px;
	margin: 5px 0 0 0;
	padding: 0;
	color: #4D4D4D;
}

#left-menu img{
	display:block;
	margin:0 0 6px 0;
	padding: 0;
	border: none;
}


/*** CONTENT ***/

/* use main without news, main2 if we have news (right section) 
   use main3 if we don't have the left menu (ie: on slides)
*/
#main {
	float: left;
	width: 625px;
	padding: 51px 10px 0 10px;
	margin: 0;
	border: 0;
	text-align: justify;
	min-height:38em !important;
}

#main2 {
	float: left;
	width: 443px;
	padding: 51px 10px 0 10px;
	margin: 0;
	border: 0;
	text-align: justify;
	min-height:38em !important;
}

#main3 {
	position: relative;
	width: 900px;
	height: 40em;
	top: 0;
	margin: 0;
	border: 0;
	text-align: justify;
}

#main h2, #main2 h2, #main3 h2 {
	border-bottom: #D9D9D9 1px dashed;
	margin-top: 40px;
}

#main ul, #main2 ul ,#main3 ul {
	margin-left: 20px;
	list-style: circle;
}

/* use this class to center texts */
.center {
	text-align: center;
}

/* asignar esta clase a las imagenes introducidas en el contenido */

/* This class needs absolute positioning and z-index */
#main3 .content-img {
	border: #ffffff 1px solid;
	padding: 0;
}

#main2 .content-img {
	border: #ffffff 1px solid;
	margin: 5px auto 2px 20px;
	padding: 0;
}

#main .content-img {
	border: #ffffff 1px solid;
	margin: 5px auto 2px 110px;
	padding: 0;
}

#main .thumb-img {
	border: #ffffff 1px solid;
	padding: 0;
}

/* asginar esta clase al pie de la imagen */
/* This class needs absolute positioning and z-index */
#main3 .img-text {
	display: block;
	font-size: 0.8em;
	padding: 0;
}

#main2 .img-text {
	display: block;
	font-size: 0.8em;
	margin: 2px auto 2px 20px;
	padding: 0;
}

#main .img-text {
	display: block;
	font-size: 0.8em;
	margin: 2px auto 2px 110px;
	padding: 0;
}

.video-img {
	float: left;
	margin-bottom: 30px;
}

.separator {
	border-bottom: #D9D9D9 1px dashed;
	margin: 30px 0;
	clear: both;
}


/*** RIGHT ***/

#right {
	float: right;
/*	width: 226px; Problemes amb IE que no sap sumar ...*/
	width: 222px;
	padding: 51px 10px 0 10px;
	margin: 0;
}

#right h2 {
	border-bottom: #808080 1px solid;
}

#right ul {
	list-style: none;
	margin-top: 10px;
}

#right ul li {
	line-height: 1.4em;
	margin: 12px 0;
}

#right ul li ul {
	margin-left: 20px !important;
}

#right ul li ul li {
	margin: 3px !important;
}

#right ul li a:link, #right ul li a:visited {
	color: #ffffff;
}

#right ul li a:hover, #right ul li a:active, #right ul li a:focus {
	color: #000000;
}

#right ul li ul li a:link, #right ul li ul li a:visited {
	color: #808080;
}

#right ul li ul li a:hover, #right ul li ul li a:active, #right ul li ul li a:focus {
	color: #000000;
}


.news-header {
	color: #ffffff;
	margin: 20px 0 8px;
	font-size: 1.1em;
	font-style: italic;
	font-weight: normal;
}

.news-header-alone {
	border-bottom: #ffffff 1px solid;
	color: #ffffff;
	margin: 20px 0 8px;
	font-size: 1.1em;
	font-style: italic;
	font-weight: normal;
}

.news-header-alone a:link,.news-header-alone a:visited,.news-header a:link,.news-header a:visited 
{
	color: #ffffff;
}

.news-header-alone a:hover,.news-header-alone a:active,.news-header-alone a:focus,.news-header a:hover,.news-header a:active,.news-header a:focus
{
	color: #808080;
}



.news-content {
	border-bottom: #ffffff 1px solid;
}

.news-title {
	border-bottom: #000000 1px solid;
}
/* footer */
.clear {
	clear: both;
	float: none;
}

#footer {
	position: relative;
	z-index: 21;
	height: 30px;
	background: #949498;
	margin: 0;
	color: #FFFFFF;
	text-align: center;
	padding: 15px 15px 0 15px;
}

#footer span {
	display: block;
	float: right;
}

#footerie {
	position: relative;
	z-index: 31;
	width: 870px;
	height: 2.5em;
	background: #949498;
	color: #FFFFFF;
	text-align: center;
	margin: 0 0 0 56px;
	padding: 15px 15px 0 15px;
}

#footerie span {
	margin: 0;
	padding: 0;
	display: block;
	float: right;
}


.backforth {
	margin: 0;
	padding: 0;
	border: none;
}


/* slideshow */
/* TODO main3 */

#main2 #slideshow.js{
	width:402px;
	border: #ffffff 1px solid;
	padding:0;
	margin:0 auto 10px 20px;
}
#main2 .slidenav{
	width:402px;
	border: #ffffff 1px solid;
	padding:0;
	margin: 1em auto 0 20px;
	border-bottom:none;
	text-align:center;
	font-weight:bold;
	background:url(./images/greygrad.gif) repeat-x #ccc;
	font-size:90%;
}

#main #slideshow.js{
	width:402px;
	border: #ffffff 1px solid;
	padding:0;
	margin:0 auto 10px 110px;
}
#main .slidenav{
	width:402px;
	border: #ffffff 1px solid;
	padding:0;
	margin: 1em auto 0 110px;
	border-bottom:none;
	text-align:center;
	font-weight:bold;
	background:url(./images/greygrad.gif) repeat-x #ccc;
	font-size:90%;
}
.slidenav a{
	text-decoration:none;
	color:#000;
}
.slidenav span{
	padding:0 1em;
	color:#000;
}
#slideshow.js img{
	display:block;
	margin:0 auto;
}
#slideshow.js li{
	display:none;
	padding:0;
}
#slideshow.js li.current{
	display:block;
}
