
html {
    scroll-behavior: smooth;
}

body {
    margin: 55px 0;
    background-color: #eeeeee;
    color: #5e5b5c;
}

.mt-30 {
    margin-top: 30px;
}

.mb-15 {
    margin-bottom: 15px;
}

@media only all and (max-width: 560px) {
    body {
        margin: 5px 0;
    }

    .container {
        padding-left: 5px;
        padding-right: 5px;
        min-width: 300px;
    }
}

@media only all and (min-width: 561px) and (max-width: 991px) {
    body {
        margin: 25px 0;
    }
}

abbr[title] {
    border-bottom: 2px dotted #777;
    text-decoration: none;
}

a:focus {
    outline: 2px solid black;
    outline: auto -webkit-focus-ring-color;
    outline-offset: 2px;
    -moz-outline-radius: 4px;
}

a.panel-heading:focus {
    outline: auto -webkit-focus-ring-color;
    outline-offset: -.3rem;
}

.btn.focus,
.btn:focus,
.btn.active.focus,
.btn.active:focus,
.btn:active.focus,
.btn:active:focus {
    outline: 2px solid black;
    outline: auto -webkit-focus-ring-color;
    outline-offset: -.3rem;
    -moz-outline-radius: 4px;
}

.main {
    min-height: 300px;
    padding: 30px 60px;
    background-color: #fff;
    border: 2px solid #e9e8e9;
}

    .main a {
        text-decoration: underline;
    }


@media only all and (max-width: 560px) {
    .main {
        padding: 10px 15px 20px;
    }
}

@media only all and (min-width: 561px) and (max-width: 991px) {
    .main {
        padding: 20px 40px;
    }
}

a#main {
    display: inline-block;
    height: 0;
    overflow: hidden;
}

