/*
 * @file
 * global.styles
 *
 * Styles you add here will load for all device sizes, they are "global", as
 * opposed to "responsive" styles, which only load for a given breakpoint (media
 * query) that you set in theme settings. See the README for more details.
 *
 *
 * How to use this file:
 * --------------------
 *
 * There are many empty selectors and some basic styles to act as a guide.
 * Nothing is set in stone and you can change anything - even delete all of it
 * and start with your own clean slate.
 *
 * See global.base also which includes normalize.css and some additional
 * helper classes and base styles.
 */

/* =============================================================================
 *   Base
 * ========================================================================== */

/*
 * To preserve theme settings never apply font properties to the HTML element.
 * This is critically important if you are using the Responsive JavaScript
 * feature as this relies on being able to set a pseudo font family on the HTML
 * element. If you need to set default font properties of any kind use the BODY
 * element as these can be overridden using font theme settings.
 */
 
 /*
Color: c82645
Font: 'Roboto'
Font dos: 'Roboto Condensed'
font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
*/


html {
  background: #fff;
}


body {
  font-family: 'Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 87.5%;
}


/* =============================================================================
 *   HTML Elements
 * ========================================================================== */

 a {
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
 }
 

h1 {}

h2 {}

h3 {}

h4 {}

h5 {}

h6 {}

p {}

b,
strong {}

i,
em {}

dfn {}

sup {}

sub {}

del {}

ins {}

blockquote {}

cite {}

q {}

address {}

ul {}

ol {}

li {}

dl {}

dd {}

dt {}

abbr {}

acronym {}

pre,
code,
tt,
samp,
kbd,
var {
  font-family: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif;
}

a:focus, a:active {
	text-decoration:none !important;
}


input[type="search"] {
	width:9em;
}

/* =============================================================================
 *   Wrappers
 * ========================================================================== */

/*
 * Outer wrappers:
 * - #page-wrapper: body > #page-wrapper
 * - #page: body > #page-wrapper > #page
 * - .container: body > #page-wrapper > #page.container
 *
 * The .container class holds the page width value from theme settings.
 */
#page-wrapper {}
#page {}
#page .container {}

/*
 * Wraps all header elements - branding and .region-header
 */
#header {}

/*
 * Wraps the sidebars the content column
 */
#columns {}

#columns #content-column > .content-inner {
	margin-bottom:40px;}

/*
 * Main content column wrapper
 */
#content-column {}

/*
 * Wraps the main-content-header, the content region and feed-icons. Use this
 * wrapper to style the entire main content column
 */
#main-content {
	margin-top:33px;
	overflow:hidden;
	}
	
body.node-type-p-gina-buida #main-content {
	margin-top:2px !important;
	}	

#main-content #content img {
	margin-bottom:16px;
	}


/*
 * Wraps the content region, avoid applying styles to this wrapper, its used
 * mainly for position and invisible gutters and can be problematic to style
 */
#content {
	max-width:564px;
	float:left;}
	
#content > .block, #content > .block > .node {
	margin-bottom:0;
}

/* =============================================================================
 *   Home
 * ========================================================================== */
 
 
.field-name-field-text-destacat {
	background:#c82645;
	padding:15px 15px 5px 15px;
	color:#ffffff;
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:1.2em;
	margin-top:15px;
}

.field-name-field-text-destacat p {
	color:#ffffff;
	margin:0 0 10px 0;
}

.field-name-field-text-destacat p a {
	color:#ffffff;
}
 
body.node-type-p-gina-buida #content {
	max-width:none !important;
	float:none !important;}
 
#block-views-panells-home-block h2.block-title {
	font-weight:normal;
	font-size:1.4em;
	margin-bottom:4px;
}
 
/*#block-views-panells-home-block .views-row {
	max-width:272px;
	float:left;
	margin-right:10px;
	margin-bottom:22px;
	background:#c82645;
	max-height:621px;
	overflow:hidden;
}*/

/*#block-views-panells-home-block .views-row-last {
	margin-right:0;
}*/

/*--------------*/

#block-views-panells-home-block {
	margin-top:20px;
	margin-bottom:22px;
	overflow:hidden;
}
	
#block-views-panells-home-block .views-row {
	max-width:413px;
	float:left;
	margin-right:10px;
	margin-bottom:10px;
	background:#c82645;
	max-height:300px;
	overflow:hidden;
}

#block-views-panells-home-block .views-row-2, #block-views-panells-home-block .views-row-4 {
	margin-right:0;
}


#block-views-panells-home-block .views-row .views-field-field-imatge-activitat a {
	display:block;
	line-height:0;
}	
	
#block-views-panells-home-block .vermellpanell {
	display:block;
	background:#c82645;
	color:#ffffff;
	width:383px;
	padding:10px 15px;
}

#block-views-panells-home-block .views-row:hover .vermellpanell, #block-views-panells-home-block .vermellpanell:hover {
	background:#b21d39;
	text-decoration:none;
}

#block-views-panells-home-block .panelldata, #block-views-panells-home-block .panelltitol {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	color:#ffffff;
	z-index:99;
}

#block-views-panells-home-block .panelldata {
	border-bottom:1px solid #ffffff;
}

#block-views-panells-home-block .noticia .panelldata {
	display:none;
}

#block-views-panells-home-block .panelltitol {
	text-transform:uppercase;
	font-size:23px;
	letter-spacing:0.02em;
	line-height:0.99;
	margin-top:5px;
	margin-bottom:15px;
}


@media all and (max-width: 1160px) {
	
	#block-views-panells-home-block .views-row {
	max-width:290px;
	max-height:300px;
}

#block-views-panells-home-block .vermellpanell {
	width:260px;
}

#block-views-panells-home-block .panelltitol {
	font-size:21px;
}
	
}

@media all and (max-width: 630px) {
	
	#block-views-panells-home-block .views-row {
	max-width:413px;
	max-height:300px;
	margin-right:0;
}

#block-views-panells-home-block .vermellpanell {
	width:auto;
	max-width:413px;
}

	
}


#block-views-panells-home-block .views-row .views-field-field-imatge-activitat img, #block-views-panells-home-block .views-row .views-field-field-imatge-noticia img { 
 -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
  display:block;
}

#block-views-panells-home-block .views-row:hover .views-field-field-imatge-activitat img, #block-views-panells-home-block .views-row:hover .views-field-field-imatge-noticia img { 
-webkit-transform:scale(1.01); /* Safari and Chrome */
    -moz-transform:scale(1.01); /* Firefox */
    -ms-transform:scale(1.01); /* IE 9 */
    -o-transform:scale(1.01); /* Opera */
     transform:scale(1.01);
}




/*------------*/

body.node-type-p-gina-buida #main-content #content img {
	margin-bottom:0 !important;
}

/*#block-views-panells-home-block .views-row .views-field-field-imatge-vertical a {
	display:block;
	line-height:0;
}

#block-views-panells-home-block .views-field-field-data-i-lloc, #block-views-panells-home-block .views-field-title {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	color:#ffffff;
	z-index:999;
}

#block-views-panells-home-block .views-field-field-data-i-lloc {
	margin:12px 15px 7px 15px;
	border-bottom:1px solid #ffffff;
}

#block-views-panells-home-block .views-field-title {
	margin:5px 15px 25px 15px;
	text-transform:uppercase;
	font-size:23px;
	letter-spacing:0.02em;
	line-height:0.99;
}

#block-views-panells-home-block .views-field-title a {
	color:#ffffff;
}

#block-views-panells-home-block .views-field-title a:hover {
	text-decoration:none;
}*/


/*
 * Footer wrapper
 */
#footer {
	background:#c82645;}

/*
 * Panels may need additional margin wrangling when in the $content region
 */
#content .panel-display {}

/*
 * Full Width Wrappers
 * These are used in the optional page--full-width-wrappers.tpl.php template.
 * All have internal .container classes. In the full width wrapper template the
 * .container classes set the width or max-width - you can style this but never
 * add any width/margin/padding/borders etc to .container
 */

/*
 * Wraps the leaderboard
 */
#leaderboard-wrapper {}
#leaderboard-wrapper .container {}

/*
 * Wraps the header
 */
#header-wrapper {
  /* Debug styles, is this working */
  background: rgba(255, 192, 203, 0.5);
}
#header-wrapper .container {}

.area-menu {
	width:100%;
	background-color:#c82645;
}

/*.area-menu .clearfix:after {
	clear:none!important;
}

.area-menu .clearfix {
	clear:none!important;
}*/

