.app-prose-scope {
    font-family: "GDS Transport",arial,sans-serif;
}

.banner {
    width: 100%;
    height: 100px;
    background-color: #08acb4;
    color: #08acb4;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.investni-title {
    text-align: right;
    margin-bottom: 60px;
    margin-right: 270px;

    /* Desktop/Paragraph/Body Large • Bold */

    font-family: 'Arial';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 32px;
}

.investni-logo {
    margin-left: 270px;
    position: relative;
    top: 16px;
    left: -40px;
}

.investni-logo-img {
    background-image: url(../images/investni-logo.png);
    height: 66px;
    width: 315px;
    position: fixed;
}

.hide {
    display: none;
}

/* Disabled and read-only form control styling */
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
    background-color: #eee;
}

ul {
    padding-inline-start: 0;
}

header .nidirect-header {
    background-color: #00ABB3;
    color: #ffffff;
}

.nidirect-servicename-container .nidirect-servicename {
    color: #444343;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

/* MYP*/

.nav > li > a {
    color: #222;
    text-decoration: none;
}

    .nav > li > a:hover {
        background: none;
    }

/* UXM tweaks */

/* UXM requires 1px border above h2 for readability. */

a.h4.list-group-item-heading {
    color: #0E6BB3 !important;
}

a.h4.panel-title {
    color: #ffffff !important;
}
/* Links styled as buttons are having their text changed to purple when visited. UXM goes against default bootstrap behaviour. */
a.btn-primary:visited {
    color: #fff;
}

a.btn-success:visited {
    color: #fff;
}

a.btn-default:visited {
    color: #222;
}

a.btn-disabled {
    pointer-events: none;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    font-style: italic;
}

/* Definition Lists */

.dl-horizontal dd {
    margin-bottom: .5rem;
}

.dl-horizontal dt {
    overflow: inherit;
    text-overflow: clip;
    white-space: normal;
    text-align: start;
    word-break: break-word;
}

@media (min-width: 768px) {
    .dl-width-xs .dl-horizontal dt {
        width: 80px;
    }

    .dl-width-xs .dl-horizontal dd {
        margin-left: 100px;
    }

    .dl-width-sm .dl-horizontal dt {
        width: 180px;
    }

    .dl-width-sm .dl-horizontal dd {
        margin-left: 200px;
    }

    .dl-width-md .dl-horizontal dt {
        width: 280px;
    }

    .dl-width-md .dl-horizontal dd {
        margin-left: 300px;
    }

    .dl-width-lg .dl-horizontal dt {
        width: 380px;
    }

    .dl-width-lg .dl-horizontal dd {
        margin-left: 400px;
    }

    .dl-width-xl .dl-horizontal dt {
        width: 450px;
    }

    .dl-width-xl .dl-horizontal dd {
        margin-left: 470px;
    }
}

.extra-row-information .dl-horizontal {
    margin-bottom: 0;
}

/* The base UXM path for info-notice image is incorrect */
.info-notice {
    background-image: url('../theme/images/info.png');
}

/* UXM leaves space for the "Back to top" banner that we don't want */
.footer {
    min-height: unset;
    padding-bottom: 9px;
}

/* Formatting for readability */

.stepwizard {
    margin: 27px 0;
}

.wizard-navigation .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

div.content {
    margin: auto auto 10px auto;
}

/* Sticky Footer */


.page-wrap {
    margin-bottom: -45px;
}

    .page-wrap:after {
        content: "";
        display: block;
    }

    .site-footer, .page-wrap:after {
        height: 45px;
    }

.safepay {
    width: 100%;
    height: 575px;
    border: none;
}

/* File Uploads */
.file-container {
    padding-top: 8px;
    padding-bottom: 8px;
    position: relative;
}

.file-upload-button {
    border-radius: .25rem;
    border-style: solid;
    border-width: 1px;
    background-color: #eeeeee;
    position: relative;
    overflow: hidden;
    padding: .2rem .5rem;
    margin-right: -5px;
    margin-bottom: 5px;
}

.file-container input[type=file]:hover {
    z-index: 0;
    cursor: pointer;
}

.file-container input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Address Lookup Styling */

.no-js div.address-lookup {
    display: none;
}

.no-js section.address-lookup {
    display: none;
}

/* UXM floats the info-notice class by default */
.info-notice {
    float: none;
}

.table > tbody > tr > td.buttons {
    text-align: right;
    padding: 4px;
    white-space: nowrap;
}

.table > tfoot {
    font-weight: bold;
}

tr.govuk-table__rowbg-secondary {
    font-weight: bold !important;
}

.govuk-table i.fa-envelope-open, .govuk-table i.fa-envelope {
    color: #337ab7;
}

tr.govuk-table__rowtext-muted {
    color: #999 !important;
}
/* File Uploads */
.btn-file {
    position: relative;
    overflow: hidden;
    margin-right: -5px;
    margin-bottom: 5px;
}

/*.btn-group label.btn-file:hover {
    z-index: 0;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}*/

.hidden-fileupload:last-child .hidden-fileupload-label {
    display: none;
}

.hidden-fileupload input[type=file] {
    display: none;
}

.hidden-fileupload:last-child input[type=file] {
    display: block;
}

form div[data-file-upload], div[data-file-upload] div {
    margin-bottom: 0px;
}

.searchbox ::-ms-clear {
    display: none;
}

.searchbox input.btn {
    line-height: 1.4;
}

fieldset.complex {
    border-bottom: 1px solid #e5e5e5;
}

label.disabled, label.disabled:hover {
    background-color: #e6e6e6;
    border-color: #ccc;
}

/* # address lookup # */
.no-js div#address-lookup {
    display: none;
}

