/*  
Theme Name: mvdr
Theme URI: http://www.aaaa.cat
Version: 1.0
Description: Design - aaaa.cat
*/

/*FONT-FACE*/
@font-face{
    font-family: 'helvetica';
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/helvetica-roman.eot');
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/helvetica-roman.eot?#iefix') format('embedded-opentype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/helvetica-roman.ttf') format('truetype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/helvetica-roman.svg#futura-roman') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'futura';
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Book.eot');
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Book.eot?#iefix') format('embedded-opentype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Book.woff') format('woff'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Book.ttf') format('truetype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Book.svg#futura-roman') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'futura';
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Bold.eot');
    src: url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Bold.eot?#iefix') format('embedded-opentype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Bold.woff') format('woff'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Bold.ttf') format('truetype'),
        url('/https/miesbcn.com/wp-content/themes/mvdr/fonts/FuturaStd-Bold.svg#futura-bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    border: 0;
    font: inherit;
    font-size: 100%;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section{
    display: block;
}

html, body{
    font-family:"futura",  Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
}

body{
    width:100%;
    display:block;
    font-size:14px;
    line-height:18px;
    background:#fff;
}

h1{
    margin:0;
}

ol, ul{
    list-style: none;
}

blockquote, q{
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after{
    content: '';
    content: none;
}

table{
    border-spacing: 0;
    border-collapse: collapse;
}


p{
    margin-bottom:16px;
}

a, a:visited, a:link{
    color:rgb(102,102,102);;
    text-decoration:none;
}

.preview{
    display:block;
}
.preview img{
    vertical-align:top;
}

a:hover{
    color:#00f !important;
}

strong, b{
    font-family: 'futura';
    font-weight:bold;
}

#outer{
    position:relative;
    padding-top:24px;
    overflow:hidden;
    max-width:1216px;
    margin:0 auto;
}

.pre-nav{
    display:none;
}

/*--------HEADER*/
#header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 24px 0 16px 0;
    margin-top: 0px;
    background: #fff;
    z-index: 999;
}

#header_content{
    max-width: 1216px;
    margin:0 auto;
}

.header_principal{
    float:left;
}

.header_secundari{
    float:right;
}

/* LOGO -----------*/
#logo-30-years{
    clear: right;
    float: right;
    margin-right: 240px;
    margin-bottom: -29px;
    margin-top: -28px;
}


#logo{
    float:left;
    clear:both;
    margin-left:0;
    position:absolute;
}

#logo img{
    /*width:540px;*/
    width:auto;
    height:60px;
    margin-left:-17px;
    float:left;
}

#logo span{
    height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
}

/* SOCIAL LINKS -----------*/
#social{
    width:auto;
    height:auto;
    float:right;
    clear:right;
    margin:auto 0 20px auto;
}

#social a{
    width:27px;
    height:27px;
    background-repeat:no-repeat;
    display:block;
    margin-left:6px;
    float:left;
}

#social #facebook{
background-image:url(images/facebook.png);
}

#social #facebook:hover{
    background-image:url(images/facebook-blue.png);
}

#social #twitter{
    background-image: url(/https/miesbcn.com/wp-content/uploads/2024/06/logo-twitter-x-e1718715646862.png);
    background-size: 24px;
    background-repeat: no-repeat;
    top: 4px;
    position: relative;

}

#social #twitter:hover{
    background-image:url(/https/miesbcn.com/wp-content/uploads/2024/06/Twitter_new_X_logo-removebg-preview-e1718716526623.png);
	 background-size: 24px;
    background-repeat: no-repeat;
    top: 4px;
    position: relative;
}

#social #instagram{
    background-image:url(images/instagram.png);

}

#social #instagram:hover{
    background-image:url(images/instagram-blue.png);
}

#social #vimeo{
    background-image:url(images/vimeo.png);
}

#social #vimeo:hover{
    background-image:url(images/vimeo-blue.png);
}

#social #pinterest{
    background-image:url(images/pinterest.png);

}

#social #pinterest:hover{
    background-image:url(images/pinterest-blue.png);
}

#social #linkedin{
    background-image:url(images/linkedin.png);

}

#social #linkedin:hover{
    background-image:url(images/linkedin-blue.png);
}

#social #youtube{
    background-image:url(images/youtube.png);

}

#social #youtube:hover{
    background-image:url(images/youtube-blue.png);
}
#social #foursquare{
    background:#000 url(images/foursquare.png) no-repeat center top;
    background-size:27px 27px;
}
#social #foursquare:hover{
    background-color:#00f;
}

#social #newsletter{
    background:url(images/newsletterweb.png) no-repeat center top;
    background-size:27px 27px;
}
#social #newsletter:hover{
    background:url(images/newsletterweb-blue.png) no-repeat center top;
    background-size: 27px 27px;
}

/* MENUS -----------*/
/* MAIN MENUS -----------*/
#navigation-menus{
    width:100%;
    position:relative;
    float:left;
    clear:both;
    margin-top:60px;
}

#menuprincipal{
    width:auto;
    float:left;
    margin-left:0;
}

#menusecundari{
    float:right;
    clear:right;
    margin-right:0;
}
#mobile-menu, #menuactual{
    display:none;
}

#menuprincipal li, #menusecundari li{
    float:left;
    margin-right:24px;
    font-size:16px;
    font-weight:bold;
}

#menusecundari li{
    margin:auto 0 auto 24px;
}

#menusecundari li .sub-menu li{
    margin:auto 24px auto 0;
}

#menuprincipal li a, #menusecundari li a, #selector_idioma #lang_sel_list a, .titol_event a, .list-info a{
    color:#000;
    background:#fff;
}

#menuprincipal li a:hover, #menusecundari li a:hover, #selector_idioma #lang_sel_list a:hover{
    color:#00F !important;
    text-decoration:none;
}
#menuprincipal li.current-menu-item a, #menusecundari li.current-menu-item a, #menuprincipal li.current-menu-parent a, #menuprincipal li.current-page-ancestor a, #menusecundari li.current-menu-parent a, #menusecundari li.current-page-ancestor a, .anys_esdeveniments li.current-cat a{
    color:#0F0;
}

#menuprincipal li .sub-menu{
    margin-left:0;
    display:none;
}
@media (max-width: 380px){
    #menuprincipal li .sub-menu{
        top: 85px!important;
    }
}

#menusecundari li .sub-menu{
    margin-left:0;
    display:none;
}

#menusecundari li.current-menu-item .sub-menu, #menusecundari li.current-menu-parent .sub-menu{
    position: absolute;
    top:100px;
    left: 0;
    display: block;
}
.calendar_event-template-default #header_content #menuprincipal li .sub-menu {
    display: none;
}
#menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu, #menusecundari li.current-menu-item .sub-menu, #menusecundari li.current-menu-parent .sub-menu, .calendar_event-template-default #menuprincipal li .sub-menu{
    position: absolute;
    top: 65px;
    left: 0;
    display: block;
    background:#fff;
    width: 100%;
    padding-bottom: 15px;
    padding-top: 6px;
    margin-top: 10px;
}

