img {
    max-width: 100%;
}

:target {
    background-color: #ffc;
}

hr {
    border: 0;
    border-bottom: 1px solid #999;
    width: 80%;
}

.faded {
    color: #999;
    display: inline;
}
ol .faded {
    font-size: smaller;
    display: block;
}
.faded strong {
    color: #900;
}
.faded ul, .faded li {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#heading em {
    font-style: normal;
    font-size: smaller;
    font-weight: normal;
    color: #900;
}

.front-col {
    width: 45%;
    padding: 1em 2.5%;
    float: left;
}
.front-col.right {
    float: right;
}
.front-col > h2 {
    margin-top: 0;
}

label { display: block; }
label.n { display: inline; white-space: nowrap; }

.error { color: #990000; }

.info {
    float: right;
    clear: right;
    width: 30%;
    font-size: 80%;
    border: solid 1px #996;
    background-color: #ffffcc;
    padding: 0.25em;
    margin: 0.5em 0 0.5em 0.5em;
    text-align: center;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; cursor: pointer; }
.autocomplete-selected { background: #eeeeff; }

.hero {
    line-height: 1.4;
    font-size: 120%;
    padding: 1em;
    background-color: #006;
    color: #eef;
}
.hero a {
    color: #ccf;
}

form {
    margin: -1em 0 0;
    border: solid 0px #006;
    border-top: none;
    padding: 1em;
    background-color: #eef;
}

input[type=text] {
    width: 80%;
}

input[type=submit] {
    font-size: 1.5em;
    color: #000;
    background-color: #eee;
}

/* Results */

.results {
    margin-bottom: 1em;
    font-size: 120%;
}
.results div:first-child {
    margin-bottom: 0.5em;
}
.imp {
    font-size: 150%;
}

.results-text {
    float: left;
    width: 47%;
    margin-right: 6%;
}

.stop-list {
    float: right;
    width: 47%;
}

.stop {
    float: left;
    width: 4em;
    height: 4em;
    text-align: center;
    background-color: #eeeeff;
    margin: 0.25em;
    padding: 0.25em;
}
.stop.chg {
    background-color: #ccccff;
}
.stop-arrow {
    float: left;
    padding: 1.5em 0 0;
}
