/*Accrocchi*/

main{
    background-image: url(../img/back.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
a:hover{
    color: var(--red-fastalp) !important;
}

.bg-none{
    background: transparent;
    border: none !important;
}

.sub-header a, .sub-header p, .sub-header h1, .sub-header h2, .sub-header h3, .sub-header h4, .sub-header h5,.sub-header h6, .sub-header li, .sub-header li::before
{
    color: white !important;
    text-shadow: 2px 2px 10px #000000;
} 

h1,h2,h3,h4,h5,h6
{
    color: var(--bodycolor) !important;
    font-weight: 500;
}

.ul-options{ 
    list-style-type: none;
    padding: 0 !important;
    padding-top: 0;
    text-align: center;
    z-index: 999999;
    background-color: white;
    position: absolute;
    display: none;
    width: 42%;
    padding-right: 10px !important;
}

.ul-options li{ 
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}

.ul-options li:hover{ 
   background-color: var(--primarycolor);
   color: white;
   font-weight: bold;
}

.bg-red{
    background-color: #dc3545 !important;
    border: none !important;
}

.bg-green{
    background-color: #198754 !important;
    border: none !important;
  
}

.bg-blue{
    background-color: #1976D2 !important;
    border: none !important;
  
}

.bg-yellow{
    background-color: #FFD600 !important;
    border: none !important;

}

.bg-orange{
    background-color:#EF6C00 !important;
    border: none !important;

}

.text-red{
    color: #dc3545 !important;
}

.text-green{
    color: #198754 !important;
  
}

.text-blue{
    color: #1976D2 !important;
  
}

.text-yellow{
    color: #FFD600 !important;

}

.text-orange{
    color:#EF6C00 !important;
}

.com-res{
    padding: 10px;
    border-radius: 14px;
    color: white !important;
}

main{
    min-height: calc(100vh - 105px);
    padding-bottom: 10px;
}

footer{
    margin-top: 0 !important;
}

.btn:hover {
    color: white !important;
}

.badge{
    font-weight: 600;
    font-size: 8pt;
}

tr.hide-table-padding td {
    padding: 0;
  }
  
  .expand-button {
      position: relative;
  }
  
  .accordion-toggle .expand-button:after
  {
    content: 'Nascondi';
    padding: 8px;
    border-radius: 5px;
    color: white;
    background-color: #1e3d73;
  }
  .accordion-toggle.collapsed .expand-button:after
  {
    content: 'Espandi';
    padding: 8px;
    border-radius: 5px;
    color: white;
    background-color: #1e3d73;
  }

  .collapse{
    -moz-transition : height 5s;
    -webkit-transition : height 5s;
    -o-transition : height 5s;
    transition : height 5s; 
}

.form-res
{
    padding: 10px;
    border-radius: 5px;

}

.form-res .form-control
{
    width: 90%;
    height: 32px;
    margin: auto;
}

 .form-control.locked
 {
    background-color: whitesmoke;
}

.form-control.unlocked
{
    background-color: white ;
}


.form-res textarea
{
    resize:  none !important;
}

.form-res i, .form-res label
{
    font-size: 8pt;
}

.form-res .form-control{
    color: var(--bodycolor);
}

.add-border{
    border: 1px solid #ced4da !important;
}

.link-action:hover{
    color: var(--red-fastalp) !important;
}

.link-action.disabled{
    color: #dfdfdf !important;
}

.clock
{
    position: absolute;
    top: 50%;
    left: 58%;
    transform: translateX(-50%) translateY(-50%);
    color: var(--bodycolor);
    font-size: 12pt;

    /* restyled */
    font-size: 10pt;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

.user{
    position: absolute;
    top: 50%;
    left: 29%;
    transform: translateX(-50%) translateY(-50%);
    color: var(--bodycolor);
    font-size: 11pt;
}

.help{
    position: absolute;
    top: 50%;
    /*right: 9%;*/
    right: 11%;
    transform: translateX(-50%) translateY(-50%);
    color: var(--bodycolor);
    font-size: 10pt;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid var(--primarycolor);
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }

  .btn-success{
    background-color: #28a745 !important;
  }

  .modal-header{
      border: none !important;
      border-bottom: none !important;
  }

  .modal-footer{
    border: none !important;
    border-top: none !important;
}

  .ul-load.loading {
    background: url(../img/spinner.gif) no-repeat right center;
    background-size: contain;
}

.dot{
    background-color: #eee;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