#menuprincipal li .sub-menu a{
    font-size:12px;
    line-height:20px;
    color:#000;
}
#menusecundari li .sub-menu a{
    font-size:12px;
    line-height:20px;
    color:#000;
}

#menuprincipal li .sub-menu li.current-menu-item a{
    color:#0F0;
}

#menusecundari li .sub-menu li.current-menu-item a{
    color:#0F0;
}

/* LANGUAGE SELECTOR -----------*/

#selector_idioma{
    height:auto;
    float:right;
    clear:both;
    margin:auto 0 12px auto;
    display:flex;
    align-items:flex-end;
	z-index: 999 !important;
}

#venta_entrades{
  margin-right: 6px;
}

#btn_entrades{
	font-family: "futura";
    font-size: 12px;
    font-weight: bold;
    padding: 9px;
    border-color: #cdcdcd !important;
    border: 1px solid;
    background-color: white;
    cursor:pointer;
}

#btn_entrades:hover{
	color: #00F !important;
}

#lang_sel_list{
    height:auto;
}

#lang_sel_list li {
    margin-left: 7px;
    margin-right: 7px;
}
#lang_sel_list li:first-child{
    margin-left: 0px;
}
#lang_sel_list li:last-child{
    margin-right: 0px;
}

#lang_sel_list a, #lang_sel_list a:visited, #submenu_shop ul li a{
    padding:0;
    margin:0;
    font-family:"futura";
    font-size:12px;
    font-weight:bold;
    line-height:16px !important;
    color:#000 !important;
}
#selector_idioma a.lang_sel_sel{
    text-decoration:none !important;
    color:#0F0 !important;
}



/*------------CONTENT*/
#contingut{
    margin-right:0;
    max-width:100%;
}
#contingut, #contingut_sidebar, #tribe-events-pg-template{
    width: auto;
    float: left;
    clear: both;
    padding: 0 0 64px 0;
    margin: 236px 328px auto auto;
    font-size: 16px;
    line-height: 22px;
}

.home #contingut, .page-template-noticies-php #contingut_jq, .page-template-premsa-php #contingut_sidebar, .single-noticies #contingut{
    margin-top:184px;
}
.page-template-contact-php #contingut{
    width:100%;
}


#contingut_jq{
    float:left;
    clear:both;
    padding-bottom:64px;
    margin-top:250px;
    margin-right:304px;
    font-size:16px;
    line-height:22px;
    padding: 0 0 64px 0;
    visibility: hidden;
}
#contingut .bloc .img-preus img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    margin-top: 5px;
}
/** LLOGUER **/
#contingut .bloc .col-1-4 {
    width: 21%;
    float: left;
    padding-right: 15px;
    font-size: 14px;
}
#contingut #taula-lloguer td{
    padding-right: 60px;
    text-align: left;
}
#contingut #taula-lloguer .title-table{
    font-weight: bold;
    font-size: 14px;
}
#contingut .title-img{
    text-decoration: underline;
    font-size: 14px;

}
#contingut .contingut-lloguer p{
    margin-bottom: 5px;
    font-size: 14px;
}

#contingut .img-lloguer img{
    width: 100%;
    height: 100%;
}
#contingut .lloguer-celebracio {
    display: block;
    float: left;
    margin-bottom: 20px;
}
#contingut .separacio_blocs {
    float: left;
    max-width: 888px;
    width: 100%;
    margin: 0;
    margin-bottom: 35px;
}


.contingut_ambsidebarevents{
    margin-right:64px;
}

#tribe-bar-views, #tribe-bar-collapse-toggle, .tribe-bar-submit{
    display:none;
}

#tribe-events .tribe-events-notices {
    color:#000;
    background:none;
    border:none;
    padding-left:0;
}



.single-tribe_events #tribe-events-content, .events_content{
    max-width:584px;
    float:left;
}
h1.summary{
    margin-bottom: 24px;
    font-weight: bold;
}

/*------------sidebar fitxes projectes*/
.info_complementaria{
    float:left;
    margin-left:24px;
    font-size:13px;
    line-height:17px;
    max-width:280px;
}
.info_complementaria h3{
    font-size:12px;
}

.info_complementaria h3{
    font-weight:bold;
}

.info_complementaria a{
    color:rgb(102,102,102);
}

.seccio{
    margin-bottom:20px;
}

.notes_event{
    margin-top:20px;
    float:left;
}

.categories_event {
    list-style:none;
}

.links_event p{
    margin-bottom:0;
}

.single_content img{
    margin:16px 0;
    max-width:482px;
}

#contingut p .single_content p, #tribe-events-content p, .events_content p, #contingut_sidebar p .single_content p, .single_content p, .notes_event p{
    margin-bottom:16px;
}

.sidebar_events, .sidebar_news{
    float:left;
    padding-bottom:32px;
}

#info_1, .mes_info{
    font-size:12px;
    line-height:16px;
}


.sidebar_events .location{
    margin-bottom:24px;
}

/*GALLERY*/
.page-template-page_gallery-php #contingut{
    margin-right:0;
    max-width: 904px;
}

#gallery-1 img{
    border:none!important;	
}

.gallery{
    width:auto;
    max-width:904px;
    height:auto;
    float:left;
}

.single .gallery{
    margin-top:16px;
    clear:both;
}

dt.gallery-icon{
    line-height:0;
}

.gallery-item{
    width:23%;
    width: -webkit-calc(25% - 16px);
    width: -moz-calc(25% - 16px);
    width: calc(25% - 16px);
    float:left;
    margin:0 16px 16px 0!important;
}

.gallery-quart{
    margin-right:0 !important;
}


.no-csscalc .gallery-item{
    margin-right:2% !important;
}

img.attachment-thumbnail{
    width:100%;
    height:auto;
    border:none!important;
}

#contingut .gallery img{
    border:none;
    height:auto;
    width:100%;
}

.bloc{
    max-width: 444px;
    width: 50%;
    float:left;
    margin-right:0;
}
.bloc_dreta{
    margin-right:0;
}

.page-id-33175 .bloc,
.page-id-33195 .bloc,
.page-id-33196 .bloc{
    width:auto;	
}

.bloc h2{
    margin-bottom:16px;
    font-size:18px;
}

.bloc p{
    margin-bottom:16px;
    font-size:16px;
    line-height:22px;
    margin-right:12px;
}
.bloc_dreta p, .bloc_dreta .textpetit, .bloc_dreta .dretaimages{
    margin-left:12px;
    margin-right:0;
}


.bloc_dreta .textpetit p{
    margin-left:0;
}
#form-newsletter {
    padding: 10px;
    border: 1px solid #cdcdcd;
}
#form-newsletter input[type="email"]::-webkit-input-placeholder {
    color: #cdcdcd;
    padding: 5px 0 5px 10px;
    font-weight: bold;
}
#form-newsletter p{
    font-weight: bold;
}
#form-newsletter input[type="email"] {
    width: 226px;
    padding: 4px 0;
}
#form-newsletter input[type=submit]{
    background-color: #999b9e;
    border: none;
    padding: 5px;
    color: white;
    font-weight: bold;
    position: absolute;
    right: 0px;
    top: 0px;
}
#form-newsletter input[placeholder]{

}

