
/* Keep Alice route validity and favourite controls visible and usable. */
.routes-view .table-responsive { padding-left: 4px; }
.table-routes > thead > tr > th:first-child,
.table-routes > tbody > tr > td:first-child {
  box-sizing: border-box;
  width: 64px;
  min-width: 64px;
  padding-left: 10px;
  padding-right: 8px;
  white-space: nowrap;
  overflow: visible;
}
.table-routes > tbody > tr > td:first-child > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  min-width: 18px !important;
  height: 22px !important;
  margin: 0 1px 0 0 !important;
  vertical-align: middle;
  opacity: 1;
}
.table-routes > tbody > tr > td:first-child i,
.table-routes > tbody > tr > td:first-child svg {
  width: 12px !important;
  height: 12px !important;
  font-size: 12px !important;
  line-height: 12px !important;
  overflow: visible;
}
.table-routes > tbody > tr > td:first-child {
  font-size: 0 !important;
}
.table-routes > tbody > tr > td:first-child a,
.table-routes > tbody > tr > td:first-child span {
  margin-left: 0 !important;
  margin-right: 3px !important;
}
.details-main .routes-quick-links {
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}
.details-main .routes-view {
  margin-top: 12px !important;
}
.routes-view .table-routes > thead > tr > th,
.routes-view .table-routes > tbody > tr > td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.table-routes > tbody > tr > td:first-child a:focus-visible,
.table-routes > tbody > tr > td:first-child button:focus-visible {
  outline: 3px solid #102b50;
  outline-offset: 1px;
  border-radius: 4px;
}
@media (min-width: 768px) {
  /* Alice places route tooltips to the left of these icons. Its responsive
     wrappers must not crop the tooltip on desktop. */
  .details-main.row > .col-main,
  .routes-view,
  .routes-view .table-responsive,
  .routes-view .table-routes {
    overflow: visible !important;
  }
}
@media (max-width: 767px) {
  .mci-route-enhanced > .table.table-routes > tbody > tr {
    grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
  }
  .mci-route-enhanced > .table.table-routes > tbody > tr > td:first-child {
    width: 64px;
    min-width: 64px;
    padding: 2px 0;
  }
}
.mci-best-route-tooltip {
  position: fixed;
  z-index: 10000;
  margin: 0;
  padding: 6px 9px;
  border-radius: 4px;
  background: #102b50;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}
.mci-route-control-native-tooltip {
  display: none !important;
}
