
body {
    overflow-y: auto;
}

body * {
    user-select: none;
}

body.selectable * {
    user-select: auto;
}

.select2-container, select {
    border-radius: 4px !important;
    box-shadow: none !important;
}

.select2-container.select2-dropdown-open {
    border-radius: 4px 4px 0 0 !important;
}

div[multiple=true] .projectType-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .projectType-selector.with-value .select2-container {
    border-radius: 0 !important;
}

div[multiple=true] .project-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .project-selector.with-value .select2-container {
    border-radius: 0 !important;
}

div[multiple=true] .worker-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .worker-selector.with-value .select2-container {
    border-radius: 0 !important;
}

div[multiple=true] .tag-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .tag-selector.with-value .select2-container {
    border-radius: 0 !important;
}

div[multiple=true] .training-offer-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .training-offer-selector.with-value .select2-container {
    border-radius: 0 !important;
}

div[multiple=true] .multi-value-selector .select2-container {
    border-radius: 0 4px 4px 0 !important;
}

div[multiple=true] .multi-value-selector.with-value .select2-container {
    border-radius: 0 !important;
}

.multi-value-selector {
    width: 600px;
}

.projectState-selector .select2-container  {
    border-radius: 0 4px 4px 0 !important;
}

.projectState-selector .select2-container.select2-dropdown-open {
    border-radius: 0 4px 0 0 !important;
}


.modal-content {
    border-radius: 12px;
}

.modal-header, .modal-footer {
    padding-top:8px;
    padding-bottom: 8px;
}

.btn {
    /*border-radius: 0 !important;*/
}

.btn-addon-adjust {
    padding-right: 24px;
}

.rounded {
    border-radius: 0;
}

/* Campo di ricerca (cgs:queryField): angoli arrotondati come gli altri campi (4px) sul gruppo input + pulsanti */
.query-field > input.form-control {
    border-radius: 0;
}
.query-field > input.form-control:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.query-field > .input-group-btn:last-child > .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.query-field > input.form-control:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.sb-cgs::-webkit-scrollbar, .sb-cgs *::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background: transparent;
}

.sb-cgs::-webkit-scrollbar-thumb, .sb-cgs *::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    -webkit-border-radius: 8px;
    -webkit-box-shadow: 0px;
}

.sb-cgs::-webkit-scrollbar-corner, .sb-cgs *::-webkit-scrollbar-corner {
    background: #000;
}

.app-selector  {
    /*width: 200px;*/
    min-width:200px;
    max-width: 900px /*650px*/;
    margin-right:4px;
}

.app-selector-large  {
    width: 600px;
    margin-right:4px;
}

.app-selector-expand {
    width: 100%;
    margin-right:4px;
}

.payment-type-selector {
    width: 400px;
    margin-right:4px;
}

.customer-selector, .location-selector {
    width: 350px;
    margin-right:4px;
}

.training-offer-selector {
    width: 600px;   
}

.employee-selector {
    width: 400px;   
}

.cer-selector, .companyAddressType-selector, .aarticle-selector {
    width: 90%;
    max-width: 500px;
    margin-right:4px;
}

.newTrainingOffer-dialog .training-offer-selector {
    width: 100% !important;   
    /*max-width: unset !important;*/
}

.newTrainingOffer-dialog .training-offer-selector .select2-container {
    max-width: 75vw !important;        
}

.newTrainingOffer-dialog .employee-selector, .newTrainingOffer-dialog .customer-selector  {
    width: 440px !important;    /* spazio per pulsnate */
}

#newEmployeeForm .job-selector, #newEmployeeForm .qualification-selector, 
#invoiceHeaderForm .customer-selector, #invoiceHeaderForm .payment-type-selector,
#invoiceRows .project-selector, #invoiceRows .aarticle-selector,
#invoiceRows .vat-selector {
    width: 100% !important;
    max-width: 100% !important;
}

.projectType-selector {
    width: 400px !important;
}

.invoiceAddRow, .invoiceAddRow td, .invoiceAddRow:hover, .invoiceAddRow:hover td {
    background-color: #dddddd !important;
}

#invoiceHeaderForm table, #invoiceRows {
    width:100%;
    max-width: 1100px;
}

#invoiceHeaderForm .select2-container-active, #invoiceRows .select2-container-active {
    border-color: #23b7e5;
}

#invoiceHeaderForm .select2-container-active.select2-dropdown-open, #invoiceRows .select2-container-active.select2-dropdown-open {
    border-color: #23b7e5 !important;
}

.select2-result-label {
    white-space: nowrap;
    overflow: hidden;
}

.select2-results .vatnumber {
    color: #cccccc;
}

.select2-results .select2-highlighted {
    background: #23b7e5 !important;
}

.form-inline .form-group {
    margin-bottom: 8px;
}

.btn-inform-title {
    position: relative;
    top: -4px;
}

.main-spinner {
    font-size:36px !important;
    /*color:#5a4daa !important;*/
    color:#ccc !important;
}

.label {
    font-size: 100%;
}

.text-in-box {
    white-space: nowrap;
}

.opcenter_row {
    clear:both;
    white-space: nowrap;
    padding-left: 4px;
    padding-top: 4px;
    border:1px dashed transparent;
}

.opcenter_row:hover {
    background-color: #eeeeee;
}

.opcenter_tags {
    display: inline-block;
    vertical-align: top;
    padding-right: 4px;
    padding-left: 4px;
    padding-top: 10px;
}

.opcenter_tags i {
    width: 28px;
    background-color: transparent;
    height: 28px;
    border-radius: 16px;
    text-align: center;
    padding-top: 7px;
    color: #ccc;
    cursor: pointer;
}

.opcenter_tags.with-tags i {
    background-color: #fad733;
    color: #666;
} 

.opcenter_tags:hover i {
    background-color: #dcdcdc;
    color: #666;
}

.opcenter_tags.with-tags:hover i {
    background-color: #fad733;
    color: #666;
}

.opcenter_tags .tooltip-inner {
    background-color: #fad733;
    color: #666;
    white-space: normal;
}

.opcenter_tags .tooltip.top .tooltip-arrow,
.opcenter_tags .tooltip.top-left .tooltip-arrow,
.opcenter_tags .tooltip.top-right .tooltip-arrow {
    border-top-color: #fad733;
}

.opcenter_tags .tooltip.right .tooltip-arrow {
    border-right-color: #fad733;
}

.opcenter_tags .tooltip.left .tooltip-arrow {
    border-left-color: #fad733;
}

.opcenter_tags .tooltip.bottom .tooltip-arrow,
.opcenter_tags .tooltip.bottom-left .tooltip-arrow,
.opcenter_tags .tooltip.bottom-right .tooltip-arrow {
    border-bottom-color: #fad733;
}

.opcenter_cell {
    /*float:left;*/
    display: inline-block;
    width:150px;
    margin-right:5px;
}

.opcenter_mid_cell {
    /*float:left;*/
    display: inline-block;
    width:60px;
    margin-right:5px;
}

.opcenter_mini_cell {
    /*float:left;*/
    display: inline-block;
    width:30px;
    margin-right:5px;
}

.opcenter_cell a, .opcenter_mini_cell a, .opcenter_mid_cell a {
    margin-bottom: 5px !important;
}

.opcenter_label {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dddddd;
    padding-bottom: 70px;
}

.responsible-not-found {
    border-bottom: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
    margin-bottom: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 20px;
}

.my-drop-zone {
    border: 3px dotted lightgray;
    height: 400px;
}

.modal-body {
    max-height: 75vh;
    overflow-y: scroll;
}

.list-btn {
    padding: 1px 4px !important;
}

.fit-td {
    width: 4px;
    white-space: nowrap;
}

.minimal-td-padding {
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.td-no-padding-right {
    padding-right: 0 !important;
}

.td-no-padding-left {
    padding-left: 2px !important;
}

.list-row-icon {
    padding-right: 4px !important;
}

.emp-td {
    background-color: #dddddd !important;
}

.space-td {
    width: 12px !important;
}

.dialog-edit-panel {
    margin-top: 4px;
}

.ng-invalid {
    border-color: #f05050;
}

.document-preview-area {
    border: 1px solid #eeeeee;
    height: 450px;
    no-margin-left: 60px;
    min-width: 720px;    
    width: 100%;
}

#previewIframe {
    border: 1px solid #eeeeee;
    height: 450px;
    min-width: 720px;    
    width: 100%;
}

#previewImage {
    height: 800px;
    width: 700px;
}

#previewImageContainer {
    height: 450px;
    overflow: auto;
    width: 720px;
}

.btn-doc-tool {
    width: 200px;
}

.file-icon {
    font-size: 20pt;    
}

.opcenter_mini_cell .tooltip-inner {
    background-color: #666666 !important;
    color: white;
    white-space: normal;
}

.opcenter_mini_cell .tooltip.in {
    filter: alpha(opacity=100);
    opacity: 1;
}

