﻿@font-face {
    font-family: mark;
    font-style: normal;
    src: url("../fonts/markwebpro-book.woff") format("woff");
}

@font-face {
    font-family: mark;
    font-weight: bold;
    src: url("../fonts/markwebpro-bold.woff") format("woff");
}

html,
body,
.main-container,
.change-password {
    height: 100%;
    font-family: mark;
}

.main-container {
    display: flex;
}

.sub-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.img-container {
    background: url('../assets/Brilliant_Start_Page.jpg') center;
    background-size: cover;
    flex: 1;
}

.content-container {
    background: #007A73;
    flex: 0.5;
    background-image: url('../assets/Brilliant_Symbol_White_RGB.png');
    /*background-image: url('../assets/brilliant_logotype_white_rgb_120.png');*/
    background-position: 48px 48px;
    background-size: 56px 43px;
    background-repeat: no-repeat;
}

.brilliant-bars {
    width: 380px;
    height: 380px;
    background-color: #f04e98;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brilliant-bars > img {
        width: 202px;
        height: 154px;
    }

.view-container {
    width: 490px;
    padding: 24px 36px;
    display: flex;
    flex-direction: column;
}

h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 51px;
    color: white;
    margin-bottom: 32px;
}

h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    color: white;
    margin-bottom: 32px;
}

h4 {
    font-weight: bold;
    color: white;
    line-height: 24px;
}

p {
    font-size: 14px;
    line-height: 24px;
    color: white;
}

label, 
.text-danger {
    font-size: 14px;
    line-height: 24px;
    color: white;
}

.text-danger {
    position: absolute;
    bottom: -24px;
    left: 0;
    color: #ffd800;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    font-family: mark;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    font-family: mark;
}

:-ms-input-placeholder {
    /* IE 10+ */
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    font-family: mark;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    font-family: mark;
}

form {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

fieldset.email,
fieldset.email-pw,
fieldset.forgot-pw {
    margin-bottom: 24px;
}

input {
    background: #FFFFFF;
    border: 1px solid #fff;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 24px;
    color: #000000;
    padding: 11px 12px;
    width: 100%;
    font-family: mark;
    font-weight: 500;
    font-size: 14px;
}

    input:focus {
        outline: none;
    }

    input:disabled {
        background: white;
        color: #828282;
    }

    input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px white inset;
        font-family: mark;
    }

a {
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
}

    a:hover {
        text-decoration: underline;
    }

.forgot-psw-container {
    max-width: 490px;
}

.forgotten-password-link,
.login-link:not(.logged-out) {
    position: absolute;
    bottom: -24px;
    right: 0;
}

.submit-button-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    align-items: flex-end;
}

.submit-button {
    font-family: mark;
    font-size: 16px;
    color: white;
    background-color: transparent;
    border-radius: 500px;
    border: 2px solid white;
    padding: 10px 16px;
    cursor: pointer;
    height: 48px;
    min-width: 160px;
    transition: 0.2s;
}

button.submit-button:hover {
    color: #007a73;
    border-color: #fff;
    background-color: #C1dddb;
}

button.submit-button:focus {
    outline: none;
}

.flex-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.description-text {
    margin-bottom: 16px;
}

.logout-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.w-100 {
    width: 100%;
}

@keyframes pw-ease-out {
    from { opacity: 0; max-height: 0px; }
    to { opacity: 1; max-height: 1000px; }
}

.pw-show {
    animation: pw-ease-out 1s ease-out;
    opacity: 1;
    max-height: 1000px;
}

@media only screen and (max-width: 1024px), (max-height: 700px) {
    .img-container {
        flex: none;
    }

    h1 {
        font-size: 25px;
        line-height: 30px;
    }

    .forgot-psw-container {
        max-width: 290px;
    }

    .content-container {
        background-image: none;
        flex: 1;
    }
}

@media only screen and (max-width: 750px) {
    .brilliant-bars {
        display: none !important;
    }

    .view-container {
        width: auto;
        padding: 24px 16px;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE 10+ */
    input {
        line-height: normal;
    }
}

@supports (-ms-accelerator:true) {
    /* IE Edge 12+ CSS styles go here */
    input {
        line-height: normal;
    }
}
