:root {
    --altezza-nr-navbar: 50px;
    --lunghezza-nr-sidebar: 80px;
    --lunghezza-nr-sidebar-active: 300px;

    --gap-right-sidebar: 25px;
    --padding-left-body: calc(var(--lunghezza-nr-sidebar) + var(--gap-right-sidebar));
    --padding-left-body-active: calc(var(--lunghezza-nr-sidebar-active) + var(--gap-right-sidebar));
    --padding-top-body: calc(var(--altezza-nr-navbar) + 10px);

    --background-nr-ns: #32393e;
    --z-index-ns: 1022;
    --z-index-container-items: 1021;
    --bg-hover-nr-button:rgb(211, 244, 255);
    --color-hover-nr-button: #19497e;
    --bg-sfondo-nr: #f1f2f7;
    --box-shadow-nr:  0 0 1px rgba(60,66,87,.05),0 3px 6px rgba(60,66,87,.1),0 9px 24px rgba(60,66,87,.2);
    --border-radius-nr: .25rem;
    --border-nr-navbar: #cbd0dd;

    /* bg e color navbar sopra */
    --bg-nr-navbar: transparent;
    /* --color-nr-navbar: #c7c7c7; */
    --color-nr-navbar: #878787;

    /* bg e color sidebar */
    --bg-nr-sidebar: var(--bg-sfondo-nr);

    --color-nr-sidebar: #666666;
    
    /* bg padellone */
    /* --bg-nr-content-items: linear-gradient(90deg, rgba(33, 162, 255, 0.1) 1.89%, rgba(50, 50, 51, 0) 50%), linear-gradient(180deg, #575860 11.6%, #3A4852 54.73%, #2C2D34 100%); */
    /* --bg-nr-content-items: linear-gradient(90deg, rgba(33, 162, 255, 0.1) 1.89%, rgba(50, 50, 51, 0) 50%), linear-gradient(180deg, #313d6d 11.6%, #3A4852 54.73%, #2C2D34 100%); */
    --bg-nr-content-items: white;

    /* color per link */
    --color-nr-link-item: var(--color-nr-navbar);
    --color-nr-link-item-disabled: #dadada;
    --color-nr-link-item-hover: var(--color-hover-nr-button);
}

body:has(.background-cerca:not([hidden])) {
    overflow: hidden;
}

.background-cerca {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1054;
}

.popover-cerca {
    position: relative;
    margin: 60px auto auto;
    width: 600px;
    background-color: #fefefe;
    border-radius: 7px;
    border: 1px solid var(--border-nr-navbar);
}

.nr-input-search-modal {
    padding: 10px !important;
    font-size: 20px !important;
    height: auto !important;
    display: flex !important;
    gap: 15px;
    align-items: center;
    border-color: var(--bs-primary) !important;
}

.nr-input-search-modal svg {
    color: var(--bs-primary) !important;
}

.nr-input-search-modal input {
    border: none;
    outline: none;
    display: flex;
    flex-grow: 1;
}

.DocSearch-Footer {
    align-items: center;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,0.12);
    display: flex;
    flex-direction: row-reverse;
    flex-shrink: 0;
    height: 44px;
    justify-content: space-between;
    padding: 0 12px;
    position: relative;
    user-select: none;
    width: 100%;
    z-index: 300;
}

