.bg-slateblue{
    background-color: #4E45AC;
}

.btn-slateblue{
    background-color: white;
    color: #4E45AC;
    border: solid #4E45AC 1px;
}
.btn-slateblue:hover{
    background-color: #4E45AC;
    color: white;
}
.btn-outline-slateblue{
    background-color: #4E45AC;
    color: white;
}
.btn-outline-slateblue:hover{
    background-color: #3a3481;
    color: white;
}

.dropdown-toggle::after{
    color: white;
}

.text-slateblue{
    color: #4E45AC;
}

/* form description field height */
#id_description{
    height: 110px;
  }

/* datatable css */
table {
    width: 120%;
  }
  table#myTable tr td { font-size: 13px; }
  
  #description{
    text-align: left;
    white-space: pre-line;
  }

  #category{
    text-align: left;
    white-space: pre-line;
  }
  
  #myTable thead,
  #myTable th {text-align: center;}
  
    th,
    td {
      white-space: nowrap;
    }
  
    div.dataTables_wrapper {
      width: 800px;
      margin: 0 auto;
    }
  
    th input {
      width: 90%;
    }
  
    tfoot {
      display: table-header-group;
    }
  
  
    .cb-dropdown-wrap {
      max-height: 80px;
      width: 100%;
      position: relative;
      height: 23px;
    }
  
    .cb-dropdown,
    .cb-dropdown li {
      margin: 3px;
      padding: 0;
      list-style: none;
    }
  
    .cb-dropdown {
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: #fff;
      border: 1px solid #4E45AC;
    }
  
    .cb-dropdown-wrap:hover .cb-dropdown {
      height: 200px;
      overflow: auto;
      transition: 0.2s height ease-in-out;
    }
  
    .cb-dropdown li label {
      color: black;
      display: block;
      position: relative;
      cursor: pointer;
      line-height: 19px;
    }
  
    .cb-dropdown li label>input {
      position: absolute;
      right: 0;
      top: 2px;
      width: 16px;
    }
  
    .cb-dropdown li label>span {
      display: block;
      margin-left: 3px;
      margin-right: 20px;
      font-family: sans-serif;
      font-size: 0.8em;
      font-weight: normal;
      text-align: left;
    }
  
    table.dataTable thead .sorting,
    table.dataTable thead .sorting_asc,
    table.dataTable thead .sorting_desc,
    table.dataTable thead .sorting_asc_disabled,
    table.dataTable thead .sorting_desc_disabled {
      background-position: 100% 10px;
    }


    /* spinner history.html while data loads*/
    .centered-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    /* Center the spinner base.html*/
    .spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure the spinner is on top of everything */
    }