.ofcom-dots {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.form-control {
    height: auto;
    font-size: 14px;
    border-color: #959499;
}

    .form-control:focus {
        border-color: #3F9AE4;
    }

    .form-control.postcode {
        width: auto;
        padding: 14px 28px;
        font-size: 24px;
    }

select.form-control {
    padding: 10px;
}

.location-container select.form-control {
    margin-top: 10px;
    width: 100%;
}

.btn {
    padding: 13px 28px;
    font-size: 16px;
    border-width: 0;
    border-radius: 4px;
    white-space: normal;
}

    .btn.btn-sm {
        font-size: 14px;
        padding: 5px 15px;
    }

    .btn .fa:first-child {
        line-height: 28px;
    }

        .btn .fa:first-child:not(:last-child) {
            margin-right: 20px;
        }

@media only all and (max-width: 767px) {
    .btn-panel-bottom > div:first-child {
        margin-bottom: 15px;
    }
}

@media only all and (min-width: 992px) {
    select.form-control {
        font-size: 16px;
    }

    .form-control.postcode {
        font-size: 24px;
    }

    .btn {
        font-size: 24px;
    }

        .btn.btn-sm {
            font-size: 18px;
        }
}


.btn-primary {
    background-color: #d93361;
    border: 2px solid #d93361;
    color: #fff;
}

    .btn-primary:active:hover,
    .btn-primary:active:focus,
    .btn-primary[disabled]:hover {
        background-color: #d93361;
        border-color: #d93361;
        color: #fff;
    }

    .btn-primary:active,
    .btn-primary:focus,
    .btn-primary:hover {
        text-decoration: none;
        background-color: #fff;
        border-color: #d93361;
        color: #d93361;
    }

.btn-secondary {
    border: 2px solid #d93361;
    background-color: #fff;
    color: #d93361;
}

    .btn-secondary:hover {
        background-color: #d93361;
        color: #fff;
    }

    .btn-secondary:focus {
        background-color: #fff;
        color: #d93361;
    }

div.summary {
    margin-bottom: 50px;
}

.result-summary {
    font-size: 18px;
    margin-bottom: 15px;
}

@media only all and (max-width: 560px) {
    h1 {
        text-align: center;
    }

    div.summary {
        margin-bottom: 30px;
    }

    .form-control.postcode {
        width: 100%;
    }
}

@media only all and (max-width: 991px) {
    .form-control.postcode {
        height: 52px;
    }
}

@media only all and (min-width: 561px) {
    .location-container,
    .coverage-input,
    .coverage-label {
        display: inline-block;
    }
}

.broadband-table,
.coverage-table {
    font-size: 14px;
    color: #5e5b5c;
}

    .broadband-table caption,
    .coverage-table caption {
        font-size: .75em;
        color: #5e5b5c;
    }

    .broadband-table thead th,
    .coverage-table thead th {
        padding: 0;
        padding-bottom: 10px;
        font-weight: 400;
        font-size: 12px;
        text-align: center;
        border-bottom: 0 !important;
    }

        .broadband-table thead th:first-child,
        .coverage-table thead th:first-child {
            text-align: left;
            padding-left: 25px;
        }

    .broadband-table tbody tr,
    .coverage-table tbody tr {
        background-color: #f5f5f5;
    }

        .broadband-table tbody tr td,
        .broadband-table tbody tr th,
        .coverage-table tbody tr td,
        .coverage-table tbody tr th {
            text-align: center;
            border-top: 1px solid #fff;
            vertical-align: middle;
            text-wrap:nowrap;
        }

        .broadband-table tbody tr th,
        .coverage-table tbody tr th {
            text-align: left;
        }

    .coverage-table .coverage-table__type {
        width: 110px;
    }

@media only all and (min-width: 992px) {
    .broadband-table,
    .coverage-table {
        font-size: 24px;
    }

        .broadband-table thead th,
        .coverage-table thead th {
            font-size: 14px;
        }

        .broadband-table tbody tr td,
        .broadband-table tbody tr th,
        .coverage-table tbody tr td,
        .coverage-table tbody tr th {
            font-weight: normal;
            padding: 25px;
        }

        .broadband-table tbody tr.providers {
            font-size: 18px;
            font-weight: 600;
        }

            .broadband-table tbody tr.providers td {
                text-align: left;
            }
}

.providers a {
    text-decoration: underline;
    color: #5e5b5c;
}

.icon-E,
.icon-G {
    color: #237B52;
}

.icon-A {
    color: #A85A00;
}

    .icon-A .sr-only {
        color: #ca5d00;
    }

.icon-R {
    color: #D6004F;
}

.icon-P {
    color: #fff;
}

table .fa {
    transform: translateX(-50%);
    display: inline;
}

.auto-location {
    float: left;
    padding-left: 21px;
    padding-right: 21px;
    margin-right: 10px;
}

div.postcode {
    display: inline-block;
    margin-top: 0;
    margin-right: 30px;
    margin-bottom: 0;
    font-size: 50px;
    font-weight: 400;
    vertical-align: middle;
}

@media only all and (min-width: 561px) {

    .input-wrapper {
        float: left;
        width: 13em;
        margin-right: 10px;
    }

        .input-wrapper .form-control {
            width: 100%;
        }
}

@media only all and (max-width: 560px) {

    .change-location {
        margin-top: 10px;
        margin-left: 0;
        display: block;
        width: 100%;
    }

    .input-wrapper {
        float: none;
        display: block;
        width: auto;
        margin-bottom: 10px;
        margin-right: 0;
        overflow: hidden;
    }
}

.landing-page {
    text-align: center;
}

    .landing-page ul {
        padding-left: 0;
    }

    .landing-page li {
        list-style-type: none;
    }

    .landing-page button {
        width: 100%;
        max-width: 500px;
        margin-top: 10px;
        font-size: 18px;
        text-align: left;
    }

@media only all and (min-width: 767px) {
    .landing-page {
        margin-bottom: 200px;
    }

        .landing-page h1 {
            margin-top: 100px;
        }
}


.nav-pills {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 40px;
}

    .nav-pills li + li {
        margin-left: -1px;
    }

    .nav-pills .active {
        background-color: #642566;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
        color: #fff;
    }

    .nav-pills .btn.active:focus {
        border-color: #642566;
    }

    .nav-pills li {
        width: 50%;
    }

        .nav-pills li button {
            width: 100%;
            padding: 5px 30px;
            background-color: #efefef;
            border: 1px solid #000;
        }

.alert-danger {
    color: #b90f0c;
    background-color: #fbe6e6;
    border-color: #f9c9d1;
}

.message-container {
    margin-top: 15px;
}

    .message-container .alert {
        margin-bottom: 0;
    }

@media only all and (min-width: 992px) {
    .alert-danger {
        font-size: 16px;
    }
}

.footer {
    padding: 20px 25px;
    margin-top: 2em;
    border: 2px solid #e9e8e9;
    line-height: 1;
    background: #d93361;
    color: #fff;
}

    .footer li:not(:first-child) {
        border-left: 1px solid #fff;
    }

    .footer a {
        color: inherit;
    }

    .footer ul {
        margin-bottom: 0;
    }

    .footer .footer-item {
        margin-bottom: 0;
        display: inline-block;
        margin-left: 35px;
    }

@media only screen and (min-width: 0) and (max-width: 767px) {
    .footer .footer-column {
        float: none !important;
        width: 100%;
        text-align: center;
    }

        .footer .footer-column .footer-item {
            display: block;
        }

    .footer .footer-item,
    .footer ul {
        margin-bottom: 1em;
        margin-left: 0;
    }

    .footer p.footer-item {
        margin-bottom: 0;
    }
}

.footer a {
    text-decoration: underline;
}

.feedback-notes {
    display: flex;
}

    .feedback-notes > div {
        flex: auto;
    }

    .feedback-notes .feedback-counter {
        white-space: nowrap;
        padding-left: 15px;
        text-align: right;
    }

.arrow {
    color: #f72424;
}

.modal button.close {
    padding: 2px 6px;
}

.modal-background {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-foreground {
    position: fixed;
    top: 0;
    left: 0;
    margin: 30px;
    width: calc(100% - 60px);
    padding: 30px;
    background-color: #fff;
    box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.2);
}

@media only all and (min-width: 992px) {
    .modal-foreground {
        top: 170px;
        left: 50%;
        width: 60%;
        padding: 30px;
        transform: translateX(-50%);
    }
}

header {
    padding: 10px;
    background-color: #fff;
    border: 2px solid #e9e8e9;
}

    header .logo {
        height: 60px;
    }

@media only all and (max-width: 560px) {
    header .logo {
        height: 50px;
    }
}

header div.brand {
    font-size: 18px;
    vertical-align: middle;
    margin-top: 10px;
}

@media only all and (min-width: 992px) {
    header div.brand {
        display: inline;
        margin-left: 1em;
        font-size: 24px;
    }
}

.header-nav ul.navigation {
    margin-bottom: 0;
}

.header-nav li.navigation {
    margin: 20px;
    margin-right: 0;
}

.header-nav a.navigation {
    font-weight: 700;
    color: #5e5b5c;
}

.header-nav .router-link-active a.navigation {
    color: #c82f59;
}

    .header-nav .router-link-active a.navigation.theme-purple {
        color: #642566;
    }

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .header-nav li.navigation {
        display: block;
        margin: 10px;
        text-align: center;
    }

    .header-lang li.navigation {
        display: inline-block;
        margin: 10px;
        text-align: center;
    }
}

