/*
Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
Copyright (C) 2021-2023 Centuran Consulting, https://centuran.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.
*/

@media screen,projection,tv,handheld {

/**
 * @package     OTRS Framework - Skin "Default"
 * @section     Login
 */

.Login {
    padding: 34px 0;
}

.Login p {
    padding: 0;
}

.Login noscript p{
    color: #666666;
    margin: 13px 0 26px;
}

/**
 * @subsection  Slider
 */
#Slider {
    margin-bottom: 34px;
    width: 642px;
    height: 260px;
    overflow: hidden;
}

#Slider h2 {
    line-height: 22px;
}

#Login,
#Reset,
#Signup,
#PreLogin {
    width: 500px;
    height: 260px;
    padding-left: 142px;
    position: relative;
}

#NoJavaScript,
#OldBrowser {
    width: 500px;
    padding-left: 142px;
    position: relative;
}

.RTL #Login,
.RTL #Reset,
.RTL #Signup,
.RTL #PreLogin {
    padding: 0 142px 0 0;
    float: right;
}

.InlineNavigation {
    top: 1px;
    left: 34px;
    position: absolute;
}

.RTL .InlineNavigation {
    left: auto;
    right: 34px;
}

/**
 * @subsection  Forms
 */

.Login label {
    width: auto;
    padding-left: 2px;
    float: none;
    color: #222;
    font-size: 12px;
    text-align: left;
}

.Login form label.Focused {
    color: #BBB;
}

.Login input[type='text'],
.Login input[type='email'],
.Login input[type='password']  {
    width: 177px;
    padding: 3px 5px;
    font-size: 14px;
    background-color: transparent;
    display: block;
}

.Login input:focused {
    border-color: #F92;
}

.Login button {
    margin-top: 13px;
    min-width: 70px;
}

.Login button:disabled {
    color: #7F7F7F;
    background: #F0F0F0
}

/**
 * @subsection  Floating
 * @note        added to a form for floating divs containing the input fields
 * @see         Login
 */

.Floating div {
    margin: 2px 5px 2px 0;
    position: relative;
    float: left;
}

.RTL .Floating div {
    margin: 2px 0 2px 5px;
}

.Floating button {
    margin-top: 17px;
}

.JavaScriptAvailable .Floating button {
    margin-top: 0;
    padding: 4px 0;
}

/**
 * @subsection  Inline Labels (javascript only)
 * @note        labels are put inside of the input field
 * @see         Login
 */

.JavaScriptAvailable .Login label,
.JavaScriptAvailable .Login label.Mandatory {
    margin: 1px 5px;
    color: #999 !important;
    font-size: 14px;
    line-height: 14px;
    position: absolute;
    z-index: 1;
    max-width: 177px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.JavaScriptAvailable .Login input[type='text'],
.JavaScriptAvailable .Login input[type='password'] {
    margin: 0;
    position: relative;
    z-index: 10;
}

.Option {
    margin: 0;
    padding: 0 2px 3px;
    line-height: 21px;
    float: none;
}

/**
 * @subsection  Custom Field Sizes
 */

#Signup #Title,
#Signup input[type='text'],
#Signup input[type='email'] {
    width: 250px;
}

.NewLine {
    clear: left;
}

.JavaScriptAvailable .Floating .NewLine button {
    margin-top: 8px;
}

/**
 * @subsection  Errors
 * @note        Error fields for forms
 */

.ErrorBox,
.SuccessBox,
.WarningBox {
    display: block;
    margin: -13px 136px 20px;
    padding: 5px 8px 4px;
    cursor: default;
}

.ErrorBox {
    color: #FFF;
    background: #D41111;
}

.WarningBox {
    color: #555;
    background: #FFDD50;
}

.WarningBox.WithIcon {
    position: relative;
    padding-left: 25px;
}

.WarningBox.WithIcon > i {
    position: absolute;
    left: 10px;
    top: 6px;
}

.SuccessBox {
    color: #FFF;
    background: #08A503;
}

/**
 * @subsection  Login Content
 * @note        if you want to place some content into the login (for example CustomerAccept.tt)
 */

.Login .Content {
    margin-left: 142px;
    border-top: none;
}

.RTL .Login .Content {
    margin-right: 142px;
    margin-left: 0;
}

} /* end @media */