.DocSearch-Commands {
    color: var(--docsearch-muted-color);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.DocSearch-Commands li:not(:last-of-type) {
    margin-right: .8em;
}

.DocSearch-Commands li {
    align-items: center;
    display: flex;
}

.DocSearch-Commands-Key {
    padding-left: 1px;
    font-size: .875rem;
    background-color: rgba(0,0,0,0.1);
    background-image: none;
    box-shadow: none;
}
.DocSearch-Commands-Key {
    align-items: center;
    background: linear-gradient(-225deg,#d5dbe4,#f8f8f8);
    border-radius: 2px;
    box-shadow: var(--docsearch-key-shadow);
    display: flex;
    height: 18px;
    justify-content: center;
    margin-right: .4em;
    padding: 0 0 1px;
    color: var(--bs-secondary-color);
    border: 0;
    width: 20px;
}

.DocSearch-Label {
    font-size: .75em;
    line-height: 1.6em;
}

.nr-item-cerca-container {
    max-height: 600px;
    overflow: auto;
    padding: 0 15px 10px 15px;
}

.nr-item-cerca {
    display: flex;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border-nr-navbar);
    border-top: none;
    background-color: white;
    text-decoration: none;
    color: #232323;
    align-items: center;

    &:hover {
        color: #232323;
    }
}

.nr-item-cerca[nr-item-cerca='true'] {
    cursor: pointer;
}

.nr-item-cerca[nr-item-cerca='false'] {
    background-color: #e7e7e7;
    color: #878787;
    cursor: pointer;

    &:hover {
        background-color: #d7d7d7;
    }
}

.nr-item-cerca svg {
    color: #878787;
}

.nr-item-cerca-container .nr-item-cerca:first-child {
    border-top: 1px solid var(--border-nr-navbar);
    border-radius: 7px 7px 0 0;
}

.nr-item-cerca-container .nr-item-cerca:last-child {
    border-radius: 0 0 7px 7px;
}

.nr-item-cerca-container .nr-item-cerca:last-child:first-child {
    border-radius: 7px;
}

.nr-item-cerca[aria-selected='true'] {
    background-color: var(--bs-primary);
    & * {
        color: white;
    }
}

.nr-span-risultati-cerca {
    color: #448aff  !important;
    font-weight: 600;
    margin-bottom: .25rem !important;
    margin-top: 1rem !important;
    display: block !important;
}


/* ::selection {
    background-color: var(--color-hover-nr-button);
    color: white;
} 
 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    padding: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--color-nr-navbar);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(56, 56, 56);
}

#divCaricamento {
    left: 0;
}

body {
    padding-top: var(--padding-top-body) !important;
    padding-left: var(--padding-left-body) !important;
    padding-bottom: var(--gap-right-sidebar) !important;
    padding-right: var(--gap-right-sidebar) !important;
    background-color: var(--bg-sfondo-nr) !important;
    overflow-x: hidden;
    transition: padding .2s;
}


@media screen and (min-width: 800px) {
    body[nr-sidebar-active] {
        padding-left: var(--padding-left-body-active) !important;
    }

    
    body[nr-sidebar-active] .nr-navbar-menu {
        left: var(--lunghezza-nr-sidebar-active);
        width: calc(100vw - var(--lunghezza-nr-sidebar-active));
    }

    .nr-items-container {
        position: relative;
    }

    
    /* .nr-items-container.active .nr-content-items::before {
        content: "";
        position: absolute;
        top: 55px;
        left: -11px;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        background-color: white;
        border-bottom: 1px solid var(--border-nr-navbar);
        border-left: 1px solid var(--border-nr-navbar);
    } */

    .nr-items-container.active .nr-content-items {
        border-left: 3px solid var(--color-hover-nr-button);
    }
}

.white {
    border: 0;
    border-radius: var(--border-radius-nr) !important;
}


/* classi per lo standard all'interno delle pagine */
.intestazione-nr {
    /* background-color: var(--bg-sfondo-nr); */
    padding: 20px 5px;
    width: 100%;
}

/* .form-control:focus {
    border-color: var(--color-hover-nr-button);
} */

.nr-user-desc-navbar {
    font-weight: bold !important;
    font-size:15px !important;
    max-width: 200px !important;
    color:#6c757d !important;
}