.bloc_patrocinadors{
    /**margin-right:96px;**/
    max-width: 833px;
    width: 100%;
}
.bloc_patrocinadors.horizontal {
    max-width: 100%;
    width: 100%
}
.bloc_patrocinadors.horizontal .grup_patrocinadors img {
    padding: 25px 40px 25px 0px;
}
.bloc_patrocinadors.horizontal .grup_patrocinadors {
    width: auto;
}
.bloc_patrocinadors p{
    font-size:12px;
}

.grup_patrocinadors{
    margin-bottom: 32px;
    float: left;
    width: 100%;
}
.grup_patrocinadors img{
    padding: 15px 0;
}

.grup_patrocinadors .desc_logo{
    float: right;
    font-size: 15px;
    max-width: 540px;
}

#capcalera_pagina{
    max-width:888px;
    margin-bottom:32px;
}
#capcalera_pagina img{
    width:100%;
    height:auto;
    vertical-align:top;
}

/* AGENDA I PROJECTS*/
.esdeveniments_list{
    overflow:hidden;
    /*padding-top:16px;*/
    width:100%;
    margin-top: 35px;
}

.esdeveniments_list li{
    float:left;
    clear:both;
    margin-bottom:32px;
}

.esdeveniments_list ul li{
    margin-bottom:3px;
    margin-top:-2px;
    line-height:11px;
}

.tax-any_esdeveniment .esdeveniments_list li.event_cat{
    position:relative;
    overflow: hidden;
}

.esdeveniments_list li.no-thumbnail{
    /*margin-left:151px;*/
}

.esdeveniments_list li.no-thumbnail .esquerra{
    width:150px;
    height:1px;
    margin-bottom:0;
}

.categories{
    line-height:12px;
    margin-bottom:3px;
}

.categories p{
    margin-top:-2px;
    margin-bottom:0;
}

.tax-any_esdeveniment .categories p.eventcat{
    margin-top:0;
}

.esdeveniments_list .categories li{
    float:left;
    clear:none;
    margin-right:16px;
}

.esdeveniments_list ul li a, a.more, .categories a, .intervencions_list li .data_publicacio{
    font-size:13px;
    line-height:15px;
    color:rgb(102,102,102);
}

.anys_esdeveniments{
    position: absolute;
    top: 214px;
    left: 0;
    display: block;
    background: #fff;
    width: 100%;
    padding-bottom: 5px;
    padding-top: 6px;
    margin-top: 0;
}

.anys_esdeveniments li{
    float:left;
    margin-right:16px;
    font-size:12px;
    font-weight:bold;
}

/*PÀGINA PROJECTS*/
.single-activitats_fundacio #menuprincipal li.menu-item-2034 a, .single-activitats_fundacio #menuprincipal li.menu-item-2035 a, .single-activitats_fundacio #menuprincipal li.menu-item-624 a {
    color:#0f0;
}

.single-noticies #menusecundari li.menu-item-31615 a, .single-noticies #menusecundari li.menu-item-31194 a, .single-noticies #menusecundari li.menu-item-31612 a{
    color:#0f0;
}

.single-activitats_fundacio #menuprincipal li.menu-item-2034 ul.sub-menu, .single-activitats_fundacio #menuprincipal li.menu-item-2035 ul.sub-menu, .single-activitats_fundacio #menuprincipal li.menu-item-624 ul.sub-menu{
    position: absolute;
    top: 55px;
    left: 0;
    display: block;
    background: #fff;
    width: 100%;
    padding-bottom: 15px;
    padding-top: 6px;
    margin-top: 0;
}

.single-activitats_fundacio #menuprincipal li.menu-item-2034 ul.sub-menu li a, .single-activitats_fundacio #menuprincipal li.menu-item-2035 ul.sub-menu li a, .single-activitats_fundacio #menuprincipal li.menu-item-624 ul.sub-menu li a{
    color:#000;
}
.single-activitats_fundacio #menuprincipal li.menu-item-2034 ul.sub-menu li.menu-item-2273 a, .single-activitats_fundacio #menuprincipal li.menu-item-2035 ul.sub-menu li.menu-item-2661 a, .single-activitats_fundacio #menuprincipal li.menu-item-624 ul.sub-menu li.menu-item-32322 a{
    color:#0f0;
}

.data_publicacio{
    margin-bottom:3px;
}

.esquerra, .dreta{
    float:left;
}

.esquerra{
    position:absolute;
}

.dreta{
    width:auto;
    margin-left:180px;
}

.preview-esdeveniments img{
    width:150px;
    height:auto;
}

.titol_event{
    clear:both;
    font-size:16px;
    font-weight:bold;
    line-height:22px;
}

.descripcio_event{
    clear:both;
    margin-bottom:16px;
    text-align:left;
}

.data_event, .adreca_event{
    font-size:13px;
    line-height:17px;
    color:black;
}

.data_event p, .adreca_event p{
    margin-bottom:0;
}

#lightbox_background, #lightbox_menu{
    width:100%;
    height:100%;
    position:fixed;
    left:0;
    top:0;
    display:none;
    background-color:rgba(255,255,255,0.8);
    z-index:5;
}

/*SIDEBAR*/
#widgets{
    width: 280px;
    position:absolute;
    top: 260px;
    right:0;
    background: #fff;
    z-index: 6;
    display:none;
    padding-bottom:64px;
    min-height:570px;

}

.page-template-noticies-php #widgets, .page-template-premsa-php #widgets{
    top:176px;
}

#primary-sidebar h1{
    display:inline;
}

#select_category{
    width:278px;
    padding:0;
    margin:30px auto 36px -1px;
    border:1px solid #d2d2d2;
    background:#fff;
    font-weight:normal;
    color:#444;
    z-index:6;
}
/*.tribe_mini_calendar_widget{
                width:280px;
                position:relative;
                margin-top:32px;
        }
        
.page-template-noticies-php .tribe_mini_calendar_widget{
        top:0;
}
*/
.sidebar_events #widgets{
    width:280px;
    position:relative;
    float:left;
    z-index:6;
    top:auto;
}

/*.sidebar_events #widgets .tribe-events-event-meta:first-child{
        margin:0;
        border:none;
}

.tribe-mini-calendar-wrapper .tribe-events-present, .tribe-mini-calendar-wrapper .tribe-events-present .tribe-mini-calendar-no-event {
        color:#00F;
}

.tribe-mini-calendar .tribe-events-has-events a{
        font-size:16px;
}
*/
.widget-title{
    display:none;
}

/*FILTRES CATEGORIES*/
h3.titol_filtres{
    padding:5px 0 5px 5px; 
    border-bottom:1px solid #d2d2d2;
    text-align:center;
    font-weight:bold;
    color: #000;
}

#select_category p{
    padding: 0;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    padding-left: 12px;
    margin-bottom: 14px;
}

