/*
Theme Name: PT - Tema per il sito del Parlamento della Toscana
Theme URI: https://youtool.it
Author: Youtool
Author URI: https://youtool.it
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2021
Requires PHP: 7.0
Text Domain: pt

PT WordPress Theme © 2011-2021 Youtool
*/

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{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* RESETS PER GRID LAYOUT */
*, *:before, *:after { -webkit-box-sizing: border-box;  -moz-box-sizing: border-box;  box-sizing: border-box;  *behavior: url(boxsizing.htc); }
/* TIPOGRAFIA E CONTENITORI */
body {font-family:'IBM Plex Sans',sans-serif;-webkit-font-smoothing: antialiased;text-rendering: optimizeLegibility;font-size:1rem;font-weight:400;color:#000;background-color:#FFF;}
a {text-decoration:none;color:#000;}
b, strong {font-weight: bold}
em, i {font-style: italic}
.inside {max-width:1300px;margin:0 auto;padding: 0 2rem;}
#container {padding: 2rem 0;}
.wp-caption {max-width: 100%;}

/* HEADER */
#header {height:100px;background-color:#FFF;display:block;}
.page-template-template-homepage #header {height:auto;}
#head-bar {display: flex;width: 100%;justify-content: space-between;padding: 1rem;border-bottom: 1px solid #000;}
#head-bar li {display:inline-block;position:relative;}
#head-bar li a {font-size:0.9rem;font-weight:bold;text-transform:uppercase;display: inline-flex;align-items: center;}
#head-bar li {padding-left:3rem;}
#head-bar li a:before {content: "\ef42";display: block;font-family: 'Material Icons';left: 1.5rem;font-size: 1.2rem; font-weight:400;position: absolute;}
#head-bar li.consiglio a:before {content: "\e175";}
#head-bar li.giunta a:before {content: "\f233";}
#head-bar li.rassegna a:before {content: "\ef6e";}
#head-bar li.agenzie a:before {content: "\e1b2";}
.hamburger {display:none;}
#menu-menu-principale {display: flex;width: 100%;justify-content: center;padding: 1rem;border-top: 1px solid #000;border-bottom: 1px solid #000;}
#menu-menu-principale li {display:inline-block;}
#menu-menu-principale li a {display:inline-block;font-family: Krub, sans-serif;font-weight:bold;font-size:1.15rem;padding: 0 1rem;}
#menu-menu-principale li a:hover, #menu-menu-principale li.current-menu-item a{color: #E10613;}
.header-container {display: grid;grid-template-columns: 20% 50% 20%;grid-column-gap: 5%;align-items: center;}
#branding, .page-template-template-homepage #header.comprimi #branding {height: 0;padding: 0;margin-top: -1px;position: relative;}
.stemma-container a, #branding .social-links a, #site-description,
.page-template-template-homepage #header.comprimi .stemma-container a, .page-template-template-homepage #header.comprimi #branding .social-links a, .page-template-template-homepage #header.comprimi #site-description {display:none;}
.page-template-template-homepage #branding {height: auto;padding:3rem 0 1rem;text-align:center;}
.page-template-template-homepage .stemma-container a, #footer .stemma-container a, .page-template-template-homepage #branding .social-links a {display:inline-block;}
.site-title a, .page-template-template-homepage #header.comprimi .site-title a {display:block;height: 28px;width: 150px;margin: -36px auto 0;text-indent:-99999px;background-image: url(img/testata-in-consiglio.png);background-repeat:no-repeat;background-size:contain;background-position:center;}
.page-template-template-homepage .site-title a {width:300px;height:60px;margin: 0 auto;}
#site-description {font-size: 1rem;color: #666;padding: 1rem 0;}
.stemma-container img {width:100%; height:auto;}
#header.comprimi {position: fixed;width: 100%;z-index: 99999;height: 100px;display:none;}
#header.comprimi #box-live {display:none;}
#header.comprimi.scrolling_up {display:block;}

/* SLIDESHOW */
.page-template-template-homepage #slideshow .slide {color:#FFF;background-repeat: no-repeat;background-size: cover;background-position: center;position:relative;}
.page-template-template-homepage #slideshow .slide:before {content: "";display: block;width: 100%;height: 60%;background: linear-gradient(180deg, rgba(0,0,30,0) 0%, rgba(0,0,30,0.6) 100%);position:absolute;bottom: 0;}
.page-template-template-homepage #slideshow img {display:none;}
.page-template-template-homepage #slideshow .slide {height: 0;padding-bottom: 520px;position: relative;}
.page-template-template-homepage #slideshow .slide a{position: absolute;top: 0;left: 0;right: 0;bottom: 0;}
.page-template-template-homepage #slideshow .slide a span{position: absolute;left: 2rem;bottom: 2rem;padding: 1rem 3rem 1rem 1rem;background-color: #E10613;color: #FFF;}
.page-template-template-homepage #slideshow .slide a span:after {content: "\e941";display: block;font-family: 'Material Icons Outlined';right: 1.5rem;font-size: 1.2rem; font-weight:400;position: absolute;top: 30%;right: 1rem;}
.slide-content {position: absolute;bottom: 5rem;padding: 2rem;}
#slideshow h5 {text-transform:uppercase;margin-bottom:1rem;font-weight: bold;}
#slideshow h2 {font-family:'Playfair Display',serif;font-size:3rem;line-height: 0.9em;}

/* page-template-template-homepagePAGE */
.intestazione-lista-sc {display:flex;justify-content:space-between;padding-top:2rem;border-top:1px solid #33334B;margin-top: 2rem;}
.intestazione-lista-sc h5 {font-family: 'Krub', sans-serif; font-weight:bold;font-size:1.9rem;}
.intestazione-lista-sc a {color:#E10613;line-height:1.9rem;}
.intestazione-lista-mm {display:flex;justify-content:space-between;padding: 4rem 0 1.2rem;border-bottom:1px solid #E5E5E8;}
.intestazione-lista-mm h5 {font-family: 'Krub', sans-serif; font-weight:bold;font-size:1.9rem;}
.intestazione-lista-mm a {color:#0F59E6;line-height:1.9rem;}
#lista_mm {padding: 2rem 0;display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;column-gap: 1rem;}
#lista_mm img{width:100%;height:auto;margin-bottom:1rem;border-radius:5px;}
#lista_mm h3 {font-family: 'Krub', sans-serif;font-weight: bold;font-size: 1.5rem;}
.lista-banner {display: grid;grid-template-columns: 1fr 1fr;column-gap: 1rem;row-gap: 1rem;}
.lista-banner li {margin: 1rem 0;}
.lista-banner li img {width:100%;height:auto;}

/* LOOPS */
.posts-list {display:grid;grid-template-columns: 1fr 1fr 1fr;padding: 2rem 0;column-gap: 1rem;row-gap: 2rem;}
.posts-list.related {display:grid;grid-template-columns: 1fr 1fr 1fr 1fr;padding: 1rem 0;column-gap: 1rem}
.page-template-template-homepage .posts-list {grid-template-columns: 1fr 1fr;}
.posts-list .block {position:relative;}
.posts-list .block h3 {font-family:'Playfair Display',serif;margin:1rem 0;font-size:1.75rem;}
.posts-list.related .block h3 {font-family:'Krub',serif;margin:1rem 0;font-size:1.5rem;font-weight:bold;}
.posts-list .block .abstract {color:#666678;line-height:1.6em;font-size:1.1rem;}
.post-kicker {text-transform: uppercase;position: relative;z-index: 3;}
.post-kicker span {white-space: nowrap;}
.posts-list .post-kicker a {color:#E10613;font-weight:bold;}
.posts-list .block a.post-link {position:absolute;top:0;right:0;bottom:0;left:0;}
.posts-list a.post-link span {display: none;}
.posts-list .post-image {z-index:-1;background-color: #D9D9DD;}
.posts-list .post-kicker:before {content:"";display:block;width:100%;height:1px;background-color:#D9D9DD;margin:1rem 0;}
.posts-list.related .post-kicker:before {height:0;margin-bottom:0;}
.post-image {width: 100%;height: 0; padding-bottom: 60%;background-repeat:no-repeat;background-size:cover;background-position:center;}
.post-image img {display:none;}
#post-list-container {display:grid;grid-template-columns: 2fr 1fr;column-gap: 1rem;}
.page-template-template-homepage .lista-comunicati {position:relative;width: 100%;margin-top: 2rem; border:1px solid #D9D9DD;background-color:#FFF;padding: 1rem 1rem 5rem;-webkit-box-shadow: 8px 8px 0px 0px rgb(217 217 221 / 100%);-moz-box-shadow: 8px 8px 0px 0px rgba(217,217,221,1.0); box-shadow: 8px 8px 0px 0px rgb(217 217 221 / 100%);}
.page-template-template-homepage .lista-comunicati h4 {font-family: 'Krub', sans-serif;font-weight: bold;font-size: 2rem;padding-bottom: 2rem;background-image: url('img/cs-bg.png');background-repeat:no-repeat;background-size:70px;background-position: right bottom;margin-right:0.7rem;}
.lista-comunicati .block {border-top:1px solid #D9D9DD; padding: 1rem 0;position:relative;overflow: auto;}
.lista-comunicati .block a.post-link {position:absolute;top:0;right:0;bottom:0;left:0;}
.lista-comunicati a.post-link span {display: none;}
.page-template-template-homepage .lista-comunicati h3 {font-family: 'Krub', sans-serif;font-weight: bold;font-size: 1.5rem; color:#E10613; margin-top:1rem;}
.page-template-template-homepage .lista-comunicati .block .post-image {display:none;}
.lista-comunicati .post-kicker {text-transform: uppercase;}
.lista-comunicati .post-kicker a {color:#E10613;font-weight:bold;}
.page-template-template-homepage .lista-comunicati .post-kicker {text-indent: -9999px;position:relative;}
.page-template-template-homepage .lista-comunicati .post-kicker span {text-indent: 0;position: absolute;left: 0;}
.lista-comunicati .button {display: block;position: absolute;left:0;bottom: 2rem;text-align: center;width: 100%;}
.lista-comunicati .button span {display: inline-block;padding:1rem;border:2px solid #0F59E6; color:#0F59E6;}
.lista-comunicati .button span:hover {background-color: #0F59E6; color:#FFF;}
#video-list-container {background-color:#00001E; padding:4rem 0 2rem;color:#FFF;margin-top: 4rem;}
#video-list-container h4 {font-family: 'Krub', sans-serif;font-weight: 300;font-size: 3rem;line-height:4rem;display:inline-block;padding-left: 5rem;background-image: url('img/tv-bg.png');background-repeat:no-repeat;background-size:4rem;background-position: left top;}
.lista-video {padding:2rem 0;overflow: auto;}
.lista-video h3 {font-family: 'Krub', sans-serif;font-weight: 400;font-size: 1.4rem;}
.page-template-template-homepage .lista-video .video {width: 40%;float: left;display: grid;grid-template-columns: 37.5% 1fr;column-gap:1rem;position:relative;}
.page-template-template-homepage .lista-video .video:first-child {width: 59%;margin-right:1%;display:block;}
.page-template-template-homepage .lista-video .video:first-child h3 {font-size:2.625rem;}
.lista-video a {color:#FFF;font-weight:bold;}
.lista-video .post-kicker {opacity:0.5;margin-top:1rem;font-size:0.9rem;}
.lista-video .view-video {position: absolute;top: 0;left: 0;right: 0;bottom: 1rem;text-indent: -99999px;}
.lista-video.speciali-consiglio {display:grid;grid-template-columns:1fr 1fr 1fr 1fr; column-gap:1rem;row-gap: 2.5rem;color: #FFF;}
.lista-video.speciali-consiglio .video {width: 100%;float: none;display: block;position: relative;}
.lista-video.speciali-consiglio .video:first-child {width: 100%;margin-right:0;}
.lista-video.speciali-consiglio .video:first-child h3 {font-size: 1.4rem;}

/* LOOP RISULTATI DI RICERCA */
.lista-risultati .block {border-top: 1px solid #D9D9DD; padding: 1rem 0; position: relative; overflow: auto;}
.lista-risultati .post-image {padding-bottom:0;}
.lista-risultati .post-image img {float: right;max-width: 25%;height: auto;display: block;max-height: 150px;width: auto;}
.lista-risultati .post-kicker a {color: #E10613;font-weight: bold;}
.lista-risultati .block h3 {font-family:'Playfair Display',serif;margin:1rem 0;font-size:1.75rem;}
.lista-risultati .block .mm-header h3{font-family: 'IBM Plex Sans';font-size: 1rem;margin: 0;}
.lista-risultati .video {display: grid;grid-template-columns: 1fr 2fr;column-gap: 2rem;padding: 1rem;background: #00001E;color: white;position: relative;}
.lista-risultati .view-video {position: absolute;top: 0;left: 0;right: 0;bottom: 1rem;text-indent: -99999px;}
.lista-risultati .video h3 {font-family: 'Krub', sans-serif;font-weight: 400;font-size: 2.625rem;}
#html .lista-risultati .arve {margin-bottom:0;}
.lista-risultati .video .post-kicker {opacity: 0.5; margin-top: 1rem;font-size: 0.9rem;}
.lista-risultati .video a {color: #FFF;font-weight: bold;}
.lista-risultati .block a.post-link {position: absolute;top: 0;right: 0;bottom: 0;left: 0;}
.lista-risultati a.post-link span {display: none;}


/* ARCHIVI */
.archive .entry-title, .page .entry-title, .search .entry-title {font-family: 'Krub', sans-serif; font-weight:bold; font-size: 4rem; margin-bottom: 2rem;color:#E10613; text-align: center; padding-top:90px; background-repeat:no-repeat; background-position: center top; background-size:70px;}
.post-type-archive-comunicato .entry-title, .post-type-archive-iniziativa .entry-title, .tax-argomenti-comunicato .entry-title, .tax-categorie-comunicato .entry-title, .tax-categorie-iniziativa .entry-title {background-image: url('img/cs-bg.png');}
.post-type-archive-multimedia .entry-title, .tax-categorie-multimedia .entry-title, .tax-argomenti-multimedia .entry-title {background-image: url('img/mm-bg.png');}
.post-type-archive-infografica .entry-title, .tax-categorie-infografica .entry-title, .tax-argomenti-infografica .entry-title {background-image: url('img/in-bg.png');}
.page-id-316 .entry-title {background-image: url('img/ag-bg.png');}
.archive-meta {color: #666678;text-align: center;font-size: 1.1rem;line-height: 1.6em;max-width: 800px;margin: 0 auto 2rem;}
.archive .lista-comunicati .block h3 {font-family:'Playfair Display',serif;margin:1rem 0;font-size:1.75rem;}
.archive .lista-comunicati .block img {float:right;max-width: 25%;height: auto;display:block;max-height: 150px;width: auto;}
.archive .lista-comunicati .block .post-image, .search .lista-comunicati .block .post-image {padding:0;}
.cat-menu-container {border-bottom:1px solid #D9D9DD;}
.cat-menu-container ul {font-size:1.1rem;display:flex;justify-content: center;}
.cat-menu-container a {display:inline-block;padding:1rem;}
.cat-menu-container a:hover, .cat-menu-container li.current-menu-item a {color: #E10613;}
.cat-menu-container li.current-menu-item a {font-weight:bold;}
.post-type-archive-video #container, .tax-categorie-video #container, .tax-argomenti-video #container{background-color: #00001E;color: #FFF;}
.post-type-archive-video .entry-title, .tax-argomenti-video .entry-title, .tax-categorie-video .entry-title {font-weight:300;color:#FFF; background-image: url('img/tv-bg.png');}
.post-type-archive-video .lista-video.speciali-consiglio {grid-template-columns: 1fr 1fr 1fr;}
#archive-mm-list-container,#archive-list-container {display: flex;justify-content: space-around;align-items: flex-start;column-gap: 1rem;}
.mm-header-container {display: flex;justify-content: space-between;padding:1rem 0;}
.mm-header {display: flex;}
.mm-header h3 {font-weight:bold;}
.mm-header-container a {color:#0F59E6;}
.anteprima-mm {display:flex;overflow-x: hidden;}
.anteprima-mm img{height:250px;width:auto;margin-right:0.5rem;display:inline-block;}
.lista-multimedia .block {margin-bottom: 2rem;}
.navigation ul {display:flex;font-family: 'Krub', sans-serif; font-size:1.5rem; font-weight:bold;justify-content: center;padding: 2rem 0;}
.navigation ul li {padding:0 0.2rem;}
.navigation ul li.next a, .navigation ul li.prev a {text-indent:-99999px;display: block;position:relative;width:1.5rem;height:1.5rem;}
.navigation ul li.prev:before {content: "\e408";display: block;font-family: 'Material Icons';position:absolute;}
.navigation ul li.next:before {content: "\e409";display: block;font-family: 'Material Icons';position:absolute;}
.navigation ul li a {display:block;padding:0 0.3rem;}
.navigation ul li.active a {color:#D9D9DD;}
.post-type-archive-video .navigation ul li a, .tax-categorie-video .navigation ul li a, .tax-argomenti-video .navigation ul li a{color:#FFF;}
.post-type-archive-video .navigation ul li.active a, .tax-categorie-video .navigation ul li.active a, .tax-argomenti-video .navigation ul li.active a {color:#E10613;}
.lista-multimedia, .lista-comunicati, .lista-infografiche {width: 75%;}
.search .lista-comunicati {width:100%;}
.lista-infografiche {display:grid;grid-template-columns: 1fr 1fr 1fr;column-gap: 1rem; row-gap:2rem;padding-top: 0;}
.lista-infografiche .file-caption {font-weight: normal; color:#666678;}
.lista-infografiche.posts-list .post-image {padding-bottom: 100%;background-size: contain;}
.lista-infografiche.posts-list .block h3 {font-family: 'IBM Plex Sans',sans-serif;margin: 0 0 1rem 0;font-size: 1.1rem;font-weight:bold;}
.lista-infografiche .file-caption a {padding-right: 2rem;color: #0F59E6;}
.lista-infografiche .file-caption a:before {position: absolute;right: 0;top: -0.4rem;}
.lista-infografiche .block-container {border-bottom:1px solid #D9D9DD;}

/* SIDEBAR */
.sidebar {width: 25%;position: sticky;top: 7rem;float: right;}
.searchandfilter ul, .searchandfilter li {display: block !important;font-size:1rem !important;font-family: 'Krub', sans-serif;}
.searchandfilter li {padding: 0.2rem 0 !important;}
.searchandfilter h4 {font-weight:bold;font-size:1.2rem !important;margin: 2rem 0 1rem !important;}
.sidebar input[type="text"], .sidebar input[type="submit"] {font-size: 1.1rem;font-family: 'Krub', sans-serif;}
.sidebar input[type="text"] {padding:0.7rem;border:1px solid #D9D9DD;width: 100%;}
.sidebar input[name="ofsearch"] {padding-left:3rem;background-image: url('img/icons/search.png');background-repeat:no-repeat;background-size:1.5rem;background-position:1rem center;}
.sidebar input[type="submit"] {display: inline-block;padding: 1rem;border: 2px solid #0F59E6;color: #0F59E6;background-color: transparent;font-family: 'IBM Plex Sans';font-size: 1.1rem;margin: 2rem 0 0; cursor: pointer; }
.sidebar input[type="submit"]:hover {color:#FFF; background-color: #0F59E6}
.sidebar input[type="date"] {display: block !important;font-size: 1.1rem !important;font-family: 'Krub', sans-serif;width: 100%;padding-bottom: 0.7rem;border: none;border-bottom: 1px solid #CCC;}
.sidebar .searchandfilter li:first-child h4 {display:none;}

/* HEADBAR */
.headbar {margin-bottom: 2rem;}
.headbar ul {display: grid!important;grid-template-columns: 1fr 1fr 1fr 1fr;column-gap: 1rem;width:90%;max-width: 990px;margin: 0 auto;}
.headbar input[type="text"], .headbar input[type="submit"], .headbar select {font-size: 1.1rem;font-family: 'Krub', sans-serif;}
.headbar input[type="text"], .headbar select {padding:0.7rem;border:1px solid #D9D9DD;width: 100%;background: #00001E;color: #FFF;}
.headbar input[type="submit"]{color: #0F59E6;background: transparent;display: inline-block;padding: 0 0.9rem;border: 2px solid #0F59E6;line-height: 3rem;cursor: pointer;}
.headbar input[type="submit"]:hover {color: #FFF;background: #0F59E6;}

/* VIDEO LIVE */
#box-live {background-color:#00001E;padding:3rem 0;color:#FFF;}
#box-live .inside {display:grid; grid-template-columns: 1fr 2fr;column-gap:2rem;align-items: center;}
#box-live .video-container {width:100%;height:0;padding-bottom:56.25%;position:relative;}
#box-live .video-container iframe {position: absolute;top: 0;bottom: 0;left: 0;width: 100%;height: 100%;padding: 0;margin: 0;border: 0;}
#box-live a {color:#FFF; font-family: 'Krub', sans-serif; font-weight:300;font-size: 3rem;}
#box-live .post-kicker {font-weight:bold;color:#E10613;margin-bottom:1rem;display: flex;align-items: center;}
#box-live .post-kicker:before {content:"";height:0.5rem;width:0.5rem;background:#E10613;border-radius:100%;display: inline-block;margin-right: 0.5rem;}


/* SINGLE POST E PAGE */
.entry-container {width:90%; max-width:1100px;margin:0 auto;background-color:#FFF;padding:4rem 0;}
.entry-content {width:90%; max-width:900px;margin:0 auto;font-size:1.1rem;line-height:1.55em;}
.page .entry-content {max-width:1200px;}
.entry-content p {margin-bottom:1em;}
.single .entry-title {font-family:'Playfair Display',serif;margin:1rem 0;font-size:3rem;line-height:1em;}
.single-multimedia .entry-title, .single-infografica .entry-title{font-family: 'Krub', sans-serif;font-weight: bold;}
.entry-content .post-kicker {font-size: 1.5rem;}
.entry-content .post-kicker a {color: #E10613;font-weight:bold;}
.entry-content .abstract {font-size:1.5rem;line-height:1.1em;font-style:italic;}
.entry-content .credits {color:#7F7F8E;font-style:italic;margin:1rem 0;}
.entry-content img {max-width: 100%;height:auto;}
.page-sidebar {width: 100%;border: 1px solid #D9D9DD;background-color: #FFF;padding: 1rem;-webkit-box-shadow: 8px 8px 0px 0px rgb(217 217 221);-moz-box-shadow: 8px 8px 0px 0px rgba(217,217,221,1.0); box-shadow: 8px 8px 0px 0px rgb(217 217 221);}
.wp-caption-text {font-size:0.9rem;color:#7F7F8E;}
.caption-container {border-bottom:1px solid #D9D9DD; display:flex; justify-content: space-between;margin-bottom: 1rem;}
.caption-container a{color:#0F59E6;font-weight:bold;text-transform:uppercase;font-size:0.9rem;}
.caption-container a:hover {text-decoration:underline;}
.section-header {font-weight:bold;padding:1rem 0;}
.tags-container a {display:inline-block; color:#0F59E6;border:1px solid #0F59E6;padding: 1rem;line-height: 1rem;margin: 0 0.3rem 0.3rem 0;white-space: nowrap;background-color:rgba(15, 89, 230,0.05)}
.tags-container a:hover {background-color:rgba(15, 89, 230,1.0);color:#FFF;}
.disclaimer {font-size:0.9rem;color:#7F7F8E;font-style: italic;padding-top:4rem;}
.section-header-container {display:flex;justify-content: space-between; border-bottom:1px solid #E5E5E8;padding-bottom:1rem;}
.section-header-container h4 {font-family: 'Krub', sans-serif; font-weight:bold; font-size: 1.9rem;}
.section-header-container a {line-height: 1.9rem;color:#0F59E6;}
.header-image {width: 100%;height: 40vh;max-height: 480px;margin: -2rem 0 -5rem;background-size: cover;background-position: center;}
.galleria-mm {display:grid;grid-template-columns: 1fr 1fr 1fr; column-gap: 1rem;row-gap: 1rem;padding: 2rem 1rem;}
.galleria-mm img{display:none;}
.galleria-mm li {border-bottom:1px solid #D9D9DD;}
.file-caption {position:relative;font-size:0.9rem;font-weight:bold;padding:1rem 1rem 1rem 0;}
.file-caption a {position: absolute;top: 1rem;right: 0;}
.file-caption a:before {content: "\f090";display: block;font-family: 'Material Icons';font-size:1.5rem;color:#0F59E6;}
.file-caption a span{display:none;}
.file-caption span{display:block;color:#7F7F8E;font-weight:normal;margin-top: 0.5rem;}
.img-container {width:100%;height:0;padding-bottom: 71.13%;background-color:#D9D9DD;background-repeat:no-repeat;background-size:contain;background-position:center;}
.galleria-mm .img-container .wp-caption-text {display:none;}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {margin:1rem 0;font-weight: bold;}
.entry-content h1 {font-size:2.0rem;}
.entry-content h2 {font-size:1.8rem;}
.entry-content h3 {font-size:1.6rem;}
.entry-content h4 {font-size:1.4rem;}
.entry-content h5 {font-size:1.2rem;}
.entry-content h6 {font-size:1.0rem;}
.entry-content a {color:#0F59E6;}
.entry-content a:hover {text-decoration:underline;}
.entry-content ul {list-style:disc;margin-bottom: 1rem;padding-left: 2rem;}
.entry-content ol {list-style:decimal;margin-bottom: 1rem;padding-left: 2rem;}
.entry-content blockquote {margin:1rem 0 1rem 4rem;font-size: 1.5rem;line-height: 1.1em;font-style: italic;}
.download-link {display:inline-block;margin:1rem 0;line-height:1rem;padding:1rem 1rem 1rem 3rem;border:1px solid #0F59E6;position:relative;}
.download-link:before {content: "\f090";display: block;font-family: 'Material Icons';font-size:1.5rem;color:#0F59E6;position:absolute;left: 1rem;}
.download-link:hover {background-color:#0F59E6;color:#FFF;text-decoration:none !important;}
.download-link:hover:before {color:#FFF;}
.sharethis, .printthis {display:inline-block;margin:1rem 0;line-height:1rem;padding:1rem 1rem 1rem 3rem;color:#0F59E6;cursor:pointer;border:1px solid #0F59E6;position:relative;}
.printthis {margin-right:1rem;}
.sharethis:before, .printthis:before {content: "\e80d";display: block;font-family: 'Material Icons';font-size:1.5rem;color:#0F59E6;position:absolute;left: 1rem;}
.printthis:before {content: "\e8ad";}
.sharethis:hover, .printthis:hover {background-color:#0F59E6;color:#FFF;text-decoration:none !important;}
.sharethis:hover:before, .printthis:hover:before {color:#FFF;}
.sharebuttons {padding-left: 1rem;display: none;margin: 1rem;}
.sharecontainer {display: flex;}
.gallery img {border: none !important;padding: 0 8px;}
.entry-content p.credits-autore {margin-bottom:2rem;}

/* SINGLE VIDEO */
.single-video #container {background-color: #00001E;padding: 0 0 2rem;}
.single-video .entry-container {background-color: #00001E;color:#FFF;}
.single-video .entry-title {font-family: 'Krub', sans-serif;font-weight: 300;}
.single-video .footer {color: #FFF;}
.single-video .entry-container .post-kicker {opacity:0.5;}
.single-video .entry-container .post-kicker a {color:#FFF;font-weight: bold;}
.single-video .entry-content {width: 100%;max-width: 100%;}
.single-video .section-header-container {border-bottom: 1px solid #33334B;}

/* INIZIATIVE SPECIALI */
.single-iniziativa-speciale #container {padding-top:0;}
.cover-speciale-content .post-kicker {font-weight:bold;color:#E10613;}
.single-iniziativa-speciale .entry-title {font-size:4.0rem;}
.single-iniziativa-speciale .entry-container {width: 100%;max-width: 1300px;padding: 0 2rem;}
.single-iniziativa-speciale .entry-content {width: 100%;}
.single-iniziativa-speciale #post-list-container {padding: 4rem 0;}
#cover-speciale-container {display: flex;height: 75vh;align-items: center;text-align: center;position: relative;}
#cover-speciale-container .header-image {width: 50%;height: 100%;max-height: 100%;margin: 0;position:relative;}
.cover-speciale-content {max-width: 720px;margin: 0 auto;padding: 0 2rem;}
.cover-speciale-content:after {content:"";display:block;position:absolute; bottom:0; left: 50%;right: 0;margin: 0 1rem;height: 1px;background-color: #D9D9DD;}
.cover-speciale-content img {max-height: 6rem;width: auto;margin-top: 3rem;}
.single-iniziativa-speciale .lista-comunicati {position:sticky;top:1rem;width: 100%;border:1px solid #D9D9DD;background-color:#FFF;padding: 1rem 1rem 5rem;-webkit-box-shadow: 8px 8px 0px 0px rgb(217 217 221 / 100%);-moz-box-shadow: 8px 8px 0px 0px rgba(217,217,221,1.0); box-shadow: 8px 8px 0px 0px rgb(217 217 221 / 100%);max-height: 95vh;overflow-y: hidden;}
.single-iniziativa-speciale .lista-comunicati h4 {font-family: 'Krub', sans-serif;font-weight: bold;font-size: 2rem;padding-bottom: 2rem;background-image: url('img/cs-bg.png');background-repeat:no-repeat;background-size:70px;background-position: right bottom;margin-right:0.7rem;}
.single-iniziativa-speciale .lista-comunicati h3 {font-family: 'Krub', sans-serif;font-weight: bold;font-size: 1.5rem; color:#E10613; margin-top:1rem;}
.single-iniziativa-speciale .lista-comunicati .block .post-image {display:none;}
.single-iniziativa-speciale .lista-comunicati .post-kicker {text-indent: -9999px;position:relative;}
.single-iniziativa-speciale .lista-comunicati .post-kicker span {text-indent: 0;position: absolute;left: 0;}
.single-iniziativa-speciale .lista-comunicati .button {display: block;position: absolute;left:0;bottom: 1rem;text-align: center;width: 100%;background: #FFF;padding-top: 1rem;-webkit-box-shadow: 0px -16px 16px 0px #ffffff;-moz-box-shadow: 0px -16px 16px 0px #FFFFFF;-o-box-shadow: 0px -16px 16px 0px #FFFFFF;box-shadow: 0px -16px 16px 0px #ffffff;z-index: 3;height:5rem;}
.single-iniziativa-speciale .lista-comunicati .button span {display: inline-block;padding:1rem;border:2px solid #0F59E6; color:#0F59E6;}
.single-iniziativa-speciale .lista-comunicati .button span:hover {background-color: #0F59E6; color:#FFF;}

/* AGENDA */
.mec-wrap, .mec-wrap div:not([class^="elementor-"]), .lity-container, .mec-wrap h1, .mec-wrap h2, .mec-wrap h3, .mec-wrap h4, .mec-wrap h5, .mec-wrap h6, .entry-content .mec-wrap h1, .entry-content .mec-wrap h2, .entry-content .mec-wrap h3, .entry-content .mec-wrap h4, .entry-content .mec-wrap h5, .entry-content .mec-wrap h6, .mec-wrap .mec-totalcal-box input[type="submit"], .mec-wrap .mec-totalcal-box .mec-totalcal-view span, .mec-agenda-event-title a, .lity-content .mec-events-meta-group-booking select, .lity-content .mec-book-ticket-variation h5, .lity-content .mec-events-meta-group-booking input[type="number"], .lity-content .mec-events-meta-group-booking input[type="text"], .lity-content .mec-events-meta-group-booking input[type="email"], .mec-organizer-item a, .mec-event-content p, .mec-search-bar-result .mec-event-detail {font-family: 'IBM Plex Sans' !important;}
.mec-calendar {border: none !important;box-shadow: none !important;}
.mec-calendar.mec-calendar-daily .mec-calendar-d-top {background-color: #FFF !important;}
.mec-calendar .mec-event-article .mec-event-time {font-size: 1.6rem !important;margin: 0;color: #000 !important;order: 1;position: absolute;left: 0;}
.mec-calendar .mec-event-article .mec-event-title {font-size: 1.5rem !important;text-transform: none !important;margin: 0 !important;order: 3;}
.mec-calendar .mec-event-article .mec-event-detail, .mec-calendar .mec-event-article .mec-localtime-details div {order:2;}
.mec-calendar.mec-calendar-daily .mec-calendar-day-events .mec-event-article {display: flex;flex-direction: column;padding-left: 15% !important; padding-right:0 !important;}
.mec-calendar .mec-event-article .mec-event-image {display:none;}
ul.mec-categories li.mec-category a {font-weight: bold !important;font-size: 1rem !important;text-transform: uppercase;color:#E10613 !important;}
.mec-event-loc-place {text-indent:-99999px;position: relative;height: 2rem;}
.mec-event-loc-place .mec-categories {text-indent:0px;position: absolute;top: 0;}
.mec-calendar.mec-calendar-daily .mec-calendar-a-month, .mec-calendar.mec-calendar-daily .mec-calendar-d-table {border-bottom: 0 !important;}
.mec-event-footer {display:none;}
.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day.mec-daily-view-day-active.mec-has-event:after, .mec-calendar.mec-calendar-daily .mec-calendar-d-table dl dt.mec-table-d-current.mec-has-event:after {background: #FFF !important;}
.mec-calendar .mec-has-event:after {background: #E10613 !important;bottom:5px !important;}
.mec-sl-angle-left:before, .mec-sl-angle-right:before, .mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day.mec-has-event {color: #000 !important;}
.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day.mec-daily-view-day-active, .mec-calendar.mec-calendar-daily .mec-calendar-d-table dl dt.mec-table-d-current {background: #E10613 !important;color: #FFF !important;}
.mec-calendar .mec-event-article .mec-event-title a, .mec-calendar .mec-event-article .mec-event-title a:hover {color: #000 !important;display:block;position:relative;padding-right:7rem;min-height: 2.5rem;}
.mec-calendar .mec-event-article .mec-event-title a:after {content: "Dettagli";display: block;position: absolute;right: 0;top: 0;font-weight: normal;font-size: 1.1rem;color: #0F59E6;border: 2px solid #0F59E6;padding: 0.5rem 1rem;}
.mec-calendar .mec-event-article .mec-event-title a:hover:after {color: #FFF; background: #0F59E6;}
.mec-calendar .mec-event-article:hover {background-color: transparent !important;}
.mec-event-content p {font-weight: normal !important;}
.mec-wrap p {margin: 0 0 1rem 0 !important;color: #000 !important;font-size: 1.1rem !important;line-height: 1.55rem !important;}
.mec-events-button {padding: 1rem 2rem !important;font-size: 1rem !important; border: 2px solid #0F59E6 !important;}
.mec-color, .mec-color-hover:hover, .mec-wrap .mec-color, .mec-wrap .mec-color-hover:hover {color: #0F59E6 !important;}
.mec-color-before :before, .mec-wrap .mec-color-before :before {color: #000 !important;}
.mec-bg-color, .mec-bg-color-hover:hover, .mec-wrap .mec-bg-color, .mec-wrap .mec-bg-color-hover:hover {background-color: #0F59E6 !important;}
.mec-single-event .mec-events-meta-group-booking form>h4:before, .mec-single-event .mec-frontbox-title:before, .mec-single-event .mec-wrap-checkout h4:before {border-bottom: 4px solid #E10613 !important;}
.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li a:hover {color: #fff !important;}
.mec-single-event .mec-events-meta-group-booking, .mec-single-event .mec-frontbox {margin-bottom: 2rem !important;padding: 1rem 0 !important; border: none !important;box-shadow: none !important;}
.mec-single-event .mec-frontbox.mec-event-info-desktop {border: 1px solid #D9D9DD !important;padding: 1rem !important;-webkit-box-shadow: 8px 8px 0px 0px rgb(217 217 221) !important;-moz-box-shadow: 8px 8px 0px 0px rgba(217,217,221,1.0) !important;box-shadow: 8px 8px 0px 0px rgb(217 217 221) !important;}
.mec-event-cost, .mec-event-more-info, .mec-event-website, .mec-events-meta-date, .mec-single-event-additional-organizers, .mec-single-event-category, .mec-single-event-date, .mec-single-event-label, .mec-single-event-location, .mec-single-event-organizer, .mec-single-event-time {background: #FFF !important;border-bottom: 1px solid #D9D9DD !important;padding: 0 0 1rem !important;margin-bottom: 1rem !important;}
.mec-next-event-details i:before {color: #000 !important;}
.mec-single-event .mec-event-meta .mec-events-event-categories a, .mec-single-event .mec-event-meta dd {font-size: 1rem !important;color: #000 !important;}
.mec-next-event-details abbr {padding-left: 22px !important;color: #000 !important;}
.mec-single-event .mec-events-meta-group-booking form>h4, .mec-single-event .mec-frontbox-title, .mec-single-event .mec-wrap-checkout h4 {font-size: 1rem !important;font-weight: 700;color: #000 !important;border-bottom: 4px solid #D9D9DD !important;}
.mec-calendar .mec-event-article .mec-event-time .mec-sl-clock-o, .event-color {display:none !important;}
.mec-calendar.mec-calendar-daily .mec-calendar-d-top h2 {font-size: 5rem !important;color: #000 !important;}
.mec-calendar .mec-event-article {padding-bottom: 1rem !important;padding-top: 1rem !important;}

/* AGENDA page-template-template-homepage */
.agenda-container {background-color: rgba(229, 229, 232, 0.3);padding-bottom:2rem;}
.agenda-container .intestazione-lista-mm h5 span {font-weight: 300;font-style:italic;}
.agenda-container .mec-calendar.mec-calendar-daily .mec-calendar-a-month, .agenda-container .mec-calendar.mec-calendar-daily .mec-calendar-d-top {background-color: transparent !important;}
.agenda-container .mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day,
.agenda-container .mec-calendar.mec-calendar-daily .mec-calendar-d-table,
.agenda-container .mec-calendar.mec-calendar-daily .mec-calendar-d-table a {background: transparent;}
.agenda-container .mec-month-navigator {display:none !important;}

/* SOCIAL STREAM */
.ff-upic-timestamp .ff-userpic {float: none !important;border-radius: 100% !important;}
.ff-upic-timestamp .ff-item-meta, .ff-upic-off .ff-item-meta {text-align: center !important;}
.picture-item__inner {color: #000 !important;}
.ff-stream {background: transparent !important;padding: 0 0 1rem !important;}
.ff-loadmore-wrapper .ff-btn {color: #0F59E6 !important;text-transform: none !important;background-color: transparent !important;border: 2px solid #0F59E6;border-radius: 0 !important;padding: 1rem 2rem !important;font-size: 1rem !important;}
.ff-loadmore-wrapper .ff-btn:hover {background-color: #0F59E6 !important;color: #FFF !important;}

/* COOKIE CONSENT */
.cc-revoke, .cc-window {font-family: inherit !important;}

/* SLIDE LIGHTBOX */
.apri-gallery {position: absolute;right: 0;display: block;padding: 1rem;background-color: #E10613;color: #FFF;top: 50%;margin-top: -1.5rem;cursor:pointer;}
.hover_bkgr_fricc{background-color:#00001E;display:none;height:100%;position:fixed;top:0;left: 0;width:100%;z-index:10000;color:#FFF;text-align: center;}
.hover_bkgr_fricc_content{display: flex;height: 100%;justify-content: center;align-items: center;}
.hover_bkgr_fricc #slide-lightbox {display: inline-block;height: auto;max-width: 1400px;min-height: 100px;vertical-align: middle;width: 100%;position: relative;padding: 2rem;}
.popupCloseButton {color: white;cursor: pointer;display: inline-block;position: absolute;top:2rem;right:2rem;font-size: 15px;line-height: 30px;width: 30px;height: 30px;text-align: center;z-index: 999999999;}
.popupCloseButton:hover {}
#slide-lightbox img {max-width: 860px;width: 66vw;height: auto;max-height: 90vh;margin: 0 auto;}
#slide-lightbox .slide-container {display: grid;grid-template-columns: 2fr 1fr;width:90vw;max-width:1328px;text-align: left;column-gap: 2rem;min-width: 100px;}
#slide-lightbox .img-container {background-color:transparent;}
#slide-lightbox .entry-title {font-size:2.3rem;}

/* SLIDER */
.slidecontent {display: flex;justify-content: space-between;align-items: center;padding-right: 30px;}
.slidecontent > * {max-width: 50%;}
/*.slidecontent img {-webkit-box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 10%);-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 10%);width: auto;max-height:40vh;}*/
.slider-nav-container {position: absolute;bottom: 20px;width: 85%;font-size:1rem;font-weight: 700;text-align: center;}
.slider-nav-container:before {content:'';display:block;border-top: 1px solid #000;position: absolute;left: 0;right: 0;top: 15px;}
.slider-nav .slick-slide {line-height:1em;position:relative;padding-top: 40px;cursor: pointer;}
.slider-nav .slick-slide:before {content:'';display:block;height:12px;width:12px;border-radius:50%;background-color:#000;position:absolute;top:9px;left:50%;margin-left:-6px;}
.slider-nav .slick-slide.slick-current:after {content:'';display:block;height:30px;width:30px;background-color:#EA0029;border-radius:50%;position:absolute;top:0px;left:50%;margin-left:-15px;opacity:0.8;z-index:-1;}
.slick-slider { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-loading .slick-list { background: #fff url("./ajax-loader.gif") center center no-repeat; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-track { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.slick-track { position: relative; left: 0; top: 0; display: block; }
.slick-track:before, .slick-track:after { content: ""; display: table; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide { float: left; height: 100%; min-height: 1px; display: none; }
[dir="rtl"] .slick-slide { float: right; }
.slick-slide img { display: block; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }

/* ARROWS */
.slick-slider .slick-prev, .slick-slider .slick-next { position: absolute;border:0; z-index:1; display: block; width:3rem;height:3rem; background-color:#0F59E6;cursor: pointer; color: transparent; outline: none; -webkit-transition: all 0.5s;-moz-transition: all 0.5s;-o-transition: all 0.5s;transition: all 0.5s;cursor:pointer;text-indent: -9999px;}
.slick-disabled { opacity:0.2;}
.slick-prev::after, .slick-next::after{content: '\e5e1';font-family: 'Material Icons';font-size: 1.5rem;float: left;color: #FFF;text-indent: 0;width: 100%;}
.slick-prev::after {transform: rotate(180deg);}
#slideshow.slick-slider .slick-prev {bottom:2.5rem;right:5.5rem;margin-right:2px;top: auto;transform: translate(0, 0);left: auto;}
#slideshow.slick-slider .slick-next {bottom:2.5rem;right:2.5rem;top: auto;transform: translate(0, 0);left: auto;}
#slide-lightbox.slick-slider .slick-prev {top:50%;left:0;background-color:#E10613;}
#slide-lightbox.slick-slider .slick-next {top:50%;right:34%;background-color:#E10613;}

/* LIGHTBOX */
.pswp__bg {background-color: #00001E !important;}
.pswp__ui--fit .pswp__caption, .pswp__ui--fit .pswp__top-bar {background-color: transparent !important;}
button.pswp__button--arrow--left:before, button.pswp__button--arrow--right:before {height: 32px !important;position: absolute;background-color: #E10613 !important;transform: scale(1.5);}

/* FOOTER */
#footer {background-color: #00001E;padding: 2rem 0 0;}
#footer .site-title a {width:162px;height:60px;background-image: url('img/testata-in-consiglio-bianca.png');margin: 0 auto;}
#footer .stemma-container img {max-height: 60px;width: auto;}
.footer-stemmi-container {border-bottom:1px solid #33334B;padding-bottom:2rem;}
.footer-stemmi-container .inside {display: flex;justify-content: space-between;}
.footer-nav-container {padding:2rem 0;color:#FFF;}
.footer-nav-container .inside {display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;}
.footer-nav-container h5 {font-size:1.1rem;font-weight:bold;margin-bottom:2rem;line-height:1rem;}
.footer-nav-container .contatti h5 {margin-bottom:1.5rem;}
.footer-nav-container .contatti {line-height:2rem;font-size: 0.9rem;}
.footer-nav-container .menu a {color:#fff;font-size:0.9rem;margin-bottom:1rem;display:block;}
#colophon {border-top:1px solid #33334B;padding:1rem 0;text-align:center;font-size:0.8rem;color: #FFF;line-height:1.5em;}
#colophon a {color: #FFF;text-decoration:underline;}


/* SOCIAL LINK */
.social-links a {display:inline-block;width:22px;height:22px;margin:0 10px;background-repeat:no-repeat;background-size:contain;background-position:center;}
.social-links a span{display:none;}
.social-links a.facebook {background-image: url('img/icons/facebook.png');}
.header-container .social-links a.facebook {background-image: url('img/icons/facebook-alt.png');}
.social-links a.linkedin {background-image: url('img/icons/linkedin.png');}
.header-container .social-links a.linkedin {background-image: url('img/icons/linkedin-alt.png');}
.social-links a.instagram {background-image: url('img/icons/instagram.png');}
.header-container .social-links a.instagram {background-image: url('img/icons/instagram-alt.png');}
.social-links a.twitter {background-image: url('img/icons/twitter-x.png');}
.header-container .social-links a.twitter {background-image: url('img/icons/twitter-x-alt.png');}
.social-links a.youtube {background-image: url('img/icons/youtube.png');}
.header-container .social-links a.youtube {background-image: url('img/icons/youtube-alt.png');}

/* TABLET ORIZZONTALE */
@media only screen
and (min-width : 769px)
and (max-width : 1024px)
{
}

/* SMARTPHONE E TABLET VERTICALE */
@media only screen
and (min-width : 200px)
and (max-width : 768px)
{  /* HAMBURGER */
  .hamburger {font-size:25px;position:absolute;top:1rem;right:1rem;display:inline-block;width:1em;height:1em;padding:0;cursor:pointer;transition:transform .2s ease-in-out;vertical-align: middle;border:0 none;background:transparent;}

  /* Button height fix for Firefox */
  .hamburger::-moz-focus-inner {padding: 0;border: 0 none;}
  /* Focus fix for Chrome */
  .hamburger:focus {outline: 0;}
  .hamburger:before,.hamburger:after {content: "";}
  .hamburger:before, .hamburger .icon,.hamburger:after {display: block;width: 100%;height: .05em;margin: 0 0 .36em;transition: transform .2s ease-in-out;background: #000;}
  /* Styles for the active `.hamburger` icon */
  .hamburger.active:before,.hamburger.active .icon,.hamburger.active:after {background: #000;}
  /* Chiudi */
  .hamburger.hamburger-cancel.active .icon {transform: scale(0);}
  .hamburger.hamburger-cancel.active:before {transform: translateY(.4em) rotate(135deg);}
  .hamburger.hamburger-cancel.active:after {transform: translateY(-.4em) rotate(-135deg);}

#header.menuaperto  {height: 100% !important;position:fixed !important;display: flex;flex-direction: column; z-index: 99999;}
#header.menuaperto:before {content:"";display:block;position:fixed;top:0;bottom:0;left: 0;right: 0;background: #FFF;}
#header.menuaperto #head-bar {display: block; padding: 0 0 1rem 0; position: fixed;bottom: 5rem; }
#header.menuaperto #head-bar li {display: block;}
#header.menuaperto #branding .social-links a{display: inline-block !important;}
#header.menuaperto #head-bar li a{font-size: 1rem;padding: 0.5rem 0;}
#header.menuaperto #branding {order: 1;}
#header.menuaperto #menu-menu-principale {display: block;margin-top: 2rem;}
#header.menuaperto .social-links {display: block;position: fixed;bottom: 2rem;left: 1rem;}
#wrapper {padding-top: 4rem; }
.page-template-template-homepage #wrapper {padding-top: 0; }
.page-template-template-homepage #testata-container {height: inherit !important;}
#testata-container {height:0 !important;}
#header, #header.comprimi, #header.comprimi.scrolling_up { position: relative;  background-color: #FFF;  height:auto;  display:flex; flex-direction:column;}
.site-title a, .page-template-template-homepage #header.comprimi .site-title a {margin:0;}
.page-template-template-homepage #branding, #branding, .page-template-template-homepage #header.comprimi #branding {padding: 1rem 0;height: auto;position: fixed;background: #FFF; width: 100%; top: 0;z-index: 99999;}
.page-template-template-homepage .site-title a, .site-title a {width:80%; max-width:150px; height:28px;margin:0;}
#footer .site-title a {width: 130px;height: 50px;}
#footer .stemma-container img {max-height: 50px;}
.header-container {display:block;}
#head-bar, .header-container .stemma-container, .header-container .social-links {display:none;}
#site-description { font-size: 0.7rem;padding: 0.5rem 0 0;float:left;font-style: italic; display: inline-block !important; }
#menu-menu-principale {display: none;  }
#menu-menu-principale li {  display: block;text-align: left; }
#menu-menu-principale li a { font-size: 1.5rem;  padding: 0.5rem; }
.page-template-template-homepage .lista-video .video { width: 100%;  margin-bottom: 2rem; }
#cover-speciale-container  {display:block;  height: auto;}
#cover-speciale-container .header-image {width: 100%;  height: 50vh;}
.cover-speciale-content {padding:2rem;}
.cover-speciale-content:after {left:0;}
.header-image {height:50vh; margin:0;}
.entry-container {padding: 2rem 0;}
.single-video .entry-content {padding: 0 1rem;}
.mm-header-container {display: block;line-height: 1.4em;}
#container {padding: 1rem 0;}
.inside, .single-iniziativa-speciale .entry-container {padding: 0 1rem;}
#post-list-container,.page-template-template-homepage .posts-list,.page-template-template-homepage .posts-list, .intestazione-lista-sc {grid-template-columns: 1fr;}
.posts-list .block .abstract, .lista-video h3, .page-template-template-homepage .lista-video.speciali-consiglio .video:first-child h3, .entry-content .post-kicker, .archive .lista-video.speciali-consiglio .video:first-child h3, .single-video .lista-video.speciali-consiglio .video:first-child h3, .entry-content, #box-live a {font-size:1rem;}
.slide-content {padding: 1rem;}
.page-template-template-homepage #slideshow .slide a span {left: 1rem;bottom: 1rem;}
#slideshow.slick-slider .slick-next {bottom: 1rem;right: 1rem;}
#slideshow.slick-slider .slick-prev {bottom: 1rem;right: 4rem;}
.post-kicker, .lista-video .post-kicker {font-size: 0.8rem;}
.posts-list .block h3, .intestazione-lista-mm h5, .archive .lista-comunicati .block h3, .section-header-container h4 {font-size:1.5rem;}
.page-template-template-homepage .lista-comunicati h4 {font-size: 1.75rem;padding-bottom: 1rem;background-size: 50px;}
.page-template-template-homepage .lista-comunicati h3, #lista_mm h3 {font-size: 1.25rem;}
#box-live {padding:1.5rem 0;margin-top: 1.5rem;}
#header.comprimi #box-live {display:block;}
#box-live .inside {grid-template-columns: 1fr 1fr;column-gap: 1rem;}
#video-list-container {padding: 2rem 0 1rem;}
#video-list-container h4 {font-size: 2rem;line-height: 3rem;padding-left: 4rem;background-size: 3rem;background-position: left center;}
.page-template-template-homepage .lista-video .video:first-child {width: 100%;margin-right: 0;}
.page-template-template-homepage .lista-video .video:first-child h3, .single .entry-title, #slideshow h2 {font-size: 2.2rem;}
.lista-video.speciali-consiglio, #lista_mm, .footer-nav-container .inside, .post-type-archive-video .lista-video.speciali-consiglio {grid-template-columns: 1fr 1fr;row-gap:2rem;}
.archive .entry-title, .page .entry-title, .search .entry-title {font-size: 2rem;padding: 50px 1rem 0;background-size: 40px;}
.sidebar {width: 100%;position: static;top: 0;float: none;margin-bottom: 2rem;}
.page-sidebar {width:90%;}
#archive-mm-list-container, #archive-list-container, .intestazione-lista-mm, .section-header-container, .mm-header {display:block;}
.lista-multimedia, .lista-comunicati, .lista-infografiche, .posts-list {width: 100%;grid-template-columns: 1fr;}
.galleria-mm, .headbar ul, .posts-list.related {grid-template-columns: 1fr;}
.cat-menu-container {display:none;}
.entry-container { width: 100%;}
.mec-calendar .mec-event-article .mec-event-time {font-size:1rem !important;}
.mec-calendar .mec-event-article .mec-event-title { font-size: 1.2rem !important;}
 .mec-calendar .mec-event-article .mec-event-title a, .mec-calendar .mec-event-article .mec-event-title a:hover {padding-right:0;}
 .mec-calendar .mec-event-article .mec-event-title a:after {display:none;}
 .mec-event-loc-place { height: 1.5rem; }
.mec-container { width: 100% !important;  padding: 0 1rem !important; }
}