.nr-user-subdesc-navbar{
    width: 230px;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.nr-icon-desc-navbar{
    padding: 14px;
    border-radius: 14px;
    font-size: 22px !important;
    /* --bs-alert-color: #41464b;
    --bs-alert-bg: #e2e3e5;
    --bs-alert-border-color: #d3d6d8; */

    background-color: #f6f6f9;
    color:black;

    /* text-dark rounded-4 alert-secondary nr-icon-desc-navbar"  */
}


.nr-container-principale {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid var(--border-nr-navbar);
    border-radius: var(--border-radius-nr);
    padding: .3rem;
}

.nr-card-container {
    width: 100%;
    /* height: 100%; */
    padding: 10px 15px;
    border-radius: var(--border-radius-nr);
    background-color: white;
    color: var(--bg-sfondo-nr);
    border: 1px solid var(--border-nr-navbar);
}

.white {
    border: 1px solid var(--border-nr-navbar) !important;
    box-shadow: none !important;
}

.nr-card-title {
    padding-bottom: 5px;
    color: black;
    font-size: 16px;
    border-bottom: 1px solid var(--border-nr-navbar);
}

.nr-info-card-row {
    padding: 5px 0;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #3d3d3d;
}

.nr-info-card-row span {
    font-weight: 600;
    color: black;
    font-size: inherit;
}


/* .table-nr th:first-child {
    width: 50px;
} */

.nr-container-principale table.table-bordered th:first-child {
    width: 50px;
}

.intestazione-nr .row {
    margin: auto;
}

/* tooltip */
.tooltip-inner {
    font-size: 13px;
    font-weight: 500;
}

/* DROPDOWN NAVBAR */
.nr-dropdown-toggler {
    position: relative;
    cursor: pointer;
}

.nr-dropdown-toggler i {
    border-radius: 50%;
    padding: 5px;
}

.nr-dropdown-toggler:hover i {
    background-color: var(--border-nr-navbar);
}

.bell-ring {
    display: inline-block;
    animation: ring-animation 2s linear infinite;
}

@keyframes ring-animation {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    10%,20% {
        -webkit-transform: scale(.9) rotate(-8deg);
        transform: scale(.9) rotate(-8deg)
    }

    30%,50%,70% {
        -webkit-transform: scale(1.3) rotate(8deg);
        transform: scale(1.3) rotate(8deg)
    }

    40%,60% {
        -webkit-transform: scale(1.3) rotate(-8deg);
        transform: scale(1.3) rotate(-8deg)
    }

    100%,80% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0)
    }
}
.nr-notification-badge {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background-color: red;
    border: 1px solid var(--bg-sfondo-nr);
    color: white;
    font-size: 10px;
    font-weight: 500;
    top: 0;
    right: 0;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgb(0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }
}
  

button.btn > i.ti {
   /*  margin-top: 3px; */
    display: inline-block;
    font-size: 18px;
}

.td-nr-form {
    width: 0;
    visibility:hidden;
    padding: 0 !important;
    border: 0 !important;
    height: 50px;
}

.nr-form-table-container {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    padding: 5px 10px 5px 5px;
    border-radius: var(--border-radius-nr);
    background-color: white;
    border: 1px solid var(--border-nr-navbar);
    transition: opacity .2s, visibility .2s;
    box-shadow: var(--box-shadow-nr);
    top: 0;
    left: 0;
}

.nr-form-table-container.active {
    opacity: 1;
    visibility: visible;
}

.nr-form-table-container .btn-modals {
    border-radius: 50% !important;
    padding: 2px 7px !important;
    margin: 0 10px;
}

.nr-form-table-container .btn-modals:hover {
    background-color: var(--bg-sfondo-nr) !important;
}

[close-form-container] {
    position: absolute;
    right: -7px;
    top: -7px;
    cursor: pointer;
    font-size: 20px;
}

.btn-modals i.ti {
    font-size: 22px !important;
}


.nr-btn-actions {
    padding: 0 10px;
    background-color: transparent;
    border-radius: var(--border-radius-nr);
    border: 0;
    border-style: solid;
    font-size: 22px;
}

tr .nr-btn-actions:not(.nr-dots) {
    background-color: white;
}

tr:hover .nr-btn-actions:hover, .nr-btn-actions:hover {
    background-color: var(--bg-sfondo-nr);
    background-color: #f7f7f7;
}

tr:hover .nr-btn-actions.nr-dots {
    box-shadow:inset 0px 0px 0px 1px #e7e7e7;
}


.nr-btn-actions.nr-dots {
    cursor: default;
    color: black;
}

form:has(.nr-parent-btn-table) {
    background-color: inherit;
}

.nr-parent-btn-table {
    position: relative;
    display: flex;
    gap: 5px;
    background-color: inherit;
    z-index: 1;
}

.nr-child-btn-table {
    visibility: hidden;
    opacity: 0;
    background-color: inherit;
    display: flex;
    gap: 5px;
    position: absolute;
    left: 100%;
    padding-left: 5px;
    top: 0;
    transition: opacity .3s, visibility .3s;
}

.nr-parent-btn-table:hover .nr-child-btn-table {
    visibility: visible;
    opacity: 1;
}


.nr-dropdown-navbar {
    position: relative;
}

.nr-dropdown-navbar-content {
    position: fixed;
    padding: 10px 0px;
    background-color: white;
    right: 5px;
    top: calc(var(--altezza-nr-navbar) + 40px);
    /* border: 1px solid var(--border-nr-navbar); */
    box-shadow: var(--box-shadow-nr);
    border-radius: 10px;
    min-width: 200px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, top .3s, visibility .3s;
    background: var(--bg-nr-navbar);
    background: white;
}

