﻿/* 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. */

:root {
    --login-buttons-dim: 45px;
    --app-card-width: 303px;
    --app-card-border-radius: 20px;
    --launch-app-button-width: 155px;
    --header-margin-top: 30px;
    --logo-small-height: 90px;
    --header-height: 54px;
    --footer-height: 70px;
    --container-h-padding: 15px;
    /*--mobile-width: 960px; CSS variables cannot be used inside @media queries !!!! :( */
}

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
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 960px) {
    html {
        font-size: 16px;
    }
}

.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/

    background-color: var(--platform-color-dark-1);
}

.footer {
    position: fixed;
    left: 0px;
    bottom: calc(var(--container-h-padding) + var(--container-h-padding));
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    border: none !important;
    height: var(--footer-height);
}

@media (max-height: 800px) {
    .footer {
        bottom: var(--container-h-padding);
    }
}


/* --------------------------------------------------*/
/* -------------- CAE CUSTOM ------------------------*/
/* --------------------------------------------------*/

html {
    height: 100%;
}

body {
    height: 100%;
}

header {
    /*margin-bottom: 100px;*/
    background-color: var(--platform-color-dark-1) !important;
    /* height: var(--header-height); */
}

@media(max-width: 960px) {
    header {
        margin-bottom: 0px;
    }
}

#login-hr {
    opacity: 1;
    border: 1px solid #007CD8;
}

#datalife-platform-logo {
    width: 470px;
    height: 143px;
    background: transparent url('../img/datalife-platform-logo.svg') 0% 0% no-repeat padding-box;
    margin: auto;
}

@media(max-width: 960px) {
    #datalife-platform-logo {
        width: 293px;
        height: var(--logo-small-height);
        background-position: bottom;
        background-size: 100%;
    }
}

#datalife-platform-logo-small {
    display: block;
    width: 293px;
    height: var(--logo-small-height);
    background: transparent url('../img/datalife-platform-logo-small.svg') 0% 0% no-repeat padding-box;
    margin: auto;
}

#welcome-on-board {
    text-align: center;
    font: italic normal 300 26px/34px Roboto;
    letter-spacing: 0.52px;
    color: #FFFFFF;
    opacity: 1;
}


@media (max-height: 800px) {
    #welcome-on-board {
        font: italic normal 300 20px/30px Roboto;
    }
}

#forgot-password {
    color: #FFFFFF;
    text-decoration: none;
}

#login-password {
    display: inline;
    width: 100%;
}

#login-submit {
    width: var(--login-buttons-dim);
    height: var(--login-buttons-dim);
    margin-top: 85px;
    margin-left: 10px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding: 0px;
    border: none;
    opacity: 1;
    background-color: var(--platform-color-accent-1);
    color: var(--platform-color-light-1);
}



@media (max-width: 768px) {
    #login-submit {
        margin-top: 0px;
        float: right;
    }
}

#login-submit i {
    vertical-align: top;
    font-size: 40px;
}

.login-input {
    margin-top: 20px;
}

.form-label {
    color: var(--platform-color-light-1);
}

.form-control {
    vertical-align: top;
    height: 45px;
}

#user-logged {
    width: 100%;
    text-align: right;
    color: var(--platform-color-light-1) !important;
}

#user-logged-img {
    font-size: 40px;
    display: inline-block;
    vertical-align: middle;
}

#user-not-logged {
    height: calc(33px + 1.5rem);
}

@media (max-height: 800px) {
    #user-not-logged {
        height: 1.5rem;
    }
}

#logout-submit {
    width: 60px;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding: 0px;
    border: none;
    opacity: 1;
    background-color: var(--platform-color-dark-1);
    color: var(--platform-color-light-1);
}

    #logout-submit i {
        vertical-align: bottom;
        font-size: 40px;
    }

@media (max-width: 960px) {
    #logout-submit i {
        vertical-align: top;
    }
}

#login-fullscreen-button i {
    font-size: 40px;
    color: var(--platform-color-light-1);
    vertical-align: bottom;
}

@media (max-width: 960px) {
    #login-fullscreen-button {
        display: none;
    }
}

#footer-logo-cae {
    width: 125px;
    height: 51px;
    background: transparent url('../img/logo-cae.svg') 0% 0% no-repeat padding-box;
    float: right;
    margin-top: 0px;
    margin-bottom: 0px;
}

#login-app-logo {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    #login-app-logo .logo-img {
        margin-right: 10px;
        margin-bottom: 10px;
    }

@media (max-width: 960px) {
    #login-app-logo {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


#logo-aegis {
    width: 105px;
    height: 31px;
    background: transparent url('../img/logo-aegis.svg') 0% 0% no-repeat padding-box;
}

#logo-foreside {
    width: 151px;
    height: 31px;
    background: transparent url('../img/logo-foreside.svg') 0% 0% no-repeat padding-box;
}

#logo-detective {
    width: 165px;
    height: 31px;
    background: transparent url('../img/logo-detective.svg') 0% 0% no-repeat padding-box;
}

#logo-sentry {
    width: 132px;
    height: 31px;
    background: transparent url('../img/logo-sentry.svg') 0% 0% no-repeat padding-box;
}

#logo-journal {
    width: 151px;
    height: 31px;
    background: transparent url('../img/logo-journal.svg') 0% 0% no-repeat padding-box;
}

.container {
    max-width: 100%;
}

header .container {
    padding-top: calc(var(--container-h-padding) + var(--container-h-padding));
    /* max-width: 100%; */
    /*margin-top: var(--header-margin-top);*/
}