.opcenter_mini_cell .tooltip.top .tooltip-arrow {
  border-top-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.top-left .tooltip-arrow {
  border-top-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.top-right .tooltip-arrow {
  border-top-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.right .tooltip-arrow {
  border-right-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.left .tooltip-arrow {
  border-left-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.bottom .tooltip-arrow {
  margin-left: -6px;
  border-width: 0 6px 6px;
  border-bottom-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.bottom-left .tooltip-arrow {
  border-bottom-color: #666666 !important;
}
.opcenter_mini_cell .tooltip.bottom-right .tooltip-arrow {
  border-bottom-color: #666666 !important;
}

.opcenter_cell .tooltip-inner, .tooltip_yellow .tooltip-inner {
    background-color: #fad733 !important;
    color: black;
    white-space: normal;
}

.opcenter_cell .tooltip.in, .tooltip_yellow .tooltip.in {
    filter: alpha(opacity=100);
    opacity: 1;
}

.opcenter_cell .tooltip.top .tooltip-arrow, .tooltip_yellow .tooltip.top .tooltip-arrow {
  border-top-color: #fad733 !important;
}
.opcenter_cell .tooltip.top-left .tooltip-arrow, .tooltip_yellow .tooltip.top-left .tooltip-arrow {
  border-top-color: #fad733 !important;
}
.opcenter_cell .tooltip.top-right .tooltip-arrow, .tooltip_yellow .tooltip.top-right .tooltip-arrow {
  border-top-color: #fad733 !important;
}
.opcenter_cell .tooltip.right .tooltip-arrow, .tooltip_yellow .tooltip.right .tooltip-arrow {
  border-right-color: #fad733 !important;
}
.opcenter_cell .tooltip.left .tooltip-arrow,  .tooltip_yellow .tooltip.left .tooltip-arrow {
  border-left-color: #fad733 !important;
}
.opcenter_cell .tooltip.bottom .tooltip-arrow, .tooltip_yellow .tooltip.bottom .tooltip-arrow {
  margin-left: -6px;
  border-width: 0 6px 6px;
  border-bottom-color: #fad733 !important;
}
.opcenter_cell .tooltip.bottom-left .tooltip-arrow,.tooltip_yellow .tooltip.bottom-left .tooltip-arrow {
  border-bottom-color: #fad733 !important;
}
.opcenter_cell .tooltip.bottom-right .tooltip-arrow,.tooltip_yellow .tooltip.bottom-right .tooltip-arrow {
  border-bottom-color: #fad733 !important;
}

.hscroller {
    overflow-x: auto;
    padding-bottom: 20px;    
    margin-bottom: 30px;
}

.dialog-ask {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 6pt;
}

.dialog-ask td {
    padding: 4pt;
}

.dialog-ask tr {
    vertical-align: middle;
}

.dialog-ask i {
    font-size: 20pt;
}

.opcenter_current_container {
    background-color: #ddd !important;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    display: table;
    width: 100%;
}

/*** esempio di animazione css
.inline-panel.ng-hide {  
  -webkit-animation: remove-right 200ms;
  -webkit-animation-fill-mode: forwards; 
  animation: remove-right 200ms;
  animation-fill-mode: forwards;
}

@-webkit-keyframes remove-right {
  
  50% {
    
    -webkit-transform: translateX(-5%);
    transform: translateX(-5%);
  }
  
  100% {
    -webkit-transform: translateX(200%);
    transform: translateX(200%); 
  }    
}

@keyframes remove-right {
  
  50% {
    
    -webkit-transform: translateX(-5%);
    transform: translateX(-5%);
  }
  
  100% {
    -webkit-transform: translateX(200%);
    transform: translateX(200%); 
  }    
}
***/

.inline-panel {
    padding:6pt;
    box-shadow: 0px 0px 2px 2px #ccc;
    border: 1px solid #dddddd;
    background-color: white;
}

.inline-panel .panel-body {
    border: 0px !important;
}

.inline-panel table {
    width: 100%;
}

.inline-panel table tr {
    vertical-align: top;
}

.inline-panel table th {
    background-color: #eeeeee;
    padding: 4pt;
}

.inline-panel .datepicker table th {
    background-color: #ffffff;
    padding: 0;
}


.big-number {
    font-size: 48pt;
    text-rendering: optimizelegibility;
    text-align: right !important;
    padding-right: 20pt;
}

.row-icon {
    font-size: 24pt;
    text-rendering: optimizelegibility;
    text-align: center !important;
    padding-right: 0 !important;
}

.steps-table {
    margin-left: 20pt;
}

.steps-table .btn {
    width: 200px;
}

.step-label {
    margin-bottom: 3pt;
}

.bootbox.fade.in {
    opacity: 0.98 !important;
    background-color: #666666 !important;
}

.bootbox.fade.in .modal-dialog {
    margin-top: 180px;
}

.bootbox.fade.in .bootbox-body {
    font-size: 18pt;
}

.row-big-field {
    font-size: 20pt;
    font-weight: bold;
    padding-top: 6pt !important;
    text-align: right !important;
    padding-right: 10pt;
}

.row-big-field-outer {
    padding-right: 10pt;
}

.row-badge {
    font-size: 10pt;
    /*margin-top: 8pt !important;*/
}

.row-badge.badge {
    padding: 6pt !important;
}

.app-table {
    width: auto !important;
}

.app-table.nowrap td {
    white-space: nowrap;
}

.app-table.nowrap td.fast-info-td {
    white-space: normal;
}

.app-table tbody {
    border-top: 0px !important;
}

.clickable {
    cursor: pointer;
}

.app-form-title {
    margin-top: 12px;
}

.app-form-title label {
    font-weight: bold;
    text-align: left !important;
}

.app-form-title .btn {
    margin-right: 4px;
}

.app-form .form-group {
    margin-bottom: 1px;
}

.app-form-title {
    border-bottom: 1px solid #cccccc;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 8px;
    font-size: 14pt;
}

.app-form-field {
    font-weight: bold;
}

.app-form .worker-selector, .app-form .payment-type-selector{
    width: 200px;
    padding-right: 14px !important;
    padding-left: 14px !important;
}

.app-row-selected {
    background-color: #e4eaec;
}

.app-row-selected-with-fast-info td {
    border-top: 2px solid #cccccc !important;
}

.app-row-selected-with-fast-info td:first-child {
    /*width: 1px;*/
    border-left: 2px solid #cccccc !important;
}

.app-row-selected-with-fast-info td:last-child {
    border-right: 2px solid #cccccc  !important;
}

.table-hover > tbody > tr.app-row-selected:hover > td {
    background-color: transparent !important;
}

.app-fast-info {
    border-top: 1px dashed #cccccc;
    margin-right: 0px;
    margin-left: 0px;
}

.fast-info-spinner-div {
    text-align:center;
    background-color: #e4eaec;
    padding-top: 20px;
    padding-bottom: 20px;
}

.twin-field, .three-field {
    margin-top: 2px;
}

.fast-info-buttons {
    margin-bottom: 4pt;
}

/* Miglioriamo l'output delle progressbar a zero */
.progress-bar[aria-valuenow="0"]
{
    min-width: 8px;
    background-color: #f05050 !important;
}

#lastUsedProjectTools 
{
    position:absolute;
    right: 10px;
    /*padding-top:4px;*/
    
    border: 1px dashed #aaa;
    height: 48px;
    border-radius: 4px;
    padding: 12px;    
    padding-right: 4px;
}

#lastUsedProjectTools > a
{
    margin-right: 8px;
    color: #666;
}

.strikethrough {
    text-decoration: line-through !important;
}

table.traces-table tr[traceType="0"] td {
    color: #23ad44;
}

table.traces-table tr[traceType="1"] td {
    color: #ee3939;
}

table.traces-table tr[traceType="3"] td {
    color: #19a9d5;
}

table.traces-table tr[traceType="4"] td {
    color: #19a9d5;
}

table.traces-table tr[traceType="5"] td {
    color: #19a9d5;
}

table.traces-table tr[traceType="6"] tdm table.traces-table tr[traceType="8"] td, table.traces-table tr[traceType="9"] td {
    color: #19a9d5;
}

table.traces-table tr[traceType="7"] td {
    color: #c9920f;
}

.hourSelector div {
    float:left;
}
    
.hourSelector .sep {
    margin-right:8px;
    margin-left:8px;
    height:32px;
    padding-top:6px;
}

.main-icon {
    font-size: 180%;
    margin-right: 6px;
    vertical-align: middle;
}

.checkbox-td {
   font-size: large; 
   cursor: pointer;
}

.many-documents-commands {
    position: absolute;
    bottom: 20px;
}

.as-enabled {
    opacity: 1 !important;
}

.documentGenerationItem {
    padding: 8px !important;
    width: 400px !important;
    display: block;
    margin: auto;
    margin-bottom: 8px !important;
}

.trainingRequestsFlash {
    float: left;
    font-size: 24px;
    margin-top: 6px;
    margin-right: 6px;
}

.formSection {
    margin-left: 20px;
    margin-right: 30px;
}

.ellipsis-large {
    max-width: 600px;
    width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis-med {
    max-width: 400px;
    width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.large-desc {
    max-width: 600px;
}

.large-desc .multi-line {
    white-space: break-spaces;
    font-size: 85%;
}

.badge {
    border-radius: 4px !important;    
}

.no-display {
    display: none
}

.force-inline-block {
    display: inline-block !important
}

.form-field-comment {
    font-size: 70%;
}

#loginContainer {
    background-image: url(../img/backs/bg-white-lock.png);
    width: 560px !important;
    border-radius: 20px;
}

#loginContainer .logo-image {
    text-align: center;
}

#loginContainer .logo-image img {
    margin-top: 20px;
}

@media (min-width: 1200px) {
    #loginContainer .logo-image img {
        margin-top: 60px;
        margin-left: 20px;
    }
}

#loginContainer, #loginContainer a {
    color: white !important;
}

#loginContainer .list-group-item {
    background-color: transparent !important;
    border-color: transparent !important;
}

.appTitle-cum {
    color:#f29200;
}

.appTitle-grano {
    color:#97141a;
}

.appTitle-salis {
    color:#026bad;
}

.fast-info-td {
    border: 2px solid #cccccc;
    border-top: 0px;
    padding-bottom: 0px !important;
    padding-top:0px !important;
    padding-right: 0px !important;
    padding-left:0px !important;
}

#invoicesToRegister_contents .app-fast-info tbody {
    border: 0px !important;
}

.bg-black-opacity-6 {
    background-color: rgba(32, 43, 54, 0.6);
}

.bg-black-opacity-5 {
    background-color: rgba(32, 43, 54, 0.5);
}

.bg-black-opacity-4 {
    background-color: rgba(32, 43, 54, 0.4);
}

/* Presenze: un unico contenitore scorre in entrambe le direzioni (vedi .convocations-list);
   la prima colonna resta bloccata a sinistra e l'intestazione in alto con position: sticky */
#trainingLessons-scrollArea > table {
    border-collapse: separate;
    border-spacing: 0;
}

#trainingLessons-scrollArea .table-fixed-column {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 400px;
    width: 400px;
    background-color: white;
    text-align: left !important;
}

#trainingLessons-scrollArea > table > tbody > tr:nth-child(odd) > .table-fixed-column {
    background-color: #f9f9f9;
}

#trainingLessons-scrollArea > table > tbody > tr:hover > .table-fixed-column {
    background-color: #f5f5f5;
}

#trainingLessons-scrollArea > table > thead > tr > th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}

/* angolo in alto a sinistra: bloccato su entrambi gli assi */
#trainingLessons-scrollArea > table > thead > tr > th.table-fixed-column {
    z-index: 3;
}

#trainingLessons-scrollArea td {
    height: 80px;
    text-align: center;
}

#trainingLessons-scrollArea thead th {
    height: 60px;
    text-align: center !important;
    border-bottom-width: 0px !important;
}

#trainingLessons-scrollArea .checkbox-div {
    position: absolute;
}

#trainingLessons-scrollArea .label-with-checkbox-div {
    margin-left:30px;
}

.course-completed i {
    font-size: 18pt;
}

.btn-reset-three-states {
    background-color: #eeeeee;
}

.link {
    text-decoration: underline !important;
}

.link-on-over:hover {
    text-decoration: underline !important;
}

.link-children-on-over:hover .link-on-over *, .link-children-on-over:hover .link-on-over {
    text-decoration: underline !important;
}

.no-link-on-hover {
    text-decoration: none !important;
}

.bg-warning .text-muted, .bg-warning.text-muted {
    color: #444444 !important;
}

.label.bg-warning, .label-warning, .badge.bg-warning, .badge-warning {
    color: #444444 !important;
    text-shadow: inherit;
}

.btn-warning, .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning {
    color: #444444 !important;
}

.dwh-table {
    width: auto !important;
}

.dwh-table .time-navigation-btns {
    font-size: 24pt;
}

.dwh-table .time-navigation-btns:hover {
    color: #026bad;
    font-weight: bold;
}

.dwh-table div.time-labels {
    position: relative;
    top: 6px;    
    text-align: center;
}

.dwh-table .row-labels {
    text-align: right;
    text-overflow: ellipsis;
    max-width: 300px;
    width: 300px;
    overflow: hidden;
}

.dwh-has-value {
    font-weight: bold;
}

.dwh-has-not-value {
    color: lightgrey;
}

.dwh-max {
    color: #27c24c;
}

.dwh-min {
    color: red;
}

.dwh-table .cell-value {
    width: 4px;
    white-space: nowrap;
    text-align: right;
    width: 90px;
}

.dwh-selector {
    width: 100% !important;
}

.dhw-datapoint-selector {
    width: 200px;
}

.btn-arrow-up {
    background-color: #1c2b36 !important;
    color: white !important;
    position: fixed;
}

.span-arrow-up {
    position: fixed;
    bottom: 40px;
    /*right: 40px;*/
    left: 13px;
}

.main-brand {
    font-size: 32px;
    /*color: #1C348A;
    text-shadow: 2px 2px #dee5e7;*/
    color: white;
    margin-bottom: 24px;
}

.graph-image {
    margin-bottom: 16px;
    display: block;
}

.large-smile {
    font-size: 56px;
    color: #dddddd;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.notificationRow {
    text-overflow: ellipsis;
    overflow: hidden; 
    width: 260px;
    white-space: nowrap;
}

.notificationRow.customer {
}

.notificationRow.title {
    font-weight: bold;
}

.notificationRow.description {
}

.ticketRow.customer {
    text-overflow: ellipsis;
    overflow: hidden; 
    width: 800px;
    white-space: nowrap;
}

.ticketRow.title {
    font-weight: bold;
}

.ticket:hover {
    background-color: #fafafa;
}

.ticket-header {
    border-width: 1px;
    border-style: solid;
    border-top-color: #dee5e7;
    border-right-color: #dee5e7;
    border-bottom-color: #dee5e7;
    border-left-width: 4px;
    box-shadow: 2px 2px 6px #dddddd;
    padding: 12px;
    display: block;
    width: 100%;
}

