/* SECTION */
.template_seconda_sezione-section {
    background-color: #fff;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* CONTAINER */
.template_seconda_sezione-container {
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 95px;
    padding-bottom: 95px;
}

/* WRAPPER */
.template_seconda_sezione-wrapper-imgcentral-textcentral {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

/* CONTENUTO */
.template_seconda_sezione-cols-xl-12.template_seconda_sezione-cols-xs-12.template_seconda_sezione-cols-sm-12.template_seconda_sezione-cols-md-12.template_seconda_sezione-cols-lg-12 {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 1400px;
}

.template_seconda_sezione-section-title {
    font-size: 30px;
    line-height: 36px;
    font-family: Figtree, sans-serif;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding-bottom: 20px;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.testo_centrato {
    max-width: 870px;
    margin: 0 auto;
}

.description-imgcentral-textcentral-template_fjd {
    font-size: 18px;
    line-height: 24px;
    font-family: Figtree, sans-serif;
    font-weight: 400;
    color: #000;
    text-align: center;
    padding-bottom: 20px;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.div_bottone_centrato {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.template_preventivo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 50px;
    font-size: 18px;
    font-family: Figtree, 'sans-serif';
    font-weight: 700;
    line-height: 24px;
    background-color: #FFDD23;
    color: #000000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    padding: 14px 30px;
}

.template_demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: Figtree, 'sans-serif';
    font-weight: 700;
    line-height: 24px;
    background-color: #A3D3E9;
    color: #000000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    gap: 8px;
    width: auto;
    height: 50px;
    padding: 14px 30px;
}

/* SEZIONE DIVISA */
.card-link {
    text-decoration: none;
    color: inherit;        
    display: block;    
    max-height: 500px;    
    padding-left: 50px;
    padding-right: 50px;
}

/* CONTAINER */
.sezione_divisa {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 50px;
    justify-content: center;
}



/* ELEMENTI */
.prima_sezione,
.seconda_sezione,
.terza_sezione {
        flex: 1 1 calc(33.333% - 20px);    
        box-sizing: border-box;    
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding-bottom: 30px;
    padding-top: 30px;
    transition: transform 0.3s ease; 
}

.prima_sezione:hover,
.seconda_sezione:hover,
.terza_sezione:hover {
    transform: scale(1.03); 
}

/* IMMAGINE */
.image-sezione-divisa {
    width: 55%;
    height: auto;
}
.image-sezione-divisa2 {
    width: 55%;
    height: auto;
}

/* TESTI */
.testo_prima_sezione {
    max-width: 300px;
    padding-top: 20px;
}




.title-sezione-divisa {
    font-size: 30px;
    line-height: 36px;
    font-family: Figtree, sans-serif;
    font-weight: 600;
    color: #fff;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.description-sezione-divisa {
    font-size: 14px;
    line-height: 20px;
    font-family: Figtree, sans-serif;
    font-weight: 400;
    color: #a6a6a6;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

/* Bottone */
#backToTop {
    position: fixed;
    bottom: 30px; 
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,.9);
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    box-shadow: 2px 2px 4px rgba(0,0,0,.24);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* SVG */
#backToTop svg {
    width: 40px;
    height: 40px;
}

/* Path freccia - stato normale */
#backToTop path {
    fill: #000; /* freccia nera */
}

/* Hover */
#backToTop:hover path {
    fill: #FFDD23; /* diventa gialla */
}










/* MEDIA QUERIES */
/* CONTAINER */
@media (max-width: 409px) {
    .template_seconda_sezione-container {
        padding-left: 30px;
        padding-right: 30px;
           padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .template_seconda_sezione-container {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .template_seconda_sezione-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* */
@media (max-width: 699px) {
    .template_seconda_sezione-cols-xl-12.template_seconda_sezione-cols-xs-12.template_seconda_sezione-cols-sm-12.template_seconda_sezione-cols-md-12.template_seconda_sezione-cols-lg-12 {
        padding-left: 0px;
        padding-right: 0px;
    }


    .description-imgcentral-textcentral-rs4_pro {
        text-align: left;
    }

}

/* TITOLO */

@media (max-width: 369px) {
    .template_seconda_sezione-section-title {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (min-width: 370px) and (max-width: 820px) {
    .template_seconda_sezione-section-title {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {
    .template_seconda_sezione-section-title {
        font-size: 27px;
        line-height: 33px;
    }
}

@media (min-width: 944px) and (max-width: 1066px) {
    .template_seconda_sezione-section-title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 1067px) and (max-width: 1080px) {
    .template_seconda_sezione-section-title {
        font-size: 29px;
        line-height: 35px;
    }
}

/* DESCRIZIONE */
@media (max-width: 1128px) {
    .description-imgcentral-textcentral-template_fjd {
        font-size: 16px;
        line-height: 22px;
    }

    .description-imgcentral-textcentral-template_fjd {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .description-imgcentral-textcentral-template_fjd {
        line-height: 20px;
        font-size: 14px;
    }
}

/* BOTTONE */
@media (max-width: 625px) {
    .div_bottone_centrato {
        flex-direction: column;
        width: 255px;
        margin: 0 auto;
        display: flex;
        gap: 20px   ;
    }

    .template_demo,
    .template_preventivo {
        width: 255px;
    }
}

/* SEZIONE */
@media (max-width: 1280px) {
    .prima_sezione,
    .seconda_sezione {
        flex: 1 1 calc(50% - 20px);
    }

    .terza_sezione {
        flex: 1 1 100%;
    }

    .image-sezione-divisa2 {
        width: 25%;
    }
}

@media (max-width: 699px) {
    .prima_sezione,
    .seconda_sezione,
    .terza_sezione {
        flex: 1 1 100%;
    }

    .image-sezione-divisa2 {
        width: 55%;
    }
}


/* NOME PRODOTTO */
@media (max-width: 369px) {
    .title-sezione-divisa {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (min-width: 370px) and (max-width: 820px) {
    .title-sezione-divisa {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {
    .title-sezione-divisa {
        font-size: 27px;
        line-height: 33px;
    }
}

@media (min-width: 944px) and (max-width: 1066px) {
    .title-sezione-divisa {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 1067px) and (max-width: 1080px) {
    .title-sezione-divisa {
        font-size: 29px;
        line-height: 35px;
    }
}