@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

::-ms-clear {
    display: none;
}

h4 {
    font-weight: 600;
    font-size: 19px;
}

#logo {
    background-image: none !important;
}

.copyright a {
    background-image: none !important;
    padding: 0 !important;
}

.loading {
    opacity: 0.5;
}

.optional-highlighter {
    color: #2b8cc4;
}

    .optional-highlighter:after {
        content: "(Optional)";
        font-size: small;
        text-align: center;
        vertical-align: top;
        padding: 5px;
    }

.modified-highlighter {
    color: #2b8cc4;
}

    .modified-highlighter:after {
        content: "(Corrected)";
        font-size: small;
        text-align: center;
        vertical-align: top;
        padding: 5px;
    }

.deleted-highlighter {
    color: #6F777B;
}

    .deleted-highlighter:after {
        content: "(Deleted)";
        font-size: 12px;
        text-align: center;
        vertical-align: top;
        padding: 5px;
    }

.locked-highlighter {
    color: #6F777B;
}

    .locked-highlighter:after {
        content: "(Locked)";
        font-size: 12px;
        text-align: center;
        vertical-align: top;
        padding: 5px;
    }

.nav-tabs {
    border-bottom: 1px solid #808080;
}

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
        border: 1px solid #808080;
        border-bottom-color: transparent;
    }

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loading {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.loading:before {
    content: 'Loading�';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -10px;
    margin-left: -10px;
}

.loading:not(:required):before {
    content: '';
    border-radius: 50%;
    border-top: 5px solid #000000;
    border-right: 5px solid transparent;
    animation: loading .6s linear infinite;
    -webkit-animation: loading .6s linear infinite;
}

.remove {
    cursor: pointer;
}

.withspacing {
    margin-top: 1em;
    margin-bottom: 1em;
}

.fullwidth {
    width: 100% !important;
}

.number {
    /*font-family: ntatabularnumbers;*/
    text-align: right;
    padding-right: 10px !important;
}

#global-header .header-wrapper {
    max-width: 100%;
}

#global-header-bar, #global-cookie-message p {
    margin: 0 30px 0 30px;
    max-width: 100%;
}

.text {
    max-width: 30em;
}

.app-width-container {
    margin-left: 30px;
    margin-right: 30px;
}

.govuk-header__container {
    border-bottom-color: #005ea5;
}

#content {
    margin: 0 auto;
    /*max-width: 990px;
    padding-left: 2em;
    padding-right: 2em;
    max-width: 1020px;*/
    position: relative;
}

    #content article, div.footer-meta, .breadcrumbs {
        padding: 0 30px 45px 30px;
        display: block;
    }

main {
    display: block;
}

ul#proposition-links li {
    list-style: none;
}

.ui-widget-content a {
    color: #2E3191;
}

/* Table styles */

.table-inverted-header th {
    color: white;
    background-color: black;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #808080;
}

