/* @override 
	http://pruebas.wearemortensen.com/pilarinweb/wordpress/wp-content/themes/pilarinweb/assets/css/style.css
	http://pilarin.cat/beta/wp-content/themes/pilarinweb/assets/css/style.css */



/* @group Pilarin */

/* @group Base */

html {
	height: 100%;
	/*background-image: url(../img/paper_bg.png);*/
}

body {
	font-size: 14px;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* @end */

/* @group Typography */

h3 {
	margin-bottom: 10px;
}

p {
	line-height: 140%;
}

/* @end */

/* @group Layout */

#mask {
	padding: 49px 10px 0 20px;
}

#content {
	/*overflow: hidden;*/
	padding: 49px 10px 30px;
	background-color: white;
}

h1#logo {
	width: 140px;
	height: 37px;
	background: url(../img/logo.png) no-repeat left top;
}

h1#logo:hover {
	background: url(../img/logo.png) no-repeat left bottom;
}

/*h1#logo a {
	display: block;
	background: url(../img/logo_anim.gif) no-repeat left top;
}*/

#claim {
	visibility: hidden;
	width: 199px;
	padding-left: 9px;
	margin-top: 10px;
}

#main_menu {
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
}

#main_menu a {
	color: #333;
	text-decoration: none;
}

.sub-menu {
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 5px;
}

.sub-menu a {
	color: #666;
}

.sub-menu li {
	line-height: 23px;
}

.txt_input {
	outline: 0;
	border: 1px solid #d8d8d8;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
	-webkit-box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	-moz-box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	color: #333;
}

.search_input {
	margin-right: 5px;
	margin-top: 20px;
	width: 220px;
}

button#lupa {
	border-style: none;
	background: url(../img/lupa.png) no-repeat left top transparent;
	width: 31px;
	height: 28px;
	border-radius: 3px;
}

button#lupa:active {
	opacity: 0.5;
}

#second_menu {
	font-weight: 700;
	font-style: normal;
	font-size: 15px;
}

#second_menu a {
	color: #333;
	text-decoration: none;
}

#copyright {
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
}

#sidebar {
	background-color: white;
}

#sidebar .color01 > a:hover, #sidebar .current-menu-item.color01 > a {color: #009966;}
#sidebar .color02 > a:hover, #sidebar .current-menu-item.color02 > a {color: #B3B300;}
#sidebar .color03 > a:hover, #sidebar .current-menu-item.color03 > a {color: #CC9C00;}
#sidebar .color04 > a:hover, #sidebar .current-menu-item.color04 > a {color: #E68A2E;}
#sidebar .color05 > a:hover, #sidebar .current-menu-item.color05 > a {color: #FF6633;}
#sidebar .color06 > a:hover, #sidebar .current-menu-item.color06 > a {color: #CC3300;}
#sidebar .color07 > a:hover, #sidebar .current-menu-item.color07 > a {color: #CC3366;}
#sidebar .color08 > a:hover, #sidebar .current-menu-item.color08 > a {color: #993399;}
#sidebar .color09 > a:hover, #sidebar .current-menu-item.color09 > a {color: #660099;}
#sidebar .color10 > a:hover, #sidebar .current-menu-item.color10 > a {color: #0066CC;}
#sidebar .color11 > a:hover, #sidebar .current-menu-item.color11 > a {color: #009999;}

.color01 #content a {color: #009966;}
.color02 #content a {color: #B3B300;}
.color03 #content a {color: #CC9C00;}
.color04 #content a {color: #E68A2E;}
.color05 #content a {color: #FF6633;}
.color06 #content a {color: #CC3300;}
.color07 #content a {color: #CC3366;}
.color08 #content a {color: #993399;}
.color09 #content a {color: #660099;}
.color10 #content a {color: #0066CC;}
.color11 #content a {color: #009999;}

#home_image {
	height: 150px;
	position: relative;
	overflow: hidden;
	text-align: center;
	background: -moz-linear-gradient(90deg, #cbccc7 28.4%, #ededeb 84.6%) #c5c7c2;
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.284, #cbccc7), color-stop(0.846, #ededeb)) #c5c7c2;
}