div#address-lookup p {
    margin-bottom: 0;
}

div#select-address2 div.radio {
    border: 1px solid #999;
    height: 115px;
    overflow-y: scroll;
    padding: 5px;
    width: 344px;
}

/* Verified status */

.verified-status {
    font-size: initial;
}

    .verified-status.verified {
        color: #007500;
    }

    .verified-status.unverified {
        color: #222;
    }

/* Info Card */

.info-card {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-bottom-color: #0A7AD0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: #0A7AD0;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #0A7AD0;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #0A7AD0;
    border-top-style: solid;
    border-top-width: 1px;
    margin-bottom: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 18px;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 14px;
    width: 100%;
    height: 150px;
    float: left;
}

/* Service Table */

.btn-search {
    height: 45px;
}

.service-panel-group {
    clear: both;
}

.service-panel {
    padding: 0;
}

    .service-panel table {
        margin-bottom: 0;
    }

        .service-panel table > tbody > tr > td,
        .service-panel table > tbody > tr > th {
            border-color: #ddd;
            background: none;
        }

            .service-panel table > tbody > tr > td:first-child,
            .service-panel table > tbody > tr > th:first-child {
                border-left: 0;
            }

        .service-panel table > tbody > tr:first-child > td,
        .service-panel table > tbody > tr:first-child > th {
            border-top: 0;
        }

.service-table > tbody > tr:last-child > td,
.service-table > tbody > tr:last-child > th {
    border-bottom: 0;
}

/* External Button Link */

a span.elink {
    background: transparent url(data:image/gif;base64,R0lGODlhDgALAPABAP///wAAACH5BAUAAAEALAAAAAAOAAsAQAIaTICpae1nAHxOThqlxWf5fWEKl4UU0n0jaRUAOw==) right center no-repeat;
}

/* Chatbot */

.chatbot-icon {
    display: inline-flex;
    position: fixed;
    bottom: 75px;
    right: 30px;
    cursor: pointer;
}

.speech-bubble {
    background: #FFF;
    border-radius: .4em;
    margin-right: 16px;
    box-shadow: 0px 0px 6px #B2B2B2;
    width: 215px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 5px 10px;
    position: absolute;
    top: 20%;
    right: 100%;
    transition: all 0.8s;
    opacity: 0;
    visibility: hidden;
    height: 40px;
}

    .speech-bubble:after {
        background-color: #FFF;
        box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
        content: "\00a0";
        display: block;
        height: 15px;
        left: 205px;
        position: absolute;
        top: 11px;
        transform: rotate( 225deg );
        -moz-transform: rotate( 225deg );
        -ms-transform: rotate( 225deg );
        -o-transform: rotate( 225deg );
        -webkit-transform: rotate( 225deg );
        width: 18px;
    }

    .chatbot-icon:hover .speech-bubble, .speech-bubble.fixed {
        visibility: visible;
        opacity: 1;
    }

.speech-bubble-visible {
    visibility: visible;
    opacity: 1;
}

.chatbot-container {
    right: -600px;
    width: 600px;
    height: 300px;
    bottom: 50px;
    border: 1px solid #9a9a9a;
    border-right: 0;
    background: #ffffff;
    z-index: 99999;
    position: fixed;
    transition: margin-bottom 0.3s, right 1s;
}

    .chatbot-container #chatbot-target {
        width: 600px;
        height: 255px;
        border: 0;
    }

    .chatbot-container .chatbot-header {
        background-color: #0A78CD;
        border-bottom: 1px solid #9a9a9a;
        color: #ffffff;
        font-weight: 500;
        letter-spacing: 0.5px;
        font-family: "Segoe UI", sans-serif;
        font-size: 15px;
        padding: 8px 8px 0px 8px;
        height: 35px;
    }

        .chatbot-container .chatbot-header .chatbot-header-text {
            padding: 2px;
            float: left;
        }

        .chatbot-container .chatbot-header .chatbot-header-close-button {
            float: right;
        }

            .chatbot-container .chatbot-header .chatbot-header-close-button #chat-window-close-button {
                height: 20px;
                width: 20px;
                margin-bottom: 8px;
                cursor: pointer;
            }

    .chatbot-container.in {
        right: 0px;
        transition: margin-bottom 0.3s, right 1s;
    }

