﻿body {
    margin-top: 65px;
    color: #777;
}

.navbar-header {
    position: relative;
    top: -4px;
}

.navbar-brand > .icon-banner {
    position: relative;
    top: -2px;
    display: inline;
}

.icon {
    position: relative;
    top: -10px;
}

.logged-out iframe {
    display: none;
    width: 0;
    height: 0;
}

.spacer {
    padding: 5px;
}

.btn {
    border-radius: 0;
}

.btn-primary {
    color: #fff;
    background-color: #777;
    border-color: #777;
}

.btn:hover,
.btn:focus,
.btn:active {
    color: #fff;
    background-color: #ccc;
    border-color: #ccc;
    outline: none;
}

a {
    color: #55b2e9;
}

.alert {
    border-radius: 0px;
    padding: 15px 0px 5px 0px;
}

.alert-danger {
    color: #F44336;
    background-color: #ffe8e7;
    border-color: #F44336;
}

.three-dots-row-spinner {
    width: 30px;
    height: 30px;
    background-color: #333;
    margin: 100px auto;
    -webkit-animation: rotateplane 1.2s infinite ease-in-out;
    animation: rotateplane 1.2s infinite ease-in-out;
}

.loader {
    position: absolute;
    background: rgba(0,0,0,0.73);
    z-index: 1500;
    min-height: 100%;
    min-width: 100%;
    top: 0;
    left: 0;
}

    .loader .loader-content {
        color: #55b2e9;
        font-size: 20px;
        position: fixed;
        top: 30%;
        left: 45%;
        width: 135px;
    }

    .loader .three-dots-row-spinner {
        background: #55b2e9;
        margin: 0px;
        float: left;
    }

    .loader .loader-text {
        float: right;
    }

@-webkit-keyframes rotateplane {
    0% {
        -webkit-transform: perspective(120px);
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg);
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
    }
}

@keyframes rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

