
/* reimpostazione dimensioni */

html {
	overflow-x: hidden;
}

#content, #bottom, .language-region {
	background-color: white;
    width: 970px;
    padding: 0px 40px;
	margin: 0px auto;
}

@media (max-width:700px){
	#content, #bottom{padding:0 10px;width:100% !important; box-sizing:border-box}
}

.language-region {
	background-color: transparent;width: 1050px;
position:relative; z-index:10; max-width:100% !important; box-sizing:border-box
}



.container_6 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
	width: 1050px;
}

.container_6 {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
	width: 100%;
}


#primary{
	margin-top: 0px;
	margin-bottom: 0px;
	width: 100%;
	display: flex;
}

#ui-datepicker-div{
	display: none;
}

/* DISCLAIMER VERTICALE SINISTRA */

#preface-block-wrap {
	padding: 0px;
}
.container_6 .grid_1{
	height: 0px;
}
#progetto_grafico {
   /* position: absolute;*/
    left: 10%;
    top: 100%;
}
#progetto_grafico{
	position: relative;
	left: -80px;
	top: 580px;
	font-size: 0.9em;
    z-index: 5;
    transform: rotate(-90deg);
    width: 280%;
}

/* SIDEBAR SOCIAL DESTRA */

 #sidebar {
	margin-top: 0px;
	left: 880px;
	position: absolute;
	top: 472px;
	left: calc((100% + 1010px)/2);
}


body.not-front  #sidebar {

	top: 146px;

}

body.not-front #sidebar.conslider{top:646px}

@media (max-width: 1160px){

 #sidebar {
	float:none;
	position: static;
	max-width:1050px; margin:0 auto; background:#FFF;
	overflow: hidden;
	width: 100%;
	display: block;
	text-align:center; 
	padding-top:30px;  
	clear:both;
	}
 #sidebar div{
	display:inline-block !important;
	}
 #sidebar img {
    width: auto !important; 
	height:32px !important; 
	margin:0 10px 0 10px !important;
	}
 div#youtube-logo  {
    display: none!important;
	}
}




.front #sidebar{	top: 765px;}

#sidebar #social-block IMG{
	background-color: white;
    padding: 5px;
}
#sidebar #social-block DIV{
	margin-bottom: -5px;
}

#sidebar #social-block #instagram-logo IMG,
#sidebar #social-block #youtube-logo IMG{
    width: 9%;
    padding: 5px 2.3% 5px 2.3%;
	height:auto;
}

/* titoli */

#primary #content H1.page-title{
	color: #732B39;
	font-weight: bold;
	margin-top: -5px;
	margin-bottom: 30px;
	line-height: 1;
}

.page-node-17551 #block-views-sottoblocco-file-block H2,
.page-node-17551 #block-quicktabs-eventi-correlati H2,
.node-type-didattica #block-views-sottoblocco-file-block H2,
.node-type-didattica #block-quicktabs-eventi-correlati H2,
.node-type-gruppo-bandi #block-views-sottoblocco-bando-block H2,
#block-quicktabs-eventi-correlati H2,
.node-type-minisito-infopage #block-views-371f0f68a98e7118bd0571002ace3347 H2,
.node-type-luogo H2,
.node-type-folder H2,
.node-type-infopage H2{
	color:#732B39; /*#B61F10; */
	font-weight:bold;
	margin-top:30px;
}


#breadcrumbs {
    margin-top: 20px;
}

#page{
	background-color: #e1dbcf; /* grigio */
}

#bottom{
    margin: 0px auto;
	border: 0px;
}

#block-block-7{
	padding-bottom: 0px !important;
}
#main{
	background: none;
	position: relative;
}
/* breadcrumbs */

#breadcrumbs,
#breadcrumbs A,
#breadcrumbs A:visited
#breadcrumbs A:hover,
#breadcrumbs A:focus,
#breadcrumbs A:active{
	color: #000000;
}

/* testi */

body,
button,
input,
select,
textarea {
	line-height: 1.4;
}

/* foto */

#content-wrap IMG{
	border: 0px;
	margin: 0px;
	max-width: 100%;
	padding: 0px;
}

