/*
Theme Name: GRC adaptat de Meta-Morphosis
Version: 1.0.4
Description: Designed by <a href="http://www.woothemes.com">WooThemes</a>.
Author: WooThemes
Author URI: http://www.woothemes.com
*/

/* Default styles */
@import "reset.css";

/* Custom styles */
@import "custom.css";

body {
	background: #318bbb url(images/bg.jpg) no-repeat center bottom;
	padding-bottom: 150px;
}

#wrap {
	background: none;
}

/* Wrap */

#wrap { }





/* Top                                        CAPCALERA */

#top {
	width: 960px;
	margin: 0 auto;
	padding: 4px 0 0 0;	
	position: relative;
	z-index: 999;
}





/* Page Nav                              MENU SUPERIOR */

#pagenav {
	float: right;				/* aliniat a la dreta */
	padding-right: 20px;    /* separat del marge */
}

#pagenav li {
	float: left;
	line-height: 35px;
	padding: 0 9px 0 5px;
	zoom: 1;
	margin: 0;
}

#pagenav li a:link, #pagenav li a:visited {
	position: relative;
	width: 50%;
	padding: 14px 8px;
	text-decoration: none;
	z-index: 100;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
}

#pagenav li a:hover, #pagenav li.current_page_item a:link, #pagenav li.current_page_item a:visited  {
	position: relative;
	background: url(images/top-nav-tile.png) repeat-x left bottom;
}

#pagenav li a:hover span.left, #pagenav li.current_page_item span.left {	/* extrem rodó esquerre */
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 5px;
	height: 43px;
	margin-left:-5px;
	background: url(images/top-nav-left.png) no-repeat left bottom;
}

#pagenav li a:hover span.right, #pagenav li.current_page_item span.right {	/* extrem rodó dret */
	display: block;
	position: absolute;
	right: 0;	
	bottom: 0;
	width: 5px;
	height: 43px;
	margin-right:-5px;
	background: url(images/top-nav-right.png) no-repeat left bottom !important;
}





/* Header                                        TITOL CAPCALERA */

#header {
	width: 100%;
	height: 100px;
	padding-top: 0px;
	padding-bottom: 20px;
	clear: both;
	position: relative;
}

#header a {
	width: 500px;
	height: 100px;
	display: block;
	padding-left: 20px; /* per separar el logo del marge esquerre */
}

#header h1 {
	position: absolute;
	left: -999em;
}





/* Cat Nav                                        MENU NAVEGACIO */

#menu { 
	background: transparent url(images/cat-nav.png) no-repeat top left;
	width: 960px;
	height: 50px;
	z-index: 999;
	position: relative;
}

#catnav, #catnav ul {
	padding: 0;
	margin: 0 15px;
	list-style: none; 
	line-height: 1;
	width: 750px;
	z-index: 999;
	position: relative;
}

#catnav a {
	text-decoration: none;
	display: block;
	line-height: 50px;
	padding: 0 10px;
	z-index: 100;
	color:#fff;
	font-size: 14px;
	font-weight: normal;
}

#catnav li {
	float: left;
}
#catnav li:hover {
	background: #869eb4 url(images/cat-nav-hover.png) repeat-x top left;
}





/* Style drop down list                           SUBMENU DESPLEGABLE */

#catnav li ul { position: absolute; width: 182px; left: -999em; margin: 0; }
#catnav li ul li { border: 1px solid #ccc; border-width:0 1px 1px; background: #fff; z-index: 15; position: relative; }
#catnav li ul li:hover { background: #cbd2f8; }
#catnav li ul li a { line-height: 35px; font-size: 12px; color: #333; width: 160px; }
#catnav li ul ul {	margin: -36px 0 0 180px;  border-top: 1px solid #ccc; }
#catnav li ul ul li a { line-height: 35px; }
#catnav li ul li ul li a {	border-width:0 1px 1px 0px; }
#catnav li:hover ul, #catnav li.sfhover ul { left: auto; }
#catnav li:hover ul ul, #catnav li.sfhover ul ul { left: -999em; }
#catnav li:hover ul, #catnav li li:hover ul, #catnav li.sfhover ul, #catnav li li.sfhover ul { left: auto; }
#catnav li:hover, #catnav li.hover { position: static; } /* IE7 Fix */





