.cmp-separator {
    display: flex;
    align-items: center;
}

.cmp-separator__horizontal-rule {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
}

.cmp-action-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 24px;
}

@media only screen and (min-width: 768px) {
    .cmp-action-container {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }

    .cmp-action-container--align-center {
        justify-content: center;
    }

    .cmp-action-container--align-right {
        justify-content: flex-start;
    }
}

.cmp-action-container__button {
    text-align: center;
}

.cmp-action-container__button [class$='Button']:not([class^='thirdButton']) {
    display: block;
}

.cmp-teaser {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    background-color: #FFFFFF;
    color: #0B2340;
    border-radius: 8px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.cmp-teaser:hover {
    background-color: #F8F8F9;
}

.cmp-teaser:active {
    background-color: #F3F3F4;
}

.cmp-teaser__content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 8px;
    height: 100%;
    color: #0B2340;
    padding: 0px 16px 16px;
}

.cmp-teaser--no-description .cmp-teaser__content {
    grid-template-rows: 1fr;
}

.cmp-teaser--no-image .cmp-teaser__content {
    grid-template-rows: auto;
    align-content: center;
    padding-top: 16px;
}

.cmp-teaser__content > * {
    margin: 0;
}

.cmp-teaser__content .cmp-teaser__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.cmp-teaser__content .cmp-teaser__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cmp-teaser__content:after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: #0171CF;
    -webkit-mask: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.423c0-.273-.124-.532-.346-.743L14.27 5.31a1.04 1.04 0 0 0-.73-.31.943.943 0 0 0-.965.965c0 .26.087.52.272.693l1.708 1.769 4.181 3.76.223-.531-3.291-.235H3.99c-.582 0-.99.42-.99 1.002 0 .581.408 1.002.99 1.002h11.678l3.29-.235-.222-.545-4.181 3.774-1.708 1.769c-.185.173-.272.433-.272.692 0 .557.42.965.965.965.26 0 .507-.099.73-.309l6.384-6.371c.222-.21.346-.47.346-.742" fill="%230171CF"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.423c0-.273-.124-.532-.346-.743L14.27 5.31a1.04 1.04 0 0 0-.73-.31.943.943 0 0 0-.965.965c0 .26.087.52.272.693l1.708 1.769 4.181 3.76.223-.531-3.291-.235H3.99c-.582 0-.99.42-.99 1.002 0 .581.408 1.002.99 1.002h11.678l3.29-.235-.222-.545-4.181 3.774-1.708 1.769c-.185.173-.272.433-.272.692 0 .557.42.965.965.965.26 0 .507-.099.73-.309l6.384-6.371c.222-.21.346-.47.346-.742" fill="%230171CF"/></svg>') no-repeat center;
    justify-self: end;
    align-self: end;
}

.cmp-teaser:hover .cmp-teaser__content:after {
    background-color: #01569D;
}

.cmp-teaser:active .cmp-teaser__content:after {
    background-color: #013A6B;
}

.cmp-teaser--no-image .cmp-teaser__content:after,
.cmp-teaser--no-description .cmp-teaser__content:after {
    grid-column: 2;
}

.cmp-teaser--no-image .cmp-teaser__content:after {
    grid-row: 1 / span 2;
    align-self: center;
}

.cmp-teaser--no-description .cmp-teaser__content:after {
    grid-row: 1;
}

.cmp-teaser-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 24px;
}

