/* ------------ */
/* flatly fixes */
/* ------------ */

.bg-dark {
  background-color: #18BC9C !important;
}


/* --------------- */
/* caseload editor */
/* --------------- */

/* keep 'add' buttons from being full-width */
.btn-group .btn {
    flex-grow: 0;
}

/* clean up borders inside form elements */
.table thead th {
    border-bottom: 0;
}
.table th, .table td {
    border-top: 0;
}

/* ------------ */
/* table-detail */
/* ------------ */

.table.table-detail {
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}
.table.table-detail thead tr th {
    border-top: 0;
    border-bottom: 0;
}
.table.table-detail tbody tr td {
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid;
    border-bottom: 1px solid;
}
.table.table-detail tbody tr td.table-detail-head  {
    text-align: right;
    font-weight: bold;
}

/* ---------- */
/* table-list */
/* ---------- */

.table.table-list thead tr th {
    border-top: 0;
    border-bottom: 1px solid;
    border-bottom-color: black;
}
.table.table-list tbody tr td {
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

/* ----------- */
/* form-signin */
/* ----------- */

.form-signin {
    max-width: 770px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* ----------- */
/* logout-form */
/* ----------- */

#logout-form {
  display: inline;
}
#logout-form button {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  --blue: #2c3e50;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #e74c3c;
  --orange: #fd7e14;
  --yellow: #f39c12;
  --green: #18bc9c;
  --teal: #20c997;
  --cyan: #3498db;
  --white: #fff;
  --gray: #95a5a6;
  --gray-dark: #343a40;
  --primary: #2c3e50;
  --secondary: #95a5a6;
  --success: #18bc9c;
  --info: #3498db;
  --warning: #f39c12;
  --danger: #e74c3c;
  --light: #ecf0f1;
  --dark: #7b8a8b;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.5;
  font-size: 0.9375rem;
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #7b8a8b;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

/* ------------------- */
/* general definitions */
/* ------------------- */

.vertical-align {
    align-items: center;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

/* ------------- */
/* progress bars */
/* ------------- */

.progress {
    height: 20px;
    font-size: 10pt;
}

/* ----------- */
/* featurettes */
/* ----------- */

.featurette-divider {
  margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

@media (min-width: 40em) {
  .featurette-heading {
    font-size: 50px;
  }
}

/* ------------------ */
/* extra-large button */
/* ------------------ */

.btn-xl {
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 10px;
}

/* -------------------- */
/* extra-large rounding */
/* -------------------- */

.rounded-xl {
   border-radius: 3rem;
}

/* ---------- */
/* login page */
/* ---------- */

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* --------------- */
/* loading overlay */
/* --------------- */

#loading {
  display: flex;
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: rgba(192, 192, 192, 0.5);
  background-image: url("https://i.stack.imgur.com/MnyxU.gif");
  background-repeat: no-repeat;
  background-position: center;
}