html,
body {
  height: 100%;
}

.wrap {
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}

.wrap > .container {
  padding: 70px 15px 20px;
}

.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: "\e151";
}

a.desc:after {
  content: "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.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: 15px;
  border: none;
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 15px;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.login-layout .container-fluid {
  max-width: 1280px;
}

.login-layout .login-panel {
  margin-top: calc(50vh - 140px);
}

.login-layout .request-password-panel {
  margin-top: calc(50vh - 100px);
}

label.control-label + .help-block {
  margin-top: 0;
  margin-bottom: 5px;
  float: right;
}

.form-group.required .control-label:after {
  content: ' *';
  color: #a94442;
}

.nobr {
  white-space: nowrap;
}

.wide-grid tbody td {
  white-space: nowrap;
}

.right_col {
  overflow-x: auto;
  overflow-y: hidden;
  min-height: calc(100vh - 58px) !important;
}

.nav_menu {
  margin-bottom: 0;
}

.x_panel {
  width: auto;
  min-width: 100%;
}

.top_nav .navbar-right {
  width: auto;
}

.awesome-grid {
  margin: 20px 0;
}

.awesome-grid-table tbody tr {
  cursor: default;
}

.uc {
  text-transform: uppercase;
}

/* -- modal center -- */
.modal {
  text-align: center;
}

.modal:before {
  content: ' ';
  display: inline-block;
  height: 100%;
  width: 0;
  vertical-align: middle;
}

.modal-dialog {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

/* -- /modal center -- */
.modal-header {
  padding-left: 25px;
  padding-right: 20px;
}

.modal-header h3 {
  margin: 0;
}

.modal-header .close {
  margin-top: 3px;
  margin-bottom: 0;
}

.modal-body {
  padding-left: 25px;
  padding-right: 25px;
}

.modal-payment .modal-dialog {
  width: 400px;
}

.flash-message {
  width: 300px;
  animation-duration: 250ms !important;
}

.flash-message span.fa {
  font-size: 20px;
  margin-right: 9px;
  position: relative;
  top: 2px;
}

.flash-message span[data-notify="message"] {
  display: inline-block;
  width: 210px;
  vertical-align: top;
}

label.control-label {
  font-weight: normal;
}

.required label.control-label {
  font-weight: bold;
}

.navbar-nav .open .dropdown-menu {
  width: 238px;
}

.form-buttons {
  margin-top: 20px;
}

.form-buttons-top {
  margin-bottom: 20px;
}

.site-error {
  margin-top: 30vh;
  text-align: center;
}

.site-error h2 {
  font-size: 30px;
  margin: 40px auto 20px;
}

.site-error .site-error-text {
  color: #fff;
  font-size: 14px;
}

.sites-collapse.collapse {
  display: inline-block;
  vertical-align: top;
}

td span {
  line-height: inherit;
}

td {
  border-collapse: collapse;
  border: 1px black solid;
}

.rotate {
  opacity: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg) translate(0%, -50%);
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: top left;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.topvisor-select {
  padding: 6px 12px;
}

.topvisor-table {
  width: auto;
  margin-top: 20px;
  white-space: nowrap;
  overflow: hidden;
}

.topvisor-table th, .topvisor-table td {
  min-width: 32px;
}

.topvisor-table th.collapsed:not(.topvisor-collapse), .topvisor-table td.collapsed:not(.topvisor-collapse) {
  opacity: 0;
  padding: 0;
  width: 0;
  min-width: 0;
  pointer-events: none;
  border: none !important;
}

.topvisor-table th.collapsed:not(.topvisor-collapse) > *, .topvisor-table td.collapsed:not(.topvisor-collapse) > * {
  display: none;
}

.topvisor-table th.topvisor-collapse, .topvisor-table td.topvisor-collapse {
  min-width: 36px;
  position: relative;
}

.topvisor-table th.topvisor-collapse:not(:last-child)::after, .topvisor-table td.topvisor-collapse:not(:last-child)::after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  right: -1px;
  height: 10000px;
  border-left: 2px solid #ddd;
}

.topvisor-table th.topvisor-collapse.collapsed span, .topvisor-table td.topvisor-collapse.collapsed span {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  transform-origin: 100% 0;
  transform: rotate(270deg);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 30px;
  width: 0;
}

.topvisor-table th.topvisor-collapse.collapsed .glyphicon-chevron-left, .topvisor-table td.topvisor-collapse.collapsed .glyphicon-chevron-left {
  transform: scaleX(-1);
  float: none;
}

.topvisor-table th.topvisor-collapse.collapsed::after, .topvisor-table td.topvisor-collapse.collapsed::after {
  border-left: 1px solid #ddd;
}

.topvisor-table th.topvisor-collapse .glyphicon-chevron-left, .topvisor-table td.topvisor-collapse .glyphicon-chevron-left {
  margin: 0;
  background: none;
  border: none;
  padding: 0;
  float: right;
  height: 15px;
}

.topvisor-toggle-btn {
  background: transparent;
  border: none;
  padding: 0;
  border-bottom: 1px dashed currentColor;
}

.topvisor-toggle-btn:hover {
  border-bottom-color: transparent;
}

.topvisor-toggle-btn span:last-child {
  display: none;
}

.topvisor-toggle-btn.active span:first-child {
  display: none;
}

.topvisor-toggle-btn.active span:last-child {
  display: block;
}

.hide {
  display: none !important;
}

.bold {
  font-weight: bold;
}