.login-page,
.profile-page,
.registration,
.forgot-password,
.verify-code,
.enable-authentication {
    font-size: 12px;
    margin-top: 15vh;
    display: grid;
    grid-template-columns: 1fr 330px 1fr;
    grid-template-areas: ". regform .";
}

    .login-page .reg-form,
    .registration .reg-form,
    .forgot-password .reg-form,
    .verify-code .reg-form,
    .enable-authentication .reg-form {
        grid-area: regform;
    }

    .login-page form,
    .registration form,
    .forgot-password form,
    .verify-code form,
    .enable-authentication form {
        margin-bottom: 20px;
    }

    .login-page .btn,
    .registration .btn,
    .forgot-password .btn,
    .verify-code .btn,
    .enable-authentication .btn {
        width: 100%;
        font-size: 11px;
    }

    .login-page .btn-primary,
    .registration .btn-primary,
    .forgot-password .btn-primary,
    .verify-code .btn-primary,
    .enable-authentication .btn-primary,
    .gen-recovery-codes .btn-primary {
        color: #fff;
        background-color: #55b2e9 !important;
        border-color: #55b2e9 !important;
    }

        .login-page .btn-primary:hover,
        .login-page .btn-primary:focus,
        .login-page .btn-primary:active,
        .registration .btn-primary:hover,
        .registration .btn-primary:focus,
        .registration .btn-primary:active,
        .forgot-password .btn-primary:hover,
        .forgot-password .btn-primary:focus,
        .forgot-password .btn-primary:active,
        .verify-code .btn-primary:hover,
        .verify-code .btn-primary:focus,
        .verify-code .btn-primary:active,
        .enable-authentication .btn-primary:hover,
        .enable-authentication .btn-primary:focus,
        .enable-authentication .btn-primary:active {
            background-color: #2f98d6;
            border-color: #2f98d6;
            outline: none;
        }

    .login-page #qrCode,
    .registration #qrCode,
    .forgot-password #qrCode,
    .verify-code #qrCode,
    .enable-authentication #qrCode {
        padding-bottom: 30px;
    }

        .login-page #qrCode img,
        .registration #qrCode img,
        .forgot-password #qrCode img,
        .verify-code #qrCode img,
        .enable-authentication #qrCode img {
            display: inline !important;
        }

    .login-page img,
    .registration img,
    .forgot-password img,
    .verify-code img,
    .enable-authentication img {
        width: 140px;
        margin: 20px;
    }

    .login-page input[type="text"],
    .login-page input[type="number"],
    .login-page input[type="password"],
    .registration input[type="text"],
    .registration input[type="number"],
    .registration input[type="password"],
    .forgot-password input[type="text"],
    .forgot-password input[type="number"],
    .forgot-password input[type="password"],
    .verify-code input[type="text"],
    .verify-code input[type="number"],
    .verify-code input[type="password"],
    .enable-authentication input[type="text"],
    .enable-authentication input[type="number"],
    .enable-authentication input[type="password"] {
        height: 35px;
        width: 100%;
        padding-left: 10px;
        border: solid 1px #ddd;
        color: #666;
        border-radius: 0;
    }

        .login-page input[type="text"]:focus,
        .login-page input[type="number"]:focus,
        .login-page input[type="password"]:focus,
        .registration input[type="text"]:focus,
        .registration input[type="number"]:focus,
        .registration input[type="password"]:focus,
        .forgot-password input[type="text"]:focus,
        .forgot-password input[type="number"]:focus,
        .forgot-password input[type="password"]:focus,
        .verify-code input[type="text"]:focus,
        .verify-code input[type="number"]:focus,
        .verify-code input[type="password"]:focus,
        .enable-authentication input[type="text"]:focus,
        .enable-authentication input[type="number"]:focus,
        .enable-authentication input[type="password"]:focus {
            outline: none;
            border: 1px solid #55b2e9;
        }

    .login-page input::-webkit-input-placeholder,
    .registration input::-webkit-input-placeholder,
    .forgot-password input::-webkit-input-placeholder,
    .verify-code input::-webkit-input-placeholder,
    .enable-authentication input::-webkit-input-placeholder {
        color: #ccc;
    }

    .login-page input::-moz-placeholder,
    .registration input::-moz-placeholder,
    .forgot-password input::-moz-placeholder,
    .verify-code input::-moz-placeholder,
    .enable-authentication input::-moz-placeholder {
        color: #ccc;
    }

    .login-page input:-ms-input-placeholder,
    .registration input:-ms-input-placeholder,
    .forgot-password input:-ms-input-placeholder,
    .verify-code input:-ms-input-placeholder,
    .enable-authentication input:-ms-input-placeholder {
        color: #ccc;
    }

    .login-page input:-moz-placeholder,
    .registration input:-moz-placeholder,
    .forgot-password input:-moz-placeholder,
    .verify-code input:-moz-placeholder,
    .enable-authentication input:-moz-placeholder {
        color: #ccc;
    }

    .login-page .input-validation-error,
    .registration .input-validation-error,
    .forgot-password .input-validation-error,
    .verify-code .input-validation-error,
    .enable-authentication .input-validation-error {
        border: 1px solid #e00f00 !important;
    }

        .login-page .input-validation-error::-webkit-input-placeholder,
        .registration .input-validation-error::-webkit-input-placeholder,
        .forgot-password .input-validation-error::-webkit-input-placeholder,
        .verify-code .input-validation-error::-webkit-input-placeholder,
        .enable-authentication .input-validation-error::-webkit-input-placeholder {
            color: #e00f00;
        }

        .login-page .input-validation-error::-moz-placeholder,
        .registration .input-validation-error::-moz-placeholder,
        .forgot-password .input-validation-error::-moz-placeholder,
        .verify-code .input-validation-error::-moz-placeholder,
        .enable-authentication .input-validation-error::-moz-placeholder {
            color: #e00f00;
        }

        .login-page .input-validation-error:-ms-input-placeholder,
        .registration .input-validation-error:-ms-input-placeholder,
        .forgot-password .input-validation-error:-ms-input-placeholder,
        .verify-code .input-validation-error:-ms-input-placeholder,
        .enable-authentication .input-validation-error:-ms-input-placeholder {
            color: #e00f00;
        }

        .login-page .input-validation-error:-moz-placeholder,
        .registration .input-validation-error:-moz-placeholder,
        .forgot-password .input-validation-error:-moz-placeholder,
        .verify-code .input-validation-error:-moz-placeholder,
        .enable-authentication .input-validation-error:-moz-placeholder {
            color: #e00f00;
        }

    .login-page input:-webkit-autofill,
    .registration input:-webkit-autofill,
    .forgot-password input:-webkit-autofill,
    .verify-code input:-webkit-autofill,
    .enable-authentication input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #fff inset;
    }

    .password-input-container {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-input-container input {
        padding-right: 40px !important;
    }

.password-toggle {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
    transition: opacity 0.2s ease;
    opacity: 0.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23888888' fill-rule='evenodd' d='M1 12c2.028-4.152 6.192-7 11-7s8.972 2.848 11 7c-2.028 4.152-6.192 7-11 7s-8.972-2.848-11-7m11 3.5a3.5 3.5 0 1 0 0-7a3.5 3.5 0 0 0 0 7'/%3E%3C/svg%3E");
}

    .password-toggle:hover {
        opacity: 1;
    }

    .password-toggle:focus {
        outline: none;
    }

    .password-toggle.show-password {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23888888' fill-rule='evenodd' d='m18.922 16.8l3.17 3.17l-1.06 1.061L4.06 4.061L5.12 3l2.74 2.738A11.9 11.9 0 0 1 12 5c4.808 0 8.972 2.848 11 7a12.66 12.66 0 0 1-4.078 4.8m-8.098-8.097l4.473 4.473a3.5 3.5 0 0 0-4.474-4.474zm5.317 9.56A11.9 11.9 0 0 1 12 19c-4.808 0-8.972-2.848-11-7a12.66 12.66 0 0 1 4.078-4.8l3.625 3.624a3.5 3.5 0 0 0 4.474 4.474l2.964 2.964z'/%3E%3C/svg%3E");
    }

    .login-page h3,
    .registration h3,
    .forgot-password h3,
    .verify-code h3,
    .enable-authentication h3 {
        font-size: 17px;
    }

    .login-page .email-image,
    .registration .email-image,
    .forgot-password .email-image,
    .verify-code .email-image,
    .enable-authentication .email-image {
        padding: 20px;
    }

    .login-page .verify-heading,
    .registration .verify-heading,
    .forgot-password .verify-heading,
    .verify-code .verify-heading,
    .enable-authentication .verify-heading {
        color: #55b2e9;
    }

    .login-page .remember-browswer-checkbox,
    .registration .remember-browswer-checkbox,
    .forgot-password .remember-browswer-checkbox,
    .verify-code .remember-browswer-checkbox,
    .enable-authentication .remember-browswer-checkbox {
        padding-left: 20px;
    }

    .login-page .pt-3px,
    .registration .pt-3px,
    .forgot-password .pt-3px,
    .verify-code .pt-3px,
    .enable-authentication .pt-3px {
        padding-top: 3px;
    }

@media (max-width: 992px) {
    .login-page .col,
    .registration .col,
    .forgot-password .col,
    .verify-code .col,
    .enable-authentication .col {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}

.enable-authentication {
    margin-top: 8vh;
    display: grid;
    grid-template-columns: 1fr 450px 1fr;
    grid-template-areas: ". regform .";

}

.enable-authentication  kbd {
    background-color: transparent;
    box-shadow: none;
    color: blue;
    font-size:14px;
}


    .enable-authentication .verify-section {
        margin-bottom:20px
    }

    .enable-authentication .subtitle {
        margin-bottom:20px
    }
	
    .enable-authentication p {
        text-align: left;
    }

    .enable-authentication .auth-form {
        padding: 0px 7rem;
    }

    .enable-authentication .verify-section {
        display: flex;
        align-items: center;
    }

    .enable-authentication .text-center {
        text-align: center;
    }

    .enable-authentication .bot-15 {
        bottom: 15px;
    }

.gen-recovery-codes .dx-img-size {
    width: 140px;
    margin: 20px;
}

.registration .firstname input[type="text"] {
    width: 49% !important;
    float: left;
}

.registration .lastname input[type="text"] {
    width: 49% !important;
    float: right;
}

.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;
}

.grants .page-header {
    margin-bottom: 10px;
}

.grants .grant {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants .grant img {
        width: 100px;
        height: 100px;
    }

    .grants .grant .clientname {
        font-size: 140%;
        font-weight: bold;
    }

    .grants .grant .granttype {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .created {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .expires {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant li {
        list-style-type: none;
        display: inline;
    }

        .grants .grant li:after {
            content: ', ';
        }

        .grants .grant li:last-child:after {
            content: '';
        }

.validation-summary-errors > ul {
    list-style-type: none;
    padding-left: 15px;
    padding-right: 15px;
}