
/*stile carrello*/


.number_cart {
    margin-right: 10px;
    font-weight: 900;
    color: #000;
}

.title_up_cart {
    top: 1px;
    position: relative;
    font-weight: lighter;
}

.number_in_cart {
    background-image: url(../images/shopping_cart_sm.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 35px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
}

.color_number_in_cart {
    color: #505052; /*colore principale*/
}

.pos_number_in_cart {
    font-size: 12px;
    margin-top: -8px;
    display: block;
    font-weight: 900;
}



/*stile dashboard*/

.dash {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    background: #fff;
    padding: 5px 15px 0px;
    border: 1px solid #e7ecf1;
    box-shadow: 3px 2px 5px 0px #0000001a;
}

/*.portlet-body.statistic .row {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}*/
.portlet-body.statistic .row {
    flex-wrap: wrap;
    margin-bottom: 5px;
}

@media (min-width:1200px) {
    .portlet-body.statistic .row {
        display: flex;
        display: -webkit-flex;
    }
}

.dash.mb-5 {
    margin-bottom: 5px;
    padding: 5px 15px 30px;
}

    .dash.mb-5:nth-last-child(1) {
        margin-bottom: 0px;
    }

.k-content, .k-editable-area, .k-panelbar > li.k-item, .k-panel > li.k-item, .k-tiles {
    background-color: transparent !important;
}

.number {
    float: left;
    display: inline-block;
}

.font-2x, .font-1x {
    font-size: 8em;
}

    .font-1x + small {
        font-size: 1.3em;
    }

    .font-2x + small {
        font-size: 2em;
    }

.display .icon {
    display: inline-block;
    float: right;
    padding: 7px 0 0;
}

    .display .icon i {
        color: #cbd4e0;
        font-size: 26px;
    }

.progress-info .progress {
    margin: 0;
    height: 4px;
    clear: both;
    display: block;
}

.progress-info .status .status-title {
    float: left;
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    color: #AAB5BC;
    font-weight: 600;
    text-transform: uppercase;
}

.progress-info .status .status-number {
    float: right;
    display: inline-block;
}

/*.row.column-5 .col-md-2 {
    width: 19%;
    margin: auto .5%;
    padding: 0;
}*/

.row.column-5 .col-md-2 {
    margin: auto .5%;
    padding: 0;
}

@media (min-width:1200px) {
    .row.column-5 .col-md-2 {
        width: 19%;
    }
}

.dashboard-stat {
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

    .dashboard-stat.red {
        background-color: #e7505a;
    }

    .dashboard-stat.blue {
        background-color: #3598dc;
    }

    .dashboard-stat.ciano {
        background-color: #32c5d2;
    }

    .dashboard-stat.purple {
        background-color: #8E44AD;
    }

    .dashboard-stat.green {
        background-color: #87b562;
    }

.red-sharp {
    background-color: #b91319;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.dashboard-stat .visual {
    padding-top: 35px;
    margin-bottom: 40px;
    width: 80px;
    height: 80px;
    display: block;
    float: left;
    padding-top: 10px;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 35px;
    line-height: 35px;
}

    .dashboard-stat .visual i {
        color: #fff;
        opacity: .8;
    }

.dashboard-stat .details {
    display: inline-block;
    right: 15px;
    padding-right: 0px;
    color: #fff;
}

    .dashboard-stat .details .number {
        text-align: right;
        font-size: 34px;
        line-height: 36px;
        letter-spacing: -1px;
        margin-bottom: 0;
        font-weight: 300;
    }

    .dashboard-stat .details .desc {
        text-align: right;
        font-size: 15px;
        letter-spacing: 0;
        font-weight: 300;
        display: inline-block;
        margin-left: 10px;
        margin-top: 5px;
    }

/*stile dashboard*/
/** Smart Industry **/
a:hover {
    color: #2c2c36;
}

.page_login .btn-success {
    color: #fff;
    background-color: #505052;
    border-color: #505052;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #505052 !important;
}

.portlet.box > .portlet-title {
    color: #505052 !important;
}

    .portlet.box > .portlet-title > .caption {
        font-weight: 600;
        color: #505052 !important;
    }



.portlet > .portlet-title > .caption > i {
    color: #505052 !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #c31922;
    border-color: #505052;
}

.page-header .navbar-collapse .navbar-nav > li.active, .page-header .navbar-collapse .navbar-nav > li.open, .page-header .navbar-collapse .navbar-nav > li.active {
    border-bottom: 2px solid #505052;
}

.page-header .navbar-collapse .navbar-nav .dropdown > a {
    color: #505052 !important;
}

li.nav-text-decoration-none > a {
    color: #505052 !important;
}

li.nav-text-decoration-none-child.active a, .nav-text-decoration-none-child.active a {
    color: #505052;
    border-bottom: 1.5px solid #505052;
}

.paginatoreContainer, .row {
    margin-right: 0px;
    margin-left: 0px;
}

.margin-top-20 {
    padding-top: 20px !important;
}

.menu_lat {
    background-color: #fff;
    box-shadow: 3px 5px 5px 0px #0000004a !important;
    border-radius: 0px 15px 15px 0px !important;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 10px !important;
}
/* new insert x smart industry*/
.page-footer-right, .page-footer-left {
    color: #fff;
    height: 38px;
    vertical-align: text-bottom;
}

.margin-top_18 {
    margin-top: 19px;
}

/* new insert x smart industry*/
.navbar-fixed-bottom {
    background: url(../images/sf_footer_red.jpg) bottom repeat-x;
}

a {
    color: #505052;
}

#divSedi {
    margin: 2%;
}

    #divSedi > div {
        border: 1px solid #ffffff;
    }

