/* ----- header ----- */
.menu-2>div {
    transition: all .5s ease-in;
    background: #0758a966;
}

.menu-2.menu-2-scrolled>div {
    background: #0758a9d1;
}

.menu-1-inner .dropdown {
    display: ruby;
}

.menu-2 .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    right: -30px;
    background-color: #0758a966;
    background-image: linear-gradient(45deg, #0758a966, #0758a9 80%);
    overflow-x: hidden;
    transition: .5s;
    padding-top: 75px;
    box-shadow: 0 0 25px 8px rgba(44, 71, 74, .4);
}

.header-home-2 h1 {
    font-weight: 700;
    font-size: 60px;
    text-shadow: 7px 2px 7px #022431;
}

/*.header-home-2 h5 {
    font-size: 4vh;
    color: #0e2e57;
    max-width: 425px;
    font-weight: 800;
    text-shadow: 3px 2px 5px white;
}*/

.header-home-2 h5 {
    font-size: 4vh;
    color: #a1cfff;
    max-width: 425px;
    font-weight: 800;
    text-shadow: 3px -3px 2px #022431;
}

.sidenav ul {
    padding-left: 20px;
}

.hh3 .header-cont h5 {
    color: #ffffff;
}

#mainnavbar .form-control {
    color: white;
    background-color: unset;
}

#mainnavbar .form-control:focus {
    /*color: white;*/
    color: #022431;
    background-color: none!important;
    border-color: unset !important;
    outline: 0;
    box-shadow: unset;
}

.menu-2.menu-3-color .sidenav {
    background-color: #0224319c;
    background-image: linear-gradient(45deg, #022431, #08435a 80%);
    box-shadow: none;
}


/* ------ home  -------- */
.swip.h3-about-section.half-trasp::before {
    content: "";
    position: fixed;
    top: 0;
    right: 15%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%);
    z-index: 0;
}
#main-3 .thm-h h2 {
    font-family: Sen;
    letter-spacing: .03em;
    margin-bottom: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: #0e2e57;
}

#main-3 .button-fancy>.btn-arrow {
    background-color: white;
    background-image: linear-gradient(45deg, #0758a9, #0758a966 75%);
    border: unset;
}

.button-fancy:hover.-color-1>.btn-arrow:after, .button-fancy:hover.-color-1>.btn-arrow:before {
    background-color: #0758a98c;
}

.button-fancy:hover>.text {
    color: #0758a9;
}

.servicebox-first {
    background: unset !important;
    background-color: #0758a98a !important;
    background-blend-mode: color  !important;;
}

.servicebox:hover h4 {
    top: -25px;
    transition: all .3s .2s;
}

.testimonial {
    background-color: white;
    background: unset;
}

#main-3 #h-our-history-2.half-section .writing-sec {
    background: none;
    box-shadow: none;
}

.instagram-sec, .instagram-sec.dark {
    background: #06062a;
    background-image: linear-gradient(0deg, #06062a 50%, #fff 40%);
}

.inner-tilt {
    background: #57717f;
}

#instagram.main-section {
    padding-top: 0;
}

#h-charter .home-about-3 {
    text-align: center;
    margin: 50px auto;
}
#h-charter .thm-h-3.thm-h h4:after {
    display: none;
}

/* ------ footer ------- */

footer .navbar-brand img {
    max-height: 100px;
}

.social.mt-3 i.fab {
    font-size: 2rem;
}

/* ------- dett. barca -------- */

.header-inner .header-cont::before {
    background: none;
}

.home-about-3 {
    margin: 50px 5px;
}

/* ------ dettagli tour ------- */
.y-single_form {
    background-image: unset;
}
.owl-carousel-3-c .owl-nav{
    text-align: center;
}


/* ------ about ------ */

.y-section_inner.y-about_block.half_transp_descr::before {
    content: "";
    position: fixed;
    top: 0;
    right: 15%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%);
    z-index: 0;
}

/* ------- plain layout header -------- */

header#plain .header-inner.hi-about-us.mb-0{
    position: relative;
    z-index: 99;
}

/* ------- gestione popup ------- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup {
    background: white;
    border: 1px solid #06062a;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    text-align: center;
    color: #06062a;
    width: 33.33%; /* Larghezza di un terzo della finestra */
    max-width: 400px; /* Larghezza massima */
    box-sizing: border-box;
    margin: auto; /* Centra il popup orizzontalmente */
    top: 50%; /* Posiziona il popup a metà della finestra */
    transform: translateY(-50%); /* Centra il popup verticalmente */
}
@media (max-width: 767px) {
    .popup {
        width: 90%; /* Occupa il 90% della larghezza della finestra */
        max-width: none; /* Rimuove la larghezza massima */
        padding: 20px; /* Riduce il padding per adattarsi meglio ai dispositivi mobili */
    }
}
.popup .close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
    font-size: 30px;
}

.floating-btn {
    font-size: 18px;
    position: fixed;
    bottom: 30px;
    left: 30px; /* Posiziona il pulsante in basso a sinistra */
    background: #06062a;
    color: white;
    border: 2px solid white; /* Aggiungi un bordo bianco */
    border-radius: 5px;
    padding: 15px 25px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Aggiungi un'ombra */
    animation: pulse 2s infinite; /* Aggiungi l'animazione di battito */
}


.popup .read-more.button-fancy {
    display: inline-block;
    margin-top: 20px;
}

#popup-message{
    margin: 0;
}