@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

app {
  position: relative;
  display: flex;
  flex-direction: column;
}

.top-row {
  height: 3.5rem;
  display: flex;
  align-items: center;
}

.main {
  flex: 1;
}

  .main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
  }

    .main .top-row > a {
      margin-left: 1.5rem;
    }

#blazor-error-ui {
  background: orange;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }

.sidebar {
  /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
  background-color: whitesmoke;
}

  .sidebar .top-row {
    background-color: whitesmoke;
  }

  .sidebar .navbar-brand {
    font-size: 1.1rem;
  }

  .sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
  }

.navbar-app-name {
  color: #0a906d !important;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 1.8rem;
}

.navbar-evaluation-mode {
  color: crimson;
  font-size: 1.2rem;
  font-weight: 600;
  padding-left: 70px;
  margin-top: -5px;
}

.nav-item {
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
}

  .nav-item:first-of-type {
    padding-top: 1rem;
  }

  .nav-item:last-of-type {
    padding-bottom: 1rem;
  }

  .nav-item a {
    color: gray;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
  }

    .nav-item a.active {
      background-color: rgb(220,220,220);
      color: black;
    }

    .nav-item a:hover {
      background-color: rgba(255,255,255,0.75);
      color: #dd8445;
    }

.help-button-display {
  position: absolute;
  top: 2px;
  right: 3px;
}

.ck-editor__editable_inline {
  min-height: 300px;
}

.form-group {
  margin-bottom: 10px;
}

label {
  margin-bottom: 0;
}

.input-sm {
  width: 200px !important;
}

.pager-display {
  margin: 15px 0 2px 0;
}

  .pager-display button {
    width: 30px;
    font-size: 1.2em;
  }

.pager-indicator {
  padding: 3px 7px 0 7px;
}

.block-labels label {
  display: block;
}

.display-label {
  font-weight: 600;
  font-size: 15px;
}

.display-sublabel {
  font-weight: 600;
  font-size: 15px;
  padding-left: 15px;
}

.display-sublabel input {  
  margin-left: 5px;
}

.display-value {
  margin-left: 8px;
  font-size: 15px;
}

.display-list {
  margin-left: 8px;
  font-size: 15px;
}

  .display-list div {
    margin-top: 2px;
  }

.blazored-typeahead {
  width: 350px;
  display: inline-block;
  font-size: 15px;
  border: 1px solid #ced4da;
}

  .blazored-typeahead.valid.modified {
    border-color: #ced4da;
  }

.button-container {
  margin-top: 20px;
}

.button-spaced {
  margin-left: 20px;
}

.header-button {
  margin-bottom: 5px;
}

.entry-comment {
  margin-left: 10px;
  font-style: italic;
  font-size: 0.9em
}

.group-block {
  display: inline-block;
  vertical-align: top;
  margin-right: 40px;
}

.page-warning {
  font-size: 0.9em;
  font-weight: 600;
  color: red;
  margin-bottom: 10px;
}

.form-message {
  margin-top: 10px;
  font-size: 0.8em;
}

.form-message-highlight {
  margin-top: 10px;
  font-size: 0.8em;
  font-weight: 600;
}

.page-message {
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 10px;
}

.radio-align {
  display: block;
  padding-left: 1.5em;
  text-indent: -1.6em;
}

  .radio-align input {
    margin-right: 4px;
  }

.selection-sub-item {
  padding-left: 15px;
  font-size: 0.9em;
}

.table-striped {
  width: auto;
}

  .table-striped thead th {
    border-top: none;
    border-bottom: none;
  }

  .table-striped td, .table-striped th {
    padding: 4px 7px 4px 7px;
    vertical-align: middle;
    font-size: 15px;
  }

.indeterminate-checkbox {
  background: url('../Images/IndeterminateCheckbox.PNG');
  height: 13px;
  width: 13px;
  display: inline-block;
}

h2 {
  font-weight: 700;
  font-size: 22px;
  background-color: whitesmoke;
  color: #dd8445;
  margin: -20px -15px 15px -15px;
  padding: 4px;
}

h3 {
  font-weight: 700;
  font-size: 18px;
}

.btn-primary {
  background-color: #63cdcd;
  border-color: #63cdcd;
}

  .btn-primary:active {
    background-color: #0a906d !important;
    border-color: #0a906d !important;
    box-shadow: none !important;
  }

  .btn-primary:hover {
    background-color: #0a906d;
    border-color: #0a906d;
  }

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 40, 40, 0.25);
}

.btn-sm {
  margin-right: 5px;
}

