/** login page **/
body {
    margin: 0;
    padding: 0;
}
main {
    height: 100vh;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}
footer {
    display: none;
}
/* banner */
#login_banner {
    background-image: url("/assets/img/login_banner.png");
    display: none;
}
.banner h1 {
    font-size: 2rem;
    padding: 3rem;
    color: #fff;
}
.banner {
    height: 25%;
    display: block;
}
/* form */
#login_form {
    width: 80%;
    margin: 0 auto;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#login_form p {
    font-size: 1.5rem;
    font-weight: 300;
}
#login_form h1 {
    color: #10428e;
    font-weight: 500;
}
/* errors */
#login_form .alert p {
    font-size: 1.2rem;
    padding: 1rem;
}
.alert-danger {
    color: #a94442;
    background-color:#f2dede;
    border-color: #ebccd1;
    border-radius: 10px;
    margin-top: 10px;
}
.input-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.input-icon-container {
    display: flex;
    flex-direction: row;
    border: 1px solid #374669;
    border-radius: 5px;
    background : #fff;
    align-items : center;
    overflow: hidden;
}
#login_form .input-icon-container input {
    outline: none;
    border: none;
    background: none;
    background-color : transperent;
    color: inherit;
    flex : auto 1 1;
    width: 100%;
    height: 2.5rem;
    padding: 0 0.5rem;
    font-size: 1rem;
}
.input-icon-container .fa{
    padding : 0 10px;
    cursor: pointer;
}
button {
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
    background-color: #EC6825;
}
/* forgotten pw link + submit button */
#left {
    text-align: left;
}
a {
    color: #29519D;
    text-decoration: none;
}
a:hover {
    color: #EC6825;
}
/* faurecia login */
#faurecia_login {
    display: flex;
    flex-flow: column;
    align-items: center;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.main_container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.page-footer {
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: auto;
}
.footer-element{
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#rights{
    width: max-content;
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
  .page-footer .page-copyright {
    color: #bfbfbf;
    font-size: 14px;
    text-align: center;
    padding: 10px 10px;
    clear: both;
    background-color: white;
    display: flex;
    justify-content: right;
    align-items: center;
  }
  .page-footer .page-copyright .footer-element {
    margin: 0 25px;
  }
  .page-footer .page-copyright .footer-element #footer-easy {
    color: #ec6825;
  }
  .page-footer .page-copyright .footer-element #footer-by-redspher {
    color: #29519d;
  }
  .page-footer .page-copyright .footer-element a {
    text-decoration: none;
    color: #ec6825;
  }
/** e4p logo */
#img_header_logo {
    width: 100%;
}

.g-recaptcha {
    margin-top: 1rem;
    transform: scale(0.77);
    transform-origin: 0 0;
}

@media screen and (max-width: 670px) {
    #login_form {
        height: 100vh;
        display: block;
    }
}

/** Tablet + Desktop media query **/
@media screen and (min-width:670px) {
    .footer-link {
        display: block; /* Make each link take up its own line */
        margin-bottom: 5px;
    }

    .footer-element {
        gap: 5px;
    }

    .footer-separator {
        display: block;
    }

    #login_banner {
        width: 60%;
        height: auto;
        max-height: 100vh;
        margin-bottom: 0;
        display: block;
    }
    #login_form {
        width: 30%;
        max-width: 390px;
        display: flex;
        flex-direction: column;
    }
    .banner h1 {
        font-size: 3rem;
        padding: 5rem;
    }
    main {
        display: flex;
    }
}
@media screen and (min-width:1020px) {
    #login_form {
        width: 25%;
    }
    .banner h1 {
        margin: 0;
    }

    .g-recaptcha {
        transform: scale(1);
        transform-origin: 0 0;
    }
}

@media screen and (max-width: 1500px) {
    .page-footer {
        font-size: 13px;
    }
}