#select_category p.categoria_event.no-filter{
    padding-top:9px;
}

/* CALENDARI */

/*.tribe-events-has-events .tribe-mini-calendar-day-link:before{
        display:none !important;
}

.tribe-mini-calendar-dayofweek{
        padding:3px 0;
        font-size:10px!important;
        font-weight:bold;
}

#tribe-mini-calendar-month{
        font-size:12px;
        font-weight:bold;
}

.tribe-mini-calendar .tribe-events-has-events a{
        color:#000;
}

.tribe-mini-calendar-wrapper .tribe-events-present a{
        color:#0f0 !important;
}

.tribe-mini-calendar-no-event{
        color:#d2d2d2;
}

.tribe-mini-calendar-no-event{
        font-size:16px;
        font-weight:bold;
}*/


/* Visita Virtual */
.page-template-virtual iframe,
.page-template-virtual #contingut{
    width:100%!important;	
}

.page-template-virtual iframe{
    	 max-height:600px;
}

.visita-virtual-link{
	display:none;
}

/* PROJECTS I INTERVENCIONS */

#intervencions{
    width:auto;
    /*margin-right:352px;*/
}

.intervencions_list{
    margin-right: 0;
    max-width: 912px;	
}

.intervencions_list li{
    float:left;
    position:relative;
    width:31.33333%;
    width: -webkit-calc(33.3333% - 24px);
    width: -moz-calc(33.3333% - 24px);
    width: calc(33.333333% - 24px);
    height:auto;
    margin-right:24px;
    margin-bottom:24px;
    /*height:auto;*/
}
.intervencions_list li:nth-of-type(3n+1) {
    clear:left;
}


.no-csscalc .intervencions_list li{
    margin-right:2%;
}
.intervencions_list li.cleartercer{
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
}
.intervencions_list li.clearsegon{
    display:none;
}
.page-template-noticies-php #contingut_jq{
    width:100%;
}
.page-template-noticies-php #intervencions{
    width:auto;
    margin-right:300px;
}

.page-template-noticies-php .intervencions_list{
    width:100%;
}

.page-template-noticies-php .intervencions_list li{
    margin-right:24px;
}
.no-csscalc .page-template-noticies-php .intervencions_list li {
    margin-right: 24px;
    max-width:280px;
    min-width:100px;
    width:29%;
}

.intervencions_list li img{
    width:100%;
    height:auto;
    vertical-align:top;
}

.titol_intervencio{
    clear:both;
    font-size:16px;
    font-weight:bold;
}

.tag-desc{
    max-width:712px;
    margin-bottom:28px;
}

.bottom{
    margin-top:15px;
}

/*SLIDESHOW HOME */
#slideshow{
    max-width:888px;
    max-height:382px;
    background:#fff;
    position:relative;
    overflow:hidden;
}

.page-template-homepage-php #slideshow.slideshow_home{
    max-width: 1216px;
    max-height:100%;
    background:#000;
    position:relative;
}

#slideshow ul {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

#slideshow ul li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

#slideshow ul li.preview-first {
    display:block;
}

#slideshow ul li:first-child {
    position: relative;
    display: block;
    float: left;
}

#slideshow ul img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
    width:888px;
}

.page-template-homepage-php #slideshow.slideshow_home ul img{
    width:100%;
}

.callbacks_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 3;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    color:#000;
    display:none;
    background: url('images/sprite-clean.png') no-repeat;
}

.callbacks_nav:active {
    opacity: 1.0;
}

.callbacks_nav.prev { 
    position: absolute;
    z-index: 152;
    overflow: hidden;
    width: auto;
    top: auto;
    bottom: 10px;
    opacity: 0.4;
    left: 0;
    right: auto;
    top: 50%;
    font-size:30px;
    color: #fff !important;
    padding: 11px;
    padding-left: 14px;
    padding-right: 17px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #000;
    height: 30px;
    margin-top: -30px;
}

.callbacks_nav.next {
    position: absolute;
    z-index: 152;
    overflow: hidden;
    width: auto;
    height: 55px;
    opacity: 0.2;
    left: auto;
    right: 0;
    top: 50%;
    font-size:30px;
    color: #fff !important;
    padding: 11px;
    padding-left: 17px;
    padding-right: 14px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #000;
    height: 30px;
    margin-top: -30px;
}


.fa-angle-left:before, .fa-angle-right:before {
    opacity:1;
    line-height:1;
}

.callbacks_nav.prev:hover, .callbacks_nav.next:hover{
    opacity:0.5;
    text-decoration:none;
}

#slideshow:hover .callbacks_nav{ display:block;  text-decoration: none;}

.caption{
    color: White;
    background: none;
    position: absolute;
    top: 50%;
    margin-top:-30px;
    width: 100%;
    text-align: center;
}

.slide-title{
    font-size: 60px;
    font-weight: bold;
    line-height: 60px;
    margin-bottom:10px;
}

.slide-subtitle{
    font-size: 30px;
    font-weight: normal;
    line-height: 40px;
}

/* HOMEPAGE */

#contingut.contingut_home{
    width:100%;
}

#contingut.contingut_patrocinadors{
    width:100%;
    margin-right:0;
}

.home_list{
    margin-top:32px;
    overflow:hidden;
    width:auto;
    max-width:1256px;
}

.home_list:after {
    content: '';
    display: block;
    clear: both;
}

.home_list li{
    float:left;
    position:relative;
    width:23.5%;
    width: -webkit-calc(25% - 18px);
    width: -moz-calc(25% - 18px);
    width: calc(25% - 18px);
    height:auto;
    margin-right:24px;
    margin-bottom:24px;
    /*height:auto;*/
    background-color:#000;
}

.no-csscalc .home_list li{
    margin-right:2%;
}

.home_list li img{
    vertical-align:top;
    width:100%;
    height:auto;
}


li.liYears .bottom,
.home_list li .bottom{
    position: absolute !important;
    top:0;
    left:0;
    font-weight:bold;
    color:#fff;
    margin-top:0;
    width:90%;
    height:86%;
    padding:5%;
    text-align:left;
    font-size:18px;
    line-height:19px;
}
li.liYears .bottom,
.home_list li .bottom:hover{
    background: rgba(0,0,0, 0.55);
}

.liYears a:hover{
    background:black!important;
}

.home_list li a{
    color:#fff;
}

/*.home_list li.itemFull{
        width:100%;
}*/

.home_list li#item4, .home_list li.no-margin-right{
    margin-right:0;
}

/*EVENTS*/

/*.single-tribe_events #tribe-events-content{
        font-size:16px;
        line-height:22px;
}

.tribe-events-single-event-title, .single_content h2{
        padding-top:0px;
        margin-bottom:24px;
        font-weight:bold;
}

.tribe-events-single-section-title{
        display:none;
}

#tribe-events-content ul.tribe-events-sub-nav{
        font-size:12px;
}

#tribe-events-content ul.tribe-events-sub-nav{
        width:100%;
        float:left;
        margin:0;
        overflow:hidden;
        text-align:left !important;
        list-style-type:none;
}

#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous, #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous{
        float:left;
        margin:auto 5px auto 0;
}

#tribe-events-content ul.tribe-events-sub-nav li.tribe-events-nav-next{
        float:right;
        margin-left:5px;
        text-align:right;
}

.tribe-mini-calendar-list-wrapper{
        line-height:17px;
        margin-top:24px;
}
*/
.sidebar_events h3{
    font-weight:bold;
}

