html, body {
    height: 100%;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1d2125;
    text-align: left;
}

#page {
    min-height: 100%;
}

#page > #page-content {
    background-color: transparent !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

#page-login #page {
    height: 100%;
    justify-content: center;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.login-container {
    background-color: #fff;
    padding: 3rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    margin-bottom: 2rem;
}

h1 img {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1.171875rem;
    line-height: 1.5;
    border-radius: .6rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: .375rem .75rem;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #8f959e;
    border-radius: .5rem;
    transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}

.content-middle {
    display: flex;
    align-items: center;
}

.content-bottom {
    display: flex;
    align-items: end;
}

footer a,
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
}

#page-header {
    padding: 5px;
    background: #333;
    color: #fff;
}

.box-logout {
    display: flex;
    justify-content: end;
    align-items: center;
}

.box-singlecontent {
    display: flex;
}

.center-content {
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .login-container {
      max-width: 600px;
      border-radius: .5rem;
    }
}

@media (min-width: 576px) {
    #page-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    #page-wrapper #page {
        display: flex;
        flex-direction: column;
    }

    #page-wrapper #page #page-content {
        flex: 1 0 auto;
    }

    #page-wrapper #page:not(.drawers) {
        flex: 1 0 auto;
    }

}