a:link {
    text-decoration: none !important;
}

.shadow {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1) !important;
}

.no_border_no_shadow {
    border: none !important;
    box-shadow: none !important;
}

.background {
    z-index: -1 !important;
}

.LoginSubTitle {
    padding: 10px;
    text-align: center;
}

.ContentMain {
    padding: 10px;
}

.ContentMainPopUp {
    padding: 1px;
}

.ContentMainPopUpPadding {
    padding: 10px 20px 10px 10px;
}

.noVisibility {
    visibility: hidden !important;
    height: 0px !important;
    display: none !important;
}

.hideTab { /* bandcolumn cartellino*/
    height: 16px !important;
    padding: 0px !important;
}

    .hideTab Table {
        display: none;
    }

.titolo {
    background-color: #000000;
    padding: 8px;
    text-align: center;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: white !important;
    text-transform: uppercase;
}

    .titolo span, .titolo a {
        color: white !important;
    }


.titolo_modal {
    padding: 4px;
}

.sub_titolo, .sub_titolo span {
    text-align: center;
    font-size: 16px;
    color: #000000;
}


.space {
    height: 10px;
}

.space_mini {
    height: 5px;
}


.ods_nota {
    width: 100%;
    height: auto;
    overflow: visible;
}

.ods_nota_left {
    padding: 10px;
    float: left;
    width: 89%;
}

.ods_nota_right {
    padding: 10px;
    height: auto;
    float: right;
}

.pasto, .stato_0, .stato_1, .stato_2, .stato_3, .stato_4, .stato_16, .stato_17, .stato_18, .stato_19, .stato_20, .stato_21, .stato_22, .stato_23, .stato_24, .stato_25, .stato_254, .stato_255 {
    width: 20px;
    height: 20px;
    color: white !important;
    padding-top: 3px;
    text-align: center;
    border-radius: 3px;
    font-weight: bold;
    opacity: 0.5;
}

.pasto {
    background-color: #0026ff !important;
}

.stato_0 {
    background-color: #b054ae !important;
}

.stato_1 {
    background-color: #32f544 !important;
}

.stato_2 {
    background-color: #fae004 !important;
}

.stato_3 {
    background-color: #249ef4 !important;
}

.stato_4 {
    background-color: #ed0808 !important;
}

.stato_16, .stato_17, .stato_18, .stato_19, .stato_20, .stato_21, .stato_22, .stato_23, .stato_24, .stato_25 {
    background-color: #ec1be9 !important;
}


.statoL_0 {
    color: #b054ae !important;
}

.statoL_1 {
    color: #32f544 !important;
}

.statoL_2 {
    color: #fae004 !important;
}

.statoL_3 {
    color: #249ef4 !important;
}

.statoL_4 {
    color: #ed0808 !important;
}

.statoL_16, .statoL_17, .statoL_18, .statoL_19, .statoL_20, .statoL_21, .statoL_22, .statoL_23, .statoL_24, .statoL_25 {
    color: #ec1be9 !important;
}


.tab_cart th {
    padding: 6px;
    background-color: #000000;
    color: white;
    font-weight: normal;
}

.tab_cart td {
    padding: 6px;
    vertical-align: top;
}

.right_buttons {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: right;
}

    .right_buttons .dxbButton_Material {
        margin-bottom: 5px;
    }

.btn_vuoto {
    width: 50px;
    height: 22px;
}


.row_css_desel {
    color: gray !important;
}

#PageToolbarPanel .dxm-tmpl, #HeaderPanel .dxm-tmpl, .tb_dev .dxm-tmpl {
    padding-left: 2px;
    padding-right: 2px;
}

[class*=dxeEditArea_Material] {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    float: none !important;
}

.ellipsis {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    float: none !important;
}

    .ellipsis span {
        display: inline !important;
    }