#home_image img {
	width: auto;
	height: 100%;
	position: absolute;
	left: 50%;
	margin-left: -245px;
}

.row {
	clear: both;
	overflow: hidden;
}

.item_row {
	overflow: hidden;
	margin-left: -20px;
	margin-bottom: 20px;
	padding-right: 4px;
	/*padding-top: 3px;*/
}

.item_row li {
	width: 110px;
	margin-left: 40px;
	float: left;
	text-align: center;
	margin-bottom: 20px;
}

.item_row li img, .item_row article img {
	margin-bottom: 10px;
}

.item_row article {
	width: 220px;
	margin-bottom: 20px;
	margin: 0 auto;
}

.item_row article p {
	padding-left: 5px;
}

#content img {
	padding: 5px;
	box-shadow: 0 1px 5px #bbb;
	background-color: #fff;
	display: block;
	margin-top: 3px;
	margin-left: 3px;
	margin-right: 3px;
}

#feina img {
	width: 100px!important;
	height: auto;
}

#content .block_firm img.firma {
	margin-top: 10px;
	width: 110px;
}

.noframe {
	padding: 0 !important;
	box-shadow: none !important;
	background-color: transparent!important;
}

.content_title {
	padding-bottom: 5px;
	background: url(../img/separator.png) repeat-x left bottom;
	margin-bottom: 20px;
}

.single-feinas .content_title h2 {
	font-size: 18px;
	margin-bottom: 4px;
}

.single-feinas .content_title h1 {
	font-size: 26px;
}

.single-feinas .content_title h1 .editorial_link {
	font-size: 14px;
}

.content_title span, #section_title span {
	font-weight: 300;
}

.single-post .content_title h2 {
	font-size: 18px;
}

.single-post .content_title span {
	font-size: 14px;
}

.single-post .content_title h1 {
	font-size: 26px;
}

.content_subtitle {
	padding-bottom: 5px;
	background: url(../img/separator.png) repeat-x left bottom;
	margin-bottom: 20px;
	overflow: hidden;
}

.content_subtitle a {
	font-size: 18px;
	font-weight: 500;
	color: #666;
	float: left;
}

.content_subtitle .r_link {
	font-size: 14px;
	clear: both;
	padding-top: 5px;
}

.content_subtitle .r_link span {
	font-size: 10px;
	
}

#section_title {
	margin-bottom: 15px;
}

blockquote {
	font-size: 20px;
}

#content .entry .block_firm blockquote p {
	padding: 0;
}

#feina .item_row a {
	font-weight: 700;
	font-size: 16px;
}

#ara .item_row a {
	font-weight: 700;
	font-size: 14px;
}

#ara .item_row p {
	font-weight: 300;
}

#lapilarin h3 {
	margin-top: 5px;
}

.maincol article {
	margin-bottom: 50px;
}

.pubtime {
	margin-bottom: 3px;
}

article h1 {
	font-size: 20px;
	margin-bottom: 5px;
}

#content article.post img {
	margin-bottom: 16px;
	width: 100%;
	height: auto;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	clear: both;
	display: block;
}

.page-id-18 #content article.post img {
	clear: none;
}

#content article.post .premsa_item.itemcol img {
	width: auto;
}

.pdf_book {
	background: url(../img/icon_pdf_book.png) no-repeat -69px top;
	padding-top: 90px;
	display: block;
	width: 160px;
	font-weight: 500;
}

.pdf_book:hover {
	background: url(../img/icon_pdf_book.png) no-repeat left -79px;
}

.block_firm {
	width: 220px;
	margin-bottom: 40px;
}

.single_article_title {
	padding-top: 5px;
}

.item_numb {
	background-color: #CC9C00;
	border-radius: 7px;
	color: white;
	padding: 2px 4px 1px;
	vertical-align: 1px;
	margin-left: 2px;
}

.item_row article.card {
	cursor: pointer;
	padding: 5px;
	background: white;
	box-shadow: 0 1px 5px #bbb;
	margin: 3px 0 20px 23px;
	width: 210px;
}

