html {
  font-size: 62.5%;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-weight: 400;
  background: #fff;
  color: #333;
}

.slick-arrow .glyphicon {
  font-size: 20px;
}

#lang {
  background: #ebebeb;
}

#lang a,
#lang span {
  color: #2d3b67;
  font-weight: 700;
  font-size: 2rem;
}

#lang span {
  color: #999;
}

#lang .list-inline {
  margin: 0.2rem 0;
}

#lang ul li:not(:last-child)::after {
  display: inline-block;
  content: "";
  margin: 0 0.5rem;
  position: relative;
  top: 0.3rem;
  left: 0.6rem;
  width: 3px;
  height: 2rem;
  background: #2d3b67;
}

#header-ecpp2026 {
  position: relative;
  padding: 0;
}

#header-ecpp2026 .header-bg {
  width: 100%;
}

.evento-master #sfondo-header-schermi-piccoli,
.evento-master #sfondo-header-landing-schermi-piccoli,
.evento-master #sfondo-header-landing-schermi-grandi {
  display: none;
}

.evento-child #sfondo-header-schermi-piccoli,
.evento-child #sfondo-header-schermi-grandi,
.evento-child #sfondo-header-landing-schermi-piccoli {
  display: none;
}

.evento-child #header-ecpp2026 .logo-roma {
  display: none;
}

.evento-master #header-ecpp2026 .logo-ecpp-all-en,
.evento-child #header-ecpp2026 .logo-ecpp-all-en {
  display: none;
}

#header-ecpp2026 .header-logos-top {
  position: absolute;
  top: clamp(10px, 2vw, 15px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 4vw, 28px);
  z-index: 2;
}

#header-ecpp2026 .header-logos-top .header-logo {
  flex: 0 0 clamp(70px, 11vw, 160px);
  max-width: clamp(70px, 14vw, 200px);
  max-height: clamp(35px, 7vw, 85px);
  width: auto;
  height: auto;
  object-fit: contain;
}

#header-ecpp2026 .header-logos-top .header-logo.logo-ecpp-en {
  max-width: clamp(90px, 24vw, 305px);
  max-height: clamp(60px, 10vw, 125px);
  transform: translateY(clamp(5px, 2vw, 22px));
}

#header-ecpp2026 .logo-roma {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: clamp(50px, 15vw, 175px);
  width: auto;
  z-index: 2;
}

#content {
  flex: 1 0 auto;
}

.bg-color1 .titolo {
  margin: 0;
  font-weight: 600;
  text-align: center;
  color: #004388;
}

.bg-color2 {
  background: #fff;
}

.bg-color2 .container.descrizione-evento {
  background-color: #fff;
  border-bottom: 7px solid #004388;
}

.bg-color2 .descrizione-evento .col-descrizione .pannello-bianco-ecpp {
  background: #fff;
  text-align: center;
  color: #004388;
  font-weight: 600;
}

.testo-pannello-ecpp {
  max-width: 650px;
  margin: 0 auto 25px;
}

.presidenti-ecpp {
  margin-top: 10px;
}

.foto-presidente-ecpp {
  width: clamp(180px, 28vw, 85%);
  max-width: 85%;
  height: auto;
  display: block;
}

.presidente-sinistra .foto-presidente-ecpp,
.presidente-destra .foto-presidente-ecpp {
  margin-top: calc(-1 * clamp(80px, 14vw, 165px));
}

.presidente-sinistra .foto-presidente-ecpp {
  margin-left: 0;
  margin-right: auto;
}

.presidente-destra .foto-presidente-ecpp {
  margin-left: auto;
  margin-right: 0;
}

.presidenti-ecpp .presidente-ecpp {
  padding-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}

