/*
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.
*/

/**
 * @package     Skin "Default"
 * @section     Dialogs
 */

@media screen,projection,tv,handheld {

/**
 * @subsection  Overlay
 */
#Overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    filter: alpha(opacity = 50);
    z-index: 3500;
}

/**
 * @subsection  Dialog
 */
.Dialog {
    position: absolute;
    z-index: 6000;
    min-width: 150px;
    background: #FFF;
}

.Dialog.Modal.Alert {
    z-index: 6500;
}

.Dialog.Fullsize {
    width: 100%;
    height: 100%;
    left: 0px !important;
}

.Dialog > .Header {
    cursor: move;
    display: block;
    position: relative;
    height: 25px;
    background: #eee;
    border-bottom: 1px solid #CCC;
}

.Dialog > .Header .Close {
    display: block;
    position: absolute;
    height: 12px;
    width: 12px;
    right: 8px;
    top: 7px;
    color: #000;
}

.RTL .Dialog > .Header .Close {
    right: auto;
    left: 8px;
}

.Dialog > .Header .Close:hover i {
    color: #E57633;
}

.Dialog > .Header h1 {
    padding: 5px 10px;
    font-weight: normal;
    font-size: 14px;
    padding-top: 5px;
}

.Dialog > .Content {
    position: relative;
    overflow-x: auto;
}

.Dialog > .Content > .InnerContent {
    padding: 10px 25px 10px 10px;
    background: #FFF;
    overflow-y: auto;
    overflow-x: auto;
    max-height: 200px;
    position: relative;
}

#AgentSplitSelection {
    min-width: 330px;
}

#TimeLineOverflow {
    overflow-y: hidden;
    max-height: 1173px;
    padding: 10px;
}

.RTL .Dialog > .Content > .InnerContent {
    padding: 10px 10px 10px 25px;
}

.Dialog > .Content > .ContentFooter {
    padding: 6px 0 5px;
    background: #e5e5e5;
    min-height: 20px;
    border-top: 1px solid #CCC;
}

.Dialog > .Footer {
    padding: 6px 0 5px;
    display: block;
    position: relative;
    background: #eee;
    border-top: 1px solid #CCC;
}

.Dialog > .Footer.ContentFooter {
    display: none;
}

/**
 * subsection       Alert
 */

.Dialog.Alert .InnerContent .fa {
    display: block;
    font-size: 25px;
    text-align: center;
    color: #ff505e;
    margin-bottom: 10px;
}

.Dialog.Alert h2,
.Dialog.Alert p {
    text-align: center;
}

.Dialog.Alert {
    width: 450px;
    top: 100px;
    left: 300px;
}

/**
 * subsection   Settings
 */

.Dialog fieldset {
    margin-bottom: 15px;
}

.Dialog .WidgetSettingsForm fieldset,
.Dialog fieldset.NoMargin {
    margin-bottom: 0px;
}

.Dialog .Field.LayoutGrid {
    padding-top: 7px;
}

.Dialog .Field.LayoutGrid .Tablelike {
    width: 98%;
}

.Dialog .Field .FocusField {
    position: absolute;
    left: -9999px;
    z-index: -1;
}

.Dialog .Buttons {
    background: #ddd;
    border-top: 1px solid #ccc;
    margin: 15px -8px -8px;
    padding: 10px 10px 9px 10px;
    text-align: center;
}

.Dialog .Field.LayoutGrid .AllocationList {
    max-height: 192px;
    overflow: auto;
}

.Field.LayoutGrid .AllocationList.AvailableFields {
    max-height: 155px;
}

.Dialog .Field.LayoutGrid .AllocationList.OrderNumbers {
    list-style: decimal inside;
}

.FilterInputContainer {
    width: 98%;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: #eee;
}

.FilterInputContainer input {
    width: 95%;
    display: block;
    margin: 7px auto;
}

#ContextSettingsDialogOverviewSmall {
    width: 950px;
    max-height: 600px;
}

/* Pure continuous text dialogs */

.TextDialog {
    padding: 10px;
    line-height: 150%;
    width: 550px;
    font-size: 13px;
    max-height: 450px;
    overflow: auto;
}

.TextDialog p,
.TextDialog li,
.TextDialog a {
    font-size: 12px;
}

.TextDialog ul {
    list-style-type: square;
    margin: 0px 0px 7px 20px;
}

.TextDialog ul li {
    margin-bottom: 5px;
    line-height: 130%;
}

.TextDialog h1 {
    margin-bottom: 4px;
    margin-top: 7px;
    font-size: 14px;
}

.TextDialog > p {
    margin-bottom: 12px;
    margin-left: 8px;
}

/* Error screens in overlays */

.Dialog.Modal #AppWrapper > #Header,
.Dialog.Modal .ErrorScreen ~ #Footer {
    display: none;
}

.Dialog.Modal .ErrorScreen {
    margin-top: 0px !important;
}

.Dialog.Modal .ErrorScreen .CenterBox {
    width: auto !important;
}

.Dialog.Modal .ErrorScreen .WidgetSimple .Content {
    max-height: 200px;
    overflow: auto;
}


} /* end @media */
