* {
    font-family: 'Inter', sans-serif; /* O il nome del font locale */
}

h1, h3, h2 , h4,h5{
    font-family: 'Aboreto', sans-serif;
}


body {
    background-color: #f8f6f7;
}
.cormorant-infant-light {
    font-family: "Cormorant Infant", serif; /* Applica il font Cormorant Infant */
    font-style: italic; /* Rende il testo corsivo */
    font-weight: 300; /* Applica un peso leggero, puoi modificarlo se necessario */
    font-size: 30px; /* Dimensione del testo, personalizzabile */
}

.second-section a {
    color: #3d6f5a;
}


.card-section .card .btn-primary a {
    color: white;
}

.small-header {
    background-color: #FEEAD7;
    padding-top: 10px;
    padding-bottom: 10px;
    height: min-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-header .navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.small-header .navbar-nav li {
    margin: 0 12px;
    float: left;
    z-index: 1000 !important;
}

.small-header .navbar-nav li .dropdown-menu li{
    text-align: center;
    float: none;
}

.small-header .navbar-nav a {
    text-decoration: none;
    font-size: 12px;
    color: #326750 !important;
    height: 100%;
    margin-left: 10px;
}


/* Center the logo in the small header */
.small-header .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    text-align: center;
}


.third-section .container-fluid {
    background-color: #f8f6f7;
}

.nav-link:hover {
    text-decoration-line: underline;
    text-decoration-color: #feead7;
}

.wc-block-cart-item__wrap .wc-block-components-product-name:hover {
    text-decoration-line: underline !important;
    text-decoration-color: #feead7 !important;
}

.wave {
    z-index: 1;
}

.align {
    text-align: center;
}

@media (max-width: 992px) {
    .align {
        text-align: center;
    }
}


/*INIZIO CAROUSEL*/
#carouselExampleFade .carousel,
.item,
.active {
    height: 100%;
}

#carouselExampleFade .carousel-inner {
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    /*  background: #000;*/
}

.background-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#carouselExampleFade .carousel-caption {
    padding-bottom: 80px;
}

h2 {
    font-size: 60px;
}


.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    opacity: 0.6;
}

.btn-transparent {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-transparent:hover {
    background-color: #fff;
}

.btn-rounded {
    border-radius: 70px;
}

.btn-large {
    padding: 11px 45px;
    font-size: 18px;
}

.animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}


/* Initially hide the text */
#carouselExampleFade .carousel-caption h5,
#carouselExampleFade .carousel-caption p {
    opacity: 0;
}

/* Apply fade-in animation only when the slide is active */
#carouselExampleFade .carousel-item.active .carousel-caption h5,
#carouselExampleFade .carousel-item.active .carousel-caption p {
    animation: fadeInRight 1s forwards;
}

/* Optionally add delays to create a staggered effect */
#carouselExampleFade .carousel-item.active .carousel-caption h5 {
    animation-delay: 0.5s;
}

#carouselExampleFade .carousel-item.active .carousel-caption p {
    animation-delay: 1s;
}



/*FINE CAROUSEL*/

/*TODO: INIZIO Header*/
/* Nascondi i menu di default */
.menu-icon {
    display: none !important;
}

/* Rimuovi il bordo del bottone quando è attivo o in focus */
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

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

