﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
.container {
    height: 100% !important;
}

html {
    font-size: 1rem;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    html {
        font-size: 1rem;
    }

    body {
        background-color: white;
    }

    .background-image-container {
        display: none;
    }

    .controls-box {
        border: none;
        box-shadow: none;
    }

    .controls-box-dark {
        border: none;
        box-shadow: none;
    }

    .dialog {
        display: grid;
        padding: 0px !important;
        /*min-width: 250px;*/
        width: 330px;
    }

    .error-row {
        max-width: 330px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    html {
        font-size: 1rem !important;
    }

    .background-image-container {
        display: none;
    }

    .dialog {
        padding: 2px !important;
        /*min-width: 300px;*/
        width: 350px;
    }

    .error-row {
        max-width: 350px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    html {
        font-size: 1.1rem !important;
    }

    body {
        background-color: #eaeaea;
    }

    .background-image-container {
        display: block;
    }

    .controls-box {
        border: 1px solid #c1c1c1;
        background: white;
        box-shadow: 0 2px 6px rgba(0,0,0,.2);
    }

    .controls-box-dark {
        border: 1px solid #ebebeb;
        background: white;
        box-shadow: 0 2px 6px rgba(255,255,255,0.2);
        background-color: rgb(33, 37, 41);
    }

    .dialog {
        padding: 1.5rem !important;
        /*min-width: 350px;*/
        width: 370px;
    }

    .error-row {
        max-width: 370px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    html {
        font-size: 1.1rem !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    html {
        font-size: 1.2rem !important;
    }
}

.alert {
    font-size: 0.9rem;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


::placeholder {
    color: lightgrey;
}

input {
    border-bottom: 1.5px solid #646365 !important;
    border: 0 none #ccc;
    outline: none;
    background-color: transparent;
}

    input:focus {
        border-bottom: 1.5px solid #0056b3 !important;
        border: 0 none #ccc;
        outline: none;
    }

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Animations
-------------------------------------------------- */
@-webkit-keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes bounceAnimation {
    0% {
        transform: translateY(+40px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes bounceAnimation {
    0% {
        transform: translateY(+40px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Layout elements
-------------------------------------------------- */
.background-image-container {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: -1; /* Ensure div tag stays behind content; -999 might work, too. */
}

.background-image-element {
    width: 100%;
    height: 100%;
}

.separator-with-text-container {
    width: 100%;
    height: 20px;
    border-bottom: 1px solid #cecece;
    text-align: center
}

.separator-with-text-span {
    font-size: 0.8rem !important;
    color: grey;
    background-color: white;
    padding: 0 10px;
}

.separator-with-text-span-dark {
    font-size: 0.8rem !important;
    color: whitesmoke !important;
    background-color: rgb(33, 37, 41) !important;
    padding: 0 10px;
}

.contents-container {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px
}

.contents-justify-center {
    align-items: center !important;
    justify-content: center !important;
}

.partial-page-container {
}

/* Customizable elements
-------------------------------------------------- */
.theme {
}

.theme-dark {
    background-color: rgb(33, 37, 41) !important;
}


.text {
}

.text-dark {
    color: rgb(210, 210, 210) !important;
}

.checkbox-text {
}

.checkbox-text-dark {
    color: whitesmoke !important;
}

.background-image {
    content: url(../images/signInBackground.svg);
}

.background-image-dark {
    content: url(../images/DarkTheme/signInBackground.svg) !important;
}

.logo-image {
    width: 100%;
    height: 100%;
    padding-top: 10px;
    content: url(../images/logo.svg);
    -webkit-animation: fadeInAnimation 2s alternate 1, bounceAnimation 1s alternate 1;
    animation: fadeInAnimation 2s alternate 1, bounceAnimation 1s alternate 1;
}

    .logo-image::before {
        width: 100%;
        height: 100%;
        padding-top: 10px;
        content: url(../images/logo.svg);
        -webkit-animation: fadeInAnimation 2s alternate 1, bounceAnimation 1s alternate 1;
        animation: fadeInAnimation 2s alternate 1, bounceAnimation 1s alternate 1;
    }

.logo-container {
    width: 100%;
    height: 70px;
    left: 0px;
    top: 0px;
}

.title-container {
    padding-left: 1rem !important;
}

.title-container-dark {
    color: whitesmoke !important;
    padding-left: 1rem !important;
}

.title {
    font-size: 1.5rem !important;
    font-weight: 500;
}

.native-provider-container {
    margin: 1rem !important;
}

.native-provider-textfields-container {
    padding-bottom: 1.5rem !important;
}

.actions-container {
}

.captchaImage {
    border: 1px solid darkgrey;
    width: 100%;
    height: 42px;
}

.action-button {
    display: inline-block;
    line-height: 1.5;
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    flex: 1 1 auto !important;
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
    width: 100%;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .action-button:focus, .action-button:hover {
        outline: 0;
        background-color: #0056b3;
    }

.captcha-button {
    width: 42px;
    height: 42px;
    display: inline-block;
    line-height: 1.5;
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    flex: 1 1 auto !important;
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .captcha-button:focus, .captcha-button:hover {
        outline: 0;
        background-color: #0056b3;
    }

.captcha-button-image {
    width: 28px;
    height: 30px;
}

.textfield {
    font-size: 0.8rem !important;
}

.textfield-dark {
    font-size: 0.8rem !important;
    color: whitesmoke !important;
}

.external-providers-container {
    margin-top: 1rem !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin-bottom: 10px !important;
}

.external-provider-button {
    display: inline-block;
    line-height: 1.5;
    font-size: 0.8rem !important;
    flex: 1 1 auto !important;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    padding: .375rem .75rem;
    color: #007bff;
    border: 1px solid transparent;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .external-provider-button:focus, .external-provider-button:hover {
        color: #0056b3;
        text-decoration: underline;
        border: 1px solid transparent;
        outline: none;
    }

.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
}

.info {
    max-width: fit-content;
}

.validation-message {
    line-height: initial;
    max-width: fit-content;
    color: #dc3545 !important;
    font-size: 80%;
    font-weight: 400;
}

.change-password {
    line-height: initial;
    color: #007bff !important;
    max-width: fit-content;
    cursor: pointer;
    margin-top: 10px;
}

    .change-password:focus, .change-password:hover {
        color: #0056b3 !important;
        text-decoration: underline;
        cursor: pointer;
    }

.backButton {
    height: 24px;
    min-height: 24px;
    width: 24px;
    min-width: 24px;
    float: left;
    padding: 0;
    background-color: #fff;
    border-width: 0;
    border-radius: 12px;
    margin-right: 2px;
    margin-top: 0.25rem;
}

    .backButton:hover {
        background-color: #e6e6e6;
        background-color: rgba(0,0,0,0.1)
    }

        .backButton:hover:focus {
            background-color: #ccc;
            background-color: rgba(0,0,0,0.2)
        }

    .backButton:active {
        background-color: #b3b3b3;
        background-color: rgba(0,0,0,0.3)
    }

    .backButton:focus {
        background-color: #e6e6e6;
        background-color: rgba(0,0,0,0.1);
        outline: none
    }

.backButton-dark {
    height: 24px;
    min-height: 24px;
    width: 24px;
    min-width: 24px;
    float: left;
    padding: 0;
    background-color: rgb(33, 37, 41);
    border-width: 0;
    border-radius: 12px;
    margin-right: 2px;
    margin-top: 0.25rem;
}

    .backButton-dark:hover {
        background-color: rgba(255,255,255,0.1) !important;
    }

        .backButton-dark:hover:focus {
            background-color: rgba(255,255,255,0.2) !important;
        }

    .backButton-dark:active {
        background-color: rgba(255,255,255,0.3) !important;
    }

    .backButton-dark:focus {
        background-color: rgba(255,255,255,0.1) !important;
        outline: none
    }

.backButton-image {
    width: 100%;
    height: 100%;
    content: url(../images/arrow_left.svg);
    height: 24px;
    vertical-align: super;
    border-radius: 12px;
}

.backButton-image-dark {
    width: 100%;
    height: 100%;
    content: url(../images/DarkTheme/arrow_left.svg);
    height: 24px;
    vertical-align: super;
    border-radius: 12px;
}

.background-image-dark {
    .toast

{
}

.toast-header {
}

.toast-body {
}

.toast-body-dark {
    border: 1px solid gray;
    color: whitesmoke;
}
