.gc-vertical-nav__link_scrollspy {
    background: #f3f2f1 !important;
    border-left: 4px solid #1d70b8 !important;
    margin-left: -4px;
}

.stats-page img {
    border: 1px solid #565656 !important;
}

.gcweb-stats-metadata p {
    font-size: 16px;
}

.gc-notification--info-panelfill {
    background: rgba(29, 112, 184, 0.08);
}

.stats-page iframe {
    border: 1px solid #565656;
}

.gcweb-flex--full .gcweb-card {
    flex-basis: 50%;
}

.gcweb-card.gcweb-card--half{
    flex-basis: 40%
}

.blog-card-group.blog-card-group--stack {
    display: block !important;
}

.blog-card-group.blog-card-group--stack > .gcweb-card {
    flex-basis: 100% !important;
}

@media (min-width: 48.0625em) {
    .blog-card-group.blog-card-group--stack > .blog-card {
        flex-direction: row;
        max-width: 100% !important;
    }
}

.gcweb-signpost a {
    text-decoration: none !important;
}

.gcweb-precontent-strip .govuk-back-link:before {
    border-color: #ffffff !important;
}

@media (min-width: 40.0625em) {
    .gcweb-hero {
        padding-bottom: 15px !important;
    }
}

.gcweb-hero h1,
.gcweb-hero .gcweb-heading-xl {
    margin-bottom: 15px !important;
}

.gcweb-hero h1 a {
    text-decoration: underline;
    font-family: "Spartan" !important;
}

.gcweb-full-width-container.gcweb-alt-row:nth-child(even) {
    background: #efefef;
    margin: 30px 0px;
}

.gcweb-full-width-container.gcweb-alt-row:last-of-type {
    margin-bottom: 0px !important;
}

.gcweb-related li span.gcweb-related--meta {
    display: block;
    font-size: 14px;
    color: #777777;
}

.gcweb-img--bordered {
    border: 1px solid #777777;
}

