
body {
    background-color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}

a {
    color: #000;
}

.accent {
    color: #cd0731;
}

.accentExpired {
    color: #8a0021;
}

.accentBackgroundColor {
    background-color: #cd0731;
    color: #fff;
}

.container {
    width: 96% !important;
}


/* Menu related */
.mainHeader {
    position: relative;
}

    .mainHeader > img, .overlay-img {
        position: absolute;
    }

.menu {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #cd0731 !important;
    color: #fff;
    height: 60px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .menu {
        border-bottom-right-radius: 30px;
        border-bottom-left-radius: 30px;
    }
}

.menuItems {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: #cd0731 !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0;
    margin: 0;
}


li.nav-item a.nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

/*li.nav-item:hover a.nav-link:hover {
    font-size: 17px;
    font-weight: 700;
    margin: -2px;
}*/
li.nav-item a.active {
    color: #fff !important;
    font-weight: 700;
    font-size: 17px;
    margin: -2px;
}

.container-fluid div {
    display: flex;
    justify-content: space-around;
}

/* Breadcrumbs related */
nav a,
.nunderline a,
.breadcrumb a {
    text-decoration: none;
}

    nav a:hover,
    .nunderline a:hover,
    .breadcrumb a:hover {
        color: #000;
        text-decoration: underline;
        text-underline-offset: 40%;
    }

.gt {
    margin: 0 4px;
}


/* Homepage related */
.cardJumboBox {
    background-color: #f5f5f5;
    border-radius: 35px;
    padding: 40px;
    height: 100%;
    border: 0;
}

    .cardJumboBox .card-header,
    .cardJumboBox .card-body,
    .cardJumboBox .card-footer {
        background-color: #f5f5f5 !important;
        border: 0;
        padding: 0;
    }

.btn-fondazione {
    color: #fff;
    background-color: #cd0731;
    border-radius: 15px;
    padding: 7px 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

    .btn-fondazione:hover {
        color: #fff;
        background-color: #cd0731;
        border-radius: 15px;
        /*padding: 6px 20px;
        font-size: 17px;*/
    }

    .btn-fondazione:hover {
        text-decoration: underline;
        text-underline-offset: 30%;
    }

.btn-gray,
.btn-gray:hover {
    background-color: #363636;
}


/* Chi siamo cards */
.cardChiSiamo {
    border: 2px #cd0731 solid;
    border-radius: 20px;
}

    .cardChiSiamo .card-header {
        color: #fff;
        background-color: #cd0731;
        padding: 10px 20px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        font-weight: bold;
        font-size: 15px !important;
    }

    .cardChiSiamo .card-body {
        font-size: 14px;
        padding: 20px 0;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .cardChiSiamo ul {
        margin: 0 20px;
        line-height: 1.5
    }

    .cardChiSiamo li.list-group-item {
        list-style-type: none;
        background: url(/img/icon_cda.svg) no-repeat left center;
        background-size: 20px;
        padding-left: 32px;
    }

.list-group-item {
    border-bottom-color: #999;
    font-size: 15px
}

.documentiHeader {
    color: #fff;
    background-color: #cd0731;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

/* Chi siamo documents */
.documents li.list-group-item {
    list-style-type: none;
    background: url(/img/icon_doc.svg) no-repeat left center;
    background-size: 20px;
    padding-left: 32px;
}

.documents li.list-group-item-empty {
    list-style-type: none;
    background: url(/img/empty.png) no-repeat left center;
    background-size: 20px;
    padding-left: 32px;
}

/* Bandi cards */
.cardBando {
    background-color: #fff;
    border: 2px solid #cd0731;
    border-radius: 45px;
    padding: 40px 30px;
}

    .cardBando.expired {
        border: 2px solid #8a0021 !important;
    }

    .cardBando .card-header h5 {
        margin-bottom: 25px;
        font-size: 2rem;
        line-height: 1.5;
    }

    .cardBando .card-body {
        margin-bottom: 25px;
    }

    .cardBando ul {
        margin: 0;
        line-height: 1.5;
    }

    .cardBando .card-header {
        background-color: #fff !important;
        border: 0;
    }

        .cardBando .card-header h5 {
            font-size: 1.1rem !important;
            color: #cd0731;
        }

    .cardBando.expired .card-header h5 {
        color: #8a0021 !important;
    }

    /* Chi siamo documents */
    .cardBando li.list-group-item {
        list-style-type: none;
        background: url(../img/icon_doc.svg) no-repeat left center;
        background-size: 20px;
        padding-left: 32px;
    }

    .cardBando li.list-group-item-empty {
        list-style-type: none;
        background: url(/img/empty.png) no-repeat left center;
        background-size: 20px;
        padding-left: 32px;
    }

cardBando b {
    color: #cd0731;
}

/* Research cards */
.cardResearch {
    border: 0;
    background-color: #ccc !important;
}

    .cardResearch ul {
        margin: 0;
        line-height: 1.5
    }

    .cardResearch .card-header {
        background-color: #fff;
        border: 0;
    }

        .cardResearch .card-header h5 {
            font-size: 1.1rem !important;
        }

    .cardResearch .card-body {
        background-color: #fff;
        /*border: 0;*/
        padding-top: 0;
        padding-bottom: 0;
    }

    .cardResearch .card-footer {
        background-color: #fff;
        /*border: 0;*/
        padding-top: 0;
        padding-bottom: 0;
    }

/* Footer related */
footer .footer {
    font-size: 12px;
}

    footer .footer a {
        text-decoration: none;
    }

        footer .footer a:hover {
            text-decoration: underline;
        }

.footerHeader {
    height: 50px;
    color: #fff;
    background-color: #990134;
    border-radius: 25px;
    padding: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.footerNavTop {
    height: 50px;
    color: #fff;
    background-color: #cd0731;
    border-radius: 25px !important;
    margin: -15px 0 0 0;
    padding: 15px 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

ul.footer {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

    ul.footer li {
        float: left;
    }

        ul.footer li a {
            display: block;
            color: white;
            text-align: center;
            padding: 0 16px 10px 16px;
            text-decoration: none;
        }

            ul.footer li a:hover {
                text-decoration: underline;
            }

/* Main menu related */
ul.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

    ul.nav li {
        float: left;
    }

        ul.nav li a {
            display: block;
            color: white;
            text-align: center;
            padding: 16px 16px 10px 16px;
            text-decoration: none;
        }
