main > .container {
  padding: 70px 15px 20px;
}

.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.form-group {
  margin-bottom: 1rem;
}

/** Custom Styles */
table thead tr:first-child {
  position: sticky;
  top: 60px;
  z-index: 1000;
  background-color: white;
}

/** Choices JS Resets */
.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
  padding-right: 0 !important;
}

/** Dynamic form component */

.dynamic-form-table input,
.dynamic-form-table select {
  border-radius: 5px !important;
}

.dynamic-form-table div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dynamic-form-table td,
.dynamic-form-table th {
  vertical-align: middle;
  padding: 5px !important;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  z-index: 1045 !important;
}

/* Index page navigation design */
.site-index .nav-group {
  padding: 10px;
  border-radius: 2px;
}

.site-index .nav-group .col {
  background-color: #5fb1f9;
  text-align: center;
  margin: 0 5px;
  border-radius: 3px;
  height: 75px;
  line-height: 75px;
  transition: background-color ease-in-out 0.4s;
}

.site-index .nav-group .col:hover {
  background-color: #3da3fc;
}

.site-index .nav-group .col a {
  display: inline-block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: whitesmoke;
}