.sidebar_events p{
    margin-bottom:24px;
}

.sidebar_events .tribe-events-related-events-title, .sidebar_events .tribe-related-events{
    display:none;
}

.sidebar_events .links_event{
    margin-bottom:24px;
}

.sidebar_events .links_event p{
    margin-bottom:0;
}

/* PREMSA */
.data_premsa, .descarrega_dossier a {
    font-size: 13px;
    color: rgb(102,102,102);
    line-height: 13px;
}
.data_premsa{
    margin-top: -1px;
    margin-bottom: 3px;
}
.descarrega_dossier p{
    line-height:13px;
    margin-bottom:0;
    line-height:16px;
}

.descarrega_dossier a{
    font-size:13px;
    line-height:17px;
}

/*LIGHTBOX*/
#fancybox-title-float-main{
    background: none !important;
    font-weight:normal !important;
}
.fancybox-lock .fancybox-overlay{
    z-index:999;
}

.fancybox-title-float-wrap .child{
    font-weight:normal !important;
    background:none !important;
}

.fancybox-nav{
    width:50% !important;
}

/* CHECKBOXES FILTRES */
#select_category input[type=radio].css-checkbox { position: absolute;  overflow: hidden;  clip: rect(0 0 0 0);  height:1px;  width:1px;  margin:-1px;  padding:0; border:0; } 
#select_category input[type=radio].css-checkbox + label.css-label { padding-left:32px; height:21px;  display:inline-block; line-height:24px; background-repeat:no-repeat; background-position: 0 0; font-size:12px; vertical-align:middle; cursor:pointer; }  
#select_category input[type=radio].css-checkbox:checked + label.css-label { background-position: 0 -22px; }  .css-label{ background-image:url(images/picto_tic.png); }

/* FOOTER
#footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    text-align:right;
    font-size:10px;
    line-height:14px;
    background:#fff;
    z-index:999;
}

#footer-content{
    max-width:1216px;
    padding-top: 14px;
    padding-bottom: 18px;
    margin:0 auto;


}
 */
.slicknav_menu {
    display:none;
}

#breadcrumbs, .bread-agenda {
    display:none;
}

.margin-no-image{
    display: block;
}

.block-transparencia, .bloc_patrocinadors, .margin-no-image{
    padding-top:20px;
    margin-bottom:0;
}

.block-transparencia{
    max-width:584px;	
}

.quadre-convocatoria .data_premsa{
    margin-bottom:0;
}

.quadre-convocatoria .descripcio_event p{
    line-height:22px!important;
}

.page-id-33196 .bloc_dreta p,
.page-id-33195 .bloc_dreta p,
.page-id-33175 .bloc_dreta p{
    margin-left:0!important;
    margin-right:12px;	
}

.esdeveniments_list li{
    min-height:112px;	
}


.post-edit-link{
    position: relative;
    z-index: 9999999;
    top: 196px;
    right: 0;
}

.editar_post{
    display:none;
}

.top:hover .editar_post {
    display:block;

}

.editar_post{
    width:100%;
}

.editar_post, .editar_post .post-edit-link{
    position:absolute;
    top:10px;
    left:10px;
    font-size:12px;
}

.textpetit, .textpetit p, .textpetit a{
    font-size:12px;
}

.dreta_pavilion{
    max-width:300px;
}
.dreta_images img{
    margin-top:6px;
}

/*ERRORS--------*/
.error404 #contingut{
    margin-right: 0;
    max-width: 600px;
    width: 100%;
    margin-top:112px;
}

.error404 #navigation-menus, .error404 #social, .error404 #selector_idioma{
    display:none;
}

.error404 h2{
    color: #0f0;
    font-weight: bold;
    margin-bottom: 12px;
}

.page-template-cookies .bloc{
    width: 100%;
}

.single-premsa #menu-item-140 a, .single-premsa #menu-item-144 a, .single-premsa #menu-item-32011 a{
    color:#0f0;
}




.transparencia-block{
    margin-bottom:32px;	
}

.quadre-convocatoria .descripcio_event{
    margin-bottom:0	
}

.quadre-convocatoria:last-child {
    margin-bottom: 0;
}



/* 30YEARS */

#menuprincipal li.menu-item-36447 a, 
#menuprincipal li.menu-item-36446 a, 
#menuprincipal li.menu-item-36445 a{
    color:rgba(255,0,0,1)	
}


li.liYears{ background:black }
li.liYears:hover a{ opacity:0.4 }

/* END 30YEARS */


/*Responsive dispositius de gran a petit*/

@media only screen 
and (max-device-width : 1312px), 
only screen and (max-width: 1312px){
    #outer, #footer-content {
        margin-left:48px;
        margin-right:48px;
    }
    #header_content{
        margin:0 48px;
    }
}

@media only screen 
and (max-device-width : 1120px), 
only screen and (max-width: 1120px){
    #menusecundari{
        clear:both;
        float:left;
        margin-right:0;
        margin-top:0;
    }
    #menusecundari li{
        margin-left:0;
        margin-right:24px;
    }


    .home_list li{
        width:32%;
        width: calc(33.33333% - 16px);
        width: -webkit-calc(33.33333% - 16px);
        width: -moz-calc(33.33333% - 16px);
    }
    #contingut_jq, #contingut, .contingut_sidebar_sc, #contingut_sidebar, .home #contingut{
        margin-top:250px;
    }
    #widgets{
        top:197px;
    }

    .home_list li#item4, .home_list li.no-margin-right {
        margin-right:24px;
    }
    .no-csscalc .home_list li#item4, .no-csscalc .home_list li.no-margin-right{
        margin-right:2%;
    }

    .home_list li#item3, .home_list li#item6, .home_list li#item9 {
        margin-right:0;
    }
    .intervencions_list li:nth-of-type(3n+1) {
        clear: none;
    }
    .intervencions_list li:nth-of-type(2n+1) {
        clear: left;
    }
    .intervencions_list li{
        float:left;
        position:relative;
        width:47.5%;
        width: -webkit-calc(50% - 24px);
        width: -moz-calc(50% - 24px);
        width: calc(50% - 24px);
        height:auto;
        margin-right:24px;
        margin-bottom:24px;
        /*height:auto;*/

    }


    /*.no-csscalc .intervencions_list li {
    margin-right: 4%;
    
    }*/
    .intervencions_list li.cleartercer{
        display:none;
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .intervencions_list li.clearsegon{
        display:block;
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #menuprincipal li, #menusecundari li{
        margin-bottom:4px;
    }

    #menuprincipal .sub-menu li, #menusecundari .sub-menu li{
        margin-bottom:0;
    }

    #menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu, #menusecundari li.current-menu-item .sub-menu, #menusecundari li.current-menu-parent .sub-menu  {
        top:38px;
    }
}

