/*
Theme Name: Design Italia Child
Theme URI: 
Description: Child theme for Design Italia. Tema sviluppato per il Museo Civico di Monza basato su Design Italia, tema di WordPress utilizzabile per i siti internet della Pubblica Amministrazione italiana. Design Italia rispetta le nuove linee guida di design dell’Agenzia per l’Italia digitale rilasciare dal Team per la Trasformazione Digitale e le caratteristiche per i servizi web della Pubblica Amministrazione contenute nel Piano triennale per l’informatica nella Pubblica Amministrazione 2017/2019. Nel tema vengono integrate le componenti di Bootstrap Italia. Il tema è stato personalizzato da Progetto Yeah.
Author: 
Author URI: 
Template: design-italia
Version: 1.0.0
*/

/* Colori */
/*a {
	color:#E20613 !important;
	text-decoration:underline;
}*/
.bg_grey{
    background: #DADADA;
}
.bg_red{
    background: #E20613;
}
.bg_white{
    background: #FFFFFF;
}
.bg_black, .btn.bg_black{
    background: #020000;
}
.text_white{
    color: #ffffff;
}
.text_black{
    color: #020000;
}
.text_red{
    color: #E20613;
}
.text-right{
    text-align: right;
}
.text-left{
    text-align: left;
}
body p {
	font-size: 20px;
}
body a, body a:hover, body a.read-more, body .menu-main .nav li ul a, body .menu-main .nav li ul a:hover, body .menu-main .nav li:hover ul a {
    color: #E20613;
}

body .wp-block-latest-posts li:hover, body .widget-area li:hover{
    box-shadow: none;
    color: #e20613;
    text-decoration: underline;
}
a:after,
.entry-content [href$=".pdf"]::after, .entry-content [href$=".doc"]::after, .entry-content [href$=".docs"]::after, .entry-content [href$=".xls"]::after, .entry-content [href$=".xlsx"]::after, .entry-content [href$=".zip"]::after {
	content:none !important;
}

.entry-content ul {
    margin: 0 0 20px 20px;
}

#header .it-header-slim-wrapper {
    background: #DADADA;
    min-height: 43px;
}
.m-pagine {
	margin-top:1em !important;
}
.titolo-sito {
	text-align:center;
	padding: 40px 0px;
	background-color:#000;
	color:#fff;
	margin-bottom: 24px;
}

/*breadcrumb*/
.breadcrumb-container .breadcrumb {
    margin:0px!important;
}
.breadcrumb {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.breadcrumb-container {
    background: #e20613;
}
nav.breadcrumb ul {
    padding-left: 0px;
    margin-bottom: 0px;
        display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    color: #fff;
}
nav.breadcrumb ul a{
	color: #fff;
}
.home-icon {
    display: inline-block;
    background-image: url(/wp-content/themes/design-italia-child/img/home.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position-y: 2px;
    padding-right: 12px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    /* filter: brightness(0%); */
}
/*pagina interna 1°livello e 2° livello*/
.container-single-title {
	background-color: #DADADA;
    padding: 3em 0 2em 0;
    margin: 1em 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding-right: 15px;
    padding-left: 15px;
}
.container-single-title.child {
	margin:0;
	border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-right: 0px;
    padding-left: 0px;
    padding: 3em 0 2em 0!important;
}
.container-fluid{
	padding:0!important;
}
.container-single-title hr {
    width: 200px;
    border-top: solid 2px #666;
    margin-top: 1em;
}
#menu-principale a{
	color: #e20613;
}
.it-nav-wrapper .it-header-center-wrapper {
	 height: auto;
}
.it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
	padding-top: 15px;
}

/*focus*/
body :focus:not(.focus--mouse), 
body .form-check [type=checkbox]:focus+label, 
body .form-check [type=radio]:focus+label, 
body .toggles label input[type=checkbox]:focus+.lever {
    border-color: #e20613 !important;
    box-shadow: 0 0 0 2px #003295 !important;
	outline: #003295 solid 2px !important;
    /*outline: none !important;*/
}
/*fine focus */

