@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');


html{
    --lumo-primary-text-color:   #023146;
    --lumo-primary-color:   #023146;
    --lumo-primary-color-50pct: #02314688;
    --lumo-primary-color-10pct: #02314622;
    --lumo-success-text-color:    #023146;
    --lumo-success-color:  #023146;
    --lumo-success-color-50pct: #023146;
    --lumo-success-color-10pct: #02314622;
    --lumo-font-family: 'Poppins' !important;
    --bs-danger: #ba1010 !important;
    --bs-success: #04BD86 !important;
    --bs-primary: #023146 !important;
    line-height: 1.0 !important;
    font-family: 'Poppins', serif !important;
    font-weight: 250 !important;
    font-size: 80% !important;
    overflow: auto !important;
}

.text-danger{
    color: #ba1010 !important;
}

.bg-danger{
    background-color: #ba1010 !important;
}

.text-success{
    color: rgb(4,189,134) !important;
}

.bg-success{
    background-color: rgb(4,189,134) !important;
}

output{
    display:inline !important;
}

vaadin-grid-cell-content{
    text-wrap: wrap !important;
}

.pointer{
    cursor:pointer !important;
}

body{
    font-family: 'Poppins', serif !important;
    font-weight: 250 !important;
    color: #323232  !important;
    touch-action: manipulation !important;
}

.fw-bold{
    font-weight:500 !important;
}

.logo-azienda {
    height: 6em !important;
}

.logo-azienda-sm {
    height: 3em !important;
}

vaadin-drawer-toggle{
    padding: 0 !important;
    margin-left: 2rem !important;
}

vaadin-side-nav-item {
    width: 100% !important;
    font-weight: 400 !important;
    padding: 0 !important;
    margin-top: 0.5rem !important;
    cursor: pointer !important;
}

.profile-button {
    margin-bottom:0.5rem !important;
    width: 100% !important;
    cursor:pointer !important;
    font-weight: 400 !important;
    padding: 1rem !important;
}

.border-green{
    border-color: #04BD86 !important;
}

.w-150{
    width:150px !important;
}

.h-150{
    height:150px !important;
}

.h-70 {
    height:70px !important;
}

.w-70{
    width:70px !important;
}

.h-40 {
    height:40px !important;
}

.w-40{
    width:40px !important;
}

.img-thumbnail{
    transition: transform .2s !important;
}

.img-thumbnail:hover{
    transform: scale(1.1) !important;
    border-radius: 0 !important;
    padding:0 !important;
}

.filter-bar {
    background: #f4f5f7 !important;
    margin-top: 0.5em !important;
    padding: 2em;
    width:100% !important;

}


.month-view-container{
    overflow:auto !important;
    padding:0 !important;
    max-width:100% !important;
    margin-top:1em !important;
    margin-bottom:1em !important;
    font-size: xx-small !important;
}

.month-view-days-container{
    overflow:auto !important;
}

.first-column, .last-column{
    margin-right: 0.2em!important;
    min-width: 6rem!important;
    flex: none !important;
    font-weight: 300 !important;
}

.column-month{
   min-width:3em !important;
   max-width:10em !important;
   margin-right:0.1em !important;
   flex: none !important;
   min-width:3em !important;
}

.other-events{

        color: #aa0000;
        border-radius: 0.8em;
        padding:0.2em;
        margin: 0.1em !important;
        width: 100% !important;
        zoom:90%;
        font-weight: 600 !important;
    }

.day-event{
    border-radius: 0.8em;
    background-color: #04BD86;
    font-weight: 400 !important;
    padding:0.3em;
    margin: 0.1em !important;
    color: #fff;
    zoom:90%;
    }
.non-conteggiato{
       background-color: transparent;
       color: #cc0000;
       border: 1px solid #cc0000;
}

.non-controllato{
    background-color: #fab407;

}

.non-conteggiato-non-controllato{
    background-color: #cc0000;
}


.button-vs-month {
    background-color: #f7f7f7 !important;
    border-radius:10px;
    height: 6rem !important;
    overflow: hidden !important;
    justify-content:center;
    vertical-align: middle !important;
    align-items: center !important;
    display: flex !important;
    padding: 0.3em !important;
    cursor: pointer !important;
    margin-right: 0.2em !important;

    margin-bottom:0.5em !important;

  overflow: auto; /* oppure overflow: scroll; a seconda delle necessità */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer e Edge legacy */
}

.button-vs-month::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}