.ticket-header div {
    text-align: left;
}

.ticket-no-handle.tl-wrap:before {
    background: none !important;
    border-color: transparent !important;
    content: "";
    box-shadow: none !important;
}

.ticket-new-note {
    border-width: 1px;
    border-style: solid;
    border-color: #dee5e7;
    border-left-width: 4px;
    box-shadow: 2px 2px 6px #dddddd;
    padding: 12px;
    display: block;
    width: 100%;
}

.ticket-new-note div {
    text-align: left;
}

.ticket-body pre {
    background-color: transparent !important;
    margin-bottom: 1px !important;
    padding: 4px !important;
    border: 0px !important;
}

.ticket-body .panel .panel-body {
    padding: 6px !important;
}

.invisible {
    visibility: hidden;
}

.fc-nonbusiness {
    background-color: #e6e6e6 !important;
    opacity: 1 !important;
}

.fc-nonbusiness.fc-sat, .fc-nonbusiness.fc-sun {
    background-color: transparent;
}

.event_info_row {
    width:250px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.fc-event.event-companyTraining {
    background-color: #BB0000;
    border: 1px solid #BB0000;
}

.fc-event.event-notAvailable {
    background-color: #888888;
    border: 1px solid #888888;
}

.fc-event.event-companyMedical {    
}

.fc-overlay {
    z-index: 1000; /* era 2000; ridotto a 1000 per overlay eventi calendario attrezzature */
}

.fc-day-number {
    cursor: pointer;
}

.sliderFormLabel {
    position: relative;
    top: 16px;
}

.dashboard-tiles {
    min-width:260px;
    width:260px;
}

.text-warning-dk {
    color: #e3c32e;
}

.btn-handle-todo {
    width: 180px;
}

.bgtransparent {
    background-color: transparent !important;
}

.select-item-month-first-for-year .select2-result-label, .select-item-month-in-year .select2-result-label {
    padding-left: 40px !important;
}

.select-item-month-first-for-year .select2-result-label {
    padding-left: 0px !important;
    font-weight: bold;
    border-bottom: 1px solid #dddddd;
}

.app-search-field {
    width: 600px !important;
}

tr.row-colored,  tr.row-colored td, tr.row-colored th {
    background-color:#d1edf6 !important;
}

.search_results_container {
    width: 800px;
}

.search-results-title {
    font-size: 20pt;
    padding-top: 6pt !important;
    text-rendering: optimizelegibility;
    text-align: right !important;
    padding-right: 10pt;
}

.with-indicator .indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin: 2px;
    border-style: solid;
    border-width: 2px;
    border-radius: 100%;
}

.invoicesToRegister_contents table.table {
    width: auto !important;
}

.invoicesToRegister_contents table.table td {
    padding: 4px 8px !important;
    vertical-align: middle;
}

hr {
    margin-top:8px;
    margin-bottom:8px;
}

.invoices-big-totals {
    font-weight: bold;
}

/*
.date-picker-input {
    float:left;
    width:99% !important;
}

.inline-date-picker-input {
    float:left;
    width:75% !important;
}
*/

.date-picker-container {
    padding-right: 4px;
}

select  option[disabled] { 
    color: #dedede; 
}

.chart-pie-container {
    width:280px;
    float: left;
    margin-right: 24px;
}

.chart-title {
    color: #666;
    border-bottom: 1px solid #cccccc;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 4px;
}

.dc-chart .pie-slice {
    fill: black;
}

.dc-chart .selected path {
    stroke: #666666;
    stroke-width: 1;
}

.dataDashboard_pieCover {
    height: 350px;
    text-align: left;
    position:  absolute;
    width: 100%;
    height: 350px;
    background-color: #f0f3f4;
    z-index: 1000;
    padding-top: 150px;
    padding-left:40px;
    font-size: 30px;    
}

.gly-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    display: inline-block;
    /*filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.5);*/
}

.chartFilterBox-overflow {
    max-width: 98%;
    overflow: auto;
    white-space: nowrap;
}

.chartFilterBox-overflow .chart-pie-container {
    float: none !important;
    display: inline-block;
}

.text-bold {
    font-weight: bold;
}

.text-warning-or-muted {
    color: #fad733;
}

.bg-warning .text-warning-or-muted {
    color: #666666;
}

.text-dark-or-muted {
    color: #3a3f51;
}

.bg-info .text-dark-or-muted {
    color: white;
}

.invoice-row-edited, .invoice-row-edited td, .invoice-row-edited:hover td {
    background-color: #19a9d5 !important;
    color: white;
}

.invoice-value-fields input {
    width: 200px;
    margin-bottom: 15px;
}

#invoice-row-qty {
    width: 150px;
}

.dataView_title {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.dataView_totals table .groupTotal {
    font-weight: normal !important;
}

.dataView_totals table .number, .drillDownTable .number {
    text-align: right;
}

.red-cell {
    color: red !important;
    background-color: #ffe0e0 !important;
}

.green-cell {
    color: green !important;
    background-color: #e0ffe4 !important;
}

.orange-cell {
    color: #c3821b !important;
    background-color: #f8e38d !important;
}

.grey-cell {
    color: #555 !important;
    background-color: #f6f8f8 !important;
}

.blue-cell {
    color: #23b7e5 !important;
    background-color: #edfbff !important;
}

#reportCharts {
    /*padding-top:22px;*/
}

/* Pannelli dei grafici dei report: bordo piu' scuro e ombra leggera per staccarli dallo sfondo bianco */
#reportCharts .panel {
    border: 1px solid #c3c9cf;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
#reportCharts .panel .panel {
    border-color: #ddd;
}
/* l'intestazione ha angoli meno arrotondati del pannello (6px) e copriva la curva del bordo in alto */
#reportCharts .panel > .panel-heading {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#flotTip {
    color: #666666;
}

.report-compute-btn {
    margin-top: 16px;
}

.panel-default > .panel-heading {
    color: #555 !important;
}

.header {
    font-weight: bold;
}

/* Analisi: tabella dati con altezza massima, scroll e intestazioni bloccate */
.dataView_totals {
    max-height: 400px;
    overflow: auto;
    /* stesso bordo e ombra dei pannelli dei grafici (#reportCharts) */
    border: 1px solid #c3c9cf;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.dataView_totals table {
    /* con border-collapse il bordo delle celle sticky non le segue e lascia uno spiraglio da cui si vede il testo scorrere */
    border-collapse: separate;
    border-spacing: 0;
}

.dataView_totals table th.header {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #f6f8f8;
    box-shadow: inset 0 -1px 0 #ddd;
}

.drilledDownRow {
    background-color: #f6f8f8 !important;
}

.calendar-view-btn > i {    
    font-size: 150%;
    color: #aaa;
}

.calendar-view-btn span {    
    position: absolute;
    margin-left: 6px;
    margin-top: 3px;
    font-weight: bold;
}

.calendar-view-btn span.month {
    margin-left: 2px;
}

.form-control-static {
    /*position:relative;
    top: 8px;*/
    font-weight: bold;
}

.editCalendarEvent_projectSelector .project-selector, .editCalendarEvent_taskSelector {
    width: 60%;
}

.fc-title {
    font-weight: bold;
/*    border-bottom: 1px solid #cccccc;*/
}

.fc-custom-event-task {
    font-style: italic;
}

.event-3 {
    background-color: #22b846 !important;
}

.tbl-under-calendar {
    width:100%;
    margin-top:12px;
}

.tbl-under-calendar td {
    text-align: center;
}

.tbl-under-calendar td input {
    text-align: center;
    max-width: 80px;
}

.tbl-under-calendar th {
    width:42px;
    padding:4px;
}

.hr-small {
    margin-top:0px !important;
    margin-bottom:4px !important;
}

.inline-block {
    display: inline-block;
}

.invoice-row-totals {
    background-color: #ddd !important;
    color: black !important;
    font-weight: bold;
}

.invoice-row-totals-labels {
    text-align:right;
    text-transform:uppercase;
}

.invoice-row-values {
    padding-left:26px !important;
    color: black !important;    
}

#invoiceTotalSummary .invoice-row-values {
    font-weight: bold;
}

.invoice-value-fields input,.invoice-value-fields, .invoiceAddRow input {
    color: black !important;
}

.invoice-grantotal {
    font-size: 24px;
}

.trainingOfferNextOffer-selector, .trainingOfferAccountingArticle-selector {
    width: 400px !important;
}

.training-offer-form .trainingOfferNextOffer-selector .select2-container .select2-choice > .select2-chosen {
    max-width: 50vw;
    width: auto !important;
}

.right {
    text-align: right !important;
}

.btn-as-filter-field {
    position: relative;
    top: -4px;
    box-shadow: initial;
    border: 1px solid #c7d3d6;
}

.main-filter div {
    box-shadow: 0px 0px 2px 1px #19a9d5;
    border-radius: 4px;
}

.main-filter-multiple div {
    border-radius: 4px;
}


.special-filter div {
    box-shadow: 0px 0px 2px 1px #fad733;
    border-radius: 4px;
}

.special-filter-highlight {
    box-shadow: 0px 0px 2px 1px #fad733;
}

.special-filter-highlight-btn {
    box-shadow: 0px 0px 12px 1px #fad733;
    border-color: #f0ad4e !important;
}

.special-filter-on-item {
    text-shadow: 0px 0px 6px #fad733;
    font-weight: bold !important;
}

#invoiceTotalSummary {
    position: fixed;
    right: 0px;
    width: 20%;
}

#trainingSituation, #medicalSituation {
    margin-bottom: 0;
}

#trainingSituation th, #medicalSituation th {
    white-space: nowrap;
}

#trainingSituation .red-cell, #trainingSituation .green-cell, #trainingSituation .gray-cell, #trainingSituation .orange-cell,
#medicalSituation .red-cell, #medicalSituation .green-cell, #medicalSituation .gray-cell, #medicalSituation .orange-cell {
    padding: 4px;
}

/* bugid#12463: preiscrizione aperta su un'altra azienda del lavoratore (sola lettura) */
#trainingSituation .foreign-request {
    border: 2px dashed #888;
    cursor: default;
}

#trainingSituation .foreign-request-company {
    font-size: 80%;
    font-style: italic;
    white-space: nowrap;
}

#trainingSituation td, #trainingSituation th,
#medicalSituation td, #medicalSituation th {
    padding: 2px;
    text-align: center;
    /*border-top: 0;*/
}

#medicalSituation .courses .course-title {
    text-transform: uppercase;
}

.hover-danger:hover {
    color: #f05050;
}

.hover-info:hover {
    color: #19a9d5;
}

#trainingSituation td.requests, #trainingSituation td.actions,
#medicalSituation td.requests, #medicalSituation td.actions {
    border-left: 1px solid #cccccc;
    padding: 0;
    height: 60px;
}

#trainingSituation th.courses,
#medicalSituation th.courses {
    border-left: 1px solid #cccccc;
    /*border-bottom: 1px solid #cccccc;*/
    padding: 2px;    
    overflow: hidden;
    background-color: #eee;
}

.courses .course-title {
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    font-size: 10px;
    font-weight: normal;
}

#trainingSituation td.requests > div, #trainingSituation td.actions > div,
#medicalSituation td.requests > div, #medicalSituation td.actions > div {
    padding: 2px;
}

.trainingRequestInvoiceBtn {
    width: 18px;
    padding: 1px !important;
    padding-left: 3px !important;
}

.trainingRequestInvoiceBtn i {
    font-size: 12px;
}

.note-icon {
    font-size: 10px;
}

.note-icon i {
    position: relative;
    top: 2px;
    right: -3px;
}

.bulkCreator-selector-selector {
    width: 350px;
}

.um-selector-selector {
    width: 50px;
}

#leAnalysisTable th {
    text-align: right;
    padding: 8px 15px;
}

#leAnalysisTable td {
    text-align: right;
}