#header .menu-main .nav > li:focus {
	background:none !important;
	border:0px!important;
	border-radius:0px;
	box-shadow:none !important;
}

/* mod 10/09/2023 */
#header #searchform input[type="text"]{
    border: 2px solid #333;
    border-radius: 0.6rem;
    box-shadow: none;
    padding: 0.4rem;
    height: 40px;
    width: 290px;
    background-color: #fff;
}
#header #searchform button#searchsubmit{
    border-radius: 100px;
    height: 37px;
    padding: 0px;
    width: 40px;
    margin-left: 5px;
    text-indent: -99999999px;
    background: transparent;
}
#header .it-header-wrapper .searchform:after {
    width: 20px;
    height: 20px;
    right: 26px;
    top: -6px;
    font-size: 32px;
}
#header .it-search-wrapper {
    margin: 0;
    width: 350px;
}
#header .header_logo{
    height: 120px;
    width: auto;
}
#header .menu-main .nav > li {
    padding: 0px;
}

#header .menu-main .nav > li:hover, 
#header .menu-main .nav > li:active, 
#header .menu-main .nav > li:focus-within{
    background-color: transparent;
    border-radius: 0px;
    color: #fff;
    box-shadow: inone;
}
#header .menu-main .nav > li:hover a, 
#header .menu-main .nav > li:active a, 
#header .menu-main .nav > li:focus a, 
#header .menu-main .nav > li:focus-within a{
    color: #fff;
	background-color: #E20613;
    border-radius: 8px;
    display: block;
    padding: 6px 12px 5px;
    border: none!important;
    outline: none!important;
     -webkit-box-shadow: none!important;
    box-shadow: none!important;
}
#header .menu-main .nav > li a:focus{
    border: none!important;
    outline: none!important;
     -webkit-box-shadow: none!important;
    box-shadow: none!important;
}
#header .menu-main .nav li ul{
    padding: 0;
    background-color: #9b040d;
    border-radius: 6px;
    margin: 8px 0 0 0;
}
#header .menu-main .nav li ul:before{
    background-color: #9b040d;
    display: none;
}
#header .menu-main .nav li li{
    border-top: none;
    border-bottom: none;
}
#header #menu-principale a {
    color: #020000;
    text-transform: uppercase;
    font-weight: 700;
}

.menu-item a {
	font-size:20px !important;
}

#header .menu-main .nav a{
    display: block;
    padding: 6px 12px 5px;
}

#header .menu-main .nav {
    margin-bottom: 2px;
}
.link-nero {
	color:#000 !important;
	text-decoration:underline !important;
}

/*vari*/
.h2-400 {
	font-weight:400;
	margin:20px 0px;
}
.btn-grigio {
	background-color:#DADADA !important;
	color:#000 !important;
	text-decoration: none;
    display: block;
    white-space: nowrap;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 2.5rem;
    float: left;
    height: 2.5rem;
	text-align: center;
    font-weight: bold;
}
/*pagina accessibilità*/
.box-accessibilita img,
.box-accessibilita2 img{
	margin: 0 auto;
  	display: block;
}
.box-accessibilita h3 {
	color: #fff;
  	background-color: #000;
	padding: 6px;
}
.box-accessibilita p {
	background-color: #F5F5F5;
	padding: 6px;
}
.box-accessibilita {
	margin-bottom: 30px;
}
.box-accessibilita2 {
	margin-top:30px !important;
}
/*accordion*/
.accordion-header .accordion-button {
	margin-bottom: 10px !important;
	border:1px solid #000 !important;
	color:#000 !important;
}
.accordion {
	border-bottom:0px;
}
.accordion-header .accordion-button::after {
	color:#E20613 !important;
}
.box_data_periodo {
	display:none;
	visibility: hidden;
}