/* Stili per la navbar */
@media (min-width: 768px) {
    .navbar-toggler {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .navbar .container-fluid {
        overflow: visible;
        height: auto;
    }

    .menu-icon.display-block {
        display: block !important;
    }
}

/* Mostra i menu-icon normalmente su mobile */
@media (max-width: 767.98px) {
    .navbar-nav li {
        margin: 10px 0;
        text-align: center;
    }
}

/* Rimuovi margini e padding dalla navbar quando è aperta */
.navbar-collapse.show {
    padding: 0;
    margin: 0;
}

/*Desktop*/
@media (min-width: 768px) {
    .logo-mobile {
        display: none !important;
    }

    .card-section .mobile {
        margin-right: 80px;
        padding: 5px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .logo-mobile {
        display: none !important;
    }
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .card-section .mobile {
        margin-right: 80px;
        padding: 5px;
    }
}
.navbar-toggler-icon {
    /*colore icon menu*/
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/*TODO: FINE HEADER*/


.zoom-image {
    transition: transform 0.3s ease; /* Transizione dolce per l'ingrandimento */
    margin-right: 10px; /* Spaziatura tra le immagini */
}

.zoom-image:hover {
    transform: scale(1.1); /* Ingrandisce l'immagine al passaggio del mouse */
}

/*Mobile*/
@media (max-width: 792px) {
    .card-section .card {
        max-width: 350px;
    }
}

.navbar{
    background: #fff
    url("https://nomadjo.com/wp-content/uploads/2024/10/DSC_460012-1.png")
    no-repeat center center;
}

/*FINE Header*/


/*Ipedisce all'immagine di andare oltre la col in cui si trova**/
.second-section .decoration img {
    max-width: 60%;
    height: auto;
}

.second-section .col-lg-6 {
    overflow: hidden;
}

/*****/



#carouselExampleFade .img-container {
    width: 100%;
    /*height: 800px;*/
    overflow: hidden;
}

#carouselExampleFade .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main {
    margin: 0px !important;
    padding: 0px !important;
}

#carouselExampleFade .carousel-caption {
    position: absolute;
    top: 75%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
}

#carouselExampleFade .carousel-img {
    max-height: 700px;
}

.carousel-caption h5 {
    font-size: 2rem;
    color: #fff;
}

.carousel-caption p {
    font-size: 1rem;
    color: #fff;
}

/*SWIPER*/
/*TODO: Animazione slider */
#carouselExampleFade .carousel-item {
    transform-style: preserve-3d;
    transition: transform 1.6s ease-in-out, opacity 0.6s ease-in-out;
    backface-visibility: hidden;
}

/* Animazione continua per l'elemento attivo */
#carouselExampleFade .carousel-item.active {
    animation: depthEffect 16s forwards ease-in-out;
    transform: scale(1) rotateY(0deg);
    opacity: 1;
}

/* Slide successiva e precedente: ridotte e leggermente ruotate */
#carouselExampleFade .carousel-item-next.carousel-item-left,
#carouselExampleFade .carousel-item-prev.carousel-item-right {
    transform: scale(0.8) rotateY(10deg);
    opacity: 0.8;
}

/* Posizionamento delle slide in entrata e uscita */
#carouselExampleFade .carousel-item-prev,
#carouselExampleFade .carousel-item-next {
    position: absolute;
    top: 0;
    transform: scale(1.2) rotateY(-10deg);
    opacity: 0;
}

/* Definizione dell'animazione continua solo in avanti */
@keyframes depthEffect {
    0% {
        transform: scale(1) rotateY(0deg);
    }
    100% {
        transform: scale(1.2) rotateY(10deg);
    }
}
#carouselExampleFade .carousel-item {
    will-change: transform, opacity;
}

@media (max-width: 792px) {
    .intro .constant-text {
        font-family: Aboreto, serif;
        position: absolute;
        bottom: 20px;
        left: 15px;
        color: white;
        font-size: 30px !important;
        z-index: 10;
        /* background-color: rgba(0, 0, 0, 0.5); /* Sfondo semi-trasparente per una migliore leggibilità */
        padding: 10px;
    }
}
.intro {
    position: relative;
}
.intro .carousel-item {
    position: relative;
}

.intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.intro .constant-text {
    font-family: Aboreto, serif;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 50px;
    z-index: 10;
    /* background-color: rgba(0, 0, 0, 0.5); /* Sfondo semi-trasparente per una migliore leggibilità */
    padding: 10px;
}

/*.intro{
    z-index: 1;
}*/

.second-section .text {
    z-index: 1;
}

.third-section{
    padding-top: 50px;
}


.jumbotron {
    height: fit-content;
}


