* {
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}


html {
    font-family: Arial;
}

div {
    padding: 0.5em;
}

nav > a, nav > span {
    font-size: smaller;
    color: grey;
    padding-right: 0.5em;
}

label {
    min-width: 3em;
    display: inline-block;
    padding-left: 1em;
    margin-right: 0.5em;
}

button {
    padding: 0.75em;
    background: #008;
    color: #fff;
}

button:focus {
    outline: 0.25em solid #dd0;
}

table {
    border-collapse: collapse;
    width: 600px;
    margin-top: 1em;
    margin-left: 0.5em;
}

tr.selected {
    background-color: orange;
}

div:empty {
    display: none;
}

th, td {
    border: 1px solid;
    padding: 5px;
}

div.request-group {
    margin-top: 1.5em;
    margin-left: 1.5em;
    border: 1px solid black;
    width: 580px;
}

div.last-query {
    font-weight: bolder;
    margin-top: 1.5em;
    margin-left: 1em;
    border: 4px solid grey;
    width: 580px;
}

#last-query {
    padding-left: 0.5em;
    font-family: monospace;
    font-size: small;
    font-weight: bold;
}

.request-group input {
    margin-left: 0.5em;
}

.request-buttons {
    padding-left: 1.5em;
}

#send-request-new-page {
    position: absolute;
    left: 448px;
}

.search-field {
    position: absolute;
    left: 14em;
}

#result-container #query-params {
    padding-left: 0.5em;
    width: 600px;
}

#result-container #result-summary {
    padding-left: 1em;
    width: 600px;
}

.summary-label {
    font-weight: bold;
}

.summary-content {
    position: absolute;
    left: 12em;
}

.summary {
    background-color: #e3e3e3;
    line-height: normal;
    margin-bottom: 1em;
}

.summary > div {
    padding-top: 2px;
    padding-bottom: 2px;
}

.summary-leg {
    font-size: small;
}

#result-container .journey-map {
    margin: 15px;
    padding: 0;
    width: 600px;
    height: 400px;

    div {
        padding: 0;
    }
}

#json-editor {
    margin-top: 2em;
    padding: 1em;
    width: 600px;
}

#json-editor div {
    padding: 0 0 1px 1px;
}

#popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 0.5em;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 38px;
    left: -30px;
    min-width: 80px;
    font-size: 60%;

    .popup-content {
        margin: 10px;
    }
}

.result-table table {
    margin: 0 0 0 0;
    padding: 0;
}

div.result-table {
    margin-left: 1em;
    padding: 0;
    width: 600px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
}