#divReferenti {
    margin: 2%;
}

    #divReferenti > div {
        border: 1px solid #ffffff;
    }

.card-collapse--single {
    border-top: 1px solid #E41C1C;
    border-bottom: 1px solid #E41C1C;
}

    .card-collapse--single:last-of-type {
        margin-bottom: 44.1px;
    }

    .card-collapse--single + .card-collapse--single {
        margin-top: -1px;
    }

/* new insert x smart industry
.page_login .wrapper {
    background-image: linear-gradient(130deg,#64add4 55%,#06377b 100%)!important;
}

.page_login .wrapper .container-fluid {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMHZ3IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZmZmZiI+PHBhdGggZD0iTTAgMTQwaDEyODBDNTczLjA4IDE0MCAwIDAgMCAweiIgZmlsbC1vcGFjaXR5PSIuMyIvPjxwYXRoIGQ9Ik0wIDE0MGgxMjgwQzU3My4wOCAxNDAgMCAzMCAwIDMweiIgZmlsbC1vcGFjaXR5PSIuNSIvPjxwYXRoIGQ9Ik0wIDE0MGgxMjgwQzU3My4wOCAxNDAgMCA2MCAwIDYweiIvPjwvZz48L3N2Zz4=);
    background-size: 100% 10vw;
    bottom: 0;
    height: 10vw;
    z-index: 1;
}
*/

