.full-width {
    width: 100%;
}
.loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff url("../images/loader.gif") no-repeat center center;
    z-index: 9999;
    opacity: 0.8;
}

option:not(:first-of-type) {
    color: black;
}
/* the modification */
/*option:first-of-type {*/
/*  color: rgb(139, 139, 139);*/
/*}*/
option:first-of-type::placeholder {
    color: rgb(139, 139, 139) !important;
}

.nhsuk-footer__copyright {
    float: right;
    text-align: right;
    width: 30% !important;
}

@media (min-width: 40.0625em) {
    .nhsuk-summary-list__key {
        width: 50% !important;
    }
}

@media (min-width: 40.0625em) {
    .nhsuk-summary-list__value {
        width: 30% !important;
    }
}

.mobile-container {
    display: none;
}
/* @media screen and (max-width: 414px) {
  .mobile-container {
      display: block;
  }
} */

.launch-button {
    font-size: 30px;
    width: 100%;
    height: 87px;
}

@media screen and (max-width: 912px) {
    .launch-button {
        font-size: 25px;
        width: 100%;
        height: 65px;
    }
}

@media screen and (max-width: 820px) {
    .launch-button {
        font-size: 19px;
        width: 100%;
        height: 58px;
    }
}

@media screen and (max-width: 768px) {
    .launch-button {
        font-size: 40px;
        width: 100%;
        height: 100px;
    }
}

@media screen and (max-width: 540px) {
    .launch-button {
        font-size: 27px;
        width: 100%;
        height: 75px;
    }
}

@media screen and (max-width: 414px) {
    .launch-button {
        font-size: 17px;
        width: 100%;
        height: 52px;
    }
}
@media screen and (max-width: 820px) {
    .launch-button {
        font-size: 19px;
        width: 100%;
        height: 58px;
    }
}

