@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'titles';
  src: url("../fonts/galano-grotesque/Galano Grotesque Bold.otf");
}

@font-face {
  font-family: 'regular';
  src: url("../fonts/galano-grotesque/Galano Grotesque.otf");
}

@font-face {
  font-family: 'regular-italic';
  transform: skew(10deg, 0deg);
  src: url("../fonts/galano-grotesque/Galano Grotesque.otf");
}

@font-face {
  font-family: 'banners';
  transform: skew(10deg, 0deg);
  src: url("../fonts/galano-grotesque/Galano Grotesque Black.otf");
}

*, a, li {
  /* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; */
  /* color: #635c5a; */
  font-family: regular;
  color: #000;
  line-height: 20px;
}

em {
  font-family: regular-italic;
}

body {
  margin: 0px;
  /* padding: 0.1px; */
  background-color: #fff;
}

#spaziatore_news_slider {
  padding-top: 7vh;
}

#spaziatore_top {
  padding-top: 13vh;
}

a, img, table {
  border: 0px;
}

a {
  text-decoration: none;
}

a:hover {
  color: #cc181d;
}

a .image-title {
  display: none;
}

h1,
.partnersModule h3 {
  color: #605f5f;
  margin-top: 0px;
  font-size: 30px;
  line-height: 42px;
  letter-spacing: 1px;
}

h2, h3 {
  color: #605f5f;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 1px;
  font-weight: bold;
  font-style: italic;
}

.partnersModule h3 {
  text-align: center;
}

p {
  text-align: justify;
  font-size: 14px;
}

ul {
  font-size: 14px;
}

.button,
.btn,
.visBtnCon input,
.readmore {
  padding: 5px 20px 5px 20px;
  color: #FFF;
  border: 0px solid #f0f0f0;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 2px;
  background: #cc181d;
  cursor: pointer;
}

.btn:hover {
  color: #FFF;
}

/* ------------------------------------------- TOP */
#top {
  position: relative;
  float: left;
  width: 100%;
  background-color: #FFF;
  border-bottom: 1px solid #cc181d;
  box-shadow: 2px 2px 5px -2px #929292;
  -webkit-box-shadow: 2px 2px 5px -2px #929292;
  -moz-box-shadow: 2px 2px 5px -2px #929292;
  background-image: url('../../../images/varie/foto-stadio-trasparente.webp');
  background-size: 100%;
  background-position: center;
}

#inner-top {
  position: fixed;
  float: left;
  width: 100%;
  padding: 0px 0px 0px 15%;
  background: #FFF;
  box-shadow: 2px 2px 5px -2px #929292;
  -webkit-box-shadow: 2px 2px 5px -2px #929292;
  -moz-box-shadow: 2px 2px 5px -2px #929292;
  border-bottom: 5px solid #cc181d;
  z-index: 99999999999;
}

#nav-menu {
  position: relative;
  float: left;
  width: 55%;
  margin-top: 1.3vw;
}

#link-social {
  position: relative;
  float: left;
  width: 25%;
}

div#mainMenu.maximenuckh ul.maximenuck {
  background: transparent;
  padding: 0px;
  margin: 0px;
}
#mainMenu ul li span {
  text-transform: uppercase;
  font-size: 1vw;
}

#mainMenu ul li.level1 span {
  color: #cc181d;
  letter-spacing: 1px;
}

#mainMenu ul li.level2 span,
#mainMenu ul li.level3 span {
  color: #cc181d;
}

#mainMenu ul li.level2 a,
#mainMenu ul li.level3 a {
  border-bottom: 1px solid #c8c6c6 !important;
}

#mainMenu .floatck {
  background: #FFF !important;
  border: 1px solid #cc181d !important;
}

div#mainMenu ul.maximenuck li.maximenuck.level1 > a {
  padding: 0px;
  min-height: 0px;
}

#link-social .menuTop,
#link-social ul {
  position: relative;
  float: right;
  width: 100%;
}

#link-social ul {
  position: relative;
  display: inline;
  width: auto;
  padding: 0px;
  margin: 0px;
}

#link-social ul li {
  position: relative;
  display: inline;
  list-style: none;
}

#link-social ul li img {
  height: auto;
  width: 2vw;
  margin: 1vw;
  /* border: 1px solid #cc181d;
  box-shadow: 2px 2px 5px -2px #000;
  -webkit-box-shadow: 2px 2px 5px -2px #000;
  -moz-box-shadow: 2px 2px 5px -2px #000;
  border-radius: 1000px; */
  background-color: #FFF;;
}

#link-social ul li .sponsor_tecnico img {
  height: 2.2vw;
  width: auto;
  margin: .8vw;
  -webkit-box-shadow: 0px 0px 0px 0px #FFF;
}

#link-social ul li img:hover {
  /* border: 1px solid #fff; */
}

#logo {
  position: fixed;
  width: 5%;
  left: 5%;
  top: -10px;
  z-index: 99999999999;
}

#logo img {
  position: relative;
  width: 100%;
  padding: 30px 0px;
}