/*
.third-section .card-text{
    color: white;
}

.card-img{
    opacity: 0.5;
    border-radius: 10px !important;
    background-size: cover;
}

.card-body {
    position: relative;
}

.card{
    border-radius: 10px !important;
    margin: 10px;
}

.overlay {
    border-radius: 10px !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.card-img-overlay {
    position: relative;
    z-index: 2;
}

.btn .button_card{
    background-color: #adcfa2;
}
*/
.box {
    /*padding: 20px;*/
    /*border: 1px solid #ddd;*/
    border-radius: 5px;
    height: max-content; /* Imposta l'altezza della box */
    display: flex;
    align-items: center; /* Allinea i contenuti verticalmente al centro */
}

.box img {
    width: 100%; /* Imposta una larghezza fissa per l'immagine */
    height: 400px; /* Imposta un'altezza fissa per l'immagine */
}

.box-left, .box-right {
    display: flex;
    /*  justify-content: space-between; /* Distribuisce uniformemente gli elementi in entrambe le box */
    flex-direction: row; /* Assicura che gli elementi siano disposti in riga */
}

.box-left {
    background-color: #adcfa2;
}

.box-right {
    background-color: #FEEAD7;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jumbotron {
    background-image: linear-gradient(#326750, #adcfa2);
    margin-bottom: 0px !important;
}

/*
.skewed-wrapper {
    position: relative;
    z-index: -1;
}

.skewed {
    position: absolute;
    top: -50px;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #326750;
    z-index: -1;
    transform: skewY(9deg);
    transform-origin: top right;
}*/
.btn-primary, .btn-secondary, .button-after-card {
    background-color: #326750 !important;
    border-color: #326750 !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .card {
        margin: 10px;
    }

    .box-left img,
    .box-right img {
        width: 100%;
        height: auto;
    }

    .box-left,
    .box-right {
        padding: 30px;
    }

    .box-left .text-container,
    .box-right .text-container {
        padding: 30px;
    }
}

.about-us .card-section {
    margin-top: 100px
}

.about-us-img {
    margin: auto;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    /*border-radius: 50px;*/
}

.about-us .container-fluid {
    /* height: auto;
     background-color: #3d6f5a;*/
}

.about-us .title {
    color: white !important;
}

.about-us .container-fluid .title {
    margin-top: 40px;
}

.about-us_img_page {
    /*max-width: 80%;*/
    height: 600px; /* Altezza fissa per tutte le immagini */
    object-fit: cover; /* Mantiene il rapporto di aspetto senza distorsioni */
    border-radius: 50px;
    float: right; /* Allinea l'immagine a destra */
}

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center; /* Assicura che l'immagine sia allineata a destra */
    width: 100%;
}

.paragraph_2 {
    text-align: left; /* Per garantire che il testo resti allineato a sinistra */
}


hr {
    width: 50%;
    margin: 0 auto 5rem;
    border-color: #333; /* colore più scuro */
}
.background-overlay .text-center{
    margin-top: 80px;
    margin-bottom: 80px;
}
.background-overlay {
    position: relative;
    /*background-image: url('https://nomadjo.com/wp-content/uploads/2024/05/vista-sopra-l-assortimento-di-articoli-da-viaggio-natura-morta-scaled.jpg');*/
    background-size: cover;
    background-position: center;
    padding: 10px;
    color: white;
    /*max-height: 150px;*/
    background-color: #A1C999;
}

.background-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.background-overlay h2,
.background-overlay hr {
    position: relative;
    z-index: 2;
}

/* IDEA: SEZIONE SHOP */


.card-products {
    padding: 20px !important;
    text-align: center;
    border-radius: 10px !important;
    border: none !important;

}
.product-details .first-section .info{
    font-size: 13px
}
.shop-page {
    background-color: #f5f5f5;
}

.shop-page .background-overlay {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.shop-page .woocommerce-loop-product__title {
    font-size: 20px !important;
    padding: 20px;
    color: #fff;
}

.shop-page .title {
    padding: 20px;
    color: #fff;
}

.shop-page .filter-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shop-page .filter-box h3 {
    font-size: 23px;
    color: #333;
    margin-bottom: 20px;
}

.shop-page .form-select,
.shop-page .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px;
}

.shop-page .price-filter {
    margin-top: 20px;
    display: block;
}

.shop-page .price {
    padding-bottom: 20px;
    display: block;
}


.shop-page .price-filter label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}


