/*
Copyright (C) 2001-2020 OTRS AG, https://otrs.com/

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;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 430px;
    align-items: center;
    padding: 0;
}

.LoginScreen .ImageBox {
    height: 100%;
    width: 100%;
    background: #F3F4F6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.LoginScreen .ImageBox .Content {
  width: 70%;
  text-align: center;
}

.LoginScreen .ImageBox .Content .Image {
  width: 80%;
  height: auto;
}

.LoginScreen .ImageBox .Content .Logos {
  width: 65% !important;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-10 {
  margin-bottom: 40px !important;
}

.CustomTextFontFamily {
  color: #2F3237;
}

.CustomHeader {
  font-weight: bold; font-size: 28px;
}

.Label {
  font-weight: bold;
  font-size: 14px;
}

.SubLabel {
  font-weight: bold;
  font-size: 12px;
}

.LoginScreen .MainBox {
    padding: 0px;
    width: 50%;
}

.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;
    transform: rotate(90deg);
}

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

.AppWrapper {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.LoginBox .SupportBox {
  display: grid;
  grid-template-columns: 1fr 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;
    border-radius: 10px;
    border: 1px solid #DFDFDF;
    box-shadow: none;
    font-size: 22px;
    margin-top: 5px;
}

.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox:checked+label::before {
  border-color: #F7002C;
  background-color: #F7002C;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.custom-checkbox+label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #F3F4F6;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 25% 25%;
  background: #F3F4F6;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
  border-color: #F7002C;
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
  background-color: #F7002C;
  border-color: #F7002C;
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
  box-shadow: 0 0 0 0.01rem #F7002C;
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
  border-color: #F7002C;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
  background-color: #e9ecef;
}

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

.LoginBox .CallForAction.Fullsize,
#PasswordBox .CallForAction.Fullsize {
    width: 100%;
    background: #F7002C;
    border: none;
    border-radius: 5px;
    padding: 7px 10px;

}

.LoginBox .CallForAction.Fullsize span,
#PasswordBox .CallForAction.Fullsize span {
    font-size: 14px;
    color: white !important;
    text-shadow: none;
    border: none;
    padding: 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 */
