/*  
Theme Name: Tema Garraf Turisme
Theme URI: http://wordpress.org/
Description: Aquest tema ha estat dissenyat i maquetat per A&middot;D&middot;Q&middot;A (3.0)
Version: 3.0
Author: A&middot;D&middot;Q&middot;A
Author URI: http://www.adqa.com/
*/

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

/* Reset */
* {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

body {
	color: #777777;
}

a {
	color: inherit;
}

a, button {
	cursor: pointer;
	outline: 0;
}

img, fieldset, hr {
	border: none;
}

h1, h2, h3, h4, p, ul, ol, dt, hr {
	margin: 15px 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

p, ul, ol, dt, hr {
	line-height: 1.9em;
}

ul, ol {
	margin-left: 40px;	
}

li, dt {
	list-style-position: outside;
	margin: 10px 0;
}

li ul {
	margin-top: 0;
	margin-bottom: 0;
}

hr {
	clear: both;
	height: 1px;
	background: none;
	visibility: hidden;
}

sup {
	vertical-align: super;
	font-size: smaller;
	line-height: 1em;
}

body {
	font-size: 95%;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.2em;
}

section h2, #garraf li {
	font-size: 1.3em;
}

h3 {
	font-size: 1.1em;
}
footer h2 {
	font-size: 1.2em;
}
h3 a {
	text-decoration: none;
}

h2, h2 a, h3, h3 a, nav .menu a, aside .menu a, footer .menu a {
	color: #4a4a4a;
}
h1, h1 a, nav .menu a, aside .menu a, button, .wpcf7-submit, .button, .highlight h2 a, time {
	text-transform: uppercase;
	text-decoration: none;
}
h1, h1 a, .highlight h2, .highlight h2 a, #garraf li a, a:hover, .more, .corporative, aside .menu ul .current-menu-item a {
	color: #b0cd2a !important;
}
.description {
	padding-top:0;
}
#fer h2, #agenda h2, #garraf .sub-menu li a, time {
	color: #4a4a4a !important;
}

nav a, nav .current-menu-item, nav ul li:hover a, footer, footer h2, footer a {
	color: #ffffff !important;
}

h1, h2, h1 a, h2, h2 a, h3, h3 a {
	font-weight: normal !important;
}

aside .menu ul a, .current-menu-item ul a, aside .menu ul .current-menu-item ul a {
	color: inherit !important;
	font-weight: normal !important;
}

button, .wpcf7-submit, .button, .more, .more:hover, .search, .search:hover {
	color: #FFF !important;
	text-decoration: none; 
	text-transform: uppercase;
	/*font-size: 1.2em;*/
	line-height: 1em;
	background: #009ddd url(images/bg-more.png) no-repeat right center;
	border: solid 1px #009ddd;
	padding: 12px 15px;
	padding-right: 25px;
	margin: 0;
	min-height: 15px;
	display: inline-block;
}

.search, .search:hover {
	padding-left: 40px;
	padding-right: 10px;
	background: #009ddd url(images/ico-search.png) no-repeat 7px center !important;
	clear: both;
	margin: 10px;
}

.more a {
	text-decoration: none;
}

.highlight, nav .current-menu-item, aside .current-menu-item a {
	background-color: #f1f1f1;
}

.highlight:nth-child(odd), input[type='text'], input[type='email'], input[type='tel'], textarea, .page-template-esdeveniments-php #agenda .widget_em_widget:nth-child(even) {
	background-color: #ffffff;
}

nav .current-menu-item, nav ul li .sub-menu, nav ul li:hover {
	background-color: #cbd61d;
}

aside .current-menu-item ul a {
	background: none;
}

table {
	background-color: #f7f7f7;
	border-collapse: collapse;
}

table th, table td {
	padding: 5px 10px;
	vertical-align: top;
	text-align: left;
}

table.reset {
	background-color: #FFF;
}

table.zebra {
	background-color: #f2f2f2;
}

table.zebra td {
	font-size: 0.97em;
	border-top: solid 1px #DDD;
}

table.zebra tr:nth-child(2n) {
	background-color: #f7f7f7;
}

table.zebra th {
	background-color: #f2f2f2;
	border-bottom: solid 1px #DDD;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(204,204,204,0.25) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(204,204,204,0.25)));
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#40999999',GradientType=0 );
}

table.grid {
	background-color: #f2f2f2;
}

table.grid td {
	font-size: 0.97em;
	border: solid 1px #DDD;
}

table.grid tr:nth-child(2n) {
	background-color: #f7f7f7;
}

table.grid th {
	background-color: #f2f2f2;
	border-bottom: solid 1px #DDD;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(204,204,204,0.25) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(204,204,204,0.25)));
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(204,204,204,0.25) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#40999999',GradientType=0 );
}