.shop-page .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-page .product-grid .product {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-container .card img {

}

.woocommerce-loop-category__title {
    color: black !important;
}

.add_to_cart_button {
    background-color: #A1C999 !important;
    color: white !important;
}

.added_to_cart:hover {
    color: #adcfa2;
}

.added_to_cart {
    color: #326750;
}

/* IDEA: SEZIONE SHOP */

.wp-block-woocommerce-checkout {
    padding: 20px !important;
}

/* IDEA: SEZIONE CARRELLO */

.content {
    /*margin: 10px !important;*/
    text-align: justify;
    text-justify: inter-word;
}

.wc-block-cart-items__header {
    text-align: center;
}

.wc-block-components-product-name, .wc-block-components-totals-coupon-link {
    color: black;
}

/* Prezzo scontato */
del {
    color: gray;
}

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

.summary .price {
    font-size: 30px !important;
}

.onsale {
    display: none;
}

/*Scritta "aggiungi un codice promozionale*/
.wc-block-components-product-name, .wc-block-components-totals-coupon-link:hover {
    color: #326750;
    text-decoration: none;
}

/*Bottoni del carrello*/
.components-button, .wc-block-components-button {
    background-color: #326750 !important;
    border-color: #326750 !important;
    border-radius: 3px !important;
    color: white;
}

.components-button:hover {
    background-color: #A1C999 !important;
    border-color: #326750 !important;
    border-radius: 3px !important;
    color: white;
    text-decoration: none;
}

.wc-block-components-button:hover {
    background-color: #A1C999 !important;
    border-color: #326750 !important;
    border-radius: 3px !important;
    color: white;
    text-decoration: none;
}

/****************************/

/*sezione carrello con totale e subtotale */
.wc-block-cart {
    padding: 10px !important;
}

/* INIZIO Carrello vuoto*/
.wc-block-grid__product-title {
    color: black !important;
}

.wp-block-button__link {
    border: none !important;
}

.wc-block-grid__product-onsale {
    min-height: 3.236em;
    min-width: 3.236em;
    padding: .202em;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    line-height: 3.236;
    top: -.5em;
    left: -.5em;
    margin: 0;
    border-radius: 100% !important;
    background-color: #326750 !important;
    color: #fff !important;
    z-index: 9;
}

/* FINE Carrello vuoto*/

/* IDEA: SEZIONE CARRELLO */

.cart-contents:before {
    font-family: WooCommerce;
    content: "\e01d";
    font-size: 28px;
    margin-top: 10px;
    font-style: normal;
    font-weight: 400;
    padding-right: 5px;
    vertical-align: bottom;
    color: white !important;
}

.cart-contents {
    text-decoration: none;
    color: white;
}

.cart-contents:hover {
    text-decoration: none;
    color: white;
}

.dropdown-item:focus {
    background-color: lightgrey !important;
}


/*Product single */

.entry-title {
    padding-top: 40px;
    text-align: center !important;
}

.woocommerce-product-gallery__trigger {
    display: none;
}


.quantity {
    display: flex;
    flex-direction: column;
    /* Centra il campo di input verticalmente ed orizzontalmente */
    margin: auto auto 20px;
}

.quantity label {
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
}

.quantity input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    margin: auto;
    transition: border-color 0.3s ease;
    margin-bottom: 30px;
}

.quantity input:focus {
    border-color: #326750;
}

.cart {
    display: flex;
    flex-direction: column;
}

.cart .button {
    margin-top: 20px;
}

.cart .quantity {
    display: flex;
    flex-direction: row;

}

.cart .quantity label {
    margin-right: 10px;
}

.cart .quantity input {
    width: 50px;
}

@media only screen and (max-width: 600px) {
    .cart .quantity input {
        width: 30px;
    }
}

