/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
.mobile-navbar #navbarContent,
.sr-only {
  overflow: hidden;
}

footer,
section {
  padding-top: 55px;
}

.completeText,
.divdelay,
.mobile-navbar button .hamburger-icon.hamburger-aperto,
.mobile-navbar button[aria-expanded="true"] .hamburger-chiuso {
  display: none;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.overflow-mobile {
  overflow-y: hidden;
}

* {
  font-family: Raleway, sans-serif;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

.sr-only,
fieldset {
  border: 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  margin: 0;
}

textarea {
  resize: vertical;
}

.bg-certificazioni,
.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.basic-section-title,
.basic-section-title h3.title-tratte {
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin-bottom: 30px;
  text-align: center;
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::after,
.clearfix::before {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

@media print {

  blockquote,
  img,
  pre,
  tr {
    page-break-inside: avoid;
  }

  *,
  ::after,
  ::before {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  blockquote,
  pre {
    border: 1px solid #999;
  }

  thead {
    display: table-header-group;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.form-prenotazione,
header {
  box-shadow: 0 0 15px 3px rgb(12 11 11 / 8%);
  width: 100%;
}

.card-recensioni .votazione-media .star img,
.icon-card .icon-animate img,
.poilizza .logo-assicurazione,
.tab-content table,
.tab-content table.table-mobile tr.riga-biglietto td:last-child,
.table-pagamenti,
.table-ticket,
img {
  width: 100%;
}

section {
  padding-bottom: 55px;
}

.bg-gray {
  background-color: #f3f8fa;
}

.bg-certificazioni {
  background-color: #52a9d6;
}

.basic-section-title {
  color: #022e06;
}

.basic-section-title h3.title-tratte {
  color: #02112e;
}

.basic-section-title.basic-title-white {
  color: #fff;
}

.basic-paragraph,
.basic-paragraph p,
.p1 .s1,
.p1 .s1 p {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  color: #777;
}

.basic-paragraph strong,
.p1 .s1 strong,
ul strong {
  font-weight: 600;
  color: #02112e;
}

.basic-paragraph a,
ul li a {
  color: #52a9d6;
  text-decoration: none;
}

.basic-paragraph a:hover,
ul li a:hover {
  color: #babe31;
  text-decoration: none;
}

.first-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #02112e;
}

.basic-subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #babe31;
  margin-bottom: 5px;
}

.secondary-cta a {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: #02112e;
  transition: 0.3s ease-in-out;
}

.approfondisci a:hover,
.articolo .bottom-articolo .read-more a:hover,
.container-ticket .info-data a.next:hover,
.container-ticket .info-data a.prev:hover,
.container-ticket .top-info .ordine-biglietti ul.dropdown-orario li a:hover,
.nav-tabella .nav-link:hover,
.nav-tabella.orari-compagnie .nav-link:hover,
.navbar .first-list ul li a.active,
.navbar .first-list ul li a:hover,
.navbar .first-list-compagnie ul li a.active,
.navbar .first-list-compagnie ul li a:hover,
.porti ul li a:hover h4,
.secondary-cta a:hover,
.steps .step.complete h3,
.tratte .anchor-tratta:hover .tratta h4 {
  color: #babe31;
}

.secondary-cta a:after {
  content: "";
  width: 20px;
  height: 10px;
  margin-left: 3px;
  display: inline-block;
  background: url(../assets/images/arrow-accordion.svg) 50% no-repeat;
}

header {
  background-color: #fff;
  z-index: 99999;
  position: sticky;
  top: 0;

  @media screen and (max-width: 768px) {
    padding: 25px 0;
  }
}

.navbar .logo {
  max-width: 200px;
}

.navbar {
  justify-content: space-between !important;
}

.info-acquisto ul li:last-child,
.navbar .first-list ul,
.navbar .first-list-compagnie ul,
.tratte .anchor-tratta:last-child .tratta {
  margin-bottom: 0;
}

.navbar .first-list ul li,
.navbar .first-list-compagnie ul li {
  list-style: none;
}

.navbar .first-list ul li a {
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: #02112e;
  transition: 0.3s ease-in-out;
}

.navbar .first-list ul li a .dropicon:after,
.navbar .first-list-compagnie ul li a .dropicon:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-bottom: -2px;
  background: url(../assets/images/dropdown-icon.svg) center center no-repeat;
  background-size: 10px;
}

.dropicon-dark {
  position: relative;

  &:after {
    content: "\f107";
    font-family: "FontAwesome";
    position: relative;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-primary-color);
    font-size: 16px;
    pointer-events: none;
    transition: transform 0.3s ease;
  }
}

ol {
  margin-left: 25px;
}

.recensione .top-recensione .utente-certificato,
.recensione-interna .top-recensione .utente-certificato,
ul {
  margin-left: 20px;
}

.navbar .first-list-compagnie ul li a {
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-primary-color);
  transition: 0.3s ease-in-out;
}

.hero-column-right,
.navbar .first-section-navbar,
.navbar .second-section-navbar {
  display: flex;
  align-items: center;
}

.navbar .dropdown-menu,
.navbar .dropdown-menu-destinazioni {
  display: none;
  min-width: 600px;
  border-radius: 0;
  margin-top: 15px;
  padding: 30px;
  border: none;
  column-count: 3;
  border-top: 3px solid #babe31;
  background-color: #fff;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.navbar .dropdown-menu-isole,
.navbar .dropdown-menu-porti,
.navbar .dropdown-menu-tratte {
  border-radius: 0;
  min-width: 600px;
  margin-top: 15px;
  padding: 30px;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
  background-color: #fff;
}

.navbar .dropdown-menu li a,
.navbar .dropdown-menu-compagnie li a,
.navbar .dropdown-menu-destinazioni li a,
.navbar .dropdown-menu-isole li a,
.navbar .dropdown-menu-porti li a,
.navbar .dropdown-menu-tratte li a,
strong {
  font-weight: 600;
}

.navbar .dropdown-menu li.dest,
.navbar .dropdown-menu-compagnie li.dest,
.navbar .dropdown-menu-destinazioni li.dest,
.navbar .dropdown-menu-isole li.dest,
.navbar .dropdown-menu-porti li.dest,
.navbar .dropdown-menu-tratte li.dest {
  padding-bottom: 4px;
}

.navbar .dropdown-menu li.dest a,
.navbar .dropdown-menu-compagnie li.dest a,
.navbar .dropdown-menu-destinazioni li.dest a,
.navbar .dropdown-menu-isole li.dest a,
.navbar .dropdown-menu-porti li.dest a,
.navbar .dropdown-menu-tratte li.dest a {
  font-size: 16px;
  color: #02112e;
}

.navbar .dropdown-menu li.sottodest,
.navbar .dropdown-menu-compagnie li.sottodest,
.navbar .dropdown-menu-destinazioni li.sottodest,
.navbar .dropdown-menu-isole li.sottodest,
.navbar .dropdown-menu-porti li.sottodest,
.navbar .dropdown-menu-tratte li.sottodest {
  padding-left: 10px;
}

.navbar .dropdown-menu li.sottodest a,
.navbar .dropdown-menu-destinazioni li.sottodest a,
.navbar .dropdown-menu-isole li.sottodest a,
.navbar .dropdown-menu-porti li.sottodest a,
.navbar .dropdown-menu-tratte li.sottodest a {
  font-size: 14px;
  color: #9ea0a3;
}

.navbar .dropdown-menu-compagnie.open,
.navbar .dropdown-menu-destinazioni.open,
.navbar .dropdown-menu-isole.open,
.navbar .dropdown-menu-porti.open,
.navbar .dropdown-menu-tratte.open,
.navbar .dropdown-menu.open {
  display: block;
  position: absolute;
}

.menu-1c {
  column-count: 1;
}

.menu-2c {
  column-count: 2;
}

.menu-3c {
  column-count: 3;
}

.navbar .dropdown-menu-isole,
.navbar .dropdown-menu-tratte {
  display: none;
  border: none;
  border-top: 3px solid #babe31;
}

.navbar .dropdown-menu-porti {
  display: none;
  border: none;
  column-count: 2;
  border-top: 3px solid #babe31;
}

.navbar .dropdown-menu-compagnie {
  display: none;
  min-width: 600px;
  border-radius: 0;
  margin-top: 15px;
  padding: 30px;
  border: none;
  column-count: 1;
  border-top: 3px solid #babe31;
  background-color: #fff;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.navbar .dropdown-menu-compagnie li.sottodest a {
  font-size: 14px;
  color: #9ea0a3;
  font-weight: 700;
}

.navbar .second-list ul {
  padding-left: 0;
  list-style-type: none;
  margin-bottom: 0;
}

.navbar .second-list ul li {
  display: inline-block;
  padding: 0 15px;
}

.navbar .second-list ul li a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-primary-color);
  transition: 0.3s ease-in-out;
}

.navbar .second-list ul li a:after {
  content: "";
  display: block;
  margin: 0 auto;
  height: 2px;
  width: 0%;
  background-color: #babe31;
  transition: 0.2s ease-in-out;
}

.navbar .second-list ul li a.active::after,
.navbar .second-list ul li a:hover::after {
  width: 70%;
}

.navbar .header-support {
  display: flex;
  align-items: center;
  margin: 0 40px;
}

.navbar .header-support .phone-icon {
  width: 30px;
  margin-right: 10px;
}

.navbar .header-support .contact-support p {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
}

.navbar .header-support .contact-support p:nth-child(2) {
  font-size: 12px;
  color: #52a9d6;
}

.navbar .language-selector ul {
  list-style-type: none;
  margin-bottom: 0;
  padding-left: 0;
}

.navbar .language-selector ul li.language-submenu {
  border-bottom: none;
}

.navbar .language-selector ul li a {
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #6c717b;
}

.navbar .language-selector ul li a .dropicon:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-bottom: -2px;
  background: url(../assets/images/dropdown-icon.svg) center center no-repeat;
}

