a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: underline;
}

#news-module .newsItem h3 a {
  color: #333;
}

/* OPENING VIDEO TO DO*/

.video-container {
  position: relative;
  height: 768px;
  padding-top: 0;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .video-container {
    display: none;
  }
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 110vw;
  width: 1920px;
  transform: translate(-50%, -50%);
}

.page-cnt {
  background: transparent;
  padding: 0;
}

.wrapper-video404 {
  position: absolute;
}

.video-container {
  position: relative;
  height: 768px;
  padding-top: 0;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .video-container {
    display: none;
  }
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 110vw;
  width: 1920px;
  transform: translate(-50%, -50%);
}

.viewer {
  display: none;
  float: left;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 640px) {
  .viewer {
    display: block;
    background-image: url("https://d2snyq93qb0udd.cloudfront.net/corporate/3386_404_m.jpg");
  }
}

@media screen and (min-width: 641px) and (max-width: 768px) {
  .viewer {
    display: block;
    background-image: url("https://d2snyq93qb0udd.cloudfront.net/corporate/3385_404_t.jpg");
  }
}

.common-video-opening {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 768px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .common-video-opening {
    height: 0;
    padding-bottom: 100%;
  }
}

.common-video-opening ul {
  float: left;
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
  list-style-type: disc;
  padding: 0 60px;
}

.common-video-opening ul li {
  float: left;
  width: 100%;
  font-size: 12px;
  margin: 5px 0;
}

.common-video-opening-content {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
  .common-video-opening-content {
    top: 60%;
  }
}

.common-video-opening-content p {
  float: left;
  width: 100%;
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  padding: 0 45px;
  color: #fff;
  font-family: "GothamHTF-BookCondensed", Arial, Helvetica, sans-serif;
  font-size: 24px;
}

@media screen and (max-width: 768px) {
  .common-video-opening-content p {
    font-size: 14px;
    padding: 0 15px;
  }
}

.common-video-opening-content ul {
  float: left;
  width: 100%;
  text-align: center;
  margin-top: 15px;
  list-style-type: none;
  padding: 0 60px;
}

@media screen and (max-width: 768px) {
  .common-video-opening-content ul {
    padding: 0 15px;
  }
}

.common-video-opening-content ul li {
  float: left;
  width: 100%;
  font-size: 24px;
  line-height: 22px;
  margin: 5px 0;
  color: #fff;
  font-family: "GothamHTF-BookCondensed", Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 768px) {
  .common-video-opening-content ul li {
    font-size: 14px;
    line-height: 16px;
  }
}

.common-video-opening-content ul li span {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #ffdd00;
  margin-right: 5px;
}

.common-video-opening h1 {
  float: left;
  width: 100%;
  font-family: "Gotham-Light", Arial, Helvetica, sans-serif;
  font-size: 20vw;
  line-height: normal;
  margin: 0;
  margin-bottom: -30px;
  position: relative;
  z-index: 1;
  color: #fff;
}

@media screen and (max-width: 640px) {
  .common-video-opening h1 {
    font-size: 15vw;
    margin-bottom: -15px;
  }
}

.common-video-opening h2 {
  float: left;
  width: 100%;
  font-family: "GothamHTF-MediumCondensed", Arial, Helvetica, sans-serif;
  font-size: 40px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  color: #fff;
}

@media screen and (max-width: 640px) {
  .common-video-opening h2 {
    font-size: 20px;
  }
}

/* OPENING STRILLO RACING */

.heroSection .visore-racing-link .groupBodyAndLink .cta {
  display: none;
  position: relative;
  font-family: "Gotham 6r", "Gotham A", "Gotham B", "Gotham-Bold", Arial,
    Helvetica, sans-serif;
  text-transform: uppercase;
  line-height: 1em;
  font-size: 13px;
  padding: 16px 20px 13px 20px;
  margin-top: 10px;
  text-align: center;
  border-radius: 0;
  color: #ffffff;
  background-color: #e2001a;
  max-width: 190px;
  text-decoration: none;
  transition: background-color 250ms ease;
}

.heroSection .visore-racing-link .groupBodyAndLink .cta:before {
  display: none;
}

/* ARTICLE */