/*carousel*/
#content .home_1_col_carousel .it-carousel-wrapper.it-carousel-landscape-abstract, #content .home_1_col_carousel .it-carousel-wrapper.it-carousel-landscape-abstract-3{
    max-width: none!important;
}
#header .it-text-slider-wrapper-outside {
    background: #ededed;
}
#content .it-text-slider-wrapper-outside .card{
    background-color: transparent;
}
#content .splide__pagination{
    left: 46%!important;
    bottom: -30px!important;
}
#content .it-carousel-wrapper .splide__pagination button {
    background: #d7b0b3;
    width: 16px;
    height: 16px;
}
#content .it-carousel-wrapper .splide__pagination button.is-active {
    background: #E20613;
}
#content .home_1_col_carousel .card .card-body h5.card-title, #content .card .card-body .card-title.h5 {
    color: #020000;
    font-size: 2.5rem;
    line-height: 2.5rem;
}
#content .home_1_col_carousel .card .card-body .category-top{
    font-weight: 700;
    color: #020000;
    font-size: 1.1rem;
}
#content .home_1_col_carousel .card-text, #home_3_col_carousel .card-text{
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
}
body .btn, .btn:active{
    text-decoration: none;
    display: block;
    white-space: nowrap;
    padding: 0 15px;
    background: #E20613!important;
    color: #fff!important;
    width: auto;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 2.5rem;
    float: left;
    height: 2.5rem;
}

body .btn-sm, body .btn-group-sm>.btn {
    padding: 7px 14px;
    font-size: 14px;
    line-height: 22px;
    height: 2rem;
}

body small, body .small {
    font-size: .7rem;
}

body .btn:hover{
    background-color: #b00711;
	color:#fff;
}
.home_1_col_carousel .card-body{
    min-height:380px;
}
 #box_newsletter .read-more{
    background: #020000;
}
#content .home_1_col_carousel .it-carousel-wrapper .card-wrapper{
    padding: 0!important;
    background: #DADADA;
}
#content .home_1_col_carousel img {
    /*
    height: 380px;
    max-height: 380px;
	height: 100%;
    */
	margin: 0;
}

body .searchform label {
    display: block;
}

/* titolo-container class */
.titolo-container {
    font-size: 1.7rem;
    line-height: 1.5rem;
    font-weight: 700;
    align-items: center;
}
.container_title_icon img{
    width: 40px;
    height: auto;
}

/* Carosello a 3 colonne */
#home_3_col_carousel .card{
    background:transparent;
}
#home_3_col_carousel .card a.read-more {
    position: relative;
    bottom: auto;
    display: inline-block;
    color: #E20613;
}
#home_3_col_carousel a.read-more .icon{
    fill: #E20613;
}
/* Pallini di paginazione */

/*eventi*/
.post-date {
	font-weight:600;
}
.post-date a,
.post-date a:hover{
	color:#A01018;
}

/*box newsletter*/
#box_newsletter{
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}
.input_whitebg_rounded{
    background: #fff;
    border-radius: 0.6rem;
    border:none;
}
input, button, input[type="submit"], input[type="text"], input[type="email"], textarea, select {
    border-radius: 8px!important;
    font-size: 1rem!important;
    line-height: 2rem!important;
}
a.read-more{
    font-size: 1rem!important;
}
#box_newsletter .btn:active,
#box_newsletter .btn:hover {
  color: #000 !important;
  border: 2px solid #000;
}
.btn-newsletter:hover, 
.btn-newsletter:focus,
.btn-newsletter:active {
	background-color:#fff !important;
    color: #000!important;
	border: 2ps solid #000;
}
/*bookshop sidebar*/
#menu-item-387:after {
	content: url(/wp-content/uploads/2023/09/banner2.png);
    position: relative;
}
#menu-item-387 a {
	visibility:hidden;
}

/*convenzioni*/
.title-convenzioni {
  font-size:23px;
  margin-bottom:20px;
}
hr.separatore {
  margin-top: 20px;
  margin-bottom: 40px;
}

/* .card-box */
.home .card-box .card-title {
    font-size: 1.1111111111rem;
    line-height: 1.5555555556rem;
    font-weight: normal;
    border-bottom: 8px solid #dadada;
}