.nr-dropdown-navbar-content.active {
    visibility: visible;
    opacity: 1;
    top: calc(var(--altezza-nr-navbar) + 5px);
}

.nr-input-search {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--color-nr-navbar);
    border: 1px solid var(--border-nr-navbar);
    width: 250px;
    border-radius: var(--border-radius-nr);
    font-size: 13px;
    padding: 5px 30px 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 2px;
}

.nr-input-search:hover {
    background-color: rgba(71, 71, 71, 0.1);
    border-color: black;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
    color: black;
    font-weight: 500;
}

mark {
    padding: 0;
    background-color: yellow;
}

.nr-dropdown-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-nr-navbar);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nr-dropdown-container-notifiche {
    max-height: 300px;
    overflow: auto;
    color: black;
}

.nr-notifica-container {
    overflow: hidden;
    transition: max-height .4s;
}

.nr-rotation {
    animation: nr-rotation 1s linear infinite;
}

@keyframes nr-rotation {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

.nr-dropdown-notifica {
    position: relative;
    width: 400px;
    padding: 10px;
}

.nr-notifica-container:not(:last-child) .nr-dropdown-notifica {
    border-bottom: 1px solid #e7e7e7;
}

.nr-line-notifica {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
}

.nr-title-notifica {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-nr-sidebar);
}

.nr-icon-notification {
    cursor: pointer;
    color: #a4abb7;
    font-size: 17px;
}

.nr-icon-notification:hover {
    color: #828181;
}

.nr-espandibile {
    cursor: pointer;
}

.nr-icon-espandibile {
    display: inline-block;
    transition: transform .3s;
}

.nr-espandibile:hover .nr-icon-espandibile {
    transform: rotate(90deg);
}

.nr-body-notifica {
    font-size: 12px;
    color: #454545;
    color: var(--color-nr-navbar);
    display: none;
}

.nr-body-notifica a {
    color: #589bff;
}

.nr-body-notifica.active {
    display: block;
}

.nr-dropdown-link {
    position: relative;
    font-size: 13px;
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nr-link-user {
    display: flex;
    padding: 5px;
    width: 100%;
    /* border-radius: 5px; */
    align-items: center;
    padding: 6px 15px 6px 15px;
    gap: 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-nr-sidebar);
    justify-content: space-between;
}

.nr-link-user span {
    color: var(--color-nr-sidebar);
    font-weight: 600;
    font-size: 16px;
}

.nr-link-user i {
    font-size: 18px;
}

.nr-link-user:hover * {
    color: var(--color-hover-nr-button) !important;
}





.nr-info-ut {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    /* justify-content: center; */
    width: 100%;
    gap: 10px;
    padding: 5px;
}

.nr-info-ut :nth-child(1) {
    font-size: 15px;
    color: var(--color-nr-navbar);
    font-weight: 500;
}

.nr-info-ut :nth-child(2) {
    font-size: 12px;
    color: rgb(156, 156, 156);
    font-weight: 500;
}


/* STYLE NAVBAR */
.nr-navbar-menu {
    position: absolute;
    width: calc(100vw - var(--lunghezza-nr-sidebar));
    height: var(--altezza-nr-navbar);
    left: var(--lunghezza-nr-sidebar);
    top: 0;
    z-index: var(--z-index-ns);
}


.nr-navbar-content {
    width: 100%;
    padding: 5px var(--gap-right-sidebar) 5px var(--gap-right-sidebar);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    background-color: #212b36;
    background-color: white;
    position: relative;
    color: #e7e7e7;
    background-color: var(--bg-nr-navbar);
    color: var(--color-nr-navbar);
    /* box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.1); */
    /* border-bottom: 1px solid #cbd0dd; */
}

.nr-left-navbar {
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 20px;
}

.nr-icon-navbar {
    font-size: 25px;
    width: 40px;
    text-align: center;
    cursor: pointer;
    display: none;
}


.nr-mobile-pagination {
    display: none;
}

.nr-lg-pagination {
    display: block;
}

.nr-container-pagination {
    display: flex;
    justify-content: center;
}

.nr-content-pagination {
    display: flex;
    width: 320px;
}

.nr-content-pagination .btn {
    padding: 5px 7px;
}

.nr-right-navbar {
    display: flex;
    padding: 5px;
    align-items: center;
    gap: 30px;
}