.area-menu #menu-bar {
	margin:0;
	z-index:1000;
}

.area-menu #block-search-form {
	float:right;
	margin:8px 0;
}

@media all and (max-width: 424px) {
	.area-menu #block-search-form {
		display:none;
}
}

.area-menu .block-superfish {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	letter-spacing:0.04em;
	float:left;
	margin:0 0 0 235px;
}


@media all and (max-width: 1140px) and (min-width: 918px) {
	.area-menu .block-superfish {
	margin:0 0 0 0 !important;
}
}


@media all and (max-width: 917px) {
	.area-menu .block-superfish {
	margin:5px 0 5px 39px !important;
	width: 170px;
	height: 22px;
	overflow: hidden;
	background:#ffffff;
}
}

.area-menu #superfish-1-select {
	background:transparent;
    width: 170px;
    padding: 2px;
    font-size:11px;
    color:#fff;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 22px;
	color:#000000;
}

.area-menu #superfish-1-select > option {
   background:#ffffff;
   color:#000000;

}


.area-menu ul.menu > li > a, .area-menu ul.menu > li > span.nolink {
	color:#ffffff;
	font-size:17px;
	margin:0 16px;
	padding:13px 10px;
	text-transform:uppercase;
	display: block;
  white-space: nowrap;
  font-weight:700;
}

body.i18n-es .area-menu ul.menu > li > a, body.i18n-es .area-menu ul.menu > li > span.nolink {
	margin:0 9px;
}

body.i18n-en .area-menu ul.menu > li > a, body.i18n-en .area-menu ul.menu > li > span.nolink {
	margin:0 11px;
}

.area-menu ul.menu > li span.nolink {
	cursor:default;
}

.area-menu ul.menu > li > a:hover, .area-menu ul.menu > li > span.nolink:hover {
	text-decoration:none;
	background-color:#b21d39;
}

.area-menu ul.menu > li.active-trail > a {
	background-color:#b21d39;
}

.area-menu ul.menu li ul {
	background-color:#ffffff;
	/*width:auto !important;*/
	/*max-width:420px;*/
	padding:5px !important;
}

.area-menu ul.menu li ul li {
	color:#000000;
}

.area-menu ul.menu li ul li a, .area-menu ul.menu li ul li span.nolink {
	margin:0 5px;
	font-size:15px;
	border-bottom:2px solid #c82645;
	padding:4px 0 3px 0;
	color:#c82645;
	text-transform:uppercase;
	display: block;
}

.area-menu ul.menu li ul li a:hover, .area-menu ul.menu li ul li span.nolink:hover {
	text-decoration:none;
	background-color:#ffffff;
	color:#000000;
}

/*
 * Botó buscar
 */

/*.area-menu #block-search-form input.form-text {
	border-radius: 10px ;
-moz-border-radius: 10px ;
-webkit-border-radius: 10px ;
}*/

.area-menu #block-search-form input.form-submit {
	background: url(images/lupa.png) no-repeat 0 0;
	background-position:center center;
	border: 0;
	cursor: pointer;
	display: inline-block;
	height: 25px;
	line-height: 0;
	text-indent: -9999px;
	width: 22px;
	overflow:hidden;
	white-space:nowrap;
	margin-left:5px;
}



/*
 * Menú secundari
 */

#secondary-menu-bar {
	margin:0;}

#secondary-menu-bar ul.menu {
	margin:0;
	padding:0;
	list-style:none;
	}

#secondary-menu-bar ul.menu li {
	/*margin-right:13px;
	margin-bottom:13px;*/
	display:block;
	float:left
	}

body.i18n-en #secondary-menu-bar ul.menu li, body.i18n-es #secondary-menu-bar ul.menu li {
	margin-right:7px;
}

#secondary-menu-bar ul.menu li a {
	display:block;
	width:118px;
	min-height:42px;
	padding:10px 10px 0 10px;
	text-transform:uppercase;
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:14px;
	line-height:1.05;
	letter-spacing:0.02em;
	background-color:#f6f1ec;
	color:#c82645;
	white-space:pre-wrap;
	border-right:1px solid #ffffff;
	}
	
#secondary-menu-bar ul.menu li a.menfederacio {
	min-height:62px;
	padding-top:42px;
}
	
#secondary-menu-bar ul.menu li a:hover {
	text-decoration:none;
	background-color:#c82645;
	color:#FFFFFF;
}

#secondary-menu-bar ul.menu li.last {
	margin-right:0;
}


/*
 * Wraps the nav elements
 */
#nav-wrapper {}
#nav-wrapper .container {}

/*
 * Wraps breadcrumb
 */
#breadcrumb-wrapper {}
#breadcrumb-wrapper .container {}

/*
 * Wraps messages and help
 */
#messages-help-wrapper {}
#messages-help-wrapper .container {}

/*
 * Wraps the secondary content/preface region
 */
#secondary-content-wrapper {}
#secondary-content-wrapper .container {}

/*
 * Wraps the main content column
 */
#content-wrapper {}
#content-wrapper .container {}

/*
 * Wraps the tertiary content/postfix region
 */
#tertiary-content-wrapper {}
#tertiary-content-wrapper .container {}

/*
 * Footer wrapper
 */
#footer-wrapper {
  /* Debug styles, is this working? */
  background: rgba(255, 192, 203, 0.5);
}
#footer-wrapper .container {}


/* =============================================================================
 *   Branding
 * ========================================================================== */

/*
 * Wraps all the branding elements, logo, name and slogan
 */

 
#header {
	position:relative;
	min-height:290px;}

.branding-elements {
	margin-left:0;
}

/*
 * Logo
 */
#logo {
  padding:0;
  background:#c82645;
  width:277px;
  height:272px;
  position:absolute;
  z-index:99;
  bottom:0;}

#logo a {
	display:block;
	width:206px;
	height:132px;
	margin:0 auto;
	padding:33px 35px 0 35px;
}

#logo img {
  vertical-align: bottom;
}

#logo .logos {
	width:206px;
	margin:20px auto 0 auto;
}

#logo .logos .logo-entremesos {
	display:block;
	width:170px;
	height:67px;
	background-image:url(images/logo-federacio.png);
	background-repeat:no-repeat;
	background-position:0 0;
	margin-right:auto;
	margin-left:auto;
	padding:0;
}

#logo .logos a.logo-casesfesta {
	padding:0;
	display:block;
	vertical-align:baseline;
	float:left;
	width:63px;
	height:30px;
	background-image:url(images/logo-casesdelafesta.png);
	background-repeat:no-repeat;
	background-position:0 0;
	margin-top:29px;
}


/*
 * Slider
 */

.region-header #block-views-slider-principal-block, .region-header #block-views-slider-principal-block .block-inner {
	margin:0!important;
}

.flexslider {
	border:none !important;
	margin:0 !important;
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
	overflow:hidden;
}

.flexslider ul {
	padding:0 !important;
}

.flexslider .slides img {
	min-width:1433px !important;
}



/* =============================================================================
 *   Page content header
 * ========================================================================== */

/*
 * Main content header wraps the page title, tabs and actions links
 */
#main-content-header {}

/*
 * The main page title (h1)
 */
#page-title {
  margin: 0;
}


/* =============================================================================
 *   Misc Global Styles
 * ========================================================================== */

/*
 * Feed icons
 */
.feed-icon {}

/*
 * Aggregator feed source
 */
#aggregator .feed-source .feed-icon {
  display: inline;
  float: none;
  margin-right: 10px;
}

.feed-details dt,
.feed-details dd {
  display: inline;
  margin: 0;
}

/*
 * Generic styles for the more link
 */
.more-link {}

/*
 * Generic styles for links. See the ul.links declaration in node and comment
 * stylesheets
 */
ul.links {
  margin: 0;
  padding: 0;
}

ul.links.inline {
  display: block;
}