.flex-control-nav {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.woocommerce-tabs {
    margin-bottom: 100px;
}

.related {
    text-align: center !important;
    margin-bottom: 30px !important;
    display: none;
}

.related h2 {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.previous-post {
    margin-left: 10px;
}

.next-post {
    margin-right: 10px;
}

.posted_in a, .tagged_as a {
    color: #0a3622 !important;
}

.description_tab {
    color: #0a3622 !important;
}

.woocommerce-product-details__short-description p {
    padding: 30px !important;
}

.product-details .form-contact{
    padding: 25px;
}

.wcpa_wrap .wcpa_checkbox input:checked ~ .wcpa_checkbox_custom {
    background-color: #326750 !important;
    border-color: green !important;
}

/*.summary{
    position: relative;
    /*background-image: url('https://nomadjo.com/wp-content/uploads/2024/05/Nomad-Logo-2-e1716971218708.png'); /* Sostituisci con l'URL dell'immagine
    background-size: cover;
    background-position: center;
    color: black;
}*/
.summary.entry-summary {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
    padding-top: 30px;
    margin-left: 0px;
}

.variations_form.cart {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.variations_form.cart .variations,
.variations_form.cart .variations td.value,
.single_variation_wrap,
.product_meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce-variation-add-to-cart {
    margin-top: 20px; /* Adds space above the button */
}


.woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce-variation-add-to-cart .quantity {
    margin-bottom: 10px;
}

.single_add_to_cart_button {
    width: 100%;
    margin-top: 10px;
    background-color: #326750 !important;
    margin: auto;
    height: 50px;
    margin-bottom: 30px;
}

/* OPZIONI VARIANTI */
.variations_form.cart .table {
    margin-bottom: 0;
}

.variations_form.cart .label {
    text-align: right;
    vertical-align: middle;
    padding-right: 15px;
}

.variations_form.cart .value {
    text-align: left;
}

/*Select option*/
.variations_form.cart select.form-control {
    width: 100%;
    padding: .375rem 1.75rem .375rem .75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4L2 0zm0 5L0 3h4L2 5z'/%3E%3C/svg%3E") no-repeat right .75rem center/8px 10px;
    background-color: #fff;
    margin-top: 30px;
}

.single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: 100%;
    max-width: 300px;
}

.variations tbody {
    border: none !important;
}

/*ABOUT US */
.team-img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 50% !important;
}

.title-decoration {
    position: relative;
    padding-bottom: 10px;
    text-align: center !important;
}

.title-decoration::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #3d6f5a; /* Change this to the color you want */
    border-radius: 5px; /* Optional: adds rounded corners to the dots */
}

#carouselExampleFade .carousel-control-prev, .carousel-control-next {
    /*color: black !important;*/
}

.about_us_bottom {
    background-image: linear-gradient(#326750, #adcfa2);
    margin-bottom: 0px !important;
}


/* Contact Form 7 Form Background And Border CSS
 -----------------------------------------------*/
.wpcf7-number {
    font-size: 16px;
    border: none;
    width: 95%;
    padding: 2%;
    background-color: #eceaea;
    border-radius: 5px;
}

.wpcf7 {
    /*background: #A3A3A3;
    border: 1px solid lightgrey;*/
}

/* Contact Form 7 Input fields and text area CSS
 ---------------------------*/
.wpcf7-form {
    margin-top: 30px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
textarea {
    font-size: 16px;
    border: none;
    width: 100%;
    padding: 2%;
    background-color: #eceaea;
    border-radius: 5px;
}

/* Contact Form 7 Submit Button
 -------------------------------*/
.wpcf7 input[type="submit"] {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    background: #326750;
    padding: 15px 25px;
    border: none;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.wpcf7 input:hover[type="submit"] {
    /* background: #494949;*/
    transition: all 0.4s ease 0s;
}

.wpcf7 input:active[type="submit"] {
    /*background: #000000;*/
}

/* Checkbox CSS
----------------*/
input[type="checkbox"] {
    transform: scale(1.3);
    margin-left: 5px;
}

span.wpcf7-list-item {
    margin: 0;
    padding-bottom: 20px;
}

.form-center {
    text-align: center;
}

.form-center form {
    display: inline-block;
    text-align: left; /* Questo garantisce che il contenuto del form sia allineato a sinistra, se necessario */
}

.shadow-sm {
    border-radius: 5px;
}

.box-contact-us, .box-about-us {
    border-radius: 60px;
}

.box-about-us .paragraph_2 {
    /*padding-left: 24px;*/
}


.contact-info p {
    padding-left: 0px;
}

.contact-info {
    text-align: left;
}

@media (max-width: 992px) {
    .contact-info {
        text-align: center;
    }
}

.small-img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 1rem; /* Center the image and add some bottom margin */
}

.carousel-control-prev, .carousel-control-next {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) !important;
}

@media (max-width: 575.98px) {
    #carouselExampleFade .carousel-item .col-md-6 {
        margin-bottom: 15px; /* Spazio tra le cards */
    }
}


