p, div, ul, ol {
    font-size: 18px;
    line-height: 25px;
}
body{
    color: #000;
    background: #fff;
}
h1, h2, h3, h4, h5, h6 {
    color: #000;
}
h2 {
    font-size: 25px !important;
}
.inside_login{
    margin-top: 0;
}
html {
    scroll-behavior: smooth;
}

#contenitore-esterno .primo-div h2 {
    margin-top: 0;
}
#contenitore-esterno>.grid-container-2 {
    align-items: center;
    margin-bottom: 30px;
}

#area-toggle .accordion {
    background-color: #e8e8e8;
    color: #262626;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    border-radius: 0;
    border: none;
    border-bottom: 0;
}

#area-toggle .panel {
    padding: 0 18px;
    margin-bottom: 10px !important;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    border: none;
    border-radius: 0;
    border-top: 0;
}
#area-toggle .accordion:after {
    content: '\002B';
    color: #000000;
    font-weight: 100;
    float: right;
    font-size: 50px;
    margin-left: 5px;
}
#area-toggle .active, #area-toggle .accordion:hover {
    background-color: #efefef;
    border: none;
    border-bottom: 0;
    font-size: 18px;
}

#area-toggle .active:after {
    content: "\2212";
}

.p-bt-50{
    padding-top: 50px;
    padding-bottom: 50px;
}
.inside-box-prodotto2{
    background: #f7f7f7;
    min-height: 650px;
}
.container-thumbnail-prod{
    overflow: hidden;
    max-height: 750px;
}
.container-thumbnail-prod img{
    width: 100%;
    max-width: inherit;
    -webkit-animation: fade_in_anim 2.5s;
    animation: fade_in_anim 2.5s;
    animation-fill-mode:forwards;
    transition: transform 2.5s; /* Animation */
}
img.animation_on_load{
    transform: scale(1.2);
    opacity: 0.1;
}

.container-thumbnail-prod-small img{
    height: 250px;
    width: auto;
    max-width: inherit;
}
.inside-box-prodotto2 img{
    height: 500px;
    width: auto;
    max-width: inherit;
}
a.pulsante-2020 {
    text-align: left;
    font-size: 18px;
    line-height: 27px;
    padding: 20px;
    border-radius: 0px;
    background: #e8e8e8;
    color: #000;
    font-weight: bold;
}

.column-gap-100 {
    column-gap: 100px;
}
.gallery.grid-container-2, .product_list.grid-container-2 {
    column-gap: 10px;
    row-gap: 10px;
    margin-top: 10px;
}
dl {
    margin-bottom: 0;
}
span.sottotitolo-22 {
    font-size: 25px;
    margin-top: 15px;
    display: block;
}

.cycle-slideshow{
    margin-top: 0;
}
.cycle-pager {
    color: #9d9d9d;
    position: absolute;
    right: 0;
    bottom: -10px;
    text-align: right;
    margin-top: 30px;
    z-index: 155;
    margin-right: 0;
    width: 100%;
    height: 45px;
    font-size: 40px;
    cursor: pointer;
}
span.cycle-pager-active {
    color: #c04739;
}
.cycle_video{
    position: relative;
}
.grid-illuminate-plus {
    grid-template-columns: 1fr 50px 1fr;
}
p.seealso {
    font-size: 15px;
    margin-bottom: 0;
}
#contenitore-form form{
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
#contenitore-form{
    padding-top: 20px;
}
#contenitore-form input[type='text'], #contenitore-form input[type='email'], #contenitore-form input[type='password'], #contenitore-form select, #contenitore-form textarea {
    border-radius: 0 !important;
    border: 1px solid #eee !important;
}
.product_finder_search select, .product_finder_search .ms-parent, .product_finder select, .product_finder .more_orange {
    width: 100% !important;
}
.product_finder .ms-choice > span {
    top: 7px;
}
.ms-choice{
    height: 50px;
    border: 1px solid #cccccc !important;
}
.ms-choice > div {
    content: "";
    background-size: 14px 8px !important;
    /* width: 12px; */
    /* height: 12px; */
    right: -3px !important;
    background: url(../i/freccia-giu.svg) left top no-repeat;
    top: 21px !important;
}
.ms-choice > div.open{
    background: none !important;
}
.product_finder select, .product_finder .more_orange {
    height: 50px;
}
.product_finder_search .ms-parent {
    margin-top: 15px;
}
.product_pdf ul.accua_forms_download_link_list li {
    background: url(../i/download-light.svg) no-repeat;
    background-size: 25px;
    background-position: 20px;
    width: 60%;
    border-radius: 25px;
    border: 1px solid #666666;
}
p.image-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 17px;
    font-weight: 100;
    z-index: 50;
    color: #000;
    text-align: left;
    margin-right: 10px;
    margin-bottom: 0;
}