@media only screen and (min-width: 768px) {
    .cmp-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-teaser-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cmp-teaser-grid .cmp-teaser__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cmp-teaser-grid.cmp-teaser--no-image .cmp-teaser__image {
    display: none;
}

.cmp-teaser-grid.cmp-teaser--no-description .cmp-teaser__description {
    display: none;
}

.cmp-coupon-code {
}

.cmp-coupon-code__button {
    display: flex;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #0171CF;
    width: auto;
    min-width: 356px;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (min-width: 768px) {
    .cmp-coupon-code__button {
       max-width: fit-content; /* Impedisce di allargarsi oltre il contenuto */
    }
}

.cmp-coupon-code__button:hover {
    border: 2px solid #01569D;
}

.cmp-coupon-code__button:hover span {
    color: #01569D;
}

.cmp-coupon-code__button:active {
    border: 2px solid #013A6B;
}

.cmp-coupon-code__button:active span {
    color: #013A6B;
}

.cmp-coupon-code__button:focus {
    /* border: 2px solid  #0171CF */
    outline: #0B2340 solid 2px;
    outline-offset: 2px;
}

.cmp-coupon-code__button-text {
    color: #0171CF;
    font-family: Lato;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    max-width: 85%;
    word-wrap: break-word;
    width: 228px; /* Permette al testo di occupare tutto lo spazio disponibile */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-coupon-code__button-action {
    color:#0171CF;
    font-weight: 700;
    text-decoration: solid underline;
    text-underline-offset: 5px;
    cursor: pointer;
}

.cmp-coupon-code__description {
    margin-top: 8px;
}

.cmp-flight-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cmp-flight-card--boxed {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.16);
    padding: 0 0 24px;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card--boxed {
        padding: 24px 16px;
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-flight-card--boxed {
        padding: 24px;
    }
}

.cmp-flight-card--boxed.cmp-flight-card--table-only {
    padding-top: 24px;
}

.cmp-flight-card__teaser {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card__teaser {
        flex-direction: row;
    }

    .cmp-flight-card__teaser--image-right {
        flex-direction: row-reverse;
    }
}

.cmp-flight-card__teaser .cmp-flight-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card__teaser .cmp-flight-card__image {
        width: 38.355%;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        align-self: flex-start;
    }
}

@media only screen and (min-width: 1280px) {
    .cmp-flight-card__teaser .cmp-flight-card__image {
        width: 42.735%;
        aspect-ratio: 16 / 9;
    }
}

.cmp-flight-card__teaser .cmp-flight-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
}

.cmp-flight-card--boxed .cmp-flight-card__teaser .cmp-flight-card__content {
    padding: 24px 16px 0;
}

.cmp-flight-card--boxed .cmp-flight-card__teaser .cmp-flight-card__image + .cmp-flight-card__content {
    padding: 0 16px;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card--boxed .cmp-flight-card__teaser .cmp-flight-card__content,
    .cmp-flight-card--boxed .cmp-flight-card__teaser .cmp-flight-card__image + .cmp-flight-card__content {
        padding: 0;
    }
}

.cmp-flight-card__teaser .cmp-flight-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #0B2340;
}

.cmp-flight-card__teaser .cmp-flight-card__info > * {
    margin: 0;
}

.cmp-flight-card__teaser .cmp-flight-card__pretitle {
    color: #72727F;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.56px;
}

