/* 
    Created on : 09.07.2019, 08:36:51
    Author     : Nils Mathias
*/


/** Custom CSS code. */

* {
    box-sizing: border-box;
}

/* Utils */
.none { display: none; }
.center { text-align: center;}

/* Typo */
h3, h6 { margin: 0; }

/* Global */
:root {
    --mdc-theme-primary: #00b0ff !important;
    --mdc-theme-secondary: #018786;
}

.mdc-top-app-bar.lightBlue {
    background-color: #00b0ff;
}

html, body {  
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#infoPage,
#passwordResetPage,
#newCriticalMessages,
#successConvertedPage,
#convertPage {
    display: none;
}
#passwordResetPage {display:none;}

.login-background-image-container {
    background-color: #fbfbfb;
    background-size: 553px 412px;
    background-image: url(/resources/img/login-background.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;
    height: 100vh;
    width: 100%;
    display: none;
}

.login-background-image-container.visible {
    display: flex;
}

.mdc-top-app-bar {
    top: 0;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #00b0ff;
}

/* MDC Overwriting */
.mdc-text-field {
    flex-shrink: 0;
    width: 100%;
}

.mdc-card__actions {
    padding: 8px 24px 16px 24px;
}

.card-headline {
    margin-top: 16px;
    text-align: center;
}

.card-headline--account {
    margin-bottom: 12px;
}

.mdc-card__actions {
    justify-content: flex-end;
}

/* Container */
.mainContainer {
    position: absolute; 
    top: 0; 
    width: 100%;
    height: 100%;
}

.page {
    /*  padding: 24px;*/

}

.login-card {
    align-self: flex-start;
    border-radius: 4px;
    margin: 0 auto;
    margin-top: 128px;
    background: #fff;
    height: auto;
    display: block;
}

.page-blocker-content {
    width: 100%;
    max-width: 888px;
    margin: 0 auto;
    margin-top: 128px;
}

@media only screen and (max-width: 839px) {
    .page-blocker-content {
        margin-top: 0;
    }

    #lottie {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .login-card {
        margin-top: 56px;
        width: 100%;
        background: transparent;
        box-shadow: none;
    }

    .login-background-image-container {
        background-image: none;
    }

    .page-blocker-content .mdc-card__actions {
        padding: 0;
    }
}


#loginPage {
    /*width: 328px;*/
}

#infoPage, #infoPageNoMainAccount {
    width: 100vw;
    height: 100vh;
    top: 0;
    position: absolute;
    z-index: 5;
    background: #fff;
}

#logo {
    margin: 0 auto;
}

#btn-menu {
    visibility: hidden;
}

#convertPage .card-content {
    width: 100%;
    max-width: 888px;
    margin: 0 auto;
}

.login-card .mdc-button {
    font-size: .75em;
}

.login-card .mdc-button:not(:disabled).mdc-button--raised, :not(:disabled).mdc-button--unelevated {
    background-color: #00b0ff;
}

.my-card-content  {
    padding: 16px 16px;
}

#userlabel-container {
    text-align: center;
}

.demo-button-shaped {
    border-radius: 18px;
}

.demo-card__secondary, .demo-card__subtitle {
    color: rgba(0,0,0,.54);
    color: var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));
}

.demo-card__subtitle {
    margin-bottom: 6px;
}

.demo-card__primary {
    border-bottom: 1px solid #cbcbcb;
    padding: 6px 24px;
}

#successConvertedPage {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    background: #fff;
}

#successConvertedPage .card-content {
    width: 888px;
    margin: 112px auto 0 auto;
    text-align: center;
}

#newCriticalMessages .card-content{
    width: 100%;
    max-width: 888px;
    padding: 100px 0 0 0;
    margin: 0 auto;
}

#newCriticalMessages .newsContent button {
    border-radius: 4px;
    border-width: 0;
    background: #00b0ff22;
    color: #00b0ff;
    letter-spacing: 1.25px;
    font-size: 14px; 
    line-height: 17px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    margin-right: 8px;
}

#newCriticalMessages .newsContent button:hover {
    background-color: #00b0ff44;
}

.mdc-typography--body1.important {
    background-color: rgb(0,176,255,0.05);
    padding: 16px;
    border-radius: 12px;
    color: #00b0ff;
    margin-bottom: 24px;
}
.mdc-typography--body1.important--orange {
    background-color: rgba(255, 61, 0, 0.05);
    color: #FF3D00;
}

#section-additional-users.hidden {
    display: none;
}