.hover_title{
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: #f4f4f4cc;
    z-index: 50;
    height: 100px;
}
.img-gallery-2024 a:hover .hover_title{ display: block; }



@media (min-width: 1920px) {
    .container-thumbnail-prod {
        max-height: 1200px;
    }
}

@media (min-width:992px){
    .last1 div:last-of-type{
        grid-column-end: 3;
        grid-column-start: 1;
    }

}

/* stile 2025 */
div#area-toggle, div#reserved-area {
    background-color: #f4f4f4;
    padding: 50px;
}
.riga-inside-prodotto {
    padding: 100px 0;
    grid-column-start: 2;
}
.riga-inside-prodotto#first-riga {
    padding-top: 10px;
}
#area-icone-navigazione, #area-icone-navigazione-orizzontale {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    margin-bottom: 40px;
    /* position: absolute; */
    padding-left: 0;
    top: 80px;
    /*text-align: right;*/
    position: fixed;
    height: 100vh;
    background: transparent;
    z-index: 1;
    margin-left: -30px;
}

#area-icone-navigazione-orizzontale.navigazione-orizzontale {
    display: grid;
    grid-template-columns: repeat(3, auto);
    margin: 0 auto;
    height: auto;
    width: 100%;
    top: 450px;
    gap: 30px;
    justify-items: center;
}

#area-icone-navigazione-orizzontale a.ancora-prodotto {
    width: 160px;
    max-width: 180px;
    height: 70px;
    padding: 15px 30px;
    text-align: center;
    color: #fff;
    background: #6c757d;
    border-radius: 10px;
    /* transition: background 0.4s; */
    align-content: center;
}
#area-icone-navigazione-orizzontale a.ancora-prodotto.active {
    background: linear-gradient(150deg, #5bbde8 0%, #1e90cc 35%, #0e6daa 70%, #084e82 100%);
}
#area-icone-navigazione-orizzontale .text-icone-navigazione {
    color: #fff !important;
    font-weight: bold;
    font-style: italic;
    font-size: 14px !important;
}
#area-icone-navigazione-orizzontale .text-icone-navigazione p {
    color: #fff;
    font-weight: normal;
    font-style: italic;
    font-size: 13px !important;
    line-height: 1.5;
    margin-top: 5px;
}

#area-icone-navigazione .text-icone-navigazione, #area-icone-navigazione-orizzontale .text-icone-navigazione {
    font-size: 12px;
    line-height: 16px;
    text-transform: none;
    color: #000;
}
#top_page h2, #top_page h3 {
    margin-top: 0;
}
h2.section-title, p big.section-title {
    margin-bottom: 25px !important;
    font-weight: 500;
    text-transform: uppercase;
}
a.ancora-prodotto {
    padding: 10px 0 10px 0;
    /*display: block;*/
    /*position: relative;*/
    max-width: 120px; /* 69px */
    text-align: center;
    line-height: 9px;
}
a.ancora-prodotto img {
    display: inline;
    width: 32px;
}
.riga-inside-prodotto {
    scroll-margin-top: 20px;
}
#area-toggle.riga-inside-prodotto {
scroll-margin-top: 150px;
}
.titoletto{
    font-size: 20px;
    text-transform: uppercase;
    color: #d83b2c;
    font-weight: bold;
}
#pre-img-shop-new {
    position: fixed;
    right: 5%;
    top: 150px;
    text-align: right;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgb(244 244 244) 55%, rgb(244 244 244) 100%);
    border-radius: 30px;
    /* overflow: hidden; */
    overflow: visible;
    border: 1px solid #ddd;
    width: 40vw;
}
#first-empty-div{
    display: none;
}
#top_page {
    position: relative;
    min-height: 100vh; /* Assicuriamoci che il contenitore abbia un'altezza minima */
}
h1.product_title {
    font-size: 3em;
    font-weight: 900;
}
.box-prodotto-grid.product.type-product {
    width: 100% !important;
}
div#grid-item-menu {
    grid-template-columns: auto 300px !important;
}
fieldset {
    border: none;
    padding: 0;
}