.ellipsis_caption {
    max-width: 70vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

    .ellipsis_caption span {
        display: inline !important;
    }

.ellipsis_caption_group span {
    max-width: 70vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline !important;
}

.wrap {
    white-space: normal;
    word-wrap: break-word;
}

.flexitem_auto img {
    margin-bottom: -4px;
    margin-right: 2px;
}

.menu_checked {
    box-shadow: inset 0px -3px 0px#225998;
    background-color: inherit !important;
    color: inherit !important;
}

    .menu_checked img {
        outline: none !important;
    }



.oggi {
    border-bottom: solid 4px#225998 !important;
    font-weight: bold;
}

    .oggi td {
        font-weight: bold;
    }


.align_right {
    text-align: right;
    align-content: flex-end;
}

.footer-menu {
    height: 50px; /* Footer Height */
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0px;
    background-color: white;
}

/**** flexbox ****/

.flexbox {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.flexbox_justify {
    justify-content: space-between;
}

.flexbox_right {
    justify-content: flex-end;
}

.flexitem_left {
    width: calc(100% - 70px - 4px) !important;
}

.flexitem_left_2 {
    width: calc(100% - 130px) !important;
}

.flexitem_left_50 {
    width: calc(((100% - 70px) / 2) - 4px) !important;
}

.flexitem_right {
    width: 66px !important;
    text-align: right;
}

    .flexitem_right > div {
        margin-bottom: 5px;
    }

.flexitem_right_2 {
    width: 120px !important;
    text-align: right;
}

    .flexitem_right_2 > div {
        margin-bottom: 5px;
    }

.flexitem_left, .flexitem_left_2, .flexitem_left_50, .flexitem_right, .flexitem_right_2 {
    padding: 5px 2px;
}

.flexitem_auto {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px;
    width: auto;
}

.flexitem {
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(33% - 4px) !important;
}

.flexitem_15 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(15% - 4px) !important;
}

.flexitem_30 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(30% - 4px) !important;
}

.flexitem_50 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(50% - 4px) !important;
}

.flexitem_66 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(66% - 4px) !important;
}

.flexitem_75 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(75% - 4px) !important;
}

.flexitem_100 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px;
    width: calc(100% - 4px) !important;
}

.max_width {
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 1300px) {
    .small_header {
        font-size: 0.8em !important;
        padding: 16px 4px !important;
    }
}

@media (max-width: 1200px) {

    .flexitem_15 {
        width: calc(20% - 4px) !important;
    }

    .flexitem_100 {
        width: calc(100% - 4px) !important;
    }
}

@media (max-width: 800px) {
    .ContentMain {
        padding: 2px;
    }

    .dxmodalSys > .dxpclW {
        /*margin:  auto !important;*/
    }

    .dxpc-content {
        padding: 9px 2px !important;
    }

    .flexitem {
        width: calc(50% - 4px) !important;
    }

    .flexitem_15 {
        width: calc(33% - 4px) !important;
    }

    .flexitem_100 {
        width: calc(100% - 4px) !important;
    }

    .flexitem_left, .flexitem_left_2, .flexitem_left_50, .flexitem_right, .flexitem_right_2 {
        width: calc(100% - 4px) !important;
        max-width: calc(100% - 4px) !important;
    }

    .btn_vuoto {
        display: none !important;
    }

    .hidden_800 {
        display: none !important;
    }

    .login_mobile {
        border: none !important;
        box-shadow: none !important;
    }

        .login_mobile .dxpc-content {
            padding: 4px !important;
            margin: auto !important;
        }
}

@media (max-width: 500px) {
    .flexitem {
        width: calc(100% - 4px) !important;
    }

    .flexitem_15 {
        width: calc(50% - 4px) !important;
    }

    .flexitem_66, .flexitem_100 {
        width: calc(100% - 4px) !important;
    }
}

@media (max-width: 300px) {

    .bt_chiudi {
        display: none !important;
    }

}@media (max-width: 200px) {

    .flexitem_15 {
        width: calc(100% - 4px) !important;
    }

    .flexitem_100 {
        width: calc(100% - 4px) !important;
    }
}





@media screen and (min-width: 1000px) {
    .onlyMobile {
        display: none !important;
    }
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.box-info {
    border: 1px solid #cccccc;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 2px;
    white-space: normal !important;
    word-wrap: normal !important
}

.text_green {
    color: #006700 !important;
}

.text_gray, .text_gray a {
    color: gray !important;
}

.text_red, .text_red a {
    color: #B60000 !important;
}

.text_blue, .text_blue a {
    color: blue !important;
}

.text_bold, .text_bold a {
    font-weight: bold !important;
}

.msgPopContent {
    text-align: center;
    padding: 20px;
    border-bottom: solid 1px #eaeaea;
}

.msgPopFooter {
    justify-content: flex-end;
    display: flex !important;
    flex-direction: row !important;
    padding: 10px;
}

.popButton {
    margin-left: 4px;
}


[class*="dxgvHeader"] {
    padding: 16px 10px;
}

[class*="dxgvFooter"] {
    padding: 16px 10px;
}

[class*="dxgvFilterFilterBar"] {
    margin-top: 6px;
}

[class*="dxgv"], [class*="dxvg"] {
    box-shadow: none !important;
}

[class*="dxgvLoading"], [class*="dxgvLoading"] {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%) !important;
}