.centro-presidenti-ecpp {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.firme-presidenti-ecpp {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 520px;
  max-width: 100%;
  margin: 0 auto;
}

.blocco-firma-ecpp {
  position: relative;
  flex: 1 1 0;
  margin: 0;
  padding-bottom: 25px;
  text-align: center;
}

.nome-presidente-ecpp {
  font-weight: 700;
  text-align: center;
}

.ruolo-presidente-ecpp {
  font-size: 15px;
  margin-bottom: 6px;
  text-align: center;
}

.firma-presidente-ecpp {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: auto;
  z-index: 2;
  pointer-events: none;
}

.blocco-firma-ecpp:first-child .firma-presidente-ecpp {
  max-height: 70px;
  left: 50%;
  transform: translateX(-50%);
}

.blocco-firma-ecpp:last-child .firma-presidente-ecpp {
  max-height: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-logos {
  background: #123e89;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 3vw, 50px);
  padding: clamp(10px, 2vw, 20px) 15px;
  flex-wrap: wrap;
  overflow-x: clip;
}

.footer-logos .footer-logo {
  flex: 0 1 clamp(70px, 10vw, 160px);
  min-width: 0;
}

.footer-logos .footer-logo {
  flex: 1 0 clamp(70px, 10vw, 239px);
  max-width: clamp(70px, 13vw, 215px);
  max-height: clamp(35px, 8vw, 95px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-logos .footer-logo.logo-ecpp-all-en {
  max-width: clamp(90px, 14vw, 220px);
  max-height: clamp(70px, 10vw, 150px);
}

footer {
  position: relative;
  z-index: 0;
  margin-bottom: 0 !important;
  padding-bottom: 1rem;
  border-top: none;
}

footer.footer.container {
  background: #123e89;
  position: relative;
  padding-bottom: 1rem;
  border-top: none;
}

footer::after {
  display: block !important;
  content: "" !important;
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  border-top: 1px solid #fff;
}

footer a {
  color: white;
}

footer .it ul li:nth-child(2) {
  display: block !important;
}

footer .it ul,
footer .en ul,
footer .fr ul {
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

footer .list-inline > li:after {
  content: "";
}

.correlati-block .col-xs-12,
.videogallery-block .col-xs-12,
.fotogallery-block .col-xs-12,
.approfondimenti-block .col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

.correlati-block h3,
.pubblicazioni-block h3,
.documenti-block h3,
.videogallery-block h3,
.fotogallery-block h3,
.approfondimenti-block h3 {
  display: none;
}

.correlati-block .slider,
.videogallery-block .slider,
.fotogallery-block .slider,
.approfondimenti-block .slider {
  display: flex;
  flex-wrap: wrap;
}

.correlati-block .cnt-thumbnail,
.videogallery-block .cnt-thumbnail,
.fotogallery-block .cnt-thumbnail,
.approfondimenti-block .cnt-thumbnail {
  width: calc((100%) / 3);
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding: 2rem;
}

.correlati-block .cnt-thumbnail:nth-child(-n + 3) {
  background: #ececec;
}

.correlati-block .cnt-thumbnail:nth-child(n + 4),
.videogallery-block .cnt-thumbnail:nth-child(n + 1),
.fotogallery-block .cnt-thumbnail:nth-child(n + 1),
.approfondimenti-block .cnt-thumbnail:nth-child(n + 1) {
  background: #fff;
}

.thumbnail {
  border: none;
  padding: 0;
  background: transparent;
}

.pubblicazioni-block .thumbnail {
  min-height: 1em;
}

.correlati-block .img-slider,
.videogallery-block .img-slider,
.approfondimenti-block .img-slider {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fotogallery-block .img-slider {
  text-align: -webkit-center;
}

.correlati-block .img-slider img,
.videogallery-block .img-slider img,
.approfondimenti-block .img-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.fotogallery-block .img-slider img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.correlati-block .thumbnail:hover img,
.videogallery-block .thumbnail:hover img,
.fotogallery-block .thumbnail:hover img,
.approfondimenti-block .thumbnail:hover img {
  transform: scale(1.05);
}

.approfondimenti-block .caption .watch,
.approfondimenti-block .caption .guarda {
  display: none;
}

.thumbnail .data {
  color: #363636;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.thumbnail .titolo {
  margin: 0;
  font-weight: 600;
  color: #004388;
}

.hero-cover {
  position: relative;
}

.hero-cover > img.img-responsive {
  width: 100%;
  display: block;
  margin-top: 0;
}

.child-banner {
  background: #dadada;
  padding: 15px 20px;
}

.child-banner-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.child-banner-link:hover {
  color: #333;
  text-decoration: underline;
}

.child-banner-link:hover,
.child-banner-link:focus {
  text-decoration: underline;
}

.child-banner-link:hover {
  text-decoration: none;
}

.child-banner-link::before {
  content: "\2190";
  margin-right: 10px;
  font-size: 2.5rem;
}

.child-main-row {
  margin-left: 0;
  margin-right: 0;
}

body.evento-child .child-main-section {
  margin-top: 4rem;
}

body.evento-child .child-main-section > * {
  text-align: left;
}

body.evento-child .bg-color1 {
  padding: 0;
}

body.evento-child .bg-color2 {
  padding: 1.5rem 0;
  padding-top: 0;
}

body.evento-child .bg-color2 .container.descrizione-evento {
  border-bottom: none;
}

body.evento-child .bg-color2 .container.descrizione-evento .descrizione {
  padding: 15px 15px;
  color: #004388;
}

.documenti-block {
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 2rem;
}

.documenti-block .media-body .data {
  display: none;
}

.documenti-block ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}

.documenti-block ul li {
  width: calc(33.33% - 10px);
}

.documenti-block .media:first-child {
  margin-top: auto;
}

.documenti-block .media {
  margin-top: 0;
}

.documenti-block .media-object {
  width: 5rem;
}

.documenti-block .media-heading {
  color: #285493;
  font-weight: 600;
  padding-top: 0.5rem;
  padding-left: 0.5rem;
}
