﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

.color-primary {
    color: var(--color-primary);
}

.icon-menu .main-sidebar .sidebar > nav > ul > li:hover,
.icon-menu .main-sidebar .sidebar > nav > ul > li:has(a.active),
.icon-menu .main-sidebar .sidebar > nav > ul > li:has(button.active),
.icon-menu .main-sidebar .sidebar > nav > ul > li > ul.dropdown-icon-menu li:has(a.active),
.icon-menu .main-sidebar .sidebar > nav > ul > li > ul.dropdown-icon-menu li:has(button.active) {
    border-color: var(--color-primary) !important;
    background-color: var(--color-primary-shadow) !important;
}

.incore .btn-secondary:hover, .incore .btn-secondary:focus, .incore .btn-secondary:active {
    background-color: #3F5DCE;
    border: 2px solid #3F5DCE;
}

.ap2-consuntivazione {
    display: grid;
    grid-template-columns: [riga] 4% [stato] 12% [codice] 12% [descrizione] 20% [quantita] 9% [prezzo] 10% [totale] 10% [residuo] 10% [consuntivazione] 10%;
    column-gap: 0.375%;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

    .ap2-consuntivazione input[type="text"],
    .ap2-consuntivazione input[type="number"] {
        max-height: 1.75rem;
    }

.ap2-fatturazione {
    display: grid;
    grid-template-columns: [ordine] 9% [ordineCliente] 12% [codice] 12% [descrizione] 20% [quantita] 9% [prezzo] 10% [totale] 10% [fatturazione] 10% [azione] 5%;
    column-gap: 0.375%;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

    .ap2-fatturazione input[type="text"],
    .ap2-fatturazione input[type="number"] {
        max-height: 1.75rem;
    }

table.fc-scrollgrid {
    border-radius: 15px;
}

th[role="presentation"] {
    border-radius: 15px 15px 0 0;
}

td[role="presentation"] {
    border-radius: 0 0 15px 15px;
}

.incore-APMS > li {
    color: black;
}

/*.accordion-button:after {
    order: -1;*/ /* swap order */
/*margin-left: 0;
    margin-right: 0.5em;*/ /* just extra space between text and icon */
/*}*/

/*.incore-card{
    padding-top:24px;
    margin-top:24px;
}*/

.ap2-caricaDoc {
    font-weight: 400;
    font-size: 14px;
    min-height: 40px;
    max-height: 40px;
    color: var(--color-text-tab-icon);
    min-height: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-linea);
    padding: 0 15px;
    width: 100%;
    margin-bottom: 1.5rem;
    column-gap: 5%;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

    .ap2-caricaDoc a:first-child {
        max-width: 75%;
    }

.ap2-caricaDoc-Title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.step-separator {
    width: 55px;
    height: 2px;
    background-color: var(--color-linea);
    margin: 0 10px;
    align-self: center;
}

.pt-20 {
    padding-top: 20px !important;
}

.btn-padding {
    padding: 6px 14px 6px 14px !important;
}


.incore .tab-navigation .nav-tabs .nav-link.active {
    color: #00632f;
    
    border-bottom: 3px solid #00632f;
}






.incore table.dataTable tbody tr td {
    border-right: 1px solid #e0e0e0;
    padding: 0px 20px;
}

.incore table.dataTable thead tr th {
    border-right: 1px solid #e0e0e0;
    padding: 12px 20px;
}

.incore .dataTable > thead > tr th:last-child {
    border-right: none;
}

.incore table.dataTable tbody tr td.text-start {
    border-right: none;
}


.incore i.incore-mi-normal {
    color: #5cbb46;
}

.icon-menu .main-sidebar .sidebar > nav > ul > li:hover {
    background-color: rgba(76,161,60,0.5);
    border-left: 3px solid #5cbb46;
}


.dt-azioni .dropdown-toggle .incore-mi-normal {
    color: black;
}

.navbar-nav .navbar-nav .btn-secondary {
    border: none;
}

    .navbar-nav .navbar-nav .btn-secondary:hover {
        border: none;
        border-radius: 6px;
    }

    .navbar-nav .navbar-nav .btn-secondary:focus {
        border: none;
        border-radius: 6px;
    }


.incore .btn-primary {
    background-color: black;
    border-radius: 30px;
    padding: 0px 40px;
}

    .incore .btn-primary:hover {
        background-color: rgba(0,0,0,0.7);
    }

.before-breadcrumb .incore-flex-row .incore-flex-row .btn-primary:active {
    background-color: rgba(0,0,0,0.5);
}


.incore .btn-primary:focus {
    background-color: black;
    border-radius: 30px;
    padding: 0px 40px;
}


.incore .btn-secondary {
    background-color: white;
    border-radius: 30px;
    padding: 0px 40px;
    border: 2px solid black;
    color: black;
}

    .incore .btn-secondary:hover {
        background-color: rgba(0,0,0,0.1);
        padding: 0px 40px;
        border: 2px solid black;
        color: black;
    }

    .incore .btn-secondary:focus {
        background-color: white;
        border: 2px solid black;
        border: 2px solid black;
        color: black;
    }

.fa-plus {
    font-size: 20px;
}

.before-breadcrumb {
    margin-left: -2rem;
    margin-right: -2rem;
    height: 5rem;
    margin-bottom: 10px;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    align-items: center;
}

    .before-breadcrumb > .incore-row:first-child {
        width: 100%;
    }

.dashboardButton {
    min-height: 88px;
    width: 100%;
    padding: 16px 24px 16px 24px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #9797974D;
    display: flex;
    flex-direction: column;
}

    .dashboardButton:has(:hover),
    .dashboardButton:hover {
        background-color: var(--color-primary-hover-riga);
    }

.radio-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    column-gap: 0px;
    max-height: 56px;
    height: 56px;
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 20px;
    align-items: flex-end !important;
}

.form-floating-symbol .input-group-text {
    width: 2.4rem;
    justify-content: center;
    border-right: 0;
}

.form-floating-symbol .form-control {
    padding-left: 3rem !important;
}

.form-floating-symbol .input-group-text {
    --prepend-width: 2.4rem;
    width: var(--prepend-width);
    justify-content: center;
    border-right: 0
}

.form-floating-symbol input.form-control {
    box-sizing: border-box;
    min-width: 0;
    padding-left: calc(var(--prepend-width) + .5rem) !important;
    padding-right: 1rem;
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border: 1px solid var(--color-linea);
}

.form-floating-symbol .input-group {
    overflow: visible;
}

    .form-floating-symbol .input-group:has(input[readonly]) .input-group-prepend {
        pointer-events: none;
    }

.riga-remove-col {
    width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-textarea {
    flex: 2 1 0 !important;
    min-width: 250px !important;
}

.campi-riga {
    flex: 1 1 auto !important;
    min-width: 0;
}

.col-action {
    flex: 0 0 20px !important;
    max-width: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .col-action i {
        color: #606060;
    }

    .col-action button:disabled {
        background-color: transparent !important;
    }
/*
.sel-min .select2-container,
.sel-min .select2-container .select2-selection--single {
    min-width: 100% !important; 
    max-width: 100% !important;
}*/

.sel-min {
    min-width: 180px !important;
    max-width: 180px !important;
    width: 100% !important;
}

.righe-scroll-x {
    overflow-x: auto;
    overflow-y: clip;
    width: 100%;
    display: block !important;
    white-space: normal !important;
    padding-bottom: 15px;
    scrollbar-width: thin;
}

.inner-fluid {
    width: max-content;
    min-width: 100%;
    display: inline-block;
}

.righe-scroll-x .incore-row {
    min-width: max-content !important;
    width: 100%;
}

.righe-scroll-x > .incore-row {
    flex-wrap: wrap !important;
}

.righe-scroll-x .select2-container {
    width: 100% !important;
}

.righe-scroll-x .select2-selection--single {
    width: 100% !important;
}

.righe-scroll-x .select2-selection__rendered {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-subtitle {
    text-align: left;
    padding: 8px;
    color: black;
}

.color-text-disabled {
    color: var(--color-text-disabled) !important;
}

.tab-navigation nav {
    --tabs-padding-x: 16px;
    position: relative;
    padding-top: 1px;
    padding-inline: var(--tabs-padding-x);
    border-bottom: none;
}

    .tab-navigation nav::after {
        content: "";
        position: absolute;
        left: var(--tabs-padding-x);
        right: var(--tabs-padding-x);
        bottom: 0;
        height: 1px;
        background: #dee2e6;
        pointer-events: none;
        bottom: -1px;
    }

.nav-tabs {
    border-bottom: none !important;
}

.w-6 {
    max-width: 6rem;
}

.w-10r {
    width: 10rem;
}
/*
.righe-scroll-x .form-floating:not(.col-textarea){
    flex: 0 0 auto !important;
}*/

.incore-flex i.icon-select + label + select + .select2 .select2-selection__rendered {
    padding-left: 25px !important;
}

.icon-select {
    position: absolute !important;
    z-index: 2;
    margin: 8px;
    color: var(--color-label-secondario-varie);
}

.btn-up-fade-slide {
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    opacity: 0;
    max-height: 0;
}

    .btn-up-fade-slide.show {
        opacity: 1;
        max-height: 500px;
    }

.client-arrow {
    transform: translateY(6px);
    font-size: 22px;
    color: #606060;
    margin-left: 0.3rem;
}

    .client-arrow:hover {
        border-radius: 4px;
        background-color: #00000014;
    }

.inner-fluid .riga-form .form-floating,
.inner-fluid .riga-form .form-floating-symbol,
.inner-fluid .riga-form .incore-flex.sel-min {
    flex: 1 1 100px;
}

.cta-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: end;
    margin-top: 6px;
}

.small-inline-input {
    flex: 0.5 1 100px !important;
}

.dt-paging nav::after {
    height: 0px;
}

.dt-title {
    margin-bottom: 8px;
}

.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
    pointer-events: none;
    opacity: 0;
    z-index: 500;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -27px;
    margin-top: -27px;
}

img.brand-image {
    height: 40px;
}

button.dz-button {
    border: none;
    color: #606060;
    background-color: rgba(0,0,0,0);
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
}

    button.dz-button:hover {
        color: #0f4fff;
    }
