@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.height120 {
    height: 120px !important;
}

.heightCover {
    width: 150px; /* Imposta una larghezza fissa desiderata */
    display: block; /* Fa in modo che ogni bottone occupi una riga intera */
    margin-bottom: 5px; /* Aggiunge un piccolo spazio sotto ogni bottone */
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    text-align: center; /* Opzionale: centra il testo all'interno del bottone */
}

.p-cursor {
    cursor: pointer;
}

.txt:hover {
    text-decoration: underline;
}

/*F: rimuove lo spazio vuoto tra i grafici senza dover modificare pesantemente l'HTML o il layout. */
.chart-container {
    display: none;
}


/*F: ticket con o senza risposta*/
.itsGreen {
    background-color: #30B730 !important;
}

.itsRed {
    background-color: #CC3300 !important;
}

.text-red {
    color: red;
}

.inLineP {
    display: inline-block;
    margin: 0;
}

.reload {
    background-image: url("/open-iconic/svg/reload.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.hide {
    display: none;
}

.scrollY {
    height: 500px;
    overflow-y: auto;
}

.scrollY750 {
    height: 750px;
    overflow-y: auto;
}

.min200 {
    min-width: 200px;
}
/*Window sms*/
.dashboard-sms-history {
    position: relative;
    padding: 10px;
    margin: 5px 0 0.5em;
    background: #a7d5ef;
    /* css3 */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #444;
    margin-bottom: 0px;
}

    .dashboard-sms-history.left {
        margin-right: 75px;
        /*background: rgb(167, 213, 239);*/
    }

    .dashboard-sms-history.right {
        margin-left: 75px;
        /*background: rgb(157, 201, 2);*/
    }

    .dashboard-sms-history.error {
        /*margin-left: 75px;*/
        background: #ff8c00;
    }

    .dashboard-sms-history p {
        /*font-size: 1.2em;*/
        line-height: 1.25em;
    }

    .dashboard-sms-history small {
        text-align: left;
        padding-left: 15px;
        font-size: 12px;
        color: #555;
    }

/*Menu sos*/
.dashboard-menu-sos {
    position: relative;
    padding: 10px;
    margin: 5px 0 0.5em;
    background: #a7d5ef;
    /* css3 */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #555;
    margin-bottom: 0px;
}

    .dashboard-menu-sos p {
        /*font-size: 1.2em;*/
        line-height: 1.25em;
    }
    /* display of quote author (alternatively use a class on the element following the blockquote) */
    .dashboard-menu-sos small {
        text-align: left;
        padding-left: 15px;
        font-size: 12px;
        color: #ff0000;
    }

    .dashboard-menu-sos strong {
        text-align: left;
        color: black;
    }

/*Window menu history*/
.dashboard-menu-history-legend {
    color: #a7d5ef;
}

    .dashboard-menu-history-legend .block {
        padding: 5px;
        margin: 4px;
        background: #a7d5ef;
        /* css3 */
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        color: #00a9e0;
        margin-bottom: 0px;
    }

    .dashboard-menu-history-legend .light-blue {
        color: #a7d5ef;
        font-size: 12px;
    }

    .dashboard-menu-history-legend .red {
        background: #f92029;
        color: white;
        font-size: 12px;
    }

    .dashboard-menu-history-legend .iw-day {
        background: darkblue;
    }

    .dashboard-menu-history-legend .maint-day {
        background: #47d447;
    }

    .dashboard-menu-history-legend .ideal-maintenance-day {
        background: #106500;
    }

    .dashboard-menu-history-legend .iw-check-up-day {
        background: #8c489f;
    }

    .dashboard-menu-history-legend .sos-day {
        background: red;
    }

    .dashboard-menu-history-legend .test-day {
        background: palevioletred;
    }

    .dashboard-menu-history-legend .missing-customer {
        background: #40CBCB;
    }

    .dashboard-menu-history-legend .missing-testimony {
        background: #FFE400;
    }

    .dashboard-menu-history-legend .missing-exams {
        background: #FF8521;
    }

    .dashboard-menu-history-legend .pa-change-blocked {
        background: #00e000;
    }

    .dashboard-menu-history-legend .pa-to-activate {
        background: #1a7676;
    }

    .dashboard-menu-history-legend .static-warning {
        background: #ff000b;
    }

    .dashboard-menu-history-legend .pa-ended {
        background: #8c489f;
    }

.dashboard-menu-history {
    position: relative;
    padding: 10px;
    margin: 10px 0 0.5em;
    background: #a7d5ef;
    /* css3 */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: black;
    margin-bottom: 0px;
    text-align: left;
    border-left-width: 10px;
}

    .dashboard-menu-history table {
        width: 100%;
        font-size: 1em;
    }

    .dashboard-menu-history .tbl-foods {
        padding: 5px;
        margin: 4px;
        font-size: 1.0em;
    }

    .dashboard-menu-history .light-blue {
        color: #00a9e0;
    }

    .dashboard-menu-history .green {
        color: #07a014;
    }

    .dashboard-menu-history .primary-choice {
        text-decoration: underline;
    }

    .dashboard-menu-history .red {
        color: #f92029;
    }

    .dashboard-menu-history hr {
        margin: 8px;
        border-color: #00a9e0;
    }

    .dashboard-menu-history .tbl-warnings {
        font-size: 1.2em;
        width: auto;
    }

    .dashboard-menu-history .warning {
        padding: 5px;
        margin: 4px;
        background: #f92029;
        /* css3 */
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        color: white;
        margin-bottom: 0px;
    }

    .dashboard-menu-history.iw-day {
        border-left: 5px solid darkblue;
    }

    .dashboard-menu-history.maint-day {
        border-left: 5px solid #47d447;
    }

    .dashboard-menu-history.ideal-maintenance-day {
        border-left: 5px solid #106500;
    }

    .dashboard-menu-history.ideal-maintenance-cheated {
        border-left: 5px solid #106500;
        color: blue;
    }

    .dashboard-menu-history.iw-check-up-day {
        border-left: 5px solid #8c489f;
    }

    .dashboard-menu-history.sos-day {
        border-left: 5px solid red;
    }

    .dashboard-menu-history.test-day {
        border-left: 5px solid palevioletred;
    }

    .dashboard-menu-history.missing-customer {
        border-left: 5px solid #40CBCB;
    }

    .dashboard-menu-history.missing-testimony {
        border-left: 5px solid #FFE400;
    }

    .dashboard-menu-history.missing-exams {
        border-left: 5px solid #FF8521;
    }

    .dashboard-menu-history.pa-change-blocked {
        border-left: 5px solid #00E000;
    }

    .dashboard-menu-history.pa-to-activate {
        border-left: 5px solid #1a7676;
    }

    .dashboard-menu-history.static-warning {
        border-left: 5px solid #ff000b;
        background: #FFAC42;
    }

    .dashboard-menu-history.pa-ended {
        border-left: 5px solid #8c489f;
        background: #ffd700;
    }

    .dashboard-menu-history.sensation {
        border-left: 5px solid #000000;
    }

.toUpper {
    text-transform: uppercase;
}

/*F: stili per le finestre PopUp modali*/

.modal-header {
    cursor: move;
}

.modal-content:hover {
    border: 3px solid lightblue;
}

.modalTop {
    z-index: 1051;
}

.modal-size-icon {
    cursor: pointer;
    margin-left: 10px;
    padding-top: 3px;
    color: black;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.my-dialog-size {
    height: 95% !important;
    width: 95% !important;
    max-width: 95% !important;
    max-height: 95% !important;
}

.modal-body-max-height {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.icon-button {
    color: white;
    border-style: none;
    background-color: transparent;
}

.icon-button-bluette {
    color: #08c;
    border-style: none;
    background-color: transparent;
}

/*Cards in homepage*/
.order-card {
    color: #fff;
}

.bg-c-blue {
    background: linear-gradient(45deg, #4099ff, #73b4ff);
}

.bg-c-green {
    background: linear-gradient(45deg, #2ed875, #59e0c5);
}

.bg-c-yellow {
    background: linear-gradient(45deg, #FFB64D, #ffcb80);
}

.bg-c-pink {
    background: linear-gradient(45deg, #FF5370, #ff869a);
}

.card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);
    box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);
    border: none;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.m-b-0 a {
    color: white;
}

    .m-b-0 a:hover {
        text-decoration: underline;
    }

.card .card-block {
    padding: 25px;
}

.order-card i {
    font-size: 26px;
}

.f-left {
    float: left;
    margin-right: 5px;
}

.f-right {
    float: right;
    margin-left: 2px;
}

.my-cards {
    width: 100%;
    margin-left: 0.01%;
}

    .my-cards > div {
        width: auto;
        display: inline-block;
    }



/*Dettagli conversazione ticket*/
.ticket-msg {
    position: relative;
    padding: 10px;
    margin: 5px 0 0.5em;
    background: #a7d5ef;
    border-radius: 10px;
    color: #555;
    margin-bottom: 0px;
}

    .ticket-msg.left {
        margin-right: 75px;
    }

    .ticket-msg.right {
        margin-left: 75px;
        background: #e1efad;
    }

    .ticket-msg p {
        line-height: 1em;
    }
    /* display of quote author (alternatively use a class on the element following the blockquote) */
    .ticket-msg small {
        text-align: left;
        padding-left: 15px;
        font-size: 13px;
        color: #555;
    }

    .ticket-msg strong {
        text-align: left;
        padding-left: 15px;
        font-size: 13px;
        color: darkred;
    }

app {
    position: relative;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

ul.nowrap li {
    white-space: nowrap;
}

.general-nowrap {
    white-space: nowrap;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.my-filter {
    height: 30px;
    background-color: #336699 !important;
    color: #FFFFFF !important;
}

    .my-filter a {
        color: #FFFFFF !important;
        white-space: nowrap;
    }

.back-off {
    margin-left: 5px;
}

.red {
    color: red;
}

.stay-centered {
    text-align: center;
}

.stay-right {
    width: 30%;
    float: right;
}

.button-align-right {
    float: right;
}

.padding-up-down {
    padding-top: 10px;
    padding-bottom: 10px;
}

.padding-everywhere {
    padding: 10px;
}

#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;
    }

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

@media (min-width: 1199px) {
    .modal-xxl {
        width: 95%;
        max-width: 1500px;
    }
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* .navbar-toggler {
        display: none;
    }*/

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    /*top row class*/
    .my-row {
        height: 4.5rem !important;
    }

    .forTheFooter {
        background-color: white;
    }

    .modal-content {
        overflow: hidden;
    }

    /*Window menu history*/
    .dashboard-menu-history-legend {
        color: #a7d5ef;
    }

        .dashboard-menu-history-legend .block {
            padding: 5px;
            margin: 4px;
            background: #a7d5ef;
            /* css3 */
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            color: #00a9e0;
            margin-bottom: 0px;
        }

        .dashboard-menu-history-legend .light-blue {
            color: #a7d5ef;
            font-size: 12px;
        }

        .dashboard-menu-history-legend .red {
            background: #f92029;
            color: white;
            font-size: 12px;
        }

        .dashboard-menu-history-legend .iw-day {
            background: darkblue;
        }

        .dashboard-menu-history-legend .maint-day {
            background: #47d447;
        }

        .dashboard-menu-history-legend .ideal-maintenance-day {
            background: #106500;
        }

        .dashboard-menu-history-legend .iw-check-up-day {
            background: #8c489f;
        }

        .dashboard-menu-history-legend .sos-day {
            background: red;
        }

        .dashboard-menu-history-legend .test-day {
            background: palevioletred;
        }

        .dashboard-menu-history-legend .missing-customer {
            background: #40CBCB;
        }

        .dashboard-menu-history-legend .missing-testimony {
            background: #FFE400;
        }

        .dashboard-menu-history-legend .missing-exams {
            background: #FF8521;
        }

        .dashboard-menu-history-legend .pa-change-blocked {
            background: #00e000;
        }

        .dashboard-menu-history-legend .pa-to-activate {
            background: #1a7676;
        }

        .dashboard-menu-history-legend .static-warning {
            background: #ff000b;
        }

        .dashboard-menu-history-legend .pa-ended {
            background: #8c489f;
        }

        .dashboard-menu-history-legend .sensation {
            background: #000000;
        }

    .dashboard-menu-history-header {
        position: relative;
        padding: 10px;
        margin: 5px 0 0.5em;
        background: #00a9e0;
        /* css3 */
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        color: white;
        margin-bottom: 0px;
        border-left-width: 10px;
    }

        .dashboard-menu-history-header table {
            width: 100%;
            font-size: 1.2em;
        }

        .dashboard-menu-history-header tr > td > hr {
            margin: 4px;
            border-color: #80d4f0;
        }

        .dashboard-menu-history-header .green {
            color: #12ff00;
        }

        .dashboard-menu-history-header .red {
            color: #fa2227;
        }

        .dashboard-menu-history-header .white {
            color: white;
        }

    .dashboard-menu-history {
        position: relative;
        padding: 10px;
        margin: 10px 0 0.5em;
        background: #a7d5ef;
        /* css3 */
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        color: black;
        margin-bottom: 0px;
        text-align: left;
        border-left-width: 10px;
    }

        .dashboard-menu-history table {
            width: 100%;
            font-size: 1em;
        }

        .dashboard-menu-history .tbl-foods {
            padding: 5px;
            margin: 4px;
            font-size: 1.0em;
        }

        .dashboard-menu-history .light-blue {
            color: #00a9e0;
        }

        .dashboard-menu-history .green {
            color: #07a014;
        }

        .dashboard-menu-history .primary-choice {
            text-decoration: underline;
        }

        .dashboard-menu-history .red {
            color: #f92029;
        }

        .dashboard-menu-history hr {
            margin: 8px;
            border-color: #00a9e0;
        }

        .dashboard-menu-history .tbl-warnings {
            font-size: 1.2em;
            width: auto;
        }

        .dashboard-menu-history .warning {
            padding: 5px;
            margin: 4px;
            background: #f92029;
            /* css3 */
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            color: white;
            margin-bottom: 0px;
        }

        .dashboard-menu-history.iw-day {
            border-left: 5px solid darkblue;
        }

        .dashboard-menu-history.maint-day {
            border-left: 5px solid #47d447;
        }

        .dashboard-menu-history.ideal-maintenance-day {
            border-left: 5px solid #106500;
        }

        .dashboard-menu-history.ideal-maintenance-cheated {
            border-left: 5px solid #106500;
            color: blue;
        }

        .dashboard-menu-history.iw-check-up-day {
            border-left: 5px solid #8c489f;
        }

        .dashboard-menu-history.sos-day {
            border-left: 5px solid red;
        }

        .dashboard-menu-history.test-day {
            border-left: 5px solid palevioletred;
        }

        .dashboard-menu-history.missing-customer {
            border-left: 5px solid #40CBCB;
        }

        .dashboard-menu-history.missing-testimony {
            border-left: 5px solid #FFE400;
        }

        .dashboard-menu-history.missing-exams {
            border-left: 5px solid #FF8521;
        }

        .dashboard-menu-history.pa-change-blocked {
            border-left: 5px solid #00E000;
        }

        .dashboard-menu-history.pa-to-activate {
            border-left: 5px solid #1a7676;
        }

        .dashboard-menu-history.static-warning {
            border-left: 5px solid #ff000b;
            background: #FFAC42;
        }

        .dashboard-menu-history.pa-ended {
            border-left: 5px solid #8c489f;
            background: #ffd700;
        }

        .dashboard-menu-history.sensation {
            border-left: 5px solid #000000;
        }

    .valign-top {
        vertical-align: top;
    }

    .curPointer:hover {
        cursor: pointer;
    }

}
