﻿/*
    Thinkwise logo colors

    Light Blue  = #2fade0   47, 175, 224 
    Mid blue    = #2673b7   38, 114, 183
    Dark blue   = #1e539f

*/

html, body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    overflow: auto;
    background-color: #eee;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

.IndiciumLoginView {
    margin: 0 auto;
    margin-top: 10vh;
    width: 50%;
    max-width: 450px;
    height: 50%;
    overflow: hidden;
    text-align: center;
    background-color: #FFF;
    border: none;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.Title {
    font-size: 2.2em;
    font-weight: 100;
    color: #215BA0;
    margin: 0;
}

.LogOut .Title {
    font-size:1.8em;
    padding:5px;
    margin-top:20px;
    margin-bottom:20px;
}

.ScopeDisplayName {
    font-weight: 500;
    color: #215BA0;
    text-align: left;
}

.ConsentScopeListItem {
    position: relative;
    display: grid;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: none;
    border: none;
    margin: 10px;
}

.ConsentScopeListItemDescription {
    grid-row-start: 2;
    text-align: left;
    font-size: 0.95em;
    color: #555;
}

.ConsentScopeListItemTitle {
    grid-column-start: 1;
    text-align: left;
}

.ConsentScopeListItemCheckbox {
    grid-column-start: 2;
}

.ConsentFormTitle {
    font-weight: 300;
    color: #215BA0;
    width: 85%;
    margin: 0 auto;
    margin-top: 15px;
}

.ConsentFormPermissions {
    font-weight: 500;
    color: #262D35;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 15px;
}

.ConsentFormSubtitle 
{
    padding: 10px 15px;
    margin: 10px;
    font-weight: 400;
    color: #424C58;
    width: 85%;
    opacity: 0.6;
}

.LogoImage {
    width: 35%;
    height: auto;
    margin: 0 auto;
}

.ClientLogo {
    width: 100%;
    height: auto;
}

.LoginField {
    border: none;
    margin: 0 auto;
}

.LoginForm {
    margin-bottom: 15px;
}

.LoginInput {
    display: block;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 75%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.IndiciumLoginView.TotpView {
    max-width: 550px;
}

.Instructions {
    color: #555;
    text-align: left;
    margin: 15px 40px;
    font-size: 11pt;
}

.ErrorPage {
    width: 80%;
    height: 80%;
    margin: 0 auto;
    text-align: center;
}

.ErrorItemTitle {
    color: #2673b7;
}

.ErrorItemDescription {
    color: #555;
}

/*#region Material Button*/
.Button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    margin-top: 15px;
    margin: 5px;
    margin-bottom: 15px;
    min-width: 64px;
    height: 36px;
    text-align: center;
    text-overflow: ellipsis;
    color: #444;
    background-color: #fefefe;
    font-family: Roboto, Segoe UI, BlinkMacSystemFont, sans-serif;
    font-size: 1em;
    font-weight: 400;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

    .Button::-moz-focus-inner {
        border: none;
    }

    /* Overlay */
    .Button::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        opacity: 0.08;
        transition: opacity 0.2s;
    }

    /* Hover, Focus */
    .Button:hover,
    .Button:focus {
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
    }

    .Button:focus::before {
        opacity: 0.24;
    }

    .Button:hover:focus::before {
        opacity: 0.3;
    }

    /* Active */
    .Button:active {
        box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    }

        .Button:active::after {
            opacity: 0.32;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0s;
        }

    /* Disabled */
    .Button:disabled {
        color: rgba(0, 0, 0, 0.38);
        background-color: rgba(0, 0, 0, 0.12);
        box-shadow: none;
        cursor: initial;
    }

        .Button:disabled::before {
            opacity: 0;
        }

        .Button:disabled::after {
            opacity: 0;
        }

a.Button {
    text-decoration: none;
    vertical-align: top;
    line-height: 36px;
}

/*#endregion */

.ExternalSignInButton {
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd;
    height: 46px;
    width: 234px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ExternalSignInButton > img {
	height: 30px;
    position: absolute;
    left: 10px;
    top: 8px;
}

.ExternalSignInButton > span {
    padding-left: 45px;
    font-family: Roboto, Segoe UI, BlinkMacSystemFont, sans-serif;
    font-size: 12pt;
    white-space: nowrap;
}

.LoginInteractionArea {
    width: 75%;
    margin: 0 auto;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

/* #region Material Checkbox */

.Checkbox {
    z-index: 0;
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.87);
    font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, sans-serif;
    font-size: 0.9em;
    line-height: 1.8em;
    cursor: pointer;
    margin: 0 auto;
}

    /* Input */
    .Checkbox > input {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        z-index: -1;
        position: absolute;
        left: -10px;
        top: -8px;
        display: block;
        margin: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.6);
        box-shadow: none;
        outline: none;
        opacity: 0;
        transform: scale(1);
        pointer-events: none;
        transition: opacity 0.3s, transform 0.2s;
    }

/* Box */
.Checkbox > span::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    margin: 3px 11px 3px 1px;
    border: solid 2px;
    border-color: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    width: 18px;
    height: 18px;
    vertical-align: top;
    transition: border-color 0.2s, background-color 0.2s;
}

    /* Checkmark */
    .Checkbox > span::after {
        content: "";
        display: block;
        position: absolute;
        top: 3px;
        left: 1px;
        width: 10px;
        height: 5px;
        border: solid 2px transparent;
        border-right: none;
        border-top: none;
        transform: translate(3px, 4px) rotate(-45deg);
    }

    /* Checked, Indeterminate */
    .Checkbox > input:checked,
    .Checkbox > input:indeterminate {
        background-color: rgb( 38, 114, 183);
    }

        .Checkbox > input:checked + span::before,
        .Checkbox > input:indeterminate + span::before {
            border-color: rgb(38, 114, 183);
            background-color: rgb(38, 114, 183);
        }

        .Checkbox > input:checked + span::after,
        .Checkbox > input:indeterminate + span::after {
            border-color: rgb(255, 255, 255);
        }

        .Checkbox > input:indeterminate + span::after {
            border-left: none;
            transform: translate(4px, 3px);
        }

    /* Active */
    .Checkbox > input:active {
        opacity: 1;
        transform: scale(0);
        transition: transform 0s, opacity 0s;
    }

        .Checkbox > input:active + span::before {
            border-color: rgb(38, 114, 183);
        }

    .Checkbox > input:checked:active + span::before {
        border-color: transparent;
        background-color: rgba(0, 0, 0, 0.6);
    }

    /* Disabled */
    .Checkbox > input:disabled {
        cursor: initial;
    }

        .Checkbox > input:disabled + span {
            color: rgba(0, 0, 0, 0.38);
            cursor: initial;
        }

            .Checkbox > input:disabled + span::before {
                border-color: currentColor;
            }

    .Checkbox > input:checked:disabled + span::before,
    .Checkbox > input:indeterminate:disabled + span::before {
        border-color: transparent;
        background-color: currentColor;
    }
