﻿
html{
    max-width:100vw !important;
    overflow-x:hidden;
}

body {
    background-color: #f9f8f1;
}

#ctl00_ContentPlaceHolder1_lblHome1, #ctl00_ContentPlaceHolder1_lblHome2 {
    font-weight: 300 !important;
    font-size: 1em;
}

.lined-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "BarlowCondensed-Italic",sans-serif;
    gap: 10px;
    color: #d45d00;
    justify-content: space-between;
    align-items: center;
    padding-top: 5em;
}

.txt {
    text-align: center;
    font-size: 50px;
    font-family: "BarlowCondensed-ExtraBold",sans-serif;
    margin-top: 10px;
    padding: 0% 2% 2% 2%;
}

p {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 27px;
    font-weight: 100;
}

.txt h3 {
    font-size: 38px;
    font-weight: 400;
    font-family: "Barlow Condensed", sans-serif;
}

h3 {
    font-family: "BarlowCondensed-Light",sans-serif;
    font-weight: 300;
}

.separatore {
    max-height: 10px;
    min-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .separatore > img {
        width: 100vw;
    }

.linea {
    width: 550px;
    height: 3px;
    margin: 3px;
    background-color: #d45d00;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 12px;
}

.title {
    color: #42748d;
    font-weight: 400;
    font-size: 2.8em;
    line-height: 0.9;
    margin-bottom: 0.5em;
    font-family: "Barlow Condensed", sans-serif;
}

.elementi {
    height: 25px;
    width: 20px;
}

.title h2 {
    font-family: "BarlowCondensed-Light",sans-serif;
}

.lined-title b {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 50px;
}


/*-------  HERO  --------*/


.Hero {
    background-image: url('../images/imgfrittini/hero_home.jpg');
    min-width: 100vw;
    height: 50rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
    .Hero h2 {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #f9f8f1;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 7em;
        font-weight: 100;
    }


/*----------  SECTION-INIZIALE  -----------*/


.section-iniziale {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #1c313c;
    font-size: 1.8em;
    padding-bottom: 10px;
    width: auto;
    height: auto;
    background-color: #f9f8f1;
    padding-left: 4em;
    display:flex;
    justify-content:center;
}

/*-----------  SECTION-INIZIALE-DX  --------------*/

.section-iniziale-dx {
    padding: 0% 1% 3% 2%;
    display: flex;
    flex-direction: row;
    margin-right: 1em;
}

    .section-iniziale-dx h2 {
        color: #d45d00;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 2em;
        font-weight: 700;
    }

.btn-section-iniziale-dx {
    margin-left: 3em;
}

/*----------  SECTION-INIZIALE-SX  -------------*/

.section-iniziale-sx {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 4em;
    margin-bottom: 2em;
}

    .section-iniziale-sx > img {
        height: auto;
        max-width: 100%;
        border-radius: 30px;
    }

.imgSecIniziale {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 30px;
    margin: 0 auto;
}

.btn-link-article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    background-color: #d06703;
    border-radius: 20px;
    color: #f9f8f1;
    max-width: 100%;
    border: none;
    height: auto;
    font-family: "Barlow Condensed", sans-serif;
    width: 15em;
    height: auto;
}

    .btn-link-article a {
        color: #f7f7ef;
        text-decoration: none;
        font-weight: 400;
        margin: 0 auto;
        font-size: 1.2em;
        text-align: center;
    }


/*-----------  SECTION-CENTRALE  ------------*/


.section-centrale {
    background-color: #41748d;
}

.figSectionCentrale {
    height: auto;
    max-width: 100%;
    background-color: #42728d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.lineaSardina {
    width: 2.5rem;
    height: 2.5px;
    background-color: #f7f7ef;
}

.container-lined {
    width: 15%;
}


/*--------  CAROSELLO  -----------*/

.custom-slider {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.custom-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

    .custom-track figure {
        min-width: 33.33%;
        padding: 10px;
        box-sizing: border-box;
    }

.figSectionCentrale {
    background-color: #42728d;
    border-radius: 20px;
    padding: 8px;
}

    .figSectionCentrale img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        border-radius: 20px;
    }

/* Frecce */
.corousel-container {
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 40% !important;
    transform: translateY(-40%) !important;
    cursor: pointer;
    z-index: 10;
}

.swiper-button-prev {
    left: 7rem !important; /* distanza pulita dal bordo */
    bottom: 22em;
}

.swiper-button-next {
    right: 7rem !important; /* distanza pulita dal bordo */
    bottom: 22em;
}

    .swiper-button-next img,
    .swiper-button-prev img {
        width: 40px;
    }

/* --- CAROSELLO RESPONSIVE --- */

.corousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Track */
.custom-slider {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.custom-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

    .custom-track figure {
        flex: 0 0 33.333%;
        padding: 10px;
        box-sizing: border-box;
    }

/* Card slide */
.figSectionCentrale {
    background-color: #42728d;
    border-radius: 20px;
    padding: 8px;
}

    .figSectionCentrale img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        border-radius: 20px;
    }

/* Frecce centrate */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.swiper-button-prev {
    left: 6.5rem !important;
}

.swiper-button-next {
    right: 6.5rem !important;
}

    .swiper-button-next img,
    .swiper-button-prev img {
        width: 40px;
    }


/*---------  SECTION-FINALE  -----------*/


.section-finale {
    background-color: #f9f8f1;
}

.figure-Eccellenze {
    height: 100%;
    width: 90%;
    background-color: #4a7890;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 40px;
    margin: 0 auto;
    max-width: 100%;
    margin-bottom: 1em;
}

figcaption {
    color: #f7f7ef;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    padding-bottom: 2%;
    margin: 0 auto;
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgEcc {
    height: auto;
    min-width:100%;
    max-width:100%;
    border-radius: 40px;
    margin-top:10%;
}

.btn-link-article.exc {
    font-size: 2em;
    font-family: "Barlow Condensed", sans-serif;
    width: fit-content;
    padding: 0% 2%;
    margin-top: 2em;
    width:10em;
}

    .btn-link-article.exc:hover::after{
        cursor:pointer;
    }

.figSectionFinale {
    height: auto;
    max-width: 100%;
    background-color: #f9f8f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

figcaption {
    color: #f7f7ef;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    padding-bottom: 2%;
    margin: 0 auto;
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schede-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
}

.scheda {
    width: 25%;
    height: 23rem;
}


/* ------------------  MEDIA QUERY  ------------------ */


@media (min-width: 1750px){
    .imgSecIniziale {
        max-width: 90%;
    }
}


@media only screen and (min-width:1300px) AND (max-width: 1750px) {
    
    .section-iniziale-dx {
        padding: 0% 2% 3% 2%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-right: 0em;
    }

    .section-iniziale-sx {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 4em;
        margin-bottom: 2em;
    }

    .img {
        max-width: 100%;
    }

    .section-iniziale {
        padding-left: 0em;
    }

    .btn-section-iniziale-dx {
        margin-left: 0em;
    }
}


@media (min-width:992px) AND (max-width:1300px) {
    .figure-Eccellenze {
        height: 80%;
        width: 90%;
        background-color: #4a7890;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 40px;
        margin: 0 auto;
        max-width: 90%;
        margin-bottom: 1em;
    }
}


@media (min-width:992px) AND (max-width:1300px) {

    .section-iniziale {
        font-family: "Barlow Condensed", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #1c313c;
        font-size: 1.8em;
        padding-bottom: 10px;
        width: auto;
        height: auto;
        background-color: #f9f8f1;
        padding-left: 0em;
    }

    .section-iniziale-dx {
        padding: 0% 2% 3% 2%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right:0em;
    }

    .section-iniziale-sx {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 4em;
        margin-bottom: 2em;
    }

    .btn-link-article {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        background-color: #d06703;
        border-radius: 20px;
        color: #f9f8f1;
        max-width: 100%;
        border: none;
        height: auto;
        font-family: "Barlow Condensed", sans-serif;
        width: 15em;
        height: auto;
    }

        .btn-link-article a {
            color: #f7f7ef;
            text-decoration: none;
            font-weight: 400;
            font-size: 1em;
            margin: 0 auto;
        }
}


/* ========================= */
/*   SCHEDE VERSIONE MOBILE */
/* ========================= */


@media (max-width: 768px) {

    .schede-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .scheda {
        width: 100%;
        height: auto;
        margin-bottom: 1.5em;
        display: flex;
        justify-content: center;
    }

        .scheda img {
            width: 100%;
            max-width: 95%;
            height: auto;
            object-fit: cover;
            border-radius: 25px;
        }

    #ctl00_ContentPlaceHolder1_lblHome1, #ctl00_ContentPlaceHolder1_lblHome2 {
        font-size: 1.4rem;
    }

    #ctl00_ContentPlaceHolder1_lblTitoloHome1 {
        text-align: center;
    }

    .lined-title {
        justify-content: center;
    }

    .figure-Eccellenze {
        height: 100%;
        width: 40%;
    }

    .imgEcc {
        margin-top: 1em;
    }

    .figSectionCentrale, .figSectionFinale {
        width: 100%;
        padding: 10px;
    }

    .custom-slider {
        overflow-x: hidden !important;
        width: 83.6%;
    }

    .swiper-button-prev {
        left: 0.5rem !important;
        bottom:14em;
    }

    .swiper-button-next {
        right: 0.5rem !important;
        bottom: 14em;
    }

    .lined-title {
        padding-top: 2.5em;
    }

    .linea {
        display: none;
    }
}


@media (max-width: 1024px) {
    .custom-track figure {
        flex: 0 0 50%;
    }

    .figSectionCentrale img {
        height: 320px;
    }

    .container-lined {
        width: 70%;
    }
}


@media (max-width: 1024px) {
    .custom-track figure {
        min-width: 50%;
    }
}

/*Tablet*/

@media (max-width:992px) {

    #ctl00_ContentPlaceHolder1_lblHome1, #ctl00_ContentPlaceHolder1_lblHome2 {
        font-weight: 300 !important;
        font-size: 1.2em;
    }

    .section-iniziale {
        font-family: "Barlow Condensed", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #1c313c;
        font-size: 1.8em;
        padding-bottom: 10px;
        width: auto;
        height: auto;
        background-color: #f9f8f1;
        padding-left: 0em;
    }

    .section-iniziale-dx {
        padding: 0% 1% 3% 0%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right:0em;
    }

    .section-iniziale-sx {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 4em;
        margin-bottom: 2em;
    }

    .btn-link-article {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        background-color: #d06703;
        border-radius: 20px;
        color: #f9f8f1;
        max-width: 100%;
        border: none;
        height: auto;
        font-family: "Barlow Condensed", sans-serif;
        width: 10em;
        height: auto;
    }

        .btn-link-article a {
            color: #f7f7ef;
            text-decoration: none;
            font-weight: 400;
            font-size: 1em;
            margin: 0 auto;
        }

    .Hero {
        height: 20rem;
    }

    .Hero h2 {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #f9f8f1;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 3em;
        font-weight: 100;
    }

    .section-iniziale-dx h2 {
        color: #d45d00;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 1.5em;
        font-weight: 700;
    }

    .section-iniziale-dx p {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 20px;
        font-weight: 100;
        padding: 0 2% 0% 2%;
    }

    .lined-title b {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 40px;
    }

    .section-finale p {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 20px;
        font-weight: 100;
    }
}