@media (max-height: 800px) {
    header .container {
        padding-top: calc(var(--container-h-padding) / 2);
        /* max-width: 100%; */
        /*margin-top: var(--header-margin-top);*/
    }
}

footer .container {
    /* max-width: 100%; */
    /* margin-bottom: 30px; */
}

.app-card {
    width: var(--app-card-width);
    height: 486px;
    padding-top: 35px;
    position: relative;
    border-radius: var(--app-card-border-radius);
    background-color: var(--platform-color-light-2);
    margin-left: 10px;
    margin-right: 10px;
}

@media (max-height: 800px) {
    .app-card {
        height: 376px;
    }
}

@media (max-width: 960px) {
    .app-card {
        /* width: var(--app-card-width); */
        padding-top: 0px;
    }

        .app-card:not(:first-child) {
            margin-top: 10px;
        }
}

.app-card .logo-aegis {
    width: 156px;
    height: 46px;
    margin: auto;
    background: transparent url('../img/logo-aegis-blu.svg') 0% 0% no-repeat padding-box;
}

@media (max-width: 960px) {
    .app-card .logo-aegis {
        background-size: 100px;
        margin-left: 25px;
        margin-top: 20px;
    }
}

.app-card .logo-foreside {
    width: 228px;
    height: 46px;
    margin: auto;
    background: transparent url('../img/logo-foreside-blu.svg') 0% 0% no-repeat padding-box;
}

@media (max-width: 960px) {
    .app-card .logo-foreside {
        background-size: 140px;
        margin-left: 25px;
        margin-top: 20px;
    }
}


.app-card .logo-detective {
    width: 252px;
    height: 47px;
    margin: auto;
    background: transparent url('../img/logo-detective-blu.svg') 0% 0% no-repeat padding-box;
}

.app-card .logo-sentry {
    width: 198px;
    height: 46px;
    margin: auto;
    background: transparent url('../img/logo-sentry-blu.svg') 0% 0% no-repeat padding-box;
}

@media (max-width: 960px) {
    .app-card .logo-sentry {
        background-size: 140px;
        margin-left: 25px;
        margin-top: 20px;
    }
}

.app-card .logo-journal {
    width: 228px;
    height: 46px;
    margin: auto;
    background: transparent url('../img/logo-journal-blu.svg') 0% 0% no-repeat padding-box;
}

.launch-app-button {
    width: var(--launch-app-button-width);
    height: 45px;
    margin: auto;
    font-size: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    margin-left: calc((var(--app-card-width) - var(--launch-app-button-width))/2);
    background-color: var(--platform-color-accent-1);
    color: var(--platform-color-light-1) !important;
    text-decoration: none !important;
}

@media (max-width: 960px) {
    .launch-app-button {
        width: 100%;
        bottom: 0px;
        margin-left: 0px;
        border-bottom-left-radius: var(--app-card-border-radius);
        border-bottom-right-radius: var(--app-card-border-radius);
    }
}

.launch-app-button i {
    font-size: 30px;
}

#app-cards {
    display: flex;
    justify-content: center;
}

@media (max-width: 960px) {
    #app-cards {
        flex-direction: column;
        flex-wrap: wrap;
        align-content: space-around;
    }

    .app-card {
        height: 143px;
    }
}

.launch-sub-pages {
    display: flex;
    justify-content: flex-start;
    margin-top: 40px;
    align-items: center;
    flex-direction: column;
    height: 235px;
}

@media (max-width: 960px) {
    .launch-sub-pages {
        display: none;
    }
}


@media (max-height: 800px) {
    .launch-sub-pages {
        height: 155px;
        margin-top: 20px;
    }
}


.launch-sub-page {
    display: block;
    text-decoration: none;
}

.launch-sub-pages hr {
    border: 1px solid var(--platform-color-light-3);
    width: 35px;
}

.app-card-msg {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--platform-color-dark-1);
}

@media (max-width: 960px) {
    .app-card-msg {
        margin-top: 0px;
    }
}

.app-card-msg .app-card-msg-label {
    margin-right: 5px;
    font-weight: normal;
}

.app-card-msg .app-card-msg-value {
    margin-right: 4px;
}

.app-card-msg .app-card-msg-utc {
}

.forgot-password {
    color: var(--platform-color-light-1) !important;
}

    .forgot-password a {
        text-decoration: none;
    }

#forgot-password-title {
    text-align: center;
}

.horizontally-centered {
    justify-content: center;
    text-align: center;
}

@media (max-width: 960px) {
    /*    html {
        height: 100%;
    }

    body {
        height: 100%;
    }*/

    main {
        height: 100%;
    }

    #app-cards {
        height: calc(100% - var(--header-height) - var(--header-margin-top) - var(--footer-height) - var(--logo-small-height) - 30px);
        overflow-y: auto;
    }


    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 0px;
    }
}


/* styles added when upgrading from Bootstrap 4 to Bootrap 5 #################### BEGIN ###################### */
.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}


.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    /*
    position: relative;
    width: 100%;
*/
    padding-right: var(--container-h-padding);
    padding-left: var(--container-h-padding);
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
}

.container {
    width: 100%;
    padding-right: var(--container-h-padding);
    padding-left: var(--container-h-padding);
    margin-right: auto;
    margin-left: auto;
}

hr {
    opacity: 1;
}

/* styles added when upgrading from Bootstrap 4 to Bootrap 5 #################### END ###################### */