.table-text-small {
    font-size: 16px;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 4px;
    border: 0;
}

    .pagination li.disabled {
        display: none;
    }

        .pagination li.disabled:has(> a[ng-switch-when='more']) {
            display: inline;
        }

    .pagination li.active a {
        font-weight: 700;
        outline: 1px solid rgba(0,0,0,0);
        background-color: #1d70b8;
        color: white;
    }

    .pagination a[ng-switch-when='more'] {
        color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
    }

        .pagination a[ng-switch-when='more']::after {
            content: '⋯';
            font-size: 19px;
            font-weight: 700;
            color: #505a5f;
        }

    .pagination a[ng-switch-when='prev'] {
        color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .pagination a[ng-switch-when='prev']::after {
            content: 'Previous';
            color: #1d70b8;
            font-size: 19px;
            font-weight: 700;
            text-decoration: underline;
        }

        .pagination a[ng-switch-when='prev']::before {
            display: block;
            width: .9375rem;
            height: .8125rem;
            color: #505a5f;
            fill: currentcolor;
            margin-right: 15px;
            forced-color-adjust: auto;
            content: ' ';
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="13" width="15" aria-hidden="true" focusable="false" viewBox="0 0 15 13"> <path fill="%23505a5f" d="m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z"></path></svg>');
        }

    .pagination a[ng-switch-when='next'] {
        color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .pagination a[ng-switch-when='next']::before {
            content: 'Next';
            color: #1d70b8;
            font-size: 19px;
            font-weight: 700;
            text-decoration: underline;
        }

        .pagination a[ng-switch-when='next']::after {
            display: block;
            width: .9375rem;
            height: .8125rem;
            color: #505a5f;
            fill: currentcolor;
            margin-left: 15px;
            forced-color-adjust: auto;
            content: ' ';
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="13" width="15" aria-hidden="true" focusable="false" viewBox="0 0 15 13"> <path fill="%23505a5f" d="m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"></path></svg>');
        }

    .pagination > li {
        display: inline;
    }

        .pagination > li > a, .pagination > li > span {
            position: relative;
            float: left;
            padding: 10px 15px;
            font-size: 19px;
            font-weight: 400;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #337ab7;
            text-decoration: underline;
            background-color: #fff;
            border: none;
        }

.ng-table-counts * {
    font-size: 16px !important;
}

.ng-table a {
    text-decoration: none;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

    .btn-group > .btn {
        border-radius: 0;
        margin-left: 0;
    }

    .btn-group-vertical > .btn, .btn-group > .btn {
        position: relative;
        float: left;
    }

    .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
        margin-left: -1px;
    }
/*
table {
    width: 100%;
    background-color: #f1f1c1;
}

    table tr:nth-child(even) {
        background-color: #eee;
        font-size: medium;
    }

    table tr:nth-child(odd) {
        background-color: #fff;
        font-size: medium;
    }

    table td {
        padding: 5px;
    }

    table th {
        color: white;
        background-color: black;
    }
*/
/*
table {
    border-collapse: collapse;
    border-spacing: 0;
    border-color: gray;
    font-size: 16px;
}

tr.even {
    background-color: #F8F8F8;
}

tr.odd {
    background-color: #FFF;
}

th {
    padding: 3px 18px 3px 10px;
    border: solid 1px #bfc1c3;
    line-height: 1.25em;
    text-align: left;
    color: #0b0c0c;
    font-weight: 700;
    background-color: #dee0e2;
    font-size: 16px;
}

td {
    border: dotted 1px #bfc1c3;
    padding: 3px 10px;
}

    td ul {
        margin: 0;
    }

    td form {
        display: inline-block;
    }

*/

h2 {
    font-size: 24px;
    clear: both;
    margin-top: 1em;
}

h1 {
    font-size: 48px;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 0.2em;
    font-weight: bold;
}

legend {
    font-weight: 400;
    font-size: 150%;
}

.OriginalAmendedDatalabel {
    font-weight: 400;
    display: block;
    padding: 0.25em 0;
    margin-left: 2em;
    color: #6F777B;
}

label.inline {
    display: inline;
    margin-right: 2em;
}

.datefield {
    width: 7em !important;
}

select {
    width: 85%;
}

fieldset {
    margin-top: 2em;
}

.contents h2 {
    font-size: 19px;
    line-height: 1.31579;
    text-transform: none;
    font-weight: 700;
    margin-top: 0;
}

.contents ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .contents ol li {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
        text-transform: none;
        margin-left: 0;
        padding-left: 0;
    }

    .contents ol a {
        display: block;
        padding: 5px 0;
        border-bottom: 1px solid #bfc1c3;
        text-decoration: none;
    }

@media (min-width: 769px) {
    .contents {
        width: 25%;
        float: left;
    }

    .inner {
        margin-left: 25%;
        padding: 0 10em 2em 1em;
    }
}

.detailsboxleft table {
    width: 100%;
}

table.licDetails {
    border: none;
    margin-bottom: 1em;
}

    table.licDetails td, table.licDetails th {
        background-color: #fff;
        border: none;
        border-bottom: 1px solid #BFC1C3;
        padding: 2px;
        vertical-align: top;
    }

table.spaced td, table.spaced th {
    padding-top: 6px;
    padding-bottom: 6px;
    vertical-align: middle !important;
}

@media (min-width: 700px) {
    .detailsboxleft {
        width: 70%;
        margin-right: 4%;
        float: left;
    }

    .detailsboxright {
        width: 25%;
        float: right;
    }
}

.input-group {
    display: flex;
}

input[type=submit] {
    /*min-height: 35px;*/
    padding: 8px 10px 5px 10px !important;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.button-compact {
    padding: 2px 5px 0px 5px !important;
    font-size: 16px !important;
}

.lineabove {
    border-top: 2px solid #2b8cc4;
    padding-top: 1em;
}

.page-header {
    border-bottom: 5px solid #2b8cc4;
    margin: 0 0 2em 0;
}

    .page-header p {
        margin-top: 0;
    }

.NoBottomMargin {
    margin-bottom: 0 !important;
}

.button-warning {
    background: #B10E1E !important;
}

.button-secondary:hover, .button-secondary:focus, .button-secondary:visited {
    color: #0b0c0c;
}

.button-secondary:hover, .button-secondary:focus {
    background: #d0d3d6 !important;
}

.button-secondary:visited {
    background: #dee0e2 !important;
}

a.button:hover, a.button:visited, a.button:link, a.button:active, a.button:focus {
    color: #fff;
    text-decoration: none;
}

.button, .button-primary, .button-secondary {
    background-color: #00823b;
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    padding: 0.3em 0.6em 0.2em 0.6em;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 0 #003518;
    -moz-box-shadow: 0 2px 0 #003518;
    box-shadow: 0 2px 0 #003518;
    font-size: 1em;
    line-height: 1.25;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 15px 15px 0;
    padding: 0.5263157895em 0.7894736842em 0.2631578947em 0.7894736842em;
    vertical-align: top;
}

.button-secondary {
    background: #dee0e2;
    -webkit-box-shadow: 0 2px 0 #b5babe;
    -moz-box-shadow: 0 2px 0 #b5babe;
    box-shadow: 0 2px 0 #b5babe;
    color: #0b0c0c;
}

    .button-secondary a.ui-button, .button-secondary a.ui-button:hover, .button-secondary a.ui-button:visited {
        color: #0b0c0c;
    }

span.input-validation-error, p.input-validation-error,
div.input-validation-error, td.input-validation-error {
    background-color: #fef7f7;
    border-left: 2px solid #df3034;
    margin: 0 -1em 0.5em -1em;
    padding: 0.75em 1em 1em 1em;
}

input.input-validation-error {
    border: 2px solid #df3034;
}

.field-validation-error, .validation-message {
    font-size: 19px;
    line-height: 1.25;
    color: #b10e1e;
    font-weight: bold;
    text-transform: none;
    display: block;
    border-left: 5px solid #b10e1e;
    padding-left: 15px;
    padding: 0.5em 15px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.error .field-validation-error, .error .validation-message {
    border-left: none;
    padding-left: 0;
}

.validation-summary-errors {
    border: 3px solid #df3034;
    box-sizing: border-box;
    padding: 1em 1em 0.25em 1em;
    margin: 1em -1em 1.5em 0em;
    background-color: #fef7f7;
}

    .validation-summary-errors li, .validation-summary-errors li a {
        color: #df3034;
        text-decoration: none;
        font-size: 16px;
    }

.validation-summary-valid {
    border: 3px solid #006435;
    box-sizing: border-box;
    padding: 1em 1em 0.25em 1em;
    margin: 1em -1em 1.5em 0em;
}

.warningbox {
    color: #900;
    border: 3px solid #900;
    background: #FEF7F7;
    padding: 1em;
}

.accountRequired {
    color: #900;
}

input, select, textarea {
    font-size: 1em;
}

.ui-tabs {
    background: #fff;
    border: none;
}

.ui-tabs-nav {
    background: #fff;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #A1ACB2;
    border-radius: 0 !important;
}

    .ui-tabs-nav a {
        font-size: 16px;
        padding-left: 16px;
        padding-right: 16px;
        border-radius: 0;
        border: none !important;
        background: #fff;
    }

    .ui-tabs-nav li {
        border: none !important;
    }

    .ui-tabs-nav a:active {
        border: none;
    }

.ui-tabs-loading {
    background: #fff;
}

.ui-tabs-anchor {
    color: #2e3191 !important;
}

.ui-tabs-nav li.ui-tabs-active {
    background: #fff;
    color: #0b0c0c;
    border-bottom: none !important;
    border-top: 1px solid #A1ACB2 !important;
    border-left: 1px solid #A1ACB2 !important;
    border-right: 1px solid #A1ACB2 !important;
    border-radius: 0 !important;
}

a.ui-tabs-anchor:hover {
    background-color: #eaedef;
    color: #2e8aca !important;
}

.ui-tabs-active a, .ui-tabs-active a.ui-tabs-anchor:hover {
    color: #0b0c0c !important;
    border: none;
}

.ui-tabs-panel {
    border: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui-widget {
    font-size: 1em;
}

#DataTables_Table_0_info {
    font-size: 16px;
}

#processing_overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-top: -1em;
    margin-left: -100px;
    z-index: 2000;
    background-color: #fff;
    border: 2px solid #2b8cc4;
    text-align: center;
}

    #processing_overlay div {
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        padding: 5px;
    }

        #processing_overlay div i {
            vertical-align: middle;
            font-weight: normal;
        }

.footer-resources {
    border: 1px solid #a1acb2;
    border-width: 0 0 1px 0;
    margin-bottom: 30px;
    padding: 0 0 60px 0;
}

    .footer-resources ul {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
        text-transform: none;
        list-style: none;
        border: 1px solid #a1acb2;
        border-width: 1px 0 0 0;
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
        vertical-align: top;
        min-height: 160px;
    }

    .footer-resources li {
        list-style-type: none;
        font-size: 16px;
        display: block;
        float: left;
        clear: left;
        margin: 0 0 15px 0;
    }

#footer .footer-wrapper {
    max-width: 1020px;
}

