.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}

.nav.nav-line .nav-link {
    font-size: 12px;
}

#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;
}

.page-loading {
    content: " ";
    display: block;
    position: fixed;
    z-index: 100000;
    height: 5px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #4c7cf3;
    animation: page-load 2s infinite;
}

.page-loading-white {
    content: " ";
    display: block;
    position: fixed;
    z-index: 100000;
    height: 5px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff;
    animation: page-load 2s infinite;
}

.loading-cont {
    position: fixed;
    z-index: 100001;
    margin-top: -100px;
    margin-left: -100px;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 200px;
    /*background: #ffffff;*/
    text-align: center;
    border-radius: 15px;
}

.loading-cont img {
    width: 200px;
    display: inline-block;
    padding-top: 30px;
    text-align: center;
}

.blazored-modal-container {
    z-index: 1005;
}

.blazored-modal {
    width: 600px;
}

.cursor-pointer {
    cursor: pointer;
}

.blazored-modal,
.modal-dialog {
    position: absolute;
    top: 32px;
    right: 32px;
    margin: 0;
}

.blazored-modal,
.modal-dialog {
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    width: 600px !important;
    max-width: 600px !important;
    position: fixed;
}

.blazored-modal .blazored-modal-content {
    max-height: 100% !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    border-radius: 0 !important;
    height: 100%;
}

.modal-dialog .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-header {
    border-radius: 0;
}

.table-row .row {
    align-items: center;
    padding: 5px 0;
}

.table-row .row:nth-of-type(even) {
    background-color: rgba(0, 0, 0, .05);
}

.table-row .row:first-child {
    padding: 5px 0;
    font-weight: 600;
}

.card .card-body {
    padding: 15px;
}

.card .card-body.table-row {
    padding: 0 15px;
}

.btn.btn-link {
    padding: 0.6rem 0;
}

.form-group .btn.btn-link {
    padding: 0;
}

.blazored-modal-title {
    font-size: 1.5rem;
}

.modal-dialog.modal-lg {
    width: 100% !important;
    max-width: 100% !important;
}

.modal-dialog.modal-xl {
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 800px) {
    .modal-dialog.modal-lg {
        width: 800px !important;
        max-width: 800px !important;
    }

    .modal-dialog.modal-xl {
        width: 1140px !important;
        max-width: 1140px !important;
    }
}

.modal.modal-back .modal-dialog {
    right: 100px !important;
    width: 600px !important;
}

.modal.modal-back .modal-dialog.modal-lg {
    right: 100px !important;
    width: 800px !important;
}


.modal.modal-back .modal-dialog.modal-xl {
    right: 100px !important;
    width: 1140px !important;
}

.modal.modal-back .modal-backdrop {
    display: none;
}

.modal-footer {
    min-height: 75px;
}

.modal-title {
    font-size: 12px;
    font-weight: 600;
}

.modal-header .close.close-tab {
    margin: inherit;
}

.nav.nav-line .nav-link {
    cursor: pointer;
}


/* Colori degli stati dei servizi */
.dot {
    margin: 0 5px;
}

.dot-xl {
    height: 30px;
    width: 30px;
}

.dot-10 {
    background-color: green;
}

.dot-20 {
    background-color: blue;
}

.dot-30 {
    background-color: red;
}

.dot-40 {
    background-color: gray;
}

.dot-50 {
    background-color: yellow;
}

.dot-60 {
    background-color: orange;
}

.dot-payed {
    background-color: black;
}

/* Category Bar */
.category-bar {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
}

/* Category Point */
.category-point {
    width: 8px;
}

.icon-text {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5px 0;
}

.blazored-typeahead .icon-text {
    padding: 0;
}

.icon-text span {
    font-size: 12px;
}

.icon-text i {
    font-size: 15px;
    width: 22px;
    margin-right: 5px;
    color: #8d9498;
}

.icon-text .custom-i {
    height: 22px;
    border-radius: 4px;
    background-color: #8d9498;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-transparent {
    background: transparent !important;
    padding: 0 !important;
}

.fs-12 {
    font-size: 12px;
}

.form-group label, .form-check label {
    margin-bottom: 0;
    padding: 0.6rem 0;
}

.fg-small .form-group {
    padding: 2px;
}

.blazored-toast-container {
    z-index: 99999;
}

.dropzone {
    min-height: auto !important;
}