.card-box .card-title {
    font-size: 1.1111111111rem;
    line-height: 1.5555555556rem;
    font-weight: normal;
    border-bottom: none;
}
.card-box .card .card-body {
    padding: 0;
    background: #fff;
}
.card-box .card {
    background-color: transparent;
}
.card-box .card a.read-more{
    position: relative;
    bottom: opx;
    color: #E20613!important;
    float:right;
}
.card-box .card .card-body .card-text {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
}
.card-box .card a.read-more .icon {
    margin-left: 8px;
    fill: #06c;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: #E20613;
}
.card2.card-box .card .card-body{
    background: #DADADA;
    padding-right: 24px;
}
.card2.card-box .card .card-white{
	 background: #fff;
}
.card3.card-box .card a.read-more {
    font-size: 0.8rem!important;
    letter-spacing: 0px;
    position: absolute;
    right: 0px;
    bottom: 15px;
}
.box-servizi {
	margin-bottom:0px !important;
}
/* fine card */

/*menu animation */
body .menu-main .nav ul{
   top: 30px;
    left: 14px;
    opacity: 0;
    transition: all .5s ease-in-out;
}
body .menu-main .nav li:hover > ul{
    opacity: 1;
    transition: all .5s ease-in-out;
    top: 30px;
    left: 14px;
}

/* Social icon */
#menu-social-topbar-menu a, #menu-social-topbar-menu-inglese a{
    text-indent: -9999999999px;
    padding: 0 5px;
}
#menu-item-143 a, #menu-item-29930 a{
    width:20px;
    height:20px;
    display: block;
    background: transparent url(./img/facebook.png) no-repeat center center;
    background-size: contain;
    margin: 12px 0;
}
#menu-item-144 a, #menu-item-29931 a{
    width:35px;
    height:20px;
    display: block;
    background: transparent url(./img/instagram.png) no-repeat center center;
    background-size: contain;
    margin: 12px 0;
}
#menu-item-439 a, #menu-item-29932 a{
	width:35px;
    height:20px;
    display: block;
    background: transparent url(./img/Icona_Youtube_nera.png) no-repeat center center;
    background-size: contain;
    margin: 12px 0;
}
#menu-social-topbar-menu, #menu-social-topbar-menu-inglese {
    padding: 0;
    margin: 0 0 0 20px;
    border: none;
}

/* card-2col */
.card-2col img{
    max-height: 100%;
    height:100%;
}
/*.card-2col .card-wrapper{
    height:380px!important;
}*/
.card-2col .card{
    background:transparent;
}
.card-2col .card .card-body h5.card-title.big-heading, .card-2col .card .card-body .card-title.big-heading.h5 {
    color: #020000;
    font-size: 2.5rem;
    line-height: 2.5rem;
}
.card-2col .card .card-body .category-top {
    font-weight: 700;
    color: #020000;
    font-size: 1.1rem;
}
.card-2col .card .card-body .card-text{
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
}

/* CATEGORIa LISTA */

.lista_categoria .card .card-body h2.card-title{
    color: #020000;
    font-size: 1.5555555556rem;
    line-height: 1.7777777778rem;
}

.lista_categoria .card .card-body .card-text {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
}

.lista_categoria .card .card-body .card-text a {
    color: #1a1a1a;
}

.lista_categoria .card:after{
    display: none;
}

.widget_category_mansory.lista_categoria .card.card-bg{
    height:95%;
}

/* Articoli Correlati */
.articoli_correlati a {
    border: 2px solid #e20613;
    display: block;
    color: #e20613;
    padding: 1rem;
}

/* Data periodo nelle cat. News, Prestito, Archivio */
.box_data_periodo{
    font-style: italic;
    color: #000;
    font-size: 16px;
	font-weight:bold;
}

.container-fluid{
    overflow-x:hidden!important;
}

/*modulo contatto*/
.btn-modulo input[type="submit"] {
	background-color: #000 !important;
	color:#fff !important;
}
.font-moduli .wpcf7-list-item-label {
	font-weight:400;
}
.wpcf7 p{ 
	margin-bottom:10px;
}
.wpcf7-list-item-label {
	font-weight:400;
}