/* ------------------------------------------- NEWS HOMEPAGE */
#news {
  position: relative;
  float: left;
  width: 100%;
  background-color: #ac0000;
  /* padding-top: 5vh; */
  /* overflow: hidden; */
}

#news .owl-item {
  /* 3 colonne */
  /* width: 33.33vw !important; */

  /* 1 colonna */
  /* width: 100vw !important; */

  /* overflow: hidden; */
}

#news #articleData {
  /* 4 colonne */
  /* width: 21vw;
  padding: 2vw; */

  /* 3 colonne */
  /* width: 29vw;
  padding: 2vw 2.25vw; */

  /* 1 colonne */
  width: 50vw !important;
  /* padding: 2vw 45vw 2vw 5vw; */

  position: absolute;
  bottom: 0px;
  /* background-color: rgba(255,255,255, 1); */
  z-index: 99999;
  text-align: left;
  border-bottom: 0px solid #cc181d;
  background-color: transparent !important;
}

#news #articleData .jt-title {
  font-family: titles;
  text-transform: uppercase;
  font-size: 3vw !important;
  line-height: 4vw;
}

#news #articleData #newsInfos h5 {
  margin: 0px;
}

#news #articleData #newsInfos h5 a {
  margin-top: 0px;
}

#news #articleData .jt-category {
  display: none;
}

#news .jt-cs .jt-imagecover {
  /* height: 95vh; */
}

#news .jt-cs .jt-imagecover img {
  /* max-width: fit-content !important; */
  width: 100vw;
  /* margin-left: -90%; */
  border-bottom: 5px solid #cc181d;
}

#news .jt-cs .slide {
  background-color: #FFF;
}

#news #newsInfos {
  position: relative;
  float: left;
  width: 100%;
}

#news .jt-category,
#news .jt-author-date {
  position: relative;
  float: left;
  width: auto;
  margin: 0px !important;
  font-size: 12px !important;
  padding: 0px 10px 0px 0px !important;
  text-align: left;
}

#news .jt-author-date {
  padding: 0px 10px !important;
}

#news .jt-title {
  position: relative;
  float: left;
  width: 100%;
  font-size: 24px !important;
  margin-top: 20px;
  
}

#news .jt-category,
#news .jt-author-date,
#news .jt-title {
  letter-spacing: 1px;
}

#news .jt-category a {
  color: #cc181d !important;
  text-transform: uppercase;
}

#news .jt-author-date span,
#news .jt-title {
  color: #FFF !important;
  /* color: #cc181d !important; */
}

#news .jt-author-date {
  border-left: 2px solid #FFF;
}

.positioncenter.owl-carousel .owl-nav button.owl-prev {
  left: 0px;
  background-image: url('../images/prev.png');
  background-size: 100%;
}

.positioncenter.owl-carousel .owl-nav button.owl-next {
  right: 0px;
  background-image: url('../images/next.png');
  background-size: 100%;
}

.jtcs118 .owl-dots {
  float: left;
  margin: 30px 0px;
  bottom: 0px;
}

.owl-carousel button.owl-dot {
  color: #cc181d;
}

.jt-cs .owl-dots .active span {
  background: #cc181d;
}

.jt-cs .owl-dots span {
  border: 2px solid #cc181d;
}

#news .owl-dots {
  display: none;
}

#news2.latest_news {
  position: relative;
  float: left;
  width: 90%;
  padding: 2.5% 5%;
  background-color: #ac0000;
}

#news2.latest_news h4 {
  color: #FFF;
  text-transform: uppercase;
}

/* ------------------------------------------- BANNERS */
#banners {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
}

#banners-footer {
  position: relative;
  float: left;
  width: 100%;
  overflow: hidden;
  margin-top: 5%;
}

/* #banners: ogni div .custom occupa il 50% della riga, centrando il proprio
   contenuto sia in orizzontale che in verticale. Tutti hanno la stessa altezza
   grazie a "align-items: stretch" impostato su #banners. */
#banners .custom {
  position: relative;
  float: none;
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#banners .custom img {
  position: relative;
  float: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Riquadro con IFRAME dentro #banners (es. widget biglietteria) ---
   L'iframe è reso "elastico" da banners.js: viene tenuto alla sua
   dimensione nativa (gli attributi width/height del codice di embed) e
   poi scalato con transform: scale() in proporzione alla larghezza del
   riquadro. Il contenuto del frame quindi si ingrandisce e si
   rimpicciolisce SEMPRE PER INTERO insieme al riquadro e lo riempie
   esattamente: lo sfondo rosso non resta mai scoperto, né ai lati né
   sotto. L'ALTEZZA DELLA RIGA È SEMPRE DINAMICA: è l'altezza del
   contenuto scalato, che lo script imposta sul riquadro e ricalcola da
   solo a ogni resize. In larghezza la colonna occupa almeno 560px, così
   il frame non viene mai schiacciato troppo quando divide la riga con
   l'immagine. */