.drag-drop-zone {
    border: 2px dashed #bbc2cd;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aeaeae;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

.drag-drop-zone:hover {
    background-color: #f5f5f5;
}

.drag-drop-zone input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.row.cursor-pointer {
    background-color: rgba(255, 255, 255, 1);
}

.row.cursor-pointer:hover {
    background-color: rgba(0, 123, 255, 0.2);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.fa-table-services {
    font-size: 15px;
    margin-right: 7px;
}

.form-control {
    font-size: 12px;
    padding: 0.3rem 1rem;
}

.blazored-typeahead__input,
.blazored-typeahead__input-icon {
    font-size: 12px;
    padding: 0.1rem 1rem;
}

.blazored-typeahead:focus-within {
    box-shadow: none;
    border-color: #3e93ff;
}

.form-control:focus {
    border-color: #3e93ff;
}

.form-group label, .form-check label {
    margin-bottom: 0;
    padding: 0.3rem 0;
    display: block;
}

/*.table td, .table th {
    padding: 8px !important;
}*/

.col-space-min {
    margin-right: 5px;
    margin-left: 5px;
}

.col-space-min > .col,
.col-space-min > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.btn {
    padding: 0.3rem 1rem;
}

.form-group, .form-check {
    padding: 5px;
}

.card {
    margin-bottom: 15px;
}

.card .card-body {
    padding: 10px;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
    position: relative;
}

.desc-width {
    width: 300px;
}

.row-noshow, .row-noshow a {
    text-decoration: none;
    color: #009900 !important;
    font-style: italic !important;
}

.row-cancelled, .row-cancelled a {
    text-decoration: line-through;
    color: #D90000 !important;
    font-style: italic !important;
}

.row-selected {
    /* TODO: SISTEMARE STILE */
    /*background: gray !important;*/
    /*color: #FFFFFF;*/
}

.day-saturday {
    background-color: #FFCC00
}

.day-sunday {
    background-color: #D90000;
    color: #FFFFFF;
}

.blazored-typeahead__input-mask-wrapper--disabled {
    min-height: initial !important;
}

.main-panel {
    padding-top: 65px;
}

.main-panel .content {
    margin-top: 0 !important;
}

.page-inner {
    min-height: 800px;
}

.dropdown-scroll {
    max-height: 350px;
    overflow-y: auto;
}


.dropdown-time {
    position: relative;
    display: none;
}

.dropdown-time.show {
    display: inline-block;
}

.dropdown-time-dropbtn {
    /* Stilizza il tuo bottone qui */
}

.dropdown-time-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 2px;
    width: 340px;
    left: -270px;
    top: 35px;
}

.dropdown-time-content div {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
}

.dropdown-time-content div:hover {
    background: #1a2035;
    color: white;
}

.dropdown-time:hover .dropdown-time-content {
    /*display: block;*/
}

.rz-button {
    width: 20px;
    height: 20px;
    font-size: 1.0625rem;
}

.rz-calendar .rz-inputtext {
    padding: 0.1rem 1rem;
    font-size: 12px;
    height: auto;
}

.rz-datepicker-calendar td .rz-state-active {
    background-color: #1a2035 !important;
}

.time-icon {
    position: absolute;
    top: 49%;
    transform: translateY(-50%);
    right: 0.8rem;
    font-size: 15px;
}

.input-group-time .rz-button-icon-only {
    visibility: hidden;
}

.blazored-typeahead__input-mask {
    padding: 0.1rem 1rem;
}

.blazored-typeahead__clear {
    padding: 0;
}

@media (min-width: 1300px) {
    .nav-bottom {
        width: auto !important;
        position: absolute;
        left: 170px;
        top: 5px;
    }
}

.horizontal-layout-2 .main-header {
    height: auto;
}

.blazored-typeahead__input-icon {
    width: auto;
}

.card.filter-row .card-body,
.modal-body,
.modal-header,
.modal-footer,
.nav.nav-line .nav-link {
    background-color: rgba(0, 0, 0, .05);
}

.form-control {
    border-color: #bfbfbf;
}

.blazored-typeahead {
    background-color: #fff;
}

.input-group-append .btn, .input-group-prepend .btn {
    border-radius: 0 5px 5px 0;
    border-color: #bfbfbf;
}

.blazored-typeahead__input-icon {
    background-color: #efefef;
}

.blazored-typeahead__down-arrow path {
    fill: #000;
}

.responsive-mobile-menu .title-collection {
    color: #ffffff;
    text-align: left
}

.responsive-mobile-menu ul {
    list-style: none;
    padding: 0;
}

.responsive-mobile-menu ul li a {
    font-size: 20px;
    padding: 5px 0;
    color: #ffffff;
    display: block;
}

.responsive-mobile-menu ul li label span,
.responsive-mobile-menu .sidebar-title {
    color: #ffffff;
}

.responsive-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 100%;
    background: #000000;
    padding: 80px 40px 80px 40px;
    z-index: 999999;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    transition: all .3s ease-in;
}

.responsive-mobile-menu.active {
    left: 0;
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    transition: all .3s ease-in-out;
}

/* Normal desktop :992px. */
@media (min-width: 1201px) and (max-width: 1500px) {
    .slide-height {
        min-height: 670px;
    }

    .open-menu {
        display: none
    }
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    .open-menu {
        display: none
    }
}


/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    .open-menu {
        display: none
    }
}


/* small mobile :320px. */
@media (max-width: 767px) {
    .title-collection {
        font-size: 16px;
        margin-top: 0;
    }

    .close-menu {
        position: absolute;
        top: 5%;
        right: 7%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .close-menu img {
        width: 20px
    }

    .open-menu {
        display: block;
        width: 28px;
        height: 28px;
        background-image: url("../img/hamburger.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .btn-mobile-block {
        display: block;
        margin-top: 7px;
        width: 100%;
    }

    .nav.nav-line .nav-link {
        padding: 17px 10px !important;
    }
}

.input-group-text {
    padding: 0.375rem 0.75rem;
}

.gap-small {
    gap: 4px;
}

@media screen and (max-width: 991px) {
    .nav_open .nav-bottom .title-menu .close-menu {
        right: 0 !important;
    }
}

.row-selected {
    background-color: rgba(253, 233, 98, 0.3) !important;
}

textarea.form-control {
    height: 100px;
}

.progress-bar.progress-bar-step1 {
    background-color: #ffff00;
}
.progress-bar.progress-bar-step2 {
    background-color: #ff0000;
}
.progress-bar.progress-bar-step3 {
    background-color: #35cd3a;
}
    
@media(max-width: 991px) {
    .modal-footer .btn {
        padding: 0.3rem !important;
    }
}

.floating-btn {
    display: flex;
    bottom: 20px;
    right: 30px;
    border: 0 none;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    z-index: 999997;
    position: fixed;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
