
@keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.fadein {
  -webkit-animation: fadein 300ms ease-in-out;
  /* Chrome, Safari, Opera */
  animation: fadein 300ms ease-in-out;
}
.fade {
    -webkit-transition-duration: 0.03s; /* Safari */
    transition-duration: 0.03s;
}

/* Mark per la datatable */
mark{
    /*background:#fdfd86;   giallo acceso
    background:#FAC898;     orange pastello*/
    background:#FDDA0D;     /*cadmium yellow*/
    color:black;
    padding:0;
}

/* HEADER NAVBAR */
.navbar {
    -webkit-animation: fadein 500ms, fadeout 500ms 2.5s;
    animation: fadein 500ms, fadeout 500ms 2.5s;
  /*font-family: 'Montserrat', sans-serif; font-weight: 400;*/
    background-color: #fafafa;
    height: 60px;
    box-shadow: 0 5px 10px #f0f0f0;
    z-index: 9;
}

.navbar-brand .logo-big {
    -webkit-animation: fadein 500ms, fadeout 500ms 2.5s;
    animation: fadein 500ms, fadeout 500ms 2.5s;
  transform: translateX(-50%);
  left: 50%;
  position: absolute;
  top: 6px;
  height: 50px;
}
.navbar-brand .logo-small {
    -webkit-animation: fadein 500ms, fadeout 500ms 2.5s;
    animation: fadein 500ms, fadeout 500ms 2.5s;
  transform: translateX(-50%);
  left: 50%;
  position: absolute;
  top: 6px;
  height: 30px;
  display: none;
}

/* SPINNER LOADING */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}
.canvas {
  position: absolute;
  margin: auto;
  top: 50%; left: 50%;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.spinner {
  animation: spinner 1s linear infinite;
  border: solid 5px transparent;
  border-top: solid 5px #5d5386;
  border-radius: 100%;
  width: 60px;
  height: 60px;
  margin: 5px auto;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.popover {
   max-width: max-content;
   background-color: #fff9e6;
   /*border:none;
   border-radius:unset;
   min-width:100px;
   width:100%;*/
   overflow-wrap:break-word;
}
.popover-header {
    font-weight: 600;
}








.display table { 
    border-collapse: collapse; 
    margin:50px auto;
}

/* Zebra striping */
.display tr:nth-of-type(odd) { 
    background: #eee; 
}

.display th { 
    background: #0469d6; 
    color: white; 
    font-weight: bold; 
}

.display td, th { 
    padding: 10px; 
    border: 1px solid #ccc; 
    text-align: left; 
    /*font-size: 14px;*/
}

 
.display table.dataTable.stripe > tbody > tr.odd > *, table.dataTable.display > tbody > tr.odd > * {
    box-shadow: inset 0 0 0 9999px #e9ecef !important;
}
 
.display table.dataTable tbody th, table.dataTable tbody td {
    padding: 5px 10px !important;
} 










.icone {
    /*display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;*/
    align-items: center;
    /*padding: 0.375rem 0.66rem;*/
    padding: 0.3rem 0.6rem;
    font-size: 1.1rem;
    font-weight: 400;
    /*line-height: 1.5;*/
    color: #fcfcfc;     /* Bianco ma non completamente */
    text-align: center;
    white-space: nowrap;
    background-color: #5d5386;
    border-radius: 100%;
    /*box-shadow: 2px 3px 8px 1px #aea9c3;*/
    box-shadow: 2px 3px 8px 1px #808080;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.icone:hover {
  opacity: .70;
}
button.icone {
    border: 0;
}

.btn-round {
    font-weight: 600 !important;
    line-height: 1.25;
    border: 2px solid transparent;
    padding: 10px 20px;
    padding: 8px 8px;
    /* font-size: 0.85rem; */
    border-radius: 60px;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    /*box-shadow: 2px 3px 8px 1px #aea9c3;*/
    box-shadow: 2px 3px 8px 1px #808080;
    color: #f5f5f5;         /* Bianco ma non completamente */
    background-color: #5d5386;
}

.btn-round-primary {
    background-color: #397dfb;
}

.btn-round:hover {
  opacity: .70;
}
.btn.disabled {
    background-color: #5d5386;
    color: #f5f5f5;         /* Bianco ma non completamente */
    opacity: 0.4;
}

/* Rating stars */
.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}
.rate:not(:checked) > input {
    position:absolute;
    top:-9999px;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    /*color:#ccc;*/
    color: slategray;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    /*color: #ffc700;*/
    color: #f1af09;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    /*color: #deb217;*/
    opacity: .7;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}


/* MODALI */
.modal-dialog.modal-xlg {
  max-width: 85%;
}
.modal-dialog.modal-super-xlg {
  max-width: 92%;
}

.modal-backdrop {
   background-color: rgba(90,90,90,0.4);
}	 

.modal-header-danger {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #d9534f;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}




/* AUTOCOMPLETE */
.autocomplete {
    display: block;
    background: green;
    background: #383b5c;

    width: 250px;
    max-height: 250px;
    overflow-y: auto; 
    z-index :10000;
    margin-left: 6px;
}

.autocomplete li {
    list-style: none;
    padding: 5px;
    border-bottom : 1px solid #fff;
    color : #fff;
}

.autocomplete li:hover {
    background: lightgreen;
    background: #ffc10778;
    cursor: pointer;
}









.footer {
    position: fixed;
    bottom: 10px;
    font-size: 14px;
    text-align:center;
}

@media only screen and (max-height: 640px)  {
    .footer {
        display: none;
    }
    
    .footer2 {
        display: none;
    }
}


fieldset {
    border: solid 3px #607D8B !important;
    padding-top: 0px;
    padding-right: 3px;
    padding-bottom: 0px;
    padding-left: 3px;
    width: 100%;
}
legend {
    float: none;
    width: inherit;
}




.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--bs-heading-color);
}