﻿/*
* 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 .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 a.btn { display: inline-table;}

.mfa-code-screen .password-page form button {
    width: auto;
}
/*.mfa-code-screen h5 {
    padding-top: 30px;
}
.mfa-code-screen form {
    min-width: 408px;
    min-height: 460px;
    padding-top: 20px;
    position: absolute;
    text-align: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

/* 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 {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    height: 100%;
    width: 100%;
    font-family: 'source-sans-pro-v9-latin-300', Fallback, 'Courier New';
}

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;
}

/* 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{
        width: 100%;
        height: 100%;
    }

    .form-group.login-links-group {
        margin: auto;
        max-width: 284px;
    }

    #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%;
    }

    .row.info-text {
        text-align: initial;
    }

    .login-page.reset-password-page.password-page fieldset {
        display: inline-grid;
    }

    .login-page.reset-password-page.password-page .panel-body,
    .login-page.reset-password-page.password-page .panel-heading {
        padding-left: 0px;
    }

    .login-page.reset-password-page.password-page .form-control {
        max-width: 100%;
    }

    .reset-password-page form {
        min-width: 100% !important;
    }
}

@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('/images/pma/trace_logo.svg');
        height: 25px;
        width: 200px;
        float: right;
        background-repeat: no-repeat;
        background-position: right;
    }
/* ===============================================*/
form {
    min-width: 408px;
    min-height: 460px;
    padding-top: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-group {
    margin-left: 16%;
    margin-right: 16%;
    margin-bottom: 10px;
}

.body-content .form-group {
    margin-bottom: 10px;
}

.form-control {
    background-color: white !important;
    border-radius: 0px;
    border: 1px solid #ccc;
    color: rgb(166,166,166);
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 22px;
    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: 0px;
    margin-bottom: 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('../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: white;
}

.remember-me {
    float: right;
}

.password-rules .password-rule .fa-check {
    color: green;
}


.password-rules .password-rule .fa-times {
    color: red;
}


#login-form .form-group, .forgot-password-page form .form-group {
    clear: right;
}

#login-form .license_message {
    white-space: pre-line;
    text-align: left;
}

.fa-times:before {
    color: rgb(228, 50, 50);
}

.fa-check:before {
    color: rgb(0,180,0);
}

.remember-me label {
    font-weight: normal;
    color: white;
    vertical-align: top;
}

#capsLockIndicator {
    clear: both;
    color: #ffffff;
}

.alert-danger {
    display: inline-block;
}

.password-rules {
    list-style-type: none;
    padding-left: 0;
}

.password-page .panel-body {
    padding-top: 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;
}

.password-page .remember-me {
    display: inline-block;
    float: right;
}

#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%;
}

.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;
}