﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 1rem;
    background-image: url(/images/andromeda-background.png);
    background-position: center;
    background-blend-mode: soft-light;
    background-color: var(--theme-bg-color) !important;
    color: var(--theme-fg-color) !important;
    line-height: unset;
}

hr {
    border: 0;
    border-top: 1px solid var(--theme-fg-color);
}

label {
    margin-bottom: 0.2rem;
    text-align: unset;
}

section.content label {
    text-align: left !important;
    width: 100%;
    color: var(--theme-fg-color);
    font-weight: bold;
}

div.main {
    background-color: var(--theme-main-container-bg-color);
    box-shadow: 0 0.45rem 1.25rem #000000;
    box-shadow: 0 0.45rem 1.25rem rgba(0, 0, 0, 0.65);
    padding: 0;
}

.border-top {
    border-top: 1px solid var(--theme-button-border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--theme-button-border-color);
}

.table {
    color: var(--theme-fg-color);
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    background-color: var(--theme-footer-bg-color);
    position: absolute;
    bottom: 0;
    min-width: 100%;
    white-space: nowrap;
    line-height: 1.5em;
    padding: 0.4em;
    text-align: center;
}

    .footer .company-links {
        display: inline-block;
        flex: auto;
    }

        .footer .company-links img {
            width: 20px;
        }

div#qrCode img {
    width: 250px;
}

.alert-dismissible .close {
    padding: 0.55rem 1rem;
}

a.nav-link.username {
    padding-top: 0.6em;
    font-weight: bold;
}

a.nav-link {
    display: unset;
}

a:hover, a:focus {
    text-decoration: none;
    color: var(--theme-ahover-color);
}

.form-group {
    margin-bottom: 0.6rem;
}

form#external-account button {
    margin-bottom: 0.5rem;
}

.theme-selector {
    width: 2em;
    text-align: center;
    user-select: none;
}

div.page {
    width: var(--theme-container-width);
}

.container {
    max-width: 50rem;
}

div.logo-container {
    text-align: center;
}

img.main-logo {
    width: 152px;
    height: 82px;
    padding: 0.5rem;
}

.btn {
    background-color: var(--theme-button-bg-color);
    border-color: var(--theme-button-border-color);
    border-radius: var(--theme-border-radius);
    color: var(--theme-button-fg-color);
}

.btn-danger {
    color: #fff;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

div.home a.nav-link {
    font-size: 1.2rem;
    color: var(--theme-fg-color) !important;
    background-color: var(--theme-a-color) !important;
    font-weight: bold;
    border: 1px solid var(--theme-fg-color);
    border-radius: 25px;
    margin: 30px;
    vertical-align: middle;
    line-height: 600px;
    padding-left: 20px;
    padding-right: 20px;
}

div.logout {
    text-align: center;
}

div.login div.checkbox {
    text-align: left;
}

div.login .col-md {
    flex-basis: unset;
}

div.login h4 {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

    div.login h4:before {
        position: absolute;
        top: 59%;
        overflow: hidden;
        width: 48%;
        height: 1px;
        content: '\a0';
        background-color: var(--theme-fg-color);
        margin-left: -50%;
        text-align: right;
    }

    div.login h4:after {
        position: absolute;
        top: 59%;
        right: -20px;
        overflow: hidden;
        width: 50%;
        height: 1px;
        content: '\a0';
        background-color: var(--theme-fg-color);
        text-align: right;
    }

div.login form#external-account div.providers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

div.login form#external-account div.provider {
    display: flex;
    flex-direction: column;
    flex: 1 1 45%;
}

div.login form#external-account button {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

div.manage {
    text-align: left;
}

    div.manage .nav-link {
        padding: 0.2em 0.3em;
    }

    div.manage ul.nav li {
        line-height: 2em;
    }

.nav-pills .nav-link {
    border-radius: var(--theme-border-radius);
    white-space: nowrap;
}

.nav-link.active {
    background-color: var(--theme-button-bg-color) !important;
    color: var(--theme-button-fg-color) !important;
}

section.content {
    padding: 0.75em;
}

section.tabs {
    display: flex;
}

    section.tabs div {
        display: inline-flex;
        justify-content: center;
        flex-grow: 2;
        font-size: 1.75rem;
        padding: 0.75em;
        font-weight: bold;
    }

div.login div.tab-register {
    background-color: var(--theme-inactive-tab-bg-color);
    font-weight: normal;
}

div.register div.tab-login {
    background-color: var(--theme-inactive-tab-bg-color);
    font-weight: normal;
}

div.show-password {
    display: flex;
}

    div.show-password div#toggle-password {
        cursor: pointer;
    }

    div.show-password label {
        flex: auto;
        width: unset;
    }

