
html {
  position: relative;
  min-height: 100%;
}
html, body {
  color: #333;
}
body {
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  body {
    margin-bottom: 80px;
  }
}

/* Generic */

.form-control.selectize-control {
  height: 34px;
}
.table thead {
  background-color: #eee;
}
.table-fixed {
  table-layout: fixed;
  word-wrap: break-word;
}
.has-more-info {
  cursor: help;
}

.link-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  color: #577492;
  background: transparent;
  cursor: pointer;
}
.link-btn:hover {
  color: #3a4e62;
}

.no-js .js-only {
  display: none;
}

.tmcheckboxes-selected.tmcheckboxes-selected.tmcheckboxes-selected {
  transition: none;
  outline: 2px solid #ced9e4;
  outline-offset: 0;
}

/* Navbar */

.navbar-inverse {
  background-color: #183C72;
  color: #fff;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 0px;
  }
}
.navbar-inverse .navbar-nav > li > a {
  color: #92ABD2;
}
.navbar-inverse .navbar-nav > li > a:hover {
  color: #fff;
}
.navbar-inverse .navbar-nav > li > a .glyphicon {
  margin-right: 7px;
}

/* Footer */

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #f5f5f5;
}
.footer-left,
.footer-right {
  padding: 10px 0;
  height: 40px;
  line-height: 40px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.footer-left {
  float: left;
}
.footer-right {
  float: right;
}
@media (max-width: 767px) {
  .footer {
    height: 80px;
  }
  .footer-left,
  .footer-right {
    float: none;
    padding: 0;
  }
}


/* App */

.products-supplier-product-code {
  cursor: pointer;
}

.results-tecdoc-product-id {
  font-weight: normal;
  color: #888;
  cursor: text;
}

.vehicle-search-manufacturer.vehicle-search-manufacturer,
.vehicle-search-modelseries.vehicle-search-modelseries {
  height: 90px;
}
.model-filter-active .vehicle-search-manufacturer,
.model-filter-active .vehicle-search-modelseries {
  height: 600px;
}
.vehicle-search.active {
  margin-top: 50px;
  margin-bottom: 50px;
}

#compatibilities,
#oenumbers {
  min-height: 500px;
}
.compatibility-form {
  padding: 20px 0 30px 0;
}
.compatibility-checkbox {
  vertical-align: top;
}
.compatibility-label {
  font: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.compatibility-vehicle-id {
  white-space: nowrap;
}
.compatibility-vehicle-description {
  width: 100%;
}
.custom-criteria-edit-active .compatibility-vehicle-description {
  width: 50%;
}
.custom-criteria-edit-active tbody tr:hover {
  background: #f5f5f5;
}
.compatibility-vehicle-criteria {
  font-size: 12px;
  color: #888;
}
.compatibility-custom-criteria-cell.compatibility-custom-criteria-cell {
  width: 40%;
  padding: 0;
}
.compatibility-custom-criteria-field {
  width: 100%;
  height: 30px;
  padding: 5px 50px 5px 5px;
  border: 0;
  background: transparent;
}
.no-js .compatibility-custom-criteria-field {
  padding-right: 5px;
}
.compatibility-custom-criteria-field::-ms-clear {
  display: none;
}
.compatibility-custom-criteria-actions {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 3px;
  height: 30px;
}
.compatibility-custom-criteria-actions .glyphicon {
  padding: 7px 3px;
  cursor: pointer;
  color: #eee;
}
.compatibility-custom-criteria-actions .glyphicon:hover {
  color: #666;
}
.compatibility-cell-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.compatibility-vehicle-description-compact {
  position: absolute;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compatibility-vehicle-description-compact,
.compatibility-vehicle-description-detailed {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}
.compatibility-vehicle-description-toggle {
  position: fixed;
  top: -100px;
  left: -100px;
  opacity: 0;
  pointer-events: none;
}
.compatibility-vehicle-description-detailed,
.compatibility-vehicle-description-toggle:checked + .compatibility-vehicle-description-compact {
  display: none;
}
.compatibility-vehicle-description-toggle:checked + .compatibility-vehicle-description-compact + .compatibility-vehicle-description-detailed {
  display: block;
}


/* Table sort */

th.sort-header::-moz-selection {
  background: transparent;
}
th.sort-header::selection {
  background: transparent;
}
th.sort-header {
  cursor: pointer;
  white-space: nowrap;
}
th.sort-header::-moz-selection,
th.sort-header::selection {
  background: transparent;
}
table th.sort-header:after {
  content: "";
  float: right;
  margin-top: 7px;
  margin-left: -10px;
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: #404040 transparent;
  visibility: hidden;
}
table th.sort-header:hover:after {
  visibility: visible;
}
table th.sort-up:after,
table th.sort-down:after,
table th.sort-down:hover:after {
  visibility: visible;
  opacity: 0.4;
}
table th.sort-up:after {
  border-bottom: none;
  border-width: 4px 4px 0;
}
