﻿/*
* css vars
*/
:root {
    --primary-text: white;
    --mfa-line-space: 32px;
}

.alert {
    position: relative;
    z-index: 9999;
    margin-bottom: 0;
}

#login-form #mfa-code-field {
    width: 100px;
}
.mfa-code-screen .mfa-code-box {
    display: inline-flex;
    width: 250px;
    align-items: center;
    justify-content: space-between;
}
.mfa-code-screen .mfa-code-box label {
    white-space: nowrap;
}
.mfa-code-screen .alert {
    display: flex;
    align-items: center;
    justify-content: center;
}
#login-form .checkbox {
    display: flex;
    justify-content: center;
}
#login-form .checkbox input {
    position: static;
    margin-left: 0;
    flex-basis: 1.6em;
}
.mfa-code-screen #login-form .form-button.text-center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-top: 10px;
}
.mfa-code-screen #login-form .form-button.text-center .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* 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. */
body, html {
    height: 100%;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

body {
    position: fixed;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    height: 100%;
    width: 100%;
}

.dont-have-email-group {
    display: none;
}
/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.info-text, .reset-password-message, .email-messsage {
    margin-bottom: 24px !important;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    .platform-administration {
        display: none;
    }

    #login-form,
    .forgot-password-page form,
    .reset-password-page form,
    .change-password-page form{
        width: 100%;
        height: 100%;
    }

    fieldset {
        max-width: 350px;
        margin: auto !important;
    }

    #login-form .product-name {
        position: initial !important;
    }

    #mojo_logo {
        height: 30px !important;
        margin-left: 40%;
        margin-top: 10px;
    }

    #app-footer.mobile-layout .application-version {
        display: none !important;
    }

    #app-footer.mobile-layout .copyright {
        width: 35%;
    }
}

@media screen and (max-width: 500px) and (min-aspect-ratio: 4/6) {
  #app-footer.mobile-layout, #mojo_logo {
    display: none;
  }
}

/* ================ F O O T E R  ================*/
#app-footer {
    padding: 0 15px 0;
    position: fixed;
    top: calc(100% - 45px);
    width: 100%;
    left: 0;
}

    #app-footer a,
    #app-footer .copyright {
        color: lightgrey;
        font-size: 75%;
        font-family: 'Open Sans', sans-serif;
        display: block;
    }

    #app-footer .application-version {
        color: lightgrey;
        font-size: 75%;
        font-family: 'Open Sans', sans-serif;
        display: block;
    }

    #app-footer .footer-logo {
        background-image: url('../assets/images/pma/trace_logo.svg');
        height: 25px;
        width: 200px;
        float: right;
        background-repeat: no-repeat;
        background-position: right;
    }
/* ===============================================*/
form {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
}

.form-group {
    margin-bottom: 10px;
}

.body-content .form-group {
    margin-bottom: 0;
}

.form-control {
    background-color: white !important;
    border-radius: 0 !important;
    border: 1px solid #ccc;
    color: rgb(166,166,166);
    margin-bottom: 10px !important;
}

.selectboxit.form-control {
    margin-bottom: 0 !important;
}

.selectboxit-container {
    margin-bottom: 10px !important;
}

.panel.panel-default {
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 6px;
}

#login-form .brand-logo {
    display: inline-block;
    margin-bottom: 10px;
}

#login-form .product-name {
    margin: 0 0 36px;
    display: block;
    font-size: 22px;
}

#mojo_logo {
    position: absolute;
    width: 205px;
    left: 50%;
    top: calc(100% - 75px);
    height: 55px;
    transform: translate(-50%);
    background: url('../assets/images/poweredbymojo.svg') no-repeat;
}

.account-migration .header {
    margin-top: 22px;
    margin-bottom: 15px;
}

.account-migration .explanatory-text {
    margin-bottom: 20px;
}

.account-migration .btn {
    margin-top: 10px;
}

.logout-page *,
.logged-out * {
    visibility: hidden;
}


#forgot-password, #dont-have-email-message {
    color: #212121;
}

.remember-me {
    float: right;
}

.password-rules .password-rule .pi.pi-check {
    color: green;
}

.password-rules .password-rule .pi.pi-times {
    color: red;
}

.password-rules .password-rule .pi {
    font-weight: 600;
    font-size: 1rem;
}