.cmp-flight-card__teaser .cmp-flight-card__title,
.cmp-flight-card__table .cmp-flight-card__table-item-route {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cmp-flight-card__teaser .cmp-flight-card__title-origin,
.cmp-flight-card__teaser .cmp-flight-card__title-destination {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

@media only screen and (min-width: 1084px) {
    .cmp-flight-card__teaser .cmp-flight-card__title-origin,
    .cmp-flight-card__teaser .cmp-flight-card__title-destination {
        font-size: 24px;
        line-height: 32px;
    }
}

.cmp-flight-card__teaser .cmp-flight-card__title-destination,
.cmp-flight-card__table .cmp-flight-card__table-item-destination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmp-flight-card__teaser .cmp-flight-card__title-destination:before,
.cmp-flight-card__table .cmp-flight-card__table-item-destination:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: #72727F;
    -webkit-mask: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 8.38c-.004-.618-.849-1.068-1.858-1.068h-2.16c-.294 0-.404-.05-.584-.248L5.85 3.19a.53.53 0 0 0-.4-.19h-.617c-.139 0-.214.122-.147.269L6.51 7.312l-2.74.303-.955-1.753c-.075-.13-.18-.185-.353-.185h-.235c-.139 0-.227.08-.227.223v4.96c0 .139.088.223.227.223h.235c.173 0 .278-.06.353-.185l.955-1.753 2.74.303-1.824 4.043c-.067.143.008.265.147.265h.618c.151 0 .29-.067.4-.19l3.547-3.875c.18-.197.29-.243.584-.243h2.16c1.009 0 1.854-.454 1.858-1.068" fill="%230171CF"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 8.38c-.004-.618-.849-1.068-1.858-1.068h-2.16c-.294 0-.404-.05-.584-.248L5.85 3.19a.53.53 0 0 0-.4-.19h-.617c-.139 0-.214.122-.147.269L6.51 7.312l-2.74.303-.955-1.753c-.075-.13-.18-.185-.353-.185h-.235c-.139 0-.227.08-.227.223v4.96c0 .139.088.223.227.223h.235c.173 0 .278-.06.353-.185l.955-1.753 2.74.303-1.824 4.043c-.067.143.008.265.147.265h.618c.151 0 .29-.067.4-.19l3.547-3.875c.18-.197.29-.243.584-.243h2.16c1.009 0 1.854-.454 1.858-1.068" fill="%230171CF"/></svg>') no-repeat center;
}

@media only screen and (min-width: 1084px) {
    .cmp-flight-card__teaser .cmp-flight-card__title-destination:before {
        width: 24px;
        height: 24px;
        -webkit-mask: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.07c-.006-.927-1.274-1.601-2.787-1.601h-3.24c-.442 0-.606-.076-.877-.372l-5.32-5.813a.8.8 0 0 0-.6-.284H7.25c-.208 0-.321.183-.22.404l2.736 6.065-4.11.454-1.432-2.63c-.113-.195-.271-.277-.53-.277H3.34c-.208 0-.34.12-.34.334v7.44c0 .208.132.334.34.334h.354c.258 0 .416-.088.53-.277l1.43-2.63 4.111.454-2.736 6.066c-.101.214.012.397.22.397h.927a.8.8 0 0 0 .6-.284l5.32-5.813c.271-.296.435-.366.877-.366h3.24c1.513 0 2.78-.68 2.787-1.601" fill="%230171CF"/></svg>') no-repeat center;
        mask: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.07c-.006-.927-1.274-1.601-2.787-1.601h-3.24c-.442 0-.606-.076-.877-.372l-5.32-5.813a.8.8 0 0 0-.6-.284H7.25c-.208 0-.321.183-.22.404l2.736 6.065-4.11.454-1.432-2.63c-.113-.195-.271-.277-.53-.277H3.34c-.208 0-.34.12-.34.334v7.44c0 .208.132.334.34.334h.354c.258 0 .416-.088.53-.277l1.43-2.63 4.111.454-2.736 6.066c-.101.214.012.397.22.397h.927a.8.8 0 0 0 .6-.284l5.32-5.813c.271-.296.435-.366.877-.366h3.24c1.513 0 2.78-.68 2.787-1.601" fill="%230171CF"/></svg>') no-repeat center;
    }
}

.cmp-flight-card__teaser .cmp-flight-card__tag {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.56px;
    width: fit-content;
    background-color: #D1EAFF;
    border-radius: 8px;
    padding: 4px 8px;
}

.cmp-flight-card__teaser .cmp-flight-card__description {
    font-size: 16px;
    line-height: 24px;
}

.cmp-flight-card__teaser .cmp-flight-card__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card__teaser .cmp-flight-card__details {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: flex-end;
        gap: 24px;
    }
}

.cmp-flight-card--single-location .cmp-flight-card__teaser .cmp-flight-card__details {
    border-top: 1px solid #72727F;
    padding-top: 16px;
}

.cmp-flight-card__teaser .cmp-flight-card__caption {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    flex: 1;
}

.cmp-flight-card__teaser .cmp-flight-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    flex: 1;
}

.cmp-flight-card__teaser .cmp-flight-card__price-prefix {
    font-size: 20px;
    line-height: 28px;
}

