@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;1,100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

/* generics */

h2 {
    color:#e52336;
    font-family: 'Source Sans Pro', sans-serif;
}
main ul {
font-family: 'Source Sans Pro', sans-serif;
font-size: 1.4rem;
color: #495057 !important;
}

a:hover {
    text-decoration: none !important;
}

header {
    background: #ffffff;
}

header ul li {
    display: inline;
}

header ul {
    margin-bottom: 0px;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
   
    font-size: 1.4rem;
    color: #495057;
}

li {
    font-family: 'Source Sans Pro', sans-serif;
}

label {
    font-family: 'Bebas Neue', cursive;
}

.btn a {
    text-decoration: none !important;
}

ul li i {
    color: #e52336 !important;
}

/*breadcrumb*/
a.breadcrumb-link,
a.breadcrumb-link:visited {
    color: #e52336 !important;
    font-family: 'Bebas Neue', cursive;
}

/* bootstrap ow */
.img-thumbnail {
    border: none !important;
}

/* navbar */
li.nav-item {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5em;
}

nav {
    background-color: #ffffff;
}

.navbar-nav {
    float: none !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5) !important;
}

.navbar-dark .navbar-toggler {
    color: transparent !important;
    border-color: transparent !important;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    text-decoration: none !important;
    color: #e52336 !important;
}

/* header */
.carousel-item img {
    width: 100%;
}

.caption {
    /*position: absolute;*/
    width: 100%;
    bottom: 10vw;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    background-color: #6666666b;
}

.caption h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.5rem;
    color: #e52336;
    padding-top: .25rem !important;
    margin-top: .25rem !important;
}

.caption h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.1rem;
    color: #fff;
}

.h2-software {
    color: #fff !important;
}

.titolo h1 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5em;
    text-align: center;
    display: none !important;
}

.titolo h2 {
    color: #e52336;
    font-family: 'Bebas Neue', cursive;
    font-size: 3em;
    text-align: center;
}

.titolo h3 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    font-size: 2rem;
    display: none !important;
}

/* prodotti */
.h1-prodotto-home {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
}

