/* MISC */
.cursor-pointer{
    cursor: pointer;
}
a {
  color: #e30119;
}
.title-a{color: #212529;}
.title-a:hover{text-decoration:underline;color: #3ea885;}
.color-main {
  color: #e30119!important;
}
.bg-sugar{
	background-color:#eaf3f8
}
.bg-light-grey{
	background-color:#f1f1f1
}
.fw-bold{
	font-weight:600
}
.fbc-page .fbc-wrap .fbc-items {
	background-color: transparent
}

.fbc-page .fbc-wrap .fbc-items li {
	font-size: 18px
}

.fbc-page .fbc-wrap .fbc-items li a {
	color: #0a0202
}

.fbc-page .fbc-wrap .fbc-items li .fbc-separator {
	color: #ccc
}

.fbc-page .fbc-wrap .fbc-items li .fbc-end-text,
.fbc-page .fbc-wrap .fbc-items li.active span {
	color: #27272a;
	font-size: 18px
}
.mt-min30 {
  margin-top:-15px
}
.arrow-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none!important;
    color: #000;
    font-size: 18px;
    transition: color 0.3s;
}

.arrow-link .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

.arrow-link:hover .arrow {
    transform: translateX(10px);
}

.arrow-link:hover {
    color: #3ea885; /* Cambia colore del link al passaggio del mouse */
}
section .py-5{
    min-height: 50px !important;
}

#article-hero .container-fluid{
    min-width: 220px;
}

.thumbnails-tool{
    min-width: 200px;
}

#gallery-foto{
    min-width: 150px;
}

#lightgallery .item{
    min-width: 100px;
}

#article-content{
    /*min-width: 100px;
    min-height: 100px;
    overflow: auto;*/
}


.tags .tag {
	padding: 0.5em;
	display: inline-block;
	margin-right: 0.5rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	background: #ebebeb;
	color: #666;
}


.tileblock .tileitem {
	height:280px;
	padding:0.2em;
}
@media (min-width: 768px) {
	.tileblock .tileitem {
		height:280px;
	}	
}

@media (min-width: 992px) {
	.tileblock .tileitem {
		height:600px;
	}	
}

.tileblock .tileitem a {
	position:relative;
	top:0;
	left:0;
	height:100%;
	width:100%;
	padding:1em;
	color: #ffffff;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}

.tileblock .tileitem a:before {
	content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: linear-gradient(180deg,transparent 0,rgba(0,0,0,.8));
    z-index: 1;	
}

.tileblock .tileitem a:hover::before {
    background-color: #00000020;
	height: 100%;
}

.tileblock .tileitem h3 {
	font-size:1.4em;
	z-index:3;
}

/* HOMEPAGE */
#external-links{
	position:fixed;
	bottom:2rem;
	right:2rem;
	z-index:9;
	-webkit-transition:background-color .4s ease,-webkit-transform 1s ease;
	transition:background-color .4s ease,-webkit-transform 1s ease;
	transition:transform 1s ease,background-color .4s ease;
	transition:transform 1s ease,background-color .4s ease,-webkit-transform 1s ease
}
@media (max-width:767.98px){
	 #external-links{
		 bottom:1rem;
		 right:1rem
		 }
}
#external-links .label{
	color:#fff;
	font-size:.75em;
	background-color:#2b83b6;
	border-color:#2b83b6
}
#external-links .label:hover{
	background-color:#1e7cb2;
	border-color:#1e7cb2
}
#external-links.active{
	-webkit-transform:translateX(-4rem);
	transform:translateX(-4rem)
}
#external-links .btn-blue {
  padding: .7rem 1.2rem;
}



/*#newFullSlider {
  padding-top: 140px;
}*/
.slick-arrow{margin:0 auto}
.media-gallery{margin-top:20px; margin-bottom:100px}
.page-home h2.title{
	font-size:1.5rem;
}
@media (min-width: 768px) {
	.page-home h2.title{
	font-size: 2rem;
	}	
}
/* BREADCRUMB */

.breadcrumb {
	position:absolute;
	bottom:-1em;
	left:0;
	width:100%;
	font-size:0.85em;
	line-height:2.5em;
	z-index:10 !important;
	padding:0;
	padding-left:0.5em;
	/*background-color:transparent;*/
	background: linear-gradient(180deg,transparent 0,rgba(0,0,0,.2));
	color:#fffffff0;
}


