body{
background-color: 5d5b42;
background-image: url(../img/bg.jpg);
background-repeat: repeat;
text-align:center;
font-family: Trebuchet MS, Arial;
font-size: 12px;
color: #000000;
}

img{
border: none;
}

table{
font-family: Trebuchet MS, Arial;
font-size: 12px;
}

.tdesquerra{
text-align: right;
padding-right: 10px;
font-size: 12px;
text-transform: uppercase;
color: #e11222;
font-weight: bold;
}

input.forminputtext{
border: 1px solid #fff;
padding: 1px;
width: 300px;
margin-top: 5px;
margin-bottom: 5px;
background-color: #cac8bc;
}

textarea.forminputtext{
border: 1px solid #fff;
padding: 1px;
width: 300px;
margin-top: 5px;
margin-bottom: 5px;
background-color: #cac8bc;
}

.tdesquerravg{
text-align: right;
padding-right: 5px;
font-size: 11px;
text-transform: uppercase;
color: #e11222;
font-weight: bold;
}
input.forminputtextvg{
border: 1px solid #fff;
padding: 1px;
width: 150px;
margin-top: 5px;
margin-bottom: 5px;
background-color: #cac8bc;
}

textarea.forminputtextvg{
border: 1px solid #fff;
padding: 1px;
width: 150px;
margin-top: 5px;
margin-bottom: 5px;
background-color: #cac8bc;
}

h3{
margin: 0px;
color: #ffffff;
font-size: 14px;
text-transform: uppercase;
}

h4{
margin-top: 10px;
margin-bottom: 0px;
font-size: 12px;
text-transform: uppercase;
}

a{
text-decoration: none;
color: white;
}

a.peducativa{
display: block;
text-align: right;
text-transform: uppercase;
padding: 2px 10px;
background-color: #f15c11;
font-weight: bold;
}

p{
text-align: justify;
}

#container{
width: 900px;
text-align: left;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}

#head{
width: 100%;
overflow: hidden;
}

#content-container{
width: 100%;
overflow: hidden;
margin-top: 5px;
}

#div-menu{
float: left;
width: 150px;
}

#logos{
background-color: #bdbdb5;
margin-top: 5px;
padding: 10px 3px;
text-align: center;
color: white;
font-size: 10px;
font-weight: bold;
}

#logos a{
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
color: #FFFFFF;
text-decoration: underline;
}

#div-content{
width: 745px;
float: right;
}

#portada{
width: 745px;
height: 405px;
background-image: url(../img/bg-portada.jpg);
background-position: left top;
background-repeat: no-repeat;
color: #fff;
margin-bottom: 5px;
font-weight: bold;
}

.titol-content{
text-align: right;
padding: 2px 10px;
background-color: #ff540b;
color: #ffffff;
font-weight: bold;
text-transform: uppercase;
font-size: 11px;
margin-bottom: 5px;
}

.content{
background-color: #a7a598;
}

.marges{
padding: 10px;
}

.data{
color: #5a5945;
}

/*###################
CSS pel menu dinamic
###################*/

div.sdmenu {
	width: 100%;
	font-size: 11px;
	color: #fff;
	text-align: right;
}
div.sdmenu div {
	/*background: url(title.gif) repeat-x;*/
	overflow: hidden;
}
div.sdmenu div:first-child {
	/*background: url(toptitle.gif) no-repeat;*/
}
div.sdmenu div.collapsed {
	height: 21px;
}
div.sdmenu div span {
  text-transform: uppercase;
	display: block;
	padding-left: 5px;
	padding-right: 5px;
	font-weight: bold;
	color: white;
	background-color: #000;
	cursor: default;
	cursor: pointer;
	background-image: url(../img/bg-menu.jpg);
	background-repeat: repeat-x;
	height: 21px;
}

div.sdmenu div span.actiu {
background-color: #d17c50;
background-image: url(../img/bg-menu-actiu.jpg);
}

div.sdmenu div span p{
padding-top: 2px;
padding-bottom: 0px;
margin: 0px;
line-height: 150%;
text-align: right;
}