ul.links li {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

/*
 * Search results are an ordered list so reset the margin
 */
.search-results {
  margin: 0;
  padding: 0;
}

/*
 * Attribution message and link
 */
.attribution {
  display: block;
  opacity: 0.65;
  padding: 1em 0;
  text-align: center;
}

.attribution a {
  text-decoration: none;
  color: inherit;
}

.attribution a:hover,
.attribution a:focus {
  text-decoration: underline;
}



 
 

/* =============================================================================
 *   Regions
 * ========================================================================== */

/*
 * Standard region wrapper, don't add width to any regions, you will bork the
 * layout - no margin, padding or borders etc
 */
.region {}

/*
 * Regions have an inner div - perfect for adding margin, padding or borders
 */
.region-inner {}

/*
 * Regions can be nested, such as when using Panels
 */
.region-inner .region-inner {}

/*
 * Header region, embedded in the #header
 */
.region-header {}

/*
 * Generally used to output Drupals help block, if the help module is enabled
 */
.region-help {}

/*
 * Secondary content
 */
.region-secondary-content {}

/*
 * Sits above the main content header, like a content-top region
 */
.region-highlighted {}



/*
 * Sits below the main content, like a content-bottom region
 */
.region-content-aside {
	background-color:#c82645;
	float:left;
	width:268px;
	color:#ffffff;
	margin-right:10px;
	margin-bottom:10px;
	padding-bottom:75px;
	padding-top:15px;}

	
.region-content-aside p, .region-content-aside span, .region-content-aside li, .region-content-aside a{
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	color:#ffffff;}	
	
.region-content-aside .block .block-inner {
	margin-left:15px;
	margin-right:15px;
}
	
.region-content-aside .views-field-title {
	font-weight:bold;
	font-size:30px;
	line-height:0.99;
	letter-spacing:0.02em;
}

body.node-type-page .region-content-aside .views-field-title, body.node-type-noticia .region-content-aside .views-field-title, body.node-type-entitat .region-content-aside .views-field-title, body.node-type-exposicio-perm .region-content-aside .views-field-title {
	border-bottom:1px solid #fff;
	padding-bottom:3px;
}

.region-content-aside .views-field-field-data-i-lloc, .region-content-aside .views-field-field-lloc {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	line-height:1.15;
}

.region-content-aside .views-field-field-tipus-d-activitat {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	border-bottom:1px solid #ffffff;
	border-top:1px solid #ffffff;
	text-transform:uppercase;
	line-height:1.15;
	margin:5px 0 10px 0;
	letter-spacing:0.02em;
	font-weight:bold;
	padding:5px 0;
}

.region-content-aside .views-field-field-data-i-lloc p {
	margin-bottom:0;
}


/*
 * Pàgina activitat
 */
 
 body.node-type-pag-activitat .region-content-aside .views-field-title {
	 border-bottom:1px solid #ffffff;
	 padding-bottom:4px;
 }

.region-content-aside .views-field-field-subtitol1 {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	line-height:1.15;
	margin:0;
	letter-spacing:0.02em;
	font-weight:bold;
	padding:5px 0 0 0;
}

.region-content-aside .views-field-field-subtitol2 {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	line-height:1.15;
	border-top:1px solid #ffffff;
	padding:5px 0 0 0;
	margin:5px 0 0 0;
}




/*
 * Sidebars - targets both
 */
.sidebar {}

/*
 * First sidebar
 */
.region-sidebar-first {}

.region-sidebar-first .block {
	background:#f6f1ec;
	margin-bottom:13px;
	padding-bottom:17px;
	}
	
.region-sidebar-first .block h2.block-title {
	font-weight:normal;
	font-size:20px;
	margin-bottom:7px;
	}	

.region-sidebar-first .block .block-inner {
	padding-top:7px;
	margin-left:16px;
	margin-right:16px;
}

.region-sidebar-first .block .block-content {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:13px;
	}	

.region-sidebar-first .block .block-content .field-name-field-horari p:last-of-type {
	margin-bottom:0;
}

.region-sidebar-first #block-block-1 .block-content a, .region-sidebar-first #block-views-contacte-block .block-content a {
	color:#000000;
}

.region-sidebar-first #block-block-1 .block-content a:hover, .region-sidebar-first #block-views-contacte-block .block-content a:hover {
	text-decoration:none;
	color:#c82645;
}

.region-sidebar-first #block-block-1 .block-content iframe, .region-sidebar-first #block-views-contacte-block .block-content iframe {
	margin-bottom:7px;
	max-width:100%;
}

.region-sidebar-first #block-views-contacte-block .block-content ul.llista-contacte {
	list-style:none;
	padding:0;
	margin:0;
}

.region-sidebar-first #block-views-contacte-block .block-content ul.llista-contacte > li {
	list-style:none;
	margin:0;
}

/*
 * Calendari
 */
 
.region-sidebar-first .view .date-nav-wrapper .date-heading h3 {
	font-size:1.1em;
	font-weight:normal;
}

.region-sidebar-first .view .date-nav-wrapper .date-heading h3 a {
	color:#000000;
}

.region-sidebar-first .view .date-nav-wrapper .date-heading h3 a:hover {
	color:#c82645;
	text-decoration:none;
}


 
.region-sidebar-first .view-calendari-activitats {
	background-color:#ffffff;
}

.region-sidebar-first table, .region-sidebar-first thead, .region-sidebar-first tbody, .region-sidebar-first tr, .region-sidebar-first th, .region-sidebar-first td, .region-sidebar-first .calendar-calendar th.days {
	border:none;
}

.region-sidebar-first .calendar-calendar th.days {
	background-color:transparent;
	font-weight:normal;
	color:#000000;
}

.region-sidebar-first tr.even, .region-sidebar-first tr:nth-child(2n+2) {
  background-color:transparent;
}

.region-sidebar-first .calendar-calendar td {
	text-align:center;
	color:#000000;
}

.region-sidebar-first .calendar-calendar td a {
	text-decoration:none;
	padding:1px 6px;
}

.region-sidebar-first .calendar-calendar td a:hover {
	background-color:#c82645;
	color:#ffffff;
}
 
.region-sidebar-first .view .date-nav-wrapper .date-next, .region-sidebar-first .view .date-nav-wrapper .date-prev {
	background:none;
	background-color:transparent;
}

.region-sidebar-first .date-nav {
	padding-bottom:0;
}

.region-sidebar-first .calendar-calendar tr td.today, .region-sidebar-first .calendar-calendar tr.odd td.today, .region-sidebar-first .calendar-calendar tr.even td.today {
	background-color:transparent;
	border:1px #cccccc solid;
}
/*
.region-sidebar-first .calendar-calendar tr td.today a, .region-sidebar-first .calendar-calendar tr.odd td.today a, .region-sidebar-first .calendar-calendar tr.even td.today a {
	background-color:#f6eded;
}

.region-sidebar-first .calendar-calendar tr td.today.has-events:hover, .region-sidebar-first .calendar-calendar tr.odd td.today.has-events:hover, .region-sidebar-first .calendar-calendar tr.even td.today.has-events:hover, .region-sidebar-first .calendar-calendar tr td.today.has-events a:hover, .region-sidebar-first .calendar-calendar tr.odd td.today.has-events a:hover, .region-sidebar-first .calendar-calendar tr.even td.today.has-events a:hover, .region-sidebar-first .calendar-calendar tr td.today.has-events:hover a, .region-sidebar-first .calendar-calendar tr.odd td.today.has-events:hover a, .region-sidebar-first .calendar-calendar tr.even td.today.has-events:hover a {
	background-color:#c82645;
	color:#ffffff;
}*/

.region-sidebar-first .view .date-nav-wrapper .date-next a, .region-sidebar-first .view .date-nav-wrapper .date-prev a {
	padding:7px 12px;
}

.region-sidebar-first .view .date-nav-wrapper .date-next a {
	margin-right:0;
}

.region-sidebar-first .view .date-nav-wrapper .date-prev a {
	margin-left:0;
}

.region-sidebar-first .view .date-nav-wrapper .date-next a:hover, .region-sidebar-first .view .date-nav-wrapper .date-prev a:hover {
	background-color:#c82645;
	color:#ffffff;
}

.region-sidebar-first .view .date-nav-wrapper .date-prev, .region-sidebar-first .view .date-nav-wrapper .date-next {
	-webkit-border-radius:0;
-moz-border-radius:0;
border-radius:0;
}


/*
 * Second sidebar
 */
.region-sidebar-second {}

/*
 * Tertiary content
 */
body.node-type-activitat .region-tertiary-content {
	float:left;
	margin-left:10px;
	/*max-width:268px;*/
	}

	
.region-tertiary-content .block-title {
	font-size:1.2em;
	font-weight:normal;
	margin-bottom:4px;
}	

.region-tertiary-content .views-row {
	float:left;
	margin:0 12px 10px 0;
}

/*
 * Footer region
 */
.region-footer {}

#footer .block {
	margin-bottom:15px;
}

#footer a {
	color:#ffffff;
}

