﻿body {
    color: #505050 !important;
}

[ng-cloak] {
    display: none;
}

.page-error .request-id {
    margin-left: 20px;
    font-size: 80%;
    font-weight: bold;
}

.page-error .request-id span {
    font-weight: normal;
}

.page-login .list-unstyled li {
    margin-bottom: 10px;
}

.page-login .external-providers li:first-child {
    padding-left: 5px;
}

.page-login .external-providers li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.page-loggedOut iframe.signout {
    display: none;
}

.page-consent .client-logo {
    float: left;
}

.page-consent .client-logo img {
    width: 80px;
    height: 80px;
}

.page-consent .consent-buttons {
    margin-top: 25px;
}

.page-consent .consent-form .consent-scopecheck {
    display: inline-block;
    margin-right: 5px;
}

.page-consent .consent-form .consent-description {
    margin-left: 25px;
}

.page-consent .consent-form .consent-description label {
    font-weight: normal;
}

.page-consent .consent-form .consent-remember {
    padding-left: 16px;
}

.page-permissions .page-header {
    margin-bottom: 10px;
}

.page-permissions .permissions .permission {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

.page-permissions .permissions .permission img {
    width: 100px;
    height: 100px;
}

.page-permissions .permissions .permission .permission-clientname {
    font-size: 140%;
    font-weight: bold;
}

.page-permissions .permissions .permission .permission-type {
    font-size: 120%;
    font-weight: bold;
}

.page-permissions .permissions .permission li {
    list-style-type: none;
    display: inline;
}

.page-permissions .permissions .permission li:after {
    content: ', ';
}

.page-permissions .permissions .permission li:last-child:after {
    content: '';
}

.logo {
    width: auto;
    height: auto;
    float: left;
    border: none;
}

.navbar-inverse {
    background-color: #ffffff !important;
    color: #de0001 !important;
    border-color: lightgray !important;
}

.navbar-brand {
    color: #de0001 !important;
}

.navbar-brand:hover {
    color: #de0001 !important;
}

.navbar-brand > img {
    display: inline !important;
}

.navbar-nav > li > a {
    color: #505050 !important;
    left: 5px;
}

.navbar-nav > li > a:focus {
    color: #ffffff !important;
    background-color: #505050 !important;
}

.navbar-nav > li > a:hover {
    color: #ffffff !important;
    background-color: #505050 !important;
}

.navbar-nav > li > a:active {
    color: #ffffff !important;
    background-color: #505050 !important;
}

.panel-heading {
    background-color: #de0001 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

input[type="text"], input[type="password"], input[type="email"] {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

select {
    border-radius: 0;
}

.panel {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0;
}

.btn {
    border-radius: 0;
    border: 0;
}

.btn-default {
    color: #fff;
    background-color: #495057;
    border-color: #3d4349;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .btn-default.dropdown-toggle {
    color: #fff;
    background-color: #363c41;
    border-color: #212528;
}

.btn-default:active, .btn-default.active, .open .btn-default.dropdown-toggle {
    background-image: none;
}

.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
    background-color: #495057;
    border-color: #3d4349;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #165a9e;
    border-color: #104376;
}

.btn-primary:active, .btn-primary.active, .open .btn-primary.dropdown-toggle {
    background-image: none;
}

.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-warning {
    color: #fff;
    background-color: #b24d04;
    border-color: #994203;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #8a3c03;
    border-color: #5d2802;
}

.btn-warning:active, .btn-warning.active, .open .btn-warning.dropdown-toggle {
    background-image: none;
}

.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
    background-color: #b24d04;
    border-color: #994203;
}

.btn-danger {
    color: #fff;
    background-color: #c92a2a;
    border-color: #b42626;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #a72323;
    border-color: #811b1b;
}

.btn-danger:active, .btn-danger.active, .open .btn-danger.dropdown-toggle {
    background-image: none;
}

.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
    background-color: #c92a2a;
    border-color: #b42626;
}

.btn-success {
    color: #fff;
    background-color: #396f3a;
    border-color: #305e31;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #2b542c;
    border-color: #1c361c;
}