@media (min-width:992px) {
    .schede-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}


@media (min-width:1025px) AND (max-width:1300px){
    .swiper-button-prev {
        left: 2.5rem !important;
        bottom: 21em;
    }

    .swiper-button-next {
        right: 2.5rem !important;
        bottom: 21em;
    }
}


@media (min-width:450px) AND (max-width:1025px){
    .swiper-button-prev {
        left: 2.5rem !important;
        bottom: 16em;
    }

    .swiper-button-next {
        right: 2.5rem !important;
        bottom: 16em;
    }
}


@media (min-width:768px) AND (max-width:1300px){
    .img {
        max-width: 100%;
    }

    .txt-section-iniziale-dx {
        text-align: center;
        margin-bottom: 2em;
        width:70%;
    }

    .btn-section-iniziale-dx {
        margin-left:0em;
    }

    .custom-track figure {
        min-width: 50%;
    }
}


@media (min-width:768px) AND (max-width:1050px) {

    .schede-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .scheda {
        width: 35%;
        height: auto;
        margin-bottom: 1.5em;
        display: flex;
        justify-content: center;
    }

        .scheda img {
            width: 45%;
            max-width: 95%;
            height: auto;
            object-fit: cover;
            border-radius: 25px;
        }

    .figure-Eccellenze {
        height: 100%;
        width: 80%;
    }
}


