
/* MAIN CONTENT */
.main-content h1.pagetitle {background:#fff url('pencil.gif') left center no-repeat; margin:0 0 30px 0; padding:15px 0 15px 70px; font-family:arial,sans-serif; color:#253C74; font-weight:bold; font-size:220%;}
.main-content h1.block {clear:both; margin:1.0em 0 0em 0; padding:2px 0 2px 2px; background:rgb(190,190,190); font-family:"trebuchet ms",arial,sans-serif; color:rgb(255,255,255); font-weight:bold; font-size:220%;}
.main-content h1 {clear:both; margin:1.0em 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(80,80,80); font-weight:normal; font-size:210%;}
.main-content h2 {clear:both; margin:1.0em 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:rgb(80,80,80); font-weight:normal; font-size:170%;}
.main-content h3 {clear:both; margin:10px 0 0.5em 0; font-family:"trebuchet ms",arial,sans-serif; color:#263C75; font-weight:bold; font-size:130%;}
.main-content h1.side {clear:none;}
.main-content h2.side {clear:none;}
.main-content h3.side {clear:none;}

.main-content h4 {margin:1.5em 0 1.0em 0; color:rgb(80,80,80); font-family:"trebuchet ms",arial,sans-serif; font-weight:normal; font-size:170%;}
.main-content h5 {margin:1.5em 0 1.0em 0; color:rgb(80,80,80); font-family:"trebuchet ms",arial,sans-serif; font-size:140%;}
.main-content h6 {margin:1.2em 0 0.2em 0; color:rgb(80,80,80); font-weight:bold; font-size:120%;}
.main-content p {margin:0 0 1.0em 0; line-height:1.5em; font-size:120%;}
.main-content p.center {text-align:center;}
.main-content p.right {text-align:right;}
.main-content p.details {clear:both; margin:-0.25em 0 1.0em 0; line-height:1.0em; font-size:110%;}
.main-content blockquote {clear:both; margin:0 30px 0.6em 30px; font-size:90%;}

.main-content table {clear:both; width:600px; margin:2.0em 0 0.2em 20px; table-layout: fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}
.main-content table th.top {height:3.5em; padding:0 7px 0 7px; empty-cells:show; background-color:rgb(175,175,175); text-align:left; color:rgb(255,255,255); font-weight:bold; font-size:110%;}
.main-content table th {height:3.0em; padding:2px 20px 2px 7px; border-left:solid 2px rgb(255,255,255); border-right:solid 2px rgb(255,255,255); border-top:solid 2px rgb(255,255,255); border-bottom:solid 2px rgb(255,255,255); background-color:rgb(225,225,225); text-align:left; color:rgb(80,80,80); font-weight:bold; font-size:110%;}
.main-content table td {height:3.0em; padding:2px 7px 2px 7px; border-left:solid 2px rgb(255,255,255); border-right:solid 2px rgb(255,255,255); border-top:solid 2px rgb(255,255,255); border-bottom:solid 2px rgb(255,255,255); background-color:rgb(225,225,225); text-align:left; font-weight:normal; color:rgb(80,80,80); font-size:110%;}
p.caption {clear:both; margin:0.5em 0 2.0em 20px; text-align:left; color:rgb(80,80,80); font-size:110%;}

.main-content ul {list-style:none; margin:0.5em 0 1.0em 0;}
.main-content ul li {margin:0 0 0.2em 2px; padding:0 0 0 12px; background:url(img/bg_bullet_arrow.gif) no-repeat 0 0.5em; line-height:1.4em; font-size:120%;}
.main-content ol {margin:0.5em 0 1.0em 20px !important /*Non-IE6*/; margin:0.5em 0 1.0em 25px /*IE6*/;}
.main-content ol li {list-style-position:outside; margin:0 0 0.2em 0; line-height:1.4em; font-size:120%;}

.contactform {width:450px; margin:2.0em 0 0 0; padding:10px 10px 0 10px; border:solid 1px rgb(200,200,200); background-color:rgb(240,240,240);}
.contactform fieldset {padding:10px 0 0 0 !important /*Non-IE6*/; padding:0 /*IE6*/; margin:0 0 20px 0; border:solid 1px rgb(220,220,220);}
.contactform fieldset legend {margin:0 0 0 5px !important /*Non-IE*/; margin:0 0 20px 5px /*IE6*/; padding:0 2px 0 2px; color:rgb(80,80,80); font-weight:bold; font-size:130%;}
.contactform label.left {float:left; width:140px; margin:0 0 0 10px; padding:2px; font-size:110%;}
.contactform select.combo {width:175px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%;}
.contactform input.field {width:275px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%;}
.contactform textarea {width:275px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%;}
.contactform input.button {float:right; width:9.0em; margin-right:20px; padding:1px !important /*Non-IE6*/; padding:0 /*IE6*/; background:rgb(230,230,230); border:solid 1px rgb(150,150,150); text-align:center; font-family:verdana,arial,sans-serif; color:rgb(150,150,150); font-size:110%;}
.contactform input.button:hover {cursor: pointer; border:solid 1px rgb(80,80,80); background:rgb(220,220,220); color:rgb(80,80,80);}


/*  COMMON CLASSES  */
.main img {clear:both; float:left; margin:3px 10px 7px 0; padding:1px; border:1px solid rgb(150,150,150);}
.main img.center {clear:both; float:none; display:block; margin-left:0px; padding:1px; border:0;}
.main img.right {clear:both; float:right; margin:3px 0 7px 10px; padding:1px; border:1px solid rgb(150,150,150);}
.main img.normal {border:0; clear:none; float:none; vertical-align:middle;}


.main a {color:#263C75; font-weight:bold; text-decoration:none;}
.main-content h1 a {color:#CD3436; font-weight:normal; text-decoration:none;}
.main a:hover {color:#000; background-color:rgb(225, 225, 225); text-decoration:none;}
/* .main a:visited {color:#CD3436;} */

.main a img {border:solid 1px rgb(150,150,150);}
.main a:hover img {border:solid 1px rgb(220,220,220); background-color:#fff;}
.main a img.no-border{border:0;}

.red{color:red;}

/* Caixeta Noticies */
.news_box  {margin:20px 0 0 13px; background:url('post-it.gif') no-repeat; height:215px; padding-left:10px;}
.news_box p.rss_link img{margin:6px 0 6px 118px; border:0;}
.news_box p.rss_link a:hover img{border:0;}
.news_box h4.boxtitle{clear:both; color: #000; font-size: 11px; text-align:left; height:15px; vertical-align:middle; padding-left:10px; text-decoration:underline;}
.news_box ul{width:145px;}
.news_box ul li{margin:8px 0 0.2em 2px; padding:0 0 0 10px; background:url(img/bg_bullet_full_1.gif) no-repeat 0 0.5em; line-height:1.4em;}

.rss-ttt{padding:10px;}
.rss-ttt p.title{margin:0; padding:5px 0 10px 0; font-size:15px; color:#000;}
.rss-ttt p.link{padding:12px 0;}
.rss-ttt p.link a{text-decoration:none; background-color:#92B6E7; color:#fff; font-weight:bold; padding:2px 4px;}
.rss-ttt p.link a:hover{color:#263D73;}
.rss-ttt p.close{text-align:right; cursor:pointer; font-size:12px; font-weight:bold; text-decoration:underline; margin-right:20px; color:#000;}


/* Caixeta Calendari */
/*.calendar h4.calendar_title{display:none;} */

#calendar_left{background:url('header2.gif') no-repeat; padding:8px 9px 0 8px; width:180px; height:140px; border-left:0; float:right;}
.calendar table{border-spacing:0; border-collapse: collapse;}
.calendar .months{margin:0; width:100%;  height:100%; padding:0px;}
.calendar .month{width:100%; height:100%;}
.calendar .month td{text-align:center; font-weight:bold; background-color:#92B6E7; padding:0px;}
.calendar .month td .w_day_0{color:#EBEBEB;}
.calendar .month td .w_day_6{color:#EBEBEB;}
.calendar .month td .today{background-color:#C8DBEA; display:block;}
.calendar .month td.empty_ini, .calendar .month td.empty_end, .calendar .month td.no_tag{border:1px solid #fff; padding:1px 2px;}
.calendar .month .event{background-color:#FFCC00;text-align:center;}
.calendar .month .event a:hover{font-weight:bold; text-decoration:none;}
.calendar .month .event .today a{text-decoration:none; background-color:#C8DBEA; color:brown; font-weight:bold; display:block;}
.calendar .month .no_tag a{color:#fff; text-decoration:none; background:url('cal-mask.gif') center center no-repeat; display:block; text-align:center;}
.calendar td.month_year{background-color:#253C74;}
.calendar td.month_year a{color:#fff; letter-spacing:1px; text-decoration:none;}
.calendar td.month_year a:hover{text-decoration:underline;}
.calendar .n_week{background-color:#E4E4E4;}
.calendar tr.weekdays{background-color:#EBEBEB;}
.calendar td.weekdays{background:none; border-color:#D1D1D1;}
.calendar .week_num{background-color:#E4E4E4; color:Black; letter-spacing:.15em;}

/* Calendaris de l'Agenda - Vista normal de 3 mesos */

#calendar_tree table{margin:0; padding:0;}
#calendar_tree table.months tbody tr td{background-color:#fff; padding: 0 10px 10px 10px; vertical-align:top; font-size:10px;}
#calendar_tree table.months tbody tr td table.month tr td{text-align:center; border:solid 1px #dddcdc; vertical-align:middle; margin:0; padding:0;}
#calendar_tree table.months tbody tr td table.month tr td.month_year {border:0;}
#calendar_tree table.months tbody tr td table.month tr td.month_year a{color:#000; font-size:14px; letter-spacing:2px;}
#calendar_tree table.months tbody tr td table.month tr td.month_year a:hover{text-decoration:none;}
#calendar_tree table.months tbody tr td table.month tr td.weekdays{font-size:11px; color:#fff; border:solid 1px #dddcdc; background-color:#253C74; padding:0; height:25px;}
#calendar_tree .month td .w_day_0{color:#92B6E7;}
#calendar_tree .month td .w_day_6{color:#92B6E7;}


/* SLIGHTBOX */
#lbOverlay {position: absolute; left: 0; width: 100%; background-color: #000; cursor: pointer; z-index: 15;}
#lbCenter, #lbBottom {position: absolute; left: 50%; overflow: hidden; background-color: #000; z-index: 20; border: 1px solid #666;}
#lbCenter {padding: 10px;}
.lbLoading {background: #fff url('img/loading-bar-black.gif') no-repeat center; border: 1px solid #666;}
#lbImage {z-index: 25;}
#lbPrevLink, #lbNextLink {display: block; position: absolute; top: 0; width: 50%; outline: none; z-index: 26;}
#lbPrevLink {left: 0;}
#lbPrevLink:hover {background: transparent url('img/fleche1.png') no-repeat 0% 50%;}
* html #lbPrevLink:hover {background: transparent url('img/fleche1.gif') no-repeat 0% 50%;}
#lbNextLink {right: 0;}
#lbNextLink:hover {background: transparent url('img/fleche2.png') no-repeat 100% 50%;}
* html #lbNextLink:hover {background: transparent url('img/fleche2.gif') no-repeat 100% 50%;}
#lbBottom {font-family: Verdana, Helvetica, sans-serif; font-size: 10px; color: #666; line-height: 1.4em; text-align: left; padding-left: 10px; padding-right: 10px; border-top-style: none;}
#lbBottom *{color:#999;}
#lbCloseLink {display: block; float: right; width: 80px; height: 30px; background: transparent url('img/close9yj.gif') no-repeat center; margin-bottom: 10px;}
#lbNumber {display: block; float: left;}
#lbNumber.gallery {display: block; float: left; padding: 10px;}
#lbCaption {margin-left: 10px; display: block; float: none; clear:both;}
#lbDescription {float: left; padding-right: 10px;}
#lbDescription #lbTitle {float: left; clear: both; font-weight: bold;}
#lbDescription #lbCaption {margin-left: 0;}
/* SLIGHTBOX */


/* galeries JS */
.js-gallery{margin:40px auto 30px 30px;}
.js-gallery .mosaic-image{float:left; clear:none; margin:0 5px 0 5px; height:140px; overflow:hidden;}
.js-gallery p{clear:both; font-weight:bold; text-indent:0; margin:0 0 0 5px; padding-top:10px !important; padding-top:0px;}

.js-gallery-p{margin:40px 0 30px 20px;}
.js-gallery-p .mosaic-image{float:left; clear:none; margin:0 5px 0 5px; height:130px; width:150px; text-align:center;}
.js-gallery-p p{clear:both; font-weight:bold; text-indent:0; margin:0 0 0 5px; padding-top:10px !important; padding-top:0px;}
.js-gallery-p img{float:none; margin:0 auto; width:140px; height:110px; overflow:hidden;}

.js-gallery-no-margin{margin:0 0 20px 0;}
.js-gallery-no-margin .mosaic-image{float:left; clear:none; margin:0 5px 0 5px; height:120px; overflow:hidden;}
.js-gallery-no-margin .mosaic-image img{float:left; clear:none; margin:0 5px 0 5px; height:110px; overflow:hidden; width:140px;}

.js-gallery-cube {margin:20px 0 30px 150px; width:320px;}
.js-gallery-cube .mosaic-image{float:left; clear:none; margin:0 5px 10px 5px; height:110px; width:140px;}
.js-gallery-cube img{float:none; margin:0 auto; width:140px; height:110px; overflow:hidden;}

.js-gallery-hide{display:none;}

div.col-foto-left{width:170px; float:left;}
div.col-foto-right{float:left;}
div.col-content{float:left; width:350px;}

div.col2-content{float:left; width: 500px;}
div.col2-foto-right{float:left; width:170px;}

div.col2-foto-right img.right{height:113px; width:150px;}

div.festes {padding-left:50px;}
div.festes p{text-indent:0;}
div.festes span.bold{display:block;}


div.separator{height:25px; clear:both;}
div.separator_big{height:35px; clear:both;}
div.separator_bigbig{height:65px; clear:both;}

.contactform p, p.no-indent{text-indent:0;}
.bold{font-weight:bold;}
.remark{font-weight:bold; color:#E39300;}
.center{text-align:center;}
.italic{font-style:italic;}

p{text-indent:0; text-align:justify;}
p.title{text-align:center; text-indent:0; font-weight:bold; padding-top:40px;}
p.center img.center{margin: 0 auto;}

.publicacions .title{font-weight:bold; margin-top:15px; background:url(img/bg_bullet_half_1.gif) no-repeat 0 0.5em;}
.publicacions .autors{background:none;}
.publicacions .lloc{font-style:italic; background:none;}

.diagrama .small_box li{background:none;}

#map{margin:40px 0 20px 0;}


#container .tabs{list-style-type:none; margin:0; margin-left:10px; padding:0; height:20px;}
#container .tabs-hide{display:none;}
#container .tabs:after{display:block; clear:both; content:" ";}
#container .tabs li{float:left; margin:0 5px 0 0;padding:0;}
#container .tabs a{float:left;background:url(tab-left.gif) no-repeat left top; margin:0;padding:0 0 0 9px;	text-decoration:none;}
#container .tabs a span{float:left;display:block;background:url(tab-right.gif) no-repeat right top; padding: 3px 14px 3px 5px;color: #3B3B3B;}
#container .tabs a:hover span{color:#000;}
#container .tabs .tabs-selected a{background-position:0% -125px;}
#container .tabs .tabs-selected a span{background-position:100% -125px;color: #000;}
#container .tabs a:hover{background-position:0% -125px;}
#container .tabs a:hover span{background-position:100% -125px;}
/*#container .tabs .tabs-selected a, #container .tabs a:hover, #container .tabs a:focus, #container .tabs a:active{}*/
#container .tabs .tabs-selected a:link, #container .tabs .tabs-selected a:visited, #container .tabs .tabs-disabled a:link, #container .tabs .tabs-disabled a:visited{
	cursor:text;}
#container .tabs a:hover, #container .tabs a:focus, #container .tabs a:active{ 
	cursor:pointer;}
#container .tabs .tabs-selected{border-bottom:#EEE;/* 	background-color:#F00; */}
/*#container .tabs .tabs-disabled a:hover,  .tabs .tabs-disabled a:focus,  .tabs .tabs-disabled a:active {}*/
#container .fragment{min-height:300px; height:auto !important; height:300px; border: 1px solid #EBEBEB; padding:0px; background:#EBEBEB; margin:0; clear:both;}
#container .fragment h3{font-size:22px; margin:18px auto 18px auto; font-weight:bold; border-bottom:2px solid rgb(125,125,125); border-top:2px solid rgb(125,125,125); width:80px; text-align:center;}
#container .fragment p{margin:2px 0px 0px 0px;}
#container .fragment a{color:#000;}


#nav_pager_espais, #nav_pager_espais_dos {background: #eee; border-top: 1px solid #ccc; padding: 5px; margin-bottom: 30px;}
#nav_pager_espais a, #nav_pager_espais_dos a {padding: 0 5px;}
#nav_pager_espais a.highlight, #nav_pager_espais_dos a.highlight {color: red; font-weight: bold;}



.main-navigation .box{padding-top:30px;}
.main-navigation .box p{text-align:center; font-size:14px; border:solid 1px rgb(150,150,150); margin:0 30px 0 30px; padding:10px; text-indent:0;}
.main-navigation .box a, .main-navigation .box a:hover{color:rgb(150,150,150); background-color:#fff;}
.main-navigation .box img, .main-navigation .box a img{border:0; float:none; margin:6px;}

img.pdf-ico{border:0; vertical-align:middle; float:none;}


/* Classes */
.catalogue{margin-left:30px;}
.catalogue .items{float:left; width:200px; height:200px; text-align:center;}
.catalogue .items img{float:none; height:100px; width:150px;}
.catalogue .items p.title{padding:0;}
.catalogue .items:hover{background-color:#DDDCDC;}

.catalogue_item ul li{padding:0; margin-left:0;}
.l_field .field, .body .field{font-weight:bold;}
.l_field{ clear:both;}
.main-content li.l_field_logos{background-image:none;}

/*.projects-logos{float:right;}*/
.projects-logos img{float:left; clear:none; border:none;}

.expand_container{margin-top:20px;}


/* Per plegar i desplegar continguts */
.search_box_expand{margin-left:380px;}
.toggle_adv_simple p a{margin-left: 20px;}
.menuExt, .menuExtALL, .toggle_adv_simple p a{background: url("ico_expand.jpg") no-repeat; background-position: 0px 2px; padding:0 0 0 15px;}
.menuCom, .menuCon, .menuComALL, .toggle_adv_simple p a.menuCom {background: url("ico_collapse.jpg") no-repeat; background-position: 0px 2px; padding:0 0 0 15px;}
.menuExtALL, .menuComALL{margin-left: 30px;}
a.menuExtALL , a.menuComALL{font-size:10px; color:#000;}


#seccion_links .link{clear:both; margin-bottom:20px; border-bottom:1px dotted;}
#seccion_links .last-link{clear:both; margin-bottom:20px;}
#seccion_links img{clear:none; float:none;}
#seccion_links div.logo{float:right; padding:0 0 10px 10px;}
#seccion_links p.name{}
#seccion_links div.description{}


/* Els tooltips */
/*div.ttt-image{padding:8px 6px 8px 8px; font:#000;}*/
.tooltip p.cat{margin:0 10px; padding:0; border-bottom:1px dotted; text-transform:uppercase;}
.tooltip p.title{margin:10px; padding:0; text-align:left;}


p{text-indent:20px;}

td .date_event span{margin-left:5px;}


/* Per plegar i desplegar continguts */
.menuExt, .menuExtALL, .toggle_adv_simple p a{background: url("ico_expand.jpg") no-repeat; background-position: 0px 2px; padding:0 0 0 15px;}
.menuCom, .menuCon, .menuComALL, .toggle_adv_simple p a.menuCom {background: url("ico_collapse.jpg") no-repeat; background-position: 0px 2px; padding:0 0 0 15px;}
.menuExtALL, .menuComALL{margin-left: 30px;}

.expander .search_box_expand{margin-left:180px;}
.expander a.menuExt{display:none;}
/*.expander table{clear:both; width:600px; margin:0.7em 0 1.3em 20px; background-color:rgb(233,232,244); table-layout: fixed; border-collapse:collapse; empty-cells:show;}
.expander table td {height:3.0em; padding:2px 7px 2px 7px; border-left:solid 2px rgb(255,255,255); border-right:solid 2px rgb(255,255,255); border-top:solid 2px rgb(255,255,255); border-bottom:solid 2px rgb(255,255,255); background-color:rgb(225,225,225); text-align:left; font-weight:normal; color:rgb(80,80,80); font-size:110%;}*/


/* Paginacio */
.main-content span.field, .main-content p.field{font-weight:bold;}
.main-content .pagination{margin:30px 0 15px 0; font-size:90%; text-align:center;}
.main-content .pagination ul {list-style:none; margin:0;}
.main-content .pagination ul li{background:none; display:inline; font-weight:bold; margin:-2px; color:#000;}
.main-content .pagination ul li a{text-decoration:none; font-weight:bold; margin:0; padding:4px 7px; border: solid 1px #E1E1E1; background-color:#263C75; color:#fff;}
.main-content .pagination ul li a:hover{text-decoration:none; border: solid 1px #263C75; background-color:#92B6E7; color:#263C75;}
.main-content .pagination form{margin:24px 0 15px 0;}
.main-content .pagination form select{width:50px; border:solid 1px rgb(200,200,200);}
.main-content .pagination form input.button_js{margin-left:8px; padding:1px; background:rgb(230,230,230); border:solid 1px rgb(150,150,150); color:rgb(150,150,150); text-align:center;}
.main-content .pagination form input.button_js:hover{border:solid 1px rgb(80,80,80); background:rgb(220,220,220); color:rgb(80,80,80); cursor:pointer;}


/* Noticies */
.news_block{margin:20px 20px 0 10px;}
.news_block .item{margin-top:40px;}
.news_block h2.title{font-weight:bold; border-bottom:1px solid #C8CCCF; padding-bottom:3px;}
.news_block p.news_date{text-align:right; font-weight:bold; font-size:10px;}
.news_block .item p.news_date{text-align:left; font-weight:bold; font-size:10px;}
.news_block h1{font-size:16px; font-weight:bold; clear:none;}
.news_block h1 span.remark{color:#505050; font-style:italic;}
.news_block h2{font-size:14px; clear:none;}
.news_block .news_category{clear:both; margin: 30px 0 0 0; background:url(top_bg.png);}
.news_block .news_category p{padding:10px 10px 5px 10px;}
.news_block .news_category a{color:#000;}
.news_block img.no-border{border:0;}
.news_block p.link_more{margin-top:20px;}


/* Inici */
div.index ul{margin-bottom:20px;}
div.index ul li{background:url(img/bg_bullet_full_1.gif) no-repeat 0 0.5em;}
div.index p.right{text-align:right;}


.center{text-align:center;}
.center img{clear:both; float:none; width:350px; margin-top:25px;}

#nav_pager_espais_dos {margin-left:108px !important; margin-left:113px; background: #eee; border-top: 1px solid #496FAF; padding: 5px; padding:10px 0; clear:both; text-align:center; margin-top:0 !important; margin-top:-40px; border:1px solid #496FAF; width:462px; clear:both;}
#nav_pager_espais_dos a {padding: 0 5px; color:#496FAF;}
#nav_pager_espais_dos a:hover {background-color:#496FAF; color:#fff;}
#nav_pager_espais_dos a.highlight {background-color:#496FAF; color:#fff; font-weight: bold;}