/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

.flex-container {
    display: flex;
    justify-content: space-between
}

/* ── Questionnaire Engine information pill popover ────────────────────────── */
.qe-info-popover {
    position: fixed;
    z-index: 10000;
    max-width: 360px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: normal;
    color: #333;
    font-size: 13px;
    line-height: 1.5;
}
/*ListView Container Format*/
.listview-container {
  max-height: 700px;
  overflow: auto;
  position: relative;
  background: #fff;
}

  .listview-container table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .listview-container thead {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .listview-container th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 30;
    white-space: nowrap;
    border-bottom: 2px solid #999;
    background-clip: padding-box;
  }

  .listview-container tbody td {
    border-bottom: 1px solid #ddd;
  }

  .listview-container tbody tr:last-child td {
    border-bottom: none;
  }