.btn-success:active, .btn-success.active, .open .btn-success.dropdown-toggle {
    background-image: none;
}

.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active {
    background-color: #396f3a;
    border-color: #305e31;
}

.btn-info {
    color: #fff;
    background-color: #0b7285;
    border-color: #095e6d;
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #08525f;
    border-color: #042d35;
}

.btn-info:active, .btn-info.active, .open .btn-info.dropdown-toggle {
    background-image: none;
}

.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
    background-color: #0b7285;
    border-color: #095e6d;
}

.btn-link {
    color: #1b6ec2;
    font-weight: normal;
    cursor: pointer;
    border-radius: 0;
}

.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link {
    background-color: transparent;
    box-shadow: none;
}

.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
    border-color: transparent;
}

.btn-link:hover, .btn-link:focus {
    color: #12487f;
    text-decoration: underline;
    background-color: transparent;
}

.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus {
    color: #adb5bd;
    text-decoration: none;
}

.btn-primary {
    background-color: #de0001 !important;
    color: #ffffff !important;
}

.btn-default {
    background-color: lightgrey !important;
    color: #323232 !important;
}

.btn-group {
    display: flex;
}

.button-form-group > * {
    margin: 5px 3px !important;
}

.form-inline > * {
    margin: 5px 3px 5px 0 !important
}

.alert {
    border-radius: 0;
}

.alert-info {
    background-color: lightgrey !important;
    color: #505050;
    border: #505050;
}

.row.extra-bottom-padding {
    margin-bottom: 5px;
}

.tfa-status {
    margin-left: 1px;
}

.tfa-on {
    padding: 3px 5px;
    margin-right: 5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    color: #fff;
    background-color: #396f3a;
    border-color: #305e31;
    border-radius: 2px;
}

.tfa-off {
    padding: 3px 5px;
    margin-right: 5px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    background-color: #de0001;
    border-radius: 2px;
}

.pin {
    width: 50%;
}

.md-datepicker-button {
    display: none !important;
}

.md-datepicker-input-container {
    margin-left: 0 !important;
}

.error-text {
    color: red;
}

.ok-text {
    color: green;
}

.progress-stages {
    height: 2px;
    position: absolute;
    left: 20px;
    right: 35px;
    top: 25px;
}

.progress-stages .progress-bar-stages {
    width: 0;
    background-color: green;
}

.progress-stages .progress-bar-stages.stage-2 {
    width: 0;
    -webkit-animation: width-half 1s forwards ease;
    -moz-animation: width-half 1s forwards ease;
    -o-animation: width-half 1s forwards ease;
    animation: width-half 1s forwards ease;
}

.progress-stages .progress-bar-stages.stage-3 {
    width: 50%;
    -webkit-animation: width-full 1s forwards ease;
    -moz-animation: width-full 1s forwards ease;
    -o-animation: width-full 1s forwards ease;
    animation: width-full 1s forwards ease;
}

.progress-stages .progress-bar-stages.stage-4 {
    width: 100%;
}

