.shortlink-controls {
    display: inline;
    vertical-align: middle;
    white-space: nowrap;
}

#page-controls {
    margin-bottom: 5px;
}

#page-new-link {
    float: left;
}

#pagination-controls {
    float: right;
    margin-bottom: 5px;
}

#shortlinks {
    clear: both;
}

.align-left {
    text-align: left;
}

.shortlink {
    white-space: nowrap;
    text-decoration: none !important;
}

.link-scheme {
    color: darkgrey;
}

.link-domain {
    color: darkblue;
}

.link-resource {
    color: darkgreen;
}

.link-sep {
    color: lightgray;
}

.target-link {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
}

.link-created {
    display: flex;
}

.link-created > input[type="text"] {
    flex: 1;
    margin-right: 10px;
}

#new-link-form {
    border-bottom: 1px dashed lightgrey;
    padding: 10px;
}

#existing-links {
    margin-top: 10px;
}

th {
    text-align: center;
    white-space: nowrap;
}

td {
    text-align: center;
    font-size: 0.8em;
    padding: 2px;
}

table {
    width: 100%;
}

.form-grid {
    width: 80%;
    margin: auto;
}

.form-grid p {
    display: flex;
    width: 90%;
    align-items: center;
}

.field-label {
    margin-right: 5px;
    display: inline;
}

.form-grid input {
    flex: 1;
    margin: 2px;
    padding: 5px;
}

.form-grid select {
    margin: 2px;
    padding: 5px;
}

.stretch {
    flex: 1;
}