.aligncenter, .centered {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.alignright {
	float: right;
	margin: 0 0 2px 20px;
	text-align: right;
}

.alignleft {
	float: left;
	margin: 0 20px 2px 0;
}

img.alignright {
	margin: 0 0 2px 20px;
	display: inline;
}

img.alignleft {
	margin: 0 20px 2px 0;
	display: inline;
}
.wp-caption {
	margin-bottom:10px;
}

.wp-caption-text {
	margin:0;
	line-height: 1em;
}

/* Styles */

.highlight {
	overflow: auto;
}

.archive .highlight .alignright {
	clear: both;
	float: none;
	padding-top: 10px;
}
.highlight h1 {
	margin-top: 0;
	margin-bottom: 0;
}

.highlight h2 {
	margin-top: 0;
}

/* Lightbox */
#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}
#cboxOverlay{position:fixed;width:100%;height:100%;background:url(images/overlay.png) 0 0 repeat}
#cboxMiddleLeft,#cboxBottomLeft{clear:left}
#cboxContent{position:relative;overflow:hidden;background:#fff}
#cboxLoadedContent{overflow:auto;margin-bottom:28px}
#cboxLoadedContent iframe{display:block;width:100%;height:100%;border:0}
#cboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494;margin:0}
#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%}
#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}
#cboxTopLeft{width:21px;height:21px;background:url(images/controls.png) -100px 0 no-repeat}
#cboxTopRight{width:21px;height:21px;background:url(images/controls.png) -129px 0 no-repeat}
#cboxBottomLeft{width:21px;height:21px;background:url(images/controls.png) -100px -29px no-repeat}
#cboxBottomRight{width:21px;height:21px;background:url(images/controls.png) -129px -29px no-repeat}
#cboxMiddleLeft{width:21px;background:url(images/controls.png) left top repeat-y}
#cboxMiddleRight{width:21px;background:url(images/controls.png) right top repeat-y}
#cboxTopCenter{height:21px;background:url(images/border.png) 0 0 repeat-x}
#cboxBottomCenter{height:21px;background:url(images/border.png) 0 -29px repeat-x}
#cboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}
#cboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}
#cboxPrevious{position:absolute;bottom:0;left:0;background:url(images/controls.png) -75px 0 no-repeat;width:25px;height:25px;text-indent:-9999px}
#cboxPrevious.hover{background-position:-75px -25px}
#cboxNext{position:absolute;bottom:0;left:27px;background:url(images/controls.png) -50px 0 no-repeat;width:25px;height:25px;text-indent:-9999px}
#cboxNext.hover{background-position:-50px -25px}
#cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat}
#cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat}
#cboxClose{position:absolute;bottom:0;right:0;background:url(images/controls.png) -25px 0 no-repeat;width:25px;height:25px;text-indent:-9999px}
#cboxClose.hover{background-position:-25px -25px}

/* Fancybox */
.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{border:0;outline:none;vertical-align:top;margin:0;padding:0}
.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}
.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
.fancybox-opened{z-index:8030}
.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,0.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,0.5);box-shadow:0 10px 25px rgba(0,0,0,0.5)}
.fancybox-outer,.fancybox-inner{position:relative}
.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}
.fancybox-error{color:#444;white-space:nowrap;margin:0;padding:15px}
.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}
.fancybox-image{max-width:100%;max-height:100%}
#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url(images/fancybox_sprite.png)}
#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:0.8;cursor:pointer;z-index:8060}
#fancybox-loading div{width:44px;height:44px;background:url(images/fancybox_loading.gif) center center no-repeat}
.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}
.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url(images/blank.gif);-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}
.fancybox-prev{left:0}
.fancybox-next{right:0}
.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}
.fancybox-prev span{left:10px;background-position:0 -36px}
.fancybox-next span{right:10px;background-position:0 -72px}
.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}
.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url(images/fancybox_overlay.png)}
.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}
.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}
.fancybox-title{visibility:hidden;position:relative;text-shadow:none;z-index:8050}
.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}
.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;font-weight:700;line-height:24px;white-space:nowrap;padding:2px 20px}
.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}
.fancybox-title-inside-wrap{padding-top:10px}
.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;background:rgba(0,0,0,.8);padding:10px}
.fancybox-inner,.fancybox-lock{overflow:hidden}
.fancybox-nav:hover span,.fancybox-opened .fancybox-title{visibility:visible}