/* Search                                         CAIXA BUSCAR */

#search {
	display: block;
	position: absolute;
	right: 20px;
	top: 10px;
	width: 178px;
	height: 32px;
}
#search input { 
	background: url(images/bg-search.png) no-repeat; 
	border: 0;
	color: #000;
	padding: 8px 10px;
	width: 157px;
}





/* Content                                        COS */

#content {
	background: #fff url(images/bg-content.png) repeat-y right;
	width: 960px;
	margin:0 auto;
	min-height: 550px;
	padding: 0;
	text-align: justify;
}
#content.col2 { background: #fff url(images/bg-content-2cols.png) repeat-y right; }

* html #content { height: 550px; }

#content-bot {		/* vora inferior del cos */
	background: #fff url(images/bg-content-footer.png) no-repeat;
	width: 960px;
	height: 18px;
	margin: 0 auto;
	display: block;
}
#content-bot.col2 { background: #fff url(images/bg-content-footer-2cols.png) no-repeat; }
#content-bot-white {
	background: #fff url(images/bg-content-footer-white.png) no-repeat;
	width: 960px;
	height: 18px;
	margin: 0 auto;
	display: block;
}

#content.white { background: #fff; }

#main-full {		/* caixa unica columna */
	padding: 30px 0 0 40px;							/* era: 20px 0 0 20px */
	width: 880px;										/* era: 920 px */
}
#featured {			/* part esquerre dues columnes */
	padding: 30px 20px 0 40px;						/* era: 20px 0 0 20px */
	width: 620px;										/* era: 440px */
}
#destacades {
	margin-left: 15px;
	padding: 20px 0 7px 5px;
	width: 660px;
	background: transparent url(images/sepcurt.png) no-repeat bottom left;
}
#main {				/* part dreta dues columnes */
	padding: 30px 20px 0 0;
	width: 225px;										/* era: 425 px */
}


/* Content (style) */

#content a { text-decoration: none; }
#content a:hover {	text-decoration: underline; }
#content h2, #content h3 { font-weight: bold; }
#content h2 { font-size: 24px; line-height:28px; padding-top:0; }
#content h3 {font-size: 20px; }
#content h3.info { font-size:28px; color: #222; padding:0 0 15px; }
#content h4 { font-size: 16px; }
#content ol, #content ul { line-height: 18px; }
#content ul.lateral { text-align: left; }
#content ul.lateral li {
	background: transparent url(images/fletxa-li-lateral.gif) no-repeat top left;
	padding-left: 10px;
	margin-bottom: 8px;
}
#content ol { padding-left: 57px; }
#content ol li { list-style: decimal; padding: 3px 0; }
#content blockquote {
	/* border-left: 2px solid #777777; */
	color: #777;
	font-style: italic;
	margin: 5px auto 15px;
	padding: 0px 10px;
	/* width: 85%; */
}


/* Main Content (post) */

hr {
	background: transparent url(images/sep.png) no-repeat top left;
	height: 7px;
	border: 0;
	margin-bottom: 23px;
}
#content .sep {
	padding-bottom: 5px;
	margin-top: 15px;
	background: transparent url(images/sep.png) no-repeat bottom left;
}
#content .post { padding: 0 5px 5px 0; }
#content .destacat {
	padding: 20px;
	border-bottom: 1px solid #ffff88;
	background: transparent url(images/bg-destacada.png) no-repeat top left;
}
#content .post-title {	width: 100%; position: relative; }
#content .post-title h2, #content .post-title p.post-llegirmes, #content .post-title h3 { padding-right: 50px; }
#content h2 a, #content h3 a { color: #2a2a2a; text-decoration: none; }
#content h2 a:hover, #content h3 a:hover { text-decoration: none; }