/* footer */

#page .site-footer{
	width: 1030px;
	padding: 0 10px;
	margin: 0 auto;
	font-size: 0.9em;
	border-radius: 0px;
}
#footer-block H2{
	display: none;
}
#footer-block P{
	color: silver;
}
#footer-block .region-footer{
	display: flex;
	padding: 0px;
}
#footer-block #block-block-4{
	float: left;
	width: 60%;
	padding-bottom: 0px;
}
#footer-block #block-block-5{
	float: right;
	width: 40%;
	text-align: right;
	padding-bottom: 0px;
}

/* eccezione per Firefox */
@-moz-document url-prefix() {
	#bottom .grid_4f .region{
		height: auto !important;
    }
}

@media (max-width:979px){
	#block-superfish-2 {
		background-color: #FFFFFF !important;
	}
	#page .site-footer{
		padding: 0px 20px;
	}
	#footer-block .region-footer{
		display: block;
	}
	#footer-block #block-block-4{
		float: none;
		width: 100%;
	}
	#footer-block #block-block-5{
		float: none;
		width: 100%;
		text-align: right;
	}
	#content, #bottom,
	#preface-block-wrap,
	#page,
	#page .site-footer{
		width: calc(100% - 40px);
		margin: 0px;
	}
	#page .grid_4 {
		width: 100%;
		margin: 0px;
	}
	#primary{
		width: 100%;
	}
	.item-list .pager li{
		padding:0.32em;
	}
	#bottom .grid_4f {
		width: 100%;
	}
	#bottom .grid_4f .views-field{
		border-right: 0px;
	}
	.view-menu-luoghi-hp .views-row{
		width: 100%;
	}
	#block-views-sottoblocco-hp-didattica-block,
	#block-views-4d5bb2f1c0f47ec2e01efc2735460835 {
		width: 100%;
		float: none;
	}

	#bottom{
		display: block !important;
	}
	#bottom .grid_4f .region .block-views .content{
		border-right: 0px !important;
	}
	#bottom .grid_4f .veditutto{
		position: inherit !important;
	}
}


/*--------qui nascondo il div con il testo sopra alla slides
le impostazioni dello slider si trovano nella page.tpl.php---*/
.flexslider .slides .flex-caption {
    display: none;
}

#slider {
    width: 1300px;
    height: 442px;
    margin: 0 -175px;
    display:none;
}

body {
    background: none;
    background-color: #e1dbcf;
}

#page {
    margin: 0 auto;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#preface-block-wrap h2{
 display:none
}

#bottom h2{
/*display:none*/
}
#sidebar h2{
display:none
}

#social-block img {
width: 10%;
}

#block-views-sottoblocco-news-block h2:after {   
    content: ''; width:32px; height:32px;
	background: url('/sites/default/files/icon.png') no-repeat center center; background-size:14px 14px; 

}
#block-views-sottoblocco-avvisi-block h2:after {   
    content: ''; width:32px; height:32px;
	background: url('/sites/default/files/icon.png') no-repeat center center; background-size:14px 14px; 
}
#block-views-sottoblocco-sala-stampa-block h2:after {   
    content: ''; width:32px; height:32px;
	background: url('/sites/default/files/printer.png') no-repeat center center; background-size:30px 30px; 
}
#block-views-sottoblocco-accessibilita-block h2:after {   
    content: ''; width:32px; height:32px;
	background: url('/sites/default/files/disabled.png') no-repeat center center; background-size:22px 22px; 
}
.location-locations-display{
 display:none;
}
.node-type-folder .view-sottoblocco-file .view-content .views-row{
    margin-bottom:15px;
}

/* pagina ALLEGATI */

.view-sottoblocco-file .views-field-title A[href$=".pdf"],
.view-sottoblocco-file .views-field-title A[href$=".PDF"] {
	padding-left: 18px;
	background: url(/sites/default/files/acrobat.png) center left no-repeat;
	background-size: auto 16px;
	line-height: 25px;
	    padding-top: 1px;
}