#footer ul.menu {
	list-style:none;
	padding:0;
	margin:0;
}

#footer #block-menu-menu-xarxes-socials {
	float:left;
}

#footer #block-menu-menu-xarxes-socials ul.menu li {
	display:inline-block;
	margin-top:15px;
}

#footer #block-menu-menu-xarxes-socials ul.menu li a {
	display:block;
	width:32px;
	height:32px;
	text-indent:9999px;
	white-space:nowrap;
	overflow:hidden;
	background-position:0 0;
	background-repeat:no-repeat;
	margin-right:37px;
}

#footer ul.menu li a.facebook {
	background-image:url(images/facebook.png);
}

#footer ul.menu li a.twitter {
	background-image:url(images/twitter.png);
}

#footer ul.menu li a.youtube {
	background-image:url(images/youtube.png);
}

#footer ul.menu li a.instagram {
	background-image:url(images/instagram.png);
}
	
	
#footer #block-menu-menu-men-legal {
	float:right;
}	

#footer #block-menu-menu-men-legal ul {
	margin-top:24px;
	list-style:none;
}

#footer #block-menu-menu-men-legal ul li {
	list-style:none;
	display:inline;
}

#footer #block-menu-menu-men-legal ul li a {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	font-weight:bold;
	margin-left:70px;
}

#footer #block-menu-menu-men-legal ul li a:hover {
	text-decoration:none;
}

@media all and (max-width: 715px) {
#footer #block-menu-menu-xarxes-socials, #footer #block-menu-menu-men-legal {
	float:none;
}
#footer #block-menu-menu-men-legal ul li a {
	margin-left:0;
	margin-right:40px;
	display:inline-block;
}
}

/* =============================================================================
 *   Zona logos
 * ========================================================================== */


.regiologos {
	background:#f6f1ec;
	color:#c82645;
	margin:0;
	padding:10px 0;
	overflow:hidden;
}

.region-logos p {
	color:#c82645;
	font-size:10px;
	margin:0;
}

.region-logos #block-block-2 {
	margin:0;
}

.region-logos #block-block-2 .block-content div {
	float:left;
}

div.produccio {
		margin-left:280px;
		margin-right:225px;
		overflow:hidden;
}

div.suport {
		margin-right:35px;
}