.training-cost-field-editor {
    width: 150px;
    margin: 0px;
    border: 1px solid #cccccc;
    padding: 4px;
    text-align: center;
    box-shadow: 2px 2px 6px 2px #eee;
}

.training-cost-field-editor button {
    float:right;
    width: 24px;
    margin-bottom:3px;
}

.training-cost-field-editor input[type=text] {
    text-align: right;
    width:110px;
    float:left;
    position: relative;
    top:6px;
}

#trainingEditionForm .customer-selector {
    width:320px;
    float:left;
}

.ext-trainer-outer > div {
    margin-bottom: 0 !important;
}

.message-with-icon {
    font-size:18px;
    height:64px;
    overflow:hidden;
}

.message-with-icon.with-border-bottom {
    border-bottom:1px solid #eeeeee;
}

.message-with-icon.no-border-bottom {
    border-bottom: 0;
}

text.lineLabel {
    font-size: 12px;
}

#trainingSituation .training-empty,
#medicalSituation .medical-empty {
    opacity: 0;
}

#trainingSituation .training-empty:hover,
#medicalSituation .medical-empty:hover{
    opacity: 1;
}

#trainingSituation .training-tools,
#medicalSituation .medical-tools {
    opacity: 0;
}

#trainingSituation .training-tools:hover,
#medicalSituation .medical-tools:hover {
    opacity: 1;
}

#trainingSituation .btn,
#medicalSituation .btn {
    cursor: pointer;
}

.opcenter_title {
    font-size: 10px;
}


.large-selector {
    width: 80%;
}

.profile-infos {
    text-align: left !important;
}

.profile-infos div, .profile-links div {
    margin-right: 40px !important;
    margin-left: 40px !important;
}

.profile-links {
    text-align: right !important;
}

.profile-links a {
    font-size: 250%;
    width: 64px;
}
   
.user-profile form  {
    text-align: left;
}

.notificationType {
    position:absolute;
    right:2px;
    top:58px;
    background-color: white;
    border:1px solid #ddd;
    display:none;
}

.large-alert .modal-dialog {
    width: 80% !important;
}

.over-drop {
    border-color: green;
}

.image-thumb {
    float: left;
}

.image-thumb canvas {
    background-color: #f3f3f3;
    -webkit-box-shadow: 3px 3px 3px 0 #e3e3e3;
    -moz-box-shadow: 3px 3px 3px 0 #e3e3e3;
    box-shadow: 3px 3px 3px 0 #e3e3e3;
    border: 1px solid #c3c3c3;
    height: 100px;
    margin: 6px 0 0 6px;
}

.image-thumb-btns {
    height: 100px;
    width: 12px;
    float:left;
}

.image-thumb-btns a {
    position: relative;
    top: 5px;
    left: 1px;
}

.checklist_notes {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #eee;
}

.checklist_note {
    border-top: 1px dotted #ccc;
}

.checklist_note.first {
    border-top: 0px !important;
}

.checklist_note img {
    margin-top: 4px;
    margin-bottom: 4px;
}

.right-btn-bar {
    float: right;
    position: absolute;
    right: 20px;
}

.right-btn-bar .btn {
    position: relative;
    top: -4px;
}

.text-gray {
    color: #58666e;
}

.text-lightgray {
    color: #ccc;
}

.mailing-marker {
    position: relative;
    top: 16px;
    left: 14px;
    background-color: white;
    padding: 1px;
    border: 1px solid #999;
}

.service_action_cell {
    display: none;
    width: 90px !important;
}

.service_action_cell .opcenter_label {
}

.service_action_cell_plus .opcenter_label {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
}

.year-selector-selector {
    width: auto !important;
}

h3.modal-title {
    text-overflow: ellipsis;
    width: 900px;
    overflow: hidden;
    white-space: nowrap;
}

.group-selector, .capability-selector {
    width: 100% !important;
}

.with-sidebar #sidebar, .with-sidebar #mainContent {
    overflow-y:auto;
    overflow-x:hidden;
    height: 800px;
    margin: 0;
}

.with-sidebar #sidebarHandle {
    position: absolute;
}

.with-sidebar #sidebarHandle > span {
    position: relative;
    left: 0px;
    top: 8px;
}

.with-sidebar #mainContent.enlarged {
    padding-right:14px;
    margin-left: 32px;
}

.with-sidebar #sidebar .list-group-item {
    border-left-color: transparent;
}

.with-sidebar #sidebar .list-group-item.b-l-info {
    border-left-color: #23b7e5;
}

.balance-info {
    width: 100%;
}

.balance-info th {
    text-align: right;
    width: 150px;
}

.balance-info td {
    width: auto;
    padding-left: 16px;
}

.rule-selector-selector, .steelType-selector-selector {
    width: 100%;
}

.warning-highlight {
    box-shadow: 0px 0px 2px 1px #fad733;
}

.info-highlight {
    box-shadow: 0px 0px 2px 1px #19a9d5;
}

.success-highlight {
    box-shadow: 0px 0px 2px 1px #27c24c;
}

.danger-highlight {
    box-shadow: 0px 0px 2px 1px #f05050;
}

.table-section tr:first-child td {
    border-top: 1px solid #aaa !important;
}

.table-section tr:last-child td {
    border-bottom: 1px solid #aaa !important;    
}

.table-with-sections thead tr:last-child th {
    border-bottom: 1px solid #aaa !important;
}

.team-scroll-area {
    max-height: calc(100vh - 330px);
    min-height: 200px;
    overflow-y: auto;
}

.table-plain-head > thead > tr > th,
.table-plain-head > thead > tr > td {
    background: transparent !important;
}

.dd-tools {
    position: relative;
    top: 16px;
    right: 10px;
}

.alert-xs {
    padding: 4px !important;
}

.application-dd .dd-list li.dd-item {
    min-height: 0;
}

.application-dd .secondary.dd-handle:hover {
    /*background-color: #fff !important;*/
}

.application-dd .master.dd-handle:hover {
    /*background-color: #edf1f2 !important;*/
}

.side-info-panel {
    padding-top:8px;
}

.side-info-panel h3 {
    border-bottom-color: #ccc;
}

.side-info-panel table {
    border-bottom-color: transparent;
}

.alignright {
    text-align: right;
}

#productCheck-dd .secondary .alert {
    padding: 4px;
}

#productCheck-dd .secondary pre {
    border: 0px !important;
    padding: 0px !important;
}

.lang-L1 {
    background-color: #23b7e5;
    color: white;
}

.lang-L2 {
    background-color: #fad733;
    color: black;
}

.legalEntitiesSideMenu .panel {
    margin-bottom: 12px;
}

ul.leftnav {
    position: fixed !important;
    height: -webkit-fill-available;
    overflow: auto;
    /*width: 100%;*/
}

ul.leftnav-margin {
}

.navi ul.nav li a {
    width:200px;
}

.navi ul.nav.leftnav-margin li a {
    width:inherit;
}

.navi ul.nav.leftnav-margin li a {
    padding-right: 18px;
    padding-left: 18px;
}

.documentTemplate-edit .documentTemplates-selector {
    width: 600px;
}

.generateDocumentDialog .documentTemplates-selector .select2-container {
    width: 600px;
}

.sale-mailing .documentTemplates-selector, .template-edit .documentTemplates-selector  {
    width: 800px;
}

.potential-drop-zone {
    border: 2px solid transparent;
    padding: 4px;
}

.actual-drop-zone {
    border: 2px dotted #bce8f1 !important;    
}

.master.dd-handle:first-child {
    margin-top:0;
}

.master.dd-handle, .secondary.dd-handle {
    border-radius:0 !important;
}

#steelEditStoreOrderDlg .payment-type-selector, #steelEditStoreOrderDlg .customer-selector {
    margin-left: 15px;
    width: 90%;
}

.mtype-selector-selector {
    width:812px;
}

.label-adjust-vertical {
    position:relative;
    top:6px;
}

#organizeDrawing .st-selector-selector {
    width: 470px;
}

#organizeDrawing .wp-selector-selector, #organizeDrawing .sp-selector-selector {
    width: 245px;
}

#steelProjectForm .select2-container {
    width: 400px;
}

.cb-for-label {
    margin: 0 !important;
    position:relative;
    top: 3px;
}

.wd-half {
    width: 50%;
}

.with-dd-handle-icon {
    padding-left: 40px;
}

.dd-handle-icon {
    position: absolute;
}

.dd-handle-icon a {
    position: relative;
    left: -28px;
}

.team-cost-field-editor {
    width: 270px;
    margin: 0px;
    border: 1px solid #cccccc;
    padding: 4px;
    text-align: center;
    box-shadow: 2px 2px 6px 2px #eee;
}

.team-cost-field-editor button {
    float:right;
    width: 24px;
    margin-bottom:3px;
}

.team-cost-field-editor input[type=text] {
    text-align: right;
    width:110px;
    float:left;
    position: relative;
    top:6px;
}

.projectTeamCosts {
    min-width: 80px;
    display: inline-block;
}

.dd-item.current .dd-handle {
    color: #58666e;
    background-color: #edf1f2;
}

.dd-item.current .dd-handle-buttons {
    border-top:2px dotted #ccc;
    margin: 8px 15px 0 15px;
    padding-top:8px;
}

.document-buttons {
    border-top:2px dotted #ccc;
    margin-top: 8px;
    padding-top:8px;
}

tbody.current td {
    color: #58666e;
    background-color: #edf1f2 !important;
}

.event-plan {
}

.event-effective {
    background-color: #27c24c !important;
}

.input-group-addon {
    /*border-radius: 0 !important;*/
}

.projectTemplates-selector {
    width: 90%;
}

.modal {
    overflow-y: auto !important;
}

rzslider .rz-bubble.rz-limit {
    font-size:70%;
}

.dropdown-divider hr {
    margin-top: 4px;
    margin-bottom: 4px;
}

.padding0 {
    padding: 0;
}

.padding-left-0 {
    padding-left: 0;
}

.deliveryBill-receiver .app-selector {
    width: 100% !important;
}

.gray-placeholder::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #ccc;
    opacity: 1; /* Firefox */
}

.gray-placeholder:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ccc;
}

.gray-placeholder::-ms-input-placeholder { /* Microsoft Edge */
    color: #ccc;
}

#workRecordQueryField .input-group {
    width:100%;
    margin-top:8px;
}

.table-very-condensed td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.modal-full {
    width: 95%;
}

.modal-xlg {
    width: 80%;
}

.note-field-editor, .training-note-field-editor, .employee-note-field-editor {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 2px 2px 10px 0px #666
}

.training-note-field-editor div.company_notes {
    width: 300px;
    white-space: normal;
    max-height: 100px;
    overflow: scroll;
}

.note-field-editor.medical {
    right: 112px;
}

.note-field-editor textarea, .training-note-field-editor  textarea, .employee-note-field-editor textarea{
    width:300px;
    height:100px;
}

.b-b-gray {
    border-bottom-color: #bbb;
}

#toInvoiceFilter {
    width: 300px;
    border: 1px solid #ccc;
    padding: 6px;
    position: fixed;
    bottom: 10px;
    background-color: white;
    box-shadow: 2px 2px 6px 2px #888;
    z-index: 50000;
}

#toInvoiceFilter input {
    display: inline-block;
}

tfoot th {
    padding: 15px !important;
}

.default-invoice-note-selector {
    width:100%;
    margin-bottom:4px;
}

.dd-header {    
    border-bottom:1px solid #ccc;
    font-weight:bold;
    text-transform:uppercase;
}

.dd-header.nbb  {
    border-bottom: 0;
}

.dd-header .dd-header-label.with-checkbox {
    position: relative;
    top: -6px;
}

.dd-form {
    border: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 14px;
    background-color: #edf1f2;
}

.addingToKit li {
    display: none;
}

.addingToKit li.current {
    display: list-item;
}

.addingToKit li.current li {
    display: list-item;
}

.list-code {
    text-decoration: underline;
    color: #7266ba;
}

