/* FONT*/

@font-face {
    font-family: 'nexa_boldregular';
    src: url('font/nexa_bold-webfont.woff2') format('woff2'),
    url('font/nexa_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'nexa_lightregular';
    src: url('font/nexa_light-webfont.woff2') format('woff2'),
    url('font/nexa_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*COLORI*/

:root{
    --primary-color: #F18B1B;
    --darker-color: #3B3B3B;
    --secondary-color: #FC822B;
    --lighter-color: #FFFFFF;
    --tertiary-color: #D9E1FB;
}

.bgk-dark{
    background-color: #1C1C1B;
}

.bgk-light{
    background-color: #F6F6F6 !important;
}

.bgk-white{
    background-color: var(--lighter-color) !important;
}


/*.gradient-background{*/
     /* fallback for old browsers */
    /*background: #3863e8;*/

    /* Chrome 10-25, Safari 5.1-6 */
    /*background: -webkit-linear-gradient(180deg, #1C3274, #3863E8);*/

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    /*background: linear-gradient(180deg, #1C3274, #3863E8);*/

/*}*/

.gradient-background{
    /* fallback for old browsers */
    background: #f0cfab;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(180deg, #f18b1b, #f0cfab);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(180deg, #f18b1b, #f0cfab);

}

.white{
    color: var(--lighter-color);
}

.blue{
    color: var(--primary-color);
}

footer{
    background-color: #1C1C1B;
}

.black{
    color: var(--darker-color);
}

/* TIPOGRAFIA */

    h1{
        font-size: 70px;
        text-align: center;
        font-family: "nexa_boldregular";
        font-weight: 800;
    }

    h2{
        font-size: 35px;
        text-align: center;
        font-family: "nexa_boldregular";
        font-weight: 600;
    }

    h3{
        font-size: 25px;
        text-align: center;
        font-family: "nexa_boldregular";
        font-weight: 800;
        }

    h4{
        font-size: 22px;
        text-align: left;
        font-family: "nexa_boldregular";
        font-weight: 800;
       }

    h5{
        font-size: 18px;
        text-align: left;
        color: red;
        font-family: "nexa_lightregular";
        font-weight: 600;
    }

    p{
        font-family: "nexa_lightregular";
        font-size: 18px;
        text-align: center;
    }


    .p2{
        width: 80%;
        font-size: 25px;
        text-align: left !important;
    }

    .p3{
        font-size: 25px;
    }

    .subtitle-text{
        letter-spacing: 1px;
        font-family: "nexa_boldregular";
    }

    li{
        font-weight: 600;
        font-family: "nexa_boldregular";
        font-size: 25px;
    }

    label{
        font-size: 18px;
        text-align: left;
        font-family: "nexa_boldregular";
        color: var(--primary-color);
    }

    /*elementi*/

    hr{
        width: 57px !important;
        opacity: 1;
        color: var(--primary-color);
        border: solid 1px;
    }

    .icon-footer{
        width: 30px;
    }

    .footer-text{
        font-size: 13px;
    }

    .btn-primary{
        width: 100%;
        border-radius: 30px;
        padding-left: 15px;
        padding-right: 15px;
        text-transform: uppercase;
        font-family: "nexa_boldregular";
        border-color: var(--primary-color);
        font-size: 20px;
    }

    .btn-primary:hover{
        color: white;
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

    .btn-secondary{
        width: 100%;
        border-radius: 30px;
        padding-left: 15px;
        padding-right: 15px;
        text-transform: uppercase;
        font-family: "nexa_boldregular";
        font-size: 20px;
        border: 2px solid;
        border-color: var(--primary-color);
        color: var(--primary-color);
        background-color: white;
    }

    .btn-secondary:hover{
        background-color: var(--primary-color) !important;
        border-color: white !important;
        color: white !important;
    }

    .btn-secondary:focus, .btn-secondary:active{
        background-color: #e05d02 !important;
        border: none;
        color: white;
    }

    .btn-outline-secondary{
        border-color: var(--primary-color) !important;
        background-color: var(--primary-color) !important;
        border-radius: 48px;
    }

    .btn-outline-tertiary{
        width: 100%;
        border-radius: 30px;
        padding-left: 15px;
        padding-right: 15px;
        text-transform: uppercase;
        font-family: "nexa_boldregular";
        font-size: 20px;
        border: 2px solid;
        border-color: white !important;
        color: white;
    }

    .btn-outline-tertiary:hover{
        background-color: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
        color: white;
    }

    .btn-outline-tertiary:focus, btn-outline-tertiary:active{
        background-color: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
        color: white;
    }

    .news-category{
        font-family: "nexa_boldregular";
        font-size: 18px;
    }

@media (max-width: 992px) {

    h1 {font-size: 60px;}
    h2{ font-size: 25px;}
    h3{ font-size: 20px;}
    h4{ font-size: 18px;}
    li{font-size: 22px;}
    p{ font-size: 16px;}
    .p2{
        font-size: 20px;
        width: 100%;}
    .p3{font-size: 20px;}

    .button-tablet{
        width: 50% !important;
    }
}

@media (max-width: 576px) {
    h1 {font-size: 30px;}
    h2{ font-size: 20px;}
    h3{ font-size: 18px;}
    h4{ font-size: 12px;}
    h5{ font-size: 13px;}
    li{font-size: 16px;}
    p{ font-size: 13px;}
    .p2{font-size: 15px;}
    .p3{font-size: 15px;}

    .btn-primary, .btn-secondary, .btn-outline-tertiary{
        width: 100%;
        font-size: 12px;
    }

    .mobile-width{
        width: 25px !important;
    }

    label{
        font-size: 15px;
    }
}

.op-65{ opacity: 65%; }

.spin{
    animation-name: spin;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/* GESTIONE NEWS */

.articoloBody{
    font-family: "nexa_lightregular";
    font-size: 18px;
}
.articoloBody > ul > li, .articoloBody > ul > li > ol >li, li > span {
    font-weight: 500;
    font-family: "nexa_lightregular";
    font-size: 18px;
}
li > strong{
    font-size: 18px;
}
.articoloBody > ul > li{
    padding-top:15px;
}

.articoloBody > ul > li > strong {
    font-family: "nexa_boldregular";
}

span > strong {
    font-weight: 600;
    font-family: "nexa_boldregular";
}

/******* RESTYLING **********/


.bck-arancio{
    background-color: #F18B1B!important;
}