@media (max-width: 768px) {

    .section-iniziale-dx {
        margin: 0;
        text-align: center;
        padding: 0 6%;
    }

    .btn-section-iniziale-dx {
        margin: 0 !important;
    }

    .swiper-slide img {
        width: 100% !important;
        height: 240px !important;
        max-height: 240px !important;
        object-fit: cover !important;
        border-radius: 12px;
        display: block;
    }
}


@media (min-width:600px) AND (max-width:768px){
    .custom-track figure {
        min-width: 100%;
    }
}


@media (min-width:450px) AND (max-width:768px) {
    .swiper-slide img {
        width: 100% !important;
        height: 240px !important;
        max-height: 240px !important;
        object-fit: cover !important;
        border-radius: 12px;
        display: block;
    }

    .custom-slider {
        overflow-x: hidden !important;
        width: 67.6%;
        border-radius: 150px;
    }

    .swiper-button-prev {
        left: 1.5rem !important;
        bottom: 14em;
    }

    .swiper-button-next {
        right: 1.5rem !important;
        bottom: 14em;
    }

    .figSectionCentrale {
        background-color: #42728d;
        border-radius: 20px;
        padding: 0px;
    }

    .custom-track figure {
        min-width: 33.33%;
        padding: 0px;
        box-sizing: border-box;
    }

    .custom-track figure {
        flex: 0 0 100%;
    }

    figure {
        margin: 0 0 0rem;
    }
}

