﻿

.logo {
    color:#ffffff;
}

.print-only {
    display:none;
}




a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a.image-link {
    text-decoration: none !important;
}

.bg-nav {
    min-height: 120px;
    background: #002147;
}

    .bg-nav a { text-decoration: none; }

        .bg-nav a:hover { text-decoration: underline; }

button.btn-link.text-light:hover { color: #cbd3da !important; }

.nav-current {
    border-bottom: #f8f9fa 3px solid;
}

.navbar.bg-sub-nav {
    background: #122f53;
    padding-top: 0;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
  text-decoration: underline;
}

.btn-link {
    color: #0366d6;
    text-decoration: underline;
}

.btn-link {
    font-size: unset;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
html {
    background-color: #f0f4f5;
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* footer to bottom even on small pages */
body {
    min-height: 100vh;
    height: 100%;
    background-color: #f0f4f5;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh; 
}

.header {
    flex: 0 0 auto;
}

.footer {
    flex: 0 0 auto;
}

.container {
    flex: 1 0 auto;
}




.footer {
  width: 100%;
  padding: 20px;
  white-space: nowrap;
  background: #4c6272;
}
    .footer ul.nav {
        display: unset;
        width: 100%;
        margin-left: -0.5em; /* negative mirror of li below */
    }
    .footer ul.nav li 
    {
        margin-left: 0.5em; 
        margin-bottom: 0px;
    }

@media (min-width: 1000px) {
    .footer ul.nav {
        display: flex;
    }
        .footer ul.nav li.pushRight {
            margin-left: auto;
        }
}

.footer-mark a {
    /* focus highlight fits the image inside */
    display: inline-block;
}

.footer-mark img {
    margin-left: 0.6rem;
    min-width: 5mm;
    width: 2rem;
}

/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
.dont-break-out {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

ul.list-warn {
    list-style-type: "\26A0";
}

ul.list-warn li {
    padding: 0.5rem;
}

ol.list-alpha {
    list-style-type: lower-alpha;
}

ol.list-upper-alpha {
    list-style-type: upper-alpha;
}

.max-800 {
    max-width: 800px;
}

.occ-logo{
    padding-bottom: 10px;
}

.nhsuk-inset-text {
    max-width: 70em;
    margin-bottom: 40px;
    margin-top: 40px;
    border-left: 12px solid #005eb8;
    padding: 16px
}

.version-information {
    font-size: 0.7em;
    display: block;
    margin-left: .5rem;
}

.validation-summary-errors.nhsuk-inset-text ul {
    padding-left: 0;
}
.validation-summary-errors.nhsuk-inset-text li {
    list-style-type: none;
}

.validation-summary-valid.nhsuk-inset-text {
    display: none; /* hides an empty summary div, when no validation errors have occurred */
}

.regulatory-label-container {
    overflow-y: auto;
}

/*Large label on the FAQs page */
.regulatory-label-table {
    background: white;
}

.regulatory-label-table td {
    border: 1px solid #d8dde0; /* Matches cell border-bottom */
    vertical-align: middle;
    padding-left: 8px; /*Matches cell bottom & top padding */
    padding-right: 8px; /*Matches cell bottom & top padding */
}

.regulatory-label-table td img {
    max-width: 8rem;
}

@media (min-width: 40.0625em) {
    .regulatory-label-table td {
        padding-right: 24px; /*Matches main style, except that last child would get zero padding, which is not appropriate here */
        padding-left: 24px;
    }

}

@media (max-width: 40.0625em) {
    .regulatory-label-table td img {
        height: 50px;
    }
}

.regulatory-label-table td:first-child {
    text-align: center;
}

/*Compact label at the bottom of the reuslts page*/
.regulatory-label {
}

.regulatory-label__item-group {
    display: inline-block;
    background-color: white;
    border: 1px solid #d8dde0; /* Matches cell border-bottom */
}

.regulatory-label__item {
    padding: 5px;
}

.regulatory-label__item img {
    height: 50px;
}

.regulatory-label__item-group {
    float: left;
    margin: 3px;
}

.regulatory-label__item {
    display: inline-block;
}

.main {
    flex: 1 0 auto;
    /* IE does not understand this and will use the above */
    flex: 1 0 0;
}

.img-profile {
    object-fit: contain;
}

.home-header-container {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}

.home-header-text-container {
    margin: 1rem 1rem 0;
}

.home-header-image {
    display: none;
}

.home-header-logo-container {
    background-color: #002147;
    padding: 1rem;
    margin: 1rem;
}


@media (min-width:61.865em) {
    .home-header-container { flex-direction: row; }

    .home-header-text-container {
        /* 48px is height of logo image */
        margin: auto 5rem calc(48px + 2rem) auto;
        padding-left: 3rem;
        padding-top: 3rem;
    }

    .home-header-image-container {
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
        flex: 0 0 40%;
        display: flex;
        flex-direction: column;
    }

    .home-header-image {
        display: inline;
        max-height: 51rem;
        max-width: 100%;
        flex: 1 0 auto;
        object-fit: cover;
        object-position: left top;
        transform: scaleX(-1);
    }

    .home-header-logo-container {
        padding: 1rem 1rem 1rem 2.5rem;
        margin: 0;
    }
}

.home-awards-table {
    margin: -1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-award-entry {
    display: flex;
    flex-direction: column;
    margin: 1rem;
}

@media (min-width: 40.0625em) {
    .home-award-entry {
        display: flex;
        flex-direction: column;
        flex: 1 1 45%;
        min-width: 25rem;
    }
}

.home-award-image {
    max-width: 100%;
}


.home-award-text {
    padding: 1rem;
    margin-top: auto;
}

.licence-border {
    font-weight: 600;
    border: solid 1px #6C757D;
    padding: 10px;
    margin-bottom: 1em;
}

.underline {
    text-decoration: underline;
}


@media screen {
    .print-only {
        display: none;
    }

}


@media print {
    .print-only {
        display:inline-block;
    }

    .screen-only {
        display:none;
    }

}