.nr-icon-user-navbar {
    width: 32px; 
    height: 32px;
    object-fit: cover;
    border-radius:100%;
}

.nr-icon-user-navbar-xl {
    margin-left:8px;
    width:40px;
    height:40px;
    object-fit: cover;
    border-radius:100%;
}

.nr-action-navbar {
    display: flex;
    padding: 0 5px;
    gap: 20px;
    font-size: 23px;
}

.nr-action-navbar > i {
    cursor: pointer;
}



/* STYLE SIDEBAR */
.nr-container-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    z-index: calc(var(--z-index-ns) + 1);
    width: var(--lunghezza-nr-sidebar);
}

@supports (height: 100dvh) {
    .nr-container-menu {
        height: 100dvh;
    }
}

.nr-img-sidebar {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

.nr-img-sidebar.active {
    display: none;
}

.nr-container-menu.active .nr-img-sidebar.active {
    display: block;
}

.nr-container-menu.active .nr-img-sidebar:not(.active) {
    display: none;
}


/* stile del bottone che triggera il menu */
.nr-btn-toggle-menu {
    /* position: absolute;
    right: 30px;
    top: 20px; */
    cursor: pointer;
    color: var(--color-nr-sidebar);
    display: flex;
    flex-direction: column;
    width: 20px;
    gap: 4px;
}

.nr-btn-toggle-menu span {
    border-bottom: 2px solid;
    width: 100%;
    transition: width .3s;
}

.nr-btn-toggle-menu[mobile] {
    display: none;
}


body:not([nr-sidebar-active]) .nr-btn-toggle-menu span:nth-child(1), body[nr-sidebar-active] .nr-btn-toggle-menu:hover span:nth-child(1) {
    width: 70%;
}

body:not([nr-sidebar-active]) .nr-btn-toggle-menu span:nth-child(2), body[nr-sidebar-active] .nr-btn-toggle-menu:hover span:nth-child(2) {
    width: 40%;
}

body:not([nr-sidebar-active]) .nr-btn-toggle-menu span:nth-child(3), body[nr-sidebar-active] .nr-btn-toggle-menu:hover span:nth-child(3) {
    width: 60%;
}

body:not([nr-sidebar-active]) .nr-btn-toggle-menu:hover span {
    width: 100%;
}


.nr-container-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 5px 10px;
    background-color: var(--background-nr-ns);
    flex-grow: 1;
    /* overflow-y: auto; */
    width: 100%;
    /* border-top: 1px solid #cbd0dd; */
    background-color: var(--bg-nr-sidebar);
    border-right: 1px solid #cbd0dd;
   /*  box-shadow: 5px 0px 15px -3px rgba(0,0,0,0.1); */
}

.nr-container-menu.active .nr-container-content {
    padding: 10px 30px;
}

.nr-container-menu:not(.active) .nr-item-title {
    padding-left: 15px;
}

.nr-title-sidebar {
    font-size: 17px;
    padding: 5px 5px 10px 5px;
    display: flex;
    border-bottom: 1px solid var(--border-nr-navbar);
    flex-direction: column;
    font-weight: 500;
    color: var(--color-nr-sidebar);
    gap: 15px;
    align-items: center;
}

.nr-container-menu.active .nr-title-sidebar {
    align-items: end;
}