a img {
    border: none;
}

.large-numbers {
    padding: 30px 0;
}

    .large-numbers ol {
        margin: 0;
        padding: 0;
    }

    .large-numbers li {
        list-style: none;
        font-size: 16px;
        margin: 20px 0;
        padding-right: 2em;
        min-width: 25%;
        float: left;
    }

        .large-numbers li strong {
            font-size: 70px;
            line-height: 1;
            display: block;
        }

    .large-numbers abbr {
        font-size: 16px;
    }

.type-header h2 {
    font-size: 27px;
    line-height: 1.1111111111;
    text-transform: none;
    padding-top: 2px;
    padding-bottom: 3px;
    margin: 0;
    font-weight: bold;
}

.type-header p {
    font-size: 80px;
    line-height: 1;
    display: block;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.type-header abbr {
    font-size: 19px;
}

span.validationMessage {
    color: #DF3034;
    font-size: 16px;
    display: block;
}

.disabled {
    opacity: 0.5;
}

.mismatch {
    background-color: #EF9998; /* mellow-red-50 */
    font-weight: bold;
}

.dataTables_wrapper {
    margin-bottom: 3em;
}

label.hangingIndent {
    text-indent: -1.5em;
    margin-left: 1.5em;
}

label.disabled {
    color: #6F777B;
}

td pre {
    overflow-x: scroll;
    max-width: 700px;
    font-size: small;
}

details {
    display: block;
}

    details summary {
        display: inline-block;
        color: #005ea5;
        width: 100%;
        cursor: pointer;
        position: relative;
        margin-bottom: 0.2631578947em;
    }

        details summary:hover {
            color: #2e8aca;
        }

        details summary:focus {
            outline: none;
        }

    details .summary {
        text-decoration: underline;
    }

    details .arrow {
        margin-right: .35em;
        font-style: normal;
    }

.panel-indent {
    clear: both;
    border-left: 5px solid #bfc1c3;
    padding: 0.7894736842em;
    margin-bottom: 0.7894736842em;
}

    .panel-indent > :only-child, .panel-indent > :last-child {
        margin-bottom: 0;
    }

    .panel-indent > :only-child, .panel-indent > :last-child {
        margin-bottom: 0;
    }

    .panel-indent > :first-child {
        margin-top: 0;
    }

.document-list {
    clear: both;
    border: none;
    margin: 0;
    padding: 0;
}

    .document-list .document-row {
        display: block;
        list-style: none;
        border-bottom: 1px solid #bfc1c3;
        padding: 5px 0 10px;
    }

        .document-list .document-row h3, .document-list .document-row .title {
            display: block;
            line-height: 1.31578947;
            text-transform: none;
            margin-top: 5px;
        }

        .document-list .document-row ul li {
            line-height: 1.42857143;
            font-weight: 400;
            text-transform: none;
            float: left;
            display: block;
            list-style: none;
            padding: 0 15px 0 0;
        }

        .document-list .document-row ul {
            border: none;
            margin: 0;
            padding: 0;
        }

        .document-list .document-row a {
            text-decoration: none;
        }

        .document-list .document-row:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }

