*, :after, :before {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #F1F2F9;
    color: #212529;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 2rem;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/********************************** Elements */

.box {
    background-color: white;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    padding: 1.25rem;
}

.subtext {
    color: #737373;
}

.text-align-right {
    text-align: right;
}

pre {
    overflow: scroll;
    max-height: 400px;
}

/********************************** Buttons */

button {
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 0.375rem;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    padding: .375rem .75rem;
}

/********************************** Planning */
#page-actions {
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
}
#page-actions p {
    margin-bottom: .25rem;
}

.planning-application {
    margin-bottom: .5rem;
}

.planning-application header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.planning-application h3 {
    margin-top: 0;
}

.planning-application--address {
    margin-top: 0;
}

@media (min-width: 768px) {
    .planning-application--details ul {
        column-count: 2;
    }
}

/********************************** Pagination */

.pagination {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
    padding: 0;
}

.page-item.disabled {
    color: #ababab;
}

.page-link {
    display: inline-block;
    padding: .5rem;
}

/********************************** Forms */

#search {
    margin-top: 2rem;
}

.sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.field {
    margin: .75rem 0;
}

#search input[type="text"],
#search input[type="date"],
#search select {
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    display: block;
    line-height: 1.25rem;
    padding: .5rem .75rem;
    width: 100%;
}
#search input[type="text"]:focus,
#search input[type="date"]:focus {
    box-shadow: 0 0 0 0.15rem rgba(0,123,255,.25);
    outline: none;
}