/* Contact form 7 */
div.wpcf7{margin:0;padding:0;text-align:initial;}
div.wpcf7-response-output{margin-top:2em;padding:.2em 1em;}
div.wpcf7-mail-sent-ok{border:2px solid #d5e6cf; background-color: #f0f7ed;}
div.wpcf7-mail-sent-ng{border:2px solid #efbfa8; background-color: #ffece5;}
div.wpcf7-spam-blocked{border:2px solid #e5c896; background-color: #f8e8cc;}
div.wpcf7-validation-errors{border:2px solid #ffe57d; background-color: #fffdca;}
span.wpcf7-form-control-wrap{position:relative}
span.wpcf7-not-valid-tip{position:absolute;top:20%;left:20%;z-index:100;background:#fff;border:1px solid #efbfa8; background-color: #ffece5;width:200px;padding:2px}
span.wpcf7-not-valid-tip-no-ajax{color:#dc9b7c; display:block}
span.wpcf7-list-item{margin-left:.5em}
div.wpcf7 img.ajax-loader{border:none;vertical-align:middle;margin-left:4px}
div.wpcf7 .placeheld{color:#888}
.wpcf7-display-none,div.wpcf7 div.ajax-error{display:none}

input[type='text'], input[type='email'], input[type='tel'], textarea {
	border: solid 1px #f4f4f4;
	border-top: solid 2px #e7e7e7;
	border-right: solid 4px #e7e7e7;
	padding: 5px;
	outline: none;
	transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
}

input:focus, textarea:focus {
    box-shadow: 0 0 10px #0079c2;
    -webkit-box-shadow: 0 0 10px #CCC;
    -moz-box-shadow: 0 0 10px #CCC;
}

#search {
	position: relative;
}

#search input{
	padding-right: 50px; 
}

#search button {
	border: none;
	position: absolute;
	top:0;
	right:0;
}

nav .widget_search h2 {
	display: none;
}

/* WPML */
header .icl_languages_selector, header .widget_icl_lang_sel_widget {
	position: absolute;
	right:0;
	top:0;
}

#lang_sel_list {
	float: right;
	width: auto;
}

#lang_sel_list li {
	float: right;
	width: auto;
	padding-left: 5px !important;
}

#lang_sel_list ul, #lang_sel_list ul a, #lang_sel_list_list ul a:visited {
	background: none;
	border: none;
	display: inline;
	line-height: 1em;
	padding-right: 3px;
	padding-left: 5px;
	color: inherit;
}
#lang_sel_list ul a, #lang_sel_list_list ul a:visited, #lang_sel_list a, #lang_sel_list a:visited {
	width: 65px;
	border: solid 0 rgba(255, 255, 255, 0);
	font-size: 1em !important;
}

/* Social Sharing */
div.mr_social_sharing_wrapper {height: auto; width: 100%; margin: 4px 0; padding: 0; border: 0; line-height: 0;}
div.mr_social_sharing, span.mr_social_sharing, div.mr_social_sharing_top, span.mr_social_sharing_top {display: block; width: auto; height: auto; margin: 2px; padding: 0; vertical-align: bottom;}
span.mr_social_sharing, span.mr_social_sharing_top {display: inline-block;}
div.mr_social_sharing_top, span.mr_social_sharing_top {vertical-align: top;}
div.mr_social_sharing div, span.mr_social_sharing div {vertical-align: bottom !important;}
div.mr_social_sharing_top div, span.mr_social_sharing_top div {vertical-align: top !important;}
a.mr_social_sharing_popup_link, a.mr_social_sharing_popup_link:HOVER {display: inline-block; margin: 0; padding: 0; border: 0; vertical-align: bottom;}
.mr_social_sharing img, .mr_social_sharing_top img {display: inline-block; margin: 0 !important; padding: 0 !important; border: 0 !important; vertical-align: bottom; max-width: 100%;}
.mr_social_sharing a.mr_social_sharing_popup_link, .mr_social_sharing div, .mr_social_sharing span, .mr_social_sharing iframe, .mr_social_sharing img {line-height: 0; vertical-align: bottom;}
.mr_social_sharing_top a.mr_social_sharing_popup_link, .mr_social_sharing_top div, .mr_social_sharing_top span, .mr_social_sharing_top iframe, .mr_social_sharing_top img {line-height: 0; vertical-align: top;}
.mr_social_sharing span.mr_small_icon, .mr_social_sharing span.mr_medium_icon, .mr_social_sharing_top span.mr_small_icon, .mr_social_sharing_top span.mr_medium_icon {display: inline-block; vertical-align: bottom; font-size:10px; font-weight: 200; line-height: 10px; margin: 0 0 0 4px; padding: 0;}
.mr_social_sharing span.mr_medium_icon, .mr_social_sharing_top span.mr_medium_icon {font-size:12px; line-height: 12px;}
span.FBConnectButton_Small {height: 18px;}
.FBConnectButton_Small span.FBConnectButton_Text {height: 6px; padding-top: 6px; padding-bottom: 3px;}
span.fb_share_count_nub_right, span.fb_share_count_nub_right {vertical-align: top;}
span.fb_share_count_top, span.fb_share_count_inner {line-height: 34px;}