.articleCntSxInner h2 {
  font-size: 27px;
  padding: 0 30px;
  line-height: 1;
}

.articleCntSxInner .text:last-of-type p em {
  font-size: 85%;
}

.articleCntSxInner h3 {
  font-size: 21px;
  margin: 0 30px;
}

.page-cnt .articleCntSx h2 {
  margin: 0px;
  margin-top: 2em;
  padding: 0;
}

.articleCntSxInner .inline-article h3 {
  margin: 0;
}

/* ELENCO PUNTANTO */

.articleCntSxInner ul {
  padding: 10px 0;
  margin: 0 30px;
}

.articleCntSxInner ul li:before {
  margin: 0 10px 0 0;
  content: "-";
  color: #e82f27;
}

.articleCntSxInner ul li {
  padding: 10px 0 10px 0;
  list-style: none outside;
  font-size: 18px;
  line-height: 1.2em;
  font-family: "Gotham 4r", "Gotham A", "Gotham B", "Gotham-Book", Arial,
    Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: normal;
  color: #000;
}

.bread-separator {
  color: #000 !important;
  font-weight: 400 !important;
  font-family: "Gotham 4r", "Gotham A", "Gotham B", "Gotham-Book", Arial,
    Helvetica, sans-serif;
}

.bread-separator-white {
  color: #fff !important;
  font-weight: 400 !important;
  font-family: "Gotham 4r", "Gotham A", "Gotham B", "Gotham-Book", Arial,
    Helvetica, sans-serif;
}

/* INLINE SOCIAL */

/* Centrare Facebook */

.embed-wrapper {
  text-align: center;
}

.embed-wrapper > .twitter-tweet {
  margin: 20px auto 20px auto !important;
}

.embed-wrapper > .instagram-media {
  display: inline !important;
  /* max-width: 658px!important; */
}

.embed-wrapper-facebook,
.embed-wrapper-facebook iframe {
  /* max-width: 650px; */
  text-align: center;
}

.embed-wrapper-facebook,
.embed-wrapper-facebook iframe {
  max-width: calc(100vw - 30px);
}

.embed-wrapper-facebook.fb-video {
  width: 100vw;
  height: calc(100vw / 1.77);
}

.embed-wrapper-facebook.fb-video iframe {
  width: 100vw;
  height: calc(100vw / 1.77);
}

.embed-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.embed-video-wrapper iframe,
.embed-video-wrapper object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* INLINE CALENDAR NEWSLETTER */

#form-calendar {
  max-width: 780px;
}

/* COOMON BOXBANNER */

.boxBanner {
  display: block;
  text-decoration: none;
  margin: 5px 20px 10px 30px;
  float: left;
}

.boxBanner img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* HOMEPAGE */

#top-section.mosaicSection .mosaicWrapper .articleItem:nth-child(4) h3,
#lower-section.mosaicSection .mosaicWrapper .articleItem:nth-child(3) h3 {
  margin: 0;
}

@media only screen and (max-width: 992px) {
  .boxBanner {
    margin: 5px 20px 10px 10px;
  }
  .articleCntSxInner h3 {
    margin: 0 10px;
    font-size: 16px;
  }
  .articleCntSxInner h2 {
    font-size: 21px;
    padding: 0 10px;
  }
  .articleCntSxInner .inline-article h3 {
    margin: 0;
  }
}

@media only screen and (max-width: 375px) {
  .boxBanner {
    margin: 5px 10px 10px 10px;
  }
}

.promo.below-article {
  margin: 4em auto 20px;
  text-align: center;
  width: 100%;
  max-width: 1320px;
  background: transparent;
  padding: 0;
}
#news-module .newItem {
  padding: 10px 0 0px 20px;
  margin: 15px 0;
}
#news-module .newItem h3 {
  margin-top: 0px;
}
.headerFixed #channels-navitem,
.headerFixed .langSelector,
.headerFixed #header .searchTrigger {
  display: none !important;
}
.headerFixed #header .mainBar #logo {
  display: inline-block;
  margin: 20px 0;
}
.headerFixed #header .navBar .container.static-position {
  top: 10px !important;
  position: relative !important;
}
.headerFixed #header .navBar .navItemRight {
  margin-right: 0px !important;
}