/* Llegiu la notícia sencera i data notícies portada */
#content p.post-llegirmes, #content p.post-data {
	line-height: 18px;
	position: relative;
	font-size: 11px;
}
#content p.post-llegirmes {
	background: transparent url(images/fletxa.gif) no-repeat center left;
	padding-left: 10px;
	font-style: italic;
}
#content p.post-data {
	color: #999;
	padding: 0;
	text-align: right;
}
#content p.post-llegirmes a {
	text-decoration: none;
	color: #999;
}
#content p.post-llegirmes a:hover {
	text-decoration: underline;
	color: #555;
}
/* data notícies arxiu */
#content p.post-details {
	color: #999;
	padding: 0;
}


#content .post h4 { margin-top: 1px; clear: both; width: 100%; }
#content .post h4.continue a {
	background: #A8BC70;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
}
#content .post h4.continue a:hover {background: #9fb26a;}
#content .post img.thumbnail {
	border:1px solid #ddd;
	margin:5px 0 0;
}
#content .post img.thumbnail-left {
	margin:15px 10px 5px 0;
	float:left;
}
#content .post img.gallery { margin:0 7px 7px 0; }
#content h2.arh {
	border-bottom: #EBEBEB 1px solid;
	margin-top: -10px;
	margin-bottom: 10px;
	position: relative;
}

/* Imatges dels posts sense subtítol: li posem nosaltres la vora */
#content .post img {
	border: 1px solid #000;
	margin: 10px 15px;
	margin-top: 0;
}

/* Imatges dels posts amb subtítol */
#content .post div img {
	border: none;
	margin: 0;
}

#featured h2, #destacades h2 { font-size: 34px; }

#featured .block { padding: 0 30px 20px 0px; width: 294px; float: left; }
#featured .block.last { padding-right: 0px; }
#featured .block h2 { font-size: 18px; line-height: 20px; font-weight: normal }



/* Main Content (post>single) */

#content p.tags {
	background:url(images/ico-tag.gif) no-repeat center left;
	padding-left:25px;
	width: 100%;
	clear: both;
}
.single #content .advert_468x60 {margin: 15px 0 0px 0;}
#content .page h2 {padding-top: 5px;}

/* Comments */

#comments h3 { font-size: 20px;	font-weight: normal;padding: 10px 0 20px 0;}

#comments #comments_wrap {padding: 0; position: relative; }
#comments ol.commentlist li { list-style-type:none; }

#comments .comment { margin-top: 10px; width: 100%; }
#comments .comment a { text-decoration: underline; }
#comments .comment a:hover { text-decoration: none; }
#comments .comment small { font-size: 10px;	margin-top: -2px; }

#comments .comment .col-left {width: 110px; font-size:11px;}
#comments .comment .col-left p { padding: 0 0 0 2px; line-height: 19px;}
#comments .comment .col-left .inside {
	width: 110px;
	float: left;
	position: relative;
	overflow: hidden;
	min-height:70px;
}

#comments .comment .col-right {
	min-height: 92px;
	background: #e6e6e6;
	padding: 10px 15px;
	margin-left:100px;
	float:none; 
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
}

* html #comments .comment .col-right { height: 100px; }
#comments .comment div.reply { float:right; padding: 3px 3px 0; font-size:11px; }
#comments .comment div.reply a { text-decoration:none; color:#aaa; }

#comments ul.children { margin:10px 0 0 25px; padding:0; }

#comments .navigation .alignright, #comments .navigation .alignleft { margin:10px 0;}
#comments .navigation a {
	color: #555;
}
#comments .commentlist {padding:0;}
#comments .commentlist p{padding:0 0 10px;}

#comments .commentlist #respond #form_wrap {
	padding:0 0 25px;
	margin:0;
	border:0;
	width:auto;
}
#comments .commentlist .children #respond #form_wrap .col-right{float:none;}
#comments .cancel-comment-reply {margin-bottom:10px;}

#commentform .btn {
	margin:0; 
	background: url(images/btn-submit.png) no-repeat;
 	color: #fff;
	font-weight:bold;
	width:79px;
	height:41px;
	padding:0;
	border:0;
	cursor:pointer;
}

/* (widgets)*/

