.nhsuk-tabs {
    margin-top: 4px;
    margin-bottom: 32px
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs {
        margin-top:4px
    }
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs {
        margin-bottom:40px
    }
}

.nhsuk-tabs__title {
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #212b32;
    margin-bottom: 8px
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs__title {
        font-size:19px;
        font-size: 1.1875rem;
        line-height: 1.47368
    }
}

@media print {
    .nhsuk-tabs__title {
        font-size: 14pt;
        line-height: 1.15
    }
}

.nhsuk-tabs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 32px
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs__list {
        margin-bottom:40px
    }
}

.nhsuk-tabs__list-item {
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    margin-left: 32px
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs__list-item {
        font-size:19px;
        font-size: 1.1875rem;
        line-height: 1.47368
    }
}

@media print {
    .nhsuk-tabs__list-item {
        font-size: 14pt;
        line-height: 1.15
    }
}

.nhsuk-tabs__list-item:before {
    color: #212b32;
    content: "—";
    margin-left: -32px;
    padding-right: 4px
}

.nhsuk-tabs__tab {
    color: #005eb8;
    display: inline-block;
    margin-bottom: 8px
}

.nhsuk-tabs__tab:visited {
    color: #330072
}

.nhsuk-tabs__tab:hover {
    color: #7c2855;
    text-decoration: none
}

.nhsuk-tabs__tab:focus {
    background-color: #ffeb3b;
    box-shadow: 0 -2px #ffeb3b,0 4px #212b32;
    color: #212b32;
    outline: 4px solid rgba(0,0,0,0);
    text-decoration: none
}

.nhsuk-tabs__tab:focus:hover {
    text-decoration: none
}

.nhsuk-tabs__tab:focus:visited {
    color: #212b32
}

.nhsuk-tabs__tab:focus .nhsuk-icon {
    fill: #212b32
}

.nhsuk-tabs__tab:active {
    color: #002f5c
}

.nhsuk-tabs__panel {
    margin-bottom: 48px
}

@media(min-width: 40.0625em) {
    .nhsuk-tabs__panel {
        margin-bottom:56px
    }
}

@media(min-width: 40.0625em) {
    .js-enabled .nhsuk-tabs__list {
        border-bottom:1px solid #d8dde0;
        margin-bottom: 0
    }

    .js-enabled .nhsuk-tabs__list:after {
        clear: both;
        content: "";
        display: block
    }

    .js-enabled .nhsuk-tabs__title {
        display: none
    }

    .js-enabled .nhsuk-tabs__list-item {
        background-color: #d8dde0;
        float: left;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 4px;
        padding: 8px 24px;
        position: relative;
        text-align: center
    }

    .js-enabled .nhsuk-tabs__list-item:before {
        content: none
    }

    .js-enabled .nhsuk-tabs__list-item--selected {
        background-color: #fff;
        border: 1px solid #d8dde0;
        border-bottom: 0;
        margin-bottom: -1px;
        margin-top: -4px;
        padding-bottom: 13px;
        padding-left: 23px;
        padding-right: 23px;
        padding-top: 11px;
        position: relative
    }

    .js-enabled .nhsuk-tabs__list-item--selected .nhsuk-tabs__tab {
        text-decoration: none
    }

    .js-enabled .nhsuk-tabs__tab {
        margin-bottom: 0
    }

    .js-enabled .nhsuk-tabs__tab:link,.js-enabled .nhsuk-tabs__tab:visited {
        color: #212b32
    }

    .js-enabled .nhsuk-tabs__tab:hover {
        color: rgba(33,43,50,.99)
    }

    .js-enabled .nhsuk-tabs__tab:active,.js-enabled .nhsuk-tabs__tab:focus {
        color: #212b32
    }

    .js-enabled .nhsuk-tabs__tab:after {
        bottom: 0;
        content: "";
        left: 0;
        position: absolute;
        right: 0;
        top: 0
    }

    .js-enabled .nhsuk-tabs__panel {
        margin-bottom: 0;
        background-color: #fff;
        border: 1px solid #d8dde0;
        border-top: 0;
        padding: 40px 24px
    }
}

@media(min-width: 40.0625em)and (min-width: 40.0625em) {
    .js-enabled .nhsuk-tabs__panel {
        margin-bottom:0
    }
}

@media(min-width: 40.0625em) {
    .js-enabled .nhsuk-tabs__panel>:last-child {
        margin-bottom:0
    }
}

@media(min-width: 40.0625em) {
    .js-enabled .nhsuk-tabs__panel--hidden {
        display:none
    }
}

