body {
    background: #fafafa;
}

.logo-icon {
    margin: 4vh auto;
    display: block;
    max-width: calc(30vw - 200px);
    min-width: calc(350px - 100px);
}

.wrap {
    border: 1px solid #aaa;
    background: #f6f6f6;
    max-width: 30vw;
    min-width: 350px;
    padding: 0 1em 2em 1em;
}

.wrap .frontpage-menu {
    margin-bottom: 1em;
}

.pure-button-red {
    background-color: rgb(111, 180, 202);
}

#button-azure-ad-sp,
#button-chas-ldap {
    background-color: rgb(111, 180, 202);
}

#button-azure-ad-sp {
    margin-top: 1em;
}

.pure-control-group label {
    display: block;
}

#core\:loginuserpass .login-form-start {
    display: block;
    text-align: center;
}

#core\:loginuserpass #submit_button {
    float: none;
}

#core\:loginuserpass label[for=password],
#core\:loginuserpass label[for=username],
#core\:loginuserpass input,
#core\:loginuserpass button {
    width: 50%;
    vertical-align: middle;
    display: inline-block;
    text-align: left;
    margin: 0 0 .5em 0;
}

#core\:loginuserpass button {
    text-align: center;
}

#core\:loginuserpass #portalcontent > h1 {
    text-align: center;
}

#core\:loginuserpass #portalcontent > p,
#core\:loginuserpass #portalcontent > br,
#core\:loginuserpass .pure-form-message {
    display: none;
}

#core\:loginuserpass .wrap {
    max-width: 650px;
}

#webauthn\:webauthn .wrap {
    max-width: 60vw;
}

#privacyidea\:pi-form #submitButton,
#webauthn\:webauthn button {
    height: auto;
    border: none;
    padding: .5em 1em;
    cursor: pointer;
    background-color: rgb(111, 180, 202);
}

#webauthn\:webauthn button:hover {
    color: #fff;
}

#webauthn\:webauthn .bounding-tokens {
    border: none;
    padding: 0 .5em;
}

#webauthn\:webauthn .tokencaption {
    margin-bottom: .5em;
    display: block;
}

#webauthn\:webauthn ul {
    padding: 0;
}

#webauthn\:webauthn input {
    padding-left: .5em;
    line-height: 2em;
}

#webauthn\:webauthn #authformSubmit,
#webauthn\:webauthn #regformSubmit {
    margin-top: 2em;
}

#webauthn\:webauthn .othertoken {
    line-height: 2em;
}

#webauthn\:webauthn .othertoken > img {
    margin-right: .5em;
}

#webauthn\:webauthn .othertoken > img[src*="nothing.png"],
#webauthn\:webauthn .wrap > h1,
#webauthn\:webauthn label[for=tokenname],
#webauthn\:webauthn #passwordless,
#webauthn\:webauthn #label-passwordless {
    display: none;
}

#privacyidea\:pi-form .identifier-shown > h3 {
    display: none;
}

#privacyidea\:pi-form .identifier-shown > .message {
    margin: 0;
}
