/* Theme Name:   basic_template
Version:      0.1.0
Author:       Badabiblios
Author URI:   http://badabiblios.com
Tags:         white, black, gray, light, custom-menu, custom-header, custom-background, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, theme-options, threaded-comments, full-width-template, sticky-post, translation-ready, flexible-width, rtl-language-support
*/
/* =Reset CSS (v2.0) http://meyerweb.com/eric/tools/css/reset/ */
	html, body, div, h1, h2, h3, h4, h5, h6 {border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:baseline;}
	span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:baseline;}

/* =HTML5 display-role reset for older browsers */
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;}
	body {line-height: 1;}
	ol, ul {list-style: none;}
	blockquote, q {quotes: none;}
	blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;}
	table {border-collapse: collapse;border-spacing: 0;}
	button, input, select, textarea {font-size: 100%;overflow: visible;margin: 0;vertical-align: baseline;width: auto;}
	textarea {overflow:auto;vertical-align:text-top;}

/* =Reset webkit search input browser style */
	input {	outline: none;}
	input[type=search] {	-webkit-appearance: textfield;	-webkit-box-sizing: content-box;	font-family: inherit;	font-size: 100%;}
	input::-webkit-search-decoration,input::-webkit-search-cancel-button {	display: none; /* remove the search and cancel icon */}

