main {
    display: grid;
    grid-template-areas:
        "search"
        "landing"
        "content";
    grid-template-columns: 100%;
    grid-template-rows: auto 300px auto;
}
.search {
    grid-area: search;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.landing {
    grid-area: landing;
    z-index: 0;
}

.content {
    grid-area: content;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 85px 465px 238px 270px auto 510px 400px auto;
    column-gap: 0rem;
    row-gap: 0rem;
    margin-top: -2rem;
}

.h1 {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    background: rgba(8, 136, 126, .9);
    border-radius: .2rem;
    padding: .5rem;
    color: #fff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 0;
}

.h1>h1 {
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
}

.ship-content {
    grid-column: 1;
    grid-row: 3;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.nav-cruise {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.ship-content>div {
    border-radius: .2rem;
}
.ship-content .swiper-button-next,
.ship-content .swiper-button-prev {
    z-index: 1;
}

.head-cruise {
    grid-column: 1;
    grid-row: 2;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: .2rem;
    padding: 1.5rem;
}

.cabin-cruise {
    grid-column: 1;
    grid-row: 5;
    padding: 1rem;
}

.info-cruise {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.info-cruise h2 {
    font-size: 2rem;
}

.price-cruise {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.price-cruise-min {
    font-size: 2.6rem;
}

.price-cruise-min strong {
    color: #222;
}

.price-cruise-max {
    font-size: 1.6rem;
    text-decoration: line-through;
    color: #999;
}

.price-promo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: .3rem;
    margin-top: 1rem;
}
.price-promo button{
    background-color: #fff;
    border: 1px solid #18baad;
    border-radius: 0.2rem;
    padding: 0.1rem 0.3rem;
    color: #18baad;
    text-transform: uppercase;
    font-size: .8rem;
    cursor: pointer;

}
.price-promo button:active,
.price-promo button:focus,
.price-promo button:hover {
    background-color: #18baad;
    color: #fff;
}

.logo-cruise {
    max-height: 40px;
    margin-top: 1rem;
    width: auto;
    max-width: 100%;
height: auto;
}

#map {
    height: 100%;
    z-index: 1;
}

.leaflet-zoom-animated {
    background: rgba(24, 186, 173, 0.1);
}


.cabin-cruise .tabs>label img {
    width: 100%;
    height: 100%;
    border-radius: .2rem;
    opacity: .5;
}

.cabin-cruise .tabs>label strong {
    font-size: 2rem;
    color: #222;
}

.cabin-cruise .tabs>label {
    position: relative;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    /*flex: 1 1 0px;*/
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cabin-cruise .tabs-radio {
    background-color: #fff;
    border: 1px solid #222;
    position: absolute;
    top: .5rem;
    left: .5rem;
    height: 1rem;
    width: 1rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabin-cruise .tabs .tab {
    padding-top: 0;
}

.cabin-cruise .tabs .tab>div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: left;
    overflow-x: auto;
    width: 100%;
}

.cabin-cruise .tabs .tab>div .radio-cabin {
    /*flex:1 1 15%;*/
    flex: 0 1 calc(25% - 1rem);
    position: relative;
}

.cabin-cruise .tabs {
    gap: 1rem;
    justify-content: center;
    scroll-margin: 3rem;
    flex-direction: column;
}

.cabin-cruise .tabs [type=radio]:checked+label {
    background-color: #fff;
    color: #222;
    box-shadow: inset 0px 0px 15px 0px #FF6000;
    border: 2px solid #ff6000;
}

.cabin-cruise .tabs [type=radio]:checked+label .cabina-prezzo {
    color: #ff6000;
}

.cabin-cruise .tabs [type=radio]:checked+label strong {
    color: #ff6000;
}

.cabin-cruise .tabs [type=radio]:checked+label img {
    opacity: 1;
}

.cabin-cruise .tabs [type=radio]:checked+label .tabs-radio span {
    background-color: #222;
    height: .5rem;
    width: .5rem;
    border-radius: 100%;
}

.cabin-cruise .cabin-title {
    font-size: 1.6rem;
    color: #fff;
    background-color: #08887e;
    margin-bottom: 1rem !important;
    margin-top: 1.5rem;
    border-radius: .2rem;
    padding: 0 1.5rem;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.cabin-cruise .tab label {
    position: relative;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    flex: 1 1 0px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    margin-right: 0.0625rem;
    cursor: pointer;
    background-color: #fff;
    color: #222;
    font-size: 1.2rem;
    transition: background-color ease 0.3s;
    border-radius: .2rem;
    white-space: nowrap;
}

.cabin-cruise .tab label .modal-container{
        white-space: normal !important;
}

.cabina-info {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
}

.cabina-info .cabina-tipo {
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    column-gap: 1rem;
}

.cabina-info .cabina-promo {
    background-color: #18baad;
    font-weight: 900;
    padding: .1rem .5rem;
    color: #fff;
    font-size: 90%;
    border-radius: .2rem;
}

.cabina-info .cabina-prezzo {
    font-weight: 900;
    font-size: 2.6rem;
    color: #222;
}

.radio-cabin input[type=radio]:checked+label {
    /*  background-color: red !important;
      color: #fff;*/
}
.radio-cabin .btn-orange {
    position: absolute;
top: .5rem;
right: .5rem;
}
.itinerary {
    grid-column: 1;
    grid-row: 6;
    scroll-margin: 3rem;
    padding: 1rem;
}

.itinerary>div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.itinerary .citytab {
    flex: 0;
    display: flex;
    flex-direction: row;
    margin-top: 0;
    margin-bottom: 0;
    overflow-y: auto;
    max-height: none;
    column-gap: .5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.itinerary .citytab button {
    background-color: #a8e3de;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    color: #222;
    border-radius: .2rem .2rem 0 0;
    padding: 1.2rem 1rem;
    cursor: pointer;
}

.itinerary .citytab button:hover {
    background-color: #ff8f00;
    border-color: transparent;
}

.itinerary .citytab .active {
    background-color: #fff;
    border-color: transparent;
}

.itinerary .cityinfo {
    flex: 0 0 70%;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: .2rem;
    padding: 1.5rem;
}

.itinerary .cityinfo>div {
    overflow-y: auto;
    max-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.itinerary .citycontentint img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    vertical-align: middle;
    border-radius: .2rem;
    margin-bottom: 1rem;
}

.itinerary .cityinfo h3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.itinerary .citytab button img {
    vertical-align: middle;
}

.itinerary .citytab .cityday {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-direction: column;
}

.itinerary .citytab .cityday span:nth-child(1) {
    border-radius: 100%;
    background-color: #5ccec5;
    display: flex;
    height: 30px;
    width: 30px;
    align-items: center;
    justify-content: center;
}
.itinerary .citytab .cityday span:nth-child(2) {
    text-align: center;
    white-space: nowrap;
}
.itinerary .citytab .cityhours {
    white-space: nowrap;
}
.itinerary .citynav{
    pointer-events: none;
    opacity: .5;
}

.itinerary > h3 {
    font-size: 2rem;
}
.info-cabin {
    grid-column: 1;
    grid-row: 7;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: #08887e;
    border-radius: 0;
    margin-top: 2rem;
    padding: 1.5rem;
    color: #fff;
}

.info-ship {
    grid-column: 1;
    grid-row: 8;
    width: 100%;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: .2rem;
    padding: 1.5rem;
}

.video-ship {
    grid-column: 1;
    grid-row: 9;
    width: 100%;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    border-radius: .2rem;
    padding: 1.5rem;
}

.video-ship>iframe {
    height: 250px;
    max-height: 100%;
    border-radius: .2rem;
}

.info-ship>div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
}

.info-ship>div div:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.info-ship>div div:nth-child(1)>* {
    border-bottom: 1px dashed #18baad;
}

.info-ship>div div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.cabin-slider {
    height: auto;
}

.cabin-slider .swiper-slide {
    position: relative;
    background-color: #fff;
    border-radius: .2rem;
    height: min-content !important;
    display: flex;
}

.cabin-slider .swiper-slide img {
    border-radius: .2rem;
}

.cabin-slider .swiper-slide h3 {
    position: absolute;
    color: #fff;
    top: 1rem;
    left: 1rem;
    background-color: #08887e;
    padding: 0 .5rem;
    border-radius: .2rem;
    font-size: 1.8rem;
}

.nocabin {
    background-color: rgba(255, 255, 255, .6) !important;
    pointer-events: none;
    display: none !important;
}
.nocabin .timbro-completo{
    position: absolute;
z-index: 1;
top: 0;
right: 0;
}

/*.nocabin:before,
.nocabin:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #000;
    border-radius: 1px;
    z-index: 1;
}

.nocabin:before {
    transform: rotate(45deg);
}

.nocabin:after {
    transform: rotate(-45deg);
}*/

.cabin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: .2rem;
    padding: 2rem;
}

.cabin-post {
    grid-column: 1 / 6;
    grid-row: 3;
    text-align: right;
}

.cabin-txtarea {
    grid-column: 1 / 4;
}

.cabin-det .btn-orange {
    font-size: 1.4rem;
    width: 100%;
    margin-top: 1rem;
}

.swiper-slide  picture  img{
    max-width: 100%;
}


.pristine-error {
    order: 2;
    flex-basis: 100%;
    background-color: #ff3000;
    border-radius: 2px;
    padding: 2px 5px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: 10px;
}

.pristine-error:before,
.pristine-error:before {
    content: "";
    display: block;
    position: absolute;
    right: auto;
    top: -10px;
    border-bottom: 10px solid #ff3000;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-right-color: transparent;
    border-right-style: solid;
    border-right-width: 10px;
    left: 50%;
    margin-left: -5px;
}

.nav-cruise button {
    font-size: 1.6rem;
    text-transform: uppercase;
    background-color: #ff6000;
    padding: .5rem 1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: min-content;
    align-items: center;
    border-radius: .2rem;
    transition: .2s ease;
    border: 0;
    font-family: inherit;
    flex: 1 1 100%;
}

.nav-cruise button:active,
.nav-cruise button:focus,
.nav-cruise button:hover {
    background-color: #ff8f00;
}

.nav-cruise button span {
    color: #222;
    margin-right: .5rem;
}

.citytab::-webkit-scrollbar,
.citycontent::-webkit-scrollbar {
    width: 2px;
}

.citytab::-webkit-scrollbar-track,
.citycontent::-webkit-scrollbar-track {
    background: #fff;
}

.citytab::-webkit-scrollbar-thumb,
.citycontent::-webkit-scrollbar-thumb {
    background: #18baad;
}

.citytab::-webkit-scrollbar-thumb:hover,
.citycontent::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.cabin-det .sconto-ecommerce {
    white-space: normal;
  }
  

@media(min-width: 700px) {
    main {
        grid-template-areas:
            "landing landing landing"
            ". search ."
            ". content .";
        grid-template-columns: 1fr minmax(900px, 1400px) 1fr;
        grid-template-rows: 500px auto auto;
    }

    .content {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto 310px 50px auto 510px 340px 340px;
        margin-top: -7rem;
        row-gap: 4rem;
    }
    

    .h1 {
        grid-column: 1 / 13;
        grid-row: 1;
        padding: .5rem 1.5rem;
        margin-bottom: -3rem;
    }

    .h1>h1 {
        font-size: 2rem;
        font-weight: 300;
    }
    .search {
        display: none;
    }
    .ship-content {
        grid-column: 1 / 5;
        grid-row: 2;
        width: 100%;
    }

    .head-cruise {
        grid-column: 5 / 13;
        grid-row: 2;
        display: flex;
        flex-direction: row;
        z-index: 2;
    }

    .nav-cruise {
        grid-column: 1 / 13;
        grid-row: 3;
        flex-wrap: nowrap;
        padding: 0;
    }

    .cabin-cruise {
        grid-column: 1 / 13;
        grid-row: 4;
        width: 100%;
        padding: 0;
    }

    .cabin-form {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
        padding: 2rem;
    }

    .cabina-info .cabina-tipo {
        flex-direction: row;
    }

    .itinerary {
        grid-column: 1 / 13;
        grid-row: 5;
        width: auto;
        padding: 0;
    }
.ship-content .swiper-wrapper{
    z-index: 1;
}
    .cabin-cruise .tabs {
        flex-direction: row;
    }

    .cabin-cruise .tabs .tab>div {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
        align-items: center;
    }

    .cabin-cruise .tabs>label {
        flex: 0 1 calc(25% - 1rem);
    }

    .info-cabin {
        grid-column: 1 / 13;
        grid-row: 6;
        width: 100%;
        border-radius: .2rem;
    margin-top: 0;
    background-color: #fff;
    color: #222;
    }

    .info-ship {
        grid-column: 1 / 6;
        grid-row: 7;
    }

    .video-ship {
        grid-column: 6 / 13;
        grid-row: 7;
        background-color: #fff;
    }

    .nocabin {
        display: flex !important;
    }

    .video-ship>iframe {
        height: 350px;
    }

    .itinerary>div {
        flex-direction: row;
        padding: 0;
        height: 100%;
    }

    .itinerary .citytab {
        flex: 0 0 30%;
        flex-direction: column;
        margin-top: 1rem;
        margin-bottom: 1rem;
        row-gap: .2rem;
        overflow-x: auto;
        overflow-y: visible;
        max-height: 550px;
        margin-left: 0;
        margin-right: 0;
    }

    .itinerary .citytab button {
        border-radius: .2rem 0 0 .2rem;
        flex-direction: row;
    }
    .itinerary .citytab .cityday {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .itinerary .citytab .cityday span:nth-child(2) {
        text-align: left;
    }
    .itinerary .citycontentint img {
        height: 250px;
    }
    .itinerary .cityinfo>div {
        max-height: 460px;
    }
    .itinerary .citynav{
        padding-top: .2rem !important;
        padding-bottom: .2rem !important;
    }
    .info-ship>div {
        flex-direction: row;
    }
    .info-cruise {
       text-align: left;
    }
    .price-cruise {
        border-left: 1px solid #18baad;
    }
}