/* open-sans-regular - latin */
@font-face {
    font-display: fallback;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/open-sans-v40-latin-regular-8655d20bbcc8cdbfab17b6be6cf55df3.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('/assets/fonts/open-sans-v40-latin-regular-3408fcf92be2fc1ccbcf3b6b5a8c6c71.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}
/* open-sans-700 - latin */
@font-face {
    font-display: fallback;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/fonts/open-sans-v40-latin-700-36f81686bbf993fbfe3aed9ae2f55e5b.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('/assets/fonts/open-sans-v40-latin-700-c132b75443276419fd8c1c25deaebf28.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Using id for increased specificity to override GDS Transport font */
#permits-body * {
    font-family: "Open Sans", Arial, sans-serif;
}

.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: max(calc(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: max(calc(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: max(calc(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 (max-device-width: 1024px)  {
    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%
    }

    .ca-permits-summary-list__row dt, .ca-permits-summary-list__row dd {
        display: block;
        width: 100%!important;
    }
}

@media screen and (max-device-width: 640px) {
    .govuk-select.ca-select-mobile-block {
        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;
}

.overflow-wrapped {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.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(/assets/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;
}

.ca-table-header-row {
    border-bottom: 1px solid #b1b4b6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.ca-table-header-row * {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.31579;
}

.ca-doc-size {
    font-family: "Open Sans", Arial, sans-serif;
}

@media screen and (max-width: 767px) {
    .ca-table-header-row {
        display: none;
    }
}

.ca-table-row-type {
    display: block;
    padding-left: 15px;
}

.ca-header-link {
    color: #fff;
}

.ca-header-link .govuk-header__link:hover {
    text-decoration: underline!important;
    text-decoration-thickness: 3px!important;
    text-underline-offset: 0.1em!important;
}

.govuk-notification-banner__content>* {
    box-sizing:border-box;
    max-width:100%!important;
}

.govuk-fieldset .govuk-notification-banner {
    margin-top: 35px;
}

@media (min-width: 48.0625em) {
    .govuk-header__logo.app-header__logo {
        min-width: 70%;
    }
}
