﻿/*Form Wizard*/
.bs-wizard {
    display: table;
    overflow: hidden;
    width: 100%;
}

.bs-wizard > .bs-wizard-step {
    display: table-cell;
    float: left;
    margin: 0;
    min-width: 80px;
    padding: 0;
    position: relative;
    text-align: center;
}

.bs-wizard > .bs-wizard-step .bs-wizard-info {
    color: #999;
    font-size: 80%;
    padding: 10px;
}

.bs-wizard > .bs-wizard-step > .progress {
    border-radius: 0px;
    box-shadow: none;
    height: 8px;
    margin-top: 20px;
    position: relative;
}

.bs-wizard > .bs-wizard-step > .progress > .progress-bar {
    background-color: #44c2f8;
    box-shadow: none;
    height: 2px;
    width: 0px;
}

.bs-wizard > .bs-wizard-step.complete .opacity, .bs-wizard > .bs-wizard-step.disabled .opacity { opacity: 0.75; }

/* Dots */

.bs-wizard > .bs-wizard-step > .bs-wizard-dot {
    background-color: #44c2f8;
    background-image: none;
    border-radius: 50%;
    display: block;
    height: 30px;
    margin: -23px auto 0 auto;
    position: relative;
    width: 30px;
    z-index: 1;
}

/* Complete Steps */

.bs-wizard > .bs-wizard-step.complete a:hover + .opacity { opacity: 1; }

.bs-wizard > .bs-wizard-step.complete > .bs-wizard-info { color: #0086be; }

.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {
    height: 2px;
    width: 100%;
}

.bs-wizard > .bs-wizard-step.complete > .bs-wizard-dot { background-color: #44c2f8; }

/* Active Step */

.bs-wizard > .bs-wizard-step.active { font-weight: bold; }

.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {
    height: 2px;
    width: 50%;
}

.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {
    height: 2px;
    width: 0%;
}

.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {
    height: 2px;
    width: 100%;
}

.bs-wizard > .bs-wizard-step.active > .bs-wizard-info { color: #00264d; }

.bs-wizard > .bs-wizard-step.active > .bs-wizard-dot { background-color: #009fe3; }

/* Disabled Step */

.bs-wizard > .bs-wizard-step.disabled > .progress > .progress-bar {
    background-color: #999;
    margin-left: -50%;
    width: 180%;
    z-index: 0;
}

.bs-wizard > .bs-wizard-step.disabled:last-child > .progress > .progress-bar { margin-left: -90%; }

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-info { color: #4d4d4d; }

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot { background-color: #999; }

.bs-wizard > .bs-wizard-step:first-child > .progress {
    left: 50%;
    width: 50%;
}

.bs-wizard > .bs-wizard-step:last-child > .progress { width: 50%; }

.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot, .bs-wizard > .bs-wizard-step.active a.bs-wizard-dot {
    cursor: default;
    pointer-events: none;
}

/*END Form Wizard*/

/** Styles for the Summary Page*/

.type--header3.workwiseform { font-weight: normal; }

.type--header4.workwiseform {
    float: left;
    font-size: 22px;
    font-weight: normal;
    margin: 0;
    width: 100%;
}

hr.workwiseform {
    float: left;
    height: 1px;
    margin-top: 0;
    width: 100%;
}

a.workwiseform {
    position: absolute;
    right: 20px;
    top: 20px;
}

body.workwiseform .block--side .block { width: 100% !important; }

@media (max-width: 420px) {
    a.workwiseform {
        float: left;
        margin-bottom: 10px;
        margin-top: -10px;
        position: initial;
    }
}

fieldset.workwiseform { position: relative; }

/*body.workwiseform .cfx button {
    float: right;
    margin-right: 0;
    max-width: 150px;
}*/

/* End Summary Page Styling */

/* General Styling */

body.workwiseform .tooltip { display: none; }

body.workwiseform em { font-style: italic; }

body.workwiseform span.stylized-file__name {
    color: #009de0;
    font-weight: bold;
    text-decoration: underline;
    word-break: break-all;
}

body.workwiseform p.overview-required-p { font-size: 12px; }

body.workwiseform span.overview-required {
    color: #db0000;
    display: inline;
    font-size: 12px;
    font-size: 1.2rem;
    vertical-align: super;
}

body.workwiseform div#alert-message button.btn.btn--tertiary.btn-default { width: auto; }

@media (max-width: 380px) {
    body.workwiseform a.btn--prev {
        margin-right: 0;
        padding-left: 45px;
        padding-right: 15px;
    }

    body.workwiseform button.btn--next {
        max-width: 150px;
        padding-left: 15px;
        padding-right: 45px;
    }
}

.btn--margin-bottom {
  margin-bottom: 15px;
}

/*Validation Styling */

body.workwiseform div.validation-summary-errors div.error-text {
    background-color: #ffeded;
    border: solid 2px #db0000;
    margin: 5px 10px 5px 0;
    padding: 15px;
}

body.workwiseform div.validation-summary-errors ul { margin: 20px 0; }

body.workwiseform div.validation-summary-errors ul li {
    color: #db0000;
    font-size: 14px;
    font-size: 1.4rem;
}

body.workwiseform div.validation-summary-errors ul li:before { color: #db0000; }

body.workwiseform .field--error .stylized-select select, body.workwiseform label.required.field--error, body.workwiseform div.field--error .radio-bar, body.workwiseform fieldset.field.field--error {
    background-color: #ffeded;
    border-color: #db0000;
    border-style: solid;
    border-width: 2px;
    color: #333333;
}

body.workwiseform div.field--error .radio-bar span { border-color: #db0000; }

/*ReferralCode Validation */

body.workwiseform div#refcodevalid {
    background-color: #009DE0;
    border: solid 2px #0086be;
    color: #FFF;
    display: none;
    padding: 15px;
}

body.workwiseform div#invalidCode {
    background-color: #ffeded;
    border: solid 2px #db0000;
    display: none;
    padding: 15px;
}

body.workwiseform div#invalidPostCode {
    background-color: #ffeded;
    border: solid 2px #db0000;
    display: none;
    padding: 15px;
}




/* For applying input masks the NI Number and referral code fields*/

#NINumber, #ReferralCode, #HomePostcode { text-transform: uppercase; }


/* Busy Spinner */

#busy {
    display: none;
    left: 45%;
    position: fixed;
    top: 33%;
    z-index: 1234;
}

.hidden { display: none; }


@font-face {
    font-family: 'dotsfont';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/dotsfont.eot');
    src: url('/fonts/dotsfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/dotsfont.svg#font') format('svg'),
         url('/fonts/dotsfont.woff') format('woff'),
         url('/fonts/dotsfont.ttf') format('truetype');
}

input.RefCode {
    -webkit-text-security: disc;
    font-family: dotsfont;
}

input#RefSeg0 { width: 6em; }

input#RefSeg1 { width: 4em; }

input#RefSeg2 { width: 8em; }

input#RefSeg3 { width: 4em; }