#content .card img {
	padding: 0;
	margin: 0;
	box-shadow: none;
}

#content div.back p {
	padding: 0;
}

.card .back {
	
	display: none;

	text-align: center;
	padding: 20px 8px 64px;
	background-color: #E4E4DE;
	overflow: hidden;
	position: relative;
}

.card .back h1 {
	font-weight: 700;
	font-size: 16px;
	color: #6B6B50;
	padding-bottom: 8px;
	margin-bottom: 15px;
	background: url(../img/separator_backdet.png) repeat-x left bottom;
}

.card .back a span {
	position: absolute;
	width: 91px;
	height: 53px;
	bottom: 8px;
	right: 8px;
	background: url(../img/icon_continuar.png) left top;
}

.card .back a:hover span {
	background: url(../img/icon_continuar.png) left bottom;
}

#content #sec_lapilarin > img {
	margin-bottom: 22px;
}

#content .contact > img {
	float: left;
}

aside.premsa_item {
	padding: 15px 0 30px;
}

#content .premsa_item img {
	float: left;
	margin: 0px 10px 0px 0px;
}

.premsa_item_txt {
	margin-left: 160px;
}

.premsa_item_txt a {
	background: url(../img/icon_download.png) no-repeat left top;
	padding: 4px 0 4px 30px;
	
}

.foot {
	margin-left: 20px;
}

.post {
	max-width: 700px;
}

#content article.post .contact > img {
	display: none;
}

.contactcol {
	margin-left: 0px;
	width: auto;
}


#content img.attachment-portada.wp-post-image {
	width: auto;
	float: none;
	margin-bottom: 20px;	
}


.page-id-16 .post .itemcol p {
	margin-bottom: 30px;
}

p.pdf-link a {
	background: url(../img/icon_download.png) no-repeat left top;
	padding: 4px 0 4px 30px;
}

/* @end */


/* @group contact */

.entry .gform_body ul {
	padding-left: 0;
}

.entry .gform_body ul li {
	list-style: none;
	padding-bottom: 15px;
}

.gform_wrapper input,
.gform_wrapper textarea {
	outline: 0;
	border: 1px solid #d8d8d8;
	width: 290px;
	padding: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	-moz-box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	box-shadow: inset 0px 2px 3px rgba(100,100,100,0.1);
	color: #333;
}

.gform_wrapper textarea {
	height: 120px;
	resize: vertical;
}

input:focus,
textarea:focus {
	border-color: #bdbdbd;
	color: #333;
}

.gfield_label {
	padding-bottom: 4px;
	display: block;
}

.gfield_required {
	color: #B3B300;
	margin-left: 3px;
	font-size: 16px;
}

.validation_error,
.validation_message {
	color: #ff0000;
}

.gform_footer .button {
	width: 70px;
	height: 27px;
	text-align: center;
	cursor: pointer;
	border-style: none;
	font-size: 14px;
	background-color: #B3B300;
	color: white;
}



/* @end */

/* @group paginación */

.wp-pagenavi {
	background: url(../img/separator.png) repeat-x left top;
	padding-top: 15px;
	margin-bottom: 50px;
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
	border-style: none!important;
}

/* @end */


/* @group WP Post Styles */

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	color: #333;
	float: none;
	padding: 0;
	margin-bottom: 6px;
}

.entry h1 {
	font-size: 20px;
	line-height: 28px;
}

.entry h2 {
	font-size: 18px;
	line-height: 26px;
}

.entry h3 {
	font-size: 17px;
	line-height: 24px;
}

.entry h4 {
	font-size: 16px;
	line-height: 22px;
}

.entry h5 {
	font-size: 15px;
	line-height: 20px;
}

.entry h6 {
	font-size: 14px;
	line-height: 17px;
}

.entry blockquote p {
	padding-bottom: 30px;
	padding-top: 16px;
}

.entry address {
	font-size: 13px;
	line-height: 17px;
	font-style: italic;
}

.entry pre {
	font: 14px "Courier New", Courier, mono;
	overflow: auto;
	padding: 10px;
	background-color: #f3f3f3;
	border: 1px solid #e6e6e6;
	margin-bottom: 10px;
}

