.app-related-items {
    padding-top: 10px;
    border-top: 2px solid #1d70b8
}

.app-related-items li {
    margin-bottom: 10px
}

.app-width-container {
    max-width: 1200px;
    margin: 0 15px
}

@supports (margin: 0px) {
    .app-width-container {
        margin-right: max(15px, calc(15px + env(safe-area-inset-right)));
        margin-left: max(15px, calc(15px + env(safe-area-inset-left)))
    }
}

@media (min-width: 40.0625em) {
    .app-width-container {
        margin: 0 30px
    }

    @supports (margin: 0px) {
        .app-width-container {
            margin-right: max(30px, calc(15px + env(safe-area-inset-right)));
            margin-left: max(30px, calc(15px + env(safe-area-inset-left)))
        }
    }
}

@media (min-width: 1160px) {
    .app-width-container {
        margin: 0 auto
    }

    @supports (margin: 0px) {
        .app-width-container {
            margin: 0 auto
        }
    }
}

ol li strong.nav-completed {
    float: right;
    font-size: 14px;
}

ol li {
    margin: 10px 0
}

@media screen and (orientation: landscape) and (max-width: 812px) and (min-width: 569px), (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    ol li strong.nav-completed {
        float: left;
        clear: left;
        margin-top: 5px;
        display: inline-block;
    }

    ol li {
        float: left;
        display: block;
        width: 100%
    }

    ol li > a {
        float: left;
        display: block;
        width: 100%
    }
}

@media
(-webkit-min-device-pixel-ratio: 2)
and (min-resolution: 192dpi) and (max-width:640px){
    ol li strong.nav-completed {
        float: left;
        clear: left;
        margin-top: 5px;
        display: inline-block;
    }

    ol li {
        float: left;
        display: block;
        width: 100%
    }

    ol li > a {
        float: left;
        display: block;
        width: 100%
    }

    ol li strong.nav-completed {
        float: left;
        font-size: 14px;
    }
}

div.hidden-if-fallback, tbody.hidden-if-fallback {
    display: none;
}

.app-dropzone {
    border: 3px dashed #003078;
    text-align: center;
    padding: 15px 15px;
    margin-bottom: 40px;
}

.dz-progress-back {
    background-color: #5694ca;
    height: 20px;
}

.dz-progress-front {
    background-color: #003078;
    height: 20px;
    width: 0;
}

.input-styled-like-p {
    color: #0b0c0c;
    font-size: 19px;
    border: none;
    background-color: white;
    width: 100%;
}

button.full-width-start-button {
    width: 100%;
}

a.full-width-start-button {
    width: 100%;
}

.pre-wrapped {
    white-space: pre-wrap;
}

.applications-filter {
    background-color: #f3f2f1;
}

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

.banner-menu {
    float: right;
}

.permit-reference {
    font-weight: bold;
}

/* Start of openlayers map styling. */

.map {
    width: 100%;
    height: 400px;
}

.map:-webkit-full-screen {
    height: 100%;
    margin: 0;
}

.map:-ms-fullscreen {
    height: 100%;
}

.map:fullscreen {
    height: 100%;
}

.map .ol-rotate {
    top: 3em;
}

.map-js-components {
    display: none;
}

.js-enabled .map-js-components {
    display: block;
}

.os-api-branding-logo {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 8px;
    width: 90px;
    height: 24px;
    background-image: url(images/os-logo-maps-678b0b19c4978ecc2dce5bfb7da178af.svg);
    background-size: 90px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* End of openlayers map styling. */

/* Override for header */
.govuk-header__link--service-name {
    margin-bottom: 0!important;
}

.govuk-header__link:hover {
    text-decoration: none!important;
}

.govuk-header__link.govuk-header__link--service-name {
    font-weight: 400!important;
}
@media (min-width: 48.0625em) {
    .govuk-header__logo.app-header__logo {
        min-width: 50%;
    }
    .govuk-header__content {
        max-width: 50%;
    }
}