.view-sottoblocco-file .views-field-title A[href$=".doc"], a[href$=".docx"], a[href$=".txt"], a[href$=".xlsx"], a[href$=".xls"], A[href$=".xml"],
A[href$=".XML"], A[href$=".png"], A[href$=".PNG"], A[href$=".jpg"], A[href$=".JPG"]{
	padding-left: 18px;
	background: url(/sites/default/files/file.png) center left no-repeat;
	background-size: auto 16px;
	    padding-top: 1px;
}
.views-field-link{
 display:none;
}

/* pagina RICERCA */

.page-search OL.search-results {
    margin-left: 1px;
}

/* scorrimento PAGINA */

.item-list .pager li {
    background: #ffffff;
    font-size: 16px;
    font-weight: bold;
}
.language-region{
	text-align:right;
	margin-bottom:-22px;
}
.language-region a.gtflag{
	
	background-image: none!important;
}
.language-region a.gtflag:before {
    content: "|";
    /* margin-top: 150px; */
    position: absolute;
    /* top: 30px; */
    /* left: 0; */
    background: #fff;
       padding: 6px 0px 7px 1px;
    right: -5px;color: #000;
    font-size: 14px;
	height:32px; overflow:hidden;box-sizing:border-box;
}
.language-region a.gtflag:after {
    content: "TRANSLATE";
    /* margin-top: 150px; */
    position: absolute;
    /* top: 30px; */
    /* left: 0; */
    background: #fff;
       padding: 6px 5px 7px 5px;
    right: -93px;
    font-weight: 700;
    color: #000;
    font-size: 14px;
	height:32px; overflow:hidden;box-sizing:border-box;
	
}
.language-region a.gtflag img{
	width:50px !important;

}

#footer-block a{color:#FFF !important}
#footer-block a:hover{color:#999 !important}

#anniarchivio {
	margin-bottom: 10px;
	margin-top: -10px;
}

#block-quicktabs-mostre #anniarchivio {
	margin-top: -5px;
}
#anniarchivio span {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    margin-right: 14px;
	font-weight:bold
}
#anniarchivio span:hover, #anniarchivio span.attivu {
    color: #732B39
}

#edit-field-scadenza-value-value-year{display:none}


	#block-block-9 a{
		height: 18px;
    color: #000;
    font-size: 20px;
    position: absolute;
    top: 0px;
    right: 0px;
    background: #fff url(/sites/all/themes/dark_elegant/images/search-button.png) no-repeat center center;
    padding: 10px 15px 5px 15px;
	height:32px; overflow:hidden;box-sizing:border-box;
	
	}
	.logged-in	#block-block-9 a{
    top: -22px;
	
	}
	
	.admin-menu .messages.error{display:block !important}
	.messages.error{display:none!important}
	
#block-block-9 a.contextual-links-trigger-active,
#block-block-9 div.contextual-links-active a.contextual-links-trigger,
#block-block-9 div.contextual-links-active ul.contextual-links {
 display:none !important;
}
 #anniarchivio span:first-child{display:none;}
div#breadcrumbs a {
    text-decoration: underline;
}
#block-superfish-1 .active-trail span,
#block-superfish-2  .active-trail span{
    color: #652236 !important;
}
#block-views-sottoblocco-file-block h2{font-weight:bold; font-size:18px;margin-top:10px; color:#621E33}
.view-sottoblocco-sala-stampa .view-empty {
    color: #000;
    margin-left: 10px;
} 
.node-type-minisito-infopage .field-name-field-image img,
.node-type-minisito .field-name-field-image img,
.node-type-infopage .field-name-field-image img,
.node-type-subhome .field-name-field-image img,
.node-type-luogo .field-name-field-image img {
    width: 100%;
}
.node-type-infopage .field-name-field-image img.portrait{
	width:auto !important;
}

/*-------- Formattazione campi per template ----------*/
/*-------- search-result.tpl.php   -------------------*/