body.page_int {
    /*    background: url(../images/background.svg) no-repeat center center fixed;
*/ -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header {
    height: 98px;
    background: rgba(255,255,255,0.8);
    box-shadow: 3px 3px 10px 0px #0000004a !important;
}

    header .logo {
        height: auto;
        -webkit-transition: all 400ms ease;
        transition: all 400ms ease;
        margin: 0;
        padding: 5px 0px;
    }

.text-right.paginatoreElementi a {
    /* new insert x smart industry    color: #f7f7f7;*/
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 2px;
}

.btn-default {
    /* new insert x smart industry    background: #06497c!important;*/
    color: #fff !important;
    transition: all 0.3s ease-out 0s;
    /*border-radius: 0 !important;*/
    /* new insert x smart industry    border: 1px solid #06497c; */
    /*padding: 9px;*/
    /* new insert x smart industry */
    background: #505052 !important;
    border: 1px solid #505052;
}

.btn-danger {
    /* new insert x smart industry    background: #06497c!important;*/
    color: #fff !important;
    transition: all 0.3s ease-out 0s;
    /*border-radius: 0 !important;*/
    /* new insert x smart industry    border: 1px solid #06497c; */
    /*padding: 9px;*/
    font-weight: normal;
    /* new insert x smart industry */
    background: #505052 !important;
    border: 1px solid #505052;
}

.portlet.box > .portlet-body {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}


.panel-success > .panel-heading {
    color: #010061;
    border-color: #297fd4;
    background-color: #06377b;
}

.portlet.box.gdf > .portlet-title {
    border-bottom: 0px solid #010061 !important;
}

.wrapper .container-fluid {
    max-width: 100%;
}

.login {
    box-shadow: 3px 3px 10px 0px #0000004a !important;
}

.container .jumbotron, .container-fluid .jumbotron {
    border-radius: 15px;
    border-color: #fff;
    /* new insert x smart industry */ background-color: #7b06067a;
    /* new insert x smart industry     background-image: url(../images/abstract_background.png); */
    background-size: cover;
    background-position-y: top;
    background-position-x: 50px;
    background-repeat: no-repeat;
}
/* new insert x smart industry */
.container .jumbotron_int, .container-fluid .jumbotron_int {
    border-radius: 15px;
    border-color: #fff;
    background-color: #000000a8;
    /*    background-image: linear-gradient(160deg,#770004c9 0%,#000000d9 55%,#b4121775 100%) !important;
*/ margin-top: 30px;
    font-size: 3em;
}

#divautenticazione {
    padding: 40px 0px;
}

.page_login .form-group label, .page_login .login a, .page_login .login .required {
    font-weight: normal;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    font-size: 13px;
    text-decoration: underline;
    font-weight: 500;
    color: #fff;
}

.page_login .control-label {
    padding: 0px !important;
}
/* new insert x smart industry */
.page_login {
    background-image: url(../images/backgroundLogin.svg);
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* new insert x smart industry 
.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}
*/
.menu-toggler > span:after, .menu-toggler > span:before {
    position: absolute;
    left: 0;
    content: '\f0c9';
    color: #06377b;
    font-size: 1.5em;
}

.page-header {
    padding-bottom: 0px;
    margin: 0px;
    border-bottom: 0px solid #eee;
}

.portlet.gdf, .portlet.box.gdf > .portlet-title, .portlet > .portlet-body.gdf {
    background-color: transparent !important;
}

.dash_board {
    text-align: center;
}

/*label {
    display: flex;
}*/

.row_even {
    background-color: rgba(6, 55, 123, 0.2);
    margin-right: 15px;
    margin-left: 15px;
}

.row_odd {
    background-color: rgba(6, 55, 123, 0.4);
    margin-right: 15px;
    margin-left: 15px;
}

.row_space {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

/* NEW CSS -------------------------- */

/* new insert x smart industry
.navbar-fixed-bottom {
background: url(/images/sf_footer.jpg) bottom repeat-x #fff;
}
*/

.container-fluid {
    min-width: 800px;
    clear: both;
    max-width: 1500px;
    margin: auto !important;
}
/* new insert x smart industry */
.page-footer {
    background: #505052;
}

.page-footer-left {
    float: left !important;
    margin-left: 10px !important;
}
/* new insert x smart industry
.page-footer-right, .page-footer-left {
    color: #fff;
    height: 38px;
    vertical-align: text-bottom;
}

.margin-top_18 {
margin-top: 18px;
}
*/
.img-footer-right {
    float: right !important;
    margin-right: 10px !important;
}
/* new insert x smart industry */
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgb(0 0 0 / 5%);
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: rgb(0 0 0 / 0%);
}

.table-hover > tbody > tr:not(.noHover):hover {
    color: #ffffff;
    background-color: rgb(80 80 82 / 30%);
    cursor: pointer;
}

/* new insert x smart industry */
/*.page-header .nav-collapse .navbar-nav .more-dropdown-sub:focus > a, .page-header .nav-collapse .navbar-nav .more-dropdown-sub:hover > a, .page-header .nav-collapse .navbar-nav li:hover > a {
    background-color: #820006 !important;
}*/
table.table.gemat-grid i.fa {
    color: #505052;
}

.table-hover > tbody > tr table.table.gemat-grid i.fa, .actions .btn i.fa {
    color: #ffffff !important;
}