.gcweb-content-section-list {
    border: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gcweb-content-section-list li {
    margin-bottom: 0px;
    border-top: 1px solid #767676;
}

.gcweb-content-section-list li:last-of-type {
    margin-bottom: 0px;
    border-bottom: 1px solid #767676;
}

.gcweb-content-section-list--item {
    display: block;
    padding: 15px 10px;
    list-style: none;
    margin-bottom: 0px;
}

.gcweb-content-section-list--item-title {
    display: block;
    font-weight: 700;
    color: #2b8cc4;
}

.gcweb-content-section-list--item-summary {
    color: #0b0c0c;
    display: block;
}

.gcweb-content-section-list--item:hover {
    background-color: #f3f2f1;
    text-decoration: none;
    color: #2b8cc4;
    cursor: pointer;
}

.gcweb-content-section-list--breadcrumb--contents-link {
    text-decoration: underline;
}

.gcweb-content-section-list--breadcrumb > .govuk-breadcrumbs__list > .govuk-breadcrumbs__list-item:before {
    border-color: #565656 !important;
}

.policy-extract {
    display: block;
    padding: 25px;
    border-left: 10px solid #1d70b8;
    background: #e8f1f8;
    margin-bottom: 35px;
}

.policy-extract p {
    font-weight: 700;
}

.policy-extract h2,
.policy-extract h3 {
    margin-top: 15px;
}

.policy-extract ol {
    margin-bottom: 0px;
}

/**
 * Make images responsive
 */
.gcweb-flex-grid .col img {
    width: 100%;
    height: auto;
}

/**
 * Make .flex children same
 * height using display flex.
 * Justify property prepares
 * cols for being centered.
 */
.gcweb-flex-grid {
    display: flex;
    max-width: 100%;
}

/**
 * Make cols flexible to
 * auto push button at the
 * col bottom.
 */
.gcweb-flex-grid .col {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #eaeaea !important;
    margin: 0 15px 25px 15px;
    flex-basis: 100%;
    padding: 25px;

    /* 
	In the order, equal to
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 300px;
	*/
}

.gcweb-flex-grid .col:hover {
    background: rgba(255, 255, 255, 0.8) !important;

    transition: 0.3s;
}

.gcweb-flex-grid .col:first-of-type {
    margin-left: 0px;
    /* 
	In the order, equal to
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 300px;
	*/
}

.gcweb-flex-grid .col:last-of-type {
    margin-right: 0px;

    /* 
	In the order, equal to
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 300px;
	*/
}

/**
 * Margin-top auto pushes
 * button to bottom.
 * Align self makes button
 * stuck to the left.
 */
.gcweb-flex-grid .col .gcweb-button,
.gcweb-flex-grid .col .gcweb-button_orange {
    align-self: flex-start;
    margin-top: auto;
}

.gcweb-hero .gcweb-flex-grid .col p {
    font-size: 1.15rem;
}

.gcweb-hero .gcweb-flex-grid .col p,
.gcweb-hero .gcweb-flex-grid .col h2 {
    color: #171b1f !important;
}

/**
 * Under 900px wrap cols
 */
@media (max-width: 900px) {
    .gcweb-flex-grid {
        flex-wrap: wrap;
    }

    .gcweb-flex-grid .col {
        display: block;

        margin: 15px 0;

        /* 
        In the order, equal to
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 300px;
        */
    }

    .gcweb-flex-grid .col:first-of-type {
        margin: 15px 0;

        /* 
        In the order, equal to
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 300px;
        */
    }

    .gcweb-flex-grid .col:last-of-type {
        margin: 15px 0;

        /* 
        In the order, equal to
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 300px;
        */
    }
}

.gcweb-panel--promo {
    border: solid 5px #272828;
    margin-bottom: 20px;
}

.gcweb-panel--promo .gcweb-panel--promo-content {
    padding: 20px 20px 5px 20px;
}

.gcweb-panel--promo .gcweb-panel--promo-content a {
    font-weight: 700;
}

.gcweb-hero .gcweb-heading-xl {
    font-size: 2.25rem;
}

.gcweb-section-break--fat {
    border-bottom: 10px solid #005ea5;
}

.gcweb-panel--promo-annual-report-2020 {
    background-color: #155139;
}

.gcweb-panel--promo-blue {
    background-color: #005ea5;
}

.gcweb-panel--promo-annual-report-2020 .gcweb-panel--promo-content,
.gcweb-panel--promo-annual-report-2020 .gcweb-panel--promo-content a,
.gcweb-panel--promo-blue .gcweb-panel--promo-content,
.gcweb-panel--promo-blue .gcweb-panel--promo-content a {
    color: #ffffff;
}

.gcweb-hero .govuk-caption-l,
.gcweb-hero .govuk-caption-m,
.gcweb-hero .govuk-caption-xl {
    color: #ffffff;
}

@media (min-width: 40.0625em) {
    .reset
        .govuk-accordion__section
        .govuk-accordion__section-header
        .govuk-accordion__section-heading
        .govuk-accordion__section-button {
        font-size: 24px !important;
        font-size: 1.5rem;
        line-height: 1.25;
    }
}

.gc-beta-tag {
    background: #d14600 !important;
    color: #ffffff !important;
}

.gcweb-feedback-button {
    display: inline-block;
    padding: 5px 7px;
    background: #2e2e2e;
    color: #ffffff !important;
    font-size: 16px;
    font-family: "Nunito" !important;
    font-weight: 500;
    line-height: 1.2;
    margin-left: 10px;
    text-align: center;
    border: 0;
    border-radius: 4px;
    transition: all 0.15s linear;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #2e2e2e;
}
.gcweb-feedback-button:focus {
    background: #ffdd00;
    color: #171b1f !important;
}

.gcweb-feedback-button:hover {
    background: rgba(0, 0, 0, 0.3);
}

.gc-beta-tag,
#panel-buttons,
#panel-message {
    display: inline-block;
}

@media (max-width: 769px) {
    .gc-beta-tag {
        display: block;
        margin-bottom: 5px;
    }
    .panel-buttons {
        display: block;
    }
}

.gcweb-hide {
    display: none !important;
}

.gcweb-show {
    display: content !important;
}

@media (max-width: 769px) {
    .gc-beta-tag {
        display: none !important;
    }
    .gcweb-feedback-button {
        padding: 2px;
        font-size: 16px;
    }
}

.gcweb-references p,
.gcweb-references p a,
.gcweb-references p sup,
.gcweb-references ul li {
    font-size: 16px !important;
}

.gcweb-references p sup {
    padding: 0px 5px 10px 0px;
}
.gcweb-references ul {
    margin-left: 20px;
}
sup {
    padding: 0px 5px 0px 5px;
}

.gcweb-content-section--section > p > img {
    -webkit-box-shadow: 4px 4px 16px #c0c0c0;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 5px 5px 18px #c0c0c0;
    padding: 5px;
    margin-bottom: 15px;
}

* {
    border-radius: 0px !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.gcweb-bg--blue p a {
    color: #ffffff !important;
}

.gcweb-panel a:hover {
    text-decoration: none !important;
}
.gcweb-panel a:hover > .gcweb-heading-m {
    text-decoration: underline !important;
}
.gcweb-border {
    border: 1px solid #979797;
}
.gcweb-blue-bg a.gcweb-button,
.gcweb-bg--blue a.gcweb-button {
    text-decoration: none !important;
}

.gcweb-panel {
    padding: 20px !important;
}

.cards > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    grid-gap: 1rem;
}