.cellaSelezionata{
    shadow: 0 0 5px #024631 !important;
    background-color: #dfefe5 !important;
}

.button-vs-month-lungo {
    height: 6rem !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: left !important;
    text-align:left !important;
    align-items: center !important;
    padding: 0.3em !important;
    cursor: pointer !important;
    margin-right: 0.2em !important;
    margin-bottom:0.5em !important;
}

.button-vs-month-footer {
    height: 6rem !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.3em !important;
    cursor: pointer !important;
    margin-right: 0.2em !important;
}

.button-today{
    border-bottom: solid 2px  #023146 !important;
}

.button-vs-month-servizio{
    background-color: #dff6ff !important;
    color: #023146 !important;
    border-radius:10px;
    height: 6rem !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.5em !important;
    cursor: pointer !important;
    margin-right: 0.2em !important;
    margin-bottom:0.5em !important;
    font-weight: 300 !important;
    overflow-wrap: anywhere;


  overflow: auto; /* oppure overflow: scroll; a seconda delle necessità */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer e Edge legacy */
}

.button-vs-month-servizio::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}

.button-vs-month-nota::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}

.button-vs-month-nota{
    color: #023146 !important;
    border:1px solid #04bd86 !important;
    border-radius:10px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.5em !important;
    cursor: pointer !important;
    margin-right: 0.2em !important;
    font-weight: 300 !important;
     overflow: auto; /* oppure overflow: scroll; a seconda delle necessità */
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* Internet Explorer e Edge legacy */
}

.button-vs-month-day {
    height: 6rem !important;
    padding: 0.5em !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    margin-right: 0.4em !important;
    margin-bottom:0.5em !important;
    font-weight: 300;
}

a{
    color: #04BD86 !important;
    text-decoration: none !important;
}

a:hover{
    text-decoration: none!important;
}

.button-vs-month:hover {
    background-color: rgb(210, 233, 242) !important;
}

.login{
    background: rgb(4,189,134) !important;
    background: radial-gradient(circle, rgba(4,189,134,1) 0%, rgba(2,49,70,1) 100%) !important;
}

.border-grey{
    border-color: #f4f5f7 !important;
}

.bg-grey{
    background-color: #f4f5f7 !important;
}

.text-green{
    color: #04BD86 !important;
}

.border-right-green{
    border-right: 1px solid #04BD86 !important;
}

.border-bottom-green{
    border-bottom: 1px solid #04BD86 !important;
}

.border-green{
    border: 1px solid #04BD86 !important;
}

.btn-outline-primary {
    color: #04BD86 !important;
    border-color: #04BD86 !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background:#04BD86 !important;

}

.green-power{
    background-color:#04BD86 !important;
    color:#fff !important;
}

.red-power{
    background-color: #ba1010 !important;
    color:#fff !important;
}

.orange-power{
    background-color: #e07902 !important;
    color:#fff !important;
}

.grey-power{
    background-color: #adadad !important;
    color:#fff !important;
}

.button-actions{
    background: linear-gradient(90deg,#013044 0%,#04BD86 80%) !important;
    color:#fff !important;
}

.green-power h3, .green-power h6 {
    color:#fff !important;
}

.bg-blue{
    background-color: #023146 !important;

}

.bg-dark-blue{
    background-color: #013044 !important;
}

.border-blue{
    border-color: #023146 !important;
}

.text-blue{
    color: #023146 !important;
}

.text-right{
    text-align: right !important;
}

.drawer{
    background-color: #F4F5F9 !important;
}

.border-drawer{
    border: 1px solid #F4F5F9 !important;
}


vaadin-app-layout::part(drawer){
background-image:none !important;
background:linear-gradient( to right, #F4F5F9, #F9FAFF) !important;
border:none !important;
}

vaadin-app-layout::part(navbar){
background:#fff  !important;
border:none !important;
}



.bg-grey{
    background-color: #F4F5F9 !important;
}

.text-light{
    color: #F4F5F9 !important;
}

.border-light{
    border-color: #F4F5F9 !important;
}

.drawer-red{
    background-color: #fff0f0a8 !important;
}

.drawer-green{
    background-color: #f0fff0a8 !important;
}

#chart {
    max-width: 760px !important;
    margin: 35px auto !important;
    opacity: 0.9 !important;
}

@media print{
    .not-print{
        display:none  !important;
    }

    @page {
        size: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .break {
        page-break-before: always !important;
    }

    table th, table td {
        border:1px solid #000 !important;
        padding:0.5em !important;
    }
}