.entry ul {
	padding-bottom: 10px;
	padding-left: 17px;
}

.entry ul li {
	padding-bottom: 10px;
	list-style-image: url(../img/bullet.png);
}

.entry ol {
	padding-bottom: 10px;
	padding-left: 20px;
}


.entry ol li {
	list-style-type: decimal;
	list-style-position: inherit;
	padding-bottom: 10px;

}

.entry .grafica {
	position: relative;
}

.entry .grafica h3 {
	position: absolute;
	top: 17px;
	left: 18px;
}

/* @end */

/* @group wp-images */

#content .alignnone {
	margin-bottom: 16px;
	margin-top: 10px;
}

#content .aligncenter {
	display: block;
	margin: 10px auto 16px;
}

#content .alignleft {
	float: left;
	margin-bottom: 16px;
	margin-top: 10px;
}

#content .alignright {
	float: right;
	margin-bottom: 16px;
	margin-top: 10px;
}

#content .wp-caption-text {
	font-style: italic;
	color: #787878;
}

figure img {
margin-bottom: 7px!important;
}

figcaption {
	font-weight: normal;
	font-style: normal;
	font-size: 11px;
	margin-left: 9px;
	text-align: right;
}

/* @end */

/* @group Media-queries */

@media print {
	* {
	background: transparent !important;
	color: black !important;
	text-shadow: none !important;
	filter: none !important;
	-ms-filter: none !important;
}

@page	 {
	margin: 0.5cm;
}

h2,h3 {
	orphans: 3;
	widows: 3;
	page-break-after: avoid;
}

p {
	orphans: 3;
	widows: 3;
}

pre,blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}

abbr[title]:after {
	content: " (" attr(title) ")";
}

a,a:visited {
	color: #444 !important;
	text-decoration: underline;
}

a[href]:after {
	content: " (" attr(href) ")";
}

a[href^="javascript:"]:after,a[href^="#"]:after {
	content: "";
}

img {
	max-width: 100% !important;
	page-break-inside: avoid;
}

thead {
	display: table-header-group;
}

tr {
	page-break-inside: avoid;
}

.ir a:after {
	content: "";
}

}

/* 400px */
@media only screen and (min-width: 400px) {

#main_menu {
	float: left;
	margin-right: 120px;
	padding-bottom: 20px;
}

.search_input {
	margin-top: 0;
	width: 107px;
}

#sidebar form {
	position: absolute;
	top: 102px;
	left: 237px;
}

#sidebar {
	overflow: hidden;
	padding-bottom: 0;
	position: relative;
	background-color: white;
}

.foot {
	position: absolute;
	bottom: 12px;
	left: 241px;
	margin-left: 0px;
}

#second_menu {
	margin-left: 0;
}

	}



/* 480px */
@media only screen and (min-width: 480px) {

.item_row li {
	margin-left: 18px;
	
}

.item_row article {
	margin: 0 0 20px 18px;
	float: left;
}

.lap_home_txt {
	width: 416px;
}

.item_row li {
	margin-left: 40px;
}

.item_row article {
	margin-left: 18px;
}

.search_input {
	width: 136px;
}

.sidecol {
	width: 220px;
}

.maincol {
	width: 460px;
	padding-bottom: 20px;
}

	}


/* 493px */
@media only screen and (min-width: 493px) {

#home_image {
	height: 300px;
	clear: both;
}

#home_image img {
	margin-left: -493px;
}

.item_row li {
	margin-left: 45px;
}

.item_row article {
	margin-left: 24px;
}



	}


/* 600px */
@media only screen and (min-width: 600px) {

/*#content {
	padding-right: 3px;
}*/

.item_row {
	margin-left: -13px;
}

.item_row li {
	margin-left: 66px;
}

.item_row article {
	margin-left: 53px;
}

.content_subtitle .r_link {
	float: right;
	clear: none;
	padding-top: 0;
}

.itemcol {
	max-width: 620px;
}

.ie7 .itemcol, .ie8 .itemcol {
	width: 620px;
}

#content img.attachment-portada.wp-post-image {
	width: auto;
	float: left;
	margin-right: 40px;
	margin-bottom: 40px;	
}


	}