.gcweb-table--small td,
.gcweb-table--small td p {
    font-size: 16px;
}

.gcweb-content-section--section table th,
.gcweb-content-section--section table td {
    vertical-align: top;
    padding: 8px;
    border-bottom: solid 1px #b1b4b6;
    font-size: 14px;
}

.gcweb-content-section--section table.gcweb-table--vertical td,
.gcweb-content-section--section table.gcweb-table--vertical th {
    border-right: dashed 1px #c0c0c0;
}

.gcweb-content-section--section table.gcweb-table--vertical td:last-of-type,
.gcweb-content-section--section table.gcweb-table--vertical th:last-of-type {
    border-right: none;
}

.gcweb-content-section--section table tr th {
    background: #dedede;
}

.gcweb-content-section--section table th[rowspan],
.gcweb-content-section--section table td[colspan] {
    vertical-align: bottom;
}

.gcweb-toggle--control {
    display: block;
    border-bottom: 1px solid #c0c0c0;
    margin-bottom: 30px;
    text-align: right;
    padding-bottom: 5px;
}

.gcweb-toggle--control-title {
    text-align: right;
    margin-right: 20px;
    font-weight: 700;
}

.gcweb-toggle--control-button {
    z-index: 1;
    margin: 0;
    padding: 0;
    border-width: 0;
    color: #1d70b8;
    background: none;
    cursor: pointer;
    font-size: 16px;
}

.gcweb-toggle--control-button:focus {
    outline: 3px solid transparent;
    color: #0b0c0c;
    background-color: #fd0;
    -webkit-box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    text-decoration: none;
}

.gcweb-tag--dark-red {
    background: #bf7c72;
    color: #1a1b1c;
}

.gcweb-tag--dark-green {
    background: #63a184;
    color: #1a1b1c;
}

.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}

.card-horizontal .img-square-wrapper {
    margin-right: 20px;
}

.card-horizontal img {
    max-height: 100px;
}

.gcweb-img--clippet {
    max-width: 50px;
    max-height: 50px;
}

.gcweb-card--thin {
    flex-basis: 15% !important;
}

.gcweb-body--white {
    color: #ffffff !important;
}
abbr {
    text-decoration: none;
}

/* .gcweb-bl--blue{border-left: 5px solid #354973; }
.gcweb-bl--green{border-left: 5px solid #346248; } */

.gcweb-overflow{
    overflow-y: auto;
    max-height: 300px;
}

.gcweb-detailed-guide--side-contents {
    margin-top: 30px;
    overflow-y: auto;
    max-height: 600px;
}

