* {
    font-family: 'Cabin';
}

/**** MENU ****/
#container-body {
    margin-top: 6.5rem;
}
.new-navbar {
    width: 100%;
    background: white;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    padding: 25px;
    position: fixed;
    top: 0;
    z-index: 999;
    padding-left: 5rem;
    padding-right: 5rem;
}
.new-navbar  img {
    width: 149px;
    height: 55px
}
.new-navbar-title a{
    color: #1F3C88;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
    text-decoration: none;
}
.new-navbar-mobile {
    padding:15px;
    position: fixed;
    top:0;
    z-index: 99999;
}
.new-navbar-mobile img {
    width: auto;
    height: 40px;
}
#collapseHamburgerMenu {
    position: fixed;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background: white;
}
#collapseHamburgerMenu .new-navbar-title {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f1f1;
    display: inline-flex;
    justify-content: space-between;
}
#collapseHamburgerMenu .card {
    padding-left: 3rem;
    padding-right: 3rem;
}


/**** SLIDER HOMEPAGE ****/
.title-image {
    top:38%;
    left:6%;
    color: white;
    font-size: 60px;
    font-weight: 600;
    line-height: 60px;
    word-wrap: break-word;
}
.color-gradient {
    position: absolute;
    width: 100%;
    height: 95%;
    background: rgba(0, 0, 0, 0.20);
}

/**** SEZIONI ****/
.row {
    margin-top: 2rem;
}
.row .title {
    color: #1F3C88;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    word-wrap: break-word
}
.row .subtitle {
color: #1F3C88;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    word-wrap: break-word;
    margin-bottom: 1rem;
}
.row .description {
    color: #1F3C88;
    font-size: 20px;
    font-weight: 400;
    word-wrap: break-word;
}
.text-gradient {
    background: linear-gradient(to right, #8BBA29, #5186C1); ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/**** SEZIONI COLORATE ****/
.bg-color {
    background-color: #F0F4F8;
}

/**** VALORI ****/
.card-valori {
    width: fit-content;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background-color: white;
    border-radius: 10px;
    width: 100%;
}
.card-valori .bg-icon {
    padding: 1rem;
    background: #D7E9FB;
    color: #1F3C88;
    font-size: 21px;
    border-radius: 10px;
}
.card-valori .bg-icon i {
    font-size: 30px;
}
.card-valori .title {
    display: flex;
    align-items: center;
    color: #1F3C88;
    font-size: 20px;
    font-weight: 400;
}

/**** VICINI PER SCELTA ****/
.card-vicini {
    width: 48%;
    border-radius: 10px;
    background-color: #C7E090;
    padding:2rem;
}
.card-vicini i {
    color: #8BBA29;
    font-size: 25px;
}
.card-vicini .title {
    color: #1F3C88;
    font-size: 20px;
    font-weight: 600;
    word-wrap: break-word;
}
.card-vicini .description div {
    color: #1F3C88;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
}
.card-vicini .description div i {
    font-size: 17px;
}
.card-lg-vicini {
    background-color: #2c3e02;
    padding:2rem;
    border-radius: 10px;
    width: 98%;
    color:white;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}
.card-lg-vicini i {
    color: white;
}
.card-vicini .fa-check-circle {
    color: white;
}


/**** IL TUO WELFARE AZIENDALE ****/
.welfare-lista.row {
    margin-top:0;
    margin-bottom:2rem;
}

.welfare-lista {
    width: 100%;
}
.welfare-lista i {
    color: #8BBA29;
    margin-right: 5px;
}
.welfare-lista .title {
    color: #1F3C88;
    font-size: 20px;
    font-weight: 600;
    word-wrap: break-word
}
.welfare-lista .subtitle {
    color: #1F3C88;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
    margin:0;
    display: flex;
    align-items: center;
}

/**** CARD ASSOCIAZIONI MUTUALISTICHE ****/
.card-associazioni-mutualistiche {
    background-color: #2c3e02;
    padding: 1rem;
    border-radius: 10px;
    right: -1rem;
    width: 235px;
    margin-top: 1rem;
}
.card-associazioni-mutualistiche .title {
    color: white;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    word-wrap: break-word;

}
.card-associazioni-mutualistiche .subtitle {
    color: white;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    word-wrap: break-word;
    margin:0;
}


/**** FOOTER ****/
.footer {
    padding-top:3rem;
    padding-bottom:3rem;
}
.footer .row {
    padding-left:5rem;
    padding-right:5rem;
}
.footer .row div {
    padding:0;
}
.footermenu {
    padding-left: 2rem !important;
}
.footerprivacy{
    text-align: right;
}
.footer .title {
    color: #1F3C88;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    word-wrap: break-word;
    margin-bottom: 2rem;
}
.footer .subtitle, .footer .subtitle a{
    color: #1F3C88;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
    text-decoration: none;
}
.footer .subtitle a {
    font-weight: 600;
}
.footer .subtitle-light a{
    font-weight: 300 !important;
}
.copyrights {
    height: 4rem;
    border-top: 1px solid #F1F2F4;
    text-align: center;
    color: #1F3C88;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.24px;
    word-wrap: break-word;
    padding:1rem;
}

/**** VARIE ****/
.row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
}
.padding {
    padding:5rem;
}
.padding-sm {
    padding:5rem;
}
.shape {
    margin-top: -4rem;
    width:100%;
}
.pb-6 {
    padding-bottom: 3rem;
}
.pt-6 {
    padding-top: 3rem;
}
.pb-7 {
    padding-bottom: 5rem;
}
.pt-7 {
    padding-top: 5rem;
}
.title.green {
    color:#2c3e02;
    font-size: 20px;
    font-weight: 600;
}
.btn-large {
    height: 160px;
    width: 270px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #1F3C88;
    font-size: 20px;
    font-weight: 600;
    border: 1px solid #8BBA29;
    word-wrap: break-word;
}
.btn-large:hover {
    color: #1F3C88;
}
.btn-large i {
    color: #8BBA29;
    font: 14px;
}
#followup {
    background-color: #1F3C88;
    color: white;
    font-weight: 300;
    opacity: 0.5;
    border-radius: 50%;
    border:none;
    position: fixed;
    right: 4rem;
    bottom:1rem;
}
#followup i {
    font-weight: 100;
}
#followup:hover {
    opacity: 1;
}
.bg-color div {
    z-index: 9;
}