@media only screen 
and (max-device-width : 1024px), 
only screen and (max-width: 1024px){
    /*#menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu {
            top:41px;
    }*/
    #contingut, #contingut_sidebar, #tribe-events-pg-template {
        margin-top:210px;
    }

    .page-template-noticies-php #widgets{
        /*display:none;*/
    }
}


@media only screen 
and (max-device-width : 974px), 
only screen and (max-width: 974px){
    .info_complementaria{
        margin-left:0;
        margin-top:16px;
    }	

    #logo img{
        /*width:60%;*/
    }	
}

@media only screen 
and (max-device-width : 850px), 
only screen and (max-width: 850px){
    #menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu {
        top:60px !important;
    }

    #logo{
        /*margin-top:8px;*/
    }

    #widgets{
        display:none !important;
    }
    .contingut_sidebar_sc {
        width:90% !important;
        /*margin:0 auto !important;*/
    }
    #contingut_jq{
        width:90%;
    }

    .page-template-intervencions-php #contingut_jq{
        width:100% !important;
        width:calc(100% + 24px) !important;
        width: -webkit-calc(100% + 24px);
        width: -moz-calc(100% + 24px);
        margin-right:0;
    }

    .page-template-noticies-php #intervencions{
        margin-right:0 !important;
        width:calc(100% + 24px) !important;
        width: -webkit-calc(100% + 24px);
        width: -moz-calc(100% + 24px);
    }

    .page-template-noticies-php #intervencions ul li{
        width:calc(50% - 24px) !important;
        width: -webkit-calc(50% - 24px);
        width: -moz-calc(50% - 24px);
    }

    .page-template-noticies-php .intervencions_list li.dos_columnes {
        margin-right:0;

    }
    #contingut_jq{
        margin-right:0;
        width:100% !important;
    }

    .events_content img{
        width:100%;
        height:auto;	
    }

}

@media only screen 
and (max-device-width : 767px), 
only screen and (max-width: 767px){
    .home_list li{
        width:49%;
        width: calc(50% - 12px);
        width: -webkit-calc(50% - 12px);
        width: -moz-calc(50% - 12px);
    }

    .home_list li#item4, .home_list li.no-margin-right {
        margin-right:24px;
    }
    .no-csscalc .home_list li#item4, .no-csscalc .home_list li.no-margin-right{
        margin-right:0;
    }


    .home_list li#item3, .home_list li#item9 {
        margin-right:24px;
    }
    .no-csscalc .home_list li#item3, .no-csscalc .home_list li#item9 {
        margin-right:2%;
    }
    .no-csscalc .home_list li#item3, .home_list li#item9{
        margin-right:2%
    }
    .home_list li#item2, .home_list li#item4, .home_list li#item6, .home_list li#item8, .home_list li#item10 {
        margin-right:0;
    }


    #outer, #footer-content {
        margin-left:24px;
        margin-right:24px;
    }

    #header_content{
        margin:0 24px;
    }


    #menusecundari{
        clear:both;
        float:left;
        margin-right:0;
        margin-top:6px;
    }


    .bloc, .bloc_dreta{
        width:100%;
    }
    .block-transparencia, .bloc, .bloc_dreta p, .bloc_dreta .textpetit, .bloc_dreta .dretaimages{
        margin-right:0;
        margin-left:0;
        max-width:100%;
    }


    .intervencions_list li.cleartercer{
        display:none;
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    /*.intervencions_list li.clearsegon{
            display:none;
            clear: both;
            width: 100%;
            margin: 0;
            padding: 0;
    }*/

    #menuprincipal li.current-menu-item .sub-menu{
        top:66px !important
    }

    .slide-title{
        font-size: 18px;
        font-weight: bold;
        line-height: 18px;
        margin-bottom:10px;
    }
    .slide-subtitle{
        font-size: 16px;
        font-weight: normal;
        line-height:16px;
    }

    .bloc_patrocinadors, .margin-no-image{

    }

    #logo img{
        margin-left:0;
    }	

}

@media only screen 
and (max-device-width : 710px), 
only screen and (max-width: 710px){
    #logo{
        /*margin-top:14px;*/	
    }

    #logo img{
        /*width:58%;*/	
    }
}


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 672px), 
only screen and (max-width: 672px){		
    #contingut_jq, .page-template-noticies-php #contingut_jq {
        margin-right:0;
    }	
}


@media only screen 
and (max-device-width : 600px), 
only screen and (max-width: 600px){
    #selector_idioma{
        /**top:104px;**/
        right:0;
        position:absolute;
        bottom:0;
        /**margin-bottom:0;**/
        top: 30px;
        margin-bottom: 35px;
    	display: flex !important;
    	align-items: flex-end;
		z-index:999 !important;
    }

    #logo-30-years {

        float: right;
        margin-right:0;
        margin-bottom:0;
        margin-top: -60px;
    }
}

@media only screen 
and (max-device-width : 400px), 
only screen and (max-width: 400px){
    #social a:first-child{
        margin-left:0;	
    }

    #selector_idioma{
        right:0;
		z-index:999;
    }
}