/* Cyclone slider */
.cycloneslider{position:relative;max-width: 100% !important;margin-bottom:0 !important;}
.cycloneslider-slides{position:relative;overflow:hidden}
.cycloneslider-slide{position:absolute;left:0;top:0;width:100%;height:100%;z-index:100;text-align:left !important;}
.cycloneslider-slide img{border:0;padding:0;margin:0;max-width:100%; float: left;min-width: 100%; min-height: 100%;}
.cycloneslider-prev,.cycloneslider-next,.cycloneslider-pager{cursor:pointer}
.cycloneslider-slide:first-child{z-index:101}
.cycloneslider-template-default img{display:block}
.cycloneslider-template-default .cycloneslider-prev,.cycloneslider-template-default .cycloneslider-next{display:none;position:absolute;top:50%;margin-top:-22px;z-index:102;width:26px;height:44px;text-indent:-99999px;background:url(http://web-a-porter.cat/wp-content/plugins/cyclone-slider-2/templates/default/images/sprite-arrows.png) no-repeat}.cycloneslider-template-default .cycloneslider-prev{left:10px;background-position:0 0}.cycloneslider-template-default .cycloneslider-next{right:10px;background-position:-29px 0}
.cycloneslider-template-standard .cycloneslider-pager{position:absolute;z-index:200;bottom:50px!important;text-align: center;}
.cycloneslider-template-standard .cycloneslider-pager span{box-shadow:none!important;border-radius: 10px!important;border: solid 2px #fff; background:none !important;}
.cycloneslider-template-standard .cycloneslider-pager span.cycle-pager-active{ background-color:#fff !important;}
.cycloneslider-template-standard .cycloneslider-caption{text-align:center!important;bottom:40%!important;opacity:1 !important; background:none !important;}
.cycloneslider-template-standard .cycloneslider-caption-title{font-size:3em!important;padding:0!important;}
.cycloneslider-template-standard .cycloneslider-caption-description{font-size:2em!important;padding:0!important;}
.cycloneslider-template-standard .cycloneslider-slide iframe,
.cycloneslider-template-default .cycloneslider-slide object,
.cycloneslider-template-default .cycloneslider-slide embed{}
/* Cookies */
#catapult-cookie-bar {direction:ltr;color:#555;min-height:30px;position:fixed;left:0;bottom:0;width:100%;z-index:99999;background-color:#efefef;text-align:center;padding:6px 20px 4px}
button#catapultCookie{float:none;line-height:20px;background:#bbb;border:none;color:#444;border-radius:3px;cursor:pointer;font-size:13px;font-weight:700;margin:0 15px;padding:2px 12px}
	
/* Layout */
body {
	position: relative;
}

header {
	clear: both;
	position: relative;
	margin: 0px 3%;
}

#logo {
	display: inline-block;
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
	min-width: 315px;
	height: 95px;
	background: url("images/layout.png") no-repeat 0 0;
}

header .widget {
	width: auto;
	display: inline-block;
	float: left;
}
header .widget_text_icl {
	margin-left: 20px;
	margin-top: 75px;
}

header .widget h2 {
	margin:0;
	text-transform: uppercase;
}

header .MR_Social_Sharing_Toolkit_Widget {
	float: right;
	width: auto;
}

header .search, header .search:hover {
	position: absolute;
	right:0;
	top: 40px;
	background-image: url("images/ico-calendar-button.png") !important;
	background-position: 7px 5px !important;
	margin:0;
}

nav#menu-principal {
	position: relative;
	clear: both;
	padding: 0;
	margin: 15px 3%;
	display: flex;
	flex-direction: row;
	background-color: #555555;
}

nav#menu-principal ul {
	display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
	list-style: none;
    flex-grow: 1;
}

nav#menu-principal ul li {
	margin: 0;
	padding: 0 10px;
	list-style: none;
    flex-grow: 1;
    text-align: center;
}
nav#menu-principal ul li a {
    display: block;
	padding: 10px 0;
	line-height: 1.2em;
}
nav#menu-principal ul li .sub-menu {
	border: solid 1px #FFF;
	position: absolute;
	z-index: 2000;
	display:none;
}
nav#menu-principal ul li .sub-menu li {
	clear: both;
	float: none;
	display: block;
	border-bottom: solid 1px #FFF;
}
nav#breadcrumbs, nav#breadcrumbs ul{
	display: inherit;
}
nav#breadcrumbs{
    list-style: none;
    overflow: hidden;
	margin: 0 4%;
	background-color: transparent;
	display: inherit;
	min-height: 30px;
}
.home nav#breadcrumbs {
	display:none;
}
nav#breadcrumbs ul {
	margin-left: 0;
}
nav#breadcrumbs li{
    float: none;
	display: inline-block;
	background-color: transparent;
    margin: 0;
    margin-left: 5px;
    margin-right: 5px;
	padding:0;
	min-height: 0;
}

nav#breadcrumbs li a {
	color: inherit !important;
	padding:0;
}
 
nav#breadcrumbs li.separator {
    font-size:20px;
}