#banners .custom:has(iframe) {
  flex: 1 1 75%;
  width: auto;
  min-width: min(560px, 100%);
  flex-direction: column;
  align-items: stretch;
  /* il contenuto scalato parte dall'angolo in alto a sinistra del
     riquadro (è il transform-origin usato dallo script): niente
     centratura verticale, altrimenti la scala finirebbe fuori posto */
  justify-content: flex-start;
  overflow: hidden;
}

#banners .custom:has(iframe) > * {
  width: 100%;
}

/* Fallback SENZA JavaScript: iframe largo quanto il riquadro, con
   l'altezza del codice di embed (comportamento precedente). Quando
   banners.js è attivo, dimensioni e scala vengono impostate inline
   dallo script con priorità !important, quindi vincono su questa
   regola. */
#banners .custom iframe {
  display: block;
  border: 0;
  width: 100% !important;
  max-width: 100%;
}

/* La colonna con l'immagine (il riquadro più piccolo) non determina
   MAI l'altezza della riga: #banners resta alto quanto il riquadro
   più grande al suo interno (quello con l'iframe) e questa colonna si
   limita a seguirne l'altezza. L'immagine COPRE SEMPRE TUTTO il
   riquadro (object-fit: cover): si allarga e si restringe insieme a
   lui, resta centrata, e ciò che sborda — ai lati O sopra/sotto —
   viene ritagliato (overflow: hidden). Così, per quanto il riquadro
   si allarghi oltre la dimensione naturale dell'immagine, lo sfondo
   rosso non si vede mai. */
#banners .custom:not(:has(iframe)) {
  position: relative;
  flex: 1 1 45%;
  width: auto;
  min-width: 0;
  overflow: hidden;
}

#banners:has(iframe) .custom:not(:has(iframe)) > * {
  margin: 0;
}

/* Il link/wrapper dell'immagine non deve fare da riferimento di
   posizionamento (l'immagine si centra rispetto al riquadro intero)
   né dare altezza alla colonna */
#banners:has(iframe) .custom:not(:has(iframe)) a {
  position: static !important;
  height: auto !important;
}

#banners:has(iframe) .custom:not(:has(iframe)) img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

#banners-footer .custom {
  position: relative;
  float: left;
  width: 50%;
}

#banners-footer .custom img {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}

/* --- Modulo #mod-custom190 ("scarica l'app"): tutto il contenuto (testo,
   bottoni store, immagine mockup) centrato nel riquadro. L'immagine occupa
   lo spazio restante e resta SEMPRE intera e centrata (orizzontale e
   verticale), mai tagliata o nascosta dai bordi. Desktop e mobile. --- */
#mod-custom190 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

#mod-custom190 p {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Il paragrafo che contiene il mockup assorbe l'altezza rimanente
   e centra l'immagine al suo interno */
#mod-custom190 p:has(.mockup-app),
#mod-custom190 p:has(img[src*="mockup-app"]) {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Caso in cui l'immagine sia figlia diretta del modulo, senza <p> */
#mod-custom190 > .mockup-app,
#mod-custom190 > img[src*="mockup-app"] {
  flex: 1 1 auto;
  min-height: 0;
}

#mod-custom190 .mockup-app,
#mod-custom190 img[src*="mockup-app"] {
  position: static;
  bottom: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* Scopri la prima maglia */
#mod-custom188 p {
  margin: 0px;
  padding: 0px;
  width: 100%;
}

#mod-custom188 a {
  position: relative;
  float: left;
  text-align: center;
  width: 100%;
  height: auto;
  margin: 0px;
  padding: 0px;
}

#mod-custom188 a span {
  font-family: banners;
  font-size: 4vw;
  line-height: 5vw;
  color: #FFF;
  text-align: center;
  z-index: 1;
  text-transform: uppercase;
  position: absolute;
  left: 1%;
  width: 50%;
  top: 20%;
}

#mod-custom188 a img {
  z-index: 0;
}

/* ------------------------------------------- ULTIME NOTIZIE */
.moduli-contenuto.top .tns-ovh {
  margin-top: 50px;
}

/* ------------------------------------------- VIDEOGALLERY / PHOTOGALLERY */
.moduletable.videogallery,
.moduletable.photogallery,
.moduletable.sponsorMese {
  position: relative;
  width: 50%;
  margin: 10px 0px;
  text-align: center;
  box-sizing: border-box;
}

/* Allinea il contenuto di .videogallery e .photogallery al centro sia in orizzontale che in verticale */
.moduletable.videogallery,
.moduletable.photogallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.moduletable.videogallery p,
.moduletable.photogallery p,
.moduletable.sponsorMese p {
  text-align: center !important;
}

.moduli-contenuto.top .moduletable.videogallery {
  float: none;
  margin: 10px auto;
}

.moduletable.sponsorMese img {
  position: relative;
  float: left;
  width: 60%;
  margin: 0px 20%;
}

.moduletable.sponsorMese a {
  position: relative;
  float: left;
  width: 100%;
  color: #cc181d;
  font-size: x-large;
  margin-top: 30px;
}

.eventgallery-category-headline {
  display: none !important;
}