@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 600px), 
only screen and (max-width: 600px){
    .gallery {
        max-width:97.5%;
    }
    .gallery-item{
        width:23%;
        width: -webkit-calc(25% - 8px);
        width: -moz-calc(25% - 8px);
        width: calc(25% - 8px);
        float:left;
        margin:0 8px 8px 0!important;
    }
    .gallery-quart{
        margin-right:0 !important;
    }


    .intervencions_list{
        float:left;
    }

    #breadcrumbs{
        margin-bottom:15px;
        float:left;
        color:rgb(102,102,102);

    }

    #breadcrumbs, .bread-agenda {
        display: block;
        font-size: 12px;
        font-weight:normal;
        line-height:12px;
        color:rgb(102,102,102);
    }

    #breadcrumbs strong{
        float:left;
        line-height:12px;
        font-weight:normal;
        color:rgb(102,102,102);
    }
    #breadcrumbs li{
        float:left;
        margin-bottom:0;
        line-height:12px;
    }

    .page-template-page_gallery-php #contingut, #contingut{
        width:95%;
        margin-right:0;
        margin-left:5%;
        max-width:95%;
        float:left;
    }

    .page-template-page_gallery-php{
        width:100%;


    }

    li.liYears .bottom,
    .home_list li .bottom{
        font-size:14px;
        line-height:17px;
        background: rgba(0,0,0, 0.55);
    }
    .home_list {
        margin-top:24px;
    }

    #header{
        top:0 !important;
    }

    #header, .margin-no-image{
        display:none;
    }
    #header{
        display:block;
        position:relative;
        overflow:hidden;
        padding-bottom:56px;
        padding-top:0 !important;
        margin-top:0 !important;
    }

    #header_content{
        width: 100%;
        margin: 0 auto;
    }

    /*.intervencions_list li{
            float:none;
            position:relative;
            width: 100%;
            height:auto;
            margin:0 auto;
            margin-bottom:24px;
    
    }*/




    #logo, #selector_idioma, #social{
        display:block;
    }
    .home #logo, .home #selector_idioma, .home #social{
        display:block;
    }
    #menuprincipal, #menusecundari{
        display:none;
    }
    #menuactual{
        display: block;
        float: left;
        margin-top: 15px;
    }
    #menuactual li{
        display: none;
    }
    #menuactual .current_page_parent{
        display: block;
    }
    #menuactual .current_page_parent .sub-menu{
        margin-top: 20px;
    }
    #menuactual .current_page_parent .sub-menu li{
        display: block;
    }
    #menuactual .current_page_parent .sub-menu .current-menu-item a{
        color: #0F0;
    }
    #menuactual .current_page_parent .sub-menu li a{
        font-weight: bold;
        color: rgb(0, 0, 0);
    }


    #logo {
        position: relative;
        margin-top: 22px;
        width: 50%;
    }
    #logo img{
        /*width:100%;*/
    }
    #social {
        margin-top:12px;
        position: absolute;
        bottom: 0;
        right: 0;
        margin-bottom: 0;
        top: 70px;
    }

    #outer{
        margin:0;
        margin-top:0;
        width:100%;
        padding:0;
    }
    .home #contingut{
        margin-top: 12px !important;
    }

    #slideshow, #slideshow img{
        width:100%;
        max-width:100%;
        height:auto;
    }
    .bloc_dreta{
        margin-top:16px;
    }


    #contingut, #header, .home #contingut, .page-template-noticies-php #contingut_jq, .page-template-premsa-php #contingut, #contingut_sidebar, #tribe-events-pg-template, #contingut.contingut_patrocinadors, .page-template-contact-php #contingut, #contingut_jq, .page-template-intervencions-php #contingut_jq{
        width:90%;
        margin:0 auto;
        float:none;
        padding-bottom:40px;
        overflow:hidden;
        margin-top: 18px !important;
        max-width:90%;
    }

    .page-template-intervencions-php #contingut_jq{
        width:90% !important;
        max-width:90%;
    }


    #capcalera_pagina iframe{
        width:70%;
        height:250px;
    }


    .esdeveniments_list li .esquerra{
        width:25%;
    }

    .tax-any_esdeveniment .esdeveniments_list li .esquerra{
        width:27%;
    }
    .esdeveniments_list li .dreta{
        width:69%;
        margin-left:31%;
    }

    .preview-esdeveniments img {
        width: 100%;
    }

    .dreta {
        margin-left: 126px;
    }
    #header{
        z-index:1;
    }
    #footer{
        z-index:2;
    }

    /* Menú móvil */

    .slicknav_menu{
        display:block;
        font-family:"Helvetica",  Helvetica, sans-serif;
    }
    .slicknav_btn, .slicknav_menu{
        background-color: white;

    }
    .slicknav_menu {
        padding:5px 0;
        border-bottom: 1px solid #bbb;
    }
    .slicknav_menu .slicknav_menutxt{
        text-shadow:none;
        color:#000;
        font-family:"Helvetica",  Helvetica, sans-serif;
        font-weight:normal;
    }

    .slicknav_menu .slicknav_icon-bar{
        background:#000;
    }

    .slicknav_nav li{
        padding: 6px;
        border-top: 1px solid #bbb;
    }
    .slicknav_nav .slicknav_row:hover{
        background:#e5e5e5;
    }


    #footer{
        position:relative;
        float:left;
    }

    #contingut, #header, .home #contingut, .page-template-noticies-php #contingut_jq, .page-template-premsa-php #contingut, #contingut_sidebar, #tribe-events-pg-template, #contingut.contingut_patrocinadors, .page-template-contact-php #contingut, #contingut_jq, .page-template-intervencions-php #contingut_jq{
        padding-bottom:0;
    }
    #header{
        margin-bottom: 25px;
    }

    .page-template-noticies-php #intervencions{
        margin-right:0 !important;
        width:107.5% !important;
        float:left;
    }
    .intervencions_list li{
        float:left;
        position:relative;
        width:47.5%;
        /*width: -webkit-calc(50% - 24px);
        width: -moz-calc(50% - 24px);
        width: calc(50% - 24px);*/
        height:auto;
        margin-right:2.5%;
        margin-bottom:5%;
        /*height:auto;*/

    }



    .page-template-noticies-php .intervencions_list li{
        width:47.5%;
        margin-right:5%;
        margin-bottom:5%;
    }
    .intervencions_list li.dos_columnes{
        margin-right:0;
    }



    .block-transparencia, .bloc_patrocinadors, .margin-no-image {
        padding-top:16px;

    }


}



@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px), 
only screen and (max-width: 480px){	
    .home_list li{
        width: calc(50% - 6px);
        width: -webkit-calc(50% - 6px);
        width: -moz-calc(50% - 6px);
        margin-right:12px;
        margin-bottom:12px;
    }

    .home_list li#item4, .home_list li.no-margin-right {
        margin-right:12px;
    }

    .home_list li#item3, .home_list li#item9 {
        margin-right:12px;
    }
    .home_list li#item2, .home_list li#item4, .home_list li#item6, .home_list li#item8, .home_list li#item10 {
        margin-right:0;
    }
    .cdp-cookies-alerta .cdp-cookies-texto {
        margin-left:0 !important;
    }


}



@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2){
    #header, #capcalera_pagina{
        background:#fff;
        float:left;
    }
    .bloc {
        max-width:50%;
    }
    #contingut_jq, #contingut, .contingut_sidebar_sc, #contingut_sidebar, .home #contingut {
        margin-top:240px;
        margin-right:0 !important;
        width:100%;
        max-width:100%
    }
    #slideshow, #slideshow ul, #slideshow ul img {
        max-width:1024px;
        width:922px;
    }
    body{
    }

    .page-template-noticies-php #widgets{
        /*display:none;*/
    }

    #menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu, #menusecundari li.current-menu-item .sub-menu, #menusecundari li.current-menu-parent .sub-menu {
        top: 26px !important;
    }
    #menu-item-262, #menu-item-32075, #menu-item-263{
        display:none;
    }

    #menusecundari{
        float:right;
        clear:none;
    }
    #menusecundari li{
        margin-right:0;
        margin-left:16px;
    }

    .intervencions_list li{
        float:left;
        position:relative;
        width:31.33333%;
        width: -webkit-calc(33.3333% - 24px);
        width: -moz-calc(33.3333% - 24px);
        width: calc(33.333333% - 24px);
        height:auto;
        margin-right:24px;
        margin-bottom:24px;
        /*height:auto;*/
    }

    .no-csscalc .intervencions_list li{
        margin-right:2%;
    }
    .intervencions_list li.cleartercer{
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .intervencions_list li.clearsegon{
        display:none;
    }


}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) {

    #menuprincipal li.current-menu-item .sub-menu, #menuprincipal li.current-menu-parent .sub-menu, #menusecundari li.current-menu-item .sub-menu, #menusecundari li.current-menu-parent .sub-menu {
        top: 44px !important;
    }

    #menusecundari{
        clear:both;
        float:left;
        margin-right:0;
        margin-top:0;
    }

    #menusecundari li{
        margin-left:0;
        margin-right:24px;
    }
}