/********************** T A B L E T **********************/

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .padding, .padding-sm {
        padding:4rem;
    }

    .container-card-valori {
        justify-content: center !important;
        padding-top:2rem;
    }
    #container-body {
        margin-top: 4rem;
    }

    .modal-dialog {
        margin-bottom: 12rem;
        margin-top: 7rem;
    }


    .footermenu {
        padding-left: unset !important;
    }
    .footerprivacy{
        text-align: unset;
    }

    .animation-dx {
        -webkit-animation:animDxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-sx {
        -webkit-animation: animSxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-bottom {
        -webkit-animation: animBottomMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }

    @-webkit-keyframes animDxMobile {
        0% {
            -webkit-transform:translateX(0%) !important;
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }
    @-webkit-keyframes animSxMobile {
        0% {
            -webkit-transform:translateX(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }

    @-webkit-keyframes animBottomMobile {
        0% {
            -webkit-transform:translateY(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateY(0);
            opacity:1;
        }
    }
}

@media only screen and (min-width: 992px) and (max-width: 1089px) {
    .new-navbar {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .animation-dx {
        -webkit-animation:animDxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-sx {
        -webkit-animation: animSxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-bottom {
        -webkit-animation: animBottomMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }

    @-webkit-keyframes animDxMobile {
        0% {
            -webkit-transform:translateX(0%) !important;
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }
    @-webkit-keyframes animSxMobile {
        0% {
            -webkit-transform:translateX(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }

    @-webkit-keyframes animBottomMobile {
        0% {
            -webkit-transform:translateY(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateY(0);
            opacity:1;
        }
    }
}

/********************** M O B I L E **********************/

@media only screen and (max-width: 600px) {
    /**** SLIDER HOMEPAGE ****/
    .title-image {
        font-size: 30px;
        line-height: 40px;
    }

    .padding, .padding-sm {
        padding:3rem;
    }

    .card-vicini, .card-lg-vicini {
        width: 100%;
    }

    .shape {
        margin-top: -3rem;
        width:100%;
    }

    .container-card-valori {
        justify-content: center !important;
        padding-top:2rem;
    }
    #container-body {
        margin-top: 4rem;
    }

    .modal-dialog {
        margin-bottom: 12rem;
        margin-top: 7rem;
    }
    .modal {
        margin-top: 0;
    }

    .footermenu {
        padding-left: unset !important;
    }
    .footerprivacy{
        text-align: unset;
    }


    .animation-dx {
        -webkit-animation:animDxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-sx {
        -webkit-animation: animSxMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }
    .animation-bottom {
        -webkit-animation: animBottomMobile 1s ease !important;
        animation-fill-mode:forwards;
        -webkit-animation-fill-mode:forwards;
    }

    @-webkit-keyframes animDxMobile {
        0% {
            -webkit-transform:translateX(0%) !important;
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }
    @-webkit-keyframes animSxMobile {
        0% {
            -webkit-transform:translateX(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateX(0);
            opacity:1;
        }
    }

    @-webkit-keyframes animBottomMobile {
        0% {
            -webkit-transform:translateY(0);
            opacity:0;
        }
        100% {
            -webkit-transform:translateY(0);
            opacity:1;
        }
    }
}

/********************** L A R G E **********************/
@media only screen and (min-width: 1440px) {
    .shape {
        margin-top: -6rem;
    }
}


/**** FORM CONTROL ****/
.form-control {
    margin-bottom: 1rem;
    color: #1F3C88;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
    border:0;
    padding:1rem;
}
.form-control::placeholder {
    color: #1F3C88;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
}


/**** ANIMAZIONI ****/
.animation-dx {
    -webkit-animation:animDx 2.5s ease;
    animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
}
.animation-sx {
    -webkit-animation: animSx 2.5s ease;
    animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
}
.animation-bottom {
    -webkit-animation: animBottom 2.5s ease;
    animation-fill-mode:forwards;
    -webkit-animation-fill-mode:forwards;
}
@-webkit-keyframes animDx {
    0% {
        -webkit-transform:translateX(200%);
        opacity:0;
    }
    100% {
        -webkit-transform:translateX(0);
        opacity:1;
    }
}
@-webkit-keyframes animSx {
    0% {
        -webkit-transform:translateX(-100%);
        opacity:0;
    }
    100% {
        -webkit-transform:translateX(0);
        opacity:1;
    }
}
@-webkit-keyframes animBottom {
    0% {
        -webkit-transform:translateY(100%);
        opacity:0;
    }
    100% {
        -webkit-transform:translateY(0);
        opacity:1;
    }
}