.moduletable.videogallery h3,
.moduletable.photogallery h3,
.moduletable.sponsorMese h3,
.photogalleryTitle {
  font-family: banners;
  text-align: center;
  color: #ac0000 !important;
  text-transform: uppercase;
  font-style: italic;
  font-size: 32px;
  line-height: 42px;
  font-weight: bold;
  letter-spacing: 5px;
  margin-top: 0px;
}

.moduletable.videogallery .ytf-sidebar {
  display: none;
}

.moduletable.videogallery .ytf-player {
  width: 100%;
  border-radius: 20px;
}

/* ------------------------------------------- DJ LEAGUE */
.djl_theme_bootstrap.djl_schedule table td {
  font-size: 14px;
}

#djleague table thead tr th, #djleague table tbody tr td.score {
  width: 100px;
}

/* ------------------------------------------- DETTAGLI MATCH */
.dettagliMatch img,
.sponsor_match_img {
  position: relative;
  float: left;
  width: 40%;
  height: auto;
  margin: 20px 30%;
}

.dettagliMatch .team,
.dettagliMatch .score {
  position: relative;
  float: left;
  width: 40%;
  text-align: center;
}

.dettagliMatch .score {
  width: 20%;
  padding-top: 50px;
}

.dettagliMatch .score span {
  color: #cc181d;
  font-weight: bold;
  font-size: 3vw;
  line-height: 2vw;
}

.dettagliMatch .team img {
  /* float: none;
  width: auto;
  height: 100px;
  margin: 20px 0px; */
  position: relative !important;
  float: left !important;
  width: 20% !important;
  margin: 20px 40% !important;
}

.dettagliMatch .team span {
  float: left;
  width: 100%;
  font-size: 2vw;
  line-height: 3vw;
}

.dettagliMatch .infoMatch {
  position: relative;
  float: left;
  width: 100%;
  margin: 50px 0px;
  text-align: center;
}

.dettagliMatch .infoMatch p {
  text-align: center !important;
}

.dettagliMatch .infoMatch img,
.sponsor_match_img {
  width: 30% !important;
  margin: 5% 35% !important;
}

.claim_sponsor_match {
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    margin: 80px 0px -40px 0px;
}

/* ------------------------------------------- NEXT MATCH */
#container-nextMatch-biglietti {
  position: relative;
  float: left;
  width: 100%;
  background-color: #d5d5d5;
}

#next-match,
#biglietti {
  position: relative;
  float: left;
  width: 50%;
  margin: 2% 0px;
  text-align: center !important;
  color: #000 !important;
  /*
  background-image: url('../../../images/varie/foto-stadio-trasparente.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  */
}

#next-match h3,
#biglietti h3 {
  font-family: banners;
  color: #cc181d;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 46px;
  letter-spacing: 1px;
  text-align: center;
}

#next-match {
  width: 49.5%;
  border-right: 2px solid #000;
}

.game_counter {
  /* width: 70%;
  margin: 0px 15%;
  padding: 30px 0px;
  background-color: rgba(255,255,255, .8); */
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #d5d5d5;
  color: #000;
}

.djl_theme_bootstrap.mod_djl_counter .dj-date-counter>span:before,
.djl_theme_bootstrap.mod_djl_counter .dj-date-counter span span:before {
  display: none;
}

.djl_theme_bootstrap.mod_djl_counter .dj-date-counter span span {
  width: auto;
}

.nextMatch .team_logo,
.liveMatch table .team_logo {
  position: relative !important;
  float: left !important;
  width: 20% !important;
  margin: 20px 40% !important;
  max-width: none !important;
  max-height: none !important;
}

#biglietti p {
  text-align: center !important;
  font-weight: bold;
  font-size: 2vw;
  line-height: 3vw;
  padding: 0px 15%;
}


/* ------------------------------------------- LIVE MATCH */
.liveMatch h3 {
  margin-bottom: 0px;
}

.liveMatch table {
  text-align: center;
  width: 70%;
  margin: 0px 15%;
  /* background-color: rgba(255,255,255, .8); */
  padding: 30px 0px;
}

.liveMatch table tr td {
  padding: 20px 0px;
}

.liveMatch table .game_day {
  font-size: 14px !important;
  line-height: 24px;
}

.liveMatch table .name {
  position: relative;
  float: left;
  width: 100%;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
  text-align: center;
}

.liveMatch table .team_logo {
  position: relative !important;
  float: left !important;
  width: 20% !important;
  margin: 20px 40% !important;
  max-width: none !important;
  max-height: none !important;
}

.liveMatch table .score {
  font-size: 28px;
  line-height: 44px;
  text-transform: uppercase;
  color: #cc181d;
  font-weight: bold;
}

.liveMatch .live #telecronaca {
  position: relative;
  float: left;
  width: 100%;
  max-height: 450px;
  overflow-y: scroll;
}

.liveMatch .live * {
  font-size: 18px !important;
  line-height: 38px !important;
  color: #000;
  text-align: center;
}