.completion {
    background-color: #eee;
    height: 25px;
    width: 200px;
    border: 1px solid #ccc;
    padding-top: 2px;
    border-radius: 4px;
    display: inline-block;
    padding: 1px;
}

.completion .label {
    display: inline-block;
}

.completion-btns {
    display: none;
    margin-left: 40px;
}

tr:hover .completion-btns {
    display: inline-block;
}

.completion-btns .btn-mini {
    margin-right: 2px;
}

.btn-mini {
    padding: 2px;
    font-size: 13px;
}

.btn-as-link {
    padding: 0;
    border: none;
    background-color: transparent;
    text-decoration: underline !important;
}

.bank-selector .select2-container {
    width: 400px !important;
}

.editEmployee .qualification-selector {
    padding-left: 5px;
    padding-bottom: 5px;
    width: 400px;
}

.editEmployee .job-selector {
    padding-left: 5px;
    width: 400px;
}

.editEmployee .cp2021-selector {
    padding-left: 5px;
    width: 80%;
}

.editEmployee .hiringType-selector, .editEmployee .mgmt-selector {
    padding-left: 5px;
    padding-bottom: 5px;
}

.online_table {    
    width: 1200px;
}

.online_table tr {
    vertical-align:top;
}

.online_table td.middle {
    padding-right:10px;
    padding-left:10px;
}

.online_btns .btn-online {
    width:100%;
    margin-bottom: 8px;
}

.online_btns {
    position: fixed;
}

.online_btns > div {
    position: relative;
    left: 500px;
    padding-left: 10px;
    padding-right: 10px;
    width:200px;
}

.online_btns .customer-selector {
    width:180px !important;
}

.online_btns .form-group {
    margin-bottom: 5px !important;
}

.online_table .head {
    font-weight: bold;
    border-bottom: 1px solid gray;
    margin-left:-10px;
}

.online_table .modified {
    color:#23b7e5;
    font-weight: bold;
}

.report_explanation {
    font-size: 80%;
    font-style: italic;
    font-weight: 300;
}

.grey-cell.not-present {
    color: #ffffff !important;
    background-color: #f7a1a1 !important;
}

.grey-cell.partially-present {
    color: #666 !important;
    background-color: #fad733 !important;
}

.grey-cell.no-participant {
    color: #fff !important;
    background-color: #7266ba !important;
}

.lessons_trainingType {
    font-weight: 300;
    font-style: italic;
}

.panel.with-shadow {
    box-shadow: 3px 3px 10px 4px #ccc;
}

.campaign_fastinfo .campaign-leads {
    width: 200px;
    display: inline-block;
    padding-left: 20px;
}

.campaign_fastinfo .campaign-summary {
    width: 800px;
    display: inline-block;
}

.app-option-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

.app-option-list .app-option.selected {
    border: 2px solid #ccc;
    background-color: #eee;
}

.app-option-list .app-option {
    width: 49%;
    margin-right: 1%;
    display: inline-block;
}

.app-option-list .app-option {
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.app-option-list .app-option:hover {
    background-color: #edf2f7;
    border-color: #6b94b3;
    box-shadow: 0 2px 6px rgba(107, 148, 179, .35);
    cursor: pointer;
}

.campaings.addLeads  {
    height: 400px;
    overflow: auto;
}

.user-profile {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.training-move-div {
    position: absolute;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    z-index: 100000;
    margin-left: -15px;
    margin-top: 10px;
}

.training-move-div > div {
    background-color: white;
    padding: 20px;
    border: 2px solid black;
    height: 250px;
    box-shadow: 0px 0px 5px 5px #ccc;
}

.training-move-div .app-selector {
    width: 500px;
}

.online-pay-stripe_cc, .online-pay-paypal, .online-pay-stripe, .online-pay-ppcp-gateway {
    background-color: #7266ba !important;
    border-color: #7266ba !important;
    color: white !important;
}

.online-pay-stripe_cc:hover, .online-pay-paypal:hover, .online-pay-stripe:hover, .online-pay-ppcp-gateway:hover {
    color: white !important;
}

@media (max-width: 767px) {
    #trainingSituation td.surnameName, #medicalSituation td.surnameName {
        left: 21px !important;
    }
}

.training-exclusion {
    min-height:45px;
    max-width: 102px;
    max-height:45px;
    width:101px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-mode-selector-selector {
    width: 400px;
}

.alert-in-form-title {
    padding: 4px !important;
    margin-bottom: 0;
    margin-left: 10px;
}


.avatar-choice {
    width: 64px;
    height: auto;
    cursor: pointer;
}

.avatar-choice.selected {
    box-shadow: 0px 0px 2px 1px #19a9d5;
}

.opcenter_row.selected {
    background-color: #dedede;
    border-color:#aaa;
    border-radius: 4px;
}

.company_role {
    padding: 0 !important;
    padding-right: 2px !important;
    padding-left: 2px !important;
    white-space: nowrap;
}

.company_role.apprendistato {
    background-color: #f0e13c;
    border-color: #545441;
}

.company_role.rspp, .company_role.addetto.antincendio {
    color: red;
    border-color:red;
    background-color: #FFE1E1;
}

#organization-chart-table .bordered.rspp, #organization-chart-table .bordered.antincendio {
    border-color:red;
}

.company_role.addetto.pronto.soccorso {
    color: darkorange;
    border-color:darkorange;
    background-color: #FFE7B5;
}

#organization-chart-table .bordered.soccorso, #organization-chart-table .bordered.medico {
    border-color:darkorange;
}

.company_role.preposto, .company_role.rls {
    border-color:#7266ba;
    color:#7266ba;
    background-color: #D5CDFF;
}

#organization-chart-table .bordered.rls, #organization-chart-table .bordered.preposto {
    border-color:#7266ba;
}


.w-location-selector-selector, .w-ateco-selector-selector {
    margin-left: 5px;
    display: inline-flex;
    min-width: 300px;
    width: auto;
    max-width: 80%;
}

.modal-title > span {
    font-size: small;
    font-style: italic;
    display: block;
    position: relative;
    top:-4px;
}

.switch-label {
    display: inline-block;
    position: relative;
    top: -6px;
    margin-left: 8px
}

.alert-inline {
    display: inline-block;
}

li.not_enabled {
    text-decoration: line-through;
    color: red;
}

form.form-horizontal.form-compressed .form-group {
    margin-bottom: 5px;
}

.balance-year-selector .year-selector-selector {
    width: 200px !important;
}

.balance-expand-voice {
    width:128px;
    float:left;
    margin-right:10px;
    text-align:right
}

.edit-calendar .form-control-static {
    position:relative;
    top:7px;
}

a.fc-event.highlighted {
    box-shadow: 0px 0px 20px yellow;
    /*color:yellow;*/
}

.calendar-add-filters {
    display: inline-block;
    margin-right: 4px;
    margin-left: 4px;
    background: #ddd;
    padding: 6px;
    border-radius: 6px;
}

.fc-overlay.right {
    text-align: left !important;
}

.fc-event.event-tool {
    color: #333;
}

.fc-event.event-tool1 {
    background-color: #73d4d6;
    border-color:#73d4d6;
}

.fc-event.event-tool2 {
    background-color: #df9a92;
    border-color:#df9a92;
}

.fc-event.event-tool3 {
    background-color: #9cf3ff;
    border-color:#9cf3ff;
}

.fc-event.event-tool4 {
    background-color: #f8afc1;
    border-color:#f8afc1;
}

.fc-event.event-tool5 {
    background-color: #8be1d0;
    border-color:#8be1d0;
}

.fc-event.event-tool6 {
    background-color: #d8c0f6;
    border-color:#d8c0f6;
}

.fc-event.event-tool7 {
    background-color: #becd95;
    border-color:#becd95;
}

.fc-event.event-tool8 {
    background-color: #6fb9e1;
    border-color:#6fb9e1;
}

.fc-event.event-tool9 {
    background-color: #fff1cc;
    border-color:#fff1cc;
}

.fc-event.event-tool10 {
    background-color: #b4a5cc;
    border-color:#b4a5cc;
}

.fc-event.event-tool11 {
    background-color: #a4e1bb;
    border-color:#a4e1bb;
}

.fc-event.event-tool12 {
    background-color: #c4a3a9;
    border-color:#c4a3a9;
}

.fc-event.event-tool13 {
    background-color: #7fbd9a;
    border-color:#7fbd9a;
}

.fc-event.event-tool14 {
    background-color: #ffd1d0;
    border-color:#ffd1d0;
}

.fc-event.event-tool15 {
    background-color: #b8f0ff;
    border-color:#b8f0ff;
}

.fc-event.event-tool16 {
    background-color: #a8aea0;
    border-color:#a8aea0;
}

.fc-event.event-tool17 {
    background-color: #b6e4ff;
    border-color:#b6e4ff;
}

.fc-event.event-tool18 {
    background-color: #e9fff9;
    border-color:#e9fff9;
}
.fc-event.event-tool19 {
    background-color: #9cadc8;
    border-color:#9cadc8;
}
.fc-event.event-tool20 {
    background-color: #edecff;
    border-color:#edecff;
}

.fc-event {
    background-color: #73d4d6;
    border-color:#73d4d6;
}

.item {
    border-radius: 4px;
}

.multiple-selector-addon {
    width:2px !important;
    padding:2px;
}

.multiple-selector-addon2 {
    padding:2px;
    width:17px !important;
    cursor: pointer;        
    font-weight: bold;
    font-size: 130%;
}

.input-badge {
    font-weight: 500;
    outline: 0!important;
    padding: 1px 5px;
    font-size: 14px;
    line-height: 1.5;
    color: #58666e !important;
    display: inline-block;
    margin-bottom: 4px;
    cursor: copy;
    margin-right: 10px;
}

.input-badge-bordered {
    border:1px solid #ddd;
    border-radius: 6px;
}

.input-badge > span {
    /*border: 1px solid #ddd;*/
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px;
    /*padding-left: 8px;*/
    padding-left: 0;
}

.input-badges .form-field-value {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    /*position:relative;
    top:-6px;*/
    padding: 0;
    margin-right: 14px;
}

.input-badges .form-field-value:hover {
    background-color: #f1f1f1;
}

.input-badges {
    margin-left: 40px !important;    
}

.input-badges.in-edit {
    margin-left: 0 !important;
}

.input-badges .btn .lbl {
    text-align: left;
}

.input-badges:last-child {
    margin-bottom:20px;
}

.contacts-form  .input-badges:last-child {
    margin-bottom:4px;
}

.table-no-top-border > tbody > tr:first-child > td {
    border-top: none;
}

.input-badges-badge {
    margin-left: 40px !important;
    margin-bottom: 2px;
}

.input-badge .form-field-value > span:hover {
    background-color: #eee;
}

.memetic1 {
    color: #F19200;
}

.memetic2 {
    color: #971419;
}

.memetic3 {
    color: #0062AD;
}

.panel.min-bottom-margin {
    margin-bottom: 8px !important;
}

#loginBtn {
    background-color: #44546b;
    border-color: #3c485b;
}

.online_btns .customer-selector {
    min-width: unset !important;
}

.app-selector.with-value  .select2-chosen {
    font-weight: bold;
}

/* Selettore con segnaposto che vale come valore ("[Usa ...]"): stesso aspetto della select nativa affiancata */
.selector-placeholder-as-value .select2-container {
    width: 100% !important;
}
.selector-placeholder-as-value .select2-container .select2-choice,
.selector-placeholder-as-value .select2-container .select2-choice .select2-chosen,
.selector-placeholder-as-value .select2-default,
.selector-placeholder-as-value .select2-default .select2-chosen {
    font-weight: bold;
    color: #555 !important;
}
.selector-placeholder-as-value .select2-container .select2-choice {
    height: 34px;
    line-height: 32px;
    border-color: #cfdadd;
}

input.form-control, select.form-control {
    font-weight: bold;
}

input.form-control::placeholder, select.form-control::placeholder {
    font-weight: normal;
}

