/*******************FONTS IMPORT**********************************************************************************************************/

@font-face {
    font-family: roboto-condensed;
    src: url(../fonts/roboto-condensed.woff);
    /*Replace with font path */
}

/******************************************************************************************************************************/

/*
 Custom Elements inserted in the page 
*/

body {
    background-color: #1e3a83;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    height: auto;
    font-family: roboto-condensed;
}

img {
    width: 100%;
    overflow: hidden;
    height: auto;
}

/* Login Button Id*/
#next {
    width: 30%;
    height: 7vh;
    color: #fff;
    background-color: #002856;
    border: 0px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 1.5vh;
}

/* END Custom elements inserted in the page */

/* Container for social Badges*/

.social {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

    .social .intro > h2 {
        font-size: .8em;
        font-weight: normal;
        color: #3A8DDE;
        display: unset;
    }

    .social .options > div > button:nth-child(n) {
        width: auto;
        background-color: #fff;
        border-radius: 4px;
        font-size: 1em;
        text-align: center;
        box-shadow: 4px 4px 8px #CCCCCC;
        padding-right: 30px;
        padding-left: 30px;
        height: auto;
        color: #000;
        border: 1px solid #CCCCCC;
    }

.options {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

    .options > div {
        width: 50%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

/* END SOCIAL */

.loginContainer {
    border-radius: 10px;
    width: 480px;
    height: auto;
    display: flex;
    margin: auto;
    padding: 2em;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 3px 3px 8px #000000;
    opacity: 1;
    flex-direction: column;
    flex-wrap: wrap;
}

.logo {
    width: 40%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

#api {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.SemiBoldText {
    font-size: 4vh;
    letter-spacing: 0;
    color: #002856;
    margin: 0;
}

/* Error Message */
.error {
    position: relative;
    display: flex;
    background-color: transparent;
    height: 15px;
    justify-content: left;
    align-items: center;
    color: red;
    width: 100% !important;
    margin: 5px 0;
}

/*contains the error for the input */

.itemLevel {
    position: relative;
    display: flex;
    background-color: transparent;
    width: 100%;
    height: 15px;
    justify-content: left;
    align-items: center;
    color: red;
}

    .itemLevel > p {
        position: absolute;
        margin: 0;
        font-family: inherit;
        font-weight: normal;
        font-size: 14px;
        width: 100%;
    }

.pageLevel > p {
    position: absolute;
    margin: 0;
    top: 5px;
    font-family: inherit;
    font-weight: normal;
    font-size: 14px;
}

/* contains the authentication element such as Email/Password and login button*/

.entry {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
}

input {
    height: 4vh;
    background-color: #fff;
    padding-left: 10px;
    font-size: 1.5vh;
    border-radius: 10px;
}

    input:focus {
        outline: none;
        color: #002856;
    }

label[for=password] {
    margin-bottom:2%
}

label[for=email] {
    margin-bottom: 2%
}

/*Contains all login elements for login with existing account */

.localAccount {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .localAccount .intro {
        display: none;
    }


/* entry-item  contains the input fild for one item */

.entry-item {
    width: 100%;
    color: black;
    display: flex;
    flex-direction: column;
}

    .entry-item > label {
        color: #002856;
    }

input[value=""] {
    color: #CCCCCC;
}

.entry-item > input {
    border: 1px solid #002856;
    color: #002856;
    order: 2;
}

    .entry-item > input:focus {
        color: #002856;
    }


.entry-item .password-label {
    display: contents;
}

    .entry-item .password-label > label {
        width: 100%;
        color: #002856;
        display: flex;
        flex-direction: column-reverse;
        margin-top: 15px;
        order: 1;
    }

.password-label {
    width: 97%;
    top: 10px;
    position: relative;
    color: #002856;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

    .password-label > a {
        font-size: 1.7vh;
        color: #002856;
        text-decoration: underline;
        order: 3;
        text-transform: uppercase;
    }


/* contains the login button. It is contained in entry div */

.buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: transparent;
    align-items: flex-end;
}


/* Login Button Id*/

#next {
    width: 30%;
    height: 7vh;
    color: #fff;
    background-color: #002856;
    border: 0px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 1.5vh;
}


/*Diplicate css to use addClass method in js file on custom Button*/

.button {
    width: 30%;
    height: 7vh;
    color: #002856;
    background-color: #fff;
    border: 0px;
    border-radius: 4px;
    font-size: 1.5vh;
    margin-top: 10px;
    box-shadow: 4px 4px 8px #CCCCCC;
    color: #000;
    border: 1px solid #CCCCCC;
}

.rememberMe {
    width: 55%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    top: -7px;
}

    .rememberMe > input {
        width: 12px;
        height: 1.8vh;
        margin: 0px;
        left: 0;
        position: relative;
    }

    .rememberMe > label {
        font-size: 1.5vh;
        padding-left: 2px;
        color: #002856;
    }


/* Divider and Create */


/*contains the divider between entry and social | contains an h2 element*/

.divider {
    display: none;
}

.localAccount .divider {
    display: none;
}

.divider > h2 {
    display: none;
}


/* contains the sign up text | contains an p element*/


    .create > p {
        width: 100%;
        font-size: 1rem;
        color: #002856;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

.infoCreateText {
    width: 70%;
    font-size: 1.8vh;
    color: #002856;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.create > p > a {
    color: #002856;
}

button {
    cursor: pointer;
    border-radius: 10px !important;
}


/* Media Query */

/* Media query for IE and Microsoft Edge (Old Version) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .loginContainer {
        margin-top: 10%;
    }

    .password-label {
        position: static;
    }

        .password-label > a {
            position: absolute;
            margin-top: 100px;
        }

    .working {
        width: 100%;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 700px) {
    .loginContainer {
        width: 80%;
        padding: .3rem 1em;
    }

    .infoText {
        width: 100%;
        display: flex;
        text-align: left;
        letter-spacing: 0;
        color: #3A8DDE;
        opacity: 1;
        font-size: .8em;
        margin-top: 0;
    }

    .MessageContainer {
        width: 100%;
        margin-top: 7px;
    }

    .social {
        margin-top: 10px;
    }

    .create {
        width: 70%;
    }

    .infoCreateText {
        width: 100%;
    }
}

@media screen and (max-width: 360px) {
    .loginContainer {
        width: 75%;
        padding: .1rem 1rem;
        max-height: unset;
    }

    .create {
        position: relative;
    }

    .itemLevel > p {
        font-size: 12px;
    }
}


/* END Media Query */