.liveMatch .live img {
  width: 20%;
  height: auto;
  margin: 0px 40%;
}

/* ------------------------------------------- PHOTOGALLERY */
.event-content {
  width: 100% !important;
}

.thumbnail-container:hover .event-content {
  background-color: rgba(0, 0, 0, 1);
}

.item-container .title,
.item-container .date,
.event-content .date,
.event-content .title {
  color: #FFF;
}

.item-container .date,
.event-content .date {
  font-size: 12px;
}

.item-container .title,
.event-content .title {
  text-transform: uppercase;
  padding: 10px 0px;
}

#events {
  margin-bottom: 5%;
}

#events form .com-content-category__navigation p {
  display: none;
}

.eventgallery-events-gridlist .item-container {
  width: 27% !important;
  margin: 3%;
}

/* ------------------------------------------- PARTNERS */
.partnersModule {
  margin-top: 100px;
}

#partners {
  position: relative;
  float: left;
  width: 100%;
  background-color: #FFF;
  margin: 2% 0px;
}

/* ------------------------------------------- CLASSIFICA */
#djleague table {
  border: 0px solid #cc181d;
  background: #FFF;
}

#djleague table thead {
  /* background: #cc181d; */
}

#djleague table thead tr th,
#djleague table tbody tr td {
  border-bottom-color: #e3e3e3 !important;
  border-bottom: 1px solid #e3e3e3 !important;
}

#djleague table thead th,
#djleague table thead th span {
  color: #cc181d;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 36px;
}

#djleague table thead tr th,
#djleague table tbody tr td {
  padding: 20px;
}

#djleague table tbody td {
  text-align: center;
}

#djleague table thead th.team_th,
#djleague table tbody td.team {
  text-align: left;
}

#djleague table tbody td.points {
  color: #cc181d;
}

/* ------------------------------------------- CALENDARIO */
#djleague .schedule_order {
  margin-bottom: 30px;
}

#djleague .schedule_order a:hover {
  color: #FFF;
}

#djleague .djl_schedule_list {
  border: 0px;
  width: 100%;
}

#djleague .venue {
  text-align: left;
}

#djleague .time span,
#djleague .venue span {
  font-size: 12px;
  line-height: 24px;
}

/* ------------------------------------------- PAGINE NOTIZIE - modulo */
.articleData {
  background-color: #000;
  padding: 20px;
}

.mfp_carousel_item:hover div {
  background-color: #cc181d;
}

.mfp_carousel_item:hover .mfp_date,
.mfp_carousel_item:hover .mfp_carousel_title,
.mfp_carousel_item:hover .mfp_carousel_title a {
  color: #FFF !important;
}

.articleData h5,
.articleData .mfp_carousel_title {
  margin: 0px;
}

.articleData h5 a,
.mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title a {
  color: #FFF;
  text-transform: uppercase;
  font-size: 14px !important;
  line-height: 22px !important;
  letter-spacing: 1px;
  font-weight: normal !important;
}

.articleData .jt-author-date,
.articleData .mfp_date {
  gap: 0px !important;
  margin: 0px 0px 10px 0px !important;
}

.articleData .jt-author-date span,
.articleData .mfp_date {
  color: #cc181d !important;
  text-transform: uppercase;
  font-size: 12px !important;
  letter-spacing: 1px;
  font-weight: bold;
}

.mfp_carousel_item div {
  box-shadow: 2px 2px 5px -2px #000;
  -webkit-box-shadow: 2px 2px 5px -2px #000;
  -moz-box-shadow: 2px 2px 5px -2px #000;
  background-color: #f6f6f6;
}

.articleData .mfp_date {
  margin: 0px 0px 20px 0px !important;
}

a.mfp_thumb_pos_top {
  line-height: 0px !important;
}

.mfp_carousel_skin_default .mfp_carousel_item .mfp_thumb_pos_top img {
  margin-bottom: 0px !important;
}

.mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title a {
  color: #000;
}

/* ------------------------------------------- PAGINE NOTIZIE - blog */
.notizieBlog {
  position: relative;
  float: left;
  width: 100%;
}

.notizieBlog .blog-item {
  position: relative;
  float: left;
  width: 22%;
  margin: 1.5%;
  /* border: 1px solid #000; */
  box-shadow: 2px 2px 5px -2px #000;
  -webkit-box-shadow: 2px 2px 5px -2px #000;
  -moz-box-shadow: 2px 2px 5px -2px #000;
  overflow: hidden;
}

.notizieBlog .category-name {
  display: none;
}

.notizieBlog .blog-item:hover {
  /* border: 1px solid #bbbaba; */
}

.notizieBlog .blog-item:hover .item-content {
  background-color: #cc181d;
}

.notizieBlog .blog-item:hover .item-content h2,
.notizieBlog .blog-item:hover .item-content h2 a,
.notizieBlog .blog-item:hover .item-content .article-info .published time {
  color: #FFF;
}

.notizieBlog .article-info {
  margin: 0px;
}

.com-content-category-blog__navigation {
  position: relative;
  float: left;
  width: 100%;
}

