/*
Theme Name: Omniabath
Theme URI: https://omniabath.it/
Author: I Am.
Author URI: https://iam-design.it/
Description: Il tema personalizzato per Omniabath.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omniabath
*/

.hero-div.swiper-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 92px); /* Occupa tutta l'altezza della viewport */
    position: relative;
    position: relative;
    overflow: hidden;
}

.hero-div .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-div img {
    max-width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1; /* Posizionato dietro tutto il resto */
}

.hero-div .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Regola l'opacità del velo */
    z-index: 0; /* Posizionato sopra l'immagine ma sotto il contenuto */
}

.content {
    text-align: center;
    max-width: 70%;
    position: relative;
    z-index: 1; /* Contenuto sopra l'overlay */
}

.content h2 {
    font-size: 68px;
    font-weight: 400;
    color: white;
    line-height: 80px;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
}

.content h1{
    font-size: 68px;
    font-weight: 400;
    color: white;
    line-height: 80px;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
}

.content p {
    font-size: 18px;
    font-weight: 400;
    color: white;
    margin: 24px 0 24px;
    opacity: 0;
    transform: translateY(50px);
    padding-bottom: 16px;
}

.content a {
    opacity: 0;
    transform: translateY(50px);
}

.btn-omb{
    text-transform: uppercase;
    height: auto;
    width: auto;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: normal;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: center;
    line-height: 58px;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 12px;
    border-color: rgb(255, 255, 255);
    border-style: solid;
    border-width: 1px;
    border-radius: 100px;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0);
    transition: background 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.btn-omb:hover{
    color: white;
    background-color: #438ac0;
    border-color: #438ac0;
}

.omb{
    color: #438ac0 !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff !important; 
    border: 1px solid white;
    border-radius: 100px;
    padding: 0px 30px;
    transition: background 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #438ac0;
    border-color: #438ac0;
}

.swiper-pagination-bullet {
    background: #fff !important; /* Cambia il colore dei pallini di navigazione se necessario */
    width: 13px !important;
    height: 13px !important;
}

.subtitle{
    font-size: .8125rem;
    letter-spacing: 2px;
    display: block;
    color: #438ac0;
    font-weight: 700;
}

.title{
    font-size: 3.25rem;
    line-height: 55px;
    margin: 20px 0;
}

.text{
    font-size: 16px;
}

.text-news {
    font-size: 15px;
}

.text-gray{
    color: #8d9396 !important;
    text-decoration: none !important;
}

.text-gray-margin{
    margin-right: 120px !important;
}

.section-two{
    margin: 150px 0;
    position: relative;
}

.section-two-img-abs{
    position: absolute;
    right: 0;
    bottom: -70px;
}

.section-two-img-abs-left{
    position: absolute;
    left: -60px;
    top: -60px;
    width: 215px;
    z-index: 11;
}

.section-two-img-abs-right{
    position: absolute;
    right: -60px;
    bottom: -60px;
}

.section-company-text{
    padding-left: 80px !important;
}

.section-big-img {
    height: 90vh;
    margin: 300px 0 150px;
    background-image: url('img/LIME 3.0_3141.jpg');
    background-position: center left;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.section-big-img-2 {
    height: 90vh;
    margin: 120px 0;
    background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), /* Velo nero */ url('img/Lime 3.0_301.jpg');
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.section-page{
    padding: 75px 0;
}

.section-big-img-div{
    background: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 3px 6px 18px #80808038;
}

.section-big-img-div .title {
    font-size: 4rem;
    line-height: 70px;
    margin: 28px 0;
}

.section-white .title, .section-white .subtitle{
    color: white !important;
}

.logo-footer{
    width: auto;
    height: 60px;
    margin-bottom: 24px;
}

.big-img-margin-bottom{
    margin-bottom: 150px;
}

.azienda {
    margin: 20px;
    background: #f7f7f7;
    padding: 35px;
    width: 100%;
    /*transition: box-shadow 0.4s;*/
}

/* .azienda:hover { 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
} */

.aziende-rappresentate{
    margin-top: 36px;
    display: flex;
    justify-content: space-evenly;
}

.aziende-rappresentate-no-margin {
    display: flex;
    justify-content: space-evenly;
}

.aziende-rappresentate img, .aziende-rappresentate-no-margin img {
    filter: grayscale(100%) brightness(70%); /* Scala di grigi e riduzione luminosità */
    opacity: 0.7; /* Riduzione opacità per loghi scuri */
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out, opacity 0.4s ease-in-out; /* Transizioni fluide */
    transform: scale(1); /* Scala iniziale */
    height: 80px;
    width: 150px;
    object-fit: contain;
}

.aziende-rappresentate img:hover, .azienda:hover img{
    filter: grayscale(0%) brightness(100%); /* Ritorno a colori normali */
    opacity: 1; /* Opacità completa */
    transform: scale(1.1); /* Aumento della scala */
}

.swiper-services .swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 40px;
}

