
h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 10px; /* <<-- OK x header */
  margin-bottom: 10px; /* <<-- OK x header */
  }
  
h2 p {
  font-family: Roboto;
  font-weight: 400;
  font-size: 18px; /* <<-- OK x header */
  color: #191817;
  }
  
  
.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
    border-bottom: 2px
}



/****
label delle form: */
label {
  font-weight: bold;
  font-family: 'ROBOTO'; /* <<-- NEW  */
}


html[dir=ltr] .crmEntityFormView .cell input[type=text],html[dir=ltr] .crmEntityFormView .cell select,html[dir=ltr] .crmEntityFormView .cell textarea {
    float: left;
    font-family:'ROBOTO' /*  <<-- NEW */
}


.form-control {
    display: block;
    width: 100%;
    padding: 0.05rem .75rem; /* <<-- modif  */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

form-select {
    display: block;
    width: 100%;
    padding: .1rem 2.25rem .375rem .75rem; /* <<-- modif primo parametro */
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}


/**** finestra scelta campi lookup ***/
@media (min-width: 992px) {
    .modal-lg,.modal-xl {
        --bs-modal-width: 90%;
    }
}

@media (min-width: 576px) {
    .container,.container-sm {
        max-width:90% /* <<-- modif */
    }
}



.modal {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 700px; /* <<-- Per allargare la finestra */
    --bs-modal-padding: 0.5rem; /* <<-- Per diminuire il bordo (era 1) */
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: #fff;
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 0rem 0rem; /* <<-- per assottigliare header */
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1; /* <<-- per assottigliare header */
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0
}
/*
.entity-associate .view-grid,.entity-lookup .view-grid {
    width: 100%;  <<-- per griglia 
    overflow: auto;
    height: 100%; /* <<-- per griglia 
    max-height: 100%;
    font-size: 85%
}*/

entity-associate .view-grid, .entity-lookup .view-grid {
    width: 100%;
    overflow: auto;
    height: 500px;
    max-height: 500px;
    font-size: 85%;
}


/***per allargare la prima finestra che si apre:*/
.main-135 {
    box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
    border-radius: 2px;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    position: relative;
    text-align: left;
    outline: transparent solid 3px;
    max-height: calc(100% - 32px);
    max-width: calc(100% - 32px);
    min-height: 176px;
    min-width: 288px;
    overflow-y: auto;
    z-index: 1000000;
    pointer-events: auto;
    height: 100%; /*<<-- questo OK 4 feb*/
    width: 100%; /*<<-- questo OK 4 feb*/
    padding: 16px;
}


.view-pagination .pagination {
    margin: 5px 0 0 0; /* <<-- invece di 10, per la pagination della lista */
}



/* **************TESTATI 4 FEBBRAIO OK: ********************** */
.main-135 {
    box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
    border-radius: 2px;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    position: relative;
    text-align: left;
    outline: transparent solid 3px;
    max-height: calc(100% - 10px);
    max-width: calc(100% - 10px);
    min-height: 176px;
    min-width: 288px;
    overflow-y: auto;
    z-index: 1000000;
    pointer-events: auto;
    height: 100%; /*<<-- OK 4 feb*/
    width: 100%; /*<<-- OK 4 feb*/
    padding: 10px;
}


/* LABEL Form */
.crmEntityFormView label {
  background-color: #FFFFFF;
  color: #000000;
  font-family: 'ROBOTO'; /**/
  }
  
  
/* Header - label */
h2, .h2, .section-landing .row > div .section-landing-sub-heading, .page_section h2, .color-inverse h2, h2 p {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px; /**/
    color: #191817;
}

/* Header - margin */
h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  }
  
/* Cell content - font */
html[dir=ltr] .crmEntityFormView .cell input[type=text],html[dir=ltr] .crmEntityFormView .cell select,html[dir=ltr] .crmEntityFormView .cell textarea {
    float: left;
    font-family: 'ROBOTO';
}

/* Grid content - font */
.crmEntityFormView table.table td:first-child {
    padding: 8px;
    font-family: 'ROBOTO';
}


/* seconda finestra pop up*/
.modal-content {
    position: fixed;
    left: 0px;
    flex-direction: column;
    width: 100%;
    height: 90%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
	min-height: calc(100% - 50px) /* AGGIUNTO VALE 2:53 */
}



element.style {
    width: max-content;
    height: max-content;
	justify-self: anchor-center;
}




/*
***TBD?? ***
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 10px) 
}*/