.item-content {
  position: relative;
  float: left;
  width: 80%;
  background-color: #f6f6f6;
  padding: 10%;
}

.notizieBlog figure,
.notizieBlog .page-header,
.item-content h2 {
  position: relative;
  float: left;
  width: 100%;
  margin: 0px !important;
}

.notizieBlog figure {
  position: relative;
  float: left;
  width: 100%;
  /* text-align: center !important; */
  height: auto !important;
}

.notizieBlog figure img {
  position: relative !important;
  float: left;
  width: 100% !important;
  left: 0px;
}

.item-content h2,
.item-content h2 a {
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 26px !important;
  letter-spacing: 1px;
  font-weight: normal;
}

.item-content .article-info .published {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  text-align: left;
  padding: 0px;
  margin: 0px;
}

.item-content .article-info .published time {
  position: relative;
  float: left;
  width: 100%;
  margin: 0px 0px 20px 0px !important;
  color: #cc181d;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: bold;
}

.item-pagecategoria .article-info {
  position: relative;
  float: left;
  width: 100%;
  margin: 0px 0px 20px 0px;
}

.item-pagecategoria .article-info .category-name,
.item-pagecategoria .article-info .published {
  position: relative;
  float: left;
  width: auto;
  padding: 5px 20px;
  margin: 0px 20px 0px 0px;
}

.item-pagecategoria .article-info .category-name {
  background-color: #cc181d;
  border-radius: 50px;
}

.item-pagecategoria .article-info .category-name span,
.item-pagecategoria .article-info .published time {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 1px;
}

.item-pagecategoria .article-info .category-name span {
  color: #FFF;
}

.item-pagecategoria h1 {
  color: #635c5a !important;
  font-size: 14px !important;
  line-height: 26px !important;
  text-transform: none !important;
}

.item-pagecategoria h2,
.item-page.articolo h1,
#article h1,
.videogallery h3,
.sponsorMese h3,
.societa h1,
.moduli-contenuto.top .mfp_block_title h4 {
  color: #000;
  text-transform: uppercase;
  margin-top: 0px;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 1px;
  font-family: titles;
}

/* ------------------------------------------- NEWSLETTER E DOWNLOAD APP */
/* Due riquadri quadrati e simmetrici: ognuno occupa esattamente metà riga
   (box-sizing: border-box include il padding nel 50%). L'altezza nasce
   dall'aspect-ratio 1/1 + align-items: stretch del contenitore flex:
   sono sempre alti uguali e, se il contenuto è più alto del quadrato,
   il box cresce invece di tagliare (overflow visibile). */
.newsletter,
.downloadApp {
  position: relative;
  float: left;
  width: 50%;
  box-sizing: border-box;
  /* aspect-ratio: 1 / 1; */
  height: auto;
  padding: 0px;
  color: #FFF;
  overflow: visible;
}

.newsletter {
  padding: 5%;
}

.newsletter h5,
.newsletter h3 {
  color: #FFF;
  text-transform: uppercase;
  padding: 0px !important;
  margin: 0px !important;
  /* font-style: italic; */
  font-family: banners;
}

.newsletter h5 {
  font-size: 24px;
  line-height: 36px;
}

.newsletter h3 {
  font-size: 5vw;
  line-height: 6vw;
}


.newsletter form,
.downloadApp form,
.newsletter label,
.downloadApp label,
.newsletter p,
.downloadApp p,
.newsletter .acym_introtext {
  color: #FFF;
}

.newsletter p {
  font-size: 1.5vw;
  line-height: 2.5vw;
}

.newsletter form input {
  width: 97%;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 50px;
  margin: 0px;
  font-size: 1.3vw;
  text-transform: lowercase;
  font-style: italic;
  max-width: 100%;
}

.newsletter .acysubbuttons {
  position: relative;
  float: left;
  width: 100%;
}

.newsletter form input.btn {
  font-weight: bolder;
  text-transform: uppercase;
  color: #ac0000 !important;
  background-color: #FFF !important;
  border: 0px;
  float: right;
  width: auto;
  font-size: 1vw;
  letter-spacing: 0px;
}

.downloadApp {
  text-align: center;
  background-image: url('../../../images/banners/download-app-background.jpg');
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.downloadApp img,
.downloadApp .mockup-app {
  position: relative;
  display: block; /* niente spazio extra sotto l'immagine (baseline inline) */
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 50vw;    /* mai più alta del quadrato (metà riga) */
  object-fit: contain; /* sempre intera: niente tagli né deformazioni */
}

.downloadApp p {
  font-family: banners;
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 5vw;
  margin: 10% 0px;
}

/* ------------------------------------------- PULSANTI STORE */
#storeContainer {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}

.downloadApp #storeContainer {
  margin-top: 30px;
  margin-bottom: 0px;
}

.downloadApp p span {
  position: relative;
  float: left;
  width: 100%;
  font-size: 12px !important;
  margin-top: 20px;
  color: #FFF !important;
}

.downloadApp p span a,
.downloadApp p span a:hover {
  color: #FFF !important;
}