/*sidebar*/
.sub-menu .menu-item a {
	font-size:15px !important;	
	text-indent: initial;
}
.page-widget-area ul .widget_nav_menu {
	border: 2px solid #bebebe;
}
.page-widget-area ul .widget_nav_menu .menu {
	padding: 0px 0px 0px 10px;
	margin-top:0px;
}
.page-widget-area ul .widget_nav_menu .widget-title {
	background-color:#000;
	color:#fff;
	padding: 10px 0px 10px 10px;
}
.wp-block-latest-posts.wp-block-latest-posts__list {
	background-color: #000;
	padding: 10px;
    margin: 0px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li:hover {
	background-color:#000;
	border-bottom:0px;
}
.wp-block-latest-posts li a  {
	  color: #fff;
}
.page-widget-area {
	margin-top:18px !important;
}
.sidebar-menu-box {
	border:1px solid #ddd;
}
.sidebar-menu-box h3 {
	font-size: 24px;
	background-color: #000;
 	color: #fff;
	padding:10px 20px;
	margin-bottom:0px;
}
.sidebar-menu-box .menu-news {
	padding:10px 20px 0px 20px;
}
.sidebar-menu-box .menu-news a {
	color:#000;
}
.sidebar-menu-box .menu-news a:hover {
	color: #E20613;
}
.sidebar-menu-box .menu-news .submenu {
	padding-left: 10px;
	margin-top:0px !important;
}
.sidebar-menu-box .menu-news ul.submenu li a {
	font-size: 16px !important;
}
/* Menu sidebar */
body .widget_nav_menu .menu{
    padding-left: 0px!important;
}

body .widget_nav_menu .menu li{
    padding: 0px;
    text-transform: uppercase;
    border-top: 1px solid #bebebe;
}
body .widget_nav_menu .menu .current_page_item>a, body .widget_nav_menu .menu .current-menu-item>a{
    background-color: #e20613;
    color: #fff;
}
body .widget_nav_menu .menu li a{
    display: block;
    padding: 10px;
    width: 100%;
}
body .widget_nav_menu .menu .current_page_item>a{
    color: #fff;
}
.page-widget-area ul .widget_nav_menu .widget-title{
    margin:0!important;
}

/*gallery*/
.gallery-item .gallery-icon img {
	border: 12px solid #fff !Important;
}
#post-314 .gallery-item .gallery-icon img,
#post-320 .gallery-item .gallery-icon img,
#post-318 .gallery-item .gallery-icon img,
#post-343 .gallery-item .gallery-icon img,
#post-323 .gallery-item .gallery-icon img,
#post-327 .gallery-item .gallery-icon img,
#post-329 .gallery-item .gallery-icon img,
#post-331 .gallery-item .gallery-icon img,
#post-333 .gallery-item .gallery-icon img,
#post-335 .gallery-item .gallery-icon img,
#post-337 .gallery-item .gallery-icon img,
#post-339 .gallery-item .gallery-icon img,
#post-341 .gallery-item .gallery-icon img {
	border: 12px solid #fff !Important;
	width:600px;
	height:600px;
	object-fit:cover;
}
#post-314 .gallery-item .gallery-icon img,
#post-314 .gallery-item,
#post-320 .gallery-item .gallery-icon img,
#post-320 .gallery-item,
#post-318 .gallery-item .gallery-icon img,
#post-318 .gallery-item,
#post-343 .gallery-item .gallery-icon img,
#post-343 .gallery-item,
#post-323 .gallery-item .gallery-icon img,
#post-323 .gallery-item,
#post-327 .gallery-item .gallery-icon img,
#post-327 .gallery-item,
#post-329 .gallery-item .gallery-icon img,
#post-329 .gallery-item,
#post-331 .gallery-item .gallery-icon img,
#post-331 .gallery-item,
#post-333 .gallery-item .gallery-icon img,
#post-333 .gallery-item,
#post-335 .gallery-item .gallery-icon img,
#post-335 .gallery-item,
#post-337 .gallery-item .gallery-icon img,
#post-337 .gallery-item,
#post-339 .gallery-item .gallery-icon img,
#post-339 .gallery-item,
#post-341 .gallery-item .gallery-icon img,
#post-341 .gallery-item {
	margin-bottom:0px;
}
#post-314 .gallery-item, 
#post-320 .gallery-item,
#post-343 .gallery-item,
#post-323 .gallery-item,
#post-327 .gallery-item,
#post-329 .gallery-item,
#post-331 .gallery-item,
#post-333 .gallery-item,
#post-335 .gallery-item,
#post-337 .gallery-item,
#post-339 .gallery-item,
#post-341 .gallery-item {
	margin-top:0px;
}

