.widgettitle{font-size: 0.8em !important; text-align: right; padding-right: 10px;}
#footer{padding:20px 0px;}
.footer-text{padding-bottom:0!important;}

/*----------CERCA------------------*/

.search-lightbox #searchform, .icon-search{color:#780000!important;}

.search-lightbox #searchform #s{color:#780000;}


.search-results .grid3 article{background-color:#fff; padding:20px; border-bottom: 2px solid #780000; border-right: 2px solid #780000; margin-bottom: 50px; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); min-height:250px;display: flex; align-items: center; justify-content: center;}

.search-results .grid3 article h2 a{color:#780000; font-style:italic; font-weight:600; letter-spacing: 0.02em;}

.search-results .grid3 article h2 a:hover{color:#ed1e24;}


.search-button{color:#fff; background:#780000;}
.search-button:hover{background:#ed1e24; color:#fff;}

#main-nav > li > a {
	border-left: 1px solid rgba(255,255,255,.2);
	padding: 18px 1.4em;
	line-height: normal;
}

/*------MODIFICHE------*/

.page-id-242 #main-nav .current-page-ancestor a,
.page-id-1060 #main-nav .current-page-ancestor a,
.page-id-580 #main-nav .current-page-ancestor a,
.page-id-1256 #main-nav .current-page-ancestor a,
.page-id-1462 #main-nav .current-page-ancestor a,
.page-id-1814 #main-nav .current-page-ancestor a,
.page-id-2093 #main-nav .current-page-ancestor a,
.page-id-2181 #main-nav .current-page-ancestor a,
.page-id-2409 #main-nav .current-page-ancestor a{background-color:#780000; color:#fff;}

.page-id-242 #main-nav .current-page-ancestor a:hover,
.page-id-1060 #main-nav .current-page-ancestor a:hover,
.page-id-580 #main-nav .current-page-ancestor a:hover,
.page-id-1256 #main-nav .current-page-ancestor a:hover,
.page-id-1462 #main-nav .current-page-ancestor a:hover,
.page-id-1814 #main-nav .current-page-ancestor a:hover,
.page-id-2093 #main-nav .current-page-ancestor a:hover,
.page-id-2181 #main-nav .current-page-ancestor a:hover,
.page-id-2409 #main-nav .current-page-ancestor a:hover{background-color:#ccc!important; color:#fff;}

.boxvideopresentazione{text-align:center;}
.videopresentazione iframe{max-width:800px; max-height:300px;}



.testochisiamo img{margin:20px!important;}


.testoeventihome img{margin-bottom:10px!important;}


a{color:#780000}

.document-gallery{margin-right:3px;}

.col5-1 .video-wrap iframe{max-height:125px}
img.alignnone{margin-bottom:0px;}

.mixdocimage .audiotitolo a
{font: 1em/1.2em 'Open Sans' !important;
font-weight: 600!important;}

.mixdocimage small{font-size:86%}


small{font-weight:600;}

.dirittofelicitaposteventi .posteventihome .dataevento{display:none;}
.dirittofelicitaposteventi .posteventihome .sedeevento{display:none;}
.dirittofelicitaposteventi .posteventihome .testoeventihome{display:none;}

.dirittofelicitaposteventi .posteventihome .post-title{font-size:1.4em;}
.dirittofelicitaposteventi .posteventihome .entry-content{font-size:1.3em;}



.gallerydocumentibox   .document-gallery .document-icon{width:100%!important;}

.module_column.col5-1 { width: 19.35%;	margin-top:5px;	margin-right:5px; margin-left:0px;}


.module_column.col5-1 .gallerydocumentibox .document-icon {
	margin-top:0px;
		margin-right:0px;
	margin-left:0px;
	padding: 0px !important;}



#headerwrap{padding-bottom:58px!important;padding-left: 2%; padding-right: 2%;}

h1, h2, h3, h4, h5, h6{margin:0;}

#header{padding-bottom:1.5em!important;}

.header-on-scroll{padding:0em;}

.header-widget{width:75%!important;}
.header-bar{width:25%!important;}

.header-widget-inner .col4-2 .widget_text{text-align:left; font-weight:400; color:#222; font-size:1.1em; padding-top:1.3em;}

.module_row > .row_inner{width:1326px;}



#site-logo{height:150px; vertical-align:middle; display:table-cell;}

#site-logo span{vertical-align:middle; line-height:normal;}

.header-widget .col3-1.first{float:left; margin-left:0!important;}
.header-widget .col3-1{max-width:25%; float:right;}

.header-widget .logoak, .header-widget .logouf {float:right; padding-right:10px;}

.header-widget .logopm {float:left; padding-right:10px;}

.header-widget .td{float:left;}

.widget{ height:150px; vertical-align:middle; display:table-cell;}

.header-widget .first {width:12.4%!important; float:left!important;}
.header-widget .col4-2 {width:99%; display:inline-table; float:right;}



#headerwrap{
-webkit-box-shadow: 0px 5px 20px 1px;
-moz-box-shadow: 0px 5px 20px 1px;
box-shadow: 0px 5px 20px 1px;
border-bottom:2px solid #780000!important;
}

#footerwrap{
-webkit-box-shadow: 0px 5px 20px 1px;
-moz-box-shadow: 0px 5px 20px 1px;
box-shadow: 0px 5px 20px 1px;
}


body:not(.mobile_menu_active) .navbar-wrapper-inner {
    max-width: 1400px!important;}





/*------LOGO SITO A DESTRA E LOGHI WIDGET A SINISTRA------*/



.header-bar{float:right!important;}
#site-logo{float:right!important}

.header-widget{float:left!important; clear:left!important}

.header-widget .col4-2{margin-left:0!important; float:left!important}

.header-widget .col4-2 .textwidget {float:left!important}

.header-widget .col4-2 .logoak{float:right}
.header-widget .col4-2 .logouf{float:right}
.header-widget .col4-2 .logopm{float:left}



/*------MOBILE------*/

@media screen and (max-width:1380px) {

#main-nav a{font-size:0.7em!important;}

	.header-widget img {max-width:85%!important;}
	
	#main-nav > li > a {
    border-left: 1px solid rgba(255,255,255,.2);
    padding: 15px 1.4em 15px 1.65em;
    line-height: normal;
				
}

}


@media screen and (max-width:1260px) {
.col4-2 .widget_text{font-size:1em!important;}
}


@media screen and (max-width:1200px) {
	.header-bar{float:left!important;}
	#site-logo img{max-height:80px;}
	#site-logo{height:80px; float:left!important;}
	#content{padding-top:10%!important;}
	
.mixdocimage 	.document-icon{width:100%!important;}
.mixdocimage 	.module_column.col5-1{width:46%!important;}
	.mixdocimage .audio img{height:125px;}
	.mixdocimage .audio{text-align:center}	
	
	.document-icon{width:99%!important;}


.header-widget .logoak, .header-widget .logouf{margin-right:0px;}


.posteventihome .post-title{min-height:80px!important;}

}

@media screen and (max-width:900px) {
	
	
	.gallerydocumenti .document-icon{min-height:250px!important;margin-bottom:5px!important;}
	.col5-1 .title{font-size:1.2em!important;}

#site-logo{height:auto!important;}
.header-bar{float:left!important;}
#site-logo{float:left!important}
.loghi img{max-width:50%!important;}	
	.rigaloghi .col5-1{width:100%;}


.header-widget .logoak, .header-widget .logouf{float:left!important; margin-top:40px;}

.header-widget{width:100%!important;}

.header-widget .first {width:100%!important; display:grid; margin-bottom:40px;}
.header-widget .col4-2 {width:100%; display:grid;}
.header-widget .widget{height:auto;}

.col4-2 .widget_text{font-size:1.3em!important; margin-bottom:20px;text-align:left!important;}

.posteventihome .post-title{min-height:120px!important;}
	

	

.imghome .image-title{font-size:1.6em!important;}
.imghome .image-caption{font-size:0.9em!important;}

.frasehome h2{font-size:1.6em;}


.sidemenu-on .navbar-wrapper {margin-bottom:20px;}
.sidemenu-on #main-nav .menu-item a{padding-left:20px!important;}

.body-overlay{background-color:#000; opacity:0.8;}

#menu-icon{padding-top:1.5em; color:#222;}
#menu-icon .menu-icon-inner{width:1.8em; height:1.4em;}

#header{padding:1.5em 0 1em!important;}
.header-bar{width:80%!important;}
#headerwrap{
-webkit-box-shadow: 0px 5px 20px 1px;
-moz-box-shadow: 0px 5px 20px 1px;
box-shadow: 0px 5px 20px 1px;
}



.gruppihome h4{font-size:1.1em!important;}


}


@media only screen and (max-width: 900px) and (min-width: 661px) {
.loghi .img-title{display:none!important;}
	
}

@media screen and (max-width:660px) {
	
	

	
.testochisiamo h3{font-size:1.4em;}	
.testochisiamo img{max-width:150px;}	
.loghi img{max-width:50%!important;}	
	

.imgprotagoniste{text-align:center} 
.imgprotagoniste img{ padding:20px;}

.posteventihome .post-title{min-height:80px!important;}

.frasehome h2{font-size:1.3em;}

.gruppihome h4{font-size:1.4em!important;}

.posteventihome article{ min-height:320px!important;}

.page-id-216 .image-content{ bottom:0.5em!important; margin-bottom:0px!important;}
.page-id-216 .imghome .image-title{font-size:1.6em!important;}
.page-id-216 .imghome .image-caption{font-size:0.9em!important;}
	

	.document-icon{width:99%!important; min-height:220px;}
	.gallery-item{width:100%!important;}
	
	.gallerydocumentifanciulli .document-icon{width:100%!important; min-height:220px;}

}

@media screen and (min-width:900px) {


.page-id-216 .image-content{bottom:8em!important;}

}
/*------DOCUMENT GALLERY SPAN PICCOLO COME BOIARDO IN SOCIALE POLITICA------*/

.boiardo .title span{font-size:0.9em;}


/*------MENU MOBILE------*/

.sidemenu-on .current-menu-item a{color:#fff!important;}
.sidemenu-on #menu-icon-close:hover{background-color:transparent!important; color:#780000!important;}
.sidemenu-on .textwidget{font-size:0.9em;}

.header-icons{top:40%!important}



/*------SPAZIO ALTO CONTENT------*/


#content{padding:4% 0;}


/*------IMMAGINE PRINCIPALE------*/

.imghome .image-content{width:auto!important; bottom:2em; padding:0.5% 1% 0.5% 1%!important; background: rgb(255,255,255,0.8)!important; border-bottom:2px solid #780000; line-height:1em!important;}
.imghome .image-content h3{font-weight:300; margin:0!important;}
.image-caption{margin-top:5px; margin-bottom:10px;}



.mesimostra h6{font-style:normal!important;}

.mesimostra{ margin-top:80px;}


/*------GRUPPI PROTAGONISTE------*/


.gruppihome .ui{background-color:#fff;
border-bottom:2px solid #780000;
border-right:2px solid #780000;
margin-bottom:50px; 
 box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1);
-webkit-transition: background 0.5s;
-moz-transition: background 0.5s;
-o-transition: background 0.5s;
-ms-transition: background 0.5s;
transition: background 0.3s;}



.gruppihome .ui{font-family:"Times"; min-height:230px; vertical-align:middle; display:flex; align-items:center; justify-content:center; color:#222;}

.gruppihome p{font-size:0.9em; text-align:center;}

.gruppihome h4{margin-bottom:20px; font-weight:600; color:#780000;}
.gruppihome h4 a{color:#780000;}
.gruppihome h4 a:hover{color:#222222;}

.linkgruppo{background-color:#780000; color:#fff!important; font: 1em/1.65em 'Open Sans', "Arial", sans-serif; padding:10px;border-radius:5px;}

.linkgruppo:hover{background-color:rgba(34, 34, 34, 1); text-decoration:none!important}

/*------CALENDARIO HOMEPAGE------*/


.posteventihome article{padding:25px; background:#fff;border-bottom: 2px solid rgba(120, 0, 0, 1); border-right: 2px solid rgba(120, 0, 0, 1);
box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); margin-bottom:50px!important;}

.posteventihome h2 a{color:#780000; font-size:1.2em;}
.posteventihome h2 a:hover{color:#222222;}

.posteventihome{font-size:0.9em; text-align:left;}

.dataevento{font-size:1.1em; min-height:75px;}

.sedeevento{font-size:1em;}

#post-111 .post-title{text-align:center!important;}


.event-start-date, .tep_location{font-weight:600;}

.tep_content{font-size:0.9em;}

.msfsimg{margin-top:20px; margin-bottom:20px; max-width:250px; width:100%;}


.posteventihome .post-title{min-height:55px;}

.posteventihome .post-content {text-align:left;}

.posteventihome .testoeventihome{min-height:360px;}

testoeventihome img{max-width:100%;}

.testoeventihome{font-size:1em; font-weight:bold;}


.sedeevento{min-height:100px;}



@media screen and (max-width:660px) {

.posteventihome .post-title{min-height:55px;}
.dataevento{font-size:1.1em; min-height:35px;}
.sedeevento{min-height:50px;}
.posteventihome .testoeventihome{min-height:150px;}

}



/*------PROTAGONISTE------*/

.boxprotagoniste{margin-bottom:50px; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1);}


.infoprotagoniste h6{font-family:'Domine', serif; font-size:1.1em; font-weight:600;}

/*----------CONTATTI------------------*/


.loghicontatti{min-height:80px;}

.boxcontatti{background:#fff; padding:20px; border-bottom: 2px solid #780000; border-right: 2px solid #780000;}


/*----------LOGHI------------------*/

.loghi .image-wrap{margin-bottom:10px;}

.loghi .image-title{font-family: "Domine"; font-size:0.7em; font-weight:600;}

.loghi .image-title a:hover{color:#780000;}

.loghi img{max-height:100px; max-width:90%;}





#content{padding-left:2%; padding-right:2%;}


.mfp-content .tb_social_sharing{display:none;}


/*----------DOCUMENTI E ARTWORK------------------*/

.gallerychiara .gallery-icon{box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); background:#fff; padding:10px;}

.gallerychiara .gallery-caption{margin-top:20px!important;}

.gallerydocumentibox{width:100%;}

.gallerydocumenti .document-icon{background:#fff; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); padding:3px; min-height:292px;}

.gallerydocumentibox .document-icon{background:#fff; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); padding:3px; min-height:200px;}

.gallerydocumentifanciulli   .document-icon{background:#fff; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); padding:3px; min-height:292px;}

.gallerydocumentibiki .document-icon, .gallerydocumentikuliscioff .document-icon, .gallerydocumentibelgioioso .document-icon, .gallerydocumentifanciulli .document-icon{background:#fff; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); padding:3px;}

.gallerydocumentibiki .title, .gallerydocumentikuliscioff .title, .gallerydocumentibelgioioso .title, .gallerydocumenti .title, .gallerydocumentibox .title, .gallerydocumentifanciulli .title{
	font-size: 1.4em ;
font-weight: 600;
margin-top: 10px;
margin-bottom: 10px;
line-height: 1.4em;}



.gallerydocumentibiki .title::after{display:block; Content:"Fonte: associazionegermanamarucelli.org"; text-align:center; font-size:0.8em; color:#222;}


.gallerydocumentikuliscioff .title::after{display:block; Content:"Fonte: Fondazione Kuliscioff"; text-align:center; font-size:0.8em; color:#222;}

.gallerydocumentibelgioioso .title::after{display:block; Content:"Fonte: Fondazione Trivulzio"; text-align:center; font-size:0.8em; color:#222;}

.gallerydocumenti .document-icon img{height:125px; width:auto} 

.gallerydocumentifanciulli .document-icon img{height:125px;width:auto} 

.gallerydocumentibelgioioso .document-icon img{height:125px;width:auto} 

.gallerydocumentikuliscioff .document-icon img{height:125px;width:auto} 

.gallerydocumentibiki .document-icon img{height:125px;width:auto} 

.document-icon .title small{color:#000;}

.document-icon .title{min-height:105px;}


.progettodidone small{font-size:75%; line-height:15px; font-weight:300; letter-spacing: -0.04em; display:block;}


/*----------AUDIO------------------*/

.audiobox .video-wrap{margin-bottom:5px;}

.audio img{margin-bottom:10px;}

.audiotitolo strong{color:#000;}

.audiotitolo{font-size:0.9em!important; line-height:1.4em; color:#780000;margin-top:5px; font-weight:600;}

.audiotitolo small{color:#000;font-size:0.9em!important;}

.audiotitolo a{font-size:0.95em; line-height:1em; font-weight:600;}

.audiobox{background:#fff; box-shadow: 5px 5px 5px 3px rgba(102, 102, 102, 1); padding:5px; min-height:298px!important; margin-top:10px!important;}


.page-id-1256 .module_column.col5-1 .document-gallery .document-icon{margin-top:0!important;}