/*TODO: MAPPA*/

.svg-container {
    margin-top: 38px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100% !important;
}

.map {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.regione {
    cursor: pointer;
    transition: fill 0.3s ease-in-out;

}

.regione:hover,
.regione:active,
.regione:focus {
    fill: #CCCCCC; /* Colore di hover e attivo */
}

.region1 {
    border: 1px solid black;
}

.regione.selected {
    fill: #FEEAD7; /* Colore di highlight */
}

text {
    font-size: 7px;
    padding: 10px;
}

path {
    stroke: #FFF;
    stroke-width: .1px;
}

.regione_legend {
    color: #0a3622 !important;
}

.info-panel .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: #fff;
}

.info-panel .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.info-panel .card-header {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.info-panel .card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.info-panel .card-header:hover .card-img {
    transform: scale(1.1);
}

.info-panel .card-header img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.info-panel .card-header h2 {
    font-size: 24px;
    margin: 15px 0;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.info-panel .card-body {
    padding: 20px;
    text-align: left;
}

.info-panel .card-body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-panel .card-body p strong {
    font-weight: bold;
    color: #555;
}

/*TODO: MAPPA*/

.card-section .scroll-container {
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}


.card-section .scroll-container {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin; /* For Firefox */
}


/*****/
.fifth-section .scroll-container {
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}

.fifth-section .scroll-container img {
    padding: 10px;
}

.fifth-section .scroll-container {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin; /* For Firefox */
}

/***/


.scroll-images {
    /*background-color: #feead7;*/
}


.card-section .scroll-container {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin; /* Per Firefox */
}

.card-section .scroll-container::-webkit-scrollbar {
    height: 10px; /* Per browser WebKit */
}

.card-section .scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.card-section .scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.card-section .card {
    width: 400px; /* Regola in base alle necessità */
    height: 500px;
    margin-right: 10px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    /*height: 460px;*/
    margin-bottom: 1rem;
    border-radius: 20px !important;
}

.card-section .card:hover {
    transform: scale(1.1);
}

.top-right-text {
    position: absolute;
    top: 10px;
    right: 15px;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 30px 10px;
    border-radius: 5px;
    /*font-weight: bold;*/
    color: white;
    font-size: 20px;
}

.top-left-text {
    position: absolute;
    top: 10px;
    left: 15px;

    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 30px 10px;
    border-radius: 5px;
    /*font-weight: bold;*/
    color: white;
    font-size: 20px;
}

.bottom-left {
    padding: 30px 10px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    /*font-weight: bold;*/
    color: white;
    font-size: 30px;

}

.card-section .card-img {
    width: 100%;
    object-fit: cover;
    height: 500px;
    border-radius: 18px !important;
}

.card-section .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0;
}


.card-section .card-img-overlay {
    border-radius: 20px !important;
    height: 500px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.01);
    color: white;
}

.card-section .card .overlay {
    border-radius: 20px !important;
    height: 500px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
}

.card-section .card-text,
.card-section .btn-primary {
    z-index: 1;
}

.card-section .btn-primary {
    background-color: transparent !important;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    display: block !important;
}


.menu-item a {
    color: white !important;
}


.menu-item-image {
    margin: 0 auto 0 !important;
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
}


.info-panel {
    max-width: 500px !important;
}

/*Blog*/
.single .post-navigation {
    margin-bottom: 0px !important;
    padding-bottom: 20px;
}

.dropdown-item {
    margin: 0px !important;
}

#header .container {
    margin-left: 30px;
    margin-right: 30px;
}