/*** Form Fields ***/

input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control {
    line-height: 1.3157894737 !important;
}

fieldset {
    width: 100%;
}

textarea {
    display: block;
}

/*.form-group {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    width: 100%;
    margin-bottom: 15px;
}*/

/*@media (min-width: 641px) {
    .form-group {
        margin-bottom: 30px;
    }
}

.form-group-related {
    margin-bottom: 10px;
}

@media (min-width: 641px) {
    .form-group-related {
        margin-bottom: 20px;
    }
}

.form-group-compound {
    margin-bottom: 10px;
}*/

.form-label,
.form-label-bold {
    display: block;
    color: #0b0c0c;
}

.form-label {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
}

@media (min-width: 641px) {
    .form-label {
        font-size: 19px;
        line-height: 1.3157894737;
    }
}

.form-label-bold {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
}

@media (min-width: 641px) {
    .form-label-bold {
        font-size: 19px;
        line-height: 1.3157894737;
    }
}

legend .form-label,
legend .form-label-bold {
    padding-bottom: 7px;
}

.error legend .form-label,
.error legend .form-label-bold {
    padding-bottom: 0;
}

.form-block {
    float: left;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 5px;
}

@media (min-width: 641px) {
    .form-block {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

.form-hint {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
    display: block;
    color: #6f777b;
    font-weight: normal;
    margin-bottom: 5px;
}

@media (min-width: 641px) {
    .form-hint {
        font-size: 19px;
        line-height: 1.3157894737;
    }
}

.form-control {
    font-size: 16px;
    line-height: 1.25;
    text-transform: none;
    background-color: #fff;
    border: 1px solid #bfc1c3;
    border-radius: 0;
    box-shadow: none;
}

/*@media (min-width: 641px) {
    .form-control {
        font-size: 19px;
        line-height: 1.3157894737;
    }
}

@media (min-width: 641px) {
    .form-control {
        width: 50%;
    }
}*/

.form-radio {
    display: block;
    margin: 10px 0;
}

    .form-radio input {
        vertical-align: middle;
        margin: -4px 5px 0 0;
    }

.form-checkbox {
    display: block;
    margin: 15px 0;
}

    .form-checkbox input {
        vertical-align: middle;
        margin: -2px 5px 0 0;
    }

.form-control-3-4 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-3-4 {
        width: 75%;
    }
}

.form-control-2-3 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-2-3 {
        width: 66.66%;
    }
}