#storeContainer img {
  position: relative;
  float: left;
  width: 30%;
  height: auto;
  margin: 20px 10%
}

/* ------------------------------------------- ORGANIGRAMMA E SQUADRA */
.societa .slide {
  border: 1px solid #d2d1d1;
  box-shadow: 2px 2px 5px -2px #000;
  -webkit-box-shadow: 2px 2px 5px -2px #000;
  -moz-box-shadow: 2px 2px 5px -2px #000;
}

.societa .slide h5,
.societa .slide h5 a {
  text-align: center;
  background-color: #f6f6f6;
  color: #cc181d;
  font-size: 26px;
  line-height: 38px;
  margin: 0px !important;
  padding: 20px 0px !important;
}

.societa h1 {
  color: #000 !important;
  text-transform: uppercase !important;
  font-size: 36px !important;
  line-height: 48px !important;
}

.societa h3 {
  text-align: center;
  color: #000;
  font-size: 30px;
  line-height: 42px;
}

.societa .left.item-image {
  position: relative;
  float: left;
  width: 30% !important;
  margin: 0px 2% 2% 0px !important;
}

.com-content-article__body {
  position: relative;
  float: left;
  width: 100%;
}

.item-pagecategoria.societa .com-content-article__body {
  width: 68%;
}

.fields-container {
  position: relative;
  float: left;
  width: 96%;
  background-color: #f6f6f6;
  border-radius: 20px;
  margin: 0px;
  padding: 2%;
}

.fields-container li {
  list-style: none;
  border-bottom: 1px solid #e3e3e3;
  font-size: 16px;
  line-height: 28px;
  padding: 10px 0px;
}

.field-label {
  text-transform: uppercase;
  color: #cc181d;
  font-weight: bold;
}

#testoArticolo h3 *,
#testoArticolo h4 * {
  color: #cc181d;
}

#testoArticolo,
#testoArticolo img {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}

.crediti #testoArticolo img {
  width: 40% !important;
  margin-right: 60%;
  height: auto;
}

#testoArticolo img.abbonamenti {
  width: 60%;
  margin: 0px 20%;
}

/* ------------------------------------------- MODULI CONTENUTO TOP E BOTTOM */
.moduli-contenuto.top {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 3% 5%;
}

.moduli-contenuto.center,
.moduli-contenuto.bottom {
  position: relative;
  float: left;
  width: 100%;
  padding: 3% 0px;
}

.moduli-contenuto.center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.moduli-contenuto.bottom {
  background-color: #ac0000;
  padding: 0px;
  /* Niente altezza fissa: la riga si adatta ai due riquadri quadrati.
     Flex + align-items: stretch = altezze sempre identiche;
     flex-wrap permette l'impilamento su mobile (width: 100%). */
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* ------------------------------------------- MESSAGGI DI SISTEMA */
#system-message-container {
  overflow: hidden;
  border-radius: 20px;
}

.alert-message {
  background-color: #d3f0d2;
  border-radius: 20px;
}

.alert-error {
  background-color: #f5ccc8;
  border-radius: 20px;
  margin-bottom: 60px;
}

.alert-error .alert-message {
  background-color: #f5ccc8;
}

.close {
  margin-left: 10px;
}

.alert-heading,
.alert-message {
  text-align: center;
  text-transform: uppercase;
}

.alert-message {
  text-transform: none;
  padding-bottom: 10px;
}

.alert-heading,
.alert-message {
  color: #336d30;
}

.alert-error .alert-heading,
.alert-error .alert-message {
  color: #c91806;
}


/* ------------------------------------------- PAGINAZIONE */
.com-content-category-blog__navigation {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 40px;
}

.com-content-category-blog__navigation p {
  text-align: center !important;
  display: none;
}

.pagination__wrapper {
  position: relative;
  float: left;
  width: 100%;
  padding: 20px 0px;
  text-align: center;
}

.pagination__wrapper ul {
  padding: 0px;
  margin: 0px 0px 20px 0px;
}

.pagination__wrapper ul li {
  list-style: none;
  display: inline;
  padding: 0px 10px;
  font-size: 2vw;
}

.pagination__wrapper ul .active {
  border-radius: 4px;
  background-color: #cc181d;
  text-align: center;
}

.pagination__wrapper ul .active a {
  color: #FFF;
}

/* ------------------------------------------- CORPO */
#corpo {
  position: relative;
  float: left;
  width: 80%;
  left: 10%;
}

#corpo figure.left,
#corpo figure.center,
#corpo figure.right {
  position: relative;
  float: left;
  width: 100%;
  margin: 0px 0% 20px 0%;
}

#corpo figure img {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}

/* ------------------------------------------- CONTATTI */
.contacts {
  position: relative;
  float: left;
  width: 25%;
  height: 200px;
  padding: 3%;
  /* padding: 3% 9.5%; */
  margin: 1%;
  text-align: center;
  background-color: #f6f6f6;
  box-shadow: 2px 2px 5px -2px #929292;
  -webkit-box-shadow: 2px 2px 5px -2px #929292;
  -moz-box-shadow: 2px 2px 5px -2px #929292;
  border-bottom: 2px solid #FFF;
}