.select2-search-choice {
    box-shadow: none !important;
}

.select2-search-choice > div {
    font-weight: bold;
    box-shadow: none !important;
}

.convocation-cnts {
    width: auto;
}

.alert.pec-note, .alert.vat-note {
    margin-bottom: 0;
    display: inline-block;
    margin-left: 10px;
    padding: 0 !important;
}

.tool-planner-view {
    padding: 16px;
}

.tool-planner-table {
    width: 100%;    
}

.tool-planner-table td {
    padding:2px;
    border: 0;
    width: 6.25%;
}

.tool-planner-table tr th {
    text-align: center;
    text-transform: capitalize;
}

.tool-planner-table tr td {
    height: 100%;
}

.tool-planner-table tr td .name {
    font-weight: bold;
    text-align: center;
    height: 100%;
    vertical-align: middle;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    height: 64px;
}

.tool-planner-item {
    width:100%;
    height: 64px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.tool-planner-item:hover {
    border-color: #666;
}

.tool-planner-table tbody tr td[rel='0'] > div, .tool-planner-table tbody tr td[rel='2'] > div,
.tool-planner-table tbody tr td[rel='4'] > div, .tool-planner-table tbody tr td[rel='6'] > div,
.tool-planner-table tbody tr td[rel='8'] > div {
    background-color: #eee;
}

.tool-planner-table tbody tr td[rel='1'] > div, .tool-planner-table tbody tr td[rel='3'] > div,
.tool-planner-table tbody tr td[rel='5'] > div, .tool-planner-table tbody tr td[rel='7'] > div,
.tool-planner-table tbody tr td[rel='9'] > div{
    background-color: #ddd;
}

.tool-planner-table tbody tr td[rel='10'] > div, .tool-planner-table tbody tr td[rel='11'] > div,
.tool-planner-table tbody tr td[rel='12'] > div, .tool-planner-table tbody tr td[rel='13'] > div {
    background-color: #bbb;
}

.tool-info-container {
    display: flex;
    padding: 2px;
    cursor: pointer;
}

.tool-info-container > div {
    min-width: 0;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    width:10px;
    max-height: 55px;
    height: 55px;
    font-size: 12px;
}

.tool-info-container .tc {
    display: inline-block;
    border-radius: 4px;
    padding: 0;
    padding-left: 2px;
    padding-right: 2px;
    margin: 1px;
    border: 1px solid #666;
}

.tool-info-container i {
    position: relative;
    top: 2px;
    font-size: 10px;
}

.tc_0 {
    background-color: #E8C872;
}

.tc_1 {
    background-color: #FFF3CF;
}

.tc_2 {
    background-color: #C9D7DD;    
}

.tc_3 {
    background-color: #637A9F;    
}

.tc_4 {
    background-color: #B7E5B4;    
}

.tc_5 {
    background-color: #FFA447;    
}

.tc_6 {
    background-color: #fce4d6;
}

.tc_7 {
    background-color: #e2efda;
}

.style_selected {
    box-shadow: 0px 0px 4px 6px #fad733;
}

.tool-info-container .tc_3 {
    background-color: #e2efda;
}

.auto-size-input {
    padding: 4px;
    overflow: hidden;
}

.auto-size-input > span.placeholder {
    position:absolute;
    z-index: 0;
    padding-left:4px;
    padding-top:2px;
}

.auto-size-input > input {
    border: 0;
    z-index: 100;
    position: relative;
    background-color: transparent;
}

.auto-size-input > span.badge {
    /*font-size: 110%;*/
    position: relative;
    top: 1px;
}

.auto-size-input > span.badge.bg-warning {
    color: black;
}

.auto-size-input-hints {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    width: 600px;
    padding: 8px;
    display: none;
    z-index:1000;
}

.mail_search_results td:first-child {
    vertical-align: middle !important;
}

.mail_search_results td.envelope {
    white-space: nowrap;
}

.mail_search_results span.badge {
    min-width: 30px;
}

.mail_search_results .copiable:hover {
    text-decoration: underline;
}

.mail_search_results .value {
    font-weight: bold;
    white-space: nowrap;
}

.mail_search_results .subject {
    font-weight: bold;
    font-size: 16px;
    padding-left: 0 !important;
}

.mail_search_results td {
    cursor: pointer;
}

.expanded-mail {
}

.expanded-mail > div {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: white;
}

.tool-planner-view .text-warning-dker {
    color: orange;
}

.app-margin {
    margin-bottom: 50px;
}

input[type="date"]:in-range::-webkit-datetime-edit-year-field, 
input[type="date"]:in-range::-webkit-datetime-edit-month-field, 
input[type="date"]:in-range::-webkit-datetime-edit-day-field, 
input[type="date"]:in-range::-webkit-datetime-edit-text { 	
    color: #bbb; 
}

.exclamation-mark {
    position:absolute;
    z-index:100;
    width:100%;
}

/* Badge di allarme: segue il danger del tema (--badge-alarm, impostata da theme-*.css), rosso se il tema non la definisce */
.exclamation-mark > div {
    background-color: var(--badge-alarm, red);
    width: 14px;
    font-size: 10px;
    text-align: center;
    border-radius: 10px;
    color: white !important;
}

.opcenter_cell .exclamation-mark > div {
    position: relative;
    left: 132px;
    top: -10px;
}

.col-md-3 .exclamation-mark > div {
    position: relative;
    float: right;
    margin-right: 4.3%;
    top: -4px
}

.tool-btn {
    margin-top: 3px;
}

#hiringDocuments th, #hiringDocuments td {
    text-align: center;
}

/* Convocazioni: la parte alta resta ferma, scorre solo l'elenco */
.modal-body.convocations-dialog {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 230px);
    /* a scorrere e' solo .convocations-list: lasciamo che tendine e datepicker
       della parte alta sbordino dal dialogo invece di essere tagliati */
    overflow: visible;
}

.modal-body.convocations-dialog > * {
    flex: none;
}

.modal-body.convocations-dialog > .convocations-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.convocations-list > table {
    border-collapse: separate;
    border-spacing: 0;
}

.convocations-list > table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff;
    box-shadow: inset 0 -1px 0 #ddd;
}

/* contatore filtri attivi sui pulsanti a tendina */
.badge.filter-count-badge {
    background-color: #b0b8bd;
    text-shadow: none;
}

.badge.tag-badge {
    position: relative;
    padding: 3px 7px 3px 14px;
    margin-right: 3px;
    background-color: #ffd54f;
    color: #444;
    text-shadow: none;
    border-radius: 0 3px 3px 0;
    clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}

/* foro del cartellino, vicino alla punta */
.badge.tag-badge::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background-color: #fff;
}

.Formazione_Generale {
    background-color: #B51B75 !important;
    color: #fff !important;
}

.Anno_1 {
    background-color: #02c39a !important;
    color: #fff !important;
}

.Anno_2 {
    background-color: #00a896 !important;
    color: #fff !important;
}

.Anno_3 {
    background-color: #028090 !important;
    color: #fff !important;
}

.doc_preview {
    height: 150px;
    width: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.doc_preview.preview-retrying {
    visibility: hidden;
    min-width: 110px;
}

.doc_preview.preview-failed {
    min-width: 110px;
    min-height: 150px;
    color: #888;
    font-size: 12px;
}

.doc_generated_title {
    font-weight: bold;
}

.doc_generated {
    max-height:200px;
    min-height: 20px;
    border-radius: 4px;
    overflow-y:auto;
    padding:10px;
    background-color: #eee;
    margin-bottom: 10px;
}

.doc_generated a {
    cursor: pointer;
    text-decoration: underline;
}


#ovCompletionForm tr td {
    border-top: none;
}

.completion.oc_completion {
    width: 140px;
    text-align: left;
    font-size: 10px;
    height: 19px;
    position: relative;
    top: -2px;
    left: -3px;
}

.ai .data.presentation table td, .ai .data.presentation table th {
    padding: 4px;
}

.ai .data.presentation table {
    margin-bottom: 20px;
}

.ai .data.presentation table th, .ai .data.presentation table td {
    font-size: 85%;
}

.ai .data.presentation table td {
    white-space: nowrap;
}

.ai .data.presentation table tr:nth-child(even) td {
    background-color: white;
}

.ai .data.presentation table th {
    background-color: #E8C872;
    font-weight: bold;
    text-transform: uppercase;
}

.ai .interactions {
    padding: 0;
}

.ai .data.presentation {
    margin-bottom: 14px;
}

.ai .label {
    display: none;
}

.ai .saved {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.ai .saved .link {
    font-weight: bold;
}

.ai .ai-active-chip {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 12px;
    background-color: #d9edf7;
    color: #31708f;
}

.ai .interaction.active-identified {
    border-left: 4px solid #31708f;
    padding-left: 8px;
}

.ai .ai-active-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    background-color: #d9edf7;
    color: #31708f;
    font-size: 12px;
}

.ai .ai-reuse-identified {
    cursor: pointer;
    font-weight: bold;
}

.ai .interaction.active-identified .ai-reuse-identified {
    display: none;
}

.ai div.response {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    /*font-size: 13px;*/
    line-height: 1.42857143;
    color: #333;
    word-wrap: break-word;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #edf1f2;
    border-color: #dee5e7;
    white-space: break-spaces;
    width: fit-content;
}

/* Risposte dell'AI: testo libero senza riquadro (come nelle chat dei motori AI); info/avvisi restano riquadrati */
.ai .ai-msg-ai div.response {
    background: transparent;
    border: 0;
    padding: 0;
    width: auto;
}

.ai .ai-msg-ai div.response-info,
.ai .ai-msg-ai div.response-warning {
    padding: 9.5px;
    border: 1px solid;
}

.ai .ai-msg-ai div.response-info {
    border-color: #bce8f1;
}

.ai .ai-msg-ai div.response-warning {
    border-color: #faebcc;
}

.ai div.response-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/* riquadro "Questa ricerca ha identificato": a chip (arrotondato, largo quanto il contenuto) */
.ai .ai-msg-ai div.response-info {
    width: fit-content;
    max-width: 100%;
    padding: 6px 14px;
    border-radius: 18px;
}

.ai div.response-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.ai .output {
    overflow-x: auto;
}

.ai div.response ul {
    margin: 4px 0 0;
    padding-left: 28px;
}

.ai div.response li b {
    text-decoration: underline;
}

.ai .data.raw .response {
    font-family: monospace;
    color: red;
    border: 1px dashed red;
}

.plotly-notifier {
    position: fixed;
    top: 200px;
    right: 20px;
    z-index: 10000;
}

.pivot select {
    display: inline-block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-color: #cfdadd;
    border-radius: 2px;
    box-shadow: none;
    font-weight: bold;
}

.pvtAxisContainer, .pvtVals{
    border: 1px solid #bbb;
}

/* Pulsanti di accesso alle funzioni AI: variante chiara del colore "info" (si usa insieme a btn-info) */
.btn-ai {
    background-color: #E3F6FC;
    color: #0f7fa3 !important;
    box-shadow: 0px 0px 6px 0px rgba(35, 183, 229, .45);
    border-color: #23b7e5 !important;
}

.btn-ai:hover, .btn-ai:focus, .btn-ai:active, .btn-ai.active, .open > .dropdown-toggle.btn-ai {
    background-color: #23b7e5;
    color: #ffffff !important;
}

.btn-ai:hover .text-muted, .btn-ai:focus .text-muted {
    color: #ffffff !important;
}

.btn-purple-on-hover:hover, .btn-purple-on-hover:focus {
    color: #ffffff !important;
    background-color: #7266ba;
    border-color: #7266ba;
}

.btn-ai .text-muted {
    color: #0f7fa3 !important;
}

#organization-chart-table {
    max-width: 1000px;
    padding: 40px;
}

#organization-chart-table .bordered {
    border: 1px solid #ccc;
}

#organization-chart-table > .row {
    display:flex;
    justify-content:center;
    margin-bottom: 20px;
    margin-top: 10px;
}