.form-control-1-2 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-2 {
        width: 50%;
    }
}

.form-control-1-3 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-3 {
        width: 33.33%;
    }
}

.form-control-1-4 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-4 {
        width: 25%;
    }
}

.form-control-1-8 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-8 {
        width: 12.5%;
    }
}

.error {
    margin-right: 15px;
}

    .error .error-message {
        color: #b10e1e;
        font-weight: bold;
    }

    .error .form-control {
        border: 4px solid #b10e1e;
    }

    .error .form-hint {
        margin-bottom: 0;
    }

.error,
.error-summary {
    border-left: 4px solid #b10e1e;
    padding-left: 10px;
}

@media (min-width: 641px) {
    .error,
    .error-summary {
        border-left: 5px solid #b10e1e;
        padding-left: 15px;
    }
}

.error-message {
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
    display: block;
    clear: both;
    margin: 0;
    padding: 5px 0 7px 0;
}

@media (min-width: 641px) {
    .error-message {
        font-size: 19px;
        line-height: 1.3157894737;
    }
}

.error-summary {
    border: 4px solid #b10e1e;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px 10px;
}

@media (min-width: 641px) {
    .error-summary {
        border: 5px solid #b10e1e;
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 20px 15px 15px 15px;
    }
}

.error-summary:focus {
    outline: 3px solid #ffbf47;
}

