@import "select2-popover.css"; 
/*.modal-body {
    position: relative;
    overflow-y: auto;
    max-height: 750px;
    padding: 0px;
    overflow-x: hidden;
}*/

.avatar {
    width: 70px; /* Larghezza dell'avatar */
    height: 70px; /* Altezza dell'avatar */
    border-radius: 50%; /* Forma circolare */
    object-fit: cover; /* Adatta l'immagine alle dimensioni */
  }

.popover {
    background: #4bafd7;
   
}
.popover-body{
 color:#ffffff;
}
.popover>.arrow {
   color:#4bafd7;
}

.arrow::after, .bs-popover-left .arrow::after {
    border-left-color: #4bafd7 !important;
}


.datepicker table tr td.disabled{
    opacity:0.4 !important;
}

/*//NASCONDE NEL FRECCENEL TYPE NUMBER*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dataTables_wrapper .dataTables_info {
    width: 50%;float:left;
}
div.dataTables_wrapper div.dataTables_paginate {
  width: 50%;float:left;
}
div.dataTables_wrapper div.dataTables_filter input {
    width: 70% !important;
}
.center-col{
   text-align: left !important;
   width:33% !important;
}
.left-col{
   width:23% !important;
}
.right-col{
   width:17% !important;
}


/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/*-------------------------------------*/
.dataTables_scrollHeadInner {
    width:100% !important;
}
.bot_datatables{
  margin-right:5px;   
  border:solid 0px !important;
  border-radius:4px !important;
  width:115px;
}
.buttons-excel{
    background-color:green !important;
    color:#ffffff !important;
/*    margin-right:10px;*/
}
.buttons-pdf{
    background-color:red !important;
    color:#ffffff !important;
    padding: 0.65rem 1.3rem;
   
}
/*primo valore dell'elenco select2 non deve essere evidenzionato col background grigio*/
.select2-container--default .select2-results__option:first-child{
    background-color: #ffffff !important;
}

input[type=checkbox].css-checkbox {
    position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}

input[type=checkbox].css-checkbox + label.css-label {
        padding-left:30px;
        height:25px; 
        display:inline-block;
        line-height:25px;
        background-repeat:no-repeat;
        background-position: 0 0;
        font-size:25px;
        vertical-align:middle;
        cursor:pointer;
}

input[type=checkbox].css-checkbox:checked + label.css-label {
        background-position: 0 -25px;
}
label.css-label {
background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_391ce065f36b1460c4845fa9b5173fba.png);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.tbLow th, .tbLow td{ 
    text-align:center;  
}
.add_line{
    color:#000;
    cursor:pointer;
    margin-left:6px;
    padding:6px;
    height:20px;
    display:inline-table;
    font-weight: 500;
}
.form-control.filled[readonly]{
    border: 1px solid #dedede !important;
    box-shadow:0.3px 0.3px 0.3px 0.3px gray;
}
.bot_attivo{
    box-shadow:0 0 0 0.2rem rgba(113,126,226,0.5) !important;
}
.intestazione{
    background-color:#475371;
    border-radius:4px;
    font-size:20px;
    color:#fff;
    padding:5px 5px 5px 15px;
    margin:0px 0px 20px 0px;
    font-weight:bold;
}


.ultima_riga{
    border-top: solid 1px #dedede; 
    padding-top: 10px;
}
.dataTables_wrapper .dataTable thead tr {
    background-color: #475371;
}
.dataTables_wrapper .dataTable thead tr th{
    color:#ffffff !important;
}

.riga_grigia {
   background-color: #f4d9d9 !important;
}
.left-col {
    float: left;
    width: 25%;
}
 
.center-col {
    float: left;
    width: 50%;
    text-align: right;
}
 
.right-col {
    float: right;
    width: 25%;
    margin-bottom:10px;
}
#data_table td{
    vertical-align: top;
}
.ar {
    text-align: right !important;
}
.form-floating-label {
    padding-top:20px;
}

.form-floating-label .my_placeholder {
    position:absolute;
    padding:0;
/*    padding-left:1.5rem;*/
    transition:all .2s;
    opacity:.8;
    margin-bottom:0!important;
    font-size:14px!important;
    font-weight:400;
    top:24px;
    display: flex;
    align-items: center;
    left:21px;

}

.form-floating-label .my_placeholder_sim {
    position:absolute;
    padding:0;
    margin-bottom:0!important;
    font-size:13px!important;
    top:-34px;
    opacity:1;
    font-weight:600;
    display: flex;
    align-items: center;
    height: 100%;
}

.form-floating-label .form-control:focus + .my_placeholder,
/*.form-floating-label .form-control:valid + .my_placeholder, */ /* da problemi con not required => sostituisco con: */
.form-floating-label .form-control:valid:required + .my_placeholder,
/*.form-floating-label .form-control:success + .my_placeholder,*/
.form-floating-label .form-control.filled + .my_placeholder {
    /*font-size:90%!important;*/
    font-size:13px!important;
    transform:translate3d(0,-25px,0);
    top:18px;
    left:11px;
    opacity:1;
    padding:.375rem 0 .75rem;
    font-weight:600;
    color: #495057 !important;
}

.form-floating-label .error + .my_placeholder,
.form-floating-label.has-error .my_placeholder_sim,
.form-floating-label.has-success .my_placeholder_sim {
    /*font-size:90%!important;*/
    font-size:13px!important;
    /*transform:translate3d(0,-41px,0);*/
    top:-46px;
    opacity:1;
    padding:.375rem 0 .75rem;
    font-weight:600;
    color: #495057 !important;
}

.form-control.filled{
    border: 1px solid #1572e8 !important;
}

.select2-container--bootstrap .select2-selection {
    background-color: #fff;
    border: 1px solid #ebedf2;
    border-radius: 4px;
    color: inherit;
    font-size: 13px;
    outline: 0;
    line-height: 1.5 !important;
}
.select2-container--bootstrap .select2-search__field::placeholder {
    color: #999;
    opacity: 1;
}
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    background-color: #fff;
    border: 1px solid #ebedf2;
    border-radius: 4px;
    color: #555;
    font-size: 13px;
    padding: 4px 10px;
}
.select2-container--bootstrap .select2-selection__clear {
    color: #999;
    cursor: pointer;
    float: right;
    font-weight: 700;
    margin-right: 10px;
}
.select2-container--bootstrap .select2-selection--single {
    height: 40px;
    line-height: 1.42857143;
    padding: 0.6rem 1rem;
}