/* 768px */
@media only screen and (min-width: 768px) {

/*img {
	height: auto!important;
	width: auto!important;
}*/

#content {
	padding-right: 20px;
	padding-left: 20px;
}

.item_row {
	margin-left: -20px;
}

.item_row li {
	margin-left: 50px;
}

.item_row article {
	margin-left: 31px;
}

body {
	font-size: 14px;
	padding:0 0 0 230px;
}

#sidebar {
	position:fixed;
	top:0;
	left:0;
	width:230px;
	height:100%;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;


}

/*#claim {
	margin-top: 20px;
	margin-bottom: 20px;
}*/

#main_menu {
	float: none;
	margin-right: 0px;
	padding-bottom: 20px;
}

#sidebar form {
	position: static;
	top: auto;
	left: auto;
}

.foot {
	position: absolute;
	bottom: 12px;
	left: 20px;
}

.no-boxsizing .foot {
	bottom: 52px;
}

.home #sidebar  {
	background: url(../img/sidebar_bg_00_home.png) no-repeat right bottom white;
}

.blog #sidebar  {
	background: url(../img/sidebar_bg_01_ara.png) no-repeat right bottom white;
}

.archive #sidebar  {
	background: url(../img/sidebar_bg_02_feina.png) no-repeat right bottom white;
}

.term-llibres #sidebar  {
	background: url(../img/sidebar_bg_03_llibres.png) no-repeat right bottom white;
}

.term-obra-impresa #sidebar  {
	background: url(../img/sidebar_bg_04_obraimpresa.png) no-repeat right bottom white;
}

.term-originals #sidebar  {
	background: url(../img/sidebar_bg_05_originals.png) no-repeat right bottom white;
}

.term-merxandatge #sidebar  {
	background: url(../img/sidebar_bg_06_merxandatge.png) no-repeat right bottom white;
}

.term-multimedia #sidebar  {
	background: url(../img/sidebar_bg_07_multimedia.png) no-repeat right bottom white;
}

.term-altres #sidebar  {
	background: url(../img/sidebar_bg_08_altres.png) no-repeat right bottom white;
}

.page-id-12 #sidebar  {
	background: url(../img/sidebar_bg_09_lapilarin.png) no-repeat right bottom white;
}

.page-id-14 #sidebar  {
	background: url(../img/sidebar_bg_10_premsa.png) no-repeat right bottom white;
}

.page-id-16 #sidebar  {
	background: url(../img/sidebar_bg_11_pintaijuga.png) no-repeat right bottom white;
}

.page-id-18 #sidebar  {
	background: url(../img/sidebar_bg_12_contacte.png) no-repeat right bottom white;
}


#mask {
	background: url(../img/mask.png) repeat-x left bottom;
	padding-bottom: 20px;
}

.itemcol {
	max-width: 620px;
}

.ie7 .itemcol, .ie8 .itemcol {
	width: 500px;
}

	}

/* 987px */
@media only screen and (min-width: 987px) {

#home_image img {
	margin-left: -493px;
}


#lapilarin img {
	float:  left;
}

.lap_home_txt {
	margin-left: 320px;
}

.item_row li {
	margin-left: 18px;
}

.item_row article {
	margin-left: 20px;
}

.lap_home_txt {
	margin-left: 320px;
}

.itemcol {
	width: 620px;
}

.sidecol {
	width: 220px;
	margin-right: 20px;
	float: left;
}

.maincol {
	float: left;
	width: 460px;
}

#content article.post .contact > img {
	display: block;
	width: 400px;
	height: auto;
}
.contactcol {
	margin-left: 420px;
	width: 300px;
}


	}

/* 1217px */
@media only screen and (min-width: 1217px) {



#home_image img {
	left: 0;
	margin-left: 0px;
}

#content article.post .contact > img {
	display: block;
	width: 450px;
	height: auto;
}

.contactcol {
	margin-left: 480px;
	width: 300px;
}

	}



/* @end */