.navbar {
    background-color: #326750 !important;
}

#header {
    /* z-index: 1000;*/
    background-color: #326750 !important;
    color: white;
}

.entry-meta {
    display: none !important;
}

.wp-block-column {
    margin-top: 40px !important;
}

.menu-item .nav-link {
    color: white !important;
}

.related {
    margin-left: 30px !important;
}

.woocommerce-loop-product__title, .price {
    color: black !important;
}

.onsale {
    background-color: #41725d !important;
}

.widget-area {
    display: none;
}

footer p {
    color: white !important;
}

.svg-icon {
    width: 100px; /* Dimensione desiderata per le icone */
    height: 100px;
    border-radius: 50%; /* Rende l'elemento rotondo */
    background-color: #f0f0f0; /* Colore di sfondo, se necessario */
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-icon svg {
    width: 60%; /* Dimensione dell'SVG all'interno dell'icona */
    height: auto;
    fill: #ffffff; /* Colore di riempimento dell'icona */
}


.svg-container {
    width: 100%;
    height: auto;
}

.svg-container svg {
    width: 100%;
    height: auto;
    display: block;
}

#comments {
    display: none !important;
}

.wp-block-heading {
    margin-top: 50px;
    margin-bottom: 50px;
}

#sidebar {
    display: none !important;
}


.home-page .top-right-text {
    position: absolute;
    top: 10px;
    right: 15px;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.home-page .top-left-text {
    position: absolute;
    top: 10px;
    left: 15px;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.home-page .bottom-left {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-weight: bold;
    color: white;
    font-size: 30px;

}

.home-page .card {
    border: 0px;
    border-radius: 20px;
    height: 500px;
    /* background-image:url("https://nomadjo.com/wp-content/uploads/2024/10/DSC_460012-1.png") ;*/
    width: 400px;
}

/*CAROUSEL CARDS IN EVENTS */
@media (max-width: 768px) {
    #myCarousel .carousel-inner .carousel-item > div {
        display: none;
    }

    #myCarousel .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

#myCarousel .carousel-inner .carousel-item.active,
#myCarousel .carousel-inner .carousel-item-start,
#myCarousel .carousel-inner .carousel-item-next,
#myCarousel .carousel-inner .carousel-item-prev {
    display: flex;
    justify-content: center; /* Center items horizontally */
}

/*transition-duration: 10s;*/

/* display 4 */
@media (min-width: 768px) {
    #myCarousel .carousel-inner .carousel-item-right.active,
    #myCarousel .carousel-inner .carousel-item-next,
    #myCarousel .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    #myCarousel .carousel-inner .carousel-item-left.active,
    #myCarousel .carousel-item-prev:not(.carousel-item-end),
    #myCarousel .active.carousel-item-start,
    #myCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    #myCarousel .carousel-item-next.carousel-item-start, .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    #myCarousel .carousel-inner .carousel-item-prev,
    #myCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }
}

.events .carousel .card img {
    border-radius: 20px;
    max-height: 200px;
    min-height: 200px;
    max-width: 100%;
    background-color: transparent;
    color: white;
    object-fit: cover;
}

#myCarousel .carousel .card img {
    border-radius: 20px;
    max-height: 200px;
    min-height: 200px;
    max-width: 100%;
    background-color: transparent;
    color: white;
}

.events .carousel .card {
    border-radius: 20px;
    /*max-height: 200px;*/
    background-color: transparent;
    color: white;
}

.events .card-carousel {
    /* height: 800px;*/
    background-color: #a0c898;
}
.card-carousel {
    overflow: hidden; /* Assicura che nulla esca dal contenitore */
}

.why-us .carousel-item {
    height: 500px;
}




#myCarousel .carousel-item {
    /*  height: 900px;*/
}

.product-details .gallery img {
    height: 200px;
    object-fit: cover; /* Cover the container without distortion */
}

.product-details .first-section {
    height: 50px !important;
    background-color: #f2f3f1;
}

/**product-details **/
.product-details .first-section .row {
    height: 50px;
}