/*versione inglese*/
.page-id-30837 .it-header-slim-wrapper {
	display:none;
}
.page-id-30837 .it-brand-wrapper a {
	pointer-events: none;
}

/*footer*/
.icone-social-footer a {
	margin-right:10px;
}
#footer .nav-footer li{
    padding: 0!important;
}
#footer .nav-footer a{
    color: #fff;
    font-size: 12px;
    padding: 0px 15px;
    border-right: 1px solid #fff;
}
#footer .nav-footer li:last-child a{
    border: none;
}
.it-footer-small-prints {
	background-color:#000 !Important;
}
.footer1 {
	padding-bottom: 60px;
}
.footer2 {
	padding-bottom: 30px;
}
.icona-footer {
	padding-right:20px;
}
.text-museo {
	font-size:20px;
}
.it-footer-main .py-4 {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
.it-footer-main {
	padding-top:40px;
}
.box-social-footer {
	margin-top:40px !important;
}
body .mb-10{
    margin-bottom:80px!important;
}
.titolo-icona-footer a {
	color:#fff !important;
	text-decoration:underline;
}
#menu-footer .menu-item a {
	text-decoration:underline;
}
.text-finanziamento {
	text-align:right;
	margin-right:7%;
}
.titolo-icona-footer a:focus,
#menu-footer a:focus{
	color:#fff !important;
}

/* Info visita */
.info_visita .card-box .card-title{
    border-bottom: none;
}

.info-visita .card-text{
    font-size: 0.8rem!important;
}

.card2 .card-title{
    text-transform: uppercase;
    color: #020000!important;
}

.card2 .card-body{
    flex: 1 0 auto;
}

.card:after{
    display: none!important;
}
.titoli-biglietti {
	font-size:22px;
}
.img-biglietti {
	margin-bottom:10px;
}

/*percorsi espositivi*/

.box-percorsi {
	margin-bottom:20px;
}
.box-percorsi img {
	margin-bottom:0px !important;
}
.box-percorsi h3 {
	line-height:30px;
}
.box-percorsi a {
	color:#000;
	text-transform:uppercase;
	font-size: 22px;
}
/* ACCORDION */
body .accordion-header .accordion-button:after {
    content: '▼';
    float: right;
    width: 1.5rem;
    height: auto;
    line-height: .1rem;
    color: #06c;
    transition: transform .3s;
    background-image: none;
    transform: scaleY(-1);
}

body .accordion-header .accordion-button {
    border-radius: 0px!important;
    border-left: none!important;
    border-right: none!important;
    border-bottom: 2px solid #DADADA!important;
    border-top: 2px solid #DADADA!important;
}

body .accordion {
    border-bottom: none!important;
}

.img-wrapper img {
    width: 100%;
    height: auto;
}
body .entry-content a.btn {
    text-decoration: none !important;
}

.entry-content a,
.link-decoration {
    text-decoration: underline !important;
}

/*cf*/
.wpcf7-acceptance {
	margin-right:10px;
}

/*gravity fom*/
.gform_button {
	background-color:#000 !important;
}


@media (min-width: 942px) {
.field100 {
		width:98%;
		display: inline-block;}
	.wpcf7-form-control-wrap {
		margin-top:10px;}
	.field50 {
		width: 48%;
		position: relative;
		display: inline-block;
		float:left;
		margin-right:20px;}
	}