.password-input {
    width: 100%;
    z-index: 1;

}

.input-group {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

#login-form .form-group, .forgot-password-page form .form-group {
    clear: right;
}

.forgot-password-page .page-header {
    display: none;
}

.forgot-password-page form label {
    display: none;
}

.login-links-group {
    margin-top: 10px;
    margin-left: auto !important;
    margin-right: auto !important;
}

#login-form .license_message {
    white-space: pre-line;
    text-align: left;
}

.pi.pi-times:before {
    color: rgb(228, 50, 50);
}

.pi.pi-check:before {
    color: rgb(0,180,0);
}

.remember-me label {
    font-weight: normal;
    color: white;
    vertical-align: top;
}

#capsLockIndicator {
    clear: both;
    visibility: hidden
}

.alert-danger {
    display: inline-block;
}

.password-rules {
    list-style-type: none;
    padding-left: 0;
}

.password-page .panel-body {
    padding-top: 0;
    padding-bottom: 0;
}

.form-group {
    margin-left: 0;
    margin-right: 0;
}

.remember-me label {
    padding-right: 5px;
}

.password-page .password-fieldset .login-button {
    width: 160px;
}

.password-page .forgot-password-group {
    display: inline-block;
    float: left;
    padding-left: 0;
}

.password-page .forgot-password-group .btn {
    text-decoration-line: none;
}

.password-page .forgot-password-group .btn:hover {
    text-decoration-line: underline;
}

.password-page .remember-me {
    display: inline-block;
    float: right;
    label {
        padding-top: 0;
    }
    input {
        margin-top: 5px;
    }
}

#login-form .form-group .btn-link {
    outline: 0 none;
}

#login-form .form-group .btn-link {
    padding: 0;
    width: 130px;
    background-color: rgba(255,255,255,0);
    text-align: left;
}

.password-page .panel,
.password-page .panel-default > .panel-heading {
    background-color: transparent;
    border: 0;
    text-align: left;
    color: rgb(0, 55, 114);
}

#newPasswordVisibilityToggle,
#existingPasswordVisibilityToggle {
    display: table-cell;
    min-width: 20px;
    opacity: .65;
    border-radius: 0;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-summary-errors li {
    margin-bottom: 0.6em;
}

    .validation-summary-errors li:last-child {
        margin-bottom: 0;
    }

.body-content.smallPageForPma {
    margin-right: auto;
    margin-left: auto;
}

.alert {
    width: 100%;
}

.btn:focus {
    outline: none !important;
}

.browser-unsupported-form {
    padding-top: 25px;
    padding-bottom: 25px;
    min-height: 100px;
    width: auto !important;
}

.not-supported-wrapper {
    height: 100%;
}

.not-supported-message {
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 20px;
}

.platform-administration {
    font-size: 20px;
}

a.platform-administration:hover {
    color: white;
}

.platform-admin.body-content {
    overflow: auto;
}
.platform-admin div.admin-page {
    padding-bottom: 65px;
}
.platform-admin div.admin-page::before {
    clear: both;
    content: "";
    display: table;
    margin-top: -1px;
    height: 0;
}

.mfa-line-spacer {
    height: var(--mfa-line-space);
}

.fs-20 {
    font-size:20px;
}

.admin-page-form {
    width: 100%;
    padding:20px 10px;
    position: static;
    transform: translate(0, 0);
    text-align: left;
    min-height: 0;
}

select {
    background-color:#001654;
}

.display-none {
    display:none;
}

.display-block {
    display:block;
}

.display-table-row {
    display:table-row;
}

.display-flex {
    display: flex;
}

.mt-0 {
    margin-top:0;
}

.mr-10 {
    margin-right:10px;
}

.mb-0 {
    margin-bottom:0;
}

.pt-0 {
    padding-top:0;
}

.align-right {
    text-align: right;
}

#platform-sync-button {
    padding: 6px 12px;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius: 6px;
    font-size:20px !important;
}

#platform-sync-warning-left {
    flex:50%;
    padding:0.5em 1em 1em 0.3em;
}

#platform-sync-warning-right {
    flex:50%;
    padding:0.5em 0.3em 1em 1em;
}

html {
    font-size: 87.5%; /* 87.5% of 16px = 14px */
}