.cmp-flight-card__teaser .cmp-flight-card__price-amount {
    color: #0171CF;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.cmp-flight-card__table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmp-flight-card--boxed .cmp-flight-card__table {
    padding: 0 16px;
}

@media only screen and (min-width: 768px) {
    .cmp-flight-card--boxed .cmp-flight-card__table {
        padding: 0;
    }
}

.cmp-flight-card__table .cmp-flight-card__table-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.cmp-flight-card__table .cmp-flight-card__table-item:nth-child(odd) {
    background-color: #F8F8F9;
}

.cmp-flight-card__table .cmp-flight-card__table-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cmp-flight-card__table .cmp-flight-card__table-item-origin,
.cmp-flight-card__table .cmp-flight-card__table-item-destination {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.cmp-flight-card__table .cmp-flight-card__table-item-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cmp-flight-card__table .cmp-flight-card__table-item-price-prefix {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.48px;
}

.cmp-flight-card__table .cmp-flight-card__table-item-price-amount {
    color: #0171CF;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.56px;
}

.cmp-flight-card--origin-destination .cmp-flight-card__teaser .cmp-flight-card__action,
.cmp-flight-card__table .cmp-flight-card__table-item-action {
    display: flex;
    justify-content: center;
    background-color: #0171CF;
    border-radius: 8px;
    padding: 8px 32px;
}

.cmp-flight-card--origin-destination .cmp-flight-card__teaser .cmp-flight-card__action {
    min-width: 192px;
}

@media only screen and (min-width: 1084px) {
    .cmp-flight-card__table .cmp-flight-card__table-item-action {
        min-width: 192px;
    }
}

.cmp-flight-card--origin-destination .cmp-flight-card__teaser .cmp-flight-card__action:hover,
.cmp-flight-card__table .cmp-flight-card__table-item-action:hover {
    background-color: #01569D;
}

.cmp-flight-card--origin-destination .cmp-flight-card__teaser .cmp-flight-card__action:active,
.cmp-flight-card__table .cmp-flight-card__table-item-action:active {
    background-color: #013A6B;
}

.cmp-flight-card__teaser .cmp-flight-card__action span,
.cmp-flight-card__table .cmp-flight-card__table-item-action span {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.cmp-flight-card--origin-destination .cmp-flight-card__teaser .cmp-flight-card__action span,
.cmp-flight-card__table .cmp-flight-card__table-item-action span {
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.56px;
}

.cmp-flight-card--single-location .cmp-flight-card__teaser .cmp-flight-card__action span {
    color: #0171CF;
}

.cmp-flight-card--single-location .cmp-flight-card__teaser .cmp-flight-card__action:hover span {
    color: #01569D;
}

.cmp-flight-card--single-location .cmp-flight-card__teaser .cmp-flight-card__action:active span {
    color: #013A6B;
}

.cmp-hero {
}

.cmp-hero__teaser {
    position: relative;
    height: 375px;
    background-color: #0B2340;
}

.cmp-hero--big .cmp-hero__teaser {
    height: 500px;
}

@media only screen and (min-width: 768px) {
    .cmp-hero__teaser {
        height: 330px;
    }

    .cmp-hero--big .cmp-hero__teaser {
        height: 432px;
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__teaser {
        height: 306px;
    }

    .cmp-hero--big .cmp-hero__teaser {
        height: 466px;
    }
}

@media only screen and (min-width: 1280px) {
    .cmp-hero__teaser {
        height: 385px;
    }

    .cmp-hero--big .cmp-hero__teaser {
        height: 587px;
    }
}

.cmp-hero__image {
    height: 100%;
}

.cmp-hero--image-overlay .cmp-hero__image::after,
.cmp-hero--image-gradient-overlay .cmp-hero__image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-blend-mode: multiply;
    mix-blend-mode: multiply;
}

.cmp-hero--image-overlay .cmp-hero__image::after {
    background: #0B2340;
    opacity: 0.8;
}

.cmp-hero--image-gradient-overlay .cmp-hero__image::after {
    background: linear-gradient(200deg, rgba(11, 35, 64, 0.00) -0.45%, rgba(11, 35, 64, 0.64) 46.68%);
}

@media only screen and (min-width: 768px) {
    .cmp-hero--image-gradient-overlay .cmp-hero__image::after {
        background: linear-gradient(241deg, rgba(11, 35, 64, 0.00) 11.7%, rgba(11, 35, 64, 0.64) 41.47%);
    }
}

.cmp-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmp-hero__content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    height: 100%;
    color: #FFFFFF;
    padding: 40px 16px;
}

@media only screen and (min-width: 768px) {
    .cmp-hero__content {
        width: 562px;
        padding: 64px 0px 64px 20px;
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__content {
        width: 784px;
        padding: 64px 0px 64px 50px;
    }
}

@media only screen and (min-width: 1280px) {
    .cmp-hero__content {
        width: 951px;
        padding: 64px 0px 64px 64px;
    }
}

.cmp-hero__content > * {
    margin: 0;
}

.cmp-hero__content .cmp-hero__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__content .cmp-hero__title {
        font-size: 48px;
        line-height: 56px;
    }
}

.cmp-hero__content .cmp-hero__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__content .cmp-hero__subtitle {
        font-size: 28px;
        line-height: 36px;
    }
}

