@media (max-width: 1199px) {
  .navbar .logo {
    width: 135px;
  }

  .navbar .header-support {
    margin: 0 30px 0 20px;
  }

  .navbar .language-selector .dropdown-language.open {
    display: flex !important;
    flex-direction: row;
    right: 85px;
    bottom: -40px;
  }

  .grid-form .radio-selection:nth-child(2) {
    padding-left: 0;
    margin-bottom: 0;
  }

  p.hero-home-title {
    font-size: 36px;
  }

  p.claim {
    font-size: 16px;
  }

  .destination-card {
    background-size: cover;
  }

  .anchor-destination:hover .destination-card {
    background-size: cover;
  }

  .tratte .anchor-tratta .tratta {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: 34px;
  }

  .steps .step h3 {
    font-size: 14px;
  }

  .swiper .logo-compagnia {
    width: 130px;
  }
}

@media (max-width: 1199px) {
  .navbar .logo {
    width: 150px;
  }

  p.hero-home-title {
    font-size: 26px;
  }

  p.claim {
    font-size: 14px;
  }

  .info-page {
    padding-bottom: 20px;
    display: flex;
  }

  .info-page p.text-hero {
    font-size: 16px;
  }

  .info-page p.text-hero span {
    font-size: 17px;
  }

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

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

  .tratta-porti h3 {
    font-size: 18px;
  }

  .nome-offerta p.top-offerta {
    font-size: 22px;
  }

  .nome-offerta p.bottom-offerta {
    font-size: 18px;
  }

  .descrizione-offerta p.top-offerta {
    font-size: 22px;
  }

  .descrizione-offerta p.price {
    font-size: 18px;
  }

  .cta-offerta a {
    font-size: 18px;
    padding: 6px 26px;
  }

  .percorso {
    padding-left: 20px;
    padding-right: 20px;
  }

  .desktop-navbar {
    display: none !important;
  }

  .mobile-navbar {
    display: block;
  }

  .navbar .header-support {
    margin: 0 0;
  }

  .card-recensioni p.media-recensioni {
    font-size: 16px;
  }

  .card-recensioni .votazione-media {
    padding: 10px 0;
  }

  .card-recensioni .votazione-media span {
    font-size: 40px;
  }

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

  .card-recensioni p.totale-recensioni {
    font-size: 12px;
  }

  .recensione-interna .bottom-recensione p {
    font-size: 16px;
    line-height: 26px;
  }

  .tratte {
    margin-bottom: 40px;
  }

  .bottom-cta {
    margin-bottom: 40px;
  }

  .card-icon {
    width: 100%;
  }

  .offerta-settimana .card-offerta .descrizione-offerta {
    padding: 5px 0;
  }

  .offerta-settimana .card-offerta .nome-offerta {
    margin-bottom: 10px;
  }

  .offerta-settimana .card-offerta .cta-offerta {
    margin-top: 20px;
  }

  .offerta-settimana .card-offerta .nome-offerta p.top-offerta {
    font-size: 20px;
  }

  .offerta-settimana .card-offerta .nome-offerta p.bottom-offerta {
    font-size: 16px;
  }

  .offerta-settimana .card-offerta .descrizione-offerta p.prezzo-offerta {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .carosellonave>.mySwiper {
    height: 210px !important;
    width: 100%;
  }

  .dropdown-language li {
    margin-left: 10px !important;
  }

  .carosellonave .caption {
    left: 10px;
    padding: 3px;
    font-size: 8px;
  }

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

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

  .hero-home {
    height: auto;
  }

  .hero-compagnie {
    height: auto;
  }

  .hero-destinazione {
    height: auto;
  }

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

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

  .form-prenotazione .grid-form .col.span-animali {
    order: 3;
  }

  .form-prenotazione .grid-form .col.span-tipologia-animali {
    order: 4;
  }

  section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

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

  section.ticket-steps .steps>a {
    width: 50%;
  }

  section.ticket-steps .steps>a:nth-child(1),
  section.ticket-steps .steps>a:nth-child(2) {
    margin-bottom: 20px;
  }

  section.p-mobile-0 {
    padding-left: 0;
    padding-right: 0;
  }

  .form-prenotazione .grid-form select {
    font-size: 13px;
  }

  /* .form-prenotazione .grid-form select {
    font-size: 13px;
    height: 30px;
    background-position: calc(100% - 8px) center;
    background-size: 8px;
    padding: 0 8px;
  } */
  .form-prenotazione .grid-form input[type="text"],
  .form-prenotazione .grid-form input[type="number"],
  .form-prenotazione .grid-form input[type="email"] {
    font-size: 13px;
    height: 30px;
  }

  .grid-form textarea {
    font-size: 12px;
  }

  .grid-form input[type="date"] {
    font-size: 12px;
    height: 30px;
  }

  .grid-form label {
    font-size: 13px;
  }

  .grid-form label.secondary-label {
    font-size: 13px;
  }

  .grid-form .label-icon span {
    font-size: 13px;
    padding-left: 2px;
  }

  .grid-form.cta-section-form .cta-ricerca a {
    font-size: 16px;
    padding: 4px 35px;
  }

  section {
    padding-left: 15px;
    padding-right: 15px;
  }

  section.hero-home {
    padding-left: 5px;
    padding-right: 5px;
  }

  .basic-section-title {
    font-size: 22px;
    line-height: 30px;
  }

  .basic-section-title h3.title-tratte {
    font-size: 22px;
    line-height: 30px;
  }

  .basic-paragraph {
    font-size: 16px;
    line-height: 26px;
  }

  .basic-subtitle {
    font-size: 18px;
  }

  .first-subtitle {
    font-size: 19px;
  }

  .info-page .icon-hero {
    margin-top: 0;
  }

  .breadcrumb {
    display: none !important;
  }

  .contenitore-offerta-slide {
    padding: 0 20px;
  }

  .descrizione-offerta {
    padding: 20px 0;
  }

  .cta-offerta {
    text-align: center;
  }

  .lista-recensioni {
    margin: 0 auto;
    padding-top: 20px;
  }

  .recensione .bottom-recensione {
    margin-top: 20px;
  }

  .lista-recensioni .container-stars {
    margin-bottom: 15px;
  }

  .lista-recensioni .star {
    width: 15px;
  }

  .recensione .bottom-recensione p {
    font-size: 16px;
    line-height: 26px;
  }

  .recensione {
    height: auto;
  }

  .recensione-interna .bottom-recensione p {
    font-size: 15px;
    line-height: 26px;
  }

  .recensione .top-recensione .info-recensione p.nome {
    font-size: 17px;
  }

  .recensione .top-recensione .utente-certificato {
    margin-left: 15px;
  }

  .recensione .top-recensione .utente-certificato span {
    font-size: 11px;
  }

  .swiper .logo-compagnia {
    width: 100px;
  }

  .tratte .anchor-tratta .tratta {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-tabella .nav-link {
    padding: 10px 20px !important;
    font-size: 13px;
  }

  .nav-tabella.orari-compagnie .nav-link {
    padding: 10px 20px !important;
    font-size: 13px;
  }

  .tab-content table tbody {
    display: block;
  }

  .tab-content table tr {
    display: block;
  }

  .tab-content table tr:first-child {
    display: none;
  }

  .tab-content table tr th {
    font-size: 14px;
  }

  .tab-content table tr td {
    font-size: 13px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .tab-content table tr td.d-inline-mobile {
    display: inline-block;
  }

  .tab-content table tr td.d-inline-block-mobile {
    display: inline-block;
  }

  .tab-content table tr td.t-right-mobile {
    text-align: right;
  }

  .tab-content table tr td.m-mobile {
    margin-right: 10px;
  }

  .tab-content table tr td.w-100-mobile {
    width: 100%;
  }

  .tab-content table tr td.w-auto-mobile {
    width: auto;
  }

  .tab-content table tr td.float-right {
    float: right;
  }

  .tab-content table .img-compagnia-tab {
    width: 90px;
    float: right;
  }

  .tab-content table tr.riga-biglietto td:last-child {
    width: 49%;
  }

  .tab-content table .cta-tab a {
    font-size: 12px;
    padding: 4px 18px;
  }

  .tab-content table {
    overflow-x: auto;
  }

  .tratte .anchor-tratta .tratta h4 {
    font-size: 14px;
  }

  .porti ul li a h4 {
    font-size: 14px;
  }

  .table-ticket tr {
    display: block;
    padding: 10px 0;
  }

  .table-ticket tr:first-child {
    display: none;
  }

  .table-ticket td.w-50-mobile {
    width: 49%;
  }

  .table-ticket td.d-inline-mobile {
    display: inline-block;
  }

  .table-ticket td.t-right-mobile {
    text-align: right;
  }

  .table-ticket td.price {
    font-size: 18px;
  }

  .table-ticket td .img-compagnia-tab {
    float: right;
  }

  .table-ticket tr:hover td {
    background: #fff0;
  }

  .table-pagamenti td.img-pagamento .img-pay {
    width: 140px;
  }

  .percorso {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container-tratta {
    display: block;
  }

  .tratta-porti h3 a {
    font-size: 18px;
  }

  .container-ticket .top-info .modifica-sistemazione select {
    width: 100%;
  }

  .container-ticket .top-info {
    padding: 20px 20px;
  }

  .container-ticket .top-info .direzione {
    font-size: 16px;
  }

  .container-ticket .top-info .destinazione {
    font-size: 12px;
  }

  .container-ticket .top-info .hamburger-info {
    width: 14px;
  }

  .container-ticket .info-data a {
    font-size: 12px;
  }

  .container-ticket .ticket-card .info-ticket {
    margin-bottom: 20px;
  }

  .container-ticket .ticket-card .info-ticket .compagnia-ticket {
    width: 65px;
  }

  .container-ticket .ticket-card .info-ticket .tratta p {
    font-size: 13px;
  }

  .container-ticket .ticket-card .info-ticket .partenza p,
  .container-ticket .ticket-card .info-ticket .arrivo p,
  .container-ticket .ticket-card .info-ticket .durata p {
    font-size: 12px;
  }

  .container-ticket .ticket-card .info-ticket .partenza span,
  .container-ticket .ticket-card .info-ticket .arrivo span,
  .container-ticket .ticket-card .info-ticket .durata span {
    font-size: 13px;
  }

  .container-ticket .ticket-card .info-ticket {
    grid-template-columns: repeat(12, 1fr);
  }

  .container-ticket .ticket-card .info-ticket>div:first-child {
    grid-column: span 6;
    margin-bottom: 10px;
  }

  .container-ticket .ticket-card .info-ticket>div:nth-child(2) {
    grid-column: span 6;
    margin-bottom: 10px;
  }

  .container-ticket .ticket-card .info-ticket>div:nth-child(3) {
    grid-column: span 4;
  }

  .container-ticket .ticket-card .info-ticket>div:nth-child(4) {
    grid-column: span 4;
  }

  .container-ticket .ticket-card .info-ticket>div:nth-child(5) {
    grid-column: span 4;
  }

  .container-ticket .ticket-card .info-ticket .tratta,
  .container-ticket .ticket-card .info-ticket .durata {
    text-align: right;
  }

  .container-ticket .ticket-card .info-ticket .arrivo {
    text-align: center;
  }

  .container-ticket .ticket-card .sistemazioni-ticket {
    grid-gap: 15px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket .sistemazione {
    padding: 20px 10px 15px 10px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket .sistemazione p {
    font-size: 12px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket .sistemazione .price {
    font-size: 18px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket .sistemazione .offerta-ticket p {
    font-size: 10px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket a {
    margin-bottom: 15px;
  }

  .container-ticket .ticket-card .sistemazioni-ticket a:last-child {
    margin-bottom: 0;
  }

  .logo-compagnia {
    width: 70%;
    margin-bottom: 10px;
  }

  .subtitle {
    font-size: 20px;
  }

  .card-icon {
    width: 30%;
    margin: 0 auto;
  }

  .section-faq .categoria-faq {
    font-size: 20px;
  }

  .accordion-button {
    font-size: 15px !important;
    line-height: 22px;
  }

  .accordion-body p {
    font-size: 13px;
    line-height: 20px;
  }

  .offerta-settimana .card-offerta {
    margin-bottom: 30px;
  }

  footer p.footer-title {
    font-size: 18px;
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .grid-form.mobile-column {
    flex-direction: column;
  }

  .cta-ricerca {
    margin-top: 15px;
  }

  .tratta-attiva {
    padding-left: 40px;
    padding-right: 40px;
  }

  .tratte .anchor-tratta .tratta {
    grid-template-columns: repeat(3, 1fr);
  }

  .tab-content table {
    display: block;
  }

  .container-ticket .ticket-card .sistemazioni-ticket {
    grid-template-columns: repeat(1, 1fr);
  }

  .carosellonave>.mySwiper {
    height: 210px !important;
    width: 100%;
  }

  .carosellonave .caption {
    left: 10px;
    padding: 3px;
    font-size: 8px;
  }

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

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

@media (max-width: 1199px) {
  .carosellonave>.mySwiper {
    height: 210px !important;
    width: 100%;
  }

  .carosellonave .caption {
    left: 10px;
    padding: 3px;
    font-size: 8px;
  }

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

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

  table.ste_bestprice_table tr {
    display: grid !important;
    grid-template-columns: auto auto;
  }

  table.ste_bestprice_table tr td {
    display: flex;
    align-items: center;
    width: 100% !important;
  }

  table.ste_bestprice_table tr td.ste_bestprice_company_logo+td+td {
    display: none !important;
  }

  table.ste_bestprice_table tr td.ste_bestprice_leaves_at_time,
  table.ste_bestprice_table tr td.ste_bestprice_company_logo,
  table.ste_bestprice_table tr td.ste_bestprice_booking {
    justify-content: flex-end;
  }
}