article {
	padding-bottom: 20px;
}
.page-template-esdeveniments section#agenda {
	width:60%;
	float: left;
	padding-top: 0;
	padding-left: 3%;
}
aside {
	min-width: 30%;
	max-width: 30%;
	padding-right: 3%;
	padding-bottom: 50px;
	float: left;
}

aside .menu {
	margin: 0;
	list-style-type: none;
}

aside .menu ul {
	list-style-type: none;
	margin:0;
	padding-left:15px;
}

aside .menu li {
	margin: 0;
	padding-right: 0;
	line-height:1.3em;
}

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

aside .menu li ul li {
	border: none;
	padding:5px 0;
}

aside .menu li a {
	padding: 3px;
	display: block;
}

aside form {
	padding: 10px 15px; 
}

aside form p {
	margin: 0;
}

aside h2 {
	margin-top: 0 !important;
	margin-left: 0 !important;
	padding:0;
}

aside .button {
	margin-top: 7px;
}

input[type='text'], input[type='email'], input[type='tel'], textarea {
	width: 98%;
}

aside textarea {
	height: 100px;
}

.archive article a, .page-template-que-fer-php article a, .page-id-1085 article a, .page-id-1676 article a, .page-id-617 article a, .page-id-1576 article a {
	text-decoration: none;
}

article #tags a, article #tags a:hover {
	margin-right: 10px;
	margin-bottom: 10px;
	display: inline-block;
	float: left;
	min-height: 25px;
	line-height: 25px;
	font-size: 0.8em;
	font-weight: bold;
}

article #tags a.tag, article #tags a.tag:hover {
	background: #009ddd;
	border: solid 1px #009ddd;
	color: #FFF!important;
	padding: 0 10px;
	text-decoration: none;
}

.home article section, .page-template-index-home-php article section {
	padding: 10px 3%;
}

article section, article section.higlight {
	padding: 30px 4%;
}

.home .highlight h2, .page-template-index-home-php .highlight h2 {
	text-align: center;
}
article h1, article h2, article h3 {
	margin-left: 4%;
	margin-right: 4%;
}

article .highlight h2, article .highlight h3 {
	margin-left: 0;
	margin-right: 0;
}

article .highlight h2, #multibanner h2 {
	text-align: left;
}

article ul {
	margin:0;
}
article li, #garraf .sub-menu li {
	list-style-type: none;
	padding: 3px;
	padding-left: 20px;
	background: transparent url(images/ico-li.png) no-repeat 5px 5px;
	min-height: 15px;
	line-height: 1em;
	margin: 10px 0;
}
article li a {
	text-decoration: none;
}
.archive article section img, .page-template-que-fer-php article section img, .page-id-1085 article section img, .children img {
	float: right;
	margin-left: 20px;
}
#multibanner {
	float: left;
	width: 65%;
	padding-top: 0;
	padding-right:0;
}
#trend {
	float: right;
	text-align: right;
	padding-top: 0;
	padding-left: 0;
	width: 26%;
}
#trend img {
	width: 100%;
}

#multibanner h2, #trend h2 {
	margin:5px;
	margin-bottom: 10px;
}
.home h1, .home h2 {
	text-align: center;
}
#fer {
	text-align: center;
}
#fer div {
	display: flex;
  justify-content: space-between;
}
#fer a {
	display: inline-block;
	margin: 0;
	/*width: 175px;*/
	width: 17%;
	overflow: hidden;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #fff;
}
#fer .aligncenter {
	margin-bottom:0;
}
#fer a.search {
	width: auto;
}
#fer a h2 {
	margin: 5px;
	margin-bottom: 10px;
	color: #b0cd2a !important;
	font-weight: bold;
	line-height: 1em;
}
#fer a .firstWord {
	display: block;
	clear: both;
}
html.es-ES #fer a:nth-of-type(3) .firstWord {
	display: inline-block;
}
#fer a img {
	max-height: 175px;
	min-width: 100%;
	height: auto;
}

#agenda .widget_em_calendar {
	width: 30%;
	float: left;
	margin-right: 4%;
}
#agenda .widget_em_calendar table {
	float: right;
	background-color: #fff;
}
#agenda .widget_em_calendar table .days-names {
	display: none;
}
.page-template-esdeveniments-php #agenda .widget_em_widget {
	width: auto;
	float: none;
	padding: 0 3%;
}
.em-calendar-wrapper {
	background-color: #FFF;
}
.em-calendar {
	border-collapse:collapse;
}
.days-names {
	display:none;
}
.em-calendar thead, .em-calendar thead a {
	color: #b0cd2a;
	text-transform: uppercase;
}
.em-calendar tbody tr td {
	height: 40px;
	width: 42px;
	line-height: 40px;
	padding:0;
	margin:0;	
}

table.em-calendar td.eventful-today a {
	color: inherit;
}