.fade {
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

@media screen and (prefers-reduced-motion: reduce) {
    .fade {
        -webkit-transition: none;
        transition: none;
    }
}

.fade:not(.show) {
    opacity: 0;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
@media (min-width: 576px) {
    .modal-dialog {
        /* max-width: 500px; */
        max-width: 720px;
        margin: 1.75rem auto;
    }
}
.modal-dialog {
    position: relative;
    width: auto;
    /* margin: 0.5rem; */
    pointer-events: none;
}
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
    opacity: 0.5;
}
.fade {
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}
*,
*:before,
*:after {
    -moz-box-sizing: inherit;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
.bg-white {
    background-color: #ffffff;
}

.app-list-signage--two-columns {
    column-count: 2;
    column-gap: 32px;
}
.app-list-signage {
    list-style: none;
    padding-left: 0;
    padding-top: 8px;
}
.app-list-signage li {
    display: inline-block;
    margin: 2px 0;
    width: 100%;
}
.app-list-signage li a {
    background: #005eb8;
    color: #fff;
    display: block;
    padding: 12px 24px;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.app-list-signage li a:hover {
    background: #003d78;
    box-shadow: none;
    text-decoration: underline;
}
.app-list-signage li a:active {
    background: #002f5c;
}
.app-list-signage li a:focus {
    background: #ffeb3b;
    box-shadow: inset 0 -4px 0 0 #212b32;
    color: #212b32;
    text-decoration: none;
}
.app-list-signage li a:focus .nhsuk-icon {
    fill: #212b32;
}

.app-list-signage li a .nhsuk-icon {
    fill: #fff;
    height: 24px;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 24px;
}

.mt-0 {
    margin-top: 0px;
}

.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

.text-grey {
    color: #777777;
}
.nhsuk-input--width-5-custom {
    max-width: 17ex;
}
.eo__languages .language__flag {
    background-image: none !important;
}
.eo__languages .flag {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0px !important;
    height: 40px;
    margin-right: 5px;
}
.eo__dropdown__menu {
    min-width: 225px !important;
}
.language-selector {
    display: flex;
    align-items: center;
}
@media (min-width: 40.0625em) {
    .nhsuk-warning-callout {
        margin-top: 0px !important;
    }
}
.nhsuk-back-link__link {
    color: #7c2855;
    text-decoration: underline;
}
.nhsuk-card__link {
    text-decoration: underline !important;
}
.nhsuk-card--clickable:hover .nhsuk-card__heading a:focus,
.nhsuk-card--clickable:hover .nhsuk-card__link:focus,
.nhsuk-card--clickable:active .nhsuk-card__heading a:focus,
.nhsuk-card--clickable:active .nhsuk-card__link:focus {
    color: #212b32;
    text-decoration: underline !important;
}
.nhsuk-card--clickable:hover .nhsuk-card__heading a,
.nhsuk-card--clickable:hover .nhsuk-card__link,
.nhsuk-card--clickable:active .nhsuk-card__heading a,
.nhsuk-card--clickable:active .nhsuk-card__link {
    color: #7c2855;
    text-decoration: underline !important;
}
.nhsuk-card__heading,
.nhsuk-card__metadata,
.nhsuk-card__description {
    margin-bottom: 16px;
    padding-right: 13px;
}
@media (min-width: 48.0625em) {
    .triage-box-height {
        min-height: 205px; /*250px;*/
    }
    .nhsuk-card__content {
        padding: 15px 25px;
    }
}

h1,
.nhsuk-heading-xl {
    font-size: 32px;
    font-size: 2rem;
    line-height: 1.25;
    display: inline-block !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 40px;
}
.open-new-tab-icon {
    height: 30px;
    width: 30px;
    vertical-align: top;
    transition: transform 0.3s ease-in 0s;
    transform: rotate(0deg);
}
.nhslogin-button {
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #005eb8;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 0 4px 0 #003087;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    margin-top: 0;
    padding: 12px 16px;
    position: relative;
    text-align: center;
    vertical-align: top;
    width: auto;
}
@media (min-width: 40.0625em) {
    .nhslogin-button {
        font-size: 19px;
        font-size: 1.1875rem;
        line-height: 1.47368;
    }
}
@media print {
    .nhslogin-button {
        font-size: 14pt;
        line-height: 1.15;
    }
}
@media (min-width: 40.0625em) {
    .nhslogin-button {
        margin-bottom: 36px;
    }
}
@media (max-width: 40.0525em) {
    .nhslogin-button {
        padding: 8px 16px;
    }
}
.nhslogin-button:link,
.nhslogin-button:visited,
.nhslogin-button:active,
.nhslogin-button:hover {
    color: #fff;
    text-decoration: none;
}
.nhslogin-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.nhslogin-button:hover {
    background-color: #1e569b;
}
.nhslogin-button:focus {
    background: #ffeb3b;
    box-shadow: 0 4px 0 #003087;
    color: #003087;
    outline: none;
}
.nhslogin-button:active {
    background: #1e569b;
    box-shadow: none;
    color: #fff;
    top: 4px;
}
.nhslogin-button::before {
    background: transparent;
    bottom: -6px;
    content: "";
    display: block;
    left: -2px;
    position: absolute;
    right: -2px;
    top: -2px;
}
.nhslogin-button:active::before {
    top: -6px;
}
.nhslogin-button--reverse {
    background-color: #fff;
    box-shadow: 0 4px 0 #003087;
    color: #005eb8;
}
.nhslogin-button--reverse:hover {
    background-color: #f2f2f2;
    color: #005eb8;
}
.nhslogin-button--reverse:focus {
    background: #ffeb3b;
    box-shadow: 0 4px 0 #003087;
    color: #003087;
    outline: 4px solid transparent;
}
.nhslogin-button--reverse:active {
    background: #f2f2f2;
    box-shadow: none;
    color: #005eb8;
    top: 4px;
}
.nhslogin-button--reverse:link {
    color: #005eb8;
}
.nhslogin-button--reverse.nhsuk-button--disabled {
    background-color: #fff;
}
.nhslogin-button--reverse.nhsuk-button--disabled:focus {
    background-color: #fff;
}
.nhslogin-button--disabled,
.nhslogin-button[disabled="disabled"],
.nhslogin-button[disabled] {
    background-color: #005eb8;
    opacity: 0.5;
    pointer-events: none;
}
.nhslogin-button--disabled:hover,
.nhslogin-button[disabled="disabled"]:hover,
.nhslogin-button[disabled]:hover {
    background-color: #005eb8;
    cursor: default;
}
.nhslogin-button--disabled:focus,
.nhslogin-button[disabled="disabled"]:focus,
.nhslogin-button[disabled]:focus {
    background-color: #005eb8;
    outline: none;
}
.nhslogin-button--disabled:active,
.nhslogin-button[disabled="disabled"]:active,
.nhslogin-button[disabled]:active {
    box-shadow: 0 4px 0 #003087;
    top: 0;
}
.nhslogin-button--reverse[disabled="disabled"],
.nhslogin-button--reverse[disabled] {
    background-color: #fff;
    opacity: 0.5;
}
.nhslogin-button--reverse[disabled="disabled"]:hover,
.nhslogin-button--reverse[disabled]:hover {
    background-color: #fff;
    cursor: default;
}
.nhslogin-button--reverse[disabled="disabled"]:focus,
.nhslogin-button--reverse[disabled]:focus {
    outline: none;
}
.nhslogin-button--reverse[disabled="disabled"]:active,
.nhslogin-button--reverse[disabled]:active {
    box-shadow: 0 4px 0 #003087;
    top: 0;
}
.ie8 .nhslogin-button:focus {
    outline: 1px dotted #003087;
}

.input-group {
    position: relative;
}

.input-group .nhsuk-input {
    padding-right: 2.5rem;
}

.input-group .input-group-text {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.input-group .input-group-text .fas {
    font-size: 1rem;
    color: #000;
}
.inactive-practice {
    color: #798188 !important;
}
    .nhsuk-error-summary-patient {
        margin-bottom: 25px !important;
    }
.nhsuk-error-message-patient {
     margin-bottom: 0px !important;
}