.cmp-hero__content .cmp-hero__description {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.56px;
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__content .cmp-hero__description {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
    }
}

.cmp-hero__ibe {
    position: relative;
    top: -24px;
    width: 90%;
    margin: 0 auto -24px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.16);
    padding: 24px 16px 16px;
}

@media only screen and (min-width: 768px) {
    .cmp-hero__ibe {
        top: -40px;
        width: 728px;
        margin-bottom: -40px;
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__ibe {
        width: 984px;
        padding: 24px;
    }
}

@media only screen and (min-width: 1280px) {
    .cmp-hero__ibe {
        width: 1087px;
    }
}

.cmp-hero__ibe {
    --padding-space1: 10px;
    --padding-space1b: 16px;
    --padding-space2: 24px;
    z-index: 1008;
}

.cmp-hero::before {
    content: '';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cmp-hero.show-before::before {
    display: block;
}

.cmp-hero__ibe .internalFlightFinder.j-internalFlightFinder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    margin: 0;
}

.cmp-hero__ibe .typeOfFlight.ibe-el-order {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    overflow-x: auto;
    padding: 0;
}

.cmp-hero__ibe .fieldset-group.ibe-el-order {
    order: 2;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    width: 100%;
}

.cmp-hero__ibe .check-volare-wrapper.ibe-el-order {
    order: 3;
}

.cmp-hero__ibe .submit-button-wrapper.ibe-el-order {
    order: 4;
    width: 100%;
    margin: 0;
}

.cmp-hero__ibe .typeOfFlight:before,
.cmp-hero__ibe .typeOfFlight:after {
    display: none;
}

.cmp-hero__ibe .ibe-el-block {
    flex-shrink: 0;
    min-width: 0;
    align-self: self-start;
}

.cmp-hero__ibe .j-typeOfFlight {
    min-width: auto;
    margin: 0;
    padding: 0 !important;
}

.cmp-hero__ibe .ibe-flex-align {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}

.cmp-hero__ibe label.j-typeOfFlight {
    border: none;
    top: 0px;
}

.cmp-hero__ibe input#soloandata,
.cmp-hero__ibe input#andataeritorno {
    display: inline-block;
}

.cmp-hero__ibe input#soloandata {
    margin-left: 0px;
}

.cmp-hero__ibe .j-typeOfFlight [type="radio"] {
    position: relative;
    opacity: 1;
}

.cmp-hero__ibe label input[type="radio"] + span {
    font-weight: 400;
    color: #0B2340;
}

.cmp-hero__ibe label input[type="radio"]:checked + span {
    font-weight: 700;
}

.cmp-hero__ibe .multileg-booking-link span {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: #0171CF;
}

.cmp-hero__ibe .multileg-booking-link:hover span {
    color: #01569D;
}