.contacts img {
  width: 30%;
}

.contacts span {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  padding: 30px 0px;
  font-weight: bold;
  font-size: 1.3vw;
}

.visforms fieldset {
  border: 0px;
  position: relative;
  float: left;
  width: 50%;
  padding: 5% 25%;
}

.visforms .visCSSlabel {
  display: none;
}

.visforms input,
.visforms textarea,
.visforms select {
  width: 100%;
  border: 1px solid #cc181d;
  border-radius: 50px;
  padding: 10px 20px;
  margin: 10px 0px;
  font-size: 16px;
  line-height: 28px;
}

.visforms textarea {
  border-radius: 20px;
}

.visforms .visBtnCon {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
}

.visforms .visBtnCon input {
  width: auto;
  padding: 10px 20px;
}

/* ------------------------------------------- ORGANIGRAMMA */
.organigramma-societario {
    display: flex; /* Allinea in riga */
    width: 100%; /* Occupa tutta la larghezza disponibile */
    margin: 0; /* Nessun margine esterno al contenitore */
    padding: 0; /* Nessun padding */
}

.organigramma-societario img {
    flex: 1; /* Ogni immagine si espande per riempire lo spazio */
    width: 33%; /* Mantiene le proporzioni dinamiche */
    height: auto !important; /* Evita distorsioni */
    margin: 2.5% 0; /* Margine superiore/inferiore del 2.5%, nessun margine laterale */
    padding: 0; /* Nessun padding */
    box-sizing: border-box; /* Include bordi nel calcolo della dimensione */
}

/* ------------------------------------------- FOOTER */
#footer {
  position: relative;
  float: left;
  width: 60%;
  margin: 0px;
  background-color: #f6f6f6;
  padding: 3% 20%;
  text-align: center;
}

#copyright {
  position: relative;
  float: left;
  width: 100%;
  border-bottom: 1px solid #cc181d;
  margin-bottom: 30px;
}

#footer img {
  position: relative;
  width: 10%;
}

#footer span {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  margin: 10px 0px;
}

#social-menu,
#help-menu {
  position: relative;
  float: right;
  margin: 0.4% 1% 0px 0px;
}

#social-menu {
  width: 20%;
  float: left;
  text-align: left;
}

.menuSocial {
  position: relative;
  float: left;
  padding: 0px;
  margin: 0px;
}

.menuSocial li {
  display: inline;
  list-style: none;
  padding: 0px 10px;
}

.menuSocial li img {
  height: 30px;
  width: auto !important;
}

#help-menu ul {
  margin: 0px;
  list-style: none;
  padding: 0px;
  text-align: right;
}

#help-menu ul li {
  margin: 5px;
  font-size: 12px;
  display: inline;
  /* font-style: italic; */
}

.logo-renma-menu {
  height: 2vh;
  width: auto !important;
  margin-left: 10px;
  margin-top: -10px;
}

#footer a {
  color: #cc181d;
}

#footer a:hover {
  color: #857e7c;
}

/* --- Sovrascrittura CSS per Slider News --- */

/* Contenitore principale dello slider */
#news .jtcs118.owl-carousel .owl-stage-outer {
  overflow: hidden !important;
  /* L'altezza viene gestita da JavaScript, ma aggiungiamo una transizione per fluidità */
  transition: height 0.4s ease-in-out !important;
}

/* Assicuriamo che l'immagine si adatti correttamente */
#news .jtcs118.owl-carousel .owl-item img.jtcs-image {
  width: 100% !important;
  height: auto !important; /* Mantiene le proporzioni originali */
  object-fit: cover; /* Copre l'area senza distorcere l'immagine */
  display: block;
}

/* Nascondiamo il testo sotto l'immagine per basare l'altezza solo sulla foto */
#news .jtcs118.owl-carousel .owl-item #articleData {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* Sfondo semi-trasparente per leggibilità */
  color: white;
  padding: 15px;
  box-sizing: border-box;
}

#news .jtcs118.owl-carousel .owl-item h5,
#news .jtcs118.owl-carousel .owl-item .jt-author-date {
  color: white !important;
  margin: 0;
}

#iubenda-cs-paragraph p,
#iubenda-cs-paragraph p *,
#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) *, #iubenda-cs-banner [class*=" iub"], #iubenda-cs-banner [class^=iub] {
  color: #FFF !important;
}

#sponsor_tecnico span {
  position: absolute;
  margin-top: 3.5%;
  margin-left: 1%;
  font-weight: 900;
  font-size: larger;
}






/* BANNER CROWDFUNDING */
/* Layout a 3 colonne gestito in modo generico da #banners .custom (vedi sopra):
   non dipende più dagli ID fissi dei singoli moduli, quindi supporta
   qualsiasi numero di div .custom aggiunti dentro #banners. */
#banners {
  text-align: center !important;
  background-color: #ac0001 !important;
}