.language-link {
    padding: 0 !important;
}

.header-lang ul.navigation {
    margin-bottom: 0;
}

.header-lang li.navigation {
    margin: 0px;
    margin-right: 0;
}

.header-lang a.navigation {
    font-size: 13px;
    font-weight: normal;
    color: #5e5b5c;
    text-decoration: underline;
}

.header-lang .router-link-active a.navigation {
    color: #d93361;
}

header > nav {
    margin-top: 15px;
}

.gridDescription {
    margin-top: 40px;
}

table {
    border: none;
}

.grid-header {
    background-color: inherit;
}

.btn-primary.theme-purple {
    background-color: #642566;
    border: 2px solid #642566;
}

    .btn-primary.theme-purple:active,
    .btn-primary.theme-purple:focus,
    .btn-primary.theme-purple:hover {
        border-color: #642566;
        color: #642566;
        background-color: #fff;
    }

.btn.btn-grp-1 span.sr-only,
.btn.btn-grp-2 span.sr-only {
    display: none;
}

.btn.btn-grp-1.active span.sr-only,
.btn.btn-grp-2.active span.sr-only {
    display: initial;
}

.btn.btn-grp-1:active:focus,
.btn.btn-grp-1[disabled]:hover,
.btn.btn-grp-2:active:focus,
.btn.btn-grp-2[disabled]:hover {
    background-color: #642566;
    border-color: #642566;
    color: #fff;
}