.prodotto {
    height: 45vw;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.prodotto1 {
    border-top: 3px solid #582121;
    border-bottom: 3px solid #582121;
    background-image: url(/src/img/prodotto1.png);
}

.prodotto2 {
    border-top: 3px solid #868686;
    border-bottom: 3px solid #868686;
    background-image: url(/src/img/prodotto2.png);
}

.prodotto3 {
    border-top: 3px solid #830606;
    border-bottom: 3px solid #830606;
    background-image: url(/src/img/prodotto3.png);
}

.prodotto4 {
    border-top: 3px solid #090909;
    border-bottom: 3px solid #090909;
    background-image: url(/src/img/prodotto4.png);
}

.prodotto h1,
.consulenze h1,
.sezione-consulenze h1 {
    font-family: 'Bebas Neue', cursive;
    color: #666666;
    font-size: 2.5rem;
}

.prodotto ul li {
    list-style-type: none;
}

.prodotto button.btn.btn-primary.btn-lg,
button.btn.btn-primary.btn-md-lg,
.consulenze button.btn.btn-primary.btn-lg,
.all-news button.btn.btn-primary.btn-lg,
.bottone button.btn.btn-primary.btn-lg,
button.btn.btn-primary.btn-md-lg {
    background-color: #e52336;
    border-color: #e52336;
    font-family: 'Bebas Neue', cursive;
}

.sezione-consulenze button.btn.btn-primary.btn-lg,
button.btn.btn-primary.btn-md-lg {
    background-color: #e52336;
    border-color: #e52336;
    font-family: 'Bebas Neue', cursive;
}

.prodotto button a,
.sezione-consulenze button a,
.all-news button a,
.consulenze button a,
.bottone button a {
    color: #ffffff;
}

button.bottone-landing {
    background-color: #ffffff;
    border-color: #ffffff;
    font-family: 'Bebas Neue', cursive;
    color: #000000 !important;
}

button.bottone-landing a {
    color: #000000;
}

/* consulenze */
.consulenze {
    border-top: 3px solid #666666;
}

.consulenze h2 {
    font-family: 'Bebas Neue', cursive;
    color: #666666;
    font-size: 2em;
}

.consulenze ul li,
.preventivo ul li,
.all-news ul li {
    list-style-type: none;
    text-align: center;
}

.consulenze ul,
.preventivo ul {
    padding-left: 0 !important;
}

.consulenze ul li {
    text-align: center;
}
::marker {
    color: #e52336;
}


/* preventivo */
.preventivo {
    background-image: url(/src/img/PREVENTIVO.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.preventivo h1 {
    color: #ffffff;
    font-family: 'Bebas Neue', cursive;
}

.preventivo button.btn.btn-primary.btn-lg {
    background-color: #ffffff;
    border-color: #ffffff;
    font-family: 'Bebas Neue', cursive;
}

.preventivo ul li a {
    color: #000000;
}

/* notizie */
.card-news {
    height: 40vh;
    border: none !important;
    border-radius: 0px !important;
}

.img-news {
    height: 100% !important;
    border-radius: 0px !important;
}

.card-news-footer {
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    height: 40%;
    width: 100%;
}

.card-news-footer h1 {
    color: #666;
    font-family: 'Bebas Neue', cursive;
    font-size:1.5em;
}

.card-news-footer a:hover {
    text-decoration: none !important;
}

/* all-news */
.all-news ul li h5 {
    font-family: 'Bebas Neue', cursive;
    color: #666666;
    font-size: 2em;
}

/* footer */
footer:first-of-type h1 {
    margin-top: 0px;
    color: #ffffff;
    font-family: 'Bebas Neue', cursive;
}

footer:first-of-type p {
    font-family: 'Bebas Neue', cursive;
    font-size: 2em;
    color: #ffffff;
}

footer:first-of-type {
    background-color: #e52336;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer:first-of-type ul li,
footer:last-of-type ul li {
    list-style-type: none;
    text-align: center;
    display: inline;
}

footer:last-of-type {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* pagina-chi-siamo */
.chi-siamo h4 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 2em;
    text-align: center;
}

.chi-siamo h5 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 2em;

}

.chi-siamo h1 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5em;

}

/**/
.card {
    background-color: transparent;
    border: none;
}

.card .img-thumbnail {
    background-color: transparent;
    height: 100px;
}

.singola-consulenze h5 {
    color: #ffffff;
    font-family: 'Bebas Neue', cursive;
    font-size: 2em;
    background-color: #e52336;
    border-radius: 5px;
    padding: 5px;
}

.singola-consulenze2 h5 {
    color: #ffffff;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8em;
    background-color: #545b62;
    border-radius: 5px;
    padding: 5px;
}

.card h5 {
    color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4em;
    text-align: center;
}

.carta h5:first-of-type {
    border-top: none;
}
.carta ul {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    color: #495057;
}
/* pagina-notizie */
.sottopagina-occasioni div a {
    font-family: 'Bebas Neue', cursive;
    text-decoration: none !important;
}

.sottopagina-occasioni div a:hover,
.sottopagina-occasioni div a:active,
.sottopagina-occasioni div a:visited {
    text-decoration: none !important;
    color: #666666 !important;
}

/* singola-news */
.titolo-news h1 {
    color: #e52336;
    font-size: 3.5rem !important;
    font-family: 'Bebas Neue', cursive;
}

.contenuto-news p {
    color: #666666;
    font-family: 'Source Sans Pro', sans-serif;
}

.contenuto-news p a {
    color: #e52336;
    text-decoration: none !important;
}

/* form */
.label-err {
    color: #e52336;
}

#messaggio {
    resize: none;
}

.form-group>label {
    bottom: 32px;
    left: 15px;
    position: relative;
    background-color: transparent;
    font-size: 1.1em;
    transition: 0.2s;
    pointer-events: none;
    color: gray;
}

.form-control {
    border: none;
    border-bottom: 1px solid gray;
    border-radius: 0px;
}

.form-control:focus,
.form-control:active {
    border: none;
    border-bottom: 1px solid #e52336;
    box-shadow: none;
}

.form-control:focus~label,
.form-control:valid~label {
    color: #212529;
    font-size: .9em;
    bottom: 62px;
}

.form-control:focus~label {
    color: #e52336;
}

.form-control:focus~.label-mess,
.form-control:valid~.label-mess {
    color: transparent;
}

.label-err {
    display: none !important;
}

.show-error {
    color: #e52336;
}

.hide-error {
    display: none;
}

/* adifranchising-multi */
.prodotti4-2-multi {
    background-image: url(/src/img/prodotto4_1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    height: 45vw;
}

.sfondo-multi {
    background-color: #ffffffb0;
    padding-bottom: 30px;
    padding-top: 30px;
}

.bottone-preventivo {
    color: #000000;
}

.bottone-preventivo:hover {
    background-color: #e52336 !important;
    border-color: #e52336 !important;
    color: #fff;
}

/* @media */
@media (max-width: 768px) {

    .list-unstyled-ow {
        padding: 0 !important;
        list-style: none !important;
    }

    .h1-prodotto-home {
        font-size: 2.5rem !important;
    }

    /*h1 size from 0px to 768px(md)*/
    .h1-to-md {
        font-size: 1.8rem !important;
    }

    /* header */
    /*center grey bg on mobile*/
    .caption {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        bottom: 8vw !important;
    }

    /* font mobile*/
    .caption h1 {
        font-size: 3rem !important;
    }

    .caption h2 {
        display: none;
    }

    .btn-to-md-lg {
        padding: .375rem .75rem !important;
        font-size: 1rem !important;
    }

    .titolo h3 {
        display: block !important;
    }

    /* prodotti */
    .prodotto div img {
        width: 75% !important;
    }

    .sfondo-2 {
        background-color: #ffffffb0;
    }

    .prodotti-2 {
        background-image: url(/src/img/prodotto1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }

    .prodotti2-2 {
        background-image: url(/src/img/prodotto2_1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }

    .prodotti3-2 {
        background-image: url(/src/img/prodotto3.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }

    .prodotti4-2 {
        background-image: url(/src/img/prodotto4_1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }

    /*consulenze*/
    .consulenze h2,
    .singola-consulenze h5 {
        font-size: 1.5em !important;
    }

    .sezione-consulenze div img {
        width: 75% !important;
    }

    .card h5 {
        font-size: 2em;
    }

    /* pagina-chi-siamo */
    .fa-li-r {
        position: absolute;
        left: -2.14285714em;
        width: 2.14285714em;
        top: .14285714em;
        text-align: center;
    }

    /* pagina-notizie */
    .sottopagina-occasioni div a div h3 {
        font-size: 1.5em !important;
    }

    /* adifranchising-multi */
    .prodotti4-2-multi {
        height: auto;
    }
}

@media (max-width: 992px) {

    .container-nav {
        width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        max-width: 100% !important;
    }

    /* navbar */
    .navbar-dark .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .navbar-dark .navbar-nav .active>.nav-link,
    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link:hover {
        color: rgb(255, 255, 255) !important;
    }

    .div-navbar,
    .navbar-dark {
        background-color: #e52336 !important;
    }

    footer:first-of-type p {
        font-size: 1em !important;
    }
}

/*margin mid 10vh*/
@media (min-width: 992px) {
    .m-vh-lg-10 {
        margin-top: 10vh !important;
    }
}

@media (min-width: 768px) {
    .offset-r-md-1 {
        margin-right: 8.333333% !important;
    }

    /*dimensione 100 img*/
    .w-md-100 {
        width: 100% !important;
    }

    .sfondo {
        background-color: #ffffffb0;
        padding-bottom: 30px;
        padding-top: 30px;
    }

    /* prodotto */
    .prodotto div ul {
        background-color: #ffffff8c;
        padding: 50px;
    }

    /* pagine-prodotti */
    .prodotti {
        background-image: url(/src/img/prodotto1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        height: 45vw;
    }


    .prodotti2 {
        background-image: url(/src/img/prodotto2_1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        height: 45vw;
    }

    .prodotti3 {
        background-image: url(/src/img/prodotto3.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        height: 45vw;
    }

    .prodotti4 {
        background-image: url(/src/img/prodotto4_1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        height: 45vw;
    }

    /* pagina-chi-siamo */
    .fa-li-r {
        position: absolute;
        right: -2.14285714em;
        width: 2.14285714em;
        top: .14285714em;
        text-align: center;
    }
}


/* stile privacy */
h2 {
    text-align: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: #e52336;
    padding-top: 0.25rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

h3 {
color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 2em;
}

h4 {
        color: #666666;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5em;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.5rem;
    color: #e52336;
    padding-top: 0.25rem !important;
    margin-top: 0.25rem !important;
}