div.produccio p.produccio {
	background-image:url(images/federacio-entitats.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:163px;
	height:75px;
}

div.produccio p.casaentremesos {
	float:left;
	background-image:url(images/logo-casadelsentremesos2.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:114px;
	height:59px;
}

div.produccio a.casesfesta {
	float:left;
	display:block;
	background-image:url(images/logo-casesdelafesta2.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:62px;
	height:59px;
	margin-left:25px;
}

div.produccio a.casesfesta:hover {
	text-decoration:none;
}

p.suport {
	background-image:url(images/ajuntament.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:111px;
	height:38px;
	margin-top:14px;
}

p.colaboracio1 {
	background-image:url(images/generalitat.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:140px;
	height:38px;
	float:left;
	margin-top:14px;
	margin-right:35px;
}

p.colaboracio2 {
	background-image:url(images/diputacio.png);
	background-repeat:no-repeat;
	background-position:0 0;
	width:86px;
	height:38px;
	float:left;
	margin-top:14px;
}

@media all and (max-width: 1140px) {
div.produccio {
		margin-left:10px;
}
}

@media all and (max-width: 950px) {
div.produccio {
		margin-right:35px;
		margin-bottom:15px;
}

div.suport {
		margin-bottom:15px;
}

div.colaboracio {
		margin-bottom:15px;
}
}

@media all and (max-width: 655px) {
	.region-logos #block-block-2 .block-content div {
		float:none;
		clear:left;
	}
/*div.produccio p.casaentremesos, div.produccio a.casesfesta {
		float:none;
		clear:left;
}*/
}



/* =============================================================================
 *   Links
 * ========================================================================== */

a {
  text-decoration: none;
  color:#c82645;
}

a:link,
a:visited {}

a:active,
a.active {}

a:hover,
a:focus {
  text-decoration: underline;
}


/* =============================================================================
 *   Primary, Secondary and Menu Bar region menus
 * ========================================================================== */

.nav {
  clear: both;
  margin: 10px 0;
}

.nav ul,
.nav ul.menu {
  margin: 0;
  padding: 0;
}

.nav li,
.nav ul.menu li {
  display: inline;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li a,
.nav ul.menu li a {
  display: block;
  white-space: nowrap;
}

.nav li a:visited,
.nav ul.menu li a:visited {}

.nav li a:hover,
.nav li a:focus,
.nav ul.menu li a:hover,
.nav ul.menu li a:focus {}

.nav .block {
  margin-bottom: 0;
}


/* =============================================================================
 *   Superfish
 * ========================================================================== */

ul.sf-menu {
  margin-bottom: 0;
}

ul.sf-menu a {
  border-left: 0;
  border-top: 0;
  text-decoration: none;
}

ul.sf-menu a:link,
ul.sf-menu a:visited {}

ul.sf-menu li {}

ul.sf-menu li:hover,
ul.sf-menu li.sfHover {
  outline: 0;
}

ul.sf-menu a {}

ul.sf-menu a:focus,
ul.sf-menu a:hover,
ul.sf-menu a:active {
  outline: 0;
}

/*
 * Superfish blocks
 */
.block-superfish {}

.block-superfish .block-inner .content {}

.block-superfish ul {
  margin: 0 !important;
  padding: 0 !important;
}

.block-superfish ul ul {}

.block-superfish ul ul ul {}

.block-superfish ul ul ul ul {}

.block-superfish li {
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * Vertical style
 */
.sf-vertical {
  width: 100%;
}

.sf-vertical li {
  width: 100%;
}

.sf-vertical li.last {}

.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}

.sf-vertical li a {
  padding: 0 10px;
}

/*
 * Navbar style
 */
.sf-navbar {
  padding-bottom: 0 !important;
}

/*
 * Sensible padding for the default style
 */
.sf-menu.sf-style-default a {
  padding: 0 10px;
}




/* =============================================================================
 *   Menu Toggles
 * ========================================================================== */

.at-mt .at-menu-toggle,
.at-mt .at-menu-toggle ul,
.at-mt .at-menu-toggle ul.menu {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.at-mt .at-menu-toggle-button {
  margin: 0;
}

.at-mt .at-menu-toggle ul a {
  padding: 0 10px;
  white-space: nowrap;
}




/* =============================================================================
 *   Menus, usually blocks
 * ========================================================================== */

ul.menu {
  padding-left: 15px;
}

ul.menu ul {
  padding-left: 15px;
}

ul.menu ul ul {}

ul.menu ul ul ul {}

ul.menu li {
  margin: 0;
}

ul.menu li.collapsed,
ul.menu li.expanded,
ul.menu li.leaf {}

ul.menu li a {}

ul.menu li a:link,
ul.menu li a:visited {}

ul.menu li a:active,
ul.menu li a.active {}

ul.menu li a:hover,
ul.menu li a:focus {}

ul.menu li.active a,
ul.menu li.active-trail a {}

ul.menu li.first,
ul.menu li.last {}

/* If li.content exists it's a problem, so reset the padding */
.block .menu li.content {
  padding: 0;
}


/* =============================================================================
 *   Book navigation menu
 * ========================================================================== */

.book-navigation {}

.book-navigation .page-links {}

.book-navigation .page-previous {}

.book-navigation .page-next {}

.book-navigation .page-up {
  /* Prevent text wrapping to a new line, assumes the string is two chars */
  min-width: 2em;
  white-space: nowrap;
}

.book-navigation .menu {
  margin-left: 0;
}



/* =============================================================================
 *   Pagers
 * ========================================================================== */

ul.pager {
  clear: both;
  margin: 0;
  text-align: center;
}

.item-list ul.pager li {
  margin: 0;
}

ul.pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: .5em;
}

ul.pager li.pager-current {
  font-weight: 700;
}

.block ul.pager li {
  margin: 0;
}

/*
 * Theme the various states of pager links
 */
ul.pager li {}

ul.pager li a {}

ul.pager li a:link,
ul.pager li a:visited {}

ul.pager li a:active,
ul.pager li a.active {}

ul.pager li a:hover,
ul.pager li a:focus {}

ul.pager li.pager-item {}
ul.pager li.first {}
ul.pager li.last {}
ul.pager li.pager-current {}
ul.pager li.pager-first {}
ul.pager li.pager-previous {}
ul.pager li.pager-next {}
ul.pager li.pager-last {}


/* =============================================================================
 *   Skip Navigation
 * ========================================================================== */

#skip-link {
  left: 50%;
  margin-left: -6.5em;
  margin-top: 0;
  padding: 0 0.5em;
  position: absolute;
  width: 12em;
  z-index: 50;
}

#skip-link a {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:hover,
#skip-link a:focus,
#skip-link a:active {
  outline: 0;
}


/* =============================================================================
 *   Tabs (local tasks)
 * ========================================================================== */

#tasks {
  margin-bottom: 15px;
}

ul.primary {
  border-bottom-color: #ccc;
  margin: 20px 0;
  padding: 0 0 0 5px;
}

ul.primary li {
  display: block;
  float: left;
  margin: 0 1px -1px;
}

ul.primary li a {
  background-color: #f5f5f5;
  border-color: #ccc;
  margin-right: 1px;
  padding: 0 10px;
  display: block;
  float: left;
  height: 1.5em;
  line-height: 1.5em;
}

ul.primary li a:hover,
ul.primary li a:focus {
  background-color: #eee;
  border-color: #ccc;
}

ul.primary li.active a,
ul.primary li.active a:hover,
ul.primary li.active a:focus {
  background-color: #fff;
  border-bottom-color: #fff;
}

ul.secondary {
  border-bottom: 1px solid #ccc;
  margin: 1em 0 0;
  padding: 0 .3em 1em;
}

ul.secondary li {
  border-right: 0;
  list-style: none;
  padding: 0 10px 0 0;
}

ul.secondary li a {}

ul.secondary li a:hover,
ul.secondary li a.active {
  border-bottom: none;
  text-decoration: underline;
}


/* =============================================================================
 *   Action links
 * ========================================================================== */

ul.action-links {
  margin: 20px 0 0;
  list-style: none;
}

ul.action-links li {}


/* =============================================================================
 *  Field Styling
 * ========================================================================== */

/*
 * Wrapper for any field
 */
.field {}

/*
 * Above and inline classes are on the field wrapper
 */
.field-label-above {}

/*
 * When labels are set to inline in field display settings the clearfix class is
 * automatically added
 */
.field-label-inline {}

.field-label-inline .field-label {
  margin: 0;
}

/*
 * Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted
 * ineritance issues
 */
.field-label {
  font-size: 1em;
  font-weight: 700;
  font-family: inherit;
  line-height: inherit;
  margin-bottom: 0;
}




/*
 * Field types (Core)
 */

/*
 * Image fields use the <figure> and <figcaption> elements from HTML5
 */
.field-type-image {}

.field-type-image .caption {}

.field-type-image .full-caption {}

.field-type-image .teaser-caption {}

/*
 * Taxonomy
 */
.field-type-taxonomy-term-reference {
  /* The same bottom margin as p, blockquote, ul, ol and dl */
  margin-bottom: 1.5em;
}

.field-type-taxonomy-term-reference.field-label-inline .field-items {
  margin: 0;
  padding: 0;
}

.field-type-taxonomy-term-reference.field-label-inline .field-item {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

/*
 * Text
 */
.field-type-text {}

/*
 * Long text
 */
.field-type-text-long {}

.field-type-text-long h1, .field-type-text-long h2 {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	background-color:#c82645;
	color:#ffffff;
	letter-spacing:0.02em;
	font-size:1.1em;
	margin:30px 0 10px 0;
	padding:8px 13px;
	text-transform:uppercase;
}

body.page-node-49 .field-name-field-arxius-adjunts {
	margin-top:15px !important;
}

/*
 * Text with summary
 */
.field-type-text-with-summary {}

/*
 * File
 */
.field-type-file {}

/*
 * Number/Integer
 */
.field-type-number-integer {}

/*
 * Decimal
 */
.field-type-number-decimal {}

/*
 * Number float
 */
.field-type-number-float {}

/*
 * List
 */
.field-type-list-text {}

/*
 * List boolean
 */
.field-type-list-boolean {}

/*
 * List integer
 */
.field-type-list-integer {}

/*
 * List float
 */
.field-type-list-float {}

/*
 * Field types (Contrib)
 */
.field-type-datetime {}

.field-type-node-reference {}

.field-type-user-reference {}

/*
 * Named fields
 */
.field-name-body {}

.field-name-field-image {}

.field-name-field-tags {}

/*
 * Underscores in field name are replaced with dashes
 */
.field-name-field-FIELDNAME {}

/*
 * Image Alignment Theme Settings - included here so you can easily override
 */
/*
 * Float none setting
 */
.ia-n .field-type-image,
.iat-n .field-type-image {}

/*
 * Float left setting
 */
.ia-l .field-type-image figure,
.iat-l .field-type-image figure {
  margin: 5px 20px 15px 0;
}

/*
 * Centered setting
 */
.ia-c .field-type-image figure,
.iat-c .field-type-image figure {
  margin: 5px auto 15px;
}

/*
 * Float right setting
 */
.ia-r .field-type-image figure,
.iat-r .field-type-image figure {
  margin: 5px 0 15px 20px;
}


/* =============================================================================
 *   Block Styling
 * ========================================================================== */

/*
 * Main wrapper for most blocks, block_system_main does not have it
 */
.block {
  margin-bottom: 20px;
}

/*
 * Inner wrapper for most blocks, good for margin, padding and borders,
 * block_system_main does not have it
 */
.block-inner {}

/*
 * The first block in the region
 */
.block.first {}

/*
 * The last block in the region
 */
.block.last {}

/*
 * Zebra striping for each block in the region
 */
.block.odd {}

/*
 * Zebra striping for each block in the region
 */
.block.even {}

/*
 * Block title
 */
.block-title {
  margin: 0;
}

/*
 * Block content wrapper
 */
.block-content {}

/*
 * Match item list and block menu margin and padding
 */
.block-content {}

.block-content ul,
.block-content ol {
  padding: 0 0 0 15px;
}

.block-content li {
  margin: 0;
  padding: 0;
}

/*
 * Block for the latest news items in the first category
 */
#block-aggregator-category-1 {}

/*
 * Block for the latest news items in the first feed
 */
#block-aggregator-feed-1 {}

/*
 * First block created with "Add block" link
 */
#block-block-1 {}

/*
 * "Recent blog posts" block
 */
#block-blog-recent {}

/*
 * "Book navigation" block for the current book's table of contents
 */
#block-book-navigation {}

/*
 * "Recent comments" block
 */
#block-comment-recent {}

/*
 * "Active forum topics" block
 */
#block-forum-active {}

/*
 * "New forum topics" block
 */
#block-forum-new {}

/*
 * Language switcher block
 */	
#block-locale-language {
	margin-bottom:0;
}

#block-locale-language ul.language-switcher-locale-url {
	list-style:none;
	float:right;
	margin:5px 0;
	}
	
#block-locale-language ul.language-switcher-locale-url li {
	display:inline;
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	letter-spacing:0.04em;
	color:#7d7d7d;}	
	
#block-locale-language ul.language-switcher-locale-url li a, #block-locale-language ul.language-switcher-locale-url li span {
	color:#7d7d7d;
	text-transform:uppercase;
}

#block-locale-language ul.language-switcher-locale-url li span.locale-untranslated {
	text-decoration:none;
}

#block-locale-language ul.language-switcher-locale-url li a:hover {
	text-decoration:none;
	color:#000000;
}

#block-locale-language ul.language-switcher-locale-url li.active a:hover {
	color:#c82645;
}

#block-locale-language ul.language-switcher-locale-url li.active a {
	color:#c82645;
}

#block-locale-language ul.language-switcher-locale-url li:after {
	content:" /";
	color:#7d7d7d;
}

#block-locale-language ul.language-switcher-locale-url li.last:after {
	content:normal;
}

#block-locale-language ul.language-switcher-locale-url li:before {
	content:" ";
}

#block-locale-language ul.language-switcher-locale-url li.first:before {
	content:normal;
}

/*
 * Custom menu block
 */
#block-menu-menu-NAME {}

/*
 * "Recent content" block
 */
#block-node-recent {}

/*
 * "Syndicate" block for primary RSS feed; see also page.css's .feed-icon
 */
#block-node-syndicate {}

/*
 * "Most recent poll" block
 */
#block-poll-recent {}

/*
 * "Author information" block for the profile of the page's author
 */
#block-profile-author-information {}

/*
 * "Search form" block
 */
#block-search-form {}