.error-summary .error-summary-heading {
    margin-top: 0;
}

.error-summary p {
    margin-bottom: 10px;
}

.error-summary .error-summary-list {
    padding-left: 0;
}

@media (min-width: 641px) {
    .error-summary .error-summary-list li {
        margin-bottom: 5px;
    }
}

.error-summary .error-summary-list a {
    color: #b10e1e;
    font-weight: bold;
    text-decoration: underline;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.form-date .form-group {
    float: left;
    width: 50px;
    margin-right: 20px;
    margin-bottom: 0;
    clear: none;
}

    .form-date .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-date .form-group input {
        width: 100%;
    }

.form-date .form-group-year {
    width: 70px;
}

.row-underlined {
    border-bottom: 1px solid #BFC1C3;
}

.form-control:focus, input:focus, textarea:focus, select:focus, button:focus, #global-header input:focus {
    outline: 3px solid #ffbf47;
}

.form-control-small {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

/*** Previous/Next ***/

.previous-next-navigation {
    position: relative;
    overflow: hidden;
    /*margin-top: 60px;*/
    width: 100%;
    padding: 0;
}

    .previous-next-navigation li {
        font-family: "nta", Arial, sans-serif;
        font-size: 27px;
        line-height: 1.11111111;
        font-weight: 400;
        text-transform: none;
        display: block;
        padding: 0;
        margin: 0;
        width: 50%;
        float: left;
    }

    .previous-next-navigation button:hover {
        background: #f8f8f8;
    }

        .previous-next-navigation button:hover .page-numbers {
            text-decoration: underline;
        }

    .previous-next-navigation button:active {
        background: #dee0e2;
        color: #f47738;
    }

    .previous-next-navigation button {
        background-color: #FFF;
        border: none;
        color: #005ea5;
        display: block;
        width: 100%;
        margin: 0;
    }

    .previous-next-navigation li.next {
        float: right;
        text-align: right;
    }

    .previous-next-navigation li.previous {
        text-align: left;
        float: left;
    }

    .previous-next-navigation li.next a, .previous-next-navigation li.next button {
        padding: 15px 35px 15px 0;
        text-align: right;
    }

    .previous-next-navigation li.next a, .previous-next-navigation li.previous button {
        padding: 15px 0 15px 35px;
        text-align: left;
    }

    .previous-next-navigation li a span, .previous-next-navigation li button span {
        display: block;
        font-size: 14px;
        line-height: 1.42857143;
        font-weight: 400;
        text-transform: none;
        padding-top: 6px;
        padding-bottom: 4px;
    }

    .previous-next-navigation li.next {
        float: right;
        text-align: right;
    }

        .previous-next-navigation li.next a:before, .previous-next-navigation li.next button:before {
            background: transparent url(/assets/images/previous-next.png) no-repeat -102px -11px;
            margin: -4px -32px 0 0;
            display: block;
            float: right;
            width: 30px;
            height: 38px;
            content: " ";
        }

    .previous-next-navigation li.previous a:before, .previous-next-navigation li.previous button:before {
        background: transparent url(/assets/images/previous-next.png) no-repeat -20px -11px;
        margin: -4px 0 0 -32px;
        display: block;
        float: left;
        width: 30px;
        height: 38px;
        content: " ";
    }

    .previous-next-navigation li .visuallyhidden {
        font-size: 27px;
        line-height: 1.11111111;
        font-weight: 400;
        text-transform: none;
        display: inline-block;
        position: static;
    }

/* Timeline styles */

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.timeline {
    margin: 2em auto;
    overflow: hidden;
    height: auto;
    position: relative;
    padding: 0px;
    list-style-type: none;
    /*thanks to
     https://twitter.com/JacoKoster
  */
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEElEQVQIW2NMTEz8z8gABAAPKwIlXWq1kgAAAABJRU5ErkJggg==);
    background-repeat: repeat-y;
    background-position: 50% 0;
    /*
    elements 1,(2),3,(4), etc.
    elements in brackets inherit these properties, some are overridden below (2n)
    beginning at 0
  */
}

    .timeline .year {
        background: #FFF;
        clear: both;
        margin: 1em auto 2em;
        text-align: center;
        margin-top: 2em;
        font-weight: bold;
    }

        .timeline .year:first-of-type {
            margin-top: 0 !important;
        }

    .timeline .event, .timeline .event.right {
        position: relative;
        text-align: center;
        float: right;
        clear: right;
        width: 45%;
        margin: 1em 2.5%;
        /*border-radius: 5px;*/
        list-style-type: none;
        display: block;
        padding: .4em;
        background: white;
        z-index: 15;
        color: #4d4d4d;
        /*border: 1px solid #9d9d9d;*/
        text-decoration: none;
        -webkit-transition: background .15s linear;
        -moz-transition: background .15s linear;
        -ms-transition: background .15s linear;
        -o-transition: background .15s linear;
        transition: background .15s linear;
    }

        .timeline .event.featured {
            width: 95% !important;
            background: #e8e8e8;
        }

            .timeline .event.featured:after, .timeline .event.featured:before {
                display: none;
            }