.nr-items-container-parent {
    padding: 5px 0;
    border-radius: var(--border-radius-nr);
    background-color: rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nr-item-title {
    font-weight: 500;
    border-radius: var(--border-radius-nr);
    background-color: transparent;
    width: 100%;
    cursor: default;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    color: var(--color-nr-sidebar);
    padding: 5px 0 5px 5px;
    cursor: pointer;
}

.nr-item-title svg {
    height: 25px;
    width: 25px;
    stroke-width: 1.25;
}

.nr-items-container:not(.active) .nr-item-title:hover svg {
   transform: scale(1.2);
}

[icon-preferiti][preferito] {
    color: var(--color-hover-nr-button);
    margin-left: 5px;
}

.nr-container-menu.active .nr-item-title[preferito] [icon-preferiti]{
    position: absolute;
    right: 5px;
    display: none;
}

.nr-container-menu.active .nr-item-title[preferito]:hover [icon-preferiti]{
    display: block;
}

.nr-container-menu:not(.active) .nr-item-title[preferito] [icon-preferiti]{
    display: none;
}

/*
, .nav-link-horizontal.active .nr-item-title[preferito] [icon-preferiti]
, .nav-link-horizontal.active .nr-item-title[preferito]:hover [icon-preferiti]
, .nav-link-horizontal:not(.active) [preferito] [icon-preferiti]
*/


body[nr-sidebar-active] .nr-item-title:not(.clickable)::after {
    position: absolute;
    content: "\ea61";
    font-size: 15px;
    right: 10px;
    /* display: inline-block;
    transform: rotate(90deg); */
    font-family: 'tabler-icons';
}

.nr-item-title:hover, .nr-item-title.active {
    color: var(--color-hover-nr-button);
}

.nr-item-title i:first-child {
    font-size: 25px;
    font-weight: 100;
}

.nr-badge-indicator {
    background-color: red;
    /* background-color: var(--bg-purple); */
    color: white !important;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    width: 2em;
    height: 2em;
    box-sizing: initial;
    border: 1px solid var(--bg-sfondo-nr);
    text-align: center;
    line-height: 2em;
    box-sizing: content-box;  
    font-weight: 900 !important;
    animation: pulse 1.5s infinite;
}

span.nr-badge-indicator {
    display: inline-block;
    font-size: 9px !important;
    box-sizing: content-box;  
    margin-right: 2px;
}

.nr-badge-indicator.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

.nr-link-item[to-be-read]:hover .nr-badge-indicator {
    display: none;
}

.nr-item-title.active::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    right: 0;
    top: 0;
    background-color: var(--color-hover-nr-button);
    border-radius: 0 var(--border-radius-nr) var(--border-radius-nr) 0;
    border-radius: var(--border-radius-nr);
}

.nr-item-title-text {
    font-size: 14px;
    font-weight: 700;
    /* position: absolute; */
    display: none;
}

.nr-container-menu.active {
    width: var(--lunghezza-nr-sidebar-active);
}


.nr-container-menu.active .nr-item-title {
    justify-content: start;
}

.nr-container-menu.active .nr-item-title-text {
    display: block;
}

.nr-content-items {
    transform: scaleX(0);
    transform-origin: top left;
    opacity: 0;
    position: absolute;
    padding: 10px;
    /* top: 5px;
    left: calc(100% + 5px); */
    top: -50px;
    left: calc(100% + 15px);
    border-radius: var(--border-radius-nr);
    transition: opacity .2s, transform .2s, box-shadow .2s;
    column-count: 3;
    column-gap: 0px;
    font-size: 12px;
    border: 1px solid var(--border-nr-navbar);
    z-index: var(--z-index-container-items);
    /*background: var(--bg-nr-content-items);*/
    background-color: var(--bg-nr-sidebar);
}

.nr-content-items.nr-four-col {
    column-count: 4;
}

.nr-content-items.nr-two-col {
    column-count: 2;
}

.nr-content-items.nr-one-col {
    column-count: 1;
}

.nr-items-container.active .nr-content-items {
    opacity: 1;
    transform: scaleX(1);
    box-shadow: 18px 18px 27px -15px #0000004f;
}

.nr-items-container.active .nr-item-title {
    background-color: var(--border-nr-navbar);
}

.nr-section-items {
    /* padding: 5px; */
    border-radius: var(--border-radius-nr);
    width: 200px;
    break-inside: avoid;
    /* padding-bottom: 5px; */
}



.nr-section-items:not(:has(.nr-link-item-lg)) {
    padding: 5px !important;
  }

.nr-section-title {
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(83, 212, 255);
    color: var(--color-hover-nr-button);
    padding: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}


.nr-link-item {
    color: var(--color-nr-link-item);
    padding: 5px;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    border-radius: var(--border-radius-nr);
}

.nr-link-item.active span {
    color: var(--color-hover-nr-button);
    font-weight: 700;
}


.nr-link-item [icon-preferiti]:not([preferito]){
    position: absolute;
    display: none;
    right: 5px;
    top: 9px;
}

.nr-link-item:hover [icon-preferiti]:not([preferito]) {
    display: block;
}

.nav-link-horizontal >[icon-preferiti]:not([preferito]){
    display: none;
    /* right: 5px; */
}
.nav-link-horizontal >[icon-preferiti]:not([preferito]){
    display: block;
    margin-left: 5px;
}

.nr-link-item span {
    color: var(--color-nr-link-item);
    font-size: inherit;
    /* transition: margin-left .1s; */
}

.nr-link-item-lg span{
    font-size: 15px;
    color: var(--color-hover-nr-button);
    text-transform:inherit;
    font-weight: 500;
    display: flex !important;
    align-items: center;
}