.btn-secondary.theme-purple {
    border: 2px solid #642566;
    color: #642566;
    background-color: #fff;
}

    .btn-secondary.theme-purple.active,
    .btn-secondary.theme-purple:hover {
        background-color: #642566;
        color: #fff;
    }

    .btn-secondary.theme-purple:active:focus {
        background-color: #642566;
        border-color: #642566;
    }

.network-radio .btn-secondary {
    padding: 6px;
    font-size: 20px;
}

.mobile-notice,
.broadband-notice {
    min-height: 4.2em;
    background-color: #642566;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
}

.mobile-notice-icon,
.broadband-notice-icon {
    float: left;
}

.mobile-notice-text,
.broadband-notice-text {
    margin-left: 4.2em;
}

    .mobile-notice-text a,
    .broadband-notice-text a {
        color: #fff;
        text-decoration: underline;
    }

.about-checker {
    padding-top: 20px;
}

.skip-to-content-link {
    z-index: 99999;
    top: -30px;
    padding: 8px 24px;
    font-size: 18px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

    .skip-to-content-link:focus {
        top: 1px;
        transform: translateY(0%);
    }

.accordion-wrapper .panel {
    background-color: #d93361;
    color: #fff;
    margin-bottom: 15px;
    transition: width .5s, height .5s;
}

    .accordion-wrapper .panel.expanded .panel-heading h3 {
        font-weight: 600;
    }

.panel-heading h3 {
    font-size: 14px;
    margin: 0;
}

.accordion-wrapper .panel-heading {
    padding: 10px 40px 10px 15px;
    border-bottom: 1px solid transparent;
    display: block;
    color: #fff;
    text-decoration: none;
    position: relative;
}

    .accordion-wrapper .panel-heading i {
        font-size: 18px;
        position: absolute;
        right: 15px;
        top: 10px;
    }

.accordion-wrapper .panel-body {
    padding: 5px 30px 15px;
}

    .accordion-wrapper .panel-body a {
        color: #fff;
        text-decoration: underline;
    }

@media only all and (min-width: 992px) {
    .accordion-wrapper .panel {
        width: 60%;
    }

        .accordion-wrapper .panel.expanded {
            width: 100%;
        }
}


#mapFrame {
    width: 100%;
    height: 770px;
    border: none;
    margin-bottom: 15px;
}

@media only all and (max-width: 991px) {
    #mapFrame {
        height: 837px;
    }
}

@media only all and (max-width: 360px) {
    #mapFrame {
        height: 867px;
    }
}

.result-map-wrapper,
.result-content-wrapper {
    transition: width .5s, height .5s;
}

.heading-4 {
    font-size: 18px;
    font-weight: 500;
}

.strong-class {
    font-weight: 700;
}

.note-provider-name {
    font-size: 12px;
    font-weight: normal;
}

@media only all and (max-width: 992px) {
    .note-provider-name {
        font-size: 10px;
        margin-top: 0%;
    }
}

blockquote {
    border: 0;
    padding: 20px;
    background: #f5f5f5;
    font-style: italic;
    color: #343434;
    font-size: 1.5rem;
}

    blockquote:after,
    blockquote:before {
        font-size: 1.5em;
        color: #343434;
        line-height: 1rem;
    }

    blockquote:before {
        content: open-quote;
    }

    blockquote:after {
        content: close-quote;
    }

.ql-align-center {
    text-align: center;
}

.ql-align-right {
    text-align: right;
}