#intervencions .categories a{ margin-right:4px }

@media only screen
and (min-device-width : 600px)
and (max-device-width : 1024px) {
    li.liYears .bottom,
    .home_list li .bottom{
        background: rgba(0,0,0, 0.55);
    }
}
.slicknav_nav li a{
    font-size: 16px;
    font-weight: bold;
    font-family: "futura", Helvetica, sans-serif;
}



/* MODIFICACIONS ARTIC STUDIO 11-2017 */

#menuprincipal li.current-menu-item .sub-menu,
#menuprincipal li.current-menu-parent .sub-menu,
#menusecundari li.current-menu-item .sub-menu,
#menusecundari li.current-menu-parent .sub-menu {
    top:15px;
}

.esdeveniments_list {
    min-height:650px;
}

.single-calendar_event .primary-sidebar {
    padding-top:30px;
}

form.newsletter {
    border: 1px solid #d2d2d2;
    padding:9px 12px;
}
form.newsletter p {
    font-weight:bold;
}
form.newsletter div {
    display:table;
    width:100%;
    position: relative;
    border-collapse: separate;
}
form.newsletter div input {
    display:table-cell;
    width:auto;
    white-space: nowrap;
    vertical-align: middle;
    outline:0;
}
form.newsletter div input[type=email] {
    border:1px solid #d2d2d2;
    margin:0;
    padding:3px 8px;
    width: calc(100% - 58px);
}
form.newsletter div input[type=submit] {
    width:40px;
    text-align:center;
    background:#d2d2d2;
    border:0;
    margin:0;
    padding:4px 0px;
}
form.newsletter div input[type=submit]:hover {
    color:#d2d2d2;
    background:#000;
}


.post-type-archive-calendar_event .esdeveniments_list {
    margin-top:0px;
    padding-top:0px;
}



.home-columns {
    padding:30px 0px 0px 0px;
    max-width: 1216px;
    margin:0 auto;
}
.home-columns:after {
    content:"";
    height:0;
    display:table;
    width:100%;
    clear:both;
}
.home-columns .home-column-newsletter {
    width:300px;
    float:left;
}
.home-columns .home-column-virtual-tour {
    width:286px;
    float:right;
}
.home-columns .home-column-virtual-tour a {
    border: 1px solid #d2d2d2;
    padding:9px 12px;
    display:block;
    text-align:center;
    font-weight:bold;
    height:62px;
    line-height:62px;
    color:#000 !important;
}
.home-columns .home-column-virtual-tour a:hover {
    background-color:#000;
    color:#fff !important;
}

@media (max-width:650px) {
    .home-columns .home-column-newsletter,
    .home-columns .home-column-virtual-tour {
        width:100%;
        float:none;
        margin-bottom:16px;
    }
}

.bloc_patrocinadors.bloc {
    width:100%;
    max-width: 800px;
    margin-right: 0;
    padding-top:50px;
}
.grup_patrocinadors:after {
    content:"";
    height:0;
    display:table;
    width:100%;
    clear:both;
}
.grup_patrocinadors > a {
    display:block;
    float:left;
    width:200px;
}
.grup_patrocinadors > a img {
    display:block;
    max-width:100%;
    height:auto;
}
.grup_patrocinadors .desc_logo {
    display:block;
    margin-left:230px;
}

.bloc_patrocinadors.bloc.horizontal:after{
    content:"";
    height:0;
    display:table;
    width:100%;
    clear:both;
}
.bloc_patrocinadors.bloc.horizontal .grup_patrocinadors {
    display:inline-block;
    margin-right:16px;
    vertical-align: middle;
}
.bloc_patrocinadors.bloc.horizontal .grup_patrocinadors > a {
    float:none;
    width:auto;
}

@media (max-width:600px) {
    .grup_patrocinadors > a {
        float:none;
        width:100%;
        margin-bottom:16px;
    }
    .grup_patrocinadors > a img {}
    .grup_patrocinadors .desc_logo {
        display:block;
        margin-left:0px;
    }
}

.margin-no-image {
    padding-top:50px;
}


/* MODIFICACIONS ARTIC STUDIO 01-2018 */

.add-calendar-button {
    display:block;
    margin:0 0 20px 0;
    border: 1px solid #d2d2d2;
    padding:9px 12px;
    text-align:center;
    font-weight:bold;
    color:#000 !important;
}
.add-calendar-button:hover {
    background-color:#000;
    color:#fff !important;
}

#menusecundari li:first-child {
    margin-left:0;
}


#widgets .calendar table td.holiday {
    color:#F00;
    opacity:0.4;
}
#widgets #form-newsletter input[type="email"] {
    width: 200px;
    padding: 4px 0;
}
 #form-newsletter .mc-field-group {
    margin-top: 16px;
}
#form-newsletter .mc-field-group li {
    position: relative;
    height: 43.64px;
}
#form-newsletter .mc-field-group li:first-child {
    margin-bottom: 8px;
}
#form-newsletter .mc-field-group li input {
    float: left;
    position: relative;
    top: 1px;
}
 #form-newsletter .mc-field-group li label {
     float: right;
     font-size: 14px;
     width: 90.5%;
     line-height: 1.3;
}
/** Modificacions artic 31-1-18 **/


/** Modificacions Artic 08-07-2019 **/
#share-calendar-options {
    margin-top: 4.5rem;
}

#share-calendar-options p{
    font-weight: bold;
    margin-bottom: .25rem;
}

#share-calendar-options a {
    width: 27px;
    height: 27px;
    background-position: center;
    display: block;
    margin-right: 1rem;
}

#share-calendar-options hr {
    color: #C9C9C9;
    border-style: solid;
    margin-top: 0;
}

#share-calendar-options .icons {
    display: flex;
    margin-left: -0.25rem;
}

.share .facebook-share {
    background-image:url(images/facebook-share.png);
}

.share .twitter-share {
    background-image:url(/https/miesbcn.com/wp-content/uploads/2024/06/logo-twitter-x-e1718715646862.png);
	background-size: 22px;
    background-repeat: no-repeat;
}

.share .mail-share {
    background-image:url(images/mail-share.png);
    margin-left: .55rem;
}

.share .instagram-share-icon {
    background-image:url(images/instagram.png);
    margin-left: .55rem;
}


.add-to-calendar, .instagram-share {
    margin-top: 3.5rem;
}

.add-to-calendar .google-calendar {
    background-image:url(images/google-share.png);
}

.add-to-calendar .yahoo-calendar {
    background-image:url(images/yahoo-share.png);
}

.add-to-calendar .outlook-calendar {
    background-image:url(images/outlook-share.png);
    margin-left: .55rem;
}

.lb-data .lb-caption {
    font-weight: initial;
    color: #999;
}