.product-details .details-trip .card{
    background-image: url("https://nomadjo.com/wp-content/uploads/2024/10/Aereo.jpg");
    background-size: cover; /* Assicurati che l'immagine di sfondo copra l'intera area */
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
.product-details .price-product {
    font-weight: bolder;
    color: #396c56;
    font-size: 40px;
}

.product-details .first-section .container .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.first-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.first-section .col-md-3 {
    flex: 1 1 20%; /* Assicurati che ciascun campo occupi il 20% dello spazio */
    min-width: 120px; /* Imposta una larghezza minima per i campi */
    box-sizing: border-box; /* Assicurati che il padding e il bordo non influiscano sulla larghezza */
}

.info {
    white-space: nowrap; /* Evita che il testo vada a capo */
    overflow: hidden; /* Nascondi il testo in eccesso */
    text-overflow: ellipsis; /* Mostra i puntini di sospensione per il testo troncato */
}



@media (max-width: 768px) {
    /* Tablet e mobile */
    .product-details .first-section .container .row {
       /* justify-content: space-between;*/
    }
}


.background-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*padding: 50px 0; */
}

.background-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.background-overlay .display-5 {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.background-overlay hr {
    border-color: #fff;
    z-index: 2;
    position: relative;
    opacity: 0.7;
}

/*CAROUSEL REVIEWS*/
@media (max-width: 768px) {
    #carouselReviews .carousel-inner .carousel-item > div {
        display: none;
    }

    #carouselReviews .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

#carouselReviews .carousel-inner .carousel-item.active,
#carouselReviews .carousel-inner .carousel-item-start,
#carouselReviews .carousel-inner .carousel-item-next,
#carouselReviews .carousel-inner .carousel-item-prev {
    display: flex;
    justify-content: center;
}

/*transition-duration: 10s;*/

/* display 4 */
@media (min-width: 768px) {
    #carouselReviews .carousel-inner .carousel-item-right.active,
    #carouselReviews .carousel-inner .carousel-item-next,
    #carouselReviews .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(33%) !important; /* Cambiato a 50% per fare spazio a 2 elementi per slide */
    }

    #carouselReviews .carousel-inner .carousel-item-left.active,
    #carouselReviews .carousel-item-prev:not(.carousel-item-end),
    #carouselReviews .active.carousel-item-start,
    #carouselReviews .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-33%) !important; /* Cambiato a -50% per fare spazio a 2 elementi per slide */
    }

    #carouselReviews .carousel-item-next.carousel-item-start, .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    #carouselReviews .carousel-inner .carousel-item-prev,
    #carouselReviews .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-50%) !important;
    }
}
.reviews {
    background-color: #a0c898;
    color: black;
}
.reviews img{
    border-radius: 0;
    max-height: 200px;
    min-height: 200px;
    max-width: 100%;
    background-color: transparent;
    color: white;
    object-fit: cover;
}
.reviews .carousel-inner{
    height: 500px;
}

.reviews {
    overflow: hidden !important;
    width: 100%;
    margin-top: 100px;
}
.reviews .carousel-item{
    min-height: fit-content;
}

.reviews .card {
    overflow: hidden;
}

.reviews .card-text {
    overflow: auto;
    max-height: 300px;
}


#footer{
    padding: 60px 20px 60px 20px;
}

#footer img{
    max-width: 250px;
}

#footer ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
    overflow: hidden;
}

#footer ul li{
    float: left;
}

#footer ul li svg{
    margin-top: 10px;
    margin-right: 8px;
    width: 30px;
    height: 30px;
}

#footer .bg-fb{
    fill: #4267B2;
}

#footer .bg-instagram{
    fill: #C13584;
}

#footer .bg-threads{
    fill: #000;
}

#header .collapse.show,#header .collapsing,#header .collapse{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #43745e;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#navbar .navbar-nav li{
    text-align: center;
    float: left;
    display: block;
    margin-bottom: 30px;
}

#navbar{
    text-align: center !important;
}

#navbar .icon-close{
    margin-bottom: 60px;
    fill: #fff;
}

#navbar .icon-close:hover{
    cursor:pointer;
}
#navbar {
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

#navbar.show {
    max-height: 100%;
    opacity: 1;
}