/*
 * "Shortcuts" block
 */
#block-shortcut-shortcuts {}

/*
 * "Popular content" block
 */
#block-statistics-popular {}

/*
 * "Main menu" block
 */
#block-system-main-menu {}

/*
 * "Management" block for Drupal management menu
 */
#block-system-management {}

/*
 * "Navigation" block for Drupal navigation menu
 */
#block-system-navigation {}

/*
 * "User menu" block for Drupal user menu
 */
#block-system-user-menu {}

/*
 * "System help" block
 */
#block-system-help {}

/*
 * "Main page content" block
 */
#block-system-main {}

/*
 * "Powered by Drupal" block
 */
#block-system-powered-by {}

/*
 * "User login form" block
 */
#block-user-login {}

/*
 * "Who's new" block for a list of the newest users
 */
#block-user-new {}

/*
 * "Who's online" block for a list of the online users
 */
#block-user-online {}


/* =============================================================================
 *   Node Styling
 * ========================================================================== */

.node {
  margin-bottom: 20px;
}

.node.node-promoted {}

.node.node-sticky {}

.node.node-by-viewer {}

.node.node-teaser {}

.node.node-full {}

.node.odd {}

.node.even {}

.node .node-title {
  margin: 0;
}

.node .user-picture {}

.node .submitted {}

.node .submitted .username {}

.node .submitted time {}

.node .node-content {}

.node ul.links {}

.node ul.links li {}

.node ul.links li a {}

.node ul.links li.node-read-more a {}

.node ul.links li.comment-add a {}

.node ul.links li.comment-comments a {}

.node ul.links li.comment-new-comments a {}

.node ul.links li.blog-sernames-blog a {}

.node ul.links li.print-html a {}

.node ul.links li.print-email a {}

.node ul.links li.print-pdf a {}

.preview .node {}

/*
 * All nodes are given a node-FOO class that describes the type of content that
 * it is. If you create a new content type called "my-custom-type", it will
 * receive a "node-my-custom-type" class.
 */
.node-page {}

#colorbox .node-page { padding:20px;} 

.node-article {}

.node-book {}

.node-forum {}

.node-poll {}


/* =============================================================================
 *   Comment Styling - Comments, comment wrapper, comment form
 * ========================================================================== */

/*
 * Wrapper for the list of comments and its titles
 */
#comments {
  margin: 1.5em 0;
}

#comments h2 {}

#comments h2.comment-title {
  margin: 0;
}

#comments h2.comment-form {
  margin: 0;
}

/*
 * Wrapper for a single comment
 */
.comment {
  margin-bottom: 20px;
}

.comment.first {}

.comment.last {}

.comment.odd {}

.comment.even {}

.comment .user-picture {}

.comment .submitted {}

.comment .submitted p {}

.comment .submitted .username {}

.comment .submitted time {}

.comment .user-signature {}

.comment ul.links {}

/*
 * Comment title
 */
.comment-title {
  margin: 0;
}

/*
 * Comment states
 */
.comment-new {}

.comment-by-anonymous {}

.comment-by-node-author {}

.comment-by-viewer {}

.comment-title-hidden {}

.comment-with-picture {}

.comment-with-signature {}

/*
 * Preview of the comment before submitting new or updated comment
 */
.comment-preview {}

/*
 * "New" marker for comments that are new for the current user
 */
.new {
  color: #c00;
}

/*
 * Nested comments are indented
 */
.indented {
  margin-left: 40px;
}


/* =============================================================================
 *   Forms
 * ========================================================================== */

/*
 * Wrapper for a form element (or group of form elements) and its label
 */
.form-item {}

.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid #c00;
}

.form-item label {
  font-weight: 700;
}

.form-item label.option {}

/*
 * Highlight marks and form required mark
 */
.marker,
.form-required {
  color: #c00;
}

.form-item .description {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item {}

/*
 * The submit button
 */
.form-submit {}

.container-inline div,
.container-inline label {
  display: inline;
}

/*
 * Define consistent borders
 */
fieldset {
  border: 1px solid #ccc;
}

/*
 * Tips for Drupal's input formats
 */
.tips {}

/*
 * Buttons used by contrib modules like Media
 */
a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
  margin: 0;
}


/* =============================================================================
 *   Tables
 * ========================================================================== */

table {
  margin: 10px 0;
  padding: 0;
  width: 100%;
}

table.sticky-header {
  z-index: 10;
}

table,
thead,
tbody,
tr,
th,
td {
  border-color: #ccc;
}

table,
td,
th {
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
}

thead tr {
  font-weight: 700;
  background-color: #e5e5e5;

}

td,
th {
  border-bottom: 0;
  margin: 0;
  padding: 5px 7px;
}

tbody {}

tbody tr {
  border-top: 1px solid #ccc;
}

tr.odd {
  background: #fff;
}

tr.info,
tr.even,
tr:nth-child(2n+2) {
  border-bottom: 0;
  background-color: #f5f5f5;
}

tr.drag {}

tr.drag-previous {}

tr.odd td.active {
  background-color: #eee;
}

tr.even td.active {
  background-color: #ebebeb;
}

.lt-ie8 tr {}

.lt-ie8 tr.even,
.lt-ie8 tr.odd {}

.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
}

/*
 * Forum tables
 * Core sets white-space to nowrap, which makes no sense
 */
#forum td {}

#forum td.created,
#forum td.posts,
#forum td.topics,
#forum td.last-reply,
#forum td.replies,
#forum td.pager {
  white-space: normal;
}



/* =============================================================================
 *   Messages
 * ========================================================================== */

/* Left and right margin are set by the global gutter width */
div.messages {
  margin-bottom: 10px;
  margin-top: 10px;
}

div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status {}

div.warning {}

tr.warning {}

div.error,
tr.error {}

.error {}

.warning {}

/*
 * Unpublished nodes
 */
.node-unpublished,
.comment-unpublished {}

.node-unpublished,
.comment-unpublished {}

.node-unpublished p.unpublished,
.comment-unpublished p.unpublished {
  color: pink;
  color: rgba(239, 170, 170, 0.4);
  font-family: Impact,"Arial Narrow",Helvetica,sans-serif;
  font-size: 75px;
  font-weight: bold;
  height: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: center;
  text-transform: uppercase;
  word-wrap: break-word;
}

/*
 * Otherwise these elements will appear below the "Unpublished" text
 */
.lt-ie8 {}

.lt-ie8 .node-unpublished > *,
.lt-ie8 .comment-unpublished > * {
  position: relative;
}


/* =============================================================================
 *    Maintenance pages
 * ========================================================================== */

.maintenance-page {}
.maintenance-page .container {
  padding: 40px 0;
}

.maintenance-page #site-name,
.maintenance-page #page-title {
  margin: 0;
}

.db-offline {}

.db-offline .container {
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  max-width: 960px;
}

.db-offline div.messages {
  margin: 20px 0 0;
}

.db-offline #content {
  padding: 20px 0;
}


/* =============================================================================
 *   Misc overrides for contrib modules
 * ========================================================================== */

/*
 * Admin menu overrides
 */
#admin-menu {
  margin: 0;
  padding: 0;
}

/*
 * Devel Module
 */
.dev-query {
  background: #eee;
  padding: 30px;
}

/*
 * Styleguide module tweaks
 */
#styleguide-header {
  padding: 0 10px;
}

#styleguide-header .item-list {
  font-family: inherit;
  margin: 0 20px 20px 0;
  min-height: 260px;
  width: auto;
}




/* =============================================================================
 *   Breadcrumb
 * ========================================================================== */

#breadcrumb, .region-highlighted {
	margin-top:5px;
	margin-bottom:-27px;
}

#breadcrumb #crumbs, .region-highlighted .block {
	margin:0;
	padding:0;
}

#breadcrumb #crumbs li, .region-highlighted .block p, .region-highlighted .block .views-row {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	display:inline;
	color:#c82645;
	text-transform:uppercase;
	font-size:18px;
	letter-spacing:0.02em;
	margin:0;
}

#breadcrumb #crumbs li {
	display:none;
}

#breadcrumb #crumbs li .crumb-separator {
	color:#000000;
	font-weight:normal;
	font-size:14px;
	display:none;
}

#breadcrumb #crumbs li:last-of-type, .region-highlighted .block p, .region-highlighted .block .views-row {
	font-weight:bold;
	display:inline;}
	