div.sdmenu div.collapsed span {
	/*background-image: url(collapsed.gif);*/
	color: white;
}
div.sdmenu div a {
	text-transform:none;
	padding: 2px 5px;
	background: #B7A598;
	display: block;
	border-bottom: 1px solid #fff;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}
div.sdmenu div a.current {
	background : #ea6425;
	color: #000;
}
div.sdmenu div a:hover {
	/*background : #8e5e4a url(../img/linkarrow.gif) no-repeat right center;*/
	background : #ea6425;
	color: #000;
	text-decoration: none;
}

div.sdmenu a {
	padding: 2px 5px;
	text-transform: uppercase;
	background: #a7a598;
	display: block;
	border-bottom: 1px solid #fff;
	color: white;
	text-decoration: none;
	font-weight: bold;
}
div.sdmenu a.current {
	background : #ea6425;
	color: #000;
}
div.sdmenu a:hover {
	/*background : #8e5e4a url(../img/linkarrow.gif) no-repeat right center;*/
	background : #ea6425;
	color: #000;
	text-decoration: none;
}

/*###################
fi CSS pel menu dinamic
###################*/

/*###################
Inici galeria
###################*/

.e2_photo_gallery {
 width:454px;
 margin:0px auto;
 min-width:454px;
 color:#fff;
}

.e2_photo_gallery .hd .c,
.e2_photo_gallery .ft .c {
 font-size:1px; /* ensure minimum height */
 height:13px;
}

.e2_photo_gallery .ft .c {
 height:14px;
}

.e2_photo_gallery .hd {
 background:transparent url(../designs/e2/tl.gif) no-repeat 0px 0px;
}

.e2_photo_gallery .hd .c {
 background:transparent url(../designs/e2/tr.gif) no-repeat right 0px;
}

.e2_photo_gallery .bd {
 background:transparent url(../designs/e2/ml.gif) repeat-y 0px 0px;
}

.e2_photo_gallery .bd .c {
 background:transparent url(../designs/e2/mr.gif) repeat-y right 0px;
}

.e2_photo_gallery .bd .c .s {
 margin:0px 0px 0px 0px;
 background:url(../designs/e2/ml.jpg) repeat-x 0px 0px;
 padding:0px;
}

.e2_photo_gallery .ft {
 background:transparent url(../designs/e2/bl.gif) no-repeat 0px 0px;
}

.e2_photo_gallery .ft .c {
 background:transparent url(../designs/e2/br.gif) no-repeat right 0px;
}


/* content-specific */

.e2_photo_gallery h1 {
 /* header */
 font-size:2em;
 margin:0px;
 padding:0px;
 margin-top:-0.6em;
}

.e2_photo_gallery p {
 margin:0.5em 0px 0px 0px;
 padding:0px;
 font:0.95em/1.5em arial,tahoma,"sans serif";
}

html>body .e2_photo_gallery pre {
 font-size:1.1em;
}

#main_image_wrapper{position:relative;border:1px solid #CCC; width:450px; height:337px;background: #FFF url(../rsrc/loading_image.gif) no-repeat 50% 50%;}
#imgloader{text-align:center;vertical-align:middle;}
#thumbbox{text-align:center;position:relative;padding:5px 10px;}
#thumb_container{position:relative;overflow:hidden;width:422px;height:105px;margin:0 0 0 0px;}
#thumbs img{margin-right:4px;vertical-align:top;}
#thumbs a img{border:1px solid #333;}
#thumbs a:hover img{border:1px solid #CCC;}
#thumbs a:hover{color:red;}
#photocount{
	color:#FFF;
	font-size:10px;
	text-align: left;
	padding-left: 10px;
}
#back{}
#more{}
.morelink:hover{font-size:11px;color:#FFF;text-decoration:underline;}
#thumbgall{position:absolute;left:0;top:0;white-space:nowrap;z-index:1000;}
#widthbox{position:relative;display:inline;left:0;top:0;padding:1px;}
#imgbox{width:80px;height:80px;display:inline;position:absolute;text-align:center;}
#iptc_btn{width:100%;text-align:right;position:absolute;left:0;top:0;z-index:999;}
#iptc_info{position:absolute;bottom:0;left:0;height:auto;width:100%;background-color:#000;color:#CCC;font-size:10px;line-height:140%;text-align:left;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;}
.iptc_left{float:left;text-align:right;width:18%;color:#FFF;padding:0 0 0 2%;}
.iptc_right{float:right;text-align:left;width:79%;}
/*#rightmore li a{background:url(../rsrc/right_more.gif) no-repeat;display:block;color:#fff;text-decoration:none;width:100%;padding:0;}*/
/*#rightmore li a:hover{background:url(../rsrc/right_more_over.gif) no-repeat;color:#fff;height:25px;}*/
#leftmore li a{background:url(../rsrc/left_more.gif) no-repeat;display:block;color:#fff;text-decoration:none;width:100%;padding:0;}
#leftmore li a:hover{background:url(../rsrc/left_more_over.gif) no-repeat;color:#fff;height:25px;}
.spacing{padding:1px;}
.morelink:link,.morelink:visited{font-size:11px;color:#FFF;text-decoration:none;}
#rightmore,#leftmore{color:#333;height:25px;width:32px;padding:0;}
#rightmore{float: right;}
#leftmore{float: left;}
#rightmore ul,#leftmore ul{list-style:none;border:none;height:25px;margin:0;padding:0;}
#rightmore li,#leftmore li{height:25px;margin:0;}
html>body #rightmore li a,html>body #leftmore li a{width:auto;}
#pn_overlay{position:absolute; top:0; left:0; width:100%; height:100%; z-index:998;}
#prev, #next{
	width: 30%;
	height: 100%;
	background: transparent url(../rsrc/blank.gif) no-repeat; /* Trick IE into showing hover */
	outline:none;
	}
#prev { left: 0; float: left; outline: none; -moz-outline: none; visibility:hidden;}
#next { right: 0; float: right; outline: none; -moz-outline: none;}
#prev:hover, #prev:visited:hover { background: url(../rsrc/prev.gif) left 50% no-repeat; }
#next:hover, #next:visited:hover { background: url(../rsrc/next.gif) right 50% no-repeat; }
#imgtitle{ font-weight: bold; text-align:center; color:#FFF; }
#imgtitle h2{font-size:1.3em; margin:0; padding:0}
#thumbtoggler {
	text-align: right;
	float: right;
	width: 48%;
	right:0;
	z-index:1100;
}
#thumbdisplay {
	width: 100%;
}
.clear{clear:both;}
#e2link {font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	padding:5px 0;
	color: #FFFFFF;
	text-align:left;}
#e2link a {
	color: #FFFFFF;
	text-decoration:none
}

.tooltip {
	color: #fff;
	width: 150px;
	z-index: 15000;
	text-align:left;
}

.tooltip h4 {
	font-weight: bold;
	font-size: 12px;
	margin: 0px;
	padding: 8px 8px 2px;
	background:#000;
}

.tooltip p {
	font-size: 11px;
	padding: 1px 8px 8px;
	margin:0px;
	background: #000;
}#thumbhide {
	position: relative;
	overflow:hidden;
}

#gallerytop{
background-color: 93917a;
}

/*###################
fi galeria
###################*/
