/*
Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
Copyright (C) 2021 Znuny GmbH, https://znuny.org/

This software comes with ABSOLUTELY NO WARRANTY. For details, see
the enclosed file COPYING for license information (GPL). If you
did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
*/

/**
 * @package     Skin "Default"
 * @section     Login screen
 */

@media screen,projection,tv,handheld {

.LoginScreen {
    height: 100vh;
}

.LoginScreen #AppWrapper {
    height: 100vh;
}

.LoginScreen .MainBox {
    padding: 5em 0 0;
}

.LoginScreen .ErrorBox,
.LoginScreen .SuccessBox {
    margin: 0;
    cursor: default;
    width: 100%;
    max-width: 400px;
    padding: 7px var(--padding-xs);
    border-radius: var(--border-radius-xs);
    text-align: center;
    margin-bottom: var(--margin-md);
}

.LoginScreen .ErrorBox {
    background-color: var(--alert-error-bg-solid-color);
    color: var(--white);
}

.LoginScreen .SuccessBox {
    background-color: var(--alert-success-bg-solid-color);
    color: var(--white);
}

#LostPassword,
#BackToLogin {
    color: var(--gray-md);
    transition: var(--main-transition);
}

#LostPassword:hover,
#BackToLogin:hover {
    color: var(--black);
    text-decoration: underline;
}

.LoginScreen #Header {
    display: none;
}

.LoginScreen #Footer {
    border: 0px;
    bottom: 0px;
    box-sizing: border-box;
    padding: 15px 0px;
    position: relative;
    text-align: center;
    text-shadow: 1px 1px 1px #fff;
    text-transform: uppercase;
    width: 100%;
}

.LoginScreen #Footer a {
    padding-left: 0px;
}

.LoginBox,
#PasswordBox {
    width: 100%;
    max-width: 400px;
    margin: 0px auto;
}

.LoginBox > .WidgetSimple,
#PasswordBox > .WidgetSimple {
    padding: 15px;
}

.LoginBox > .WidgetSimple form > fieldset > div,
#PasswordBox > .WidgetSimple form > fieldset > div {
    position: relative;
}

.LoginBox .Error.Center.Spacing:empty,
#PasswordBox .Error.Center.Spacing:empty {
    display: none;
}

.LoginBox .CallForAction.Fullsize,
#PasswordBox .CallForAction.Fullsize {
    width: 100%;
}

.LoginBox .CallForAction.Fullsize span,
#PasswordBox .CallForAction.Fullsize span {
    padding: 7px 10px;
}

/**
 * @subsection  Login Footer
 */

.LoginScreen #Footer {
    background: transparent;
}


/**
 * @subsection  Customizable logos
 */
#LoginLogo {
    position: relative;
    top: initial;
    right: initial;
    width: 200px;
    height: 60px;
    background: transparent url(../img/znuny-logo-black.svg) no-repeat;
    background-size: auto;
    background-size: contain;
}

} /* end @media */