.no_shadow {
    box-shadow: none !important;
}

.dxdd-list .dxmodalTableSys.dxpc-contentWrapper {
    margin-top: 50px;
}

.tab {
    width: 100%;
}

    .tab td {
        vertical-align: top;
        padding: 2px
    }

    .tab th {
        font-weight: bold;
    }

.pre {
    color: #000000;
}

.ass {
    color: darkred;
}

.str {
    color: blue;
}

.val {
    color: #00ff00;
}

.pre, .ass, .str, .val {
    text-align: center;
    background-color: #e1e1e1;
    border-radius: 3px;
    padding-left: 2px;
    padding-right: 2px;
}

.dxpc-mainDiv.dxdd-cal { /* dateedit in adaptive mode...*/
    border-radius: 0 !important;
}

.dxpc-mainDiv.dxdd-list { /* combobox  in adaptive mode...*/
    border-radius: 0 !important;
}


.dxb img { /* immagini buttons ...*/
    width: 20px;
}

.data_master_blink {
    background-color: yellow !important;
    font-weight: bold !important;
}

    .data_master_blink input {
        background-color: yellow !important;
    }

.cart_cell { /*per i cartellini*/
    padding: 16px 4px !important;
    font-size: 13px !important;
}

    .cart_cell td { /*per i cartellini*/
        font-size: 13px !important;
    }

    .cart_cell span { /*per i cartellini*/
        font-size: 13px !important;
    }

.row_grid { /*per i treeviewlist*/
    height: 34px !important;
}

    .row_grid:hover {
        background: #eeeeee !important;
    }

.planFocusedCell {
    box-shadow: inset 2px 2px 0 #225998, inset -2px -2px 0 #225998;
    -webkit-box-shadow: inset 2px 2px 0 #225998, inset -2px -2px 0 #225998;
    -moz-box-shadow: inset 2px 2px 0 #225998, inset -2px -2px 0 #225998;
}

.foto {
    border: 10px solid #000000;
    width: 150px;
    padding: 0px;
    overflow: hidden;
    text-align: center
}

.td_right {
    width: 60px;
    text-align: right;
    padding: 6px;
}

.dotted td {
    border-top: dashed 1px #d8d8d8
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
    border-radius: 5px;
    text-align: center;
    padding: 0;
    margin-top: 10px;
    background-color: #000000;
    cursor: pointer;
}

    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.4);
    }

    .card:active {
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    }

a:link, a:visited, a:active {
    color: initial;
    text-decoration: none;
}

.card_text {
    background-color: #ffffff;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 8px 2px 8px;
}

.card_image {
    padding: 20px;
}

    .card_image img {
        width: 70%;
    }

.footer_cartellino {
    overflow-y: auto;
    height: 250px;
}


/* cambiamenti per gestire i colori della barra principale */
.dxeBase_Material, .dxeBase_MaterialCompact, .dxflCaption_Material, .dxflCaption_MaterialCompact, .dxgvControl_Material, .dxgvControl_MaterialCompact {
    color: #000000 !important;
}

.menu-container span {
    color: white !important;
}

.app-header img, .dx-fab-container img, .af_menu img, .header-logo {
    filter: invert(100%);
}

.dxm-popup img, #fab img {
    filter: none;
}

.dxm-popup span {
    color: black !important;
}

.dxm-checked span {
    color: white !important;
}

.dxm-popup .dxm-checked img {
    filter: invert(100%);
    outline: none !important;
}

/* cambiamenti per gestire i colori della barra principale */

.cellHover {
    cursor: pointer;
}

.toast {
    text-align: center;
    visibility: visible;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 9999999;
    bottom: 10px;
    display: flex; /* Usa flexbox per allineare l'icona e il testo */
    align-items: center;
    padding-left: 40px; /* Lascia spazio per l'icona */
    padding-right: 40px;
}

    .toast::before {
        content: ""; /* Necessario per rendere l'icona visibile */
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%); /* Centra verticalmente l'icona */
        width: 20px;
        height: 20px;
        background-image: url('images/info.svg');
        background-size: contain; /* Assicura che l'icona mantenga le sue proporzioni */
        filter: invert(100%); /* Inverte il colore dell'icona e la rende bianca */
    }
