html,body{
    font-size: 1rem;
    /*font-weight: 400;*/
}

#footer{
    background: #f8f9fa;
    margin: 4rem 0.2rem 0.2rem 0.2rem;
}

.btn-primary.footmenu{
    background: rgba(1, 70, 173, 0.9);
    padding: 1px 1px 6px 1px;
}

.btn-outline-primary{
    color: #1C4D9C;
    background-color: #FFFFFF;
    border-radius: 16px;
    border: 0.1rem solid #1C4D9C;
}

.lead strong{
    font-weight: bold!important;
}

.btn-outline-primary:hover{
    color: #ffffff;
    background-color: #1C4D9C;
    border-radius: 16px;
}

.btn-primary{
    background: #1d3d5e;
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border: 0.1rem solid  #1d3d5e;
    border-radius: 14px;
}

.btn-primary:hover{
    background: #1C4D9C;
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border: 0.1rem solid #1C4D9C;
    border-radius: 14px;
}

#btnValidate{
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border-radius: 14px;
}

#btnCancel{
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border-radius: 14px;
}

#btnStop{
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border-radius: 14px;
}

#logBox{
    background: #09294a;
    color: #0f0;
    padding: 10px;
    max-height: 600px;
    min-height: 50px;
    overflow: auto;
    transition: all 0.2s;
}


.autocomplete-items {
    position: relative;
    top: 100%;          /* sotto l'input */
    left: 0;
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    z-index: 99999;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box; /* evita overflow */
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #1d3d5e;
    color: #fff;
}


#logBox.collapsed {
    height: 50px;
    max-height: 600px;
    min-height: 50px;
    overflow: hidden;
}

.btn-txt{
    color: white!important;
    font-size: 0.7rem;
    font-weight: bold;
}

#noResultsMessage{
    /*color: #1d3d5e;*/
    color: #1C4D9C;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0px;
}

.btn-menu-txt{
    color: #1C4D9C;
    font-size: 1rem;
    margin: 0px;
}

.export-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;
}

.export-modal-content {
    background: #fff;
    width: 700px;
    max-width: 95%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(28, 77, 156, 0.3);
}

.export-modal-header,
.export-modal-footer {
    background-color: #1d3d5e;
    color: white;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.export-modal-footer {
    border-top: 1px solid #ddd;
    border-bottom: 0;
    text-align: right;
}

.export-modal-body {
    padding: 0;
}

.export-table-scroll {
    max-height: 500px;
    overflow-y: auto;
}

.export-table-scroll table {
    margin-bottom: 0;
}

.export-table-scroll td {
    vertical-align: middle;
}
#capitoliTableBody{
   font-size: 0.85rem;
}


.btn-submenu-txt{
   /* color: #1C4D9C!important;*/
    color:#1d3d5e!important;
}

.btn-group .drop-menu-container:hover .dropdown-menu{ display: block; margin-top: -2px }
.btn-group .drop-menu-container:hover .dropdown-submenu{ display: none}
.btn-group .drop-submenu-container:hover .dropdown-menu.dropdown-submenu{ display: block; margin-top: 0px; margin-left: 3%; padding-right: 25% }

li{
    margin:0.2%;
}

#navbarSupportedContent{
    /* align-items: flex-end;*/
}
.header-logo{
    width: 200px;
}


.register-form{
    margin:0px auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 60px;
}

ul, li { margin: 1px; padding: 0; }

.col1 {
    height: 125px;
    margin-bottom: 20px;
    margin-right: 20px;
}


.button {
    max-width: 300px;
    background: white;
    color: #1c4e9b;
    text-align: center;
    font-weight: 500;
    border: 2.5px solid white;
    border-radius: 90px;
    margin: 0px 10px 10px;
    padding: 10px 40px;
    transition: 1s;
}

.button:hover {
    background: transparent;
    color: white;
    transition: 0.3s;
}

@media only screen and (max-width: 1240px) {
    .shape {
        display: none;
    }

    .frame, .col1 {
        height: auto;
    }

    .menu, ul {
        flex-direction: column;
    }

    ul, li, .social {
        padding: 0;
        margin: 10px 0px;
    }

    .info {
        margin-top: 40px;
    }

    .info * {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 640px) {

    .content, .button, .info img {
        width: 100%;
    }

    .button {
        margin: 10px 0px;
    }
}


/* Header */
header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 120px;
}

header a:hover {
    color: white;
}

header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem; /* oppure 1.125rem (18px), 0.875rem (14px) a seconda del design */
}


.grafica {
    display: flex;
}

.menu-header {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    list-style: none;
}

.menu-header .li-link-header {
    margin-right: 30px;
}

.menu-header .search-icon {
    margin-left: auto;
}

@media only screen and (max-width: 1032px) {
    header {
        background: linear-gradient(90deg, rgba(28, 78, 155, 1) 0%, rgba(18, 51, 106, 1) 100%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .grafica {
        display: none;
    }
}

a{
    color: white;
    text-decoration: none;
}


header {
    position: relative;
}

.grafica {
    position: absolute;
    z-index: 1;
}

.portal-menu {
    position: relative;
    z-index: 100;
}

.dropdown-user {
    position: relative;
}

.portal-dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    z-index: 1000;
}

.dropdown-user .portal-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    min-width: 12rem;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: .4rem;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.15);
    z-index: 1000;
}

.dropdown-user .portal-dropdown.show {
    display: block;
}


.grafica.decorativa {
    z-index: 2;
    pointer-events: none;
}

.grafica svg,
.grafica svg + div {
    pointer-events: none;
}

.grafica {
    position: absolute;
}

.grafica:first-of-type {
    z-index: 10;
}

.portal-dropdown {
    z-index: 9999;
}

.dropdown-user > a i {
    font-size: 2rem;
    color: #fff;
}

.dropdown-user {
    position: relative;
}


.portal-dropdown.show {
    display: block;
}

.portal-dropdown li {
    margin: 0;
}

.portal-dropdown a {
    display: block;
    padding: .6rem 1rem;
    color: #333 !important;
    text-decoration: none;
}

.portal-dropdown a:hover {
    background: #f5f5f5;
}

.portal-dropdown i {
    width: 1.3rem;
    color: #1c4e9b;
}