.table-hover > tbody > tr .table-striped > tbody > tr:nth-of-type(odd) {
    color: #ffffff;
    background-color: rgb(24 201 255/ 65%);
}

.table-hover > tbody > tr .table-striped > tbody > tr:nth-of-type(even) {
    color: #ffffff;
    background-color: rgb(24 201 255/ 95%);
}

.table-hover > tbody > tr .table-hover > tbody > tr:not(.noHover):hover {
    color: #ffffff;
    background-color: rgb(24 201 255/ 100%);
    cursor: pointer;
}

/* END NEW CSS -------------------------- */

@media (max-width: 414px) {
    .page_login .wrapper .container-fluid {
        background-size: 100% 100vw;
        bottom: 0;
        height: 100vw;
    }

    .navbar-toggle {
        padding: 9px 0px;
    }

        .navbar-toggle .icon-bar {
            background-color: black;
        }

    .navbar-collapse {
        background-color: rgba(234, 234, 234, 0.9);
    }

    .nav > li {
        display: block;
        width: 100%;
    }

    header {
        height: auto;
    }

    .nav-tabs > li > a {
        border: 1px solid #ffffff;
    }

    .portlet.gdf, .portlet.box.gdf > .portlet-title, .portlet > .portlet-body.gdf {
        background-color: #f5f5f5bf !important;
        border-radius: 10px;
    }
}

@media (max-width: 979px) {
    .page-logo img,
    .dash_board img {
        width: 100%;
    }

    /* new insert x smart industry */
    .login-icon {
        display: none;
    }

    .container-fluid {
        min-width: auto !important;
    }
}

/* CSS
 * -------------------------- */