@media all and (max-width: 600px) {
    .timeline .event {
        width: 85%;
    }
}

.timeline .event.offset-first {
    margin-top: -1.5em !important;
}

.timeline .event img {
    margin-top: 10px;
    max-width: 100%;
}

.timeline .event:hover {
    background: #e9e9e9;
}

    .timeline .event:hover:after {
        background: #505050;
    }

.timeline .event.left {
    float: left;
    clear: left;
    text-align: right;
}
/*@media all and (min-width: 650px) {
  .timeline .event.right {
    margin-top: 2em;
  }
}*/
@media all and (min-width: 650px) {
    .timeline .event {
        text-align: left;
    }

        .timeline .event:after, .timeline .event.right:after {
            display: block;
            content: ' ';
            height: 16px;
            width: 16px;
            background: #9d9d9d;
            border-radius: 50%;
            position: absolute;
            left: -5%;
            top: 0.7em;
            border: 4px solid white;
        }

        .timeline .event.left:after {
            right: -5%;
            /* reset the standard declaration I defined before*/
            left: auto;
        }
}

.padd {
    display: block;
    padding: 10px;
}

    .padd.center {
        text-align: center;
    }

.ad {
    display: block;
    background: rgba(50, 50, 50, 0.5);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

.govuk-body {
    font-family: "Roboto","Arial","Helvetica",sans-serif;
}

.document-row h3 {
    display: block;
    line-height: 1.31578947;
    font-weight: 400;
    text-transform: none;
    font-weight: bold;
    margin-top: 5px;
}

.filter-results-summary {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
    border-bottom: 1px solid #bfc1c3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

    .filter-results-summary:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    .filter-results-summary .count {
        font-size: 48px;
        line-height: 1.04166667;
        font-weight: 400;
        text-transform: none;
        font-weight: bold;
        float: left;
        padding-right: 10px;
        line-height: 1;
    }

/* need tag type so not applied to ngTable select boxes */
div.filter {
    margin-top: 15px;
}

    div.filter input {
        font-size: 14px;
        line-height: 1.42857143;
        font-weight: 400;
        text-transform: none;
        padding-top: 6px;
        padding-bottom: 4px;
        background: #fff;
        border: 1px solid #dee0e2;
        width: 100%;
        margin: 0;
        border-color: #bfc1c3;
    }

    div.filter select {
        font-size: 14px;
    }

/* menu list styles */

ul.browse {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    max-width: 960px;
}

.chevron-card {
    border-top: 1px solid #b1b4b6;
    margin: 0;
    padding: 5px 0 20px 0;
}

.chevron-card__description {
    margin: 0 30px 0 0;
}

.chevron-card__wrapper {
    padding: 10px 30px 10px 0;
    position: relative;
}

.chevron-card__link::before {
    border-right: 3px solid #1d70b8;
    border-top: 3px solid #1d70b8;
    content: "";
    display: block;
    height: 10px;
    position: absolute;
    right: 5px;
    top: 50%;
    -webkit-transform: translateY(0) rotate(45deg) scale(1);
    -ms-transform: translateY(0) rotate(45deg) scale(1);
    transform: translateY(0) rotate(45deg) scale(1);
    width: 10px;
}

.chevron-card__link::after {
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

/* ngTable */

.filter-cell input {
    width: 100%;
}

/* Date picker */
.uib-daypicker .btn-default {
    border: none;
    font-size: 14px !important;
}

.uib-close, .uib-datepicker-current, .uib-clear {
    background: #dee0e2;
    -webkit-box-shadow: 0 2px 0 #b5babe;
    -moz-box-shadow: 0 2px 0 #b5babe;
    box-shadow: 0 2px 0 #b5babe;
    color: #0b0c0c;
    border-radius: 0;
    border: none;
    margin-right: 2px;
    font-size: 14px !important;
}

/* original: http://css-tricks.com/responsive-data-tables/ */

.responsive-switch {
    width: 100%;
    border-collapse: collapse;
}

@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    /* table.responsive,*/
    .responsive-switch thead,
    .responsive-switch tbody,
    .responsive-switch tr,
    .responsive-switch th {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .responsive-switch thead tr, .responsive-switch th {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .responsive-switch tr {
        border: 1px solid #ccc;
    }

    .responsive-switch td:nth-child(odd), .responsive-switch td:nth-child(even) {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
        display: block;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        min-height: 1em;
    }

        .responsive-switch td:nth-child(odd)::before, .responsive-switch td:nth-child(even)::before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            left: 6px;
            width: 45%;
            padding-right: 10px;
            -ms-word-wrap: break-word;
            word-wrap: break-word;
            text-align: left;
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            /*
        Label the data
        */
            content: attr(data-title);
        }

    .responsive-switch td.responsive-omit-title:nth-child(odd), .responsive-switch td.responsive-omit-title:nth-child(even) {
        padding-left: 6px;
    }

    .responsive-switch td.responsive-omit-title::before {
        display: none;
    }

    .responsive-switch td.responsive-omit-if-empty:empty {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .responsive-switch td:nth-child(odd), .responsive-switch td:nth-child(even) {
        /* Behave  like a "row" */
        padding-left: 0;
    }

        .responsive-switch td:nth-child(odd)::before, .responsive-switch td:nth-child(even)::before {
            /* Now like a table header */
            position: relative;
            display: block;
            /* Top/left values mimic padding */
            left: 0;
            padding-right: 10px;
            -ms-word-wrap: break-word;
            word-wrap: break-word;
            text-align: left;
            font-weight: bold;
            /*
        Label the data
        */
            content: attr(data-title);
        }
}

pre {
    outline: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
}

    pre > span.string {
        color: green;
    }

    pre > span.number {
        color: darkorange;
    }

    pre > span.boolean {
        color: blue;
    }

    pre > span.null {
        color: magenta;
    }

    pre > span.key {
        color: red;
    }

.govuk-input--width-40 {
    max-width: 41em;
}