.stages {
    padding: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.stages .stage {
    list-style-type: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 0.8em;
    float: left;
    position: relative;
    border-radius: 50%;
}

.stages .stage:before {
    content: "";
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: block;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

.stages .stage:first-child:after {
    content: none;
}

.stages .stage.completed:before {
    background: green;
    color: white;
}

.stages .stage.completed:after {
    background: green;
}

.stages .stage.active:before {
    -webkit-animation: active-stage-pulse .4s .6s forwards linear;
    -moz-animation: active-stage-pulse .4s .6s forwards linear;
    -o-animation: active-stage-pulse .4s .6s forwards linear;
    animation: active-stage-pulse .4s .6s forwards linear;
}

.stages .stage.active:after {
    background: green;
}

.stages .stage .stage-number {
    position: absolute;
    font-size: 14px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    line-height: 50px;
    font-weight: 600;
}

.stages .stage.completed .stage-number {
    color: white;
}

.relative {
    position: relative;
}

.input-placeholder {
    position: absolute;
    right: 22px;
    top: 6px;
    line-height: 1.42857143;
    font-size: 14px;
    color: #999999;
}

.m0 {
    margin: 0;
}

.mt10 {
    margin-top: 10px;
}

.mr30 {
    margin-right: 30px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.pl15 {
    padding-left: 15px;
}

.font-weight-normal {
    font-weight: normal;
}

.max-width-40 {
    max-width: 40%;
}

.icon-flip-horizontal {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.help {
    border-bottom: 1px solid lightgray;
}

.help-icon {
    position: absolute;
    right: 20px;
    top: 7px;
    line-height: 1.42857143;
    color: white;
}

.help-icon.active {
    font-size: 20px;
    right: 13px;
    top: 5px;
}

.help-icon:hover {
    cursor: pointer;
}

.no-animation-delay {
    -webkit-animation-delay: 0s !important;
    -moz-animation-delay: 0s !important;
    -o-animation-delay: 0s !important;
    animation-delay: 0s !important;
}

@-webkit-keyframes width-half {
    to {
         width: 50%;
     }
 }

@-webkit-keyframes width-full {
    to {
        width: 100%;
    }
}

@-webkit-keyframes active-stage-pulse {
    0% {
        box-shadow: 0 0 0 0 white, 0 0 0 0 green;
    }

    20% {
        box-shadow: 0 0 0 0 white, 0 0 0 1px green;
    }

    40% {
        box-shadow: 0 0 0 0 white, 0 0 0 2px green;
    }

    60% {
        box-shadow: 0 0 0 1px white, 0 0 0 3px green;
    }

    66% {
        box-shadow: 0 0 0 2px white, 0 0 0 4px green;
    }

    100% {
        box-shadow: 0 0 0 3px white, 0 0 0 5px green;
    }
}

@-moz-keyframes width-half {
    to {
        width: 50%;
    }
}

@-moz-keyframes width-full {
    to {
        width: 100%;
    }
}

@-moz-keyframes active-stage-pulse {
    0% {
        box-shadow: 0 0 0 0 white, 0 0 0 0 green;
    }

    20% {
        box-shadow: 0 0 0 0 white, 0 0 0 1px green;
    }

    40% {
        box-shadow: 0 0 0 0 white, 0 0 0 2px green;
    }

    60% {
        box-shadow: 0 0 0 1px white, 0 0 0 3px green;
    }

    66% {
        box-shadow: 0 0 0 2px white, 0 0 0 4px green;
    }

    100% {
        box-shadow: 0 0 0 3px white, 0 0 0 5px green;
    }
}

@-o-keyframes width-half {
    to {
        width: 50%;
    }
}

@-o-keyframes width-full {
    to {
        width: 100%;
    }
}

@-o-keyframes active-stage-pulse {
    0% {
        box-shadow: 0 0 0 0 white, 0 0 0 0 green;
    }

    20% {
        box-shadow: 0 0 0 0 white, 0 0 0 1px green;
    }

    40% {
        box-shadow: 0 0 0 0 white, 0 0 0 2px green;
    }

    60% {
        box-shadow: 0 0 0 1px white, 0 0 0 3px green;
    }

    66% {
        box-shadow: 0 0 0 2px white, 0 0 0 4px green;
    }

    100% {
        box-shadow: 0 0 0 3px white, 0 0 0 5px green;
    }
}

@keyframes width-half {
    to {
        width: 50%;
    }
}

@keyframes width-full {
    to {
        width: 100%;
    }
}

@keyframes active-stage-pulse {
    0% {
        box-shadow: 0 0 0 0 white, 0 0 0 0 green;
    }

    20% {
        box-shadow: 0 0 0 0 white, 0 0 0 1px green;
    }

    40% {
        box-shadow: 0 0 0 0 white, 0 0 0 2px green;
    }

    60% {
        box-shadow: 0 0 0 1px white, 0 0 0 3px green;
    }

    66% {
        box-shadow: 0 0 0 2px white, 0 0 0 4px green;
    }

    100% {
        box-shadow: 0 0 0 3px white, 0 0 0 5px green;
    }
}