html,
body {
    background: none;
    background-color: #F5F5F5;
    position: relative;
}

main {
    padding-bottom: 140px;
    height: 100%;
    min-height: 100%;
    position: relative;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}

:root {
    --rz-datalist-padding: 0 !important;
    --rz-steps-number-selected-background: #44624A !important;
    --rz-steps-title-selected-color: #44624A;
    --rz-text-body1-font-size: 18px !important;
    --rz-text-body2-font-size: 12px !important;
    --rz-text-font-family: "Merriweather Sans", sans-serif;
    --rz-primary: #046B9E !important;
    --rz-menu-top-item-background-color: transparent !important;
    --rz-menu-top-item-color: #000 !important;
    --rz-menu-top-item-padding: 10px 20px !important;
    --rz-datalist-item-background-color: tranparent !important;
    --rz-datalist-item-border: none !important;
    --rz-text-body1-font-size: 16px !important;
    --rz-text-body1-color: #000 !important;
    --rz-input-height: 50px !important;
}
.rz-menu-toggle:hover{
    color:#000!important;
}
.rz-breadcrumb {
    padding-bottom: 30px;
}

    .rz-breadcrumb .rz-label {
        font-family: "Merriweather", sans-serif;
        font-size: 22px;
        font-weight: bold;
    }

.rz-button {
    text-transform: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
}


    .rz-button:hover {
        color: #003752 !important;
    }

.rz-navigation-item-text {
    text-transform: uppercase;
    font-family: "Merriweather Sans", sans-serif;
}

.rz-navigation-item-link:hover .rz-navigation-item-text {
    color: #000 !important;
    font-weight: bold;
}

.PagInterne {
    border-top: 1px solid #046B9E;
    margin-bottom: 30px;
}

h1 {
    font-size: 30px;
    font-weight: bold;
}

h2,
.rz-text-h2 {
    font-size: 25px !important;
    font-weight: bold !important;
}

    h2 small {
        font-size: 25px;
        font-weight: normal;
    }

.LogoHeader {
    position: absolute;
    top: 45px;
    width: 150px;
    background-color: #F5F5F5;
}

.CardHome {
    background-image: url(../images/home/ImgHome.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 420px;
    position: relative;
}

    .CardHome h1 {
        position: absolute;
        bottom: 15px;
        color: #fff;
        font-weight: 400;
        text-shadow: 1px 1px 15px #272727;
    }

        .CardHome h1 b {
            font-weight: 800;
        }

.CardGialla {
    background-color: #F1BB87 !important;
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
    position: relative;
    min-height: 200px;
}

.CardFoto {
    background-image: url(../images/structure/ImgContatti.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
    position: relative;
}

    .CardGialla h2,
    .CardFoto h2 {
        padding-top: 20px;
    }

        .CardGialla h2 small,
        .CardFoto h2 small {
            display: block;
        }

    .CardGialla i.Arrow,
    .CardFoto i.Arrow {
        position: absolute;
        right: 20px;
        top: 20px;
        background-color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .CardGialla .rz-button,
    .CardFoto .rz-button {
        position: absolute;
        bottom: 20px;
        left: 20px; padding: 0;
    margin: 0;
    }



        .CardGialla .rz-button .rz-text-body1,
        .CardFoto .rz-button .rz-text-body1 {
            height: auto;
            color: #046B9E !important;
            line-height: 23px;
            height: 22px;
            font-family: "Merriweather Sans", sans-serif;
        }

    .CardGialla .rz-button-md .rzi,
    .CardFoto .rz-button-md .rzi {
        font-size: 30px !important;
        margin-left: 5px;
    }

.Ricerca {
    padding: 20px 0;
    border-bottom: 1px solid #046B9E;
}

    .Ricerca .rz-button {
        height: 50px;
        box-shadow: none;
    }

.ListaArticoli {
    position: relative;
}



.BoxArticolo {
    padding: 30px !important;
    border-bottom: 5px solid #046B9E;
    height: 350px;
    position: relative;
    line-height: 24px;
    text-align: left;
    margin-bottom:10px;
    width:300px;
}

    .BoxArticolo .rz-text-body1:last-of-type {
        height: 100px;
        overflow: hidden;
    }

    .BoxArticolo .rz-text-body1:first-of-type {
        font-family: "Merriweather", sans-serif;
        padding-bottom: 10px;
    }

    .BoxArticolo .rz-button {
        position: absolute;
        bottom: 10px;
        padding: 0;
        margin: 0;
   
    }

        .BoxArticolo .rz-button .rz-text-body1 {
            height: auto;
            color: #046B9E !important;
            line-height: 23px;
            height: 22px;
            font-family: "Merriweather Sans", sans-serif;
        }
    .BoxArticolo .rz-button-md .rzi{
        font-size:30px!important;
        margin-left:5px;
    }


    .ListaArticoliRecenti {
        text-align: left !important;
    }

    .ListaArticoliRecenti i {
        font-size: 15px !important;
        display: inline-block;
        padding: 0 5px;
        vertical-align: top !important;
    }

    .ListaArticoliRecenti .rz-text-body1 {
        text-align: left !important;
        font-weight: bold;
    }

.BtnArticoliRecenti {
    margin: 0 0 20px 0;
}

    .BtnArticoliRecenti .rz-button {
        text-align: left;
    }

        .BtnArticoliRecenti .rz-button .rz-text-body1 {
            font-size: 14px;
            font-weight: bold;
        }

    .BtnArticoliRecenti .rz-g > div, .rz-datalist-data > li {
        padding: 5px 0 0 0 !important;
    }

    .BtnArticoliRecenti .rz-date-filter-buttons .rz-button .rzi, .rz-button-md .rzi {
        font-size: 10px !important;
        margin-right: 10px;
    }

.ContattiEmail {
}

    .ContattiEmail i {
        font-size: 25px;
        color: #046B9E;
    }

    .ContattiEmail a {
        vertical-align: text-bottom;
        font-weight: bold;
        color: #046B9E;
        text-decoration: none;
        height: 30px;
        line-height: 27px;
        display: inline-block;
    }

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

    footer .FasciaInfo {
        background-color: #046B9E;
        color: #fff;
        padding: 10px 0;
    }

    footer small {
        display: block;
    }

    footer .FasciaInfo img {
        width: 60px;
        float: left;
        padding-right: 10px;
    }

    footer .FasciaInfo a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        padding-top: 10px;
        display: inline-block;
    }

@media (max-width: 800px) {

    main {
        padding-bottom: 200px;
      
    }
    .ListContenuti .rz-datalist-content {
        flex-direction: column;
    }
    .ListContenuti .rz-datalist-data {
        width: 100%;
    }
    .rz-menu:not(.rz-profile-menu).rz-menu-open .rz-navigation-item{
        text-align:right;
    }
    .CardHome{
        margin-bottom:20px;
    }
    .BoxArticolo{
        width:100%!important;
    }
}
