body,
html {
    height: 100%;
}

.container {
    width: 100%;
    height: 100%;
}

.page-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header.header-default {
    width: 100%;
    margin: 12px -3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 80%;
}

.header-default .bc-logo-link {
    padding: 24px;
}

.header-default .bc-logo {
    background: url(../images/BIMcollab-Logo_23-FullColor-RGB.svg) 0 50% no-repeat;
    display: block;
    height: 30px;
    width: 150px;
}
.header-default .client-logo {
    height: 30px;
    margin-right: 18px;
    width: 128px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    background-image: url("/WebApp/Handlers/Public/DisplaySpaceImage.ashx?spaceImageId=1");
}

.header-spacename {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: auto auto 8px;
    width: 100%;
    max-width: 450px;
    white-space: wrap;
    word-break: break-word;
    font-size: 22px;
    position: relative;
}

    .header-spacename .bc-icon {
        background: url(../images/BIMcollab-Icon_23-FullColor-RGB.svg) 0 50% no-repeat;
        display: flex;
        height: 30px;
        width: 42px;
        margin-right: 12px;
        border-right: 1px solid #dcdcdc;
    }

.login-container {
    width: 100%;
    max-width: 450px;
    margin-top: 7px;
    padding: 12px 20px;
    align-items: center;
    background-color: #efefef;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .login-container * {
        /* IE11 fix for not properly supporting flex layout*/
        max-width: 100%;
    }

h1 {
    text-align: center;
    margin: 20px 0 36px 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.errorMessage, .twofa-container .alert-danger, .recoverycode-container .alert-danger {
    color: #d34f0b;
    text-align: center;
    font-size: 85%;
}

.form-control::placeholder {
    color: #4c4b4b;
    opacity: 1;
}

.form-group {
    margin-bottom: 12px;
}

.login-remember {
    width: 100%;
}

.btn {
    max-width: 270px;
    width: 75%;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-lowest {
    margin-top: 7px;
    margin-bottom: 5px;
}

.login-cancel {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 12px;
    color: #7f7e7d;
    font: inherit;
    cursor: pointer;
}

    .login-cancel:hover {
        color: #585857;
        text-decoration: underline;
    }

a.secondary {
    color: #7f7e7d;
    text-decoration: none;
    font-size: 12px;
}

.recoverycode-container p,
.recoverycode-container .form-control,
.twofa-container p,
.twofa-container .form-control {
    text-align: center;
}

.recoverycode-container .form-control {
    min-width: 260px;
}