.content {
  padding-top: 1.1rem;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.navbar {
  padding: 5px;
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.1);
}

/*.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}*/

.invalid {
  outline: 1px solid red;
}

li.validation-message {
  color: red;
  font-weight: 700;
  margin-bottom: 10px;  
}

div.validation-message {
  color: red;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline;
}

.form-control {
  width: 350px;
  font-size: 15px;
  padding: 3px 8px;
}

.narrow-control {
  width: 200px;
}

.wide-control {
  width: 400px;
}

.click-select {
  cursor: pointer;
  margin: 5px 2px 0 2px;
  height: 30px;
}

  .click-select td {
    padding: 3px;
  }

  .click-select:hover {
    background-color: gainsboro;
  }

.list-button {
  margin-top: 15px;
}

.list-spacing {
  margin-bottom: 5px;
}

.group-header {
  font-weight: 700;
  margin-bottom: 3px;
}

.group-header-lined {
  font-weight: 700;
  margin-bottom: 3px;
  padding-top:5px;
  border-top: 1px solid darkgray;
}

.group-header-inline {
  font-weight: 700;
  margin-bottom: 3px;
  display: inline-block;
}

.group-subheader {
  font-weight: 600;
  margin-bottom: 3px;
  margin-right: 10px;
  font-size: 0.95em;
  font-style: italic;
}

.btn-xs {
  padding: .20rem .35rem;
  font-size: .875rem;
  line-height: 1.0;
  border-radius: .2rem;
}

.group-content {
  margin-left: 10px;
  margin-bottom: 30px;
}

.form-control {
  display: inline-block;
}

.required-indicator {
  color: red;
  padding-left: 2px;
}

textarea.form-control {
  height: 150px;
  width: 100%;
}

.smaller-textarea {
  height: 80px !important;
}

.required-indicator:after {
  content: '*';
}

.required-disclaimer {
  color: red;
  margin-top: 20px;
  font-size: 0.8em;
}

  .required-disclaimer:after {
    content: '* - Required Value';
  }

.sort-header {
  cursor: pointer;
  text-decoration: underline;
  margin-right: 10px;
}

.sorted-ascending {
  background-repeat: no-repeat;
  background-position: right;
  /* black asc arrow */
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

.sorted-descending {
  background-repeat: no-repeat;
  background-position: right;
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

.modal-header {
  font-weight: 700;
  font-size: 20px;
  background-color: whitesmoke;
  color: #dd8445;
  height: 50px;
  padding: 10px 10px;
}

.modal-footer {
  background-color: whitesmoke;
  height: 50px;
  padding: 10px 10px;
}

.modal-backdrop {
  opacity: .5;
}

.checklist {
  margin-left: 10px;
}

.checklist-group {
  margin-left: -7px;
  margin-top: 2px;
  font-weight: 600;
  font-size: 0.85em;
}

.content-top-button {
  margin-bottom: 10px;
}

.none-indicator {
  margin-top: 10px;
  font-style: italic;
}

.none-sublist {  
  font-style: italic;
}

.indented {
  margin-left: 15px;
  margin-bottom: 10px
}

ul {
  padding-left: 25px;
}

.tight-ul {
  padding-left: 5px;
  margin-bottom: 0;
}

.tab-pane {
  padding: 10px;
  border: solid thin gainsboro;
}

.nav-tabs {
  border-bottom: 1px solid gainsboro;
}

.tab-group {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

  .tab-group .tab-button {
    display: block;
    position: relative;
    box-sizing: border-box;
    border-radius: 0;
    margin-right: 1px;
    margin-top: 1px;
    font-size: 15px;
    white-space: nowrap;
  }

.tab-link {
  border-bottom: none !important;
  border-top-color: gainsboro !important;
  border-left-color: gainsboro !important;
  border-right-color: gainsboro !important;
  background-color: gainsboro;
  color: #2c3e50 !important;
}

  .tab-link.active {
    background-color: white !important;
    font-weight: 900;
  }

.navbar-default .navbar-nav > li > a {
  color: rgba(128,130,133,1);
}

  .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: rgba(150, 201, 61, 1);
  }


@media (max-width: 767.98px) {
  .main .top-row {
    display: none;
  }
}

@media (min-width: 768px) {
  app {
    flex-direction: row;
  }

  .sidebar {
    width: 250px;
    position: sticky;
    top: 0;
  }

  .main .top-row {
    position: sticky;
    top: 0;
  }

  .navbar-toggler {
    display: none;
  }

  .sidebar .collapse {
    /* Never collapse the sidebar for wide screens */
    display: block;
  }
}