table.em-calendar td.eventful a {
	background-color: #b0cd2a;
	border: solid 1px #8ca321;
	color: #FFF !important;
	display: block;
	height: 38px;
	width: 40px;	
}
table.em-calendar td.eventful a:hover {
	background-color: #bcd15d;
}

#calendar .widget_text, #calendar .widget_em_widget {
	background-color: #FFF;
	overflow: auto;
	padding: 15px;
}
#agenda .widget_em_calendar h2 {
	display: none;
}
#agenda .widget_em_widget {
	width: 65%;
	float: left;
}
#agenda .widget_em_widget h2 {
	text-align: left;
	margin-left:0;
}
.home #agenda ul {
	margin:0;
}
.tax-event-categories article {
	margin: 0px 4%;
}
#cat-events {
	display: none;
}
.tax-event-categories #cat-events {
	display: block;
}
.home #agenda li {
	width: 38%;
	margin-left: 2%;
	float: left;
}
#agenda li, .tax-event-categories h1 {
	padding-left: 50px;
	margin-top: 0;
	margin-bottom: 5px;
	background: transparent url(images/ico-calendar.png) no-repeat 0 4px;
	min-height: 44px;
}
.tax-event-categories h1 {
	margin-left:0;
	font-size: 1.3em;
	margin-top:10px;
	padding-top:10px;
	color: #4A4A4A !important;
}
.tax-event-categories h1.title {
	background: none;
	font-size: 1.6em;
	padding:0;
	color: #B0CD2A !important;
}
#agenda li p {
	margin:0;
	font-size: 1.1em;
	line-height: 1.1em;
	color: #999;
}
#agenda p.aligncenter {
	clear: both;
	float: none;
	margin-bottom:0;
}
.single-event .event-map {
	float:right;
	margin:0px 0px 15px 15px
}
.single-event ul.event-categories {
	display: inline-block;
	width: auto;
	margin:0;
}
.single-event ul.event-categories li {
	display: inline-block;
	padding:0;
	margin:0;
	padding-right: 6px;
	margin-left: 4px;
	background: none;
	border-right: solid 2px #8888aa;
}
.single-event ul.event-categories li:last-child {
	border: none;
}

#banners {
	text-align: center;
}
#banners a {
	display: inline-block;
	/*float: left;*/
	width: 22.5%;
	margin: 0 1%;
	text-align: center;
}
#banners a img {
	/*width: 85%;*/
	max-width:100%;
}
#professionals{
	float: left; 
	width: 62%; 
	display:inline-block;
	padding-right:0
}
#professionals div {
	float: left;
	width: 46%;
	margin:0;
	margin-right: 5%;
	padding:0;
}

.home #news {
	width: 40%;
	float:left;
}
.home #news img {
	clear: both;
	float: none;
}
time {
	font-size: 0.9em;
}

#news time {
	display: block;
	clear: both;
	float: none;
	margin-bottom: 20px;
}
#news h1, #garraf h1 {
	font-size: 1.6em;
	margin-left:0;
	margin-right:0;
	margin-bottom: 20px;
}

#mc_embed_signup h2, #news h2 {
	text-align: left;
	text-transform: uppercase;
}
#mc_embed_signup {
	float: left;
	width: 20%;
}
#mc_embed_signup input[type='email'], #mc_embed_signup p {
	width: 96%;	
}
#mc_embed_signup p {
	text-align: right;
	display: block;	
}
#garraf {
	float: left;
	width: 22%;
	display:inline-block;
}
#garraf li {
	background: none;
	text-transform: uppercase;
	padding-top: 1px;
	margin-top: 5px;
}
#garraf li ul {
	margin-top: 20px;
}
#garraf li li {
	text-transform: initial;
	font-size: 0.7em;
}
#garraf li li a {
	color: #777;
}

#participacio {
	padding-left: 3%;
}

#participacio a {
	width: 135px;
	height: 55px;
	margin-right: 50px;
	margin-bottom: 30px;
	display: inline-block;
	float: left;
	background: url("images/layout.png") no-repeat 0 -145px;
}

#participacio a:nth-child(3) {
	width: 101px;
	height: 66px;
	background: url("images/layout.png") no-repeat 0 -210px;
}

#participacio a:nth-child(4) {
	width: 230px;
	height: 60px;
	background: url("images/layout.png") no-repeat 0 -290px;
	margin-right: 0;
}