/* Rimuovi l'outline solo se l'utente sta usando il mouse */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Mantieni lo stile per :focus-visible */
:focus-visible {
  outline: 2px solid #ff4b15 !important;
  outline-offset: 2px;
  box-shadow: 0 0 5px rgba(194, 12, 12, 0.5) !important;
}

.special-section-tile:focus-visible,
.special-section-tile:focus,
.overlaylink:focus-visible {
  outline: 2px solid #cc0000 !important;
  outline-offset: 2px;
}
button.button-navItemLabel {
  all: unset;
  background: unset;
  border: none; /* rimuove il bordo predefinito */
  padding: 0; /* rimuove il padding predefinito */
  cursor: pointer; /* per dare feedback visivo tipo link */
  color: inherit; /* eredita il colore dal genitore */
  font: inherit; /* usa il font corrente */
  width: -webkit-fill-available; /* per riempire lo spazio disponibile */
}

button.button-navItemLabel:focus {
  outline: 2px solid #000; /* focus visibile e accessibile */
  outline-offset: 2px;
}
.special-section-tile .overlaylink {
  display: block;
  position: relative;
}

.special-section-tile .overlaylink:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px #ffd700; /* colore giallo visibile */
  border-radius: 4px; /* opzionale: angoli stondati */
}

#homepage-slider .headline {
  z-index: 9999;
  top: unset;
  left: unset;
  /* left: unset; */
  bottom: 140px;
  transform: translate(0, 0) !important;
}

#homepage-slider .link {
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 74%);
}
#homepage-slider .item {
  display: flex;
  align-items: end;
  justify-content: center;
  /* bottom: 6% !important; */
}

@media (min-resolution: 150dpi) {
  #header .navBar .navWrapper {
    height: calc(100% - 47px);
  }
}

@media (min-resolution: 384dpi) {
  #header .navBar .langSelector {
    right: 48px;
  }

  #header .navBar .searchTrigger {
    right: 8px;
  }

  /* SLIDER CSS FIX */
  #homepage-slider .headline h3 {
    font-size: 39px !important;
  }
  /* #homepage-slider .owl-dots {
        bottom: 46px !important;
    } */
  #homepage-slider .owl-nav {
    /* bottom: 100px; */
  }

  /* HEADER */

  .headerFixed #header .mainBar #logo {
    margin: 6px 0;
  }
  .headerFixed .navWrapper.on {
    top: 47px !important;
  }

  /* BACKTOTOP */

  #backtotop {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  /* FOOTER */

  #social-section ul {
    display: flex;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 475px) {
  #homepage-slider .headline {
    left: unset;
    bottom: 35% !important;
  }
  #homepage-slider .headline h3 {
    font-size: 29px !important;
  }

  #homepage-slider .owl-dots {
    bottom: 25px !important;
  }
  #homepage-slider #go-down {
    bottom: 4% !important;
  }
}

/* @media screen and (max-width: 475px) {
    #homepage-slider .headline {
        bottom: 15% !important;
    }
    #homepage-slider .headline h3 {
        font-size: 36px !important;
    }
    #homepage-slider .owl-dots {
        bottom: 4% !important;
    }
} */

@media screen and (max-width: 475px) and (pointer: coarse) {
  #homepage-slider .headline {
    bottom: 10% !important;
  }
  #homepage-slider .headline h3 {
    font-size: 36px !important;
  }
  #homepage-slider .owl-nav {
    display: none !important;
  }
}

/* @media screen and (min-width: 569px) {
    #homepage-slider .headline {
        transform: translateX(0) !important;
    }

}

@media screen and (max-width: 569px) {
    #homepage-slider .headline {
        transform: translateX(-50%) !important;
    }

} */
#homepage-slider .headline a:hover {
  text-decoration: none;
}

/* Zoom fix */

@media only screen and (max-width: 1400px) {
    .mosaicSection .articleItem h3 {
        font-size: 14px;
        height: 50px;
    }
}
@media only screen and (max-width: 1200px) and (pointer: coarse) {
    .mosaicSection .articleItem h3 {
        font-size: 22px;
        height: 50px;
    }
}
