body {
    height: 80%;
}

#login-img {
    height: 60px;
    width: 65%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
    margin-bottom: 35px;
}

#login-box,
#reset-box {
    width: 460px;
    padding: 25px 40px 1px;
    background-color: #ffffff;
}

#login-box > img {
    width: 260px;
    height: 95px;
}

#login-box input,
#reset-box input {
    margin: 0 0 45px;
}

#login-box input[type="submit"],
#forgot-box button,
#reset-box button,
#firstConnection-box button {
    padding: 10px 18px;
    margin-top: 15px;
}

#login-box input:not([type="submit"]),
#reset-box input {
    font-size: 16px;
    text-align: left;
    background-color: #ffffff;
    border-width: 0 0 1px 0;
    padding-left: 0;
}

#login-box input:not([type="submit"]):focus,
#reset-box input:focus {
    background-color: #ffffff !important;
    border-width: 0 0 2px 0;
    box-shadow: none;
}

#login-box input:-webkit-autofill,
#login-box input:-webkit-autofill:hover,
#login-box input:-webkit-autofill:focus,
#login-box input:-webkit-autofill:active,
#reset-box input:-webkit-autofill,
#reset-box input:-webkit-autofill:hover,
#reset-box input:-webkit-autofill:focus,
#reset-box input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

#login-box a:hover {
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid;
}

#login-box #remember {
    margin: 0;
}

#login-box .flag,
#reset-box .flag {
   width: 30px;
    margin-top: 5px;
}

#login-box .alert {
    margin-bottom: 0;
}

#login-box #email.is-invalid {
    color: #dc3545;
    border-color: #dc3545;
}

#login-box .alert:not(#connectionError) {
    display: none;
}


#reset-box .alert {
    display: none;
}

#triangle::before,
#triangle::after {
    content: '';
    position: absolute;
    bottom: 0;
    border-color: transparent;
    border-style: solid;
    transform: rotate(180deg);
}

#triangle::after {
    border-width: 18em;
    border-right-color: #ffffff;
    border-top-color: #ffffff;
}

@media screen and (max-width: 1330px)
{
    #triangle::after {
        border-width: 15em;
    }
}
@media screen and (max-width: 1050px)
{
    body {
        height: 100%;
    }

    #triangle {
        display: none;
    }
}
@media screen and (max-height: 815px)
{
    #login-img {
        margin-top: 60px;
    }
}
@media screen and (max-height: 800px)
{
    body {
        height: 100%;
    }

    #triangle {
        display: none;
    }
}