@media(min-width: 48.0625em) {
    .app-component-reading-width h1 {
        max-width:14.5em
    }

    .app-component-reading-width h2 {
        max-width: 22em
    }

    .app-component-reading-width h3,.app-component-reading-width .nhsuk-lede-text,.app-component-reading-width .nhsuk-body-l {
        max-width: 29em
    }

    .app-component-reading-width h4 {
        max-width: 32em
    }

    .app-component-reading-width p,.app-component-reading-width ul,.app-component-reading-width ol,.app-component-reading-width .nhsuk-details {
        max-width: 37em
    }

    .app-component-reading-width .nhsuk-body-s {
        max-width: 47em
    }

    .app-component-reading-width .app-example,.app-component-reading-width .nhsuk-table,.app-component-reading-width .app-colour-list,.app-component-reading-width .app-example--image,.app-component-reading-width .app-pre,.app-component-reading-width .nhsuk-image__img {
        max-width: 44em
    }

    .app-component-reading-width .app-tabs,.app-component-reading-width .nhsuk-pagination__list {
        max-width: 100%
    }
}

.app-tabs__container pre {
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    background-color: #fff;
    padding: 0
}

.app-tabs {
    list-style-type: none;
    margin: -1px auto;
    margin-bottom: 0;
    overflow: visible;
    padding: 0
}

.app-tabs__item {
    display: inline-block;
    margin: 0;
    position: relative;
    z-index: 2
}

.app-tabs__item a {
    background: inherit;
    border-bottom: 2px solid rgba(0,0,0,0);
    border-top: 2px solid rgba(0,0,0,0);
    color: #005eb8;
    display: block;
    font-weight: bold;
    margin-top: -1px;
    padding: 15px;
    text-decoration: none
}

.app-tabs__item--current a {
    border-bottom-color: #005eb8;
    border-top-color: #005eb8
}

.app-tabs__item__heading a {
    background: inherit;
    border: 1px solid #bfc1c3;
    border-top: 0;
    color: #005ea5;
    display: none;
    font-weight: bold;
    padding: 15px;
    position: relative;
    text-decoration: none;
    z-index: 2
}

.app-tabs__item__heading a:visited {
    color: #005ea5
}

.app-tabs__item__heading--current {
    background-color: #f0f0f0
}

.app-tabs__text {
    padding: 20px
}

.app-tabs__container {
    border: 1px solid #bfc1c3;
    margin-top: -2px;
    position: relative
}

.app-tabs__container pre {
    background-color: #f8f8f8;
    border: 0;
    font-size: inherit;
    margin: 0;
    margin-bottom: 0;
    max-width: inherit;
    overflow: auto;
    padding: 15px;
    position: relative
}

.app-tabs {
    background: #fff;
    border: 1px solid #aeb7bd;
    border-bottom: 0;
    display: none
}

@media(min-width: 40.0625em) {
    .app-tabs {
        display:block
    }
}

.app-tabs__item {
    background-color: rgba(0,0,0,0);
    margin: 0
}

.app-tabs__item a {
    border: 0;
    font-weight: normal;
    margin: 0;
    padding: 8px 16px;
    text-decoration: underline
}

@media(min-width: 40.0625em) {
    .app-tabs__item a {
        padding:12px 24px
    }
}

.app-tabs__item a:hover {
    color: #7c2855;
    outline: 0;
    text-decoration: none
}

.app-tabs__item a:focus {
    background-color: #ffeb3b;
    box-shadow: 0 4px #212b32;
    color: #212b32;
    outline: 4px solid rgba(0,0,0,0);
    text-decoration: none
}

.app-tabs__item--current a {
    text-decoration: none
}

@media(min-width: 40.0625em) {
    .app-tabs__item--current a {
        box-shadow:0 4px 0 #005eb8
    }
}

.app-tabs__item--current a:hover {
    color: #005eb8
}

.app-tabs__item--current a:focus:hover {
    color: #212b32
}

.app-tabs__item--mobile {
    background-color: #fff;
    border: 1px solid #aeb7bd;
    border-width: 1px 0;
    display: block;
    margin: -1px 0
}

@media(min-width: 40.0625em) {
    .app-tabs__item--mobile {
        display:none
    }
}

.app-tabs__container {
    background-color: #fff;
    border: 1px solid #aeb7bd;
    border-bottom: 0;
    margin-top: 0
}

.app-tabs__container pre {
    align-self: stretch;
    background-color: #fff;
    padding: 0
}

.app-tabs__container pre {
    background-color: #f0f4f5
}