#tag_cloud h2 {display: block;float: none;}
.textwidget {clear: both;padding: 5px 2px;line-height:20px;}
#wp-calendar {
	width: 95%;
	padding: 0 0 0px 0;
	margin-bottom: 15px;
	clear: both;
}
#wp-calendar caption {padding: 10px;}
#wp-calendar th {color: #fff;}
#wp-calendar th, #wp-calendar td {
	padding: 5px;
	text-align: center;
	background: #E7E7E7;
	color: #9E9E9E;
}
#wp-calendar td {background: transparent;}
#wp-calendar td, table#wp-calendar th {padding: 3px 0;}
#wp-calendar a {text-decoration: underline;}
#wp-calendar a:hover {text-decoration: none;}

/* (flickr) */

#flickr h3 span {color: #0061D8;}
#flickr h3 span span {color: #FF1183;}
#flickr .wrap {
	margin-left: -5px;
	padding: 0;
	position: relative;
	margin-bottom:25px;
}
#flickr a img {
	float: left;
	margin-left: 10px;
	margin-bottom: 10px;
	display: block;
	padding: 3px;
	background: #fff;
	border: #CECFC6 1px solid;
}
#flickr a:hover img {border: #A8AA99 1px solid;}

/* widget-slider */
#slider-top { background:url(images/bg-footer-top.png) no-repeat; width:960px; height:12px; font-size:1px }
#slider-bot { background:url(images/bg-footer-bot.png) no-repeat; width:960px; height:12px; }
#slider-block { background-color:#242527; position:relative; min-height:300px; width:960px; overflow:hidden; }
.container { position:relative; height:137px; width:840px; overflow:hidden; margin:0 auto; }
.container div {  opacity:0; z-index:0; position:absolute; top:0; left:0; padding:0 20px; }
.container div div {  opacity:1; z-index: auto; position:static; padding:0px; }
#loopedSlider { position:relative; width:960px; margin:30px auto 0; }
#loopedSlider .nav-buttons { list-style-type:none; margin:0; padding:0; }
#loopedSlider li#p { position:absolute; top:140px; left:30px; }
#loopedSlider li#n { position:absolute; top:140px; right:30px; }