body.page-node-8 #breadcrumb #crumbs li:last-of-type, body.page-node-122 #breadcrumb #crumbs li:last-of-type, body.page-node-123 #breadcrumb #crumbs li:last-of-type {
	visibility:hidden;}
	
	
/* =============================================================================
 *   Panells activitats
 * ========================================================================== */
 
.region-tertiary-content .block .more-link {
	clear:left;
	text-align:left;
}

.region-tertiary-content .block .more-link a:hover {
	text-decoration:none;
	color:#000;}
 	
.region-tertiary-content .block-views {
	margin-top:20px;
	margin-bottom:22px;
	overflow:hidden;
}
	
.region-tertiary-content .block-views .views-row {
	max-width:272px;
	float:left;
	margin-right:10px;
	margin-bottom:10px;
	background:#c82645;
	max-height:300px;
	overflow:hidden;
}

.region-tertiary-content .block-views .views-row-last {
	margin-right:0;
}


.region-tertiary-content .block-views .views-row-last .views-row .views-field-field-imatge-activitat a {
	display:block;
	line-height:0;
}	
	
.region-tertiary-content .vermellpanell {
	display:block;
	background:#c82645;
	color:#ffffff;
	width:242px;
	padding:10px 15px;
}

.region-tertiary-content .views-row:hover .vermellpanell, .region-tertiary-content .vermellpanell:hover {
	background:#b21d39;
	text-decoration:none;
}

.region-tertiary-content .panelldata, .region-tertiary-content .panelltitol {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	color:#ffffff;
	z-index:99;
}

.region-tertiary-content .panelldata {
	border-bottom:1px solid #ffffff;
}

.region-tertiary-content .panelltitol {
	text-transform:uppercase;
	font-size:23px;
	letter-spacing:0.02em;
	line-height:0.99;
	margin-top:5px;
	margin-bottom:15px;
}


/*Llei de transparències*/

body.node-type-pag-llei #main-content #page-title {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	color:#c82645;
	font-weight:bold;
	text-transform:uppercase;
	font-size:19px;
	padding-bottom:3px;
	border-bottom:2px solid #c82645;
	margin-bottom:14px;
	letter-spacing:0.02em;
}

body.node-type-pag-llei #content {
	margin-top:15px;
	float:none;
	max-width:none;
}

body.node-type-pag-llei #content img.file-icon {
	margin-right:5px;
	float:left;
}

body.node-type-pag-llei #content .field-name-field-fitxer .field-item {
	clear:left;
}


/*Pagina activitats - llista*/


body.page-views #content {
	float:none;
	max-width:none;
}
 
body.page-views #main-content #page-title, body.page-search #main-content #page-title {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	color:#c82645;
	font-weight:bold;
	text-transform:uppercase;
	font-size:19px;
	padding-bottom:3px;
	border-bottom:2px solid #c82645;
	margin-bottom:14px;
	letter-spacing:0.02em;
}
 
body.page-views #main-content, body.page-search #main-content {
	margin-top:12px;
}


body.page-views #main-content .view .views-row .views-field {
	float:left;
}

body.page-views #main-content .view .views-row {
	clear:left;
	margin-bottom:6px;
	overflow:hidden;
}


body.page-views #main-content .view .views-field-field-text-activitat, body.page-views #main-content .view .views-field-field-text-noticia, body.page-views #main-content .view .views-field-field-text-expo {
	width:245px;
	min-height:104px;
	background:#f6f1ec;
	padding:15px;
	font-size:13px;
	margin:0 15px 0 0;
}

body.page-views #main-content .view .view-content {
	overflow:hidden;
}

body.page-views .view .views-field-field-text-activitat p, body.page-views .view .views-field-field-text-noticia p, body.page-views .view .views-field-field-text-expo p {
	margin:0;
}

body.page-views #main-content .view .views-field-field-imatge-activitat img, body.page-views #main-content .view .views-field-field-imatge-noticia img, body.page-views #main-content .view .views-field-field-imatge-expo img {
	margin-bottom:0 !important;
}

@media all and (max-width: 1150px) {
body.page-views #main-content .view .views-field-field-imatge-activitat, body.page-views #main-content .view .views-field-field-imatge-noticia, body.page-views #main-content .view .views-field-field-imatge-expo {
	display:none;
}}

body.page-views #main-content .view .vermellpanell {
	display:block;
	background:#c82645;
	color:#ffffff;
	width:245px;
	min-height:114px;
	padding:10px 15px;
}

body.page-views #main-content .view .vermellpanell:hover {
	background:#b21d39;
	text-decoration:none;
}

body.page-views #main-content .view .panelltitol {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	border-bottom:1px solid #ffffff;
	padding-bottom:0;
	margin-bottom:3px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:16px;
}

body.page-views #main-content .view .panelldata {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	text-transform:uppercase;
	font-size:14px;
}


/*Logotip activitat*/

.region-tertiary-content #block-views-logotips-block .block-title {
	font-size:1em;
	margin-bottom:7px;
}

 	
.region-tertiary-content #block-views-logotips-block {
	margin-top:10px;
	margin-bottom:10px;
	overflow:hidden;
}
	
.region-tertiary-content #block-views-logotips-block .views-row {
	max-width:none;
	float:left;
	margin:0 12px 10px 0;
	background:none;
	max-height:none;
	overflow:hidden;
}



body.page-views #breadcrumb, body.page-search #breadcrumb, body.page-search .search-info {
	display:none;
}

body.page-search #search-form .form-item label {
	font-weight:normal;
}

body.page-search #search-form + h2 {
	background:#c82645;
	color:#fff;
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	text-transform:uppercase;
	padding:7px 14px;
	font-weight:normal;
	margin-top:40px;
	background-image:url("images/lupa.png");
	background-position:98% center;
	background-repeat:no-repeat;}

body.page-search #content {
	float:none;
	max-width:none;
}

body.page-search .search-result h3.title {
	margin-bottom:3px;
}

/* =============================================================================
 *   Pàgina de dia
 * ========================================================================== */

body.page-calendari-dia #content {
	float:none;
	max-width:none;
}
 
body.page-calendari-dia #main-content .date-heading {
	text-align:left;
}

body.page-calendari-dia #main-content .view .date-nav-wrapper .date-nav {
	padding-bottom:0;
	min-height:0;
	margin-bottom:12px;
}
 
body.page-calendari-dia #main-content .date-heading h3 {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	color:#c82645;
	font-weight:bold;
	text-transform:uppercase;
	font-size:19px;
	padding-bottom:3px;
	border-bottom:2px solid #c82645;
	margin-bottom:14px;
	letter-spacing:0.02em;
}
 
body.page-calendari-dia #main-content {
	margin-top:12px;
}

body.page-calendari-dia #main-content .date-nav-wrapper .date-prev, body.page-calendari-dia #main-content .date-nav-wrapper .date-next {
	position:static !important;
}

body.page-calendari-dia #main-content ul.pager {
	text-align:left !important;
}

body.page-calendari-dia #main-content .view .date-nav-wrapper .date-next, body.page-calendari-dia #main-content .view .date-nav-wrapper .date-prev {
	padding:0;
	-moz-border-radius: 0;
  border-radius:0;
  background:none;
  text-align:left;
}

body.page-calendari-dia #main-content .view .date-nav-wrapper .date-next a, body.page-calendari-dia #main-content .view .date-nav-wrapper .date-prev a {
	color:#ffffff;
	font-weight:normal;
	text-transform:uppercase;
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	font-size:15px;
	letter-spacing:0.02em;
	margin:0 10px 0 0;
  padding:5px 28px;
  background:#999;
}


body.page-calendari-dia #main-content .view .date-nav-wrapper .date-next a:hover, body.page-calendari-dia #main-content .view .date-nav-wrapper .date-prev a:hover {
	background:#666;
	text-decoration:none;
}

body.page-calendari-dia #main-content .view-calendari-activitats .views-row .views-field {
	float:left;
}

body.page-calendari-dia #main-content .view-calendari-activitats .views-row {
	clear:left;
	margin-bottom:6px;
	overflow:hidden;
}


body.page-calendari-dia #main-content .view-calendari-activitats .views-field-field-text-activitat {
	width:245px;
	min-height:104px;
	background:#f6f1ec;
	padding:15px;
	font-size:13px;
	margin:0 15px 0 0;
}

body.page-calendari-dia #main-content .view-calendari-activitats .view-content {
	overflow:hidden;
}

body.page-calendari-dia #main-content .view-calendari-activitats .views-field-field-text-activitat p {
	margin:0;
}