.page-template-cercador-php .desplegable, .page-template-cercador_ondormir-php .desplegable {
   background-color: #fff;
    clear: both;
    border: solid 1px #ccc;
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
	-moz-column-gap: 50px;
	-webkit-column-gap: 50px;
	column-gap: 50px;
	padding: 20px;
}
.page-template-cercador-php .desplegable ul li, .page-template-cercador_ondormir-php .desplegable ul li {
    list-style:none;
	background: none;
}
.page-template-cercador-php label, .page-template-cercador_ondormir-php label {
	display: inline-block;
	width: 120px;
}
.page-template-cercador-php input[type='text'], .page-template-cercador_ondormir-php input[type='text'] {
	max-width: 300px;
}
.page-template-cercador-php #resultats, .page-template-cercador_ondormir-php #resultats {
	width: 100%;
	background-color: #fff;
}
.page-template-cercador-php #resultats th, .page-template-cercador-php #resultats td, .page-template-cercador_ondormir-php #resultats th, .page-template-cercador_ondormir-php #resultats td {
	padding: 10px 15px;
}
.page-template-cercador-php #resultats tr, .page-template-cercador_ondormir-php #resultats tr {
	background-color: #f1f1f1;
}
.page-template-cercador-php #resultats tr:nth-child(odd), .page-template-cercador_ondormir-php #resultats tr:nth-child(odd) {
    background-color: #FFF;
}
.page-template-cercador-php #resultats strong a, .page-template-cercador_ondormir-php #resultats strong a {
    text-decoration: none;
	text-transform: uppercase;
	font-size: 1.1em;
}
#fitxa p {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
	-moz-column-gap: 25px;
	-webkit-column-gap: 25px;
	column-gap: 25px;
}
#fitxa .caracteristiques {
	-moz-column-count: 1;
	-webkit-column-count: 1;
	column-count: 1;
	-moz-column-gap: 0;
	-webkit-column-gap: 0;
	column-gap: 0;
}
.single #fitxa .caracteristiques {
	display: none;
}
.single-event #fitxa .caracteristiques {
	display: block;
}
#contacte .alignleft{
	width: 50%;
}
#contacte .alignright{
	width: 35%;
	padding: 0 4%;
}
iframe {
	max-width: 100%;
}
footer {
	clear: both;
	padding: 25px 3%;
	padding-bottom: 50px;
	background-color: #555555;
}

footer .widget {
	max-width: 650px;
	float: left;
}

footer .widget h2 {
	margin-top: 0;
	margin-bottom: 0;
	text-transform: uppercase;
}

footer .widget p {
	margin: 5px 0;
}

footer .menu {
	float: right;
	width: auto;
	margin: 0;
	padding: 0;
}

footer ul li {
	display: inline-block;
	//float: left;
	padding: 0 5px;
	line-height: 1em;
}

footer #author {
	text-align: right;
	clear: both;
	margin: 0;
}

/* TinyMCE */
body#tinymce { background: none !important; background-image: none !important; background-color: #FFF !important; }

/*
##     ## ######### ########  #### ##        #########
###   ### ##     ## ##     ##  ##  ##        ##       
## # # ## ##     ## ##     ##  ##  ##        ##       
##  #  ## ##     ## ########   ##  ##        #######  
##     ## ##     ## ##     ##  ##  ##        ##       
##     ## ##     ## ##     ##  ##  ##        ##       
##     ## ######### ########  #### ######### #########
*/
.shiftnav-wrap {
	padding-top: 0 !important
}
#shiftnav-toggle-main, #shiftnav-main {
	display: none;
	overflow: hidden;
}
#shiftnav-toggle-main, #shiftnav-main, 
.shiftnav.shiftnav-skin-standard-dark, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu { 
    background: #555 none repeat scroll 0% 0% !important;
}
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu ul.sub-menu, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
    background: rgba(0,0,0,0.1) none repeat scroll 0% 0% !important;
}
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
	border-color: rgba(0,0,0,0.1)!important;
}
#shiftnav-main a, 
#shiftnav-main .shiftnav-menu-title a, 
#shiftnav-main .shiftnav-menu-title a:hover, 
#shiftnav-main .shiftnav-menu-title a:visited {
	color: #FFF;
	background: transparent;
}
.shiftnav, .shiftnav *, .shiftnav-toggle, .shiftnav-toggle *,
.shiftnav ul.shiftnav-menu, .shiftnav ul.shiftnav-menu ul.sub-menu,
.shiftnav ul.shiftnav-menu li.menu-item {
	border-color: #fff;
}

@media only screen and (max-width: 955px), only screen and (max-device-width: 955px) {
	nav ul li {
		padding: 5px;
	}
	header .widget {
		margin:0;
		float: none;
		width:100%;
		text-align: center;		
	}
	header .widget h2 {
		margin-left: 0 !important;
		margin-top: 0 !important;
		height: auto !important;
	}
	header .icl_languages_selector {
		position: absolute !important;
	}
	header .icl_languages_selector, #lang_sel_list {
		clear: none !important;
		top: 0 !important;
		width: auto !important;
		float: right !important;
	}
	header .MR_Social_Sharing_Toolkit_Widget{
		display:none;
	}
	
	.page-template-cercador-php #resultats tr.head, .page-template-cercador_ondormir-php #resultats tr.head{
		display: none;
	}
	.page-template-cercador-php #resultats tr, .page-template-cercador_ondormir-php #resultats tr{
		display: block;
		padding-top: 10px; 
		padding-bottom: 10px; 
	}
	.page-template-cercador-php #resultats td, .page-template-cercador_ondormir-php #resultats td{
		display: block;
		padding-top:0;
		padding-bottom:0;
	}
	.page-template-cercador-php #resultats td .more, .page-template-cercador_ondormir-php #resultats td .more{
		margin-top: 10px;
	}
}