@media (max-width: 768px) {

    body #header .custom-navbar-toggler svg {
        fill: #e20613;
        width: 42px;
        height: 42px;
        display: block;
        background: #fff;
		position: absolute;
    	bottom: 50px;
    }

    body button:hover, body input[type="submit"]:hover {
        cursor: pointer;
        background-color: transparent;
        border-color: transparent;
    }

    body header {
        position: relative;
        z-index: 999999;
    }

    .menu-main #nav1.expanded .nav a {
        padding: 8pt;
        border-bottom: 1px solid #000;
    }

    .menu-main #nav1.expanded .nav {
        position: relative;
        opacity: 1;
        height: auto;
        overflow: auto;
        top: 0px;
        left: 60px;
        z-index: 999999999;
        background: #fff;
    }

    #nav1.expanded {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999999;
        background: #0006;
        width: 100%;
        /* height: 100%; */
        display: block;
    }

    #nav1.expanded .close-div {
        position: fixed;
        top: 10px;
        z-index: 9999999;
        bottom: auto;
        left: 10px;
    }

    #nav1.expanded .close-div button {
        padding: 2px 4px;
    }

    .show-menu-main2{
        position: absolute;
        bottom: auto;
        width: 50px;
        height: 50px;
        padding: 0;
        font-size: 0;
        z-index: 10000;
        
        top: -167px;
        right: 15px;
        left: auto;

    }

	.text-museo {
		padding-top:40px;
	}
	.footer1 {
		padding-bottom: 40px;
	}
	.footer2 {
		padding-bottom: 40px;
	}
	.footer2 .col-md-4 {
		padding-bottom: 10px;
	}
	.copyright {
		text-align:left;
	}
    #show-menu-main[type="button"]:focus ~ .nav, 
    #show-menu-lingua[type="button"]:focus ~ .nav {
      height: auto;
      opacity: 1;
      overflow: scroll;
      -webkit-transition: all .4s ease-in-out;
      -moz-transition: all .4s ease-in-out;
      -o-transition: all .4s ease-in-out;
      transition: all .4s ease-in-out;
    }
    #show-menu-main[type="button"]:focus ~ .show-menu-main:after {
        content: "\2715";
        position: fixed;
        top: 20px;
        left: 0;
        width: 60px;
    }

    #show-menu-main[type="button"]:focus ~ .nav {
        background-color: #fff;
        display: inline-block;
        position: fixed;
        top: 0;
        bottom: auto;
        left: auto;
        right: 0;
        width: calc(100% - 60px);
        height: 100%;
        min-height: 100%;
        padding: 15px 0;
        z-index: 1000000;
        overflow-y: scroll;
        box-shadow: -100px 0px 0px 0px rgba(0, 0, 0, .6);
    }
    #show-menu-main[type="button"]:focus ~ .nav li {
        box-shadow: 0 1px 0 0 rgba(102, 102, 102, .4);
    }
    #show-menu-main[type="button"]:focus ~ .nav li:last-child, 
    #show-menu-main[type="button"]:focus ~ .nav li ul {
        box-shadow: none;
        border-radius: 0;
    }
    #show-menu-main[type="button"]:focus ~ .nav a {
        color: initial;
    }
    #show-menu-main[type="button"]:focus ~ .nav li ul:before {
        content: none;
    }
	#post-314 .gallery-item,
	#post-320 .gallery-item,
	#post-318 .gallery-item,
	#post-343 .gallery-item, 
	#post-323 .gallery-item, 
	#post-327 .gallery-item, 
	#post-329 .gallery-item, 
	#post-331 .gallery-item, 
	#post-333 .gallery-item, 
	#post-335 .gallery-item, 
	#post-337 .gallery-item, 
	#post-339 .gallery-item, 
	#post-341 .gallery-item {
		width:100% !important;
	}
	.btn-largo {
		padding: 5px 2px !important;
   		font-size: 12px !important;
 		line-height: 1.7em !important;
 		height: 32px !important;
	}
}	
	

