﻿body {
    font-family: "Montserrat";
}

#wrapper {
    height: 100vh;
    background: url("../../images/bg-epiox-login.svg");
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    display: none;
    padding: 0 15px 0 15px;
    overflow-y: auto;
}

.form__container{
    display:grid;
    place-items:center;
}

form {
    width: 25rem;
    background-color: var(--neutral-light-color);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    position: relative;
    box-shadow:var(--secondary-shadow);
}

    form:before {
        content: "";
        display: block;
        border: 0.125rem solid var(--black-color);
        border-radius:1.5rem;
        width:100%;
        height:100%;
        position:absolute;
        top:-0.25rem;
        left:0.25rem;
        pointer-events:none;
    }


.emailConfirmedDiv {
    margin-left: 10%;
    margin-top: 47.5vh;
    font-weight: bold;
    font-size: 1.2em;
    color: white;
}

#epiox {
    width: 60%;
}

h2 {
    font-size: 1.5rem;
    font-family: "Montserrat-Semibold";
}

/*input {
    width: 100%;
}*/


.linkform {
    display: block;
    text-align: right;
    color: var(--secondary-color);
    cursor: pointer;
}

#Inscription {
    align-self: flex-start;
}

#ForgotPassword {
    align-self: flex-end;
}


.footerRow {
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
    width: fit-content;
}

footer {
    z-index: 0;
    position: relative;
    top: 0;
    left: 0;
    text-align: right;
}

    footer a {
        color: var(--primary-color);
        text-decoration: none;
        display: block;
        font-size: 1rem;
        white-space: nowrap;
    }

        footer a:last-child {
            color:var(--history-hover-text-color);
        }

        footer a:hover {
            text-decoration: underline
        }

        footer a img {
            height:1rem;
            width:auto;
        }

#error {
    visibility: hidden;
    color: var(--red-color);
    text-align: center;
    vertical-align: middle;
    height: 40px;
}

    #error > * {
        vertical-align: middle;
        margin: 0;
    }

    #error > label {
        font-size: 20px;
        font-weight: bold;
    }

#loginForm {
    position: relative;
}

.footerLogin {
    text-align:right;
}


.errorInput {
    border: solid 1px;
    border-color: var(--red-color);
}

.alertInfo {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    position:fixed;
    top:0;
    left:50%;
    transform:translate(-50%,0);
}

.alert-info {
    padding: 1% 5% 1% 5%;
    margin: 0 auto;
    width: 50%;
    text-align: center;
    font-size: 1.25rem;
    border-radius: 0 0 15px 15px;
    box-shadow:var(--third-shadow);
    background-color:var(--primary-lighter-color);
    color:var(--primary-lighter-text-color);
    font-family:'Montserrat-semibold';
}

#ForgotPassword:hover, a:hover, a:focus {
    cursor: pointer;
    text-decoration: none;
    color: var(--main-orange-color);
}

.formRow{
    height:100%;
}


@media all and (max-width:1025px) {

    #wrapper {
        position: relative;
    }

    #epiox {
        width: 55%;
    }

    h2 {
        display: none;
    }

    .formRow{
        height:90%;
    }

    .footerRow {
        align-items: center;
        margin-top: 0;
        width: 100%;
        position: absolute;
        bottom: 24px;
        left: 0;
        padding: 0;
    }

    footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    footer>*:last-child{
        width:100%;
        display:grid;
        place-items:center;
    }

        footer > a {
            padding: 0.5rem 1.5rem;
        }
}

@media screen and (max-width:1366px) and (orientation:portrait){
    #wrapper {
        background:url("../../images/bg-epiox-login--tablette-portrait.svg");
        background-size:cover;
        background-repeat:no-repeat;
        background-position:center;
    }
}

@media screen and (max-width:1366px) and (orientation:landscape){
    #wrapper {
        background:url("../../images/bg-epiox-login--tablette.svg");
        background-size:cover;
        background-repeat:no-repeat;
        background-position:center;
    }
}

@media screen and (max-width: 480px) and (orientation:portrait){

    #wrapper {
        background:white;
    }

    .formRow{
        height:30rem;
        margin-top:1.5rem;
        margin-bottom:3rem;
    }

    form{
        width:100%;
        padding:1rem 2rem;
    }

    #loginForm {
        position: relative;
    }

    button {
        width: 100%;
    }

    .footerRow {
        position: relative;
        align-content: center;
        margin: 0;
    }

    footer {
        flex-direction:column;
        flex-wrap: nowrap;
        align-items:center;
    }
}

@media screen and (max-width:812px) and (max-height:480px) and (orientation:landscape){
    
    .formRow{
        height:30rem;
    }
    
    .footerRow{
        position:relative;
        margin-top:3rem;
    }
}

.primary-btn{
    vertical-align:middle;
}

.btn_icon{
    width:1.5rem;
    height:1.5rem;
    margin-right:1rem;
}

.ajust{
    display:inline-block;
    margin-top:2px;
}

.regular {
    font-family: "Montserrat";
}

.designedby{
    font-size:0.6rem;
}

.rs img{
    height:1.25rem !important;
    width:auto;
}

.secondary-btn{
    font-size:0.8rem;
    width:100%;
}