body.page-calendari-dia #main-content .view-calendari-activitats .views-field-field-imatge-activitat img {
	margin-bottom:0 !important;
}

@media all and (max-width: 1150px) {
body.page-calendari-dia #main-content .view-calendari-activitats .views-field-field-imatge-activitat {
	display:none;
}}

body.page-calendari-dia #main-content .view-calendari-activitats .vermellista {
	display:block;
	background:#c82645;
	color:#ffffff;
	width:245px;
	min-height:114px;
	padding:10px 15px;
}

body.page-calendari-dia #main-content .view-calendari-activitats .vermellista:hover {
	background:#b21d39;
	text-decoration:none;
}

body.page-calendari-dia #main-content .view-calendari-activitats .titolevent {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	border-bottom:1px solid #ffffff;
	padding-bottom:0;
	margin-bottom:3px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:16px;
}

body.page-calendari-dia #main-content .view-calendari-activitats .llocevent {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	text-transform:uppercase;
	font-size:14px;
}

/*Pàgina exposicio permanent*/


.freepager-previous a, .freepager-next a {
	color:#ffffff;
	font-weight:normal;
	text-transform:uppercase;
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	font-size:13px;
	letter-spacing:0.02em;
	margin:0 0 0 10px;
  padding:3px 23px;
  background:#999;
  display:inline-block;
}

.freepager-previous a:hover, .freepager-next a:hover {
	background:#666;
	text-decoration:none;
}

#block-views-pager-nans-freepager-1, #block-views-pager-gegants-freepager-1, #block-views-pager-bestiari-freepager-1, #block-views-llista-entitats-freepager-1, #block-views-pag-noticies-freepager-1 {
	float:right;
}

.freepager-next {
	float:right;
}

@media all and (max-width: 465px) {
#block-views-pager-nans-freepager-1, #block-views-pager-gegants-freepager-1, #block-views-pager-bestiari-freepager-1, #block-views-llista-entitats-freepager-1 {
	float:left;
	clear:left;
}

.freepager-next {
	float:none;
}
}

.freepager-next a {
	margin-right:0;
}

body.node-type-exposicio-perm .region-highlighted {
	overflow:hidden;
}

body.node-type-exposicio-perm .region-highlighted .block-views {
	float:left;
}

.field-name-field-contacte-exposicio {
	background-color:#f6f1ec;
	padding:10px 20px 20px 20px;
}

.field-name-field-contacte-exposicio .field-item p {
	margin-bottom:0.5em;
}

.field-name-field-contacte-exposicio .field-item a {
	color:#000000;
}

.field-name-field-contacte-exposicio .field-item p:last-of-type {
	margin-bottom:0;
}

.field-name-field-contacte-exposicio h2.field-label {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	color:#c82645;
	border-bottom:2px solid #c82645;
	margin-bottom:0.8em;
}

/*Bloc Noticia*/


body.node-type-noticia .region-content-aside h2.block-title, body.node-type-entitat .region-content-aside h2.block-title {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	line-height:1.15;
	margin-bottom:5px;
	padding-bottom:3px;
	border-bottom:1px solid #ffffff;
	font-weight:normal;
}

/*Notícia*/

body.node-type-noticia .region-highlighted .block-block {
	float:left;
}


/*Entitat*/

.field-name-field-logo-entitat .field-item {
	text-align:center;
}

body.node-type-entitat .region-highlighted .block-block {
	float:left;
}

.field-name-field-contacte-entitat {
	background-color:#f6f1ec;
	padding:10px 20px 20px 20px;
}

.field-name-field-contacte-entitat .field-item p {
	margin-bottom:0.5em;
}

.field-name-field-contacte-entitat .field-item a {
	color:#000000;
}

.field-name-field-contacte-entitat .field-item p:last-of-type {
	margin-bottom:0;
}

.field-name-field-contacte-entitat h2.field-label {
	font-family: 'Roboto Condensed','Roboto', "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size:17px;
	text-transform:uppercase;
	color:#c82645;
	border-bottom:2px solid #c82645;
	margin-bottom:0.8em;
}

body.node-type-entitat .region-content-aside {
	background-color:transparent;
	margin:0 10px 0 0;
	padding:0;
}

body.node-type-entitat .region-content-aside #block-views-t-tol-entitat-block {
	background-color:#c82645;
	width:268px;
	color:#ffffff;
	margin-right:10px;
	margin-bottom:20px;
	padding-bottom:75px;
	padding-top:15px;}
	
body.node-type-entitat .region-content-aside .view-t-tol-entitat .view-content {
	margin-right:15px;
	margin-left:15px;
}

body.node-type-entitat .region-content-aside .block .block-inner {
	margin-left:0;
	margin-right:0;
}

body.node-type-entitat .region-content-aside .views-field-field-logo-entitat .field-content {
	text-align:center;
}


/*Altres imatges entitat*/

.field-name-field-entitat-altres-img {
	margin-right:-15px;
	margin-top:25px;
	margin-bottom:10px;
	overflow:hidden;
}


.field-name-field-entitat-altres-img .field-item {
	float:left;
	margin:0 15px 15px 0;
}

.field-name-field-entitat-altres-img .field-item a {
	overflow:hidden;
}

.field-name-field-entitat-altres-img .field-item a img {
	margin-bottom:0 !important;
	display:block;
}


/*Llista entitats*/

.view-llista-entitats {
	overflow:hidden;
	margin-top:15px;
	margin-bottom:25px;
}

.view-llista-entitats .views-row {
	width:140px;
	height:156px;
	float:left;
	margin:0;
}

.view-llista-entitats .views-field-field-logo-entitat {
	height:90px;
}

.view-llista-entitats .views-field {
	text-align:center;
}

#main-content #content .view-llista-entitats .field-content img {
	margin-bottom:0;
}

.view-llista-entitats .views-field-title a, .view-llista-entitats .views-field-title span {
	color:#000000;
	font-size:11px;
	line-height:1;
}

.view-llista-entitats .views-field-title {
	line-height:1;
}


.view-llista-entitats .views-field-title a:hover {
	color:#c82645;
	text-decoration:none;
}

/*Arxius adjunts pàgina bàsica*/

.field-name-field-arxius-adjunts {
	margin:35px 0;
}

.field-name-field-arxius-adjunts .file img {
	margin-bottom:0 !important;
}

.field-name-field-arxius-adjunts .field-item {
	margin:0 0 7px 0;
	border-bottom:1px solid #c82645;
}

.field-name-field-arxius-adjunts .field-item a:hover {
	text-decoration:none;
	color:#000000;
}


/*Altres imatges pàgina bàsica*/

.field-name-field-altres-imatges, .field-name-field-altres-imatges-expo, .field-name-field-altres-imatges-act, .field-name-field-altres-imatges-not {
	margin-right:-15px;
	margin-top:25px;
	margin-bottom:10px;
	overflow:hidden;
}


.field-name-field-altres-imatges .field-item, .field-name-field-altres-imatges-expo .field-item, .field-name-field-altres-imatges-act .field-item, .field-name-field-altres-imatges-not .field-item {
	float:left;
	margin:0 15px 15px 0;
}

.field-name-field-altres-imatges .field-item a, .field-name-field-altres-imatges-expo .field-item a, .field-name-field-altres-imatges-act .field-item a, .field-name-field-altres-imatges-not .field-item a {
	overflow:hidden;
}

.field-name-field-altres-imatges .field-item a img, .field-name-field-altres-imatges-expo .field-item a img, .field-name-field-altres-imatges-act .field-item a img, .field-name-field-altres-imatges-not .field-item a img {
	margin-bottom:0 !important;
	display:block;
}

/*Camp Arxius*/

.field-name-field-arxius-act, .field-name-field-arxius-not {
	margin-bottom:40px;
}

.field-name-field-arxius-act h2.field-label, .field-name-field-arxius-not h2.field-label {
	font-family:"Roboto Condensed","Roboto","Helvetica Neue",Arial,Helvetica,sans-serif;
	color:#c82645;
	font-weight:bold;
	text-transform:uppercase;
	font-size:17px;
	border-bottom:2px solid #c82645;
	margin-bottom:18px;
	margin-top:40px;
	letter-spacing:0.02em;
}

.field-name-field-arxius-act .field-item, .field-name-field-arxius-not .field-item {
	margin-bottom:6px;
}

#main-content #content .field-name-field-arxius-act img, #main-content #content .field-name-field-arxius-not img {
	margin-bottom:0;
}