.container ul.widget { float:left; width:245px; margin-right:30px; color:#eeeeee;}
.container ul.last { margin-right:0px; }
.container ul.widget h3 { font-family:Arial; color:#fff; font-size: 24px; font-weight:bold; margin:10px 0 0; }
.container ul.widget a { color:#fff; }
.container ul.widget li ul { padding:0; margin:0; }
.container ul.widget li ul li { padding:10px 0; background:url(images/footer-dot.png) repeat-x bottom; }





/* Patrocinadors                                  */

#sponsor {
	position: relative;
	width: 960px;
	margin: 30px auto 0;
}
#sponsor-top, #sponsor-bot {
	width: 960px;
	height: 12px;
/*	font-size:1px */
}
#sponsor-top {
	background: url(images/bg-footer-top.png) no-repeat;
}
#sponsor-bot {
	background: url(images/bg-footer-bot.png) no-repeat;
}
#sponsor-mig {
	background-color: #dbdad8;
	color: #242527;
	position: relative;
	width: 880px;
	overflow: hidden;
	padding: 0 40px;
	font-size: 11px;
	font-weight: bold;
}
#sponsor ul {
	margin-left: 0px; /* marge per l'esquerra per a que sembli centrat 14 */
	font-weight: normal;
	text-align: center;
    clear: both;
}
#sponsor ul.segona { margin-left: 16px; } /* marge per l'esquerra per a que sembli centrat */
#sponsor li {
	display: inline;
	float: left;
	margin: 0 7px; /* separació entre elements 17 */
}
#sponsor ul.segona li { margin: 0 17px; }
#sponsor li a {
	text-decoration: none;
	padding: 0;
	text-indent: -10000px;
	display: block;
}
#sponsor li.idapa a, #sponsor li.ddgi a, #sponsor li.ccc a, #sponsor li.ajpuig a, #sponsor li.ajlliv a, #sponsor li.ajbolv a, #sponsor li.ajalp a, #sponsor li.ajurus a, #sponsor li.ajger a,
#sponsor li.museuc a, #sponsor li.hospi a, #sponsor li.caixa a, #sponsor li.sed a, #sponsor li.campus a, #sponsor li.viladr a, #sponsor li.parxet a {
	background-position: left top;
	background-repeat: no-repeat;
}
#sponsor li.idapa  a { background: url(images/logo_idapa.gif); }
#sponsor li.ddgi   a { background: url(images/logo_ddgi.gif); }
#sponsor li.ccc    a { background: url(images/logo_consell.gif); }
#sponsor li.ajpuig a { background: url(images/logo_puigcerda.gif); }
#sponsor li.ajlliv a { background: url(images/logo_llivia.gif); }
#sponsor li.ajbolv a { background: url(images/logo_bolvir.gif); }
#sponsor li.ajalp  a { background: url(images/logo_alp.gif); }
#sponsor li.ajurus a { background: url(images/logo_urus.gif); }
#sponsor li.ajger  a { background: url(images/logo_ger.gif); }
#sponsor li.museuc a { background: url(images/logo_museu.gif); }
#sponsor li.hospi  a { background: url(images/logo_hospital.gif); }
#sponsor li.caixa  a { background: url(images/logo_caixa.gif); }
#sponsor li.sed    a { background: url(images/logo_sed.gif); }
#sponsor li.campus a { background: url(images/logo_campus.gif); }
#sponsor li.viladr a { background: url(images/logo_viladrau.gif); }
#sponsor li.parxet a { background: url(images/logo_parxet.gif); }
#sponsor li.idapa a, #sponsor li.ddgi a, #sponsor li.ccc a, #sponsor li.ajpuig a, #sponsor li.ajlliv a, #sponsor li.ajbolv a, #sponsor li.ajalp a, #sponsor li.ajurus a, #sponsor li.ajger a { height: 90px; }
#sponsor li.museuc a, #sponsor li.hospi a, #sponsor li.caixa a, #sponsor li.sed a, #sponsor li.campus a, #sponsor li.viladr a, #sponsor li.parxet a  { height: 71px; }
#sponsor li.idapa  a { width: 207px; }
#sponsor li.ddgi   a { width: 83px; }
#sponsor li.ccc    a { width: 83px; }
#sponsor li.ajpuig a, #sponsor li.ajlliv  a, #sponsor li.ajbolv  a, #sponsor li.ajalp  a, #sponsor li.ajurus a, #sponsor li.ajger a { width: 63px; }
#sponsor li.museuc a { width: 44px; }
#sponsor li.hospi  a { width: 128px; }
#sponsor li.caixa  a { width: 54px; }
#sponsor li.sed    a { width: 103px; }
#sponsor li.campus a { width: 117px; }
#sponsor li.viladr a, #sponsor li.parxet a { width: 83px; }
#sponsor li.idapa  a:hover { background-position: -207px top; }
#sponsor li.ddgi   a:hover { background-position: -83px top; }
#sponsor li.ccc    a:hover { background-position: -83px top; }
#sponsor li.ajpuig a:hover, #sponsor li.ajlliv  a:hover, #sponsor li.ajbolv  a:hover, #sponsor li.ajalp  a:hover, #sponsor li.ajurus a:hover, #sponsor li.ajger a:hover { background-position: -63px top; }
#sponsor li.museuc a:hover { background-position: -44px top; }
#sponsor li.hospi  a:hover { background-position: -128px top; }
#sponsor li.caixa  a:hover { background-position: -54px top; }
#sponsor li.sed    a:hover { background-position: -103px top; }
#sponsor li.campus a:hover { background-position: -117px top; }
#sponsor li.viladr a:hover, #sponsor li.parxet a:hover { background-position: -83px top; }





/* Footer                                        PEU COPYRIGHT */

#footer {
	width: 960px;
	margin: 10px auto 0;
	padding-bottom: 30px;
	font-size: 11px;
	font-weight: bold;
	color: white;
}
#footer a { color:#777; }
#footer .col-right img {vertical-align: middle;}
#footer .col-right span {display: none;}