.gcweb-detailed-guide--side-contents ul {
    font-size: 14px;
    line-height: 1.1428571429;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.gcweb-detailed-guide--side-contents ul li {
    padding-top: 5px;
    line-height: 1.3;
    list-style-type: none;
}

.gcweb-detailed-guide--side-contents ul li ul {
    margin-left: 15px !important;
}

.gcweb-detailed-guide--side-contents ul li a,
.gcweb-detailed-guide--side-contents ul li a:link,
.gcweb-detailed-guide--side-contents ul li a:visited {
    color: #005ea5;
}

.gcweb-detailed-guide--side-contents--active {
    font-weight: 700 !important;
}

/* Collapse Panel */

.gcweb-collapse-panel {
    margin-bottom: 20px;
}

.gcweb-collapse-panel .gcweb-collapse-panel--header {
    padding: 10px 15px;
    background: #cdcdcd;
    display: flex;
    justify-content: space-between;
}

.gcweb-collapse-panel .gcweb-collapse-panel--header .gcweb-collapse-panel--header-title {
    align-items: flex-start;
}

.gcweb-collapse-panel .gcweb-collapse-panel--header .gcweb-collapse-panel--header-title h2 {
    margin-bottom: 0px;
    margin-top: 5px;
}
.gcweb-collapse-panel .gcweb-collapse-panel--header .gcweb-collapse-panel--header-actions {
    align-items: flex-end;
}

.gcweb-collapse-panel .gcweb-collapse-panel--content {
    background: #efefef;
    padding: 15px;
}

.gcweb-collapse-panel .gcweb-collapse-panel--content .govuk-accordion {
    margin-bottom: 0px;
}

.gcweb-collapse-panel .gcweb-collapse-panel--header .gcweb-collapse-panel--header-actions  .gcweb-button {
    padding: 7px 15px;
    font-size: 16px;
    line-height: 1;
}


/* Data list */

.gcweb-data-list {
    width: 100%;
}

.gcweb-data-list > a .gcweb-data-list--item {
    background-color: #efefef;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #696969;
}

.gcweb-data-list.gcweb-data-list--white a > .gcweb-data-list--item {
    background-color: #ffffff;
    margin-bottom: 15px;
}

.gcweb-data-list > a .gcweb-data-list--item div {
    align-items: flex-start;
}

.gcweb-data-list > a .gcweb-data-list--item div {
    font-weight: 400;
    width: 15%;
    color: #696969;
    margin: 0px 15px;
    font-size: 16px;
}

.gcweb-data-list a:hover {
    text-decoration: none !important;
}

.gcweb-data-list > a .gcweb-data-list--item div:first-of-type {
    font-weight: 700;
    width: 55%;
    color: #171b1c;
    margin-left: 0px;
}

.gcweb-data-list > a:hover .gcweb-data-list--item div:first-of-type {
    text-decoration: underline !important;
}

.gcweb-data-list > a .gcweb-data-list--item div:last-of-type {
    align-items: flex-end;

    margin-right: 0px;
}

.gcweb-data-list > a .gcweb-data-list--item div > .govuk-tag {
    font-size: 14px !important;
}

.govuk-accordion.gcweb-structured .govuk-accordion__section-heading, .govuk-accordion.gcweb-structured .govuk-accordion__section-button {
    font-size: 19px;
    font-size: 1.0875rem;
    line-height: 1.17368;
}

.govuk-checkboxes--small  .govuk-checkboxes__label{
    font-size: 1.0875rem;
    line-height: 1.01579;
}

.gcweb-condition-body a{text-decoration: underline;}

/* Mobile stuff */

@media (max-width: 40.0525em) {
    .gcweb-search__submit {
        background-color: #1b1c1c;
    }

    .gcweb-header__navigation-close .gcweb-icon__close,
    .gcweb-search__close .gcweb-icon__close,
    .gcweb-icon__close {
        fill: #354973 !important;
        height: 30px;
        width: 30px;
    }

    .gcweb-area-public .gcweb-header__navigation-link.gcweb-header__navigation-active,
    .gcweb-area-public-register .gcweb-header__navigation-link.gcweb-header__navigation-active,
    .gcweb-area-public .gcweb-header__navigation-link,
    .gcweb-area-public-register .gcweb-header__navigation-link,
    .gcweb-area-licensees .gcweb-header__navigation-link.gcweb-header__navigation-active,
    .gcweb-area-licensees .gcweb-header__navigation-link,
    .gcweb-area-corporate .gcweb-header__navigation-link.gcweb-header__navigation-active,
    .gcweb-area-corporate .gcweb-header__navigation-link {
        background: inherit;
        color: #1a1b1c !important;
        padding: 5px 5px 5px 0px;
        font-size: 16px;
    }

    .gcweb-header__navigation-item--divider {
        font-weight: 700;
        background: #c0c0c0;
        color: #1a1b1c !important;
        padding: 10px 10px 10px 8px;
        margin: 0 -8px;
        font-size: 16px;
    }

    .gcweb-header__navigation.js-show {
        border-bottom: 4px solid #f0f4f5;
        border-top: 0px solid #f0f4f5;
    }

    .gcweb-header__search-wrap.js-show {
        clear: both;
        display: -ms-flexbox;
        display: flex;
        margin-bottom: -18px;
        margin-left: -22px;
        margin-right: -22px;
        padding-top: 15px;
        text-align: left;
    }

    .gcweb-stats-metadata > .govuk-grid-column-one-quarter {
        width: 50%;
        float: left;
    }

    .gcweb-full-width-container {
        padding: 20px 0px;
        margin: 0px;
    }

    h1,
    .gcweb-heading-xl {
        font-size: 24px;
        font-size: 1.25rem;
        line-height: 3rem !important;
        margin-bottom: 25px;
    }

    .gcweb-body-l {
        font-size: 19px;
        line-height: 1.4;
        margin-top: 0;
        margin-bottom: 24px;
    }

    .gcweb-detailed-guide--side-contents {
        margin-top: 30px;
        overflow-y: auto;
        max-height: 300px;
    }

    .gcweb-data-list > a .gcweb-data-list--item {
        display: block;
        justify-content: none;
    }

    .gcweb-data-list > a .gcweb-data-list--item div {
        width: 100%;
        margin: 5px 0px;
    }

    .gcweb-data-list > a .gcweb-data-list--item div:first-of-type {
        width: 100%;
    }
}

.gcweb-hide-toggle .govuk-accordion__controls{
display: none;
}