/*
Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
Copyright (C) 2021-2022 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 {
    padding-top: 90px;
    height: calc(100vh - 90px);
    min-height: 430px;
}

.LoginScreen .MainBox {
    padding: 0px;
}

.LoginScreen .ErrorBox,
.LoginScreen .SuccessBox {
    margin-bottom: 10px;
    padding: 10px 25px;
}

.LoginScreen .SuccessBox {
    background-color: #6AC0CF;
}

#LostPassword,
#BackToLogin {
    color: #999;
}

.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;
}

#Footer a {
    color: #999;
    font-size: 11px;
    display: inline-block;
    position: relative;
    padding-left: 18px;
    margin-bottom: 5px;
    transition: all ease 0.4s;
    text-transform: none;
}

#Footer a span {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/signet_small_bw.png);
    background-size: cover;
    margin: 0px auto 10px auto;
    opacity: 0.3;
    transition: all ease 0.4s;
}

#Footer a:hover {
    text-decoration: none;
    color: #555;
}

#Footer a:hover span {
    opacity: 1;
    width: 20px;
    height: 20px;
    background: url(../img/signet_small_bw_closed.png);
    background-size: cover;
    animation-name: znuny-eat;
    animation-duration: 0.7s;
    animation-iteration-count: infinite
}

@keyframes znuny-eat {

  0% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%);
  }
  25% {
    clip-path: polygon(0% 30%, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 75%, 50% 50%);
  }
  50% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  75% {
    clip-path: polygon(0% 30%, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 75%, 50% 50%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%);
  }

}

.LoginBox,
#PasswordBox {
    width: 350px;
    margin: 0px auto;
}

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

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

.LoginBox input,
#PasswordBox input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 5px;
}

.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  Customizable logos
 */
#LoginLogo {
    background: transparent url(../img/loginlogo_default.png) center no-repeat;
    background-size: contain;
    height: 70px;
    margin-bottom: 30px;
}

} /* end @media */
