.widget.dark-bg {
    background-color: #009640;
}

.widget.default-bg {
    background-color: #f5f5f5;
}

.widget.white-bg {
    background-color: #ffffff !important;
}

.body-home .widget header.default {
    text-align: center;
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .widget header.default {
        margin-bottom: 20px;
    }
}

.widget header h1 {
    font-size: 2.2rem;
    line-height: 2.5rem;
    margin: 10px 0;
}

.widget header h2 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    margin: 10px 0;
    font-weight: normal;
}


.widget .btn-custom {
    text-transform: uppercase;
    background-color: #f36221;
    margin-top: 20px;
    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 2px;
}

@media screen and (max-width: 991px) {
    .widget header h1 {
        font-size: 1.4rem;
        line-height: 1.6rem !important;
    }

    .widget header h2 {
        font-size: 1rem;
        line-height: 1.6rem !important;
    }

    .widget p, .widget ul li {
        font-size: 0.85rem;
        line-height: 1.4rem !important;
    }

    .widget .btn-custom {
        font-size: 0.8rem;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}


.widget.mv-si {
    margin-top: 40px;
    margin-bottom: 40px;
}

.widget.mv-s {
    margin-top: 40px;
}

.widget.mv-i {
    margin-bottom: 40px;
}

.widget .list-custom {
    list-style-type: none;
    padding-left: 10px;
}

.widget .list-custom i {
    margin-right: 5px;
}

/* testo e foto */
.widget.testo_foto .blocco-testo {
    padding: 20px;
    display: flex;
    align-items: center;
    /* justify-content: center;*/
}

@media screen and (max-width: 1099px) {
    .widget.testo_foto .blocco-testo {
        font-size: 13px;
        padding: 20px 0;
    }
}

.widget.testo_foto .blocco-foto img {
    align-items: center;
    justify-content: center;
}

.widget.testo_foto .order-md-1.blocco-foto {
    text-align: right;
}

.widget.dark-bg.testo_foto .blocco-testo {
    color: #ffffff;
}

/* header full */
.widget.img-full {
    position: relative;
    background-color: #ffffff !important;
}

.widget.img-full .img-fluid {
    max-width: 100%;
    width: 100%;
}

.widget.img-full .col-img {
    padding-left: 0;
    padding-right: 0;
}

.widget.img-full .content {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    transform: translateY(-40%);
}

@media screen and (min-width: 1600px) {
    .widget.img-full .container {
        width: 1600px;
    }
}

@media screen and (max-width: 991px) {
    .widget.img-full .content {
        top: 30%;
    }
}

.widget.img-full .block {
    float: left;
    padding: 30px;
    margin-left: 50px;
}

@media screen and (max-width: 991px) {
    .widget.img-full .block {
        margin-left: 10px;
    }
}

.widget.img-full h1 {
    padding: 0px;
    margin-bottom: 10px;
    font-weight: 800;
    font-size: 3.229vw;
    line-height: 1.2em;
    font-family: 'Open Sans';
}

.widget.img-full.light h1,
.widget.img-full.light h2,
.widget.img-full.light-bg-dark h1,
.widget.img-full.light-bg-dark h2 {
    color: #ffffff;
}

.widget.img-full.dark h1,
.widget.img-full.dark h2 {
    color: #333;
}

.widget.img-full h2 {
    font-weight: normal;
}

.widget.img-full.light-bg-dark .block {
    background-color: rgba(0, 0, 0, 0.5);
}

.widget.img-full h2 {
    font-size: 18px;
}

@media screen and (max-width: 1199px) {
    .widget.img-full h1 {
        padding: 0px;
        font-size: 40px;
        line-height: 40px;
    }

    .widget.img-full h2 {
        font-size: 15px;
    }
}

@media screen and (max-width: 991px) {
    .widget.img-full .block {
        padding: 15px;
    }

    .widget.img-full header h1 {
        font-size: 30px !important;
        line-height: 30px;
    }

    .widget .img-full h2 {
        font-size: 14px;
    }
}

/* slider pro */
@media screen and (max-width: 1217px) {
    .sp-thumbnails {
        display: none;
    }
}

/* testo */
.widget.testo {
    margin: 20px 0;
}

@media screen and (min-width: 1100px) {
    .widget.testo .blocco-testo {
        font-size: 16px;
        line-height: 29px;
    }
    .widget.testo {
        margin: 40px 0;
    }
}

/* icone */
.widget.icons h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 3px 0;
}

.widget.icons h4 {
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
    font-weight: normal;
}

.widget.icons {
    margin: 40px 0;
}

@media screen and (min-width: 1099px) {
    .widget.icons {
        margin: 60px 0;
    }
}

.widget.icons {
    text-align: center;
}

.widget.icons .block-icon {
    background-color: #cccccc;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget.icons .block-icon i {
    color: #ffffff;
    font-size: 60px;
}

@media screen and (max-width: 991px) {
    .widget.icons .block-icon {
        width: 80px;
        height: 80px;
    }

    .widget.icons .block-icon i {
        font-size: 30px;
    }

    .widget.icons h3 {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    .widget.icons h4 {
        font-size: 0.8rem;
        line-height: 1rem;
    }
}