#organization-chart-table h5 {
    font-weight: bold;
    border-bottom: 1px dotted #ccc;    
    padding-bottom: 8px;
}

#organization-chart-table .employeeList {
    margin-bottom: 3px;
}

#organization-chart-table .info-marker {
    float:right;
}

#organization-chart-table .info-marker > i {
    margin-right: 4px;
    cursor: pointer;
    color: #ccc;
}

#organization-chart-table .info-marker > i:hover {
    color: #23b7e5;
} 

#organization-chart-table .info-marker > i.text-info {
    color: #23b7e5 !important;
}

#organization-chart-table .info-explain {
    display: block;
    padding: 10px;
    border: 1px solid #23b7e5;
    border-radius: 6px;
    position: absolute;
    width: 95%;
    background-color: #d1edf6;
    opacity: 1;
    z-index: 2000;
    text-align: left;
    left: 100%;
}

#organization-chart-table .info-explain.left {
    left: -95%;
}

.btn.btn-on-hover:not(:hover) {
    color: #58666e !important;
    background-color: #fff !important;
    border-color: #dee5e7 !important;
}

.btn.btn-on-hover:not(:hover).btn-addon i {
    background-color: #efefef !important;
}

/* btn-on-hover su pannelli grigi: bordo visibile come i form-control */
.btn.btn-on-hover.btn-on-hover-border:not(:hover) {
    border-color: #cfdadd !important;
}

.btn.btn-on-hover.btn-on-hover-border:not(:hover).btn-addon i {
    border: 1px solid #cfdadd;
}

.btn.btn-on-hover.btn-on-hover-border:not(:hover).btn-addon i.pull-right {
    border: 1px solid #cfdadd;
}

@media (max-width: 767px) {
    
    .formSection {
        margin-left: 6px;
        margin-right: 6px;
    }
    
    .input-badges {
       margin-left: 0 !important;
    }
    
}

.json-live-doc {
    margin-top: 0 !important;
    /*height: 60vh;
    overflow: scroll;*/
    padding-right: 10px;
    padding-left: 10px;
}

.with-json > div:not(.clearfix) {
    margin-top: 0;
    border-top: 1px solid #ccc;
    padding-top: 12px;
}

.json-live-doc h5 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    background-color: #ccc;
    padding: 8px;
    border-radius: 4px;
}

.json-live-doc .json-item {
    margin-bottom: 12px;
}

.json-live-doc .j-select select {
    width: fit-content;
}

.json-live-doc .j-combo .control-label {
    position: relative;
    top: -6px;
    left: -12px;
}

.json-live-doc .lbl {
    font-weight: bold;
}

.json-live-doc canvas.j-signature-canvas {
    border: 1px dotted #ccc;
}

.modal-body.with-json {
    padding: 0;
    /* dialoghi con piu' modal-body impilati (header + selettore + json): lasciare spazio a header/footer */
    max-height: calc(100vh - 290px);
}

.modal-body.schema-head {
    max-height: none;
    overflow-y: visible;
}

td.rivalsa .form-group {
    margin-bottom: 0 !important;
    float: right !important;
}

.fp-0 {
    padding: 0 !important;
}

.aiDataTable_outer {
    max-height: 200px;
    overflow: scroll;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    padding: 2px;
}

/* chat AI: la cornice si adatta alla tabella (non occupa tutta la larghezza), barre di scorrimento solo se servono */
/* avvisi sotto la tabella dei risultati (limite righe, tabella ampia, numero righe): minimi, larghi quanto il testo */
.ai .datatable .alert {
    width: fit-content;
    max-width: 100%;
    padding: 2px 8px;
    margin-bottom: 0;
    font-size: 85%;
}

.ai .aiDataTable_outer {
    width: fit-content;
    max-width: 100%;
    overflow: auto;
}

.btn-bold {
    font-weight: bold;
}

/* html editor */

.tinymce-widget {
    background:#eee;
    padding: 4px    
}

.tinymce-widget h1 {
    font-size: 2em;
}

.tinymce-widget a {
    text-decoration: underline;
}

.mce-panel, .mce-btn {
    background-image: none !important;
    background-color: white !important;
}

.mce-container, .mce-container *, .mce-widget, .mce-widget *, .mce-reset {
    font-size: 12px !important;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.mce-ico {
    font-family: tinymce, Arial !important;
}

.mce-tinymce {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}

.mce-tinymce iframe {
}

div.mce-edit-area {
    border-right: 1px solid #ccc !important;
}

.bootbox.modal {
    z-index: 2500 !important;
}

.app-content-body > div {
    padding-bottom: 48px;
}

.btn.btn-discover > span {
    display: none;
}

.btn.btn-discover:hover > span {
    display: inline;
}

.import-messages 
{
    border-radius: 6px;
    max-height: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    overflow: auto;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}


tr.training_history_0 > td,
tr.medical_history_0 > td 
{
    border-top: 1px dashed #666 !important;
}

tr.training_requests_0 > td,
tr.medical_requests_0 > td
{
    border-top: 2px solid #666 !important;
}

tr.training_requests_base > td, tr.training_requests_base > th,
tr.medical_requests_base > td, tr.medical_requests_base > th 
{
    border-top: 2px solid #666 !important;
}

td.requests_last, th.requests_last, td.training_actions
{
    border-right: 2px solid #666 !important;
}

.training_hscroller, .medical_hscroller
{
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0 !important;
    border-bottom: 2px solid #666;
    width: fit-content;
    max-width: 100%;
}

.training_hscroller.unlimited, .medical_hscroller.unlimited
{
    max-height: 700px !important;
}

.legenda_bordered 
{
    border: 1px solid #666;
}

.subscriptions tr.subscription-1:hover td
{
    background-color: #b5e7f7 !important;
}

.subscriptions tr.subscription-0:hover td
{
    background-color: #fdf3c1 !important;
}

.subscriptions tr.subscription-2:hover td
{
    background-color: #b9f1c7 !important;
}

.subscriptions tr.subscription-3:hover td
{
    background-color: #facaca !important;
}

.subscriptions td:first-child
{
    border-radius: 6px 0 0 6px;
}

.subscriptions td:last-child
{
    border-radius: 0 6px 6px 0;
}

.app-form-wide .app-form-title {
    margin-left: 10px;
    margin-right: 10px;
}

/* Titoli di sezione allineati a una lista di opzioni (.app-option-list: ultimo elemento con margin-right 1%) */
.modal-body.app-form-options {
    padding-left: 25px;
    padding-right: 25px;
}

.app-form-options .app-form-title {
    margin-left: 0;
    margin-right: 1%;
}

#trainingSituation td.requests table, #trainingSituation td.actions table,
#medicalSituation td.requests table, #medicalSituation td.actions table {
    height: 72px;
}

.categoryRole-selector {
    position: relative;
    top: 3px;
}

#organizeMedicalForm .customer-selector {
    width: 100% !important;
}

#organizeMedicalForm .doctor-selector {
    width: 100% !important;
}

.app-tool {
    border: 1px solid transparent;
    padding: 12px;
    margin-bottom: 8px;
}

.app-tool:hover {
    border: 1px solid #ccc;
    border-radius: 8px;
}

.close-x {
    font-size: 150%;
    margin-right: 10px;
}

.btn-multiline {
    height: 34px !important;
}

.btn-multiline .btn-line-1 {
    font-weight: bold;
    position: relative;
    top: -6px;
    font-size: 90%;
}

.btn-multiline .btn-line-2 {
    position: relative;
    top: -8px;
    font-size: 90%;
}

.search-input-group {
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-right: 8px;
        padding-left: 8px;
    }
    
    .navbar-collapse {
        padding-left: 0;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-nav {
        flex:1;
    }
    
    .navbar-right > li {
        float: right;
    }
    
    /* centrato in orizzontale sulla larghezza dello schermo (la posizione verticale resta quella del flex, align-items:center) (non sull'area a destra della banda laterale, che puo' essere ripiegata) */
    .navbar-collapse {
        position: static;
    }

    .nav-bar-search {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    
    .nav-bar-search .search-input-group input {
        width:30vw !important;
    }
}

.from-markdown h1 {
    font-size: 24px;
}

.from-markdown h2 {
    font-size: 20px;
}

.from-markdown h3 {
    font-size: 18px;
}

.cflex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.cflex-strech-items {
    align-items: stretch;
    align-content: stretch;
}

.cflex-column-reverse {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.cflex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.cflex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.tab-users {
    overflow-y: auto;
    height: 60vh;
}

.tab-users > div.pull-right {
    margin-right: 106px;
}

.tab-users > div.pull-right > a.btn {
    position:absolute;
}

.account-selector {
    width: 400px;
}

#trainingRequests .table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #dddddd;
}

.exporter .dropdown-menu {
    right: 0;
    left: auto;
}

.dd-filter-selector-selector, .dd-filter-value-selector-selector {
    width: 50vw;
    max-width: 50vw;
}

.alert-ai {
    background-color: #FEFFD2;
    color: #E76F51 !important;
    box-shadow: 0px 0px 12px 1px #fad733;
    border-color: #f0ad4e !important;
}

.alert-highlight {
    background-color: #FEFFD2;
    color: #E76F51 !important;
    box-shadow: 0px 0px 12px 1px #fad733;
    border-color: #f0ad4e !important;
}

.alert-highlight a.text-warning {
    color: #E76F51 !important;
}

.p-r-0 {
    padding-right: 0 !important;
}

.p-l-0 {
    padding-left: 0 !important;
}

.p-r-1 {
    padding-right: 4px !important;
}

.p-l-1 {
    padding-left: 4px !important;
}

.p-r-2 {
    padding-right: 8px !important;
}

.p-l-2 {
    padding-left: 8px !important;
}

.p-r-3 {
    padding-right: 12px !important;
}

.p-l-3 {
    padding-left: 12px !important;
}

.p-r-4 {
    padding-right: 16px !important;
}

.p-l-4 {
    padding-left: 16px !important;
}

.col {
    display: inline-block;
}

.skillSelector-selector {
    width: 400px;
}

.btn.text-info, .btn.btn-on-hover.text-info, .btn.btn-on-hover:not(:hover).text-info {
    color: #23b7e5 !important;
}

.bounded-list {
    max-height: 150px;
    overflow-y: scroll;
    padding-left: 6px;
    width: 99%;
    border: 1px solid #ccc;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 4px;
}

.bounded-list.green {
    border: 1px solid #5cb85c;
}

.bounded-list.red {
    border: 1px solid #d9534f;
}

.bounded-list.yellow {
    border: 1px solid #fad733;
}

.bounded-list-item {
    display:block;
    width:fit-content;
    margin-bottom:2px;
}

span.cp2021 {
    display: inline-block;
    max-width: 40vw;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: clip;
}

pre.note-field {
    overflow: auto;
    white-space: break-spaces;
    max-height: 200px;
    max-width: 80vw;
    line-height: 14px;
}

.opacity-0 {
    opacity: 0;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

.badge.bg-light {
    border: 1px solid #ccc;
}

.b-gray {
    border: 1px solid #ccc;
}

.dropdown-menu.recent-links {
    width: max-content !important;
    max-width: none !important;
}

.recent-links .panel-footer {
    position: relative;
    padding-right: 44px;
}

.recent-links .panel-footer .pull-right {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -8px;
    line-height: 16px;
}

.recent-link {
    display: inline-block;
    vertical-align: bottom;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-quick-actions {
    color: #d9f3fb !important;
    cursor: pointer;
}

.btn-quick-actions:hover {
    background-color: transparent;
    color: white !important;
    text-decoration: underline;
}

#quick-actions {
    padding: 20px;
    background-color: #eee;
    clear: both;
    margin: auto;
    width: 90vw;
    border-radius: 6px;
    border: 1px solid #aaa;
    box-shadow: 0px 0px 20px;
    position: relative;
    top: -8px;
}

#quick-actions .quick-actions-close {
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 16px;
    color: #777;
    cursor: pointer;
}

#quick-actions .quick-actions-close:hover {
    color: #333;
}

