
:root {
    --darkblue: #0E2F7B;
    --bianco: #FFFFFF;
    --grigio: #FAFAFA;
    --grigioscuro: #B2B3B8;
    --nero: #222222;
    --rosso: #EB5757;
}

h1 {
    font-size: 27px;
    width: auto;
    height: 38px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: var(--darkblue);
    margin: 0;
}

/* Spinner CSS */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#region - */
.custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

body.modal-open {
    position: fixed;
    width: 100%;
}

    h1:focus {
        outline: none;
    }

h2 {
    font-size: 29px;
    width: auto;
    height: 23px;
    font-weight: 600;
    line-height: 23px;
    color: var(--nero);
    margin: 0;
    padding: 0;
}

h3 {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    color: var(--grigioscuro);
}

.content {
    margin-left: 0px;
    /*background: #fff;*/
}

a, .btn-link {
    color: var(--darkblue);
    margin: 2px;
    font-weight: 500;
    text-decoration: none;
}

    a:hover {
        color: darkblue;
        cursor: pointer;
        font-weight: 600;
        cursor: pointer;
    }

#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;
    }

.blazor-error-boundary {
    background: url(data:image/sv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MjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.menu-1 {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.button-menu {
    border: 0;
    background: white;
    margin-left: -5px;
    color: var(--darkblue);
    font-weight: 500;
    font-size: 15px;
}

.sidebar {
    display: none;
}

.img-menu {
    width: 24px;
    height: 24px;
    margin-left: 20px;
}

.img-menuheader {
    width: 24px;
    height: 24px;
    margin-left: 0px;
    margin-right: 15px;
}

header {
    display: none;
}

/*#endregion -*/

/*#region Media query*/

@media all and (max-width: 1200px) {

    h2 {
        font-size: 19px;
    }

}

@media all and (max-width: 767px) {

    h2 {
        font-size: 19px;
    }
}

@media all and (max-width: 480px) {

   h1{
       font-size:27px;
    }

    h2 {
        font-size: 18px;
        line-height: 18px;
        color: var(--darkblue);
    }

    header {
        /*display: flex;*/
        display: block;
    }

    .navbar-toggler[b-0wsdlgc2c1] {
        background: none;
        width: auto;
        position:relative;
    }

    .box-shadow {
        /* box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 5%); */
        background: white;
    }

    .navbar > .container, .navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: right;
    }

    .navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
        color: var(--darkblue);
    }

    .navbar-dark:hover .navbar-brand :hover {
        color: var(--darkblue);
    }

    .navbar-brand:hover {
        color: var(--darkblue);
    }

    .nav-item1 {
        border: 1px solid var(--grigio);
        position: relative;
    }

        .nav-item1 a {
            color: var(--darkblue);
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            background: white;
            text-decoration: none;
            background: none;
            font-weight: 500;
        }

        .nav-item1 a {
            color: var(--darkblue);
            border-radius: 4px;
            height: 3rem;
            display: contents;
            align-items: center;
            line-height: 3rem;
            font-size: 15px;
            font-weight: 500;
        }

    .px-3 {
        background: white;
        height: 40px;
        color: var(--darkblue);
        padding-left: 0.7rem !important;
    }

    .sidebar {
        display: flow-root;
    }

    .sidebar {
        display: flow-root;
        margin-bottom: 10px;
        background:white;
    }

        .sidebar[b-stuspmyedk] {
            margin-bottom: 10px;
            background:white;
        }

    .top-row.auth[b-stuspmyedk] {
        display: none;
    }

    .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        margin-top: 5px;
    }

    .navbar-dark .navbar-brand {
        color: var(--darkblue);
        display: block;
        justify-content: right;
        text-align: end;
        margin-right: 3px;
        font-weight: 400;
        margin-bottom: 8px;
        display: contents;
        font-size: 21px;
    }

    .navbar-brand[b-0wsdlgc2c1]:hover {
        /*font-size: 1.1rem;*/
        font-size: 21px;
        color: var(--darkblue);
    }

    .nav-item:first-of-type[b-0wsdlgc2c1] {
        padding-top: 1rem;
        background: white;
    }

    .nav-item[b-0wsdlgc2c1] {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
        background: white;
    }

        .nav-item[b-0wsdlgc2c1] a.active {
            background-color: rgba(255,255,255,0.25);
            color: var(--darkblue);
        }

        .nav-item[b-0wsdlgc2c1] a {
            color: var(--darkblue);
        }

    .top-row1[b-0wsdlgc2c1] {
        height: auto;
        background: white;
        border-bottom: 0.5px solid black;
        padding-left: 20px;
        padding-right: 5px;
    }

    .navbar-dark .navbar-toggler-icon {
        background-image: url(../images/menu.svg);
        margin-right: 1 0px;
    }

    .img-menu {
        margin-left: 0px;
    }

}

@media all and (max-width: 375px) {

    #stato, #comune, #cap, #provincia, #sesso, #localita {
        width: 310px;
    }

    .layout {
        width: auto;
    }

    .layout2 {
        width: 310px;
    }

    .layout3 {
        width: 310px;
    }
}

@media all and (max-width: 360px) {

    .nav-item1 {
        margin-top: -5px;
    }

    .ps-3 {
        padding-left: 1rem !important;
        border-bottom: 1px solid #bebdbd;
        padding-bottom: 20px;
    }

    .img-menuheader {
        width: 24px;
        height: 24px;
        margin-left: 5px;
        margin-right: 0px;
        margin-bottom: 5px;
    }

    .sidebar[b-stuspmyedk] {
        margin-bottom: -15px;
        background-image: linear-gradient(180deg, rgb(197 205 220) 0%, #8f8f8f 70%);
    }

    .sidebar {
        margin-bottom: 5px;
        background: white;
    }

    .top-row1[b-0wsdlgc2c1] {
        height: auto;
        background: white;
        border-bottom: 0.5px solid black;
        margin-bottom: 0px;
    }

    .flex-column {
        border-bottom: 0.5px solid black;
        padding-bottom: 10px;
        padding-top: 5px;
        background: white;
    }

    .px-3 {
        background: white;
        height: 40px;
        color: var(--darkblue);
        padding-top: 0px;
        font-size: 13px;
        margin-left: -21px;
    }

    .img-menu {
        width: 24px;
        height: 20px;
        margin-left: 2px;
        margin-right: 10px;
        margin-top: 0px;
    }

    .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        margin: 0px;
        padding: 0;
    }
}

@media all and (max-width: 400px) {

    .h1_set {
        margin-left: 8px;
    }

    .sidebar[b-stuspmyedk] {
        margin-bottom: 2px;
        background-image: none;
    }

    .px-3 {
        background: white;
        height: 40px;
        color: var(--darkblue);
        margin-left: 0px;
    }
}

@media all and (max-width: 320px) {

    h2 {
        font-size: 14px;
        line-height: 18px;
        color: var(--darkblue);
    }

    .navbar-dark .navbar-brand {
        font-size: 15px;
    }


}

/*#endregion Media query*/