.btn {
    margin-bottom: 4px;
}

#toast-container > div {
    opacity: 1 !important;
}

.toast-success {
    background-color: #328633;
}

.btn-warning {
    background-color: #BE5804;
    border-color: #BE5804;
}

.hidden-fileupload:focus {
    border-color: black !important;
}

.hidden-fileupload:hover {
    border-color: black !important;
}

#wrapper {
    clear: both !important;
    float: none !important;
}

.govuk-card {
    height: 100%;
    box-sizing: border-box;
}

.govuk-button__search-suffix {
    padding-top: 0;
    padding-left: 0;
    margin: 0;
    background: none;
    border: 0;
}

.govuk-input__search-suffix {
    font-family: Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    display: inline-block;
    min-width: 40px;
    min-width: 2.5rem;
    height: 40px;
    height: 2.5rem;
    padding: 0px;
    border: 0px solid #0b0c0c;
    background-color: #f3f2f1;
    text-align: center;
    white-space: nowrap;
    cursor: default;
    flex: 0 0 auto
}

.govuk-image__search-suffix {
    cursor: pointer;
}

/* MOJ Task list pattern */

.app-task-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 40.0625em) {
    .app-task-list {
        min-width: 550px;
    }
}

.app-task-list__section {
    display: table;
    font-family: "GDS Transport", arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.11111;
}

@media print {
    .app-task-list__section {
        font-family: sans-serif;
    }
}

@media (min-width: 40.0625em) {
    .app-task-list__section {
        font-size: 24px;
        font-size: 1.5rem;
        line-height: 1.25;
    }
}

@media print {
    .app-task-list__section {
        font-size: 18pt;
        line-height: 1.15;
    }
}

.app-task-list__section-number {
    display: table-cell;
}

@media (min-width: 40.0625em) {
    .app-task-list__section-number {
        min-width: 30px;
        padding-right: 0;
    }
}

.app-task-list__items {
    font-family: "GDS Transport", arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 40px;
    list-style: none;
    padding-left: 0;
}

@media print {
    .app-task-list__items {
        font-family: sans-serif;
    }
}

@media (min-width: 40.0625em) {
    .app-task-list__items {
        font-size: 19px;
        font-size: 1.1875rem;
        line-height: 1.31579;
    }
}

@media print {
    .app-task-list__items {
        font-size: 14pt;
        line-height: 1.15;
    }
}

@media (min-width: 40.0625em) {
    .app-task-list__items {
        margin-bottom: 60px;
    }
}

@media (min-width: 40.0625em) {
    .app-task-list__items {
        padding-left: 30px;
    }
}