@media screen and (min-width: 980px) {
    .wrap,
    .page-header__content,
    .page-footer__wrap,
    .world-map__wrapper,
    .news-grid,
    .blog-grid,
    .home-innovation__wrapper,
    .home-client__wrapper {
        padding: 0 20px;
    }

    .mission .col {
        float: left;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 33.3333%;
    }

        .mission .col h3 {
            font-size: 20px;
        }

    .mission__award {
        margin: 30px 0 0;
    }

    .mission__award-content {
        padding: 20px 15px 20px 240px;
        text-align: left;
        display: table-cell;
        vertical-align: middle;
    }

    .no-webp .mission__award-wrapper {
        background: url("../media/img/mission-dossier-left-desktop.png") 0 0/contain no-repeat;
    }

    .webp .mission__award-wrapper {
        background: url("../media/img/webp/mission-dossier-left-desktop.png.webp") 0 0/contain no-repeat;
    }

    .mission__award-cta {
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        margin: 0;
        width: 25%;
    }

    .mission__award-icon {
        position: absolute;
        top: 50%;
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
        left: 15px;
    }

        .mission__award-icon img {
            max-width: 100px;
            position: static;
            left: auto;
            right: auto;
            top: auto;
            -webkit-transform: none;
            -ms-transform: none;
            transform: none;
        }

        .mission__award-icon:before {
            display: none;
        }

        .mission__award-icon:after {
            display: none;
        }

    .align-cols {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        padding-left: 0;
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        max-width: none;
        margin: 0;
    }

        .align-cols .col {
            -webkit-flex-basis: 25%;
            -ms-flex-preferred-size: 25%;
            flex-basis: 25%;
            max-width: 25%;
            width: 25%;
            padding-left: 15px;
            padding-right: 15px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        .align-cols a {
            display: block;
        }

    .align-cols--center {
        text-align: center;
    }

        .align-cols--center .col:not(:last-child) {
            margin: 0 15px 0 0;
        }

    .align-cols__item-wrapper {
        display: block;
    }

    .align-cols__item-img {
        width: 100%;
    }

        .align-cols__item-img img {
            display: block;
            margin: 0 auto 10px auto;
            max-width: 100%;
        }

    .align-cols__item-content {
        padding-left: 0;
        text-align: center;
    }

        .align-cols__item-content br {
            display: block;
        }

        .align-cols__item-content [class^="tt-"] {
            margin: 0 0 10px 0;
        }
}

.page_login .btn-default {
    background-color: #505052 !important;
    border-color: #505052 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
}

.tit_login {
    border-bottom: 1px solid #505052;
}

    .tit_login h2 {
        color: #505052;
    }

    .tit_login h3 {
        color: #505052;
    }


.container .jumbotron, .container-fluid .jumbotron {
    border-radius: 15px;
    border-color: #ffffff;
    background-color: #ffffffe0;
    background-size: auto;
    background-position-y: top;
    background-position-x: 0px;
    background-repeat: no-repeat;
    min-height: 350px;
}

.page_login .form-group label, .page_login .login a, .page_login .login .required {
    color: #000;
}

.input-icon > i {
    color: #505052;
    display: block;
    position: absolute;
    margin: 8px 35px 4px 20px;
    z-index: 3;
    width: 20px;
    font-size: 20px;
    text-align: center;
    right: 0;
}

.form-control {
    padding: 6px 0px 6px 10px;
}

@media (max-width:767px) {
    .container .jumbotron, .container-fluid .jumbotron {
        /*        background-image: url("../images/background_login_s.png");
        background-size: cover;*/
    }

    .page_login .form-group label, .page_login .login a, .page_login .login .required {
        float: right;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .page_login .form-group label, .page_login .login a, .page_login .login .required {
        float: right;
    }
}

@media (min-width:768px) and (max-width:1810px) {
    .container .jumbotron, .container-fluid .jumbotron {
        /*background-image: url("../images/background_login_sm.png");*/
        background-size: contain;
    }
}

@media (min-width:1811px) {
    .container .jumbotron, .container-fluid .jumbotron {
        /*background-image: url("../images/background_login_sm.png");*/
    }
}
/*
@media (max-width:991px) {
    .input-icon > i {
        margin: 40px 35px 4px 20px !important;
    }
}*/

.page-footer-left, .page-footer-right {
    color: #fff;
    height: 38px;
    vertical-align: text-bottom;
    border-color: #fff;
    display: inline-block;
}

.page-footer-left {
    float: left;
}

.page-footer-right {
    float: right;
}

@media (max-width:575px) {
    .hide_mobile {
        display: none;
    }
}

@media (max-width:790px) {
    .hide_tab {
        display: none;
    }
}

@media (max-width:767px) {

    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}

.selectListCarrello {
    width: 70px !important;
}

.welcome-container {
    text-align: center;
}

    .welcome-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .welcome-container h3 {
        font-size: 1.5em;
        color: #333;
        margin-top: 20px;
    }




.breadcrumb-nav {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333333;
}

    .breadcrumb-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 8px;
    }

    .breadcrumb-nav li {
        display: flex;
        align-items: center;
    }

.breadcrumb-link {
    color: #c31922;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .breadcrumb-link:hover {
        color: #a0151b;
        text-decoration: none;
    }

.current-page {
    font-weight: bold;
    color: #495057;
    text-transform: uppercase;
}

.breadcrumb-nav li:not(:last-child)::after {
    content: ">";
    margin: 0 6px;
    color: #adb5bd;
    font-weight: normal;
    font-size: 14px;
}


/* Stile compatto del bottone di logout */
.btn-logout-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Spaziatura tra icona e testo */
    background-color: #c31922; /* Rosso principale */
    color: #ffffff; /* Testo bianco */
    font-weight: 500;
    font-size: 12px; /* Testo pił piccolo */
    padding: 5px 8px; /* Padding ridotto */
    border: none;
    border-radius: 6px; /* Angoli arrotondati leggeri */
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .btn-logout-compact:hover {
        background-color: #a0151b; /* Rosso pił scuro all'hover */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Ombra leggera */
    }

    .btn-logout-compact:active {
        background-color: #870f17; /* Colore ancora pił scuro al click */
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Effetto di pressione */
    }

    .btn-logout-compact .fa {
        font-size: 14px; /* Dimensione icona ridotta */
    }


.small-textbox {
    width: 70px;
    height: auto; /* Lascia che l'altezza si adatti */
    min-height: 25px; /* Imposta una minima altezza */
    padding: 5px;
    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.4; /* Aiuta a evitare tagli */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Garantisce che padding e border non sforino */
    overflow: hidden; /* Previene overflow visuali */
}

    .small-textbox:focus {
        border-color: #007BFF;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        outline: none;
    }

/*.chart-container {*/
/*width: 80vw;*/ /* Occupa tutta la larghezza della finestra */
/*height: 80vh;*/ /* Occupa tutta l'altezza della finestra */
/*display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}*/


/*#chartsWrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px auto;
}*/
/*INIZIO DASHBOARD */

.dashboard-group {
    background: #f9f9f9; /* sfondo leggero */
    border: 1px solid #ddd; /* bordo sottile grigio */
    border-radius: 8px; /* bordi arrotondati */
    margin-bottom: 20px; /* spaziatura tra i gruppi */
    padding: 15px; /* padding interno */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* leggera ombra */
}

/* Stile per il titolo del gruppo */
.dashboard-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 2px solid #007BFF; /* linea di accento in blu */
    padding-bottom: 5px;
}