.cmp-hero__ibe .multileg-booking-link:active span {
    color: #013A6B;
}

.cmp-hero__ibe .itinerary.itinerary--flightFinder {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata,
.cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno {
    width: 100%;
    max-width: none;
    height: 56px;
    margin: 0;
    background-color: transparent;
    border-style: solid;
    border-color: #72727FA3;
}

.cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata {
    border-width: 1px 1px 0px 1px;
    border-radius: 8px 8px 0 0;
}

.cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--padding-space1);
    width: calc(100% - var(--padding-space1) * 2);
    height: 0;
    border-bottom: 1px solid #72727F;
}

.cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno {
    border-width: 0px 1px 1px 1px;
    border-radius: 0 0 8px 8px;
}

.cmp-hero__ibe .daInputText {
    left: 10px
}

.cmp-hero__ibe .fieldset-group.ibe-el-order .autocomplete-suggestions {
    width: 100% !important;
    min-width: auto;
    margin-top: 15px;
    border: 1px solid #72727F;
    border-radius: 8px;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.16);
}

.cmp-hero__ibe .contenitoreFieldsSecondaRiga {
    display: flex;
    flex-direction: column;
    gap: var(--padding-space1b);
}

.cmp-hero__ibe fieldset.dateOfFlight.dateOfFlight--flightFinder {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.cmp-hero__ibe .boxdateofflight {
    max-width: none;
    width: 100%;
}

.cmp-hero__ibe .boxdateofflight .inputDate {
    left: 10px
}

.cmp-hero__ibe .boxdateofflight .input-wrap.show-calendar-icon .ui-datepicker-trigger {
    display: none;
}

.cmp-hero__ibe fieldset.passengers.passengers--flightFinder {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.cmp-hero__ibe fieldset.passengers.passengers--flightFinder.active {
    border: 2px solid #0171CF;
}

.cmp-hero__ibe .wrap-passengers-label {
    padding-left: var(--padding-space1);
    overflow: hidden;
}

.cmp-hero__ibe .selected-passengers.select-selected {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 27px);
}

.cmp-hero__ibe .check-volare-wrapper label {
    font-size: 16px;
    line-height: 24px;
    color: #0B2340;
}

.cmp-hero__ibe a#cercaVoliSubmit {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 32px;
    background-color: #0171CF;
    border-radius: 8px;
    transform: none;
}

.cmp-hero__ibe a#cercaVoliSubmit:hover {
    background-color: #01569D;
}

.cmp-hero__ibe a#cercaVoliSubmit:active {
    background-color: #013A6B;
}

.cmp-hero__ibe a#cercaVoliSubmit span {
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.cmp-hero__ibe #panel-travel-options {
    display: none;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: auto;
    background: #FFFFFF;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.16);
    z-index: 1008;
}

.cmp-hero__ibe #panel-travel-options .panel__content {
    width: 100%;
    min-height: 518px;
    margin: 0;
    padding: 40px 16px;
}

.cmp-hero__ibe #panel-travel-options .label div {
    font-size: 18px;
    line-height: 26px;
}

.cmp-hero__ibe #panel-travel-options .bottoneConferma {
    width: 100%;
}

.cmp-hero__ibe .form__errorField {
    display: flex;
    align-items: flex-start;
    width: calc(100% + 2px);
    margin: 8px 0 0 !important;
    background-color: #B01411;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.48px;
}

.cmp-hero__ibe .form__errorField::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 8c0 3.306-2.688 6-6 6a6.01 6.01 0 0 1-6-6c0-3.312 2.694-6 6-6 3.312 0 6 2.688 6 6m-6.659 2.435c0 .347.306.63.659.63s.659-.277.659-.63A.65.65 0 0 0 8 9.8c-.359 0-.659.288-.659.635m.1-5.03.077 3.207c.006.312.176.482.482.482.294 0 .465-.165.47-.482l.083-3.2c.006-.312-.235-.541-.559-.541-.33 0-.559.223-.553.535" fill="%23FFFFFF"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 4px;
}