a#forgot-password {
    font-size: 1em;
}

button.btn-primary {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

div.info {
    text-align: left;
    opacity: 0.75;
}

div.input {
    background-color: var(--theme-input-bg-color) !important;
    border: 1px solid var(--theme-button-border-color);
    border-radius: var(--theme-border-radius);
    text-align: left;
}

    div.input input {
        background-color: var(--theme-input-bg-color) !important;
        color: var(--theme-fg-color) !important;
        border: none;
        padding: 0.375rem 0;
        display: inline-block;
        width: 85%;
    }

        div.input input:focus {
            box-shadow: none;
        }

    div.input img, div.info img {
        height: 1.2rem;
        width: 1.2rem;
        margin: 0 0 0.1em 0.4em;
        padding: 0;
    }

input#Input_UserName, input#Input_Password, input#Input_Email {
    -webkit-box-shadow: 0 0 0 1000px var(--theme-input-bg-color) inset;
}

div.forgot-password {
    text-align: center;
}

div.provider button {
    height: 40px !important;
    background-size: 1.2em !important;
    background-position-x: 0.4rem !important;
    background-position-y: center !important;
    color: var(--theme-button-fg-color);
}

    div.provider button:hover, div.provider button:focus {
        color: var(--theme-button-fg-color);
        opacity: 0.8;
    }

button.Google {
    background: url(/images/google-logo.png) no-repeat !important;
    background-color: #DB4437 !important;
    border-color: #DB4437 !important;
}

button.Facebook {
    background: url(/images/facebook-logo.png) no-repeat !important;
    background-color: #4267B2 !important;
    border-color: #4267B2 !important;
}

button.Twitter {
    background: url(/images/twitter-logo-light.png) no-repeat !important;
    background-color: #1DA1F2 !important;
    border-color: #1DA1F2 !important;
}

button.Microsoft {
    background: url(/images/microsoft-logo.png) no-repeat !important;
    background-color: #2f2f2f !important;
    border-color: #2f2f2f !important;
}

button.AzureAD {
    background: url(/images/andromeda-logo-inverted.png) no-repeat !important;
    background-position-y: center;
    background-color: var(--theme-button-bg-color) !important;
    border-color: var(--theme-button-bg-color) !important;
}

div.text-danger li {
    text-align: left;
    list-style: none;
}

div.text-danger ul {
    margin-left: 0;
    margin-block-start: 0;
    margin-inline-start: 0;
    padding-inline-start: 0;
}

div#cookieConsent {
    margin: 1rem;
    padding: 1.5rem 6rem 0.5rem 1.5rem;
    border: 1px solid red;
    background-color: orangered;
    color: white;
    border-radius: 4px;
}

    div#cookieConsent div {
        margin-bottom: 1rem;
    }

    div#cookieConsent a {
        color: navy;
    }

    div#cookieConsent button {
        vertical-align: top;
        padding-top: 1.5rem;
        line-height: unset;
        opacity: 1;
    }

        div#cookieConsent button span {
            text-shadow: none;
        }

section.privacy p {
    text-align: left;
}