/* #endregion */

.Checkbox.CheckboxRequired_True {
    cursor: initial;
}

.LoginButton {
    color: #fff;
    background-color: #2673b7;
}

.BorderLessSoftButton {
    color: #aaa;
    background: none;
    border: none;
    font-size: 0.9em;
    font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    margin:0 auto;
}

.LogOut .BorderLessSoftButton {
    text-decoration: none;
}

.CancelButton {
    width: 32px;
    height: 32px;
    margin-left: -38px;
    margin-right: 6px;
    margin-top: 6px;
    cursor: pointer;
    float: right;
    border: none;
    background-color: #fff;
    border-radius: 50%;
}

    .CancelButton svg {
        margin-top: 4px;
    }

    .CancelButton:hover {
        background-color: #eee;
    }

    .CancelButton:focus {
        outline: none;
    }

.ViewMessage.Error {
	background-color: #fe5258;
	color: #fff;
}

.ViewMessage.Information {
	background-color: #cde9f6;
	color: #4a778c;
}
	
.ViewMessage {
    position: relative;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
}

    .ViewMessage svg {
        flex: 0.3
    }

    .ViewMessage div {
        flex: 1;
    }

    .ViewMessage ul {
        list-style: none;
        text-align: left;
        margin: 0 auto;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 10px;
    }

    .ViewMessage li {
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 0.9em;
    }

#QRCode{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

    #QRCode > img {
        margin: 0 auto;
        width: 40%;
    }

.NoSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 700px) {
    .IndiciumLoginView {
        width: 75%;
    }
}

@media only screen and (max-width: 750px) {
    .IndiciumLoginView {
        font-size: 1em;
    }

    .Title {
        font-size: 2em;
    }

    .LoginInteractionArea {
        width: 85%;
    }
}

@media only screen and (max-width: 415px) {
    .IndiciumLoginView {
        width: 85%;
    }

    .Title {
        font-size: 1.125em;
    }

    .LoginInput {
        margin-top: 7.5px;
    }
}

@media only screen and (max-height: 800px) {
    .IndiciumLoginView {
        margin-top: 5vh;
        font-size: 1em;
    }

    .Title {
        font-size: 1.5em;
    }

    .Error {
        font-size: 0.8em;
    }
}

@media only screen and (max-height: 600px) and (min-width:800px) {
    .IndiciumLoginView {
        margin-top: 10vh;
    }

    .Title {
        font-size: 2em;
    }
}

@media only screen and (max-height: 500px) and (min-width:800px) {
    .IndiciumLoginView {
        width: 40%;
    }
}

.dbEventLogView {
    background-color: #FFF;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.dbEventLog th, .dbEventLog td {
    padding-right: 20px;
    text-align: left;
}

.dbEventLog pre {
    white-space: pre-wrap;
    font-family: inherit;
}

.dbEventLog pre code {
    font-family: inherit;
}