.cmp-hero__ibe .itinerary__inputCover:has(.form__alert.form__errorField),
.cmp-hero__ibe .boxdateofflight:has(.input-wrap.isError) {
    border: 1px solid #B01411;
}

.cmp-hero__ibe .cmp-hero_gotoflight-container {
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    padding: var(--padding-space1b);
    background-color: #FFFFFF;
    border-top: 1px solid #F3F3F4;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.16);
    z-index: 1010;
}

.cmp-hero__ibe .cmp-hero_gotoflight {
    display: block;
    width: 100%;
    padding: 16px 32px;
    cursor: pointer;
    background-color: #0171CF;
    border-radius: 8px;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

@media only screen and (min-width: 768px) {
    .cmp-hero__ibe .itinerary.itinerary--flightFinder {
        flex-direction: row;
    }

    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata {
        border-width: 1px 0px 1px 1px;
        border-radius: 8px 0 0 8px;
    }

    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata::after {
        left: calc(var(--padding-space1)* 2);
        height: 40px;
        margin-bottom: 7px;
        border-right: 1px solid #72727F;
        border-bottom: 0;
    }

    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno {
        border-width: 1px 1px 1px 0px;
        border-radius: 0 8px 8px 0;
    }

    .cmp-hero__ibe .contenitoreFieldsSecondaRiga {
        flex-direction: row;
    }

    .cmp-hero__ibe #panel-travel-options {
        position: absolute;
        top: 182px;
        bottom: auto;
        left: 356px;
        width: 340px;
        border: 1px solid #72727F;
        border-radius: 8px;
        z-index: 1300;
    }

    .cmp-hero__ibe #panel-travel-options .panel__content {
        min-height: auto;
        padding: 24px 16px 16px;
    }

    .cmp-hero__ibe .cmp-hero_gotoflight-container {
        display: none !important;
    }
}

@media only screen and (min-width: 1084px) {
    .cmp-hero__ibe .fieldset-group.ibe-el-order {
        order: 3;
        flex-direction: row;
        width: auto;
    }

    .cmp-hero__ibe .check-volare-wrapper.ibe-el-order {
        order: 2;
    }

    .cmp-hero__ibe .submit-button-wrapper.ibe-el-order {
        width: 160px;
    }

    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata,
    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno,
    .cmp-hero__ibe fieldset.dateOfFlight.dateOfFlight--flightFinder {
        width: 198px;
    }

    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno {
        border-right: 0px;
        border-radius: 0;
    }

    .cmp-hero__ibe .contenitoreFieldsSecondaRiga {
        gap: 0;
    }

    .cmp-hero__ibe .boxdateofflight {
        border-right: 0px;
        border-left: 0px;
        border-radius: 0;
    }

    .cmp-hero__ibe fieldset.passengers.passengers--flightFinder {
        width: 152px;
        height: 56px;
        border-left: 0px;
        border-radius: 0 8px 8px 0;
    }

    .cmp-hero__ibe .boxdateofflight::before,
    .cmp-hero__ibe fieldset.passengers.passengers--flightFinder::before {
        content: '';
        position: absolute;
        bottom: 0;
        height: 40px;
        margin-bottom: 7px;
        border-right: 1px solid #72727F;
    }

    .cmp-hero__ibe #panel-travel-options {
        top: 110px;
        left: 485px;
        width: 360px;
    }
}

@media only screen and (min-width: 1280px) {
    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Andata,
    .cmp-hero__ibe .itinerary__inputCover.contenitore-campo-Ritorno,
    .cmp-hero__ibe fieldset.dateOfFlight.dateOfFlight--flightFinder {
        width: 233px;
    }

    .cmp-hero__ibe #panel-travel-options {
        left: 577px;
    }
}

.ui-datepicker.mobile-datepicker.cmp-hero__ibe--datepicker {
    position: fixed !important;
    top: auto !important;
    bottom: 0;
    left: 0 !important;
    right: 0;
    max-width: none !important;
    min-height: 518px;
    padding: 16px;
    border: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.16);
}