/* Mobile */

@media only screen and (max-width: 600px) {

    .section-iniziale-sx {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 4em;
        margin-bottom: 2em;
    }

    .section-testo {
        padding-left: 2em;
    }

    .lined-title b {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 35px;
    }

    .txt {
        text-align: center;
        font-size: 25px;
        font-family: "BarlowCondensed-ExtraBold",sans-serif;
        margin-top: 10px;
    }

    b {
        font-size: 25px;
    }

    p {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 20px;
        font-weight: 100;
    }

    .txt h3 {
        font-size: 20px;
        font-weight: 400;
        font-family: "Barlow Condensed", sans-serif;
    }

    .title {
        font-size: 30px;
    }   
}


@media (max-width: 600px) {
    .custom-track figure {
        flex: 0 0 100%;
    }

    .figSectionCentrale img {
        height: 260px;
    }

    .swiper-button-prev {
        left: 8px;
    }

    .swiper-button-next {
        right: 8px;
    }

        .swiper-button-next img,
        .swiper-button-prev img {
            width: 32px;
        }
}


@media (max-width: 600px) {
    .custom-track figure {
        min-width: 100%;
    }

    .swiper-button-prev {
        left: 10px;
        bottom: 13em;
    }

    .swiper-button-next {
        right: 10px;
        bottom: 13em;
    }

        .swiper-button-next img,
        .swiper-button-prev img {
            width: 40px;
        }

    .container-lined {
        width: 70%;
    }

    .figure {
        margin: 0 0 0rem;
    }
}


/*@media (min-width:575px) {
    .imgSecIniziale {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 30px;
        margin: 0 auto;
    }
}*/


@media (max-width:450px) {
    .figure-Eccellenze {
        height: 100%;
        width: 55%;
        background-color: #4a7890;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 40px;
        margin: 0 auto;
        max-width: 90%;
        margin-bottom: 1em;
    }

    figcaption {
        color: #f7f7ef;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 1.5rem;
        font-weight: 400;
        padding-bottom: 2%;
        margin: 0 auto;
        height: -webkit-fill-available;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .figSectionCentrale {
        max-width: 99%;
    }
    
    .custom-track {
        width: 108%;
    }

    .custom-slider {
        width: 73.6%;
        border-radius:150px;
    }

    figure {
        margin: 0 0 0rem;
    }

    .custom-track figure {
        min-width: 112%;
    }

    .mt-5 {
        margin-top: 1rem !important;
    }

    .swiper-button-prev {
        left: 10px;
        bottom: 8em;
    }

    .swiper-button-next {
        right: 10px;
        bottom: 8em;
    }

        .swiper-button-next img,
        .swiper-button-prev img {
            width: 30px;
        }

    .figSectionCentrale {
        background-color: #42728d;
        border-radius: 20px;
        padding: 0px;
    }

    .custom-track figure {
        min-width: 33.33%;
        padding: 0px;
        box-sizing: border-box;
    }

    .custom-track figure {
        flex: 0 0 100%;
    }

    .btn-link-article.exc {        
        max-width: 100%;
        width:9em;
    }
}


@media (max-width:350px) {
    .custom-slider {
        width: 77.6%;
        border-radius: 150px;
    }
}