.breadcrumb ol {
    padding: 0;
    margin:0;
    list-style: none;
    font-size: 0.8em;
}
.breadcrumb ol li {
	display:inline;
    margin: 0;

}

.breadcrumb ol li:before {
    font-family:"Font Awesome 5 Free";
    content: "\f105";
	font-weight: 600;
}

.breadcrumb ol li:first-child:before {
    content: "";
}

.breadcrumb ol li i.fa {
    color: #000;
    font-size: 1.1em;
}

.breadcrumb ol li:last-child{
	background: none;
}
.breadcrumb ol li a {	
	color: #ffffff;
	font-weight: 500;	
    font-size: 1em;
	text-decoration:none;
}
.breadcrumb ol li span {
	padding-left:0.1em;
	padding-right:0.1em;	
	font-weight:600;
}
.breadcrumb ol li a span {
	font-weight:normal;
}

.breadcrumb ol li a:hover{
	text-decoration:underline;
	color: #ffffff;
}

.breadcrumb ol li:first-child a:hover {
   text-decoration:none;
}
@media (min-width: 768px) {
	.breadcrumb{ margin-bottom:1em;}
	.breadcrumb ol {font-size: 0.9em;}
	.breadcrumb ol li i.fa {font-size: 1.2em;}
	.breadcrumb ol li span {padding-left:0.1em;padding-right:0.1em;	}
}

/* end BREADCRUMB */
.thumbnail_slider_wrapper label {
	line-height:2.9em;
	position:relative;
	padding-left:2em;
}

.toggle-volume {
	position:absolute;
	left:0;
	font-size:1.6em;
	display:inline-block;
	vertical-align:baseline;
}
.toggle-volume:hover {
	font-size:1.9em;
}
.toggle-volume.disabled {
	display:none;
}
.toggle-volume-off i.fa-volume-up {
	display:none;
}
.toggle-volume-on i.fa-volume-off {
	display:none;
}

/* -- common 03/024 -- */
.cursor-pointer{
	cursor:pointer!important;
}
.sectbg {
  background: #f7f7f7;
  border-top: 1px solid #f1f1f1;
}
.page-list #vam-posts article .content {
  padding: 1.25rem 1.75rem;
}
.bg-lightc {
	background-color:#f2f2f2
}
.social-icon-grey{
	opacity:.55;
}
/* NAV DROPDOWN */

.dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu .dropdown-item {
	font-family: Exo, sans-serif;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	margin-bottom:10px
}



/* -- CONTATTI -- */
.form-check-input {
  margin-top: -0.05em!important;
}
.form-group .small {
	font-size:1rem
}
label.error {
	color:red;
	margin-bottom:0px
}


/* -- TERRITORIO -- */
.featured-contents {
  position:relative;
  z-index:1;
  pointer-events:none
}
.featured-contents .container-img-event {
  padding:0
}
.featured-contents .container-img-event img {
  width:100%;
  height:320px;
  max-width:800px;
  max-height:320px;
  -o-object-fit:cover;
  object-fit:cover;
  -o-object-position:center;
  object-position:center
}
@media (max-width:767.98px) {
  .featured-contents .container-img-event img {
    height:250px
  }
}
.featured-contents .event-box {
  max-width:450px;
  background:#fff;
  position:relative;
  margin-top:-3rem;
  -webkit-box-shadow:0 .3em .8em -.25em rgba(0,0,0,.2);
  box-shadow:0 .3em .8em -.25em rgba(0,0,0,.2);
  pointer-events:all
}
@media (max-width:991.98px) {
  .featured-contents .event-box {
    margin-top:-1.8rem;
    max-width:90%;
    padding:1.8rem;
    margin:-5.3rem auto 0 auto
  }
}
.featured-contents .event-box .caption {
  font-family:'Exo',serif;
  color:#6c757d
}
.featured-contents .event-box .title {
  letter-spacing:.1em;
  max-width:200px
}
.featured-contents .event-box p {
  font-family:'Exo',serif;
  font-size:1rem;
  font-weight:500
}

/* -- CHI SIAMO -- */
.box_about {
  /*border: 1px solid #ccc; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  border:1px solid #f1f1f1; */
  padding: 20px; 
text-align:center  
}
.about .bi {
	font-size: 1.25rem; 
}


.container-logo {
  display: flex;
  align-items: center;
}
.partners_footer .container-logo {
 padding:8px 0px
}
.container-logo>a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #212529;
}

.container-logo .text-logo {
  font-size: 18px; 
  text-align:left
}
.container-logo .text-logo-sm {
	font-size: 13.5px;
	line-height: 18px;
	padding-left: 5px;
	font-weight: 500;
}

.w-logo {
	width:50px
}



/* -- COOKIES CONSENT -- */
#cookieConsent h2 {font-size:1.5em;line-height:1.3em;}
#cookieConsent h5 {font-size:1em;line-height:1.2em;margin-bottom: 5px;}
#cookieConsent p {font-size:0.85em;line-height:1.5em;margin-bottom: 20px;}
#cookieConsent .btn {font-size:0.85em;}
#cookieConsent .btn-primary {background-color:#e30119;border-color:#e30119;}
#cookieConsent .btn-primary:hover {background-color:#e30119;border-color:#e30119;}
#cookieConsent .btn-primary:active {background-color:#e30119;border-color:#e30119;}
#cookieConsent .btn-primary:focus {background-color:#e30119;border-color:#e30119;}
#cookieConsent .modal-dialog {
	max-width: 500px;
}
#cookieConsent .btn-block {
  display: block;
  width: 100%;
}
#cookieConsent .form-check-input {
	display: block!important;
}

/* -- LA COLLEZIONE -- */
/* Modale che occupa l'80% della larghezza con una max-width di 800px */
/* Centra la modale verticalmente e orizzontalmente */

@media screen and (min-width: 768px) {
	.opere .modal-dialog {
		width: 90%;
		max-width: 1200px;
	}
}
.opere .modal-title {
    color: #0056b3;
}
.opere .modal-header {
  padding: 1rem 1rem 0 1rem;
}
.title-opera{
	word-break: break-word;
	overflow-wrap: break-word;
}

#list-p .image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  #list-p article:hover .image-wrapper::after {
	  width: 100%;
	}
}

/* -- APPUNTAMENTI -- */
#list-p .image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(0, 0, 0, 0.05);
  transition: width 0.5s ease;
  z-index: 1;
  pointer-events: none;
}


#list-p article:hover  {
 background-color:#f8f9fa;
}
#list-p article  {
 cursor:pointer
}
#list-p  h4:hover {
 text-decoration:underline
}
#list-p  h4:hover {
 text-decoration:underline
}
.app-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	color: white;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: bold;
	z-index: 1;
}
.app-bg_badge_m {
	background-color: red;
}
.app-bg_badge_e {
	background-color: green;
}
.continue-reading {
    display: inline-block;
    margin-top: 15px;
    font-size: 1rem;
    color: #e30119;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.continue-reading:hover {
    color: #d00017;
    transform: translateX(5px);
    text-decoration: none;
}

.arrow {
    font-size: 1.5rem;
    margin-left: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.continue-reading:hover .arrow {
    color: #d00017;
    transform: translateX(3px);
    text-decoration: none;
}


/* -- APPUNTAMENTI --  */


.exhibition-info-container strong {
    font-weight:normal!important
}
.exhibition-info-container {
    padding: 40px 0;
}


.title {
    margin-bottom: 5px;
}

.main-title {
    font-size: 2.5rem;
	color: #e30119;
}

.sub-title {
    font-size: 1.5rem;
    color: #555;
}

.display-date,
.location {
    font-size: 1.2rem;
    color: #777;
}



/* Sezione laterale per ticket info */

.ticket-cont {  
    background-color: #f8f8f8;
	padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.ticket-pricing h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.ticket-pricing p {
    font-size: 1rem;
    margin-bottom: 10px;
}


.book-tickets .btn {
    display: inline-block;
    background-color: #e30119;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
}
.book-tickets .btn:hover { 
    background-color: #bf0418;
}
/* Responsività: layout per dispositivi mobili */
@media (max-width: 768px) {

    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }
}
.tns-liveregion{display:none}
#interactive-container {
  height: auto !important;
}