.navbar .language-selector .dropdown-language {
  display: none;
  position: absolute;
  padding: 10px;
  background-color: #fff;
  box-shadow: rgb(12 48 118 / 25%) 0 5px 40px 0;
}

.container-ticket .top-info .ordine-biglietti ul.dropdown-orario.dropdown-andata.open,
.container-ticket .top-info .ordine-biglietti ul.dropdown-orario.dropdown-ritorno.open,
.mobile-navbar button .hamburger-icon.hamburger-chiuso,
.mobile-navbar button[aria-expanded="true"] .hamburger-aperto,
.navbar .language-selector .dropdown-language.open {
  display: block;
}

.mobile-navbar button[aria-expanded="true"] .hamburger-chiuso {
  display: none !important;
}

.megamenu-compagnie ul li a,
.megamenu-isole ul li a {
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: #02112e !important;
  transition: 0.3s ease-in-out;
}

.container-ticket .top-info .ordine-biglietti .hamburger-info,
.mobile-navbar button .hamburger-icon {
  width: 25px;
}

.navbar-toggler {
  border: none !important;
}

.accordion-button:focus,
.navbar-toggler:focus {
  box-shadow: none !important;
}

.mobile-navbar .logo {
  width: 140px;
}

.mobile-navbar .navbar-nav {
  padding: 30px 0;
}

.mobile-navbar .navbar-nav li {
  padding: 5px 0;
}

.mobile-navbar .navbar-nav li a {
  text-decoration: none;
  font-size: 17px;
  display: inline-block;
  font-weight: 700;
  color: var(--dark-primary-color);
  transition: 0.3s ease-in-out;
}

.mobile-navbar .navbar-nav li a.active::after {
  content: "";
  display: block;
  height: 2px;
  width: 80%;
  background-color: #babe31;
  transition: 0.2s ease-in-out;
}

.mobile-navbar .navbar-nav li a#megamenu {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-primary-color);
}

.mobile-navbar .bottom-mobile {
  padding: 15px 0;
  background-color: #f5f9fb;
}

.mobile-navbar .dropdown-menu {
  column-count: 1;
  min-width: auto;
  border-top: 2px solid #babe31 !important;
  background-color: #f5f9fb;
  box-shadow: none;
}

.mobile-navbar .dropdown-menu ul {
  list-style-type: none;
  padding: 15px;
  height: 250px;
  overflow-y: auto;
}

.mobile-navbar .dropdown-menu ul li {
  padding: 0;
}

.mobile-navbar .dropdown-menu ul li a {
  font-weight: 700;
}

ul {
  font-weight: 500;
  font-size: 18px;
  color: #777;
}

.hero-home {
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  background: url(../assets/images/hero-home.webp) 50% / cover no-repeat;
  z-index: 0;
}

.hero-home:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #02112e;
  background: linear-gradient(345deg, #02112e 1%, #0c3076 100%);
  opacity: 0.7;
  z-index: -1;
}