.nr-link-item:not(.nr-disabled):hover {
    color: var(--color-nr-link-item-hover);
}

.nr-link-item.nr-disabled, .nr-section-items.nr-disabled .nr-link-item {
    cursor: help;
}

.nr-link-item.nr-disabled span, .nr-section-items.nr-disabled .nr-link-item span {
    color: #dadada;
}

.nr-link-item:hover span {
    text-decoration: underline;
}

.nr-section-items:not(.nr-disabled) .nr-link-item:not(.nr-disabled):hover span {
    color: var(--color-nr-link-item-hover);
    margin-left: 15px;
}

.nr-section-items:not(.nr-disabled)  .nr-link-item:not(.nr-disabled)::before {
    position: absolute;
    left: 0;
    content: "\279C";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .1s;
    color: var(--color-nr-link-item-hover);
    top: 7px;
}

.nr-section-items:not(.nr-disabled) .nr-link-item:not(.nr-disabled):hover::before {
    transform: scaleX(1);
}

.nr-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.52);
    z-index: 1010;
    transform: scaleX(0);
    transition-delay: 50ms;
    transition-property: transform;
}

#nr-close-sidebar-mobile {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    color: var(--color-nr-navbar);
    display: none;
}

.nr-navbar-horizontal {
    /* background-color: var(--bs-light); */
    background-color: var(--bs-secondary-6-bg-rgb);
    /* background-color: #e8eef5; */
    border: 1px solid var(--border-nr-navbar);
}

.nr-link-horizontal {
    padding: 5px 10px;
    border-radius: var(--border-radius-nr);
    --color-link: #576068;
    --link-weight: 500;

    & :is(a, span) {
        color: var(--color-link);
        text-decoration: none;
        font-weight: var(--link-weight);
    }

    &.disabled {
       cursor: help;

        & :is(a, span) {
            color: #b0b0b0;
        }
    }

    &.active {
        --color-link: black;
        --link-weight: 700;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    &:hover {
        --color-link: var(--bs-primary);
    }
}

@media screen and (max-width: 800px) {

    .nr-btn-toggle-menu[mobile] {
        display: flex;
    }    

    .nr-btn-toggle-menu:not([mobile]) {
        display: none;
    }

    .nr-container-content {
        overflow: auto;
    }

    #icona_schermo_div {
        display: none;
    }

    body { 
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body[nr-sidebar-active] {
        height: 100vh;
        overflow: hidden;
    }

    .nr-icon-navbar {
        display: block;
    }

    #nr-close-sidebar-mobile {
        display: block;
    }

    /* questo per non sfasare l'overlay quando si aprono i menu */
    .nr-navbar-menu {
        z-index: 1020;
        width: 100vw;
        left: 0;
        top: 0;
    }

    .nr-input-search {
        display: none;
    }

    .nr-namesite-navbar , .nr-center-navbar{
        display: none;
    }

    .nr-icon-navbar, .nr-item-title-text {
        display: block;
    }

    .nr-container-menu:not(.active) {
        display: none;
    }

    .nr-content-items {
        transform: scaleY(0);
        transform-origin: bottom;
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: calc(100% - 10px);
        margin: 5px;
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 100px);
        overflow: auto;
    }

    .nr-section-title {
        font-size: 18px
    }

    .nr-link-item {
        font-size: 14px;
        margin-bottom: 5px;
    }

    

    .nr-items-container.active .nr-content-items {
        box-shadow: none;
    }

    .nr-items-container.active .nr-content-items {
        transform: scaleY(1);
    }

    .nr-section-items {
        width: 100%;
    }


    .nr-container-menu.active:has(.nr-items-container.active) .nr-overlay-menu {
        transform: scaleX(1);
    }

    
    .row {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #curved-corner-topright {
        display: none;
    }

    .nr-dropdown-notifica {
        width: 300px;
    }

    .nr-mobile-pagination {
        display: block;
    }

    .nr-lg-pagination {
        display: none;
    }

    .nr-page-selection-no-mobile {
        display: none;
    }

    .nr-round-start {
        border-radius: .25rem 0 0 .25rem !important;
    }

    .nr-round-end {
        border-radius: 0 .25rem .25rem 0 !important;
    }

    /* .nr-content-pagination {
        width: 350px;
    } */

    .nr-div-nome-azienda {
        display: none;
    }
}