.app-task-list__item {
    border-bottom: 1px solid #b1b4b6;
    margin-bottom: 0 !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .app-task-list__item:after {
        content: "";
        display: block;
        clear: both;
    }

    .app-task-list__item:first-child {
        border-top: 1px solid #b1b4b6;
    }

.app-task-list__task-name {
    display: block;
}

@media (min-width: 28.125em) {
    .app-task-list__task-name {
        float: left;
    }
}

.app-task-list__tag,
.app-task-list__task-completed {
    margin-top: 10px;
    margin-bottom: 5px;
}

@media (min-width: 28.125em) {
    .app-task-list__tag,
    .app-task-list__task-completed {
        float: right;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.app-task-list__remove-item {
    float: right;
    margin-left: 15px;
}

@media (min-width: 28.125em) {
    app-task-list__remove-item {
        float: right;
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* MOJ navigation overrides and extensions */

li.primary-navigation--active {
    background-color: #0a78cd;
}

.primary-navigation--active .moj-primary-navigation__link {
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
}

.primary-navigation--active .moj-primary-navigation__link:focus {
    color: #000;
}

.govuk-tag.app-task-list__tag {
    min-width: 131px;
    text-align: center;
}

    .govuk-tag.app-task-list__tag.incomplete {
        color: #383f43;
        background: #eeefef;
    }

    .govuk-tag.app-task-list__tag.unsubmitted {
        color: #594d00;
        background: #fff7bf;
    }

    .govuk-tag.app-task-list__tag.complete {
        color: #144e81;
        background: #d2e2f1;
    }

/* Mitek Styles begin */

div.integrator {
    border: 0px;
}

@media (orientation: portrait) {
    .integrator.DL_FRONT {
        background: url('/assets/customer/images/ghost_dlfront_portrait.png') no-repeat;
    }

    .integrator.PDF417_BARCODE {
        background: url('/assets/customer/images/ghost_dlfront_portrait.png') no-repeat;
    }

    .integrator.PASSPORT {
        background: url('/assets/customer/images/ghost_passport_portrait.png') no-repeat;
    }

    .integrator.SELFIE {
        background: url('/assets/customer/images/ghost_selfie_portrait.gif') no-repeat;
    }

    .integrator.SELFIE.FACE_IN_GUIDE {
        background: url('/assets/customer/images/ghost_selfie_portrait_green.gif') no-repeat;
    }

    .integrator.CHECK_FRONT {
        background: url('/assets/customer/images/ghost_checkfront_portrait.png') no-repeat;
    }

    .integrator.CHECK_BACK {
        background: url('/assets/customer/images/ghost_checkback_portrait.png') no-repeat;
    }

    .integrator.DOCUMENT {
        background: url('/assets/customer/images/ghost_document_portrait.png') no-repeat;
    }
}

@media (orientation: landscape) {
    .integrator.DL_FRONT {
        background: url('/assets/customer/images/ghost_dlfront.png') no-repeat;
    }

    .integrator.PDF417_BARCODE {
        background: url('/assets/customer/images/ghost_dlfront.png') no-repeat;
    }

    .integrator.PASSPORT {
        background: url('/assets/customer/images/ghost_passport.png') no-repeat;
    }

    .integrator.SELFIE {
        background: url('/assets/customer/images/ghost_selfie.gif') no-repeat;
    }

    .integrator.SELFIE.FACE_IN_GUIDE {
        background: url('/assets/customer/images/ghost_selfie_green.gif') no-repeat;
    }

    .integrator.CHECK_FRONT {
        background: url('/assets/customer/images/ghost_checkfront.png') no-repeat;
    }

    .integrator.CHECK_BACK {
        background: url('/assets/customer/images/ghost_checkback.png') no-repeat;
    }

    .integrator.DOCUMENT {
        background: url('/assets/customer/images/ghost_document.png') no-repeat;
    }
}

.spinner {
    padding-top: 2em;
    padding-bottom: 2em;
}

.loader {
    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid #3498db;
    border-bottom: 8px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#mibiData {
    width: 80%;
    height: 120px;
}

.displayImage {
    width: 100% !important;
    height: auto !important;
}

.toggle-password {
    cursor: pointer;
}

/* Mitek Styles end */

/*@mixin govuk-grid {
    @include govuk-h-clearfix;
    margin-right: - ($govuk-gutter-half);
    margin-left: - ($govuk-gutter-half);
}

@mixin govuk-grid-item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 $govuk-gutter-half;

    @include mq($from: tablet) {
        float: left;
    }
}

@include govuk-exports("grid") {

    .govuk-o-grid {
        @include govuk-grid;
    }

    .govuk-o-grid__item {
        @include govuk-grid-item;
    }

    .govuk-o-grid__item--full {
        width: 100%;
    }

    .govuk-o-grid__item--one-half {
        @include mq($from: tablet) {
            width: percentage(1 / 2);
        }
    }

    .govuk-o-grid__item--one-third {
        @include mq($from: tablet) {
            width: percentage(1 / 3);
        }
    }

    .govuk-o-grid__item--two-thirds {
        @include mq($from: tablet) {
            width: percentage(2 / 3);
        }
    }

    .govuk-o-grid__item--one-quarter {
        @include mq($from: tablet) {
            width: percentage(1 / 4);
        }
    }
}*/