@media only screen and (max-width: 730px), only screen and (max-device-width: 730px) {
	.shiftnav-wrap {
		padding-top: 53px !important;
	}
	#shiftnav-toggle-main, #shiftnav-main {
		display: block;
	}
	nav#menu-principal {
		display:none;
	}
	header {
		text-align: center;
	}
	a#logo, header .search, header .search:hover {
		position: relative;
		top:0;
		display: inline-block;
		clear: both;
		float: none;
		margin: 0;
		margin-top: 35px;
		margin-bottom: 10px;
	}
	.page-template-cercador-php .desplegable, .page-template-cercador_ondormir-php .desplegable {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		-moz-column-gap: 20px;
		-webkit-column-gap: 20px;
		column-gap: 20px;
	}
	#menu-menu-lateral li a {
		background-color:#f1f1f1;
		border-color:#FFFFFF;
		padding: 5px 10px;
		margin-bottom:5px;
		line-height:150% !important;
		text-align: center;
	}
	footer {
		padding-bottom: 100px;
	}
	footer ul, p#author, footer .widget, footer .widget h2, footer .widget p {
		display: block !important;
		width: 100% !important;
		clear: both !important;
		float: none !important;
		text-align: center;
		line-height: 1.4em !important;
		margin: auto;
	}
	footer ul, p#author, footer .widget h2 {
		padding-top: 20px !important;
	}
	#fer div {
		display: block;
	}
	#fer a, #banners a {
		display: inline-block;
		width: auto;
		margin: 2%;
	}
	#fer a img, #banners a img {
	    width: auto;
	    min-width: auto;
	    height: auto;
	}
	.home #news, .home #mc_embed_signup, .home #garraf {
		display: block;
		float: none;
		width: 93%;
	}
	.single-event .event-map, .em-location-map-container {
		width: 100% !important;
		margin: 0;
		float: none;
	}
	#agenda .widget_em_calendar, #agenda .widget_em_widget {
		width: 45%;
		margin: 2%;
	}
	.home #agenda li {
		width: 80%;
	}
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
	#fer a, #banners a {
	    width: 94%;
	}
	#multibanner, #trend{
		margin: 25px 3%;
		padding:0;
		width: 94%;
		text-align: center;
		float: none;
		clear: both;
	}
	article img {
		max-width:100% !important;
	}
	.cycloneslider-template-standard .cycloneslider-caption {
		bottom: auto !important;
		top: 10px !important;
	}
	.cycloneslider-template-standard .cycloneslider-pager {
		bottom: 10px !important;
	}
	#trend img {
		width: auto;
		max-width: 180px !important;
	}	
	ul#menu-menu-lateral li.menu-item-139 {
		border:none !important;
	}
	div.cycloneslider{
		max-width:100% !important;
	}
	.cycloneslider-template-default .cycloneslider-slide img {
		max-width:100% !important;
		width: 100% !important;
	}
	.cycloneslider-template-default .cycloneslider-caption-title{
		padding-top: 5px !important;
	}
	.cycloneslider-template-default .cycloneslider-caption-description {
		padding-bottom: 5px !important;
	}
	.page-template-cercador-php .desplegable, .page-template-cercador_ondormir-php .desplegable {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		-moz-column-gap: 0;
		-webkit-column-gap: 0;
		column-gap: 0;
	}
	.page-template-esdeveniments section#agenda, aside {
		min-width: 94%;
		max-width: 94%;
		float: none;
		padding-left: 3%;
	}
	#agenda .widget_em_calendar, #agenda .widget_em_calendar table {
		float: none;
		width: 100%;
		margin: 0;
	}
	#agenda .widget_em_widget {
		width: 95%;
		margin: 2%;
	}
	#fitxa p {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		-moz-column-gap: 0;
		-webkit-column-gap: 0;
		column-gap: 0;
	}
	.page-template-cercador-php input[type="text"], .page-template-cercador_ondormir-php input[type="text"] {
		max-width: 96%;
	}
	#contacte .alignleft, #contacte .alignright {
		min-width: 94%;
		max-width: 94%;
		float: none;
		padding-left: 3%;
		margin:0;
	}

}
@media only screen and (max-width: 315px), only screen and (max-device-width: 315px) {
	#logo {
		width: 100% !important;
		min-width: auto !important;
		background-size:cover;
	}
}
@media only screen and (max-device-width: 320px) {
}