a.ancora-prodotto.active .text-icone-navigazione {
    font-weight: bold;
    color: #d83b2c !important;
}
a.ancora-prodotto.active img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(94%) saturate(582%) hue-rotate(193deg) brightness(94%) contrast(101%);
}
#area-icone-navigazione-orizzontale a.ancora-prodotto.active .text-icone-navigazione,
#area-icone-navigazione-orizzontale a.ancora-prodotto.active .text-icone-navigazione p {
    color: #fff !important;
}
.riga-download-media a.download-media {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.riga-download-media a.download-media p {
    margin: auto 0;
}
.riga-download-media a.download-media img {
    height: 50px;
    width: 50px;
    aspect-ratio: auto 50 / 50;
    object-fit: contain;
}
.riga-download-media.riga-download-video a.download-media img {
    height: auto;
    width: 50px;
    aspect-ratio: auto 50 / 50;
    object-fit: contain;
}
.grid-container-100-1 {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 20px;
}

.riga-inside-prodotto .grid-container-100-1 img {
    padding: 20px 10px;
}

.riga-inside-prodotto .blu-h3 {
    /* color: #1676ef; */
    font-weight: 500;
}

/* illuminate image switcher */
#illuminate-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}
.illuminate-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    border-radius: 30px;
}
.illuminate-img.active-img {
    opacity: 1;
}
/* software genitore: immagine quadrata come nel prodotto, senza box sotto */
#pre-img-shop-new.software-genitore {
    overflow: hidden;
}
#pre-img-shop-new.software-genitore #illuminate-img-container {
    aspect-ratio: 1 / 1;
}

@media (max-width: 1400px) {
    #pre-img-shop-new {
        position: fixed;
        right: 5%;
        top: 150px;
        text-align: right;
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgb(244 244 244) 55%, rgb(244 244 244) 100%);
        border-radius: 30px;
        overflow: hidden;
        border: 1px solid #ddd;
        width: 38vw;
    }
}
@media (max-width: 991px) {
    #pre-img-shop-new {
        display: none;
    }
}
@media (max-width: 790px) {
    h2 {
        font-size: 20px !important;
    }
    div, p {
        font-size: 15px;
        line-height: 22px;
    }
    ul, ol {
        font-size: 15px;
        padding-left: 20px;
        line-height: 22px;
    }
    #top_page {
        padding-top: 10px;
    }
    #area-icone-navigazione, #area-icone-navigazione-orizzontale {
        padding-top: 15px;
    }
    #area-icone-navigazione .text-icone-navigazione, #area-icone-navigazione-orizzontale .text-icone-navigazione {
        display: none;
        font-size: 10px;
        line-height: 15px;
    }
    a.ancora-prodotto img {
        display: inline;
        width: 28px;
    }
    a.ancora-prodotto {
        margin: 0 2px;
    }
    .riga-inside-prodotto {
        padding: 40px 0;
        scroll-margin-top: 15px;
    }
    .riga-inside-prodotto#first-riga {
        padding-top: 10px;
        width: 95%;
    }
    #area-toggle.riga-inside-prodotto {
        scroll-margin-top: 60px;
    }
    .pulsanti-allinati-tablet a {
        margin: 0 !important;
        margin-bottom: 15px !important;
    }
    div#area-toggle {
        padding: 10px;
    }
    span.sottotitolo-22 {
        font-size: 20px;
        margin-top: 15px;
        display: block;
    }
    .contenitore-tabella table {
        width: 90% !important;
    }
    .contenitore-tabella table tbody tr td:first-child {
        width: 20% !important;
    }
    .contenitore-tabella table tbody tr td:first-child img {
        width: 90%;
    }
    .contenitore-tabella table tbody tr td:last-child {
        width: 80% !important;
    }
    #gallery-1 .gallery-item, #gallery-3 .gallery-item {
        width: 100% !important;
    }
    .product_pdf ul.accua_forms_download_link_list li {
        width: 75%;
    }
    div#product_finder .product_finder {
        padding: 10px;
        background-color: transparent;
    }
    a.ancora-prodotto.active {
        background-color: #f4f4f4;
        border-radius: 20px;
        width: 55px;
        /*margin-left: 5px;*/
    }
    .riga-download-media a {
        display: flex;
        gap: 10px;
        flex-direction: row;
        margin-bottom: 10px;
        align-content: center;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }
    .riga-download-media a p{
        margin-bottom: 0;
    }
}