#quick-actions .search-input-group {
    border: 1px solid #aaa;
}

#quick-actions .app-option-list .app-option {
    border: 1px solid #aaa;
}

#quick-actions iframe {
    width:100%;
    height: 70vh;
    border: 0px;
}

#quick-actions .help-ask-note {
    display: block;
    margin-top: 4px;
}

#quick-actions .help-ask-result {
    max-height: 70vh;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

#quick-actions .help-ask-answer {
    margin: 10px 0 15px 0;
    font-size: 14px;
    white-space: pre-line;
}

.nav .dropdown-menu {
    width: 400px;
}

.schema-selector  {
    width: 400px !important;
}

.alert-hiring-risk {
    padding: 0 !important;
}

.app-fast-info .services-list {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.app-fast-info .services-list table {
    margin-bottom: 0 !important;
}

.app-fast-info .services-list table td {
    line-height: 13px;
}

.app-fast-info .services-list .code {
    margin-left:18px;
    font-size: 70%;
}

.offer_service_code {
    font-size: 70%;
}

.select2-chosen {
    max-width: 1000px;
}

.app-fast-info .table {
    border-collapse: collapse;
}

.fast-info-tbody td {
    border: 0 !important;
}

.fast-info-tbody tr.tools {
    display: none;
}

.fast-info-tbody:hover tr td {
    background-color: #ddd;
}

.fast-info-tbody:hover tr.tools {
    display: table-row;    
}

.fast-info-tbody tr.tools td {
    padding-bottom: 16px;
}

.attachments {
    border: 1px dashed #ddd;
    padding: 6px;
}

.attachment {
    display: inline-block;
}
.required-empty .select2-container .select2-choice,
.required-empty .select2-container .select2-choices {
    border-color: #f05050;
}

.saving-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5000;
    background: rgba(255,255,255,0.7);
    cursor: wait;
}

.saving-overlay-box {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-size: 16px;
}

/* bugid#6925: evidenza hover visibile anche sulle righe grigie delle tabelle zebra */
.table-striped.table-hover > tbody > tr:hover > td,
.table-striped.table-hover > tbody > tr:hover > th {
    background-color: #e8e8e8;
}

.modal.modal-vcenter .modal-dialog {
    margin-top: 20vh;
}

/* campo prompt per servizi AI (tag aiPromptField): icona in alto a destra dentro la textarea */
.ai-prompt-field {
    position: relative;
}

.ai-prompt-field textarea.form-control {
    background-color: #fff;
    border: 1px solid #dde2e6;
    border-radius: 8px;
    padding-right: 34px;
    resize: vertical;
}

.ai-prompt-field .ai-prompt-icon {
    position: absolute;
    top: 6px;
    right: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
    cursor: help;
}

/* Pulsanti neutri che prendono il colore "info" / "danger" solo al passaggio del mouse */
.btn-hover-info:hover,
.btn-hover-info:focus {
    color: #ffffff !important;
    background-color: #23b7e5;
    border-color: #23b7e5;
}

.btn-hover-primary:hover,
.btn-hover-primary:focus {
    color: #ffffff !important;
    background-color: #7266ba;
    border-color: #7266ba;
}

.btn-hover-danger:hover,
.btn-hover-danger:focus {
    color: #ffffff !important;
    background-color: #f05050;
    border-color: #f05050;
}

/* badge "AI" (blu e giallo UE) accanto alle etichette delle funzioni AI: apre la guida sulla conformita' */
.ai-eu-badge {
    display: inline-block;
    background-color: #003399;
    color: #FFCC00;
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: super;
    cursor: pointer;
}
/* dentro un titolo di dialogo resta un bollo in linea (non il sottotitolo a blocco) */
.modal-title > span.ai-eu-badge {
    display: inline-block;
    font-size: 9px;
    font-style: normal;
    top: 0;
}

/* barra di uso dei token AI del mese in "Azioni AI" */
.ai-quota .progress {
    border: 1px solid #ccc;
}

/* ---------- Analisi dati con AI: layout chat (cronologico, composer in basso) ---------- */
/* il footer dell'app (copyright) e' in posizione assoluta sul fondo: si lascia il suo spazio (--ai-footer) per non
   superare l'altezza della finestra, altrimenti compare la barra di scorrimento anche a chat vuota */
.ai {
    --ai-footer: 52px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: calc(100vh - 50px);
    padding-bottom: var(--ai-footer);
}

.ai .ai-body {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.ai .ai-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ai .ai-thread {
    flex: 1;
    padding: 12px 16px 4px;
}

/* colonna di lettura a sinistra; tabelle e pivot (.output) possono andare oltre la colonna */
.ai .ai-col {
    max-width: 900px;
    margin-left: 0;
    margin-right: auto;
}

.ai .ai-msg-user {
    margin-bottom: 14px;
    text-align: left;
}

/* badge "entita' attive": su una riga propria sopra la bolla, allineato a sinistra come il messaggio */
.ai .ai-msg-user .ai-active-badge {
    display: block;
    width: fit-content;
}

.ai .ai-msg-user .ai-bubble {
    display: inline-block;
    max-width: 75%;
    padding: 10px 16px;
    border-radius: 18px;
    background-color: #fff;
    border: 1px solid #dee5e7;
    text-align: left;
}

.ai .ai-msg-user .ai-bubble pre {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.ai .ai-msg-tools {
    margin-top: 2px;
}

.ai .ai-msg-tools a {
    margin-right: 10px;
    color: #98a6ad;
}

.ai .ai-msg-tools a:hover {
    color: #31708f;
}

.ai .ai-msg-tools a.disabled {
    opacity: .4;
    pointer-events: none;
}

.ai .ai-msg-ai .output {
    overflow-x: auto;
}

.ai .ai-msg-ai .output table {
    width: max-content;
}

.ai .ai-msg-ai .datatable.ai-clamped {
    max-height: 520px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
    mask-image: linear-gradient(to bottom, #000 80%, transparent);
}

.ai .ai-actions {
    margin-top: 2px;
}

.ai .ai-actions .ai-action {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    color: #98a6ad;
    cursor: pointer;
}

.ai .ai-actions .ai-action:hover {
    background-color: #dee5e7;
    color: #333;
}

.ai .ai-actions .ai-action.active {
    color: #7266ba;
}

.ai .ai-pending {
    margin-bottom: 14px;
}

.ai .ai-pending .progress {
    max-width: 260px;
}

.ai .ai-suggest {
    margin-bottom: 8px;
}

.ai .ai-chip {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 14px;
    border: 1px solid #dde2e6;
    border-radius: 18px;
    background-color: #fff;
    color: #555;
    cursor: pointer;
}

.ai .ai-chip:hover {
    border-color: #23b7e5;
    background-color: #E3F6FC;
}

/* composer agganciato al bordo basso della finestra */
.ai .ai-composer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    padding: 6px 16px 2px;
    background-color: #edf1f2;
}

.ai-composer-box {
    position: relative;
}

.ai-composer-box .ai-prompt-field textarea.form-control {
    resize: none;
    min-height: 56px;
    font-size: 16px;
    line-height: 1.4;
    padding: 12px 52px 12px 14px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.ai-composer-box .ai-prompt-field .ai-prompt-icon {
    top: 10px;
    right: 54px;
}

.ai-composer-box .ai-send {
    cursor: pointer;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background-color: #23b7e5;
    color: #fff;
}

.ai-composer-box .ai-send[disabled] {
    background-color: #dee5e7;
    color: #aaa;
    cursor: default;
}

.ai-composer-box .ai-unlock {
    position: absolute;
    right: 54px;
    bottom: 14px;
}

.ai .ai-jump {
    position: absolute;
    top: -44px;
    left: 50%;
    margin-left: -17px;
    width: 34px;
    height: 34px;
    border: 1px solid #dde2e6;
    border-radius: 50%;
    background-color: #fff;
    color: #555;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* cronologia: pannello a sinistra (su schermi stretti si sovrappone) */
.ai .ai-drawer {
    flex: none;
    width: 300px;
    padding: 16px;
    border-right: 1px solid #dde2e6;
    background-color: #fff;
    align-self: stretch;
}

@media (max-width: 767px) {
    .ai .ai-drawer {
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        z-index: 1030;
        width: 85%;
        max-height: none;
        box-shadow: 4px 0 12px rgba(0,0,0,.2);
    }
    .ai .ai-msg-user .ai-bubble {
        max-width: 90%;
    }
}

/* domanda sul raggruppamento (HTML del server): variabili come chip selezionabili */
.ai .ai-clarify .checkbox {
    margin: 0 8px 8px 0 !important;
}

.ai .ai-clarify .checkbox label.i-checks {
    padding: 6px 14px 6px 36px;
    border: 1px solid #dde2e6;
    border-radius: 18px;
    background-color: #fff;
    cursor: pointer;
}

.ai .ai-clarify .checkbox label.i-checks > i {
    margin-left: -26px;
    margin-top: 1px;
}

.ai .ai-clarify .checkbox label.i-checks:has(input:checked) {
    border-color: #23b7e5;
    background-color: #E3F6FC;
}

/* tag selezionabili nei dialoghi: colorati se applicati, grigi se non applicabili */
.badge.tag-badge.tag-toggle {
    cursor: pointer;
    margin: 4px 6px 0 0;
    padding: 5px 10px 5px 17px;
    font-size: 12px;
    font-weight: normal;
    user-select: none;
}

.badge.tag-badge.tag-toggle::before {
    top: 50%;
    left: 7px;
}

.badge.tag-badge.tag-toggle.tag-off {
    background-color: #e3e6e8 !important;
    color: #8a9399 !important;
}

/* Lista di opzioni a quattro colonne (pagina impostazioni) */
.app-option-list.app-option-list-4 .app-option {
    width: 24%;
    margin-bottom: 8px;
}

.settings-page {
    background-color: #fff;
    position: relative; /* riferimento per la .settings-toolbar sovrapposta */
    display: flow-root; /* il margine della prima sezione resta dentro lo sfondo bianco (senza, collassa fuori e lascia una fascia grigia) */
}

.settings-section {
    background-color: #f2f2f2;
    border-radius: 12px;
    margin: 15px;
    padding-bottom: 5px;
}

/* Impostazioni: spazi compatti dentro i riquadri di sezione */
.settings-section {
    margin: 8px 15px;
    padding-bottom: 0;
}

.settings-section > .wrapper-md {
    padding: 8px 15px 0 15px;
}

.settings-section > .wrapper-md h1 {
    line-height: 1.2;
}

.settings-section .hbox > .col.wrapper-md {
    padding: 8px 15px 0 15px;
}

.settings-section .app-option-list {
    margin-bottom: 0;
}

.settings-section .app-option-list.app-option-list-4 .app-option {
    margin-bottom: 8px;
}

.settings-section > .wrapper-md h1 {
    /*font-size: 17px;
    font-weight: 600;*/
    font-size: medium;
    color: #111;
}

.settings-section {
    margin-top: 14px;
    margin-bottom: 14px;
}

/* filtro sulle opzioni: staccato dal flusso e sovrapposto alla prima sezione */
.settings-toolbar {
    position: absolute;
    right: 28px;
    top: 22px;
    z-index: 5;
    text-align: right;
}

/* Riquadri di sezione dentro i dialoghi */
.modal-body .settings-section {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 8px;
}

.modal-body.app-body-tight {
    padding: 4px 8px;
}

/* interruzione di riga in una .app-option-list (flex-wrap): le opzioni successive vanno a capo */
.app-option-list .app-option-break {
    flex-basis: 100%;
    height: 0;
}

/* Punto esclamativo rosso sulle opzioni (app-option) dei dialoghi strumenti */
.app-option > .exclamation-mark {
    top: -6px;
    right: -4px;
    left: auto;
    width: auto;
}

.app-option > .exclamation-mark > div {
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 11px;
}