.form-prenotazione .grid-form,
.grid-form .intern-grid-form {
  position: static;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-prenotazione {
  padding: 20px;
  border-radius: 4px;
  background-color: #fff;
  transition: 0.3s ease;
  will-change: auto;
  transform-origin: top;
}

.card-recensioni,
.icon-card {
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.form-prenotazione .grid-form .col {
  overflow-y: clip;
}

.form-prenotazione hr {
  width: 100%;
  height: 1px;
  background-color: #cecece;
}

.grid-form input,
.grid-form input[type="date"],
.grid-form select,
.grid-form textarea {
  width: 100%;
  border: none;
  background-color: #f0f5f8;
}

.form-prenotazione .grid-form .col.span-3,
.form-prenotazione .grid-form.intern-grid-form .col.span-3 {
  grid-column: span 3;
}

.form-prenotazione .grid-form .col.span-1 {
  grid-column: span 1;
}

.form-prenotazione .grid-form .col.span-2 {
  grid-column: span 2;
}

.form-prenotazione .grid-form .col.span-4 {
  grid-column: span 4;
}

.form-prenotazione .grid-form .col.span-5 {
  grid-column: span 5;
}

.form-prenotazione .grid-form .col.span-6 {
  grid-column: span 6;
}

.form-prenotazione .grid-form .col.span-7 {
  grid-column: span 7;
}

.form-prenotazione .grid-form .col.span-8 {
  grid-column: span 8;
}

.form-prenotazione .grid-form .col.span-9,
.form-prenotazioneform .grid-form .col.span-9 {
  grid-column: span 9;
}

.form-prenotazione .grid-form .col.span-10 {
  grid-column: span 10;
}

.form-prenotazione .grid-form .col.span-11,
.form-prenotazione .grid-form .col.span-12 {
  grid-column: span 12;
}

.grid-form select {
  height: 35px;
  appearance: none;
  background-image: url(../assets/images/form-arrow.svg);
  background-position: calc(100% - 12px) center;
  background-repeat: no-repeat;
  background-size: 10px;
}

.grid-form input {
  height: 35px;
  appearance: none;
}

.grid-form textarea {
  height: 170px;
  max-height: 400px;
  appearance: none;
  font-size: 15px;
  font-weight: 500;
  padding: 15px;
}

.grid-form select,
form .grid-form input {
  font-size: 15px;
  font-weight: 500;
  padding: 0 15px;
}

.grid-form input[type="date"] {
  height: 35px;
  color: #02112e;
}

:is(form, .form) input[type="radio"] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  width: 21px;
  height: 21px;
  border-radius: 100%;
  padding: 0;
  margin-right: 8px;
  background-color: #fff0;
  border: 1px solid #d9e4eb;
  aspect-ratio: 1;
}

:is(form, .form) input[type="date"]:checked:valid,
:is(form, .form) input[type="radio"]:checked {
  background-color: #babe31;
}

.form-prenotazione label {
  color: var(--dark-primary-color);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.grid-form input:focus-visible,
.grid-form select:focus-visible,
.grid-form textarea:focus-visible {
  outline: 0;
  border: 1px solid #babe31;
}

.grid-form input:active,
.grid-form input:visited,
.grid-form select:active,
.grid-form select:visited,
.grid-form textarea:active,
.grid-form textarea:visited {
  border: 1px solid #babe31;
}

.grid-form input::placeholder,
.grid-form input[type="date"]::placeholder,
.grid-form select::placeholder,
.grid-form textarea::placeholder {
  color: #000;
  font-weight: 500;
}

.grid-form select:required:invalid {
  color: #000;
}

.grid-form input:required:valid,
.grid-form input[type="date"]:required:valid,
.grid-form select:required:valid {
  border: 1px solid #babe31;
}

.grid-form .label-icon .icon {
  width: 25px;
  display: inline-block;
}

.grid-form .label-icon span {
  font-size: 15px;
  font-weight: 700;
  padding-left: 8px;
  color: #02112e;
}

.checkbox-selection input[type="checkbox"] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-right: 8px;
  background-color: #d9e4eb;
}

.checkbox-selection label {
  cursor: pointer;
}

.anchor-destination,
.checkbox-selection a,
.flotta-attiva a,
.steps a,
.tratta-attiva a {
  text-decoration: none;
}

.checkbox-selection input[type="checkbox"]::-ms-check {
  display: none;
}

.checkbox-selection a:not(.collapsed) input[type="checkbox"],
.checkbox-selection input[type="checkbox"]:checked {
  background-color: #babe31;
  background-image: url(../assets/images/checkbox-arrow.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 65%;
}

.grid-form.cta-section-form {
  margin-top: 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.grid-form.cta-section-form .cta-col {
  display: flex;
  justify-content: flex-end;
}

.form-prenotazione .cta-ricerca button {
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #babe31;
  transition: 0.3s ease-in-out;
  border: none;

  &:hover {
    background-color: var(--primary-color);
  }
}

.bottom-cta .next-cta a:hover,
.grid-form.cta-section-form .cta-ricerca button:hover,
.riepilogo-ordine .cta-riepilogo a:hover,
.tab-content table .cta-tab a:hover {
  background-color: #babe31;
}

.card-recensioni,
.icon-card,
.recensione .top-recensione .utente-certificato span.bg-white,
.recensione-interna .top-recensione .utente-certificato span.bg-white {
  background-color: #fff;
}

p.hero-home-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-block: 1rem;
}

p.claim {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.contenitore-offerta-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.swiper-button-next:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  font-size: 20px !important;
  color: #babe31;
}

.offerta .swiper-backface-hidden .swiper-slide {
  padding: 0 20px !important;
}

.offerta,
section.sezione-filtri {
  padding-top: 30px;
  padding-bottom: 30px;
}

.cta-offerta a,
.primary-cta a,
.btn-primary {
  padding: 10px 36px;
  display: inline-block;
  text-decoration: none;
}

.descrizione-offerta p.top-offerta,
.nome-offerta p.top-offerta {
  font-size: 26px;
  font-weight: 700;
  color: #52a9d6;
  margin-bottom: 0;
}

.nome-offerta p.bottom-offerta,
.offerta-settimana .card-offerta .nome-offerta p.bottom-offerta {
  font-size: 22px;
  font-weight: 500;
  color: #6a89c4;
  margin-bottom: 0;
}

.descrizione-offerta p.price {
  font-size: 22px;
  font-weight: 800;
  color: #babe31;
  margin-bottom: 0;
}

.cta-offerta a {
  font-size: 20px;
  font-weight: 700;
  color: #babe31;
  border: 2px solid #babe31;
  transition: 0.3s ease-in-out;
}

.destination-card,
.destination-card img {
  transition: 0.4s ease-in-out;
  width: 100%;
}

.cta-offerta a:hover,
.nuova-ricerca a:hover {
  background-color: #babe31;
  color: #fff;
}

.destination-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: -webkit-radial-gradient(white, black);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 105%;
  aspect-ratio: 4/3;
}

.cta-section,
.hero-destinazione {
  background-size: cover;
  z-index: 0;
  position: relative;
}

.destination-card .destination-description h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.destination-card .destination-description {
  position: absolute;
  bottom: -1px;
  width: 100%;
  z-index: 1;
  padding: 20px;
}

.articolo .top-articolo:after,
.hero-destinazione:after,
.hero-destinazione:before {
  content: "";
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
}

.destination-card .destination-description p {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
}

.destination-card .destination-description span {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: auto;
}

.icon-card {
  width: 100%;
  padding: 40px;
  border-radius: 10px;
}

.icon-card .icon-animate {
  width: 100px;
  margin-bottom: 10px;
}

.icon-card .icon-text p.title-card {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #52a9d6;
}

.icon-card .icon-text p {
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  color: #6c717b;
}

.cta-section {
  min-height: 460px;
  background: #fff0 linear-gradient(269deg, #0b4767 0%, #0b476700 100%) 0% 0% no-repeat padding-box;
  position: relative;
}

.cta-section:after,
.hero-compagnie:after,
.hero-interno:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #02112e;
  background: linear-gradient(345deg, #02112e 1%, #0c3076 100%);
  opacity: 0.5;
  z-index: -1;
}

.cta-text {
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
}

.primary-cta a,
.btn-primary {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background-color: var(--accent-color);
  transition: 0.3s ease-in-out;

  &:hover {
    background-color: var(--primary-color);
  }
}

.aggiungi-ritorno a:hover,
.filtri .filtro:hover,
.primary-cta a:hover {
  color: #fff;
  background-color: #babe31;
}

.card-recensioni {
  width: 100%;
  padding: 20px 30px;
  border-radius: 10px;
}

.card-recensioni p.media-recensioni {
  font-size: 20px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
}

.card-recensioni .votazione-media {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-recensioni .votazione-media span {
  font-size: 60px;
  font-weight: 700;
  color: #52a9d6;
  margin-right: 10px;
}

.card-recensioni .votazione-media .star {
  width: 40px;
}

.card-recensioni p.totale-recensioni,
.tab-content table tr th {
  font-size: 16px;
  font-weight: 600;
  color: #94a7b4;
}

.card-recensioni p span {
  color: #52a9d6;
  padding-left: 5px;
}

.recensione {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.recensione .top-recensione .info-recensione p.nome,
.recensione-interna .top-recensione .info-recensione p.nome {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #02112e;
}

.recensione .top-recensione .info-recensione p.pubblicazione {
  font-size: 13px;
  font-weight: 500;
  color: #94a7b4;
}

.recensione .top-recensione .utente-certificato span,
.recensione-interna .top-recensione .utente-certificato span {
  font-size: 12px;
  font-weight: 500;
  color: #94a7b4;
  padding: 6px 16px;
  border-radius: 100px;
  background-color: #f3f8fa;
}

.lista-recensioni .star,
.recensione .top-recensione .info-recensione .star,
.recensione-interna .top-recensione .info-recensione .star {
  width: 20px;
  margin-right: 5px;
}

.basic-article-list li,
.recensione .bottom-recensione p {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  color: #52a9d6;
}

.approfondisci {
  text-align: right;
}

.approfondisci a {
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  color: #02112e;
  transition: 0.3s ease-in-out;
}

.approfondisci a:after,
.articolo .bottom-articolo .read-more a:after {
  content: "";
  width: 18px;
  height: 12px;
  margin-left: 3px;
  display: inline-block;
  background: url(../assets/images/right-arrow.svg) center right no-repeat;
  transition: 0.3s ease-in-out;
}

.approfondisci a:hover::after,
.articolo .bottom-articolo .read-more a:hover::after {
  width: 30px;
}

.hero-destinazione {
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;

  @media screen and (min-width: 1240px) and (-webkit-max-device-pixel-ratio: 2) {
    .lg-viewport &:not(:has(.form-prenotazione.gt-500)) {
      max-height: calc(var(--inner-height) - var(--header-height, 91px) - 126px);
      height: var(--inner-height);
    }
  }
}

@media screen and (min-width: 1240px) and (max-width: 1540px) and (-webkit-max-device-pixel-ratio: 2) {
  .lg-viewport .form-prenotazione {
    transform: scale(0.86);
  }
}

.hero-destinazione:after {
  position: absolute;
  top: 0;
  background: #02112e;
  background: linear-gradient(to bottom, #0b4767, transparent 45%),
    linear-gradient(to top, #02112e 0%, #fff0 25%);
  opacity: 0.7;
}

.hero-destinazione:before {
  position: absolute;
  top: 0;
  background: #02112e;
  background: linear-gradient(180deg, #02112e 0, #fff0 25%);
  opacity: 0.5;
}

.info-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-page p.text-hero {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0;
}

.info-page p.text-hero span {
  padding-left: 10px;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.breadcrumb p span:after,
p {
  font-size: 15px;
  font-weight: 500;
}

.info-page p.text-hero span.arrow-span {
  width: 35px;
  padding-left: 5px;
  padding-right: 5px;
}

.container-ticket .top-info .ordine-biglietti ul.dropdown-orario.dropdown-andata,
.container-ticket .top-info .ordine-biglietti ul.dropdown-orario.dropdown-ritorno,
.info-page p.text-hero span.arrow-span:after {
  display: none;
}

.info-page p.text-hero span:after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  width: 100%;
  background-color: #babe31;
}

.info-page .icon-hero {
  width: 50px;
}

p {
  color: #fff;
}

.subtitle {
  font-size: 22px;
  font-weight: 700;
  display: inline-block;
  color: #52a9d6;
  margin-bottom: 25px;
}

.subtitle:after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 5px;
  background-color: #babe31;
}

.tratte .anchor-tratta {
  text-decoration: none;
  display: block;
}

.tratte .anchor-tratta .tratta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.tratte .anchor-tratta .tratta h4 {
  font-size: 16px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
  transition: 0.2s ease-in-out;
}

.tratte .anchor-tratta .tratta .arrow-tratta {
  width: 40px;
  margin: 0 20px;
}

.porti ul {
  list-style-type: none;
  padding-left: 0;
}

.porti ul li {
  margin-bottom: 15px;
}

.porti ul li a {
  text-decoration: none;
  margin-bottom: 0;
}

.porti ul li a h4 {
  font-size: 16px;
  font-weight: 600;
  color: #02112e;
  transition: 0.2s ease-in-out;
}

.swiper .logo-compagnia {
  width: 150px;
  margin: 0 auto;
}

.paginazione {
  margin-top: 40px;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  border: 1px solid #52a9d6;
  opacity: 1 !important;
  background: 0 0 !important;
}

.swiper-pagination-bullet-active {
  background-color: #babe31 !important;
  border: 1px solid #babe31;
}

.nav-tabella .nav-link {
  padding: 15px 30px !important;
  border: none !important;
  font-size: 16px;
  font-weight: 800;
  color: #52a9d6;
  border-radius: 0 0 0 !important;
}

.container-form .topbar-step,
.container-ticket .top-info {
  padding: 20px 25px;
  background-color: #52a9d6;
}

.nav-tabella .nav-link.active,
.table-ticket th a:hover {
  color: #babe31 !important;
}

.nav-tabella .nav-link:first-child,
.nav-tabella.orari-compagnie .nav-link:first-child {
  border-radius: 10px 0 0 !important;
}

.nav-tabella .nav-link:last-child {
  border-radius: 0 10px 0 0 !important;
  background-color: #e9f1f4;
}

.tab-content .grid-tab {
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-gap: 15px;
}

.tab-content table tr.spaceunder>th {
  padding-bottom: 1em;
}

.tab-content table tr.riga-biglietto,
.ste_timetable_container:has([id*='overflow'].show) .riga-biglietto {
  border-bottom: 0.9px solid var(--dark-primary-color);
}

.tab-content table tr.riga-biglietto:last-child {
  border-bottom: none;
}

.tab-content table tr td {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-primary-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.tab-content table.mobile-table tr td:nth-child(4) {
  padding-top: 0;
}

.tab-content table .img-compagnia-tab {
  width: 100px;
}

.tab-content table .cta-tab a {
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  padding: 6px 35px;
  background-color: #babe31;
  transition: 0.3s ease-in-out;
}

.tab-content table tr.riga-biglietto td:last-child {
  width: 2%;
  text-align: right;
}

.tab-content table.mobile-table tr.riga-biglietto td:last-child {
  text-align: left;
}

.container-tratta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.steps .step,
.tratta-porti {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tratta-porti .tratta-icon {
  width: 35px;
}

.tratta-porti h3 a {
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: #02112e;
}

.percorso {
  width: 50%;
  padding-left: 50px;
  padding-right: 50px;
}

.percorso-mobile {
  width: 40px;
  margin: 20px auto;
}

.flotta-attiva,
.lista-recensioni .container-stars,
.tratta-attiva {
  margin-bottom: 25px;
}

.flotta-attiva a h3,
.tratta-attiva a h3 {
  font-size: 16px;
  font-weight: 600;
  display: block;
  text-align: center;
  color: #babe31;
  background-color: #ecf3f7;
  border-radius: 8px;
  padding: 8px;
  transition: 0.3s ease-in-out;
}

.flotta-attiva a:hover h3,
.tratta-attiva a:hover h3 {
  box-shadow: 0 0 0 1.5px #babe31;
}

section.ticket-steps {
  padding-top: 35px;
  padding-bottom: 35px;
}

.steps .step .dot-icon {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  margin-bottom: 5px;
  background-color: #6a89c4;
}

.steps .step.complete .dot-icon {
  width: 20px;
  height: 20px;
  background-color: #babe31;
  background-image: url(../assets/images/checkbox-arrow.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55%;
}

.steps .step.current .dot-icon {
  width: 20px;
  height: 20px;
  background-color: #6a89c4;
  border: 6px solid #52a9d6;
}

.container-form,
.container-ticket {
  border-radius: 10px;
  padding-bottom: 20px;
  display: flex;
  background-color: #fff;
  overflow: hidden;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.steps .step.uncomplete .dot-icon {
  opacity: 0.6;
}

.steps .step h3 {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.container-ticket .info-data a.current,
.steps .step.current h3 {
  color: #52a9d6;
}

.steps .step.uncomplete h3 {
  color: #6a89c4;
  opacity: 0.6;
}

.container-form {
  flex-direction: column;
}

.container-form .topbar-step {
  display: flex;
  align-items: center;
}

.container-form .topbar-step .icona {
  width: 40px;
  margin-right: 10px;
}

.container-form .topbar-step p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.justify-self-start {
  justify-self: flex-start;
}

.justify-self-center {
  justify-self: center;
}

.justify-self-end {
  justify-self: flex-end;
}

.container-ticket {
  flex-direction: column;
  align-items: center;
}

.container-ticket .top-info .top-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.container-ticket .top-info .w-20 {
  width: 20%;
}

.container-ticket .top-info .w-60 {
  width: 60%;
}

.container-ticket .top-info .direzione {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.container-ticket .top-info .destinazione {
  font-size: 18px;
  font-weight: 700;
  color: #d9e4eb;
  margin-bottom: 0;
}

.container-ticket .top-info .modifica-sistemazione {
  padding-top: 5px;
}

.container-ticket .top-info .modifica-sistemazione p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
}

.container-ticket .top-info .modifica-sistemazione select {
  width: 50%;
  height: 35px;
  border: none;
  background-color: #fff;
  appearance: none;
  background-image: url(../assets/images/form-arrow.svg);
  background-position: calc(100% - 12px) center;
  background-repeat: no-repeat;
  background-size: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 0 15px;
}

.container-ticket .top-info .modifica-sistemazione select:required:invalid {
  color: #aeb3ba;
}

.container-ticket .top-info .modifica-sistemazione select:required:valid {
  border: 1px solid #babe31;
}

.container-ticket .top-info .modifica-sistemazione select:focus-visible {
  outline: 0;
  border: 1px solid #babe31;
}

.container-ticket .top-info .modifica-sistemazione select:active,
.container-ticket .top-info .modifica-sistemazione select:visited,
.filtri .search-form input:active,
.filtri .search-form input:visited {
  border: 1px solid #babe31;
}

.container-ticket .top-info .modifica-sistemazione select::placeholder {
  color: #aeb3ba;
  font-weight: 500;
}

.container-ticket .top-info .ordine-biglietti a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

.container-ticket .top-info .ordine-biglietti p {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0;
}

.container-ticket .top-info .ordine-biglietti ul.dropdown-orario {
  list-style-type: none;
  margin-bottom: 0;
  position: absolute;
  width: 200px;
  top: 50px;
  right: 0;
  z-index: 20;
  padding: 20px;
  background-color: #fff;
  border-top: 2px solid #babe31;
  box-shadow: rgb(12 48 118 / 25%) 0 5px 40px 0;
}

.container-ticket .top-info .ordine-biglietti ul.dropdown-orario li a {
  text-decoration: none;
  color: #02112e;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease-in-out;
}

.container-ticket .info-data {
  margin-top: 30px;
  padding: 15px 10px;
  width: 95%;
  background-color: #f5f9fb;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.container-ticket .ticket-card {
  margin-top: 15px;
  padding: 15px;
  width: 95%;
  background-color: #f5f9fb;
}

.container-ticket .info-data>div {
  display: flex;
  justify-content: center;
}

.container-ticket .info-data>div:first-child {
  border-right: 1px solid #52a9d6;
}

.container-ticket .info-data>div:nth-child(3) {
  border-left: 1px solid #52a9d6;
}

.container-ticket .info-data a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: 0.4s ease-in-out;
}

.bottom-cta .next-cta a,
.bottom-cta .prev-cta a,
.table-ticket th a {
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.container-ticket .info-data .info-arrow-left svg,
.container-ticket .info-data .info-arrow-right svg {
  width: 10px;
  height: 10px;
}

.container-ticket .info-data .info-arrow-left svg {
  margin-right: 2px;
}

.container-ticket .info-data .info-arrow-right svg {
  margin-left: 2px;
}

.container-ticket .info-data .info-arrow-left svg .st0,
.container-ticket .info-data .info-arrow-right svg .st0 {
  transition: 0.4s ease-in-out;
  fill: #94a7b4;
}

.container-ticket .info-data a.next,
.container-ticket .info-data a.prev {
  color: #94a7b4;
}

.container-ticket .info-data a:hover svg .st0 {
  fill: #babe31;
}

.table-pagamenti input[type="radio"],
.table-ticket input[type="radio"] {
  appearance: none;
  outline: 0;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  padding: 0;
  margin-right: 8px;
  background-color: #d9e4eb;
}

.table-pagamenti input[type="radio"]:after,
.table-ticket input[type="radio"]:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: auto;
  cursor: pointer;
  background-color: #fff0;
}

.table-pagamenti input[type="radio"]:checked,
.table-ticket input[type="radio"]:checked {
  background-color: #babe31;
  border: 1px solid #babe31;
}

.table-pagamenti tr,
.table-ticket tr {
  position: relative;
  border-bottom: 1px solid #cecece;
}

.table-ticket tr:first-child {
  border-bottom: none;
  cursor: default;
}

.table-ticket tr.riga-biglietto.active td,
.table-ticket tr:first-child:hover {
  background-color: #fff0;
}

.table-pagamenti tr:hover,
.table-ticket tr:hover {
  background-color: #f1f1f1;
}

.table-ticket th {
  font-size: 12px;
  color: #788791;
  padding-bottom: 15px;
}

.table-ticket th a {
  color: #606c83;
  cursor: pointer;
}

.table-ticket td {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
  transition: 0.2s ease-in-out;
}

.riepilogo-ordine .compagnia-riepilogo,
.table-ticket td .img-compagnia-tab {
  width: 80px;
}

.bottom-cta {
  width: 100%;
  margin-top: 40px;
}

.bottom-cta .prev-cta a {
  font-size: 16px;
  font-weight: 700;
  display: block;
  padding: 10px 30px;
  color: #02112e;
  background-color: #d4dfe3;
}

.bottom-cta .prev-cta a:hover {
  color: #fff;
  background-color: #02112e;
}

.bottom-cta .next-cta a {
  font-size: 16px;
  font-weight: 700;
  display: block;
  padding: 10px 60px;
  color: #fff;
  background-color: #babe31;
}

.info-acquisto .info-acquisto-top,
.mappa-riepilogo .mappa-riepilogo-top,
.prenota-sicurezza .prenota-sicurezza-top {
  padding: 20px;
  background-color: #d4dfe3;
}

.info-acquisto .info-acquisto-top p,
.mappa-riepilogo p {
  font-size: 14px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
}

.info-acquisto ul,
.mostra-info ul {
  margin-left: 5px;
  padding: 20px;
}

.aggiungi-ritorno a,
.nuova-ricerca a,
.riepilogo-ordine .cta-riepilogo a {
  padding: 6px 45px;
  text-align: center;
  transition: 0.3s ease-in-out;
  text-decoration: none;
  width: 100%;
}

.info-acquisto ul li,
.mostra-info ul li {
  font-size: 13px;
  font-weight: 500;
  color: #606c83;
  margin-bottom: 10px;
}

.info-acquisto ul li span,
.mostra-info ul li span {
  font-weight: 700;
  color: #babe31;
}

.info-acquisto ul li strong,
.prenota-sicurezza p strong {
  font-weight: 700;
  color: #02112e;
}

.nuova-ricerca a {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #babe31;
  border: 2px solid #babe31;
}

.riepilogo-ordine {
  padding-top: 20px;
}

.riepilogo-ordine h3 {
  font-size: 20px;
  font-weight: 700;
  color: #02112e;
}

.riepilogo-ordine .riepilogo-passeggeri {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 15px;
}

.riepilogo-ordine .cta-riepilogo,
.riepilogo-ordine .riepilogo-passeggeri>div {
  text-align: center;
}

.riepilogo-ordine .riepilogo-passeggeri h4 {
  font-size: 16px;
  font-weight: 600;
  color: #6c717b;
  margin-bottom: 0;
}

.riepilogo-ordine .riepilogo-passeggeri p {
  font-size: 18px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
}

.riepilogo-ordine .riepilogo-andata,
.riepilogo-ordine .riepilogo-ritorno,
.riepilogo-totale {
  padding: 20px;
  margin-bottom: 15px;
}

.hero-compagnie,
.hero-interno {
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  z-index: 0;
}

.riepilogo-ordine .header-riepilogo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.riepilogo-ordine .header-riepilogo h5 {
  font-size: 18px;
  font-weight: 700;
  color: #52a9d6;
  margin-bottom: 0;
}

.riepilogo-ordine .line-riepilogo,
hr.divisore-recensioni {
  width: 100%;
  height: 2px;
  background-color: #cecece;
  border: 0;
  outline: 0;
}

.riepilogo-ordine .dettagli-riepilogo .tratta {
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  color: #02112e;
}

.riepilogo-ordine .dettagli-riepilogo .tratta:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #babe31;
}

.riepilogo-ordine .dettagli-tratta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
}

.riepilogo-ordine .dettagli-tratta.dettagli-2 {
  grid-template-columns: repeat(2, 1fr);
}

.riepilogo-ordine .dettagli-tratta>div:last-child {
  justify-self: end;
}

.riepilogo-ordine .dettagli-tratta h4 {
  font-size: 13px;
  font-weight: 600;
  color: #6c717b;
  margin-bottom: 0;
}

.riepilogo-ordine .dettagli-tratta p {
  font-size: 13px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
}

.lista-recensioni .top-stars,
.riepilogo-ordine .prezzo-tratta {
  display: flex;
  justify-content: space-between;
}

.riepilogo-ordine .prezzo-tratta h4,
.riepilogo-ordine .riepilogo-totale .diritti h4,
.riepilogo-ordine .riepilogo-totale .subtotale h4 {
  font-size: 16px;
  font-weight: 700;
  color: #94a7b4;
  margin-bottom: 0;
}

.riepilogo-ordine .prezzo-tratta p,
.riepilogo-ordine .riepilogo-totale .diritti p,
.riepilogo-ordine .riepilogo-totale .subtotale p {
  font-size: 15px;
  font-weight: 700;
  color: #02112e;
  margin-bottom: 0;
}

.riepilogo-ordine .riepilogo-totale .diritti,
.riepilogo-ordine .riepilogo-totale .subtotale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.riepilogo-ordine .riepilogo-totale .totale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  margin-top: 20px;
}

.aggiungi-ritorno,
.mappa-riepilogo,
.offerta-settimana .card-offerta .nome-offerta,
.polizza,
.recensione-interna .top-recensione {
  margin-bottom: 20px;
}

.riepilogo-ordine .riepilogo-totale .totale h4,
.riepilogo-ordine .riepilogo-totale .totale p {
  font-size: 18px;
  font-weight: 700;
  color: #02112e;
  margin-bottom: 0;
}

.riepilogo-ordine .cta-riepilogo a {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #babe31;
}

.aggiungi-ritorno a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #babe31;
  border: 1px solid #babe31;
}

.aggiungi-ritorno a span,
.alert-text span {
  display: contents;
}

.aggiungi-ritorno a span svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  transition: 0.3s ease-in-out;
}

.aggiungi-ritorno a:hover span svg .st0 {
  fill: #fff;
}

.prenota-sicurezza p:first-child {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #02112e;
  margin-bottom: 0;
}

.prenota-sicurezza p {
  padding: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #606c83;
}

.mappa-riepilogo .embed-map {
  width: 100%;
  height: 330px;
  background: url(../assets/images/mappa-ordine.png) center center/cover no-repeat;
}

.button-info a {
  width: 100%;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 45px;
  color: #fff;
  background-color: #f60;
  transition: 0.3s ease-in-out;
}

.button-info a:hover {
  color: #fff;
  background-color: #ef711e;
}

.polizza {
  margin-top: 20px;
}

.polizza label[for="polizzaSi"] {
  font-weight: 700;
  color: #52a9d6;
}

.polizza p {
  font-size: 13px;
  font-weight: 500;
  color: #606c83;
  margin-top: 5px;
  margin-bottom: 0;
}

.polizza p a {
  text-decoration: none;
  color: #babe31;
  font-weight: 700;
}

.grid-form .divisore-categoria {
  padding: 5px 15px;
  margin-top: 35px;
  margin-bottom: 15px;
  background-color: #52a9d6;
}

.grid-form .divisore-categoria p {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

.grid-form .checkbox-selection.privacy input[type="checkbox"],
.grid-form .checkbox-selection.visione input[type="checkbox"] {
  width: 24px;
}

.grid-form .checkbox-selection.privacy label,
.grid-form .checkbox-selection.visione label {
  font-size: 12px;
}

.grid-form .checkbox-selection.privacy label a,
.grid-form .checkbox-selection.visione label a {
  color: #babe31;
  font-weight: 600;
}

.table-pagamenti td {
  font-size: 13px;
  width: 50%;
  font-weight: 600;
  padding: 10px 0;
  transition: 0.2s ease-in-out;
}

.articolo .bottom-articolo .read-more a,
.cta-show-results button {
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.table-pagamenti td.tipologia-pagamento {
  width: 70%;
  padding-left: 5px;
}

.table-pagamenti td.img-pagamento {
  width: 30%;
  padding-right: 5px;
}

.hero-compagnie {
  width: 100%;
  height: 790px;
  background: url(../assets/images/hero-compagnie.webp) 50% / cover no-repeat;
}

.hero-title {
  font-size: 40px;
  font-weight: 500;
  color: #fff;
}

.logo-compagnia {
  width: 85%;
  margin: 0 auto;
}

.nav-tabella.orari-compagnie .nav-link {
  padding: 15px 30px !important;
  border: none !important;
  font-size: 16px;
  font-weight: 800;
  color: #52a9d6;
  background-color: #f3f8fa;
  border-radius: 0 !important;
}

.nav-tabella.orari-compagnie .nav-link.active {
  color: #babe31 !important;
  box-shadow: rgb(12 48 118 / 6%) 0 -16px 40px 0;
}

.nav-tabella.orari-compagnie .nav-link:last-child {
  border-radius: 0 10px 0 0 !important;
}

.hero-interno {
  width: 100%;
  height: 420px;
  background-position: 50% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.hero-interno.hero-recensioni {
  background: url(../assets/images/hero-recensioni.webp);
}

.hero-interno.hero-faq {
  background: url(../assets/images/hero-faq.webp);
}

.hero-interno.hero-blog {
  background: url(../assets/images/hero-blog.webp);
}

.recensione-interna {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.recensione-interna .top-recensione .info-recensione p.pubblicazione {
  font-size: 13px;
  font-weight: 500;
  color: #94a7b4;
  margin-bottom: 0;
}

.recensione-interna .bottom-recensione p {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  color: #52a9d6;
  margin-bottom: 0;
}

.lista-recensioni {
  padding-top: 40px;
  width: 75%;
}

.lista-recensioni .top-stars .percentuale p {
  font-size: 13px;
  font-weight: 600;
  color: #6c717b;
}

.lista-recensioni .bottom-status-bar {
  width: 100%;
  height: 7px;
  border-radius: 100px;
  background-color: #ecf3f7;
  overflow: hidden;
}

.active>.page-link,
.page-link.active,
.page-link:hover {
  color: #fff !important;
  background-color: #babe31 !important;
}

.lista-recensioni .bottom-status-bar .current-status-bar {
  height: 7px;
  border-radius: 100px;
  background-color: #52a9d6;
}

.lista-recensioni .bottom-status-bar .current-status-bar.current-cinque-stelle {
  width: 91%;
}

.lista-recensioni .bottom-status-bar .current-status-bar.current-quattro-stelle {
  width: 7%;
}

.lista-recensioni .bottom-status-bar .current-status-bar.current-tre-stelle {
  width: 2%;
}

.lista-recensioni .bottom-status-bar .current-status-bar.current-due-stelle,
.lista-recensioni .bottom-status-bar .current-status-bar.current-una-stelle {
  width: 0%;
}

.page-item {
  margin: 0 15px;
}

.page-link {
  padding: 6px 16px !important;
  font-weight: 600;
  color: #819b96 !important;
  border: 1px solid #e2e2e2 !important;
}

.active>.page-link,
.page-link.active {
  border: none !important;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 0 !important;
}

.section-faq .categoria-faq {
  font-size: 24px;
  font-weight: 700;
  color: #52a9d6;
  display: inline-block;
  padding-top: 15px;
}

.section-faq .categoria-faq:after {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  margin-top: 5px;
  background-color: #babe31;
}

.card-icon {
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.accordion-button,
.accordion-button:not(.collapsed),
.accordion-item {
  background-color: transparent !important;
}

.accordion-item {
  border: none !important;
}

.accordion-button {
  font-size: 16px !important;
  line-height: 24px;
  font-weight: 700;
  color: #02112e;
  padding-left: 0 !important;
  border-bottom: 1px solid #ececec !important;
}

.accordion-button:not(.collapsed) {
  color: #babe31 !important;
}

.accordion-body p,
.filtri .filtro {
  font-size: 15px;
  font-weight: 500;
  color: #6c717b;
}

button:focus:not(:focus-visible) {
  outline: 0 !important;
}

.accordion-button::after {
  width: 15px !important;
  height: 15px !important;
  background-image: url(../assets/images/accordion-close.svg) !important;
  background-size: 100% !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url(../assets/images/accordion-open.svg) !important;
}

.accordion-body {
  padding-left: 10px !important;
}

.accordion-body p {
  line-height: 22px;
  margin-bottom: 0;
}

.title-filtri {
  font-size: 16px;
  font-weight: 700;
  color: #02112e;
}

.filtri .search-form {
  display: inline-block;
  position: relative;
  margin-right: 10px;
}

.filtri .search-form input {
  width: 220px;
  border-radius: 100px;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  color: #02112e;
  font-weight: 600;
}

.filtri .search-form input::placeholder {
  color: #aeb3ba;
  font-size: 14px;
  font-weight: 500;
}

.filtri .search-form input:focus-visible {
  outline: 0;
  border: 1px solid #babe31;
}

.filtri .search-form input:required:valid {
  border: 1px solid #babe31;
}

.filtri .search-icon {
  width: 16px;
  position: absolute;
  right: 10px;
  top: 3px;
  display: inline-block;
}

.filtri .filtro {
  text-decoration: none;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 100px;
  background-color: #fff;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: 0.2s ease-in-out;
}

.articolo {
  width: 100%;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px;
  margin-bottom: 30px;
  position: relative;
}

.articolo .top-articolo {
  height: 250px;
  padding: 25px;
  position: relative;
  background: url(../assets/images/blog/articolo-thumb.jpg) 50% / cover no-repeat;
  z-index: 0;
  display: flex;
  align-items: end;
}

.articolo .top-articolo:after {
  position: absolute;
  top: 0;
  background: linear-gradient(0deg, #02112e 0, #fff0 45%);
  opacity: 0.7;
}

.articolo .top-articolo .info-articolo {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.articolo .top-articolo .info-articolo p {
  font-size: 14px;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 0;
}

.articolo .bottom-articolo {
  background-color: #fff;
  padding: 20px;
}

.articolo .bottom-articolo h3,
.articolo .bottom-articolo h4 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 800;
  color: #02112e;
  margin-bottom: 15px;
}

.articolo .bottom-articolo p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: #6c717b;
}

.articolo .bottom-articolo .read-more {
  text-align: right;
  margin-top: 25px;
}

.articolo .bottom-articolo .read-more a {
  font-size: 16px;
  text-align: right;
  font-weight: 700;
  color: #02112e;
}

.articolo .bottom-articolo .read-more a:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: auto;
  content: "";
  background-color: #fff0;
}

.hero-articolo-interno {
  width: 100%;
  height: 300px;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  background: url(../assets/images/hero-articolo.webp) 50% / cover no-repeat;
  z-index: 0;
}

.hero-articolo-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.basic-article-list {
  margin-left: 0;
  list-style: none;
}

.basic-article-list li:before {
  content: "\2022";
  font-size: 20px;
  color: #babe31;
  font-weight: 800;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.article-separator {
  width: 100%;
  height: 2px;
  background-color: #cecece;
  border: 0;
  outline: 0;
  margin: 40px 0;
}

.offerta-settimana .card-offerta {
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: rgb(12 48 118 / 6%) 0 5px 40px 0;
}

.offerta-settimana .card-offerta .descrizione-offerta p.prezzo-offerta,
.offerta-settimana .card-offerta .nome-offerta p.top-offerta {
  font-size: 24px;
  font-weight: 700;
  color: #52a9d6;
  margin-bottom: 0;
}

.offerta-settimana .card-offerta .descrizione-offerta p.prezzo-offerta span {
  color: #babe31;
  margin-left: 10px;
}

.offerta-settimana .card-offerta .cta-offerta {
  text-align: center;
  margin-top: 30px;
}

.border-top-certificazioni {
  border-top: 6px solid #babe31;
}

footer {
  padding-bottom: 15px;
  background-color: #02112e;
}

footer p {
  font-size: 14px;
}

footer .footer-list {
  padding-left: 0;
}

footer .footer-list li {
  list-style: none;
  line-height: 1.2;
}

footer .footer-list li a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  color: #d9e4eb;
}

footer .footer-logo {
  width: 280px;
  margin-bottom: 20px;

  @media screen and (max-width: 767px) {
    width: 220px;
  }
}

footer .footer-separator,
footer .footer-separator-2 {
  height: 1px;
  width: 100%;
  background-color: #dbdbdb;
  opacity: 0.3;
}

footer .footer-second-section p {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #819b96;
  margin-bottom: 5px;
  text-align: center;
}

footer .footer-separator {
  margin: 30px 0;
}

footer .footer-separator-2 {
  margin: 30px 0 15px;
}

.search_input_submit {
  margin: -1px -4px 0 -2px;
  width: 10px !important;
  background: url(../assets/images/search-icon.svg) no-repeat !important;
  color: transparent !important;
  background-position: center !important;
  min-height: initial !important;
  border: unset !important;
  border-radius: unset !important;
}

.alert-text {
  width: auto !important;
  align-items: center;
  margin: 0 auto 20px;
  border-radius: 5px;
  background-color: rgb(203 0 0 / 10%);
  border: 1px solid #dc1c1c;
  display: none;
}

.alert-text.show {
  display: flex;
}

.alert-text span img {
  width: 20px;
}

.alert-text p {
  color: #dc1c1c;
  font-size: 18px;
  font-weight: 700;
  padding: 5px 10px;
  line-height: 25px;
  margin-bottom: 0;
  text-align: center;
}

.grid-form .help-block.error-message {
  color: var(--bs-red);
}

.cta-show-results button {
  font-size: 16px;
  font-weight: 700;
  color: #babe31;
  padding: 10px;
  border: 2px solid #babe31;
}

.ste_bestprice_hero,
footer .numero_telefono_shortcode {
  color: #fff !important;
}

.cta-show-results a:hover,
.cta-show-results button:hover {
  background: #babe31;
  color: #fff;
}

p a.numero_telefono_shortcode {
  color: var(--dark-primary-color);
  font-weight: 700;
  text-decoration: none;
}

.CookieDeclaration p {
  color: #777 !important;
}

.ui-datapicker td.ui-state-hover,
.ui-datepicker .ui-datepicker-header,
.ui-datepicker .ui-widget-header,
.ui-datepicker td.ui-datepicker-current-day,
.ui-datepicker td.ui-datepicker-today,
.ui-state-highlight.ui-state-active,
.ui-state-hover {
  background: #c2c200 !important;
}

.ui-datepicker td.ui-datepicker-today {
  background: #c2c2008f !important;
}

.ml-35 {
  margin-left: -35px;
}

.ste_bestprice_hero {
  padding: 25px !important;
  background-color: #1679a3 !important;
  background-image: url(https://www.traghettiper-sardegna.it/wp-content/uploads/2020/06/offerte-traghetti-sardegna.png);
  background-size: cover !important;
}

.ste_bestprice_booking_button {
  padding: 5px !important;
  font-size: 14px !important;
}

.ste_bestprice_container {
  width: 100% !important;
}

.ste_bestprice_hero_top_title {
  font-size: 30px !important;
  font-weight: 700 !important;
  display: block !important;
}

.ste_bestprice_hero_destination_title {
  font-size: 20px !important;
}

.ste_bestprice_hero_price {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #e70606 !important;
}

.ste_bestprice_hero_bottom_title {
  font-size: 14px !important;
  display: block !important;
  margin-top: 30px !important;
}

.msg-macroarea {
  font-size: 56px;
  font-weight: 700;
  color: #babe31;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.modal-content {
  margin-top: 20% !important;
}

.sticky-footer-bar-articolo {
  background-color: #eaeaead9;
}

.single .alignnone {
  width: 70%;
  height: auto !important;
}

.carosellonave swiper-slide {
  text-align: center;
  font-size: 18px;
  background: center/cover #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carosellonave .caption {
  position: absolute;
  bottom: 10px;
  left: 20px;
  background-color: rgb(0 0 0 / 0.6);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
}

.carosellonave swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carosellonave>.mySwiper {
  height: 450px;
  width: 100%;
}

.carosellonave>.mySwiper2 {
  height: 130px;
  box-sizing: border-box;
  padding: 10px 0;
}

.carosellonave>.mySwiper2 swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.carosellonave>.mySwiper2 .swiper-slide-thumb-active {
  opacity: 1;
}

.fancybox__container {
  z-index: 10001 !important;
}

.fancybox__container .fancybox__toolbar {
  bottom: 0;
  top: auto;
  margin-bottom: 10px;
}

.redazione h3 {
  font-size: 22px;
  font-weight: 300;
  text-decoration: none;
  color: #02112e;
}

.redazione img {
  width: 32px;
  height: 32px;
}

.flag {
  width: 25px;
  height: 25px;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.flag:hover {
  scale: 1.1;
  opacity: .6;
}

.dropdown-language li a img {
  width: 20px;
  height: 20px;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.dropdown-language li a img:hover {
  scale: 1.1;
  opacity: .6;
}

.dropdown-language li {
  margin-bottom: 5px !important;
}

:root {
  --primary-color: #52a9d6;
  --secondary-color: #bbc23a;
  --dark-primary-color: #0b4767;
  --accent-color: #bbc23a;
}

.primary-color {
  color: var(--primary-color);
}

.secondary-color {
  color: var(--secondary-color);
}

.text-primary-color {
  color: var(--dark-primary-color);
}

.accent-color {
  color: var(--accent-color);
}

.bg-primary-color {
  background-color: var(--primary-color);
}

.bg-dark-primary-color {
  background-color: var(--dark-primary-color);
}

.bg-accent-color {
  background-color: var(--accent-color);
}

.d-contents {
  display: contents;
}

@media screen and (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }
}

@media (min-width: 576px) {
  .d-sm-contents {
    display: contents !important;
  }
}

@media (min-width: 768px) {
  .d-md-contents {
    display: contents !important;
  }
}

@media (min-width: 992px) {
  .d-lg-contents {
    display: contents !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-contents {
    display: contents !important;
  }
}

@media (min-width: 1400px) {
  .d-xxl-contents {
    display: contents !important;
  }
}

.ar-43 {
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .ar-md-43 {
    aspect-ratio: 4/3 !important;
  }
}

@media (min-width: 992px) {
  .ar-lg-43 {
    aspect-ratio: 4/3 !important;
  }
}

@media (min-width: 1200px) {
  .ar-xl-43 {
    aspect-ratio: 4/3 !important;
  }
}

.ar-169 {
  aspect-ratio: 16/9;
}

@media (min-width: 768px) {
  .ar-md-169 {
    aspect-ratio: 16/9 !important;
  }
}

@media (min-width: 992px) {
  .ar-lg-169 {
    aspect-ratio: 16/9 !important;
  }
}

@media (min-width: 1200px) {
  .ar-xl-169 {
    aspect-ratio: 16/9 !important;
  }
}

.ar-910 {
  aspect-ratio: 9/10;
}

@media (min-width: 768px) {
  .ar-md-910 {
    aspect-ratio: 9/10 !important;
  }
}

@media (min-width: 992px) {
  .ar-lg-910 {
    aspect-ratio: 9/10 !important;
  }
}

@media (min-width: 1200px) {
  .ar-xl-910 {
    aspect-ratio: 9/10 !important;
  }
}

.ar-1 {
  aspect-ratio: 1;
}

.gradient-primary {
  background: #fff0 linear-gradient(181deg, #0b476700 0%, #0a4767f5 36%) 0% 0% no-repeat padding-box;
}

.abs-gradient-primary {
  position: relative;

  &:before {
    content: "";
    inset: 0;
    position: absolute;
    background: #fff0 linear-gradient(180deg, #0b476700 45%, #0a4767 85%) 0% 0% no-repeat padding-box;
    z-index: 1;
  }
}

.abs-gradient-secondary {
  position: relative;

  &:before {
    content: "";
    inset: 0;
    position: absolute;
    background: #fff0 linear-gradient(269deg, #0b4767 0%, #0b476700 100%) 0% 0% no-repeat padding-box;
    z-index: 1;
  }
}

.hover-scale-img {
  overflow: hidden;

  img {
    transition: 0.3s ease;
  }

  &:hover img {
    scale: 1.1;
  }
}

.abs-link:before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: auto;
  z-index: 9;
}

.accordion-button p {
  margin-block: 0;
}

.form-prenotazione {
  .has-error {
    position: relative;

    .error-message {
      font-size: 12px;
      color: darkred;
    }

    .error-message {
      display: block !important;
      width: 100%;
    }
  }

  .resident-panel .error-message {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .errors-absolute .error-message {
    position: absolute;
    top: 100%;
  }
}

.form-prenotazione label.has-error:after {
  content: attr(data-error);
  color: palevioletred;
  font-size: 11px;
  width: 100%;
  background: #fff0;
  padding-inline-start: 4px;
  display: inline-block;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 40px 12px 15px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

.input-wrapper input {
  padding-inline: 15px;
}

.select-wrapper::after {
  content: "\f107";
  font-family: "FontAwesome";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-primary-color);
  font-size: 16px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.select-wrapper:has(select:focus-visible)::after {
  transform: translateY(-50%) rotate(180deg);
}

.date-wrapper {
  position: relative;
  width: 100%;
}

.date-wrapper input[type="date"],
.date-wrapper input[type="text"].datepicker {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.date-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.date-wrapper::after {
  content: "\f133";
  font-family: "FontAwesome";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-primary-color);
  font-size: 16px;
  pointer-events: none;
}

.date-wrapper input[type="date"]:focus,
.date-wrapper input[type="text"].datepicker:focus {
  outline: none;
  border-color: var(--dark-primary-color);
}

:is(small, .small) * {
  font-size: small;
}

.dropdown-menu.show {
  display: block !important;
}

@media screen and (min-width: 768px) {
  .flex-md-1 {
    flex: 1 !important;
  }
}

.seaports .text-content {
  text-wrap-mode: nowrap;
}

@media screen and (max-width: 767px) {
  .metodi-pagamento .metodo {
    max-width: 90px;
    margin: auto;
  }
}

section#sezione-offerte .swiper-pagination {
  display: none;
}

section#sezione-offerte .swiper {
  padding: 0;
}

:is(.form-group.has-error) :is(select, input),
.error-container :is(select, input).has-error {
  border-color: palevioletred !important;
}

select {
  border-radius: 0.8rem;
  min-height: 2.5em;

  &.plain-select {
    border: unset !important;
    background: unset;
  }
}

p,
ul {
  color: var(--dark-primary-color);
  font-size: 1.1rem;
  padding-inline-start: 0;

  li::marker {
    color: var(--accent-color);
  }
}

body :is(h1, h2, h3) {
  color: var(--primary-color);
  font-weight: 700;
}

:is(.list-style-mark, .list-style-mark ul) {
  list-style: none;
  margin-inline: 0;
  padding-inline: 0;
  margin-block: 1rem;

  & li {
    position: relative;
    padding-left: 34px;
    margin-block: 0.5rem;
    line-height: 1.2;

    &:before {
      content: "";
      color: var(--secondary-color);
      line-height: 1;
      position: absolute;
      right: calc(100% - 24px);
      top: 4px;
      background: url(/wp-content/themes/TraghettiPer/assets/images/tickmark.svg);
      background-size: contain;
      width: 24px;
      background-repeat: no-repeat;
      aspect-ratio: 1;
    }
  }
}

:is(.list-style-wrong, .list-style-wrong ul) {
  list-style: none;
  margin-inline: 0;
  padding-inline: 0;
  margin-block: 1rem;

  & li {
    position: relative;
    padding-left: 34px;
    margin-block: 0.5rem;
    line-height: 1.2;

    &:before {
      content: "";
      color: var(--secondary-color);
      line-height: 1;
      position: absolute;
      right: calc(100% - 24px);
      top: 4px;
      background: url(/wp-content/themes/TraghettiPer/assets/images/wrong-mark.svg);
      background-size: contain;
      width: 24px;
      background-repeat: no-repeat;
      aspect-ratio: 1;
    }
  }
}

.tp-logo__text {
  fill: #fff !important;
}

@media screen and (max-width: 767px) {
  .swiper-mobile {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    z-index: 1;
  }
}

body .swiper-pagination {
  position: relative;
  margin-block: unset !important;
  bottom: 6px !important;

  @media screen and (max-width: 767px) {
    bottom: -12px !important;
  }
}

.offer-section .swiper-pagination {
  @media screen and (max-width: 767px) {
    bottom: -6px !important;
  }
}

:is(.swiper, .swiper-mobile):has(.swiper-pagination) {
  padding-block-end: 24px;
}

.swiper-wrapper:has(.swiper-slide:only-child) {
  justify-content: center;
}

@media screen and (min-width: 767px) {
  .form-prenotazione .form-group {
    padding-inline-end: 1rem;
  }
}

:is(form, .form) :is(input, textarea, select):not([type="radio"], [type="checkbox"]) {
  background: #fff0;
  border: 1px solid #d9e4eb;
  border-radius: 14px;
  min-height: 48px;
}

@media screen and (max-width: 1199px) {
  .resident-panel {
    order: 9;
  }

  .campo-andata,
  .campo-ritorno {
    order: -1;
  }
}

.metodo img {
  aspect-ratio: 16/9;
  object-fit: contain;
  max-width: 175px;
}

.title {
  color: var(--primary-color);
}

.img-abs {
  inset: 0;
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.checkbox-selection {
  align-items: center;
}

.checkbox-selection input[type="checkbox"] {
  height: 0;
  width: 0;
  opacity: 0;
  position: absolute;
}

.checkbox-selection label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-left: 60px;
  height: 24px;
}

.checkbox-selection label:before {
  content: "";
  position: absolute;
  left: 0;
  width: 50px;
  height: 24px;
  border-radius: 13px;
  background-color: #ccc;
  transition: background-color 0.3s;
}

.checkbox-selection label:after {
  content: "";
  position: absolute;
  left: 2.4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  transition: 0.3s;
  top: 50%;
  transform: translateY(-50%);
}

.checkbox-selection input:checked+label:before {
  background-color: #babe31;
}

.checkbox-selection input:checked+label:after {
  left: calc(50px - 22px);
}

.checkbox-selection input:focus+label:before {
  box-shadow: 0 0 0 3px rgb(164 198 57 / 0.3);
}

@media screen and (min-width: 768px) {
  .swiper-slide>img {
    max-width: 180px;
    display: block;
    margin-inline: auto;
    height: auto !important;
  }
}

.companies-logo {
  height: auto;
  max-width: 90px;

  @media screen and (max-width: 767px) {
    max-width: 70px;
  }
}

#backToTop {
  aspect-ratio: 1;
  border: 1px solid;
  border-radius: 999em;
  position: fixed;
  top: 80vh;
  left: calc(100vw - 34px);
  width: 34px;
  background: var(--accent-color);
  fill: var(--dark-primary-color);
  z-index: 99;
  transform: translateX(-50%);
  cursor: pointer;
  display: none;
  place-content: center;

  &.visible {
    display: grid;
  }
}

@media screen and (min-width: 768px) {
  #backToTop {
    left: calc(100vw - 34px * 2);
  }
}

.breadcrumb-link:after {
  content: ">";
}

.search-field {
  background: transparent !important;
  border-radius: unset;
  min-height: unset !important;
}

.overflow-results {
  text-decoration: none;
  color: var(--primary-color);
  border-radius: 1rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--primary-color);

  &:hover {
    color: var(--bs-body-bg);
    background: var(--primary-color) !important;
  }
}

.dropdown-menu-tratte {
  column-width: 200px;
}

:root {
	--grid-gap: 10px;
}

.breadcrumb a:hover,
.breadcrumb a {
	color: #ffffff !important;
	text-decoration: none !important;
}

.grid-auto-fit-max-2 {
	display: grid;
	width: 100%;
	gap: var(--grid-gap) !important;
	grid-template-columns: repeat(auto-fit, minmax(calc(50% - var(--grid-gap)), 1fr)) !important;
}

@media (min-width: 768px) {
	.md-grid-auto-fit-max-4 {
		display: grid;
		width: 100%;
		gap: var(--grid-gap) !important;
		grid-template-columns: repeat(auto-fit, minmax(calc(25% - var(--grid-gap)), 1fr)) !important;
	}
}

@media (min-width: 768px) {
    .float-img-desktop {
        float: left;
        margin: 0 24px 10px 0;
    }
    
    .contents-wrapper-desktop {
        display: contents;
    }
}

.fluid-text-list {
    margin: 0;
    padding: 0;
}

.fluid-text-list ul {
    list-style-position: inside;
    padding-inline-start: 0;
    margin-inline-start: 0;
}

.fluid-text-list li {
    font-weight: 400;
    margin-bottom: 0.5rem;
}