﻿/* Errors */

.required-field {
    color: #E24000;
    font-size: 28px;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    top: 9px;
}

.required-field, .rb-formgroup__label {
    display: inline-block;
}


.rb-content-flow .rb-input {
    margin-top: 0;
}

.rb-content-flow .rb-formgroup__label {
    margin-top: 0;
}

.rb-content-flow .rb-formgroup__hint {
    margin-top: 0;
}

.input-validation-error {
    border: 2px solid #E24000 !important;
}

.bullet {
    float: left;
    margin-left: -30px;
    width: 24px;
    fill: rgba(var(--rb--color--grey));
    float: left;
    padding-right: 10px;
    margin-top: 3px;
}

    .bullet.big {
        margin-left: -32px;
        width: 26px;
        padding-right: 8px;
        fill: rgba(var(--rb--color--blue));
    }

.headerStatus {
    color: rgba(var(--rb--color--grey));
}

.headerStatusCurr {
    color: rgba(var(--rb--color--blue));
}

/* No normal bullets please */
ul.timeline {
    list-style-type: none;
    padding-left: 0;
}

/* The actual line being placed before each list item, tweak width and color as appropriate */
li.timeline-item2:before {
    margin-left: 0 !important;
    height: 30px !important;
    background-color: rgba(var(--rb--color--grey));
    width: 1px !important;
    content: '' !important;
    position: absolute !important;
    top: 20px !important;
    bottom: 0px !important;
    left: -24px !important;
}

/*Shorter line for tracker with 2 items*/

li.timeline-item2 {
    /* You need to turn on relative positioning so the line is placed relative to the item rather than absolutely on the page */
    position: relative;
    /* Use padding to space things out rather than margins as the line would get broken up otherwise */
    margin: 0;
    padding-bottom: 1em;
    padding-left: 0;
}

    /* Stop the line short on the final list item */
    li.timeline-item2:nth-last-child(2):before {
        height: 28px !important;
    }

/* Hide/Show */

.hide {
    display: none !important;
}

.show {
    display: block !important;
}


/* Loader/Spinner */

.loader::after {
    content: "Page loading ...";
    color: white;
    top: 55%;
    position: absolute;
    display: block;
    width: 100%;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.loader {
    display: none;
}

.loader {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: black;
    background: rgba(0, 0, 0, 0.6) url("/Content/images/spinner.gif") no-repeat center center;
    background-size: auto auto;
    background-size: 60px 60px;
    z-index: 1000;
}

input.loading {
    background-color: #ffffff;
    background-image: url("/Content/images/spinner.gif");
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}

.spinner-position {
    position: relative;
    margin-top: 0px !important;
}

.ddl-spinner {
    position: absolute;
    top: 34px;
    right: 6%;
    display: none;
    margin-top: 0px !important;
}

.ddl-spinner-no-label {
    position: absolute;
    top: 4px;
    right: 25px;
    display: none;
}

    .ddl-spinner span, .ddl-spinner-no-label span {
        color: #212A30;
        position: relative;
        top: 1px;
        display: inline-block;
    }

    .ddl-spinner img, .ddl-spinner-no-label img {
        height: 25px;
        width: 25px;
        display: inline-block;
        margin-top: 0px !important;
    }


.rb-card.rb-card--overlay-link {
    -webkit-transition: background-color 0.5s linear;
    -ms-transition: background-color 0.5s linear;
    transition: background-color 0.5s linear;
}

    .rb-card.rb-card--overlay-link .rb-card__content {
        align-self: center;
    }

    .rb-card.rb-card--overlay-link:hover {
        background-color: rgba(var(--rb--color--stone));
    }

.rb-content-flow .rb-cardgroup section.rb-card {
    margin-top: 0px !important;
}

.rb-content-flow .rb-cardgroup .rb-card__title {
    margin-top: 0px !important;
}

.rb-card .rb-card__content dd {
    margin-top: 0px !important;
}


.rb-card .rb-card__inner {
    align-content: center;
}

.rb-content-flow .rb-accordion__content {
    margin-top: 0;
}

    .rb-content-flow .rb-accordion__content ul {
        list-style-type: none;
    }

.rb-content-flow .rb-table td .rb-button {
    margin-top: 0;
}

input[type='submit'] {
    cursor: pointer;
}

.rb-content-flow p.rb-card__text {
    margin-top: 0;
}

.rb-content-flow > .rb-notification:first-child {
    padding-top: var(--rb--spacing--s);
}

.collapse {
    display: none;
}

.expand {
    display: block;
    padding: var(--rb--spacing--s);
    margin-top: var(--rb--spacing--s);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.rb-notification {
    margin-bottom: var(--rb--spacing--s);
}

.field-validation-error {
    color: rgb(226, 0, 0);
    font-weight: bold;
}