.swiper-services .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
    height: 480px;
    object-fit: cover;
}

.swiper-services .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Hover per ingrandire */
.swiper-services .swiper-slide:hover img {
    transform: scale(1.1); /* Effetto zoom */
}

.item-services h5, .item-services svg{
    transition: color 0.4s ease-in-out;
    cursor: pointer;
    color: #332f2c;
}

.item-services a:hover h5, .item-services a:hover svg{
    color: #438ac0;
}

.item-services h5{
    font-family: "Marcellus", Sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.hidden-paragraph {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    max-height: 0;
    padding-left: 27px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hidden-paragraph.show {
    opacity: 1;
    max-height: 500px; /* Valore sufficiente per il contenuto massimo */
}

.item-services a{
    text-decoration: none; 
}

.svg {
    transition: color 0.4s ease; /* Per animare la rotazione */
}

svg:not(:root).svg-inline--fa {
    margin-left: 5px;
}

.item-services{
    display: flex;
    align-items: center;
}

.item-services-div{
    padding: 50px 280px 50px 80px
}

.item-services-div2{
    padding: 50px 80px 50px 280px;
}

.link-omn-black{
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #332f2c;
    font-weight: 600;
    text-decoration: none !important;
}

.link-omn-white{
    font-size: .75rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    text-decoration: none !important;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}
  
.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #438ac0;
    transform-origin: bottom right;
    transition: transform 0.4s ease-out;
}

.hover-underline-animation-gray::after {
    height: 1px !important;
    background-color: #8d9396 !important;
}

.hover-underline-animation-black::after {
    height: 1px !important;
    background-color: #332f2c !important;
}

.hover-underline-animation-white::after {
    height: 1px !important;
    background-color: #fff !important;
}
  
.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn-omb svg{
    color: #438ac0;
}

.page-banner {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.page-banner__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Velo trasparente */
    z-index: 2;
}

.page-banner__container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-banner__title {
    font-size: 3rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.breadcrumb__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb__link:hover {
    color: #ddd;
}

.breadcrumb__separator {
    margin: 0 5px;
    color: #fff;
}

.breadcrumb__current {
    color: #ccc;
}

.news-list img{
    height: 260px;
    object-fit: cover;
}

.tag-item a{
    font-size: .875rem;
    transition: color 0.3s ease;
}

.news-body a{
    color: #438ac0 !important;
    text-decoration: none !important;
}

.news-divisor{
    display: flex !important;
    align-items: center !important;
    margin: 2rem 0 !important;
    border-color: #eaeaea !important;
}

.news-meta{
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
    font-weight: 700;
}

.news-title a{
    font-size: 28px;
    transition: color 0.3s ease;
    font-family: 'Marcellus';
}

.news-item{
    transition: color 0.3s ease;
    font-family: 'Marcellus';
}

.news-title a:hover, .tag-item a:hover, .news-item a:hover{
    color: #438ac0 !important;
}

@media (min-width: 993px) and (max-width: 1720px) {
    .img-abs-center2, .img-abs-center{
        display: none !important;
    }

    .item-services-div, .item-services-div2 {
        padding: 35px 50px !important;
    }

    .item-services img{
        max-width: 50%;
    }
}

@media screen and (max-width: 993px) {
    .aziende-rappresentate{
        display: flex;
        gap: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .title-single-news{
        font-size: 2rem !important;
    }

    .aziende-rappresentate-no-margin{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .aziende-rappresentate img, .aziende-rappresentate-no-margin img {
        filter: none !important; /* Scala di grigi e riduzione luminosità */
        opacity: 1 !important; /* Riduzione opacità per loghi scuri */
    }

    .azienda {
        margin: 20px 10px !important;
    }

    .section-company-text {
        padding-left: 12px !important;
        margin-top: 36px !important;
    }

    .section-two-img-abs {
        opacity: .5;
    }

    .section-two-img-abs-left, .section-two-img-abs-right, .img-abs-center2, .img-abs-center{
        display: none !important;
    }

    .section-big-img-div .title {
        font-size: 3rem !important;
        line-height: 52px !important;
        margin: 28px 0 !important;
    }

    .content h2 {
        font-size: 36px !important;
        line-height: 42px !important;
    }

    .swiper-button-next, .swiper-button-prev {
        color: #fff !important;
        border: 0 !important;
        padding: 0px !important;
    }

    .content {
        max-width: 90% !important; 
    }

    .text-gray-margin {
        margin-right: 0px !important;
    }

    .item-services{
        flex-direction: column;
    }

    .item-services-div, .item-services-div2 {
        padding: 12px !important;
    }

    .pb-sm-4{
        padding-bottom: 1.5rem;
    }

    .title {
        font-size: 2.6rem !important;
        line-height: 50px !important;
        margin: 20px 0;
    }
}

.img-abs-center {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-radius: 200px 200px 0 0;
    z-index: 1;
}

.img-abs-center2{
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    border-radius: 200px 200px 0 0;
    z-index: 1;
}

input[type=text], input[type=number], input[type=email], input[type=tel] {
    width: 100%;
    height: 100%;
    border: 1px solid #eaeaea !important;
    font-size: .875rem !important;
    padding: 14px;
    border-radius: 3px;
    outline: none;
    background-color: #fff;
    transition: border 0.4s ease-out;
}

.section-form br{
    display: none !important;
}

textarea{
    border: 1px solid #eaeaea !important;
    font-size: .875rem !important;
    padding: 14px;
    transition: border 0.4s ease-out;
}

label, textarea{
    width: 100%;
}

.wpcf7-submit {
    text-transform: uppercase;
    height: auto;
    width: auto;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: normal;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: center;
    line-height: 46px;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 100px;
    padding: 8px 30px;
    background: #332f2c;
    transition: background 0.4s ease-in-out;
    border: 0px !important;
}

.wpcf7-submit:hover {
    color: #332f2c;
    background: rgb(223, 215, 215);
}

.wpcf7-spinner{
    display: none !important;
}

input[type='text']:focus-visible, input[type='email']:focus-visible, input[type='tel']:focus-visible, textarea:focus-visible {
    outline: none;
    border: 1px solid #438ac0 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.8em;
    padding: 5px 0 0 2px !important;
    font-weight: normal;
    display: block;
    text-align: left !important;
}

.section-two-chi-siamo{
    padding: 75px 0;
}

.section-gray{
    background-color: #f7f7f7;
}

/* Modifica la barra di scorrimento */
::-webkit-scrollbar {
    width: 10px; /* Larghezza della barra di scorrimento */
    height: 10px; /* Altezza della barra di scorrimento orizzontale */
}

/* Modifica il track (il percorso della barra di scorrimento) */
::-webkit-scrollbar-track {
    background-color: #332f2c; /* Colore di sfondo del track */
}

/* Modifica il thumb (la parte che si muove) */
::-webkit-scrollbar-thumb {
    background-color: #438ac0; /* Colore del thumb */
    border-radius: 5px; /* Angoli arrotondati */
}

/* Opzionale: aggiungi un effetto hover per il thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: #438ac0; /* Colore del thumb quando il mouse è sopra */
}

::selection {
    background-color: #438ac0; /* Colore di sfondo */
    color: white; /* Colore del testo */
}

/* Supporto per Firefox */
::moz-selection {
    background-color: #438ac0; /* Colore di sfondo */
    color: white; /* Colore del testo */
}