/* =Base */
	html { font-family: Verdana, Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
	body { background-color: #ccc !important; margin: 0; -moz-font-smoothing: antialiased; -webkit-font-smoothing: antialiased; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-smoothing: antialiased; text-rendering: optimizeLegibility; }
	html, body { height:100%;}

/* =Typography */
	p {word-wrap: break-word; font-size: 13px;}
	i,em,dfn,cite {font-style: italic;}
	b,strong {font-weight: 700;}
	.negrita {font-weight: bold}
	.tamany-14 {font-size:14px;}
	#ngg-image-0 {border:0px !important; display: inline-block;}
	.ngg-imagebrowser {text-align: center;}
	.ngg-imagebrowser h3 {display: none !important;}
	.ngg-imagebrowser-nav { background-color: #ccc; border-radius: 5px; }


	.inline-img {display:inline-block; width:100%; height:auto;}
	.inline-img img {float:left; width:24%; height:118px;}
	.inline-img br {display:none !important;}


/* =Font Colors */
	.gris-fosc { color: #404040; }
	.negre { color:#000; }
	.blau-link { color:#0b7dac; }
	.blanc {color:#fff;}

/* =Background Colors */
	.fons-white {background-color:#fff;}
	.fons-gris-1 {background-color:#eee;}
	.fons-gris-2 {background-color:#dedddd;}
	.fons-gris-3 {background-color: #aaa;}
	.fons-blue-1 {background-color: #0b7dac;}
	.fons-blue-2 {background-color: #5eaed1;}
	.fons-navyblue {background-color:#0d4861;}

/* =Custom Styles */
	.llista-circle li {list-style: circle;}
	.title-link-list {width:100%; border-bottom:3px solid #0b7dac; color: #0b7dac; font-weight: bold; text-align: left; margin-bottom:0.3em; margin-top:0.3em;font-size: 15px !important;}
	#linkcat-1176 {margin:0.5em; margin-top:1.9em;}
	#linkcat-1176 ul {margin-left: 0.1em; padding: 0em;}
	#linkcat-1177 {margin:0.5em; margin-top:1.9em;}
	#linkcat-1177 ul {margin-left: 0.1em; padding: 0em;}
	#cnss_widget-12 {margin-left: 0.5em; margin-right: 0.5em; margin-top: 1.9em;}	

	img.alignright { float: right; margin: 0 0 1em 1em; }
	img.alignleft { float: left; margin: 0 1em 1em 0; }
	img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
	.alignright { float: right; }
	.alignleft { float: left; }
	.aligncenter { display: block; margin-left: auto; margin-right: auto; }
	.sin-decoracion {text-decoration: none !important;}

	.clear {clear:both;}
	.clear_left {clear:left;}
	.br-5 {border-radius: 5px !important;}

	.llista-circle li {list-style: circle;}
	.negrita {font-weight: bold}

	.tamany-14 {font-size:14px;}
	.tamany-16 {font-size:16px;}	

	#ngg-image-0 {border:0px !important; display: inline-block;}
	.ngg-imagebrowser {text-align: center;}
	.ngg-imagebrowser h3 {display: none !important;}
	.ngg-imagebrowser-nav { background-color: #ccc; border-radius: 5px; }

	.inline-img {display:inline-block; width:100%; height:auto;}
	.inline-img img {float:left; width:24%; height:118px;}
	.inline-img br {display:none !important;}

	.title-link-list {width:100%; border-bottom:3px solid #0b7dac; color: #0b7dac; font-weight: bold; text-align: left; margin-bottom:0.3em; margin-top:0.3em;font-size: 15px !important;}

	.lcp_recomanacions {overflow: auto; border-radius: 0 0 5px 5px;}
	.lcp_recomanacions li {margin-bottom: 0.5em; display: inline-block; height: auto; }
	.lcp_img_box img {width:100%; border-radius: 5px;}
	.lcp_img_box {width:35%; height:100%;float:left;}
	.lcp_title_box {width: 65%; float:left; padding-left: 2%;}
	.lcp_title_box h4 {font-size: 15px; margin-top:0em; margin-bottom: 0.2em !important; }
	.lcp_title_box h4 a {text-decoration: none !important;}
	.lcp_excerpt {width:65%; float: left; }
	.lcp_excerpt p {margin-bottom: 0em !important;}
	.widget_listcategorypostswidget {margin-top: 0em !important;}	

	/* =PAGE CLUB SECRET*/
	.title-club-secret {font-family: 'Sigmar One'; font-size: 40px; height: 120px; /*vertical-align: bottom;*/} 
	.missio {font-family: 'Amatic SC'; font-size: 28px;}
	.missio-mini {font-family: 'Amatic SC'; font-size: 20px; }
	.missio-minibold {font-family: 'Amatic SC'; font-size: 20px; font-weight:bold;}

	/* =End PAGE CLUB SECRET */

/* =Containers */
	.news_box {clear:both; background-color: white; margin-bottom:0.5em; border-radius:5px; display: inline-block; height: auto; border-right: 3px solid #337ab7; border-left: 3px solid #337ab7;}
	.news_box p {margin: 0.1em 0.3em; }
	.news_box img {float:left; margin-right: 0.3em; border-top-left-radius: 3px; border-bottom-left-radius: 5px; width: 80px; height: 80px;}
	.news_box h4 {margin: 0.1em 0.3em; font-size: 15px;}
	.news_box h4 a {margin: 0.1em 0.3em; font-size: 15px;}
	.news_box h4 a {text-decoration: none; font-weight: 700; }
	.news_box h4 a:link {text-decoration: none;}
	.news_box h4 a:active {color:red;}
	.news-hr {margin-top: 5px; margin-bottom: 10px;}
	.title3 span {color: #2e6da4; font-size: 25px; font-weight: 700; }
	.n_date {color: #2e6da4; font-weight: 600; font-size: 14px; margin-left:0.5em; float:right;}
	/* =WIDGETS */
	.widget-title { display: block; background: #0b7dac; background: linear-gradient(#5eaed1 45%, #0b7dac); color: #ffffff; text-shadow: -1px -1px 0px #000000; text-decoration: none;  font-size: 1.2em; font-weight: bold; text-align: center; border-radius: 4px 4px 0px 0px; padding:0;} 	
	/* =SIDEBARS */
	#sidebar-left {display: block;  height: auto !important;height:100%; position: relative; margin-top: 1em;}
	#sidebar-right{	display: block;	height: auto !important;height:100%; position: relative; margin-top: 1em;}
	.col { display: block;  float:left;	margin: 0 0 0.2% 0.2%; }
	.col-right { display: block;  float:right;	margin: 0.2% 0 0.2% 0.2%;}
	.credits {display: inline-block; height: auto; border-top-right-radius:10px; border-top-left-radius:10px; background-color: #fff; width: 100%; margin-top: 1em;}
	.credit-links {display: inline-block; height: auto; width: 100%;}	
	
	.enll-interes {display: inline-block; height: auto; width:33%;float:left;}
	.enll-centre {display: inline-block; height: auto; width:34%;float:left;}	
	.enll-xarxes {display: inline-block; height: auto; width:33%;float:right;}
	.enll-xarxes div aside {float: right; width: 100% !important;}

/* =Single Template 'fitxa-llibres' */
	.fitxa-llibres-content p {margin: 0em;}
	.fitxa-llibres-content img {width: 160px; float:left;}
	.fitxa-llibres-content strong {color:#23527c;}	
	.fitxa-llibres-content b {color:#23527c;}
	.fitxa-llibres-content ul {width:100%; clear:right; margin:1.5em 0em;}	
	.fitxa-llibres-content ul li {list-style: none; font-weight: bold; font-size: 13px; margin:0.5em;}

/* =CATEGORY fitxa-llibres */
	.caixa_llibre {width: 30%; float: left; margin-left:1.6%; margin-right:1.6%; margin-bottom:1em; margin-top:1em;height:210px;}
	.img_llibre {width: 100%;  overflow: none;}
	.img_llibre img { height:210px; z-index: -1;width: 100%; border-top-left-radius: 8px;border-top-right-radius: 8px; border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;}
	.caixa_titol { border-radius: 8px; opacity: 0.8; position: relative; width: 91%; left: 15%; top: -5em; z-index: 1; padding-top:0.2em; padding-bottom:0.2em; text-align:center; font-weight: bold; color:#000; font-size:14px; background-color: #0b7dac;}
	.caixa_titol:hover {opacity: 1; color:#0d4861;}


/* =Single Template 'Autors-badalona' */
	.autor-header {width: 100%; margin-top: 1em; display:block; overflow:auto; font-size: 24px; font-weight: bold; color:#337ab7;}
	.autor-header img {width:20%; display: inline-block; float:left; margin-right: 1% !important; margin-bottom: 0px !important;}
	.autor-header span {width:79%; display: inline-block; font-weight: bolder; font-size: 24px; text-align: center; color:#0b7dac;}
	.autor-bio {width: 100%; clear: both; margin-top: 1.5em; text-align: justify;}
	.autor-bio h3 {font-weight: bolder; padding:0.3em; border-radius: 5px; margin-bottom: 0.5em; background-color: #5eaed1; color: white; }
	.autor-bio p {margin: 0.5em; width:auto !important;}	
	.autor-llistes {width: 100%; display:block; overflow:auto; margin-top: 1.5em;}
	.autor-obra {float:left;width:49%;}
	.autor-obra h3 {font-weight: bolder; background-color: #5eaed1; color: white; padding:0.3em; border-radius: 5px; margin-bottom: 0.5em;}
	.autor-premi {float:right; width:49%;}
	.autor-premi h3 {font-weight: bolder; background-color: #5eaed1; color: white; padding:0.3em; border-radius: 5px; margin-bottom: 0.5em;}
	.autor-links {width: 100%; clear: both; margin-top: 2em;}
	.autor-links h3 {font-weight: bolder; background-color: #5eaed1; color: white; padding:0.3em; border-radius: 5px; margin-bottom: 0.5em;}

/* =Margins & Paddings */
	.margin-05 { margin: 0.5em; }
	.margin-1 {margin:1em;}
	.margint-1 { margin-top: 1em;}
	.margint-3 { margin-top: 3em;}
	.marginb-05 { margin-bottom: 0.5em; }
	.marginb-1 {margin-bottom:1em !important;}
	.marginb-2 {margin-bottom:2em !important;}

	.padding-1 {padding: 1em;}
	.paddingtb-05 {padding-top: 0.5em !important; padding-bottom: 0.5em !important;}
	.paddingl-0 {padding-left: 0em !important;}
	.paddingl-02{padding-left: 0.2em !important;}
	.paddingl-1 {padding-left: 1em;}
	.paddingl-3 {padding-left: 3em;}
	.paddingr-0	{padding-right: 0px !important;}
	.paddingr-02{padding-right: 0.2em !important;}

/* =ALIGNS */
	.childs-centrats {display: flex; align-items: center;}
	.ta-center {text-align: center;}
	.ta-right {text-align: right;}

	.bp-cc {background-position: center center;}
	/* <p> elements */
		.dis-blo {display: block;}

/* =HOME */
	/* =AGENDA */
	.agenda {width: 100%; display:inline-block; height: auto; margin-bottom: 1em; background-color: #fff;}
	.age_event {display:inline-block; height: auto; width: 100%; border-bottom: 2px solid #337ab7; background-color: #fff; margin-bottom: -3px;}
	.age_data {width:15%; float:left; display:inline-block; height: auto; margin-right: 1%;}
	.age_text {width:83%; float:left; display:inline-block; height: auto; margin-right: 1%;}
	.age_dia {color: #5eaed1; font-weight: bold; font-size: 16px; clear: both; background-color: white; text-align: center;}
	.age_mes {color: #5eaed1; font-weight: 600; font-size: 13px; clear: both; background-color: white; text-align: center;}
	.age_hora {color: #5eaed1; font-weight: 500; font-size: 13px; clear: both; background-color: white; text-align: center;}
	.age_titol {color: #0d4861; font-weight: 600; font-size: 14px; clear: both; background-color: white; text-align: left;}
	.age_lloc {color: #0d4861; font-weight: 500; font-size: 13px; clear: both; background-color: white; text-align: left; padding-top: 2px;}

/* =Headings */
	h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: 700; line-height: 1.0em; word-wrap: break-word; }
	h1 { font-size: 2em; margin-bottom: .5em; margin-top: .5em; }
	h2 { font-size: 1.875em; margin-bottom: .75em; margin-top: .75em; }
	h3 { font-size: 1.500em; margin-bottom: .2em; margin-top: .0em; }
	h4 { font-size: 1.125em; margin-bottom: .2em; margin-top: .0em; }
	h5 { font-size: 1.000em; margin-bottom: 1.125em; margin-top: 1.125em; }
	h6 { font-size: 1.000em; margin-bottom: 1.285em; margin-top: 1.285em; }
	hr { border:0; width:100%; height: 2px; background-color: #eee;}
	/* Custom */
	.metxa {background-color: transparent !important; border-bottom: 3px solid #FF9900; text-align: center; border-radius: 5px !important; letter-spacing: 1px; margin-top: 1.3em; margin-bottom: 1em;}

/* =PAGES */
	.page_title {background-color: white; border-top-left-radius: 4px; border-top-right-radius: 4px; border-top}
	.page_title h2 {margin:0; padding:0 0 0.1em 0.4em; color: #337ab7; font-size: 25px; font-weight: 700;}
	.page_title h2 p {margin-top:0; margin-bottom:0; margin-left:0.2em; font-size: 1em !important;}
	.page_title h2 a {text-decoration: none; color: #337ab7;}

	.bt_3px { border-top: solid 3px #337ab7; }
	.bb_3px {border-bottom: solid 3px #337ab7;}
	.sep_alfa {width: 100%; clear: both; padding: 0 1em; border-bottom-width:1px; border-style:dashed; border-color: #337ab7;}

	.border_radius {border-radius:4px;}
	.border_radius_top {border-radius:4px 4px 0 0; }
	.border_radius_bottom {border-radius: 0 0 4px 4px;}
	.page_body { background-color: white; float:left; position:relative; height:auto; width: 100%; padding-bottom: 1em;}
	.page_body p {margin-top:0em; margin-left:0.2em; margin-right:0.2em; padding:2px;}
	.page_body p a {padding-right:0.5em;}
	.page_body h4 {background-color: #ccc; padding:2px; margin-bottom:0.5em; margin-top:0em; border-radius: 4px;}
	.page_body h3 {margin-left: 0.5em;}
	.page_body a {color: #0b7dac; font-weight: bolder; text-decoration: none;}
	.page_meta_data {background-color: #5eaed1; background: linear-gradient(#5eaed1 50%, #0b7dac); padding:0.5em; padding-left:1.3em; color:white; }
	.page_meta_data a {color:white; font-weight: bolder; text-decoration: none;}
	.post-edit-link {color: black; font-weight: bolder; text-decoration: none; word-wrap: normal;}
	.post-edit {padding-left:0.5em; padding-right: 0.5em;}
	.post-edit a:hover {color:#eee;}
	.post-meta {background-color: #ccc; padding:0.5em;}
	.post-meta a {color:#5c5a5c; font-weight: bolder; text-decoration: none;}
	.post-meta a:hover {color: black; font-weight: bolder;}

/* =SINGLE CUSTOM */
	/* Single recomanacions */
	.cs_recomanacio img {width: 20% !important; float:left; border-radius: 8px;}
	.cs_recomanacio .info_llibre {width: 78%; float:left; margin-left: 1%;}
	.cs_recomanacio .info_llibre img {display:none;}

/* =CATEGORY CUSTOM */
	.cs_recomanacio {width: 99%; margin: 1%; margin-bottom: 2em; overflow:auto;}
	.cs_recomanacio .info_llibre h4 {background-color: #5eaed1; color: white; padding-left:0.5em; overflow: auto;}
	.cs_recomanacio .info_llibre h4 span a {color: white;}
	.cs_recomanacio .info_llibre h4 span a:hover {color: white;}
	.cs_recomanacio .info_llibre h4 span p {margin-bottom:0em;}					

/* =LINKS CATEGORY */
	.llista_links {margin-top: 1em; padding: 0.6em; text-align: center; overflow: hidden; border-top-right-radius: 5px; border-bottom-right-radius: 5px;}
	.llista_links li {list-style: none;}
	.llista_links li a img {width: 45px; height: 45px; float:left; margin: 1px; border-radius: 25px !important; opacity: 0.6;}
	.llista_links li a img:hover {opacity: 1;}

/* =RESPONSIVE::: Column Grid */
	.section { clear: both; 	padding: 0px;	margin: 0px; }
	 /* splits up the page horizontally. You'll need a few of these to break up the content, and you can use them in your main wrapper, or within other divs. */
	 .col { display: block;  float:left;	margin: 0 0 0.2% 0.2%; }
	 /* divides the section into columns. Each column has a left margin of 1.6% (around 20 pixels on a normal monitor), except the first one. Using .col:first-child { margin-left: 0; }
	 means you don't need to use class="last" anywhere. It works in all browsers since IE6. */
	.col-right { display: block;  float:right;	margin: 0.2% 0 0.2% 0.2%;}
	.col:first-child { margin-left: 0; }
	 
	 /* solves floating problems, by forcing the section to self clear its children (aka the clearfix hack). This is good in Firefox 3.5+, Safari 4+, Chrome, Opera 9+ and IE 6+. */
	.group:before, .group:after { content:""; display:table; }
	.group:after { clear:both;}
	.group { zoom:1; /* For IE 6/7 */ }

/* Ample de les columnes */
	.span-1de1 { width: 100%; }
	.span-1de3 { width: 17%; }
	.span-2de3 { width: 57.6%; }
	.span-3de3 { width: 25%; }
	.span-box1 { width: 33%; }
	.span-box2 { width: 33%; margin-left:0.25em;}
	.span-box3 { width: 33%; }
	.span-foo1 { width: 33%; }
	.span-foo2 { width: 66%; }   /* CANVI 14/04/16: Treiem la imatge Badalona, ciutat de primera, per això span-foo2 el canvio a 66% (abans 33%) */
	.span-foo3 { width: 33%; }
	.fit {margin-left: 0 !important;margin-right: 0 !important;}
	 /* per que la columna de la dreta quedi arrapada a la dreta */
	 /* =End Column Grid */
 
 /* ==RESPONSIVE::: Images */
 img { -ms-interpolation-mode: bicubic; border: 0; height: auto; max-width: 100%; vertical-align: middle;}
 img.thumbnail{ height:80px; width:80px;}
	.ie8 img { height: auto; width: auto\9;}
	.ie8 img.size-large { max-width: 60%; width: auto; }

/* ==RESPONSIVE::: Videos */
video {width: 100%;max-width: 100%;height: auto;}

/* ==RESPONSIVE::: Embeds/Objects */
embed,object {max-width: 100%;}
svg:not(:root) {overflow: hidden;}

/* =GLOBAL IDS */
	/* Header */
	#header {width: 100%;  margin: 0;}
	#logo {width: 100%;  margin: 0 auto; background-repeat: no-repeat; top: 0;}

/* =GLOBAL::: Contenidor de la pagina */
	#container {  margin: 0 auto;  max-width: 100%;  padding: 0;  min-height: 100%; }
	#container:before, #container:after { display: table; content: " ";}
	#container:after { clear: both; }

/* =GLOBAL::: Main */
	#main {height: 100%; border-bottom-right-radius: 10px;border-bottom-left-radius: 10px; padding-bottom: 1em;}

/* =GLOBAL::: Footer */
	#footer {background-color: #ccc;}

/* =GLOBAL::: Columna central */
	#content {border-radius: 4px; height:100%; margin-top: 1em;margin-bottom: 1em;}
	#page_container {margin-left: 0.5em; margin-right: 0.5em;}
	.espaiat-inf {padding-bottom: 0.5em;}

/* =GLOBAL::: Columna esquerra */
	#sidebar-left {display: block;  height: auto !important;height:100%; position: relative; margin-top: 1em;}

/* =GLOBAL::: Columna dreta */
	#sidebar-right{	display: block;	height: auto !important;height:100%; position: relative; margin-top: 1em;}

/* =GLOBAL::: Navigation */
	.menu-links-container {width: 100%;}
	.navigation-blog {overflow: none; padding: 0.5em; background-color: white; border-radius: 4px;}
	.main-navigation {	clear: both;	margin: 0 auto;	max-width: 1080px;	min-height: 45px;	position: relative;}
	ul.nav-menu,div.nav-menu > ul {	margin: 0;	padding: 0 0em 0 0 ;}
	.nav-menu li {	display: inline-block;	position: relative;	background: #0b7dac;	background: linear-gradient(#5eaed1 45%, #0b7dac);	background: -webkit-linear-gradient(#5eaed1 45%, #0b7dac);	background: -o-linear-gradient(#5eaed1 45%, #0b7dac);	background: -moz-linear-gradient(#5eaed1 45%, #0b7dac);	padding: 0.2em;	font-family: Univers LT Std 47 Cn Lt, UniversLTStd, Univers LT Std, arial, Verdana;	font-size: 1.2em;	font-weight: bold;	font-style: normal; 	text-shadow: -1px -1px 0px #000000; box-shadow: 0px 0px 2px #333333;	border-radius: 0 4px 4px 0px;	border-style: solid; border-width: 1px 1px 1px 5px; border-color: #0d4861;       	margin-bottom: 0.2em; margin-top: 0em;	width: 100%;}
	.nav-menu li a {	color: #fff;	display: block;	font-size: 15px;	line-height: 1;	padding: 0.2em;	text-decoration: none;}
	#wysiwyg_widgets_widget-45 {margin-top: 3px !important;}
	.nav-menu li.sidebar_menu_sen1 {	background: #2189b4 url('http://badabiblios.cat/wp-content/uploads/literaria-sen1.png') no-repeat;  height: 2.0em;	padding: 1em 0 0 3.3em;	width: 78%;}
	.nav-menu li.sidebar_menu_sen2 {	background: #2189b4 url('http://badabiblios.cat/wp-content/uploads/dimoni-sen1.png') no-repeat;  height: 2.0em;	padding: 1em 0 0 3.3em;width: 78%;}
	.nav-menu li.sidebar_menu_sen3 {	background: #2189b4 url('http://badabiblios.cat/wp-content/uploads/metxa-sen1.png') no-repeat;  height: 2.0em;	padding: 1em 0 0 3.3em;width: 78%;}
	.nav-menu li:hover > a,.nav-menu li a:hover {	color: #E3E3FF;}
	.nav-menu .sub-menu,.nav-menu .children {	background-color: #5EAED1 ;	border: 2px solid #0D4861;	border-top: 0;	display: none;	padding: 0;	position: absolute;	left: -2px;	z-index: 99999;}
	.nav-menu .sub-menu ul,.nav-menu .children ul {	border-left: 0;	left: 100%;	top: 0;}
	ul.nav-menu ul a,.nav-menu ul ul a {	color: #fff;	margin: 0;	width: 200px;}
	ul.nav-menu ul a:hover,.nav-menu ul ul a:hover {	background-color: #0D4861;}
	ul.nav-menu li:hover > ul,.nav-menu ul li:hover > ul {	display: block;}
	.nav-menu .current_page_item > a,.nav-menu .current_page_ancestor > a,.nav-menu .current-menu-item > a,.nav-menu .current-menu-ancestor > a {	color: #fff;	font-style: italic;}
	.menu-toggle {	display: none;}

/* Navbar */
	.navbar {	background-color: #EEEEEE;	margin-bottom: 0 !important; width: 100%; padding:0em !important;}

/* =HOME::: ImageMap de les biblioteques */
#IM-biblios {display:block; width:96%; position:relative; height: auto; background-color: #eee; margin: 0em 0em 2% 2%; }
#IM-biblios img {display:block; width:100%; border-radius:4px;}
#IM-biblios .hotspots {width:100%; height:100%; position:absolute; left:0; top:0; /*visibility:hidden;*/}
#IM-biblios a {display:block; position:absolute; /*background:#000; z-index:100; opacity:0.2; filter: alpha(opacity=20); border:1px solid transparent; border-radius:10px;*/}
	#IM-biblios a.p1 {left:4.7%; top:12%; width:8%; height:78%;}
	#IM-biblios a.p2 {left:19.5%; top:12%; width:8%; height:78%;}
	#IM-biblios a.p3 {left:36%; top:12%; width:8%; height:78%;}
	#IM-biblios a.p4 {left:52%; top:12%; width:8%; height:78%;}
	#IM-biblios a.p5 {left:66.5%; top:12%; width:8%; height:78%;}
	#IM-biblios a.p6 {left:82.5%; top:12%; width:8%; height:78%;}
#IM-biblios a + p {position:absolute; left:0%; top:0%; width:100%; color:#000; display:none;}
#IM-biblios p strong {display:block; padding:0; margin:0; font: bold 25px/30px 'times new roman',serif; color:#000;}
#IM-biblios p {padding:0; margin:0; font: normal 18px/22px 'times new roman',serif; color:#444;}

/* =HOME::: Slider */
#slider{ position:relative; margin:0 auto; width:96%; height: 100%;}
#slider img{ border-radius: 6px; width:100%; height: 100%;}
#slider-content{max-height: 320px;}
.easingsliderlite-viewport{max-height:320px; padding-top: 0% !important;}
.easingsliderlite-slides-container{width: 100%; height:320px; padding-top: 0% ! important;}
.easingsliderlite-slide{max-width: 760px; max-height: 320px; width: 664px; height: 320px; opacity: 0; }

/* =HOME::: Featured Home Widgets */
#featured{  margin: 6% 2% 6% 2%; width:96%; height:100%; background-color: #eee; border-radius: 6px; }

/* =AUTHOR-*.php */
.link_autor { text-decoration: none; font-weight: bold; }

/* =WIDGETS::: Widgets */
#box3 {display:block;}
#box4 {display:none;}
.widget-title { background: #0b7dac; background: linear-gradient(#5eaed1 45%, #0b7dac); color: #ffffff; text-shadow: -1px -1px 0px #000000; text-decoration: none;  font-size: 1.2em; font-weight: bold; text-align: center; border-radius: 4px 4px 0px 0px; padding:0;}
.widget_one p { padding: 0.4em; background-color: #dedddd; }

/* =Widget Home */
.widget-home {background-color: #dedddd; border-radius: 4px;}
/*div container de cada widget*/
.widget-home ul { padding: 0.5em;}
.widget-home li a { text-decoration: none; color:#0b7dac; font-weight: bold;}
.widget-home p { padding-bottom: 0.5em; }

/* =Widget Search */
.search-mobile {display:none;}
.searchform {padding:0.5em 0.2em 2.4em 0.2em; height:3em; background-color: #dedddd;}
.widget_search .screen-reader-text { display:block; }
.widget_search { position:relative; height:5.0em; width:100%; }
.widget_search #s { position:absolute; top:2.3em; width: 80%;}
.widget_search #searchsubmit { position:absolute; top:2.4em; left: 21em; background: url("http://badabiblios.cat/badabiblios/img/lupa.png") top left no-repeat; border: none; color: transparent;}
.widget_search #searchsubmit:hover {cursor:pointer;}
.web-recomanada {border: 1px solid #eee;}

/* =Widget Agenda */
#agenda-sidebar {display: block;}
#agenda-homemobile {display:none;}
.widget_FacebookLikeBox{display:block;}
.widget_pit_widget_board{display:block;}

/* =Widget Llistat-complet */
.container_llista {background-color: #dedddd; padding: 0.5em;}
.container_llista li a {color:#0b7dac; text-decoration: none; font-weight: bold;}
.link_llista { background-color: #bababa; border-radius: 3px; padding-left: 3px; padding-right: 1px; text-align: center; font-size: 12px;}
.link_llista:hover {background-color: #5eaed1;}
.link_llista a {display:block; padding-left: 0.1em; padding-right: 0.1em;}
.link_llista a:link {color:#ffffff !important; }
.link_llista a:visited {color:#ffffff !important;}
.link_llista a:hover { color:#0d4861 !important;}

/* =Custom Menu Buttons */
/*espai x widgets a la columna esquerra*/
.xoxo ul li a {text-decoration: none; color:#0b7dac; font-weight: bold;}
.xoxo {padding: 0.5em;}
.xoxo li a {text-decoration: none; color:#0b7dac; font-weight: bold;}
.widget_links {margin-top:0em;}
.link-normal {padding: 0.5em; background-color: #dedddd;}
.link-normal li a {color: #0b7dac;}
.entrada {padding:0.5em;}
.entrada_img {width:33%; float:left;}
.entrada_img img {width:100%;}
.entrada_txt {width:60%; float:left; padding:0.5em;}

/*divs container de widgets*/
.widget_nav_menu, .widget_FacebookLikeBox, .widget_listcategorypostswidget, .widget_coming_next, .widget_wysiwyg_widgets_widget, .widget_cnss_widget, .widget_pit_widget_board {margin-top:0.5em}
.PIN_1386677550411_embed_board {width:100%; background-color: #dedddd;}
.PIN_1386678612317_fancy {width:100%; background-color: #dedddd;}
.widget_listcategorypostswidget ul li a {color:#0b7dac;}
.widget_listcategorypostswidget ul {background-color:#dedddd; padding:0.5em;}
.widget_tag_cloud { padding:1.5em; /*overflow: hidden;*/}

/* =Botons amb imatges sidebar dreta */
.sidebar_menu_sen { border-width: 1px 1px 1px 5px; border-color: #2189b4; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-style: solid; box-shadow: 0px 0px 2px #333333;}
.sidebar_menu_sen img { border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
.sidebar_menu_sen_inv { border-width: 1px 5px 1px 1px; border-color: #0d4861; border-radius: 4px 0px 0px 4px; box-shadow: 0px 0px 2px #333333; background: #2189b4; text-align: right; border-style: solid;   }
.sidebar_menu_sen_inv img {}
#botons-bloc-infantil{display:none;}
.sidebar_menu_dest {     background: linear-gradient(left, #ffffff 5%, #0b7dac 45%);     background: -webkit-linear-gradient(left, #ffffff 0%, #0b7dac 45%);     background: -o-linear-gradient(left, #ffffff 5%, #0b7dac 45%);    background: -moz-linear-gradient(left, #ffffff 5%, #0b7dac 45%);     min-height: 3em; padding-top: 0.2em;    font-size: 14px; font-weight: bold; margin-top: 0em;     text-shadow: -1px -1px 0px #805808; box-shadow: 0px 0px 2px #333333;    border-radius: 0 4px 4px 0px; border-style: solid; border-width: 1px 1px 1px 5px; border-color: #0d4861;}
.sidebar_menu_dest img {float:left; height:2.6em; margin-left: 0.5em;}
.sidebar_menu_dest a {color: #ffffff; text-decoration: none; margin-top:0.7em; float:right; margin-right:0.2em;}
.sidebar_menu_dest a:visited {}
.sidebar_menu_dest a:hover {}
.sidebar_menu_virtual{ text-shadow: -1px -1px 0px #805808; box-shadow: 0px 0px 2px #333333; border-radius: 0 4px 4px 0px; border-color: #707070; border-style: solid; border-width: 1px 1px 1px 5px;}
.sidebar_menu_virtual img{ border-radius: 0 4px 4px 0px;}
.post_container {background-color: #dedddd; border-radius: 4px; margin-bottom: 1em;}
.post_title {background-color: white;}
.post_title h3 {margin-top:0; margin-bottom:0; margin-left:0.2em;}
.post_title h3 a {text-decoration: none; color:#337ab7;}
.post_title_infantil {/* per canviar els estils nomes a pagines infantils */}
.post-entry {float:left; background-color: white; height: auto; width:100%;}
.post-entry-content {padding:0.5em; padding-left: 1em; padding-right: 1em;}
.post-entry-content ul {list-style: disc; padding-left: 1.5em;}
.post-entry img {float:left; margin-right: 0.5em; margin-bottom: 0.5em; border-radius: 4px;}
.post-entry p {clear:right; margin-bottom: 0.5em; width: 100%;}
.post-entry a { font-weight: bolder; text-decoration: none; color:#0b7dac;}
.post-entry a:hover {color:#0b7dac;}
/* =Alinear imatges a les entrades */
.img_centre {text-align: center;}
.img_centre img {float:none !important;}

/* =Alinear imatge a la dreta i text flotant per l'esquerra */
.post-entry img.img_dreta {float:right !important;clear:left;}


.cs-lists {display: block; height: auto; width:100%;}
.cs-autor-list {float:left; width:49%;margin-bottom: 1em; margin-right: 1%;}
.cs-autor-altres {float:right; width:49%;margin-bottom: 1em; margin-left: 1%;}
.cs-autor-footer {clear: both; background-color: #bababa; border-radius: 3px; padding-left: 3px; padding-right: 1px; text-align: center; font-size: 12px;}


.cs-autor-footer:hover {background-color: #5eaed1;}
.cs-autor-footer a {display:block; padding-left: 0.1em; padding-right: 0.1em;}
.cs-autor-footer a:link {color:#ffffff !important; }
.cs-autor-footer a:visited {color:#ffffff !important;}
.cs-autor-footer a:hover { color:#0d4861 !important;}



.clear {clear:both;}
.clear_left {clear:left;}
.comments_container h5 {margin-top:1em; margin-bottom:0; background-color:white; border-radius: 4px 4px 0 0; padding: 0.2em 0.5em; color:#337ab7;}
.commentlist {background-color:#eee; overflow: auto;}
.comment-meta {background-color: white; padding-left: 0.2em; float:left; height: 1.7em;width: 50% !important; border-top: solid 2px #337ab7; padding-left: 1em;}
.comment-meta a {color: #5eaed1;}
.comment-author {background-color:white; border-radius:0; float:right; height: 1.7em; padding-left: 0.2em; padding-left: 1em; width:50%; color:#fff;border-top: solid 2px #337ab7;}
.comment-author a {color:#5eaed1;}
.comment-body p {padding-left: 1em;}
.fn {font-weight: bold; color: #5eaed1;}
.says {color: #5eaed1;}
.reply {background-color: white;  padding-left: 0.2em; margin-bottom: 0.1em; padding-left: 1em; /*border-bottom: solid 2px #337ab7;*/}
.reply a, .reply a:hover { color:#5eaed1;}
.comment-reply-link {color: #5c5a5c;}
.comment-respond {background-color: white; border-radius: 4px;}
.comment-reply-title {background-color: #5eaed1; background: linear-gradient(#5eaed1 50%, #0b7dac); border-radius: 4px 4px 0 0; padding: 0.2em 0.5em; color:white; margin:0em; border-bottom: solid 3px #337ab7; font-size: 25px; font-weight: 700;}
#respond .comment-form-author label, #respond .comment-form-email label, #respond .comment-form-url label, #respond .comment-form-comment label 
	{ background-color: #5eaed1; color: white; display:inline-block; font-size: 13px; padding: 4px 10px; position:relative; z-index:1; border-radius: 0 4px 4px 0; margin-bottom:0.1em; width:8em; margin-right:0.5em;}
.required {font-weight: bolder; color: red; font-size: 15px; display:inline;}
.logged-in-as {margin-top: 1em; margin-left: 1em;}
.logged-in-as a { font-weight: bold; color:#5c5a5c; margin-top: 1em;}
.form-submit {padding-bottom: 1em; padding-left: 1em;}


.border_radius_top {border-radius:4px 4px 0 0; }
.border_radius_bottom {border-radius: 0 0 4px 4px; margin-bottom: 0.1em;}
.widget_talkirecentpostswidget {margin-top: 0em;}
.item_text {float:left; position:relative;}
.item_text a {}
/*.item_text img {height: 50px !important; width: 50px !important; border-radius: 25px; float: left; margin-right: 1em;}
.item_text h4{margin-top: 15px;}
.item_text p a {text-decoration: none; color:#0b7dac; font-weight: bold;}*/
.item_img_autor {float:left; height: 100%;}
.item_img_autor img {height: 60px !important; width: 60px !important; border-radius: 25px; float: left; margin-right: 1em;}

.item_text_llibre img {height: 65px !important; width: 40px !important; border-radius: 4px; float: left; margin-right: 1em;}
.item {clear: both; margin:1%; width: 98%;}
.item h4 {}
.item h3{background: linear-gradient(#5eaed1 45%, #0b7dac); text-shadow: -1px -1px 0px #000000; font-family: arial, sans serif; font-weight: bold; font-size: 16px; line-height: 20px; color: #ffffff; border-radius: 4px 4px 0px 0px; text-align: center; padding: 0.3px 0.3px 0.3px 0.3em; }
.item h3 a, .item h4 a {text-decoration: none; color:#5c5a5c; line-height: 20px;}
.news {float:left; padding: 20px 0 10px 20px; width:31.65%;}
.news h2{font-size: 22px; margin-top: 18px;color: #7b7b7b;}

/* widget home taula activitats */
.taula_agenda {margin-top: 0em; background-color: #dedddd;}
.dia_taula {padding: 0 0 0 5px; background-color: #5eaed1; color: #fff; font-weight: 700;font-size: 12px; width:25%;}
.mes_taula {padding: 0 0 0 5px; background-color: #0d4861; color: white; text-align: left; font-weight: 700;font-size: 12px; width:75%;}
.hora_taula {padding: 0 0 0 5px; font-size: 10px; font-weight: 700; background-color:#E0E0E0; width:25%;}
.bib_taula {padding: 0 0 0 5px; font-size: 10px;text-align: left; font-weight: 700; background-color:#E0E0E0; width:75%;}
.link_taula {padding: 0 0 0 5px; margin:0px; text-align: left; font-size: 12px;}
.link_taula a {font-weight: bold; color: #0b7dac; text-decoration: none;}
.subtitol {padding-left: 5px;}

/* footer */
.copyright {  text-align: center; margin-bottom: 1.5em; padding-top: 5em; font-size: 10px;}  
        /* CANVI 14/04/2016: Al footer, he ocultat imatge "Badalona,ciutat de primera", per això canvio el padding-top: 3em; per padding-top: 5em; */
.copyright a {text-decoration: none; color: #5c5a5c; font-weight: bold;}
.copyright a:hover {color: #382525;}
.powered { padding-top: 3em; margin-bottom: 1.5em; text-align: left; height: 4em; width: 33%; display: inline-block; height: auto;}
.powered img {height:100%;}
.clearfix { border-top: 1px; border-color: black;}

/* Agenda */
.data{border: 3px solid transparent; border-radius: 0.5em 0.5em 0.5em 0.5em; font-weight: bold;margin: 0;padding: 0.1em;text-align: center; width: 80%;}
.dia_main {background-color: #b00000;border-radius: 0.2em 0.2em 0em 0em; border-bottom: 2px solid #FFFFFF;color: #000000; padding: 0.1em;display: block;font-size: 0.8em;color: #fff;}
.dia { background-color: #5eaed1; border-radius: 0.2em 0.2em 0em 0em; border-bottom: 2px solid #FFFFFF; color: #000000; padding: 0.1em; display: block; font-size: 1.4em; color: #fff; }
.mes{border-radius:  0em 0em 0.3em 0.3em; background-color: #0d4861; color: #FFFFFF;display: block;font-size: 1em;text-transform: uppercase;}
.hora{font-weight: bold;color: #222;font-size:1em; text-align: left;}
.nom_biblio{font-weight: bold;color: #222;font-size:1em; text-transform: uppercase;display: block;}
.col_dia{background-color: transparent !important;border-top: 0px solid transparent; border-bottom: 0px solid transparent;}
div.agenda {border: 0 solid #CCCCCC;clear: both; padding: 0;}
td, div { font-size: 12px; border: 0px solid transparent; }
table.activitats {border-collapse: collapse;font-size: 100%;margin: 0;width: 100%;border: 0px solid #000; }
table.activitats tr.fila0 {background-color: #FFFFFF;}
table.activitats tr.fila1 {background-color: #f5f5f5;}
table.activitats tr td.normal {padding-top: 0px; border-top: 0px dashed #ccc; border-bottom: 0px dashed #ccc; padding: 0; vertical-align: top;}
table.activitats tr td.primcol {padding-top: 0px;border-top: 0px dotted #ccc;border-bottom: 0px dotted #ccc;border-right: 1px dotted #333;background-color: #FAFAFA;padding: 0;vertical-align: top; }
table.activitats tr td span.titol {font-size: 105%;font-weight: bold;text-decoration: none;color: #0b7dac;}
table.activitats tr td span.subtitol {font-size: 90%;font-weight: normal !important;font-style: italic; }
.fb_iframe_widget iframe {position: relative !important;}
.link_activitat {text-decoration: none;}


.ngg-gallery-thumbnail-box {margin-right:0 !important;}

/* Pagination */
.wp-seo-paginate {padding:0; margin:0;}
.wp-seo-paginate li {display:inline; list-style:none;}
.wp-seo-paginate a {background:#ddd; border:1px solid #ccc; color:#666; margin-right:4px; padding:3px 6px; text-align:center; text-decoration:none;}
.wp-seo-paginate a:hover, .wp-seo-paginate a:active {background:#ccc; color:#888;}
.wp-seo-paginate .title {color:#555; margin-right:4px;}
.wp-seo-paginate .gap {color:#999; margin-right:4px;}
.wp-seo-paginate .current {color:#fff; background:#5f87ae; border:1px solid #89adcf; margin-right:4px; padding:3px 6px;}
.wp-seo-paginate .page {}
.wp-seo-paginate .prev, .wp-seo-paginate .next {}
 

/*FORUMS*/
	#bbpress-forums { background-color: white !important; border-top: solid 3px #337ab7; }
	/*#bbpress-forums { background-color: #ffffff;}*/
	.bbp-breadcrumb p { background-color: white !important; }
	.bbp-breadcrumb-home { background: transparent; clear: both; margin-bottom: 20px; overflow: hidden; font-size: 12px; background-color: white !important; }
	#bbpress-forums hr { margin: 0 0 24px 0; }
	#bbpress-forums div.even, #bbpress-forums ul.even { background-color: #fff; }
	#bbpress-forums div.odd, #bbpress-forums ul.odd { background-color: #fbfbfb; }

	body.reply-edit .reply { float: none; }

	#bbpress-forums div.reply { height: auto; width: 100%; }
	#bbpress-forums div.bbp-forum-header, #bbpress-forums div.bbp-topic-header, #bbpress-forums div.bbp-reply-header { background-color: #f4f4f4; }

	#bbpress-forums .status-trash.even,
	#bbpress-forums .status-spam.even { background-color: #fee; }
	#bbpress-forums .status-trash.odd,
	#bbpress-forums .status-spam.odd { background-color: #fdd; }

	#bbpress-forums .status-closed,
	#bbpress-forums .status-closed a { color: #ccc; }

	#bbpress-forums ul { background:  none; list-style: none; margin: 0; padding: 0; }

	#bbpress-forums ul.bbp-threaded-replies { margin-left: 50px; }

	#bbpress-forums li { background: none; margin: 0; list-style: none; }

	#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies,
	#bbpress-forums ul.bbp-search-results { font-size: 12px; overflow: hidden; border: 1px solid #eee; margin-bottom: 20px; clear: both; }

	#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-body, #bbpress-forums li.bbp-footer { clear: both; }

	#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: #f3f3f3; border-top: 1px solid #eee; font-weight: bold;
	padding: 8px; text-align: center; }

	#bbpress-forums li.bbp-header { background: #eaeaea; }

	#bbpress-forums li.bbp-header ul { overflow: hidden; }

	#bbpress-forums .bbp-forums-list { margin: 0 0 0 5px; padding-left: 15px; border-left: 1px solid #ddd; }

	#bbpress-forums .bbp-forums-list li { display: inline; font-size: 11px; }

	#bbpress-forums li.bbp-footer p { margin: 0; line-height: 1em; }

	li.bbp-forum-info, li.bbp-topic-title { float: left; text-align: left; width: 55%; }
	li.bbp-forum-topic-count, li.bbp-topic-voice-count, li.bbp-forum-reply-count, li.bbp-topic-reply-count { float: left; text-align: center;
	width: 10%; }

	li.bbp-forum-freshness,
	li.bbp-topic-freshness {
		text-align: center;
		float: left;
		width: 22%;
	}

	#bbpress-forums li.bbp-body ul.forum,
	#bbpress-forums li.bbp-body ul.topic {
		border-top: 1px solid #eee;
		overflow: hidden;
		padding: 8px;
	}

	li.bbp-header div.bbp-topic-content span#subscription-toggle,
	li.bbp-header div.bbp-topic-content span#favorite-toggle,
	li.bbp-header div.bbp-reply-content span#subscription-toggle,
	li.bbp-header div.bbp-reply-content span#favorite-toggle {
		float: right;
	}

	#bbpress-forums div.bbp-forum-title h3,
	#bbpress-forums div.bbp-topic-title h3,
	#bbpress-forums div.bbp-reply-title h3 {
		background: none;
		border: none;
		font-size: 16px;
	 	line-height: 1em;
	 	margin: 8px 0;
		padding: 0;
		text-transform: none;
	}

	#bbpress-forums div.bbp-forum-author,
	#bbpress-forums div.bbp-topic-author,
	#bbpress-forums div.bbp-reply-author {
		float: left;
		text-align: center;
		width: 115px;
	}

	#bbpress-forums div.bbp-forum-author img.avatar,
	#bbpress-forums div.bbp-topic-author img.avatar,
	#bbpress-forums div.bbp-reply-author img.avatar {
		border: none;
		max-width: 80px;
		padding: 0;
		margin: 12px auto 0 auto;
		float: none;
	}

	#bbpress-forums div.bbp-forum-author a.bbp-author-name,
	#bbpress-forums div.bbp-topic-author a.bbp-author-name,
	#bbpress-forums div.bbp-reply-author a.bbp-author-name {
		margin: 0 12px;
		word-break: break-word;
		display: inline-block;
	}

	#bbpress-forums div.bbp-topic-author a.bbp-author-name,
	#bbpress-forums div.bbp-reply-author a.bbp-author-name {
		clear: left;
		display: block;
	}

	#bbpress-forums div.bbp-forum-author .bbp-author-role,
	#bbpress-forums div.bbp-topic-author .bbp-author-role,
	#bbpress-forums div.bbp-reply-author .bbp-author-role {
		font-size: 11px;
		font-style: italic;
	}

	#bbpress-forums li.bbp-header .bbp-search-author,
	#bbpress-forums li.bbp-footer .bbp-search-author,
	#bbpress-forums li.bbp-header .bbp-forum-author,
	#bbpress-forums li.bbp-footer .bbp-forum-author,
	#bbpress-forums li.bbp-header .bbp-topic-author,
	#bbpress-forums li.bbp-footer .bbp-topic-author,
	#bbpress-forums li.bbp-header .bbp-reply-author,
	#bbpress-forums li.bbp-footer .bbp-reply-author {
		float: left;
		margin: 0;
		padding: 0;
		width: 120px;
	}

	#bbpress-forums li.bbp-header .bbp-search-content,
	#bbpress-forums li.bbp-footer .bbp-search-content,
	#bbpress-forums li.bbp-header .bbp-forum-content,
	#bbpress-forums li.bbp-footer .bbp-forum-content,
	#bbpress-forums li.bbp-header .bbp-topic-content,
	#bbpress-forums li.bbp-footer .bbp-topic-content,
	#bbpress-forums li.bbp-header .bbp-reply-content,
	#bbpress-forums li.bbp-footer .bbp-reply-content {
		margin-left: 140px;
		padding: 0;
		text-align: left;
	}

	div.bbp-forum-header,
	div.bbp-topic-header,
	div.bbp-reply-header,
	li.bbp-body div.hentry {
		margin-bottom: 0;
		overflow: hidden;
		padding: 8px;
	}

	div.bbp-forum-header,
	div.bbp-topic-header,
	div.bbp-reply-header {
		border-top: 1px solid #ddd;
		clear: both;
	}

	span.bbp-author-ip { font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif; font-size: 11px; font-weight: bold; color: #aaa; }

	/* =Topic and reply content
	-------------------------------------------------------------- */
		#bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-topic-content, #bbpress-forums div.bbp-reply-content { margin-left: 130px;
		padding: 12px 12px 12px 0; text-align: left; }
		.bbp-the-content {background-color: #f5f5f5;}

	/* Clearing hack
	-------------------------------------------------------------- */
		#bbpress-forums div.bbp-forum-content:after, #bbpress-forums div.bbp-topic-content:after, #bbpress-forums div.bbp-reply-content:after {
			clear: both; content: "."; display: block; float: none; height: 0; font-size: 0; visibility: hidden; }
		#bbpress-forums div.bbp-topic-content a, #bbpress-forums div.bbp-reply-content a {
			background: none; border: none; display: inline; font-weight: normal; margin: 0; padding: 0; }
		#bbpress-forums div.bbp-topic-content h1, #bbpress-forums div.bbp-reply-content h1, #bbpress-forums div.bbp-topic-content h2,
		#bbpress-forums div.bbp-reply-content h2, #bbpress-forums div.bbp-topic-content h3, #bbpress-forums div.bbp-reply-content h3,
		#bbpress-forums div.bbp-topic-content h4, #bbpress-forums div.bbp-reply-content h4, #bbpress-forums div.bbp-topic-content h5,
		#bbpress-forums div.bbp-reply-content h5, #bbpress-forums div.bbp-topic-content h6, #bbpress-forums div.bbp-reply-content h6 {
			clear: none; line-height: 1em; margin: 24px 0; padding: 0; }
		#bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img { max-width: 100%; }
		#bbpress-forums div.bbp-topic-content ul, #bbpress-forums div.bbp-reply-content ul, #bbpress-forums div.bbp-topic-content ol,
		#bbpress-forums div.bbp-reply-content ol { margin: 0 15px 15px; padding: 0; }
		#bbpress-forums div.bbp-topic-content ul li, #bbpress-forums div.bbp-reply-content ul li { list-style-type: disc; }
		#bbpress-forums div.bbp-topic-content ol li, #bbpress-forums div.bbp-reply-content ol li { list-style-type: decimal; }
		#bbpress-forums div.bbp-topic-content ol li li, #bbpress-forums div.bbp-reply-content ol li li { list-style-type: lower-alpha; }
	 	#bbpress-forums div.bbp-topic-content ol li li li, #bbpress-forums div.bbp-reply-content ol li li li { list-style-type: upper-roman; }
		#bbpress-forums div.bbp-topic-content code, #bbpress-forums div.bbp-reply-content code, #bbpress-forums div.bbp-topic-content pre,
		#bbpress-forums div.bbp-reply-content pre { ont-family: Inconsolata, Consolas, Monaco, Lucida Console, monospace;
			display: inline-block; background-color: #f9f9f9; border: 1px solid #ddd; padding: 0 5px; max-width: 95%; vertical-align: middle;
			margin-top: -3px; }
		#bbpress-forums div.bbp-topic-content pre, #bbpress-forums div.bbp-reply-content pre { display: block; line-height: 18px; margin: 0 0 24px;
			padding: 5px 10px; white-space: pre; overflow: auto; }
		#bbpress-forums div.bbp-topic-content pre code, #bbpress-forums div.bbp-reply-content pre code { display: block; border: none; padding: 0;
			margin: 0; background-color: transparent; overflow-wrap: normal; overflow: auto; max-width: 100%; }	

	/* =Reply to
	-------------------------------------------------------------- */
		#bbpress-forums div.bbp-reply-to { margin-left: 130px; padding: 12px 12px 12px 0; text-align: right; }
		#bbpress-forums div#bbp-cancel-reply-to { text-align: right; }	

	/* =Breadcrumb and Tags
	-------------------------------------------------------------- */
		div.bbp-breadcrumb { float: left; background-color: white; }
		div.bbp-breadcrumb, div.bbp-topic-tags { font-size: 12px; }
		#bbpress-forums div.bbp-breadcrumb p, #bbpress-forums div.bbp-topic-tags p { margin-bottom: 10px }
		#bbpress-forums div.bbp-topic-tags { float: right; }
		#bbp-topic-hot-tags { clear: both; }

	/* =Search
	-------------------------------------------------------------- */
		#bbpress-forums #bbp-search-form { clear: left; }
		#bbpress-forums #bbp-search-form .hidden { height: 0; width: 0; overflow: hidden; position: absolute; background: none; left: -999em; }
		#bbpress-forums #bbp-search-form #bbp_search { display: inline-block; width: auto; }
		#bbpress-forums div.bbp-search-form { float: right; }

	/* =Admin Links
	-------------------------------------------------------------- */
		span.bbp-admin-links { float: right; color: #ddd; }
		span.bbp-admin-links a { color: #bbb; font-weight: normal; font-size: 10px; text-transform: uppercase; text-decoration: none; }
		fieldset span.bbp-admin-links { float: left; } 
		tr td span.bbp-admin-links a:hover { color: #ff4b33; }
		td.bbp-topic-admin-links, td.bbp-topic-counts { width: 50%; }
		.bbp-forum-header a.bbp-forum-permalink, .bbp-topic-header a.bbp-topic-permalink, .bbp-reply-header a.bbp-reply-permalink {
			float: right; margin-left: 10px; color: #ccc; }		

	/* =Toggles
	-------------------------------------------------------------- */
		.bbp-row-actions #favorite-toggle a { text-decoration: none; padding: 0 3px 1px; color: #7c7; border: 1px solid #aca; background-color: #dfd;
		font-weight: bold; font-size: 13px; }
		.bbp-row-actions #favorite-toggle a:hover { color: #5a5; border-color: #7c7; background-color: #beb; }
		.bbp-row-actions #favorite-toggle span.is-favorite a { color: #faa; border: 1px solid #faa; background-color: #fee; }
		.bbp-row-actions #favorite-toggle span.is-favorite a:hover { color: #c88; border-color: #c88; background-color: #fdd; }

		.bbp-row-actions #subscription-toggle a { text-decoration: none; padding: 0 3px 1px; color: #7c7; border: 1px solid #aca; background-color: #dfd;
		font-weight: bold; font-size: 13px; }
		.bbp-row-actions #subscription-toggle a:hover { color: #5a5; border-color: #7c7; background-color: #beb; }
		.bbp-row-actions #subscription-toggle span.is-subscribed a { color: #faa; border: 1px solid #faa; background-color: #fee; }
		.bbp-row-actions #subscription-toggle span.is-subscribed a:hover { color: #c88; border-color: #c88; background-color: #fdd; }
		#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta { font-size: 11px; margin: 5px 0 5px; padding: 0;
		word-wrap: break-word; }
		#bbpress-forums p.bbp-topic-meta span { white-space: nowrap; }

	/* =Pagination
	-------------------------------------------------------------- */
		.bbp-pagination-count { float: left; border: 1px solid transparent; }
		.bbp-pagination-links { float: right; list-style: none; display: inline; }
		.bbp-pagination-links a, .bbp-pagination-links span.current { display: block; float: left; padding: 0px 5px; margin-left: 5px; 
			border: 1px solid #efefef; text-decoration: none; }
		.bbp-pagination-links a:hover, .bbp-pagination-links span.current { background: #eee; opacity: 0.8; border: 1px solid #ddd; }
		.bbp-pagination-links span.dots { display: block; float: left;  padding: 1px 4px; margin-left: 5px; }
		.bbp-pagination { float: left; width: 100%; margin-bottom: 15px; }
		.bbp-topic-pagination { display: inline-block; margin-left: 5px; margin-bottom: 2px; }
		.bbp-topic-pagination a { font-size: 10px; line-height: 10px; padding: 1px 3px; border: 1px solid #ddd; text-decoration: none; }

	/* =Forms
	-------------------------------------------------------------- */

		#bbpress-forums fieldset.bbp-form {
			clear: left;
		}

		#bbpress-forums fieldset.bbp-form {
			border: 1px solid #eee;
			padding: 10px 20px;
			margin-bottom: 10px;
		}

		#bbpress-forums fieldset.bbp-form legend {
			padding: 5px;
		}

		#bbpress-forums fieldset.bbp-form label {
			margin: 0;
			display: inline-block;
		}

		#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,
		#bbp-login fieldset label,
		#bbp-register fieldset label,
		#bbp-lost-pass fieldset label {
			width: 100px;
		}

		#bbpress-forums fieldset.bbp-form p,
		#bbpress-forums fieldset.bbp-form textarea,
		#bbpress-forums fieldset.bbp-form select,
		#bbpress-forums fieldset.bbp-form input {
			margin: 0 0 8px;
		}

		textarea#bbp_reply_content,
		textarea#bbp_topic_content,
		textarea#bbp_forum_content {
			width: 97%;
			box-sizing: border-box;
		}

		textarea#bbp_forum_content {
			height: 210px;
		}

		#bbpress-forums fieldset.bbp-forum-form-attributes {
			width: 200px;
			float: right;
			clear: none;
			margin-left: 25px;
		}

	/* =Fix for too-long forum names, usually from conversion 
	-------------------------------------------------------------- */
		#bbpress-forums fieldset select#bbp_forum_id {
			max-width: 200px;
		}

    .bbp-topic-form{  /* ELENA 20160612: Canvi per a que no es mostri el div de nou tema al fòrum */
    	display:none; 
    }
		.bbp-topic-form,
		.bbp-reply-form,
		.bbp-topic-tag-form {
			clear: left;
		}
		body.topic-edit .bbp-topic-form div.avatar img,
		body.reply-edit .bbp-reply-form div.avatar img,
		body.single-forum .bbp-topic-form div.avatar img,
		body.single-reply .bbp-reply-form div.avatar img {
			margin-right: 0;
			padding: 10px;
			border: 1px solid #ddd;
			line-height: 0;
			background-color: #efefef;
		}


		body.page .bbp-reply-form code,
		body.page .bbp-topic-form code,
		body.single-topic .bbp-reply-form code,
		body.single-forum .bbp-topic-form code,
		body.topic-edit .bbp-topic-form code,
		body.reply-edit .bbp-reply-form code {
			font-size: 10px;
			background-color: #f0fff8;
			border: 1px solid #CEEFE1;
			display: block;
			padding: 8px;
			margin-top: 5px;
			width: 369px;
		}

		#merge_tag,
		#delete_tag {
			display: inline;
		}

		div.bbp-submit-wrapper {
			margin-top: 15px;
			float: right;
			clear: both;
		}

		p.form-allowed-tags {
			max-width: 100%;
		}

	/* =TinyMCE in themes
	-------------------------------------------------------------- */
		#bbpress-forums div.bbp-the-content-wrapper {
			margin-bottom: 10px;
		}

		#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
			width: 100%;
			margin: 0;
			font-size: 12px;
		}

		#bbpress-forums div.bbp-the-content-wrapper table,
		#bbpress-forums div.bbp-the-content-wrapper tbody,
		#bbpress-forums div.bbp-the-content-wrapper tr,
		#bbpress-forums div.bbp-the-content-wrapper td {
			border: none;
			padding: 0;
			margin: 0;
			width: auto;
			line-height: 1em;
		}

		#bbpress-forums div.bbp-the-content-wrapper input {
			font-size: 12px;
			padding: 5px;
			margin: 0 2px 0 0;
			line-height: 1em;
		}

		#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar {
			padding: 5px;
			min-height: 26px;
		}
		#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar {
			padding: 4px 4px 8px;
		}

		#bbpress-forums div.wp-editor-container {
			margin: 0;
			padding: 0;
			line-height: 0;
		}

		#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar {
			line-height: 16px;
		}

	/* =Edit User
	-------------------------------------------------------------- */

		#bbpress-forums #bbp-your-profile fieldset {
			padding: 20px 20px 0 20px;
		}
			#bbpress-forums #bbp-your-profile fieldset div {
				margin-bottom: 20px;
				float: left;
				width: 100%;
				clear: left;
			}
			#bbpress-forums #bbp-your-profile fieldset select {
				margin-bottom: 0;
			}
			#bbpress-forums #bbp-your-profile fieldset input,
			#bbpress-forums #bbp-your-profile fieldset textarea {
				margin-bottom: 0;
				width: 60%;
				background: #f9f9f9;
				border: 1px solid #ddd;
				box-shadow: none;
				padding: 5px 8px;
				border-radius: 0;
			}
			#bbpress-forums #bbp-your-profile fieldset input:focus,
			#bbpress-forums #bbp-your-profile fieldset textarea:focus {
				border: 1px solid #ccc;
				box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
				outline-color: rgba(240,255,240,0.1);
			}
			#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox {
				width: auto;
			}
			#bbpress-forums #bbp-your-profile fieldset legend {
				display: none;
			}
			#bbpress-forums #bbp-your-profile fieldset label[for] {
				float: left;
				width: 20%;
				padding: 5px 20px 5px 0;
				text-align: right;
				cursor: pointer;
			}
			#bbpress-forums #bbp-your-profile fieldset dl label[for] {
				text-align: left;
				width: 60%;
			}
			#bbpress-forums #bbp-your-profile fieldset span.description {
				margin: 5px 0 0 20%;
				font-size: 12px;
				font-style: italic;
				float: left;
				clear: left;
				width: 60%;
				padding: 5px 8px;
				border: #cee1ef 1px solid;
				background-color: #f0f8ff;
			}

			#bbpress-forums #bbp-your-profile fieldset fieldset {
				margin: 0;
				border: none;
				padding: 0;
				clear: none;
				float: none;
			}
			#bbpress-forums #bbp-your-profile fieldset fieldset.password {
				width: 60%;
				display: inline;
			}
			#bbpress-forums #bbp-your-profile fieldset fieldset.password input,
			#bbpress-forums #bbp-your-profile fieldset fieldset.password span {
				width: 100%;
			}
			#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl {
				margin: 0;
			}
			#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description {
				margin-left: 0;
				margin-bottom: 20px;
			}

			#bbpress-forums #bbp-your-profile fieldset.submit button {
				float: right;
			}

	/* =Notices
	-------------------------------------------------------------- */

		div.bbp-template-notice,
		div.indicator-hint {
			border-width: 1px;
			border-style: solid;
			padding: 0 0.6em;
			margin: 5px 0 15px;
			border-radius: 3px;
			background-color: #ffffe0;
			border-color: #e6db55;
			color: #000;
			clear: both;
		}
		div.bbp-template-notice a {
			color: #555;
			text-decoration: none;
		}
			div.bbp-template-notice a:hover {
				color: #000;
			}
			div.bbp-template-notice.info {
				border: #cee1ef 1px solid;
				background-color: #f0f8ff;
			}
			div.bbp-template-notice.important {
				border: #e6db55 1px solid;
				background-color: #fffbcc;
			}
			div.bbp-template-notice.error,
			div.bbp-template-notice.warning {
				background-color: #ffebe8;
				border-color: #c00;
			}
			div.bbp-template-notice.error a,
			div.bbp-template-notice.warning a {
				color: #c00;
			}
			div.bbp-template-notice p {
				margin: 0.5em 0 6px 0 !important;
				padding: 2px;
				font-size: 12px;
				line-height: 140%;
			}

	/* =Stickies
	-------------------------------------------------------------- */

		.bbp-topics-front ul.super-sticky,
		.bbp-topics ul.super-sticky,
		.bbp-topics ul.sticky,
		.bbp-forum-content ul.sticky {
			background-color: #ffffe0 !important;
			font-size: 1.1em;
		}

	/* =Revisions
	-------------------------------------------------------------- */

		#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
		#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
		#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
			border-top: 1px dotted #ddd;
			width: 100%;
			margin: 0;
			padding: 8px 0 0 0;
			font-size: 11px;
			color: #aaa;
		}

		#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,
		#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,
		#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li {
			list-style-type: none;
		}

	/* =Widgets
	-------------------------------------------------------------- */

		.bbp-login-form fieldset legend {
			display: none;
		}

		.bbp-login-form .bbp-username input,
		.bbp-login-form .bbp-email input,
		.bbp-login-form .bbp-password input {
			padding: 5px;
		}

		.bbp-login-form label {
			width: 140px;
			display: inline-block;
		}

		#sidebar .bbp-login-form label {
			width: 70px;
		}

		.bbp-login-form .bbp-username,
		.bbp-login-form .bbp-email,
		.bbp-login-form .bbp-password,
		.bbp-login-form .bbp-remember-me,
		.bbp-login-form .bbp-submit-wrapper {
			margin-top: 10px;
		}

		.bbp-login-form .bbp-remember-me {

		}

		.bbp-login-form .bbp-submit-wrapper {
			text-align: right;
		}

		.bbp-login-form .bbp-login-links {
		}

		.bbp-login-form .bbp-login-links a {
			float: left;
			clear: left;
		}

		.bbp-logged-in img.avatar {
			float: left;
			margin: 0 15px 0 0;
		}

		.bbp-logged-in h4 {
			font-weight: bold;
			font-size: 1.3em;
			clear: none;
			margin-bottom: 10px;
		}

	/* =Avatars
	-------------------------------------------------------------- */

		#bbpress-forums p.bbp-topic-meta img.avatar,
		#bbpress-forums ul.bbp-reply-revision-log img.avatar,
		#bbpress-forums ul.bbp-topic-revision-log img.avatar,
		#bbpress-forums div.bbp-template-notice img.avatar,
		#bbpress-forums .widget_display_topics img.avatar,
		#bbpress-forums .widget_display_replies img.avatar {
			float: none;
			margin-bottom: -7px;
			border: 3px double #ddd;
		}

		fieldset div.avatar {
			float: right;
		}	

	/* =BuddyPress Activity Streams
	-------------------------------------------------------------- */

		.activity-list li.bbp_topic_create .activity-content .activity-inner,
		.activity-list li.bbp_reply_create .activity-content .activity-inner {
			border-left: 2px solid #eaeaea;
			margin-left: 5px;
			padding-left: 10px;
		}

	/* =User Pages
	-------------------------------------------------------------- */

		#bbpress-forums h1 {
			clear: none;
			font-size: 1.8em;
			line-height: 1em;
			padding-bottom: 10px;
		}

		#bbpress-forums #bbp-user-wrapper {
			float: left;
			width: 100%;
		}

		#bbpress-forums .bbp-user-section {
			overflow: auto;
		}

		#bbpress-forums #bbp-user-wrapper h2.entry-title {
			font-size: 1.4em;
			margin: 0;
			padding-bottom: 10px;
			padding-top: 0;
			clear: none;
		}

		#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,
		#bbpress-forums #bbp-user-wrapper ul.bbp-topics,
		#bbpress-forums #bbp-user-wrapper ul.bbp-forums,
		#bbpress-forums #bbp-user-wrapper ul.bbp-replies,
		#bbpress-forums #bbp-user-wrapper fieldset.bbp-form {
			clear: none;
		}

		#bbpress-forums #bbp-single-user-details {
			margin: 0;
			width: 150px;
			float: left;
			overflow: hidden;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-avatar {
			margin: 0;
			width: 150px;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar {
			border: none;
			height: 150px;
			padding: 0;
			margin: 0 0 20px 0;
			width: 150px;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-description {
			float: none;
			margin-left: 180px;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-navigation {
			float: none;
			margin: 0;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-navigation li {
			margin: 0;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-navigation a {
			padding: 5px 8px;
			display: block;
			border: 1px solid transparent;
			text-decoration: none;
		}

		#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
			background: #eee;
			opacity: 0.8;
		}

		#bbpress-forums #bbp-user-body {
			margin-left: 180px;
		}

		body.my-account #bbpress-forums {
			border-top: none;
			padding-top: 0;
			margin-bottom: 0;
		}

	/* =User Capabilities
	-------------------------------------------------------------- */

		#bbpress-forums dl.bbp-user-capabilities {
			display: inline-block;
			vertical-align: top;
		}

		#bbpress-forums dl.bbp-user-capabilities dt {
			margin: 0 0 10px;
			text-transform: capitalize;
		}

		#bbpress-forums dl.bbp-user-capabilities dd {
			margin: 0;
			padding: 0;
		}

	/* =BuddyPress Group Forums
	-------------------------------------------------------------- */

		#bbpress-forums div.row-actions {
			font-size: 11px;
			visibility: hidden;
		}

		#bbpress-forums li:hover > div.row-actions {
			visibility: visible;
		}