@media (max-width: 992px){
     body .entry-content, .card-box .card .card-body .card-text, .card-2col .card .card-body .card-text, #content .home_1_col_carousel .card-text, #home_3_col_carousel .card-text{
        font-size: 18px;
        line-height: 1.5;
    }

    .accordion-button {
        white-space: break-spaces;
        line-height: 20px!important;
    }

    .card2.card-box .card .card-body{
        padding: 24px!important;
        padding-bottom:0px!important;
    }
    
    .card2 .btn{
        float:left;
    }

    .titolo-container {
        line-height: 2.5rem!important;
    }

    #home_3_col_carousel .splide__pagination{
        display: flex;
    } 
    .it-header-center-wrapper .it-header-center-content-wrapper{
        display: block!important;
    }
    .it-nav-wrapper .it-header-center-wrapper {
        padding: 0;
        margin: 0;
    }
    #header .show-menu-main {
        top: -167px;
        right: 15px;
        left: auto;
    }  
    #header .it-search-wrapper {
        margin: 1rem 0 0 0;
        width: 100%;
    } 
    #header #searchform input[type="text"] {
        width: 86%;
        display: block;
    }
    .searchform:after{
        z-index:3!important;
    }
    #box_newsletter a.read-more {
        width: 100%;
        margin: 1rem 0 0 0;
    }
    .home_1_col_carousel .card-body{
        min-height: auto;
    }
    .card-2col img {
        max-height: auto;
        height: auto;
    }
    .card-2col .card-wrapper {
        height: auto!important;
        padding: 0;
    }
    .card-2col .card .card-body{
        padding-bottom:0px;
    }
    .card-2col .card:after{
        margin: 0;
    }
    .card-2col .card-wrapper, .card-2col .card{
        height:auto!important;
    }
    #box_newsletter .btn{
        margin-top:24px;
        width:100%;
    }
	.text-finanziamento {
		text-align:center;
	}

    /*
    .footer1 div{
        max-width: 50%;
        width: 50%;
    }
    */
    .v-space-20{
        display:none;
    }

    .text-finanziamento{
        margin: 20px 0 0 0;
    }

    .footer1 div img{
        width: 100%!important;
        height:auto!important;
    }
	#post-314 .gallery-item .gallery-icon img {
	border: 4px solid #fff !Important;}
	.titolo-sito {
		padding: 20px 0px;
		font-size:36px;
	}
	.p-mobile {
		margin-top:30px !important;
	}

    .it-header-wrapper.is-sticky{
        height: auto!important;
    }
}

@media (min-width: 993px){
    #homepage_carousel .it-carousel-wrapper .splide__track {
        max-height: 392px;
        overflow: hidden;
    }
}


/* iPads (landscape) ----------- */
@media  (min-width : 768px) and (max-width : 1024px) 
and (orientation : landscape) {
    body .widget_nav_menu .menu-item a {
        font-size: 15px!important;
    }
    .menu-main .nav a {
        padding: 0!important;
        font-size: 16px!important;
    } 
    .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
        margin: 0 0 10px 0!important;
    }
    #box_newsletter .btn {
        font-size: 13px!important;
    }

    body .btn-sm, body .btn-group-sm>.btn {
        white-space: nowrap;
        display: inline-table;
    }

    .text-finanziamento {
        font-size: 12px;
        margin: 0!important;
    }

    .v-space-20{
        display:block;
    }
}

/* iPads (portrait) ----------- */
@media (min-width : 768px) and (max-width : 1024px) 
and (orientation : portrait) {
    body .widget_nav_menu .menu-item a {
        font-size: 15px!important;
    }
    .menu-main .nav a {
        padding: 0!important;
        font-size: 16px!important;
    }
    .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
        margin: 0 0 10px 0!important;
    }

    #box_newsletter .btn {
        font-size: 13px!important;
    }

    body .btn-sm, body .btn-group-sm>.btn {
        white-space: nowrap;
        display: inline-table;
    }

    .text-finanziamento {
        font-size: 12px;
        margin: 0!important;
    }

     .v-space-20{
        display:block;
    }
}