body {
    font-family: "Tahoma", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
[class*="sidebar-dark-"] {
    background-color: #213e9a;
}
.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
    background-color: #afd54a;
    color: #000000;
}
[class*="sidebar-dark-"] .sidebar a {
    color: #ffffff;
}
[class*="sidebar-dark"] .user-panel {
    border-bottom: 1px solid #f2b042;
}
[class*="sidebar-dark"] .user-panel a:hover {
    color:#f2b042;
}
a {
    color: #213e9a;
}
.btn-primary {
    background-color: #213e9a;
    border-color: #213e9a;
}
.btn-outline-primary {
    color: #213e9a;
    border-color: #213e9a;
}
.btn-outline-primary:hover {
    background-color: #213e9a;
    border-color: #213e9a;
}
.card-primary:not(.card-outline) > .card-header {
    background-color: #213e9a;
}
.bg-success {
    background:#afd54a !important;
}
.bg-success,
.bg-success > a {
    color:#000000 !important;
}
.btn-lg, 
.btn-group-lg > .btn,
.form-control-lg {
    font-size: 1rem;
}
.lead,
table,
.select2-results,
.select2,
.form-control,
.card-body,
label:not(.form-check-label):not(.custom-file-label) {
    font-size: 14px;
}
.card-body.p-0 .table thead > tr > th:first-of-type, 
.card-body.p-0 .table thead > tr > td:first-of-type, 
.card-body.p-0 .table tfoot > tr > th:first-of-type, 
.card-body.p-0 .table tfoot > tr > td:first-of-type, 
.card-body.p-0 .table tbody > tr > th:first-of-type, 
.card-body.p-0 .table tbody > tr > td:first-of-type{
    padding-left: 0.75rem;
}
.card-body.p-0 .table thead > tr > th:last-of-type, 
.card-body.p-0 .table thead > tr > td:last-of-type, 
.card-body.p-0 .table tfoot > tr > th:last-of-type, 
.card-body.p-0 .table tfoot > tr > td:last-of-type, 
.card-body.p-0 .table tbody > tr > th:last-of-type, 
.card-body.p-0 .table tbody > tr > td:last-of-type {
    padding-right: 0.75rem;
}
table td,
table .card-body {
    font-size: 12px;
}
table td p {
    margin-top:0;
    margin-bottom: 7px;
    /* white-space: break-spaces; */
}
/* table td  p:last-child::after {
    content: '';
    margin-bottom: 0;
    white-space: normal !important;
    background:#afd54a;
} */
table td .btn-sm {
    font-size:12px;
    text-align: left;
}
table td .btn-sm i {
    width: 16px;
}
table td .badge {
    padding: 5px;
}
table td .card .card-body,
table td .card p
{
    white-space:normal !important;
}
.help-block {
    color:#ff0000;
}
.custom-control-label {
    font-weight: normal !important;
}
.modal-dialog .overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  
    background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