/* Disposizione in riga per i grafici */
.dashboard-row {
    display: flex;
    gap: 20px;
}

/* Stile per ciascun riquadro dei grafici */
.chart-container {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

/* Stile per i sottotitoli dei grafici */
.chart-subtitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
    text-align: center;
}


/*FINE DASHBOARD */

.chartContainer {
    width: 32%;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

    .chartContainer h2 {
        text-align: center;
        font-size: 1.8em;
        margin-bottom: 10px;
    }

.chart-and-legend {
    display: flex;
    align-items: flex-start;
}

.chart-svg-container {
    /* Contenitore per il grafico */
}

.chart-legend {
    margin-left: 20px;
    font-family: sans-serif;
    font-size: 18px;
}

.legend-item {
    margin-bottom: 5px;
    cursor: pointer;
}

    .legend-item.disabled {
        opacity: 0.5;
    }

    .legend-item span.color-box {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 5px;
        vertical-align: middle;
    }

.arc text {
    font: 16px sans-serif;
    text-anchor: middle;
}
/*#region dropdown custom*/
.dropdown-custom {
    position: absolute;
}

    .dropdown-custom button {
        padding: 0 5px;
        cursor: pointer;
        border-radius: 20px !important;
        color: black;
        background-color: rgba(255,255,255,0.8);
        transition: all .2s ease-in-out;
        border: 1px solid lightgray;
    }

        .dropdown-custom button:hover {
            transform: scale(1.2);
        }

.open > .custom-context-menu {
    display: block !important;
}

.custom-context-menu {
    box-shadow: 5px 5px rgba(102,102,102,.1);
    position: absolute;
    z-index: 1000;
    display: none;
    list-style: none;
    margin: 10px 0 0;
    border: 1px solid #eee;
    float: left;
    min-width: 100px !important;
    padding: 5px !important;
    background-color: rgba(255,255,255,0.95);
    border-radius: 8px !important;
    right: 0;
}

    .custom-context-menu a {
        display: inline-block;
        min-width: 100px !important;
        font-weight: 600;
        z-index: 9999;
        white-space: nowrap;
    }

    .custom-context-menu hr {
        margin: 5px;
        font-size: 2px;
        border-top: 2px solid #eee;
    }

    .custom-context-menu:before {
        position: absolute;
        top: -8px;
        display: inline-block !important;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e0e0e0;
        border-left: 8px solid transparent;
        content: '';
        right: 4px !important;
        left: auto !important;
    }

    .custom-context-menu:after {
        position: absolute;
        top: -7px;
        display: inline-block !important;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #fff;
        border-left: 7px solid transparent;
        content: '';
        right: 7px !important;
        left: auto !important;
    }

.dropup-custom > .custom-context-menu:before {
    right: 5px !important;
    left: auto !important;
    top: auto !important;
    bottom: -7px;
    border-top: 7px solid #e0e0e0;
    border-bottom: 0;
}

.dropup-custom > .custom-context-menu:after {
    right: 8px !important;
    left: auto !important;
    bottom: -6px !important;
    top: auto;
    border-top: 7px solid #fff;
    border-bottom: 0;
}

.dropup-custom > .custom-context-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 10px;
    border-bottom: 0;
}

/*#endregion */