p.search-info-splitted{
font-size: 0.85em;

}
span.title-info-splitted {
    font-weight: bold;
}
p.search-info-splitted.split_tipologia {
    margin-bottom: 10px;
}
p.search-info-splitted.split_data{
	margin-bottom: 2px;
}
/*-- gestione visualizzazione sottotitolo --*/
h4.sottotitolo {
    margin-top: -30px;
    margin-bottom: 30px;
    color: #732B39;
	font-weight:bold;
}
/*-- orario inline su mostra/evento --*/
.field-name-field-2 .field-name-field-orario .field-item p {
    margin-top: 0px;
}

/*-- gestione nascondimento immagine come da richiesta 21/02/2018 11:44 --*/
.node-type-didattica #block-system-main .field-name-field-1 .field.field-name-field-image.field-type-image.field-label-hidden {
    display: none;
}
.node-type-didattica #block-system-main  .field-name-field-1 .field-name-field-1-text{
	width: 100%;
}
/*-- gestione colore nero sul link luogo di riferimento per la vista didattica --*/

.view-lista-didattica .views-field-field-text .views-field-field-luogo a {
    color: #000000;
}


/* --- mappa Openstreet map --- */
div.leaflet-control-attribution {
    display: none;
}

.leaflet-popup-pane .leaflet-popup {
    bottom: 40px !important;
}

/* --- Colore rosso al luogo di riferimento per  --- */

.view-sottoblocco-hp-mostre-eventi  .views-field-luogo a,
.view-sottoblocco-hp-didattica .views-field-luogo a,
.view-sottoblocco-hp-evidenza .views-field .views-field-luogo a{
	color: #000;
}

.node-type-didattica .field-name-field-luogo,
.node-type-didattica .field-name-field-luogo a,
.node-type-mostraevento .field-name-field-luogo,
.node-type-mostraevento .field-name-field-luogo a {
    /*color: #000;*/
}
.view-lista-eventi .views-field .views-field-field-luogo,
.view-lista-eventi .views-field .views-field-field-luogo a,
.view-lista-mostre .views-field .views-field-field-luogo,
.view-lista-mostre .views-field .views-field-field-luogo a,
.view-attivita-sul-territorio .views-field .views-field-luogo,
.view-attivita-sul-territorio .views-field .views-field-luogo a {
    color: #000;
}

.view-sottoblocco-eventi-correlati  .views-field-field-luogo,
.view-sottoblocco-eventi-correlati  .views-field-field-luogo a{
	color:#000;
	font-size: 104%;
}
/*-- gestione nascondimento immagine come da richiesta 21/02/2018 11:44 --*/
.node-type-mostraevento #block-system-main .field-name-field-1 .field.field-name-field-image.field-type-image.field-label-hidden {
    display: none;
}
.node-type-mostraevento #block-system-main  .field-name-field-1 .field-name-field-1-text{
	width: 100%;
}

.node-type-notizia #block-system-main .field-name-field-1 .field.field-name-field-image.field-type-image.field-label-hidden {
    display: none;
}
.node-type-notizia #block-system-main  .field-name-field-1 .field-name-field-1-text{
	width: 100%;
}
.node-type-notizia .field.field-name-field-slideshow.field-type-image.field-label-above {
    display: none;
}
/* 11 Apr 2018 ---------------------------------------------------------------------------------*/
/* forzatura per eliminare i bold dalla pagine delle infopage sulla formattazione b strong e p  */
/* forzatura per regolare le spaziature fra gli elementi della riga                             */
/* ---------------------------------------------------------------------------------------------*/

#block-views-sottoblocco-infopage-block .views-field-field-abstract .field-content b,
#block-views-sottoblocco-infopage-block .views-field-field-abstract .field-content strong,
#block-views-sottoblocco-infopage-block .views-field-field-abstract .field-content p {
font-weight:200!important;
}
#block-views-sottoblocco-infopage-block .views-field.views-field-title  a{
    font-weight: 600;
}
#block-views-sottoblocco-infopage-block .views-row {
    margin-bottom: 20px;
}
#block-views-sottoblocco-infopage-block .views-field.views-field-field-abstract {
    margin-top: 0px !important;
}
#block-views-sottoblocco-infopage-block .views-field.views-field-field-abstract p {
    margin-top: 5px;
}
/* ---------------------------------------------------------------------------------------------*/

.quicktabs-wrapper {
	position: relative;
}

