/*
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     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;
}

@media only screen and (max-width: 1024px) {
    #Overlay {
        z-index: 9999;
    }
}

/**
 * @subsection  Dialog
 */
.Dialog {
    position: absolute;
    z-index: 6102;
    min-width: 150px;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    border: var(--border-width) var(--border-solid) var(--border-color);
}

@media only screen and (max-width: 1024px) {
    .Dialog {
        z-index: 999999;
    }
}

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

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


@media only screen and (max-width: 1024px) {
    .Dialog.Fullsize {
        height: auto;
        /*top: 50px !important; edited by b on 29/mar/23 - this setting forces the dialog to a position that makes it not immediately visible if the user has scrolled down */
        left: 0;
        right: 0;
        margin: 0 auto;
        max-width: calc(800px - var(--margin-xl));
        width: calc(100% - var(--margin-xl));
    }
}

.Dialog > .Header {
    cursor: move;
    display: flex;
    flex-flow: row;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: auto;
    background: var(--main-bg-color);
    border-bottom: var(--border-width) var(--border-solid) var(--border-color);
    padding: var(--padding-md) var(--padding-lg);
}

.Dialog > .Header .Close {
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-xxs);
}

.Dialog > .Header .Close i {
    color: var(--black);
}

.Dialog > .Header .Close:hover {
    background: var(--icon-hover-color-medium);
}

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

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

.Dialog > .Header h1 {
    margin: 0;
    padding: 0;
    color: var(--black);
    font-weight: var(--medium);
    font-size: var(--font-size-md);
}

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

/*.Dialog.ui-draggable > .Content {
    padding: 0;
}*/

.Dialog > .Content > .InnerContent {
    background: var(--white);
    /*overflow-y: auto;
    overflow-x: auto;*/
    position: relative;
    max-height: unset !important; /* overflow is done in .Content parent, so full height is necessary */
}

/*.Dialog > .Content .InnerContent:not(:only-child) {
    padding: var(--padding-lg);
}*/

#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: var(--main-page-padding);
    display: flex;
    flex-flow: row;
    justify-content: right;
    /*border-top: var(--border-width) var(--border-solid) var(--border-color);*/
}

.Dialog > .Content > .ContentFooter button {
    min-width: var(--btn-max-width-md);
    max-width: var(--btn-max-width-md);
}

.Dialog > .Footer {
    display: flex;
    flex-flow: row;
    justify-content: end;
    padding: var(--padding-xl) var(--padding-xxl);
    background: transparent;
}

.Dialog > .Content + .Footer.SaveButtons {
    border-top: var(--border-width) var(--border-solid) var(--border-color);
}

.Dialog > .Footer.ContentFooter,
.Footer:empty,
.Footer.SaveButtons:empty {
    display: none;
}

/**
 * subsection       Alert
 */

.Dialog.Alert .InnerContent .fa {
    display: block;
    font-size: 25px;
    text-align: center;
    color: var(--warning-color);
    margin-bottom: 10px;
}

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

.Dialog.Alert {
    position: fixed; /* edit by b on 2023/02/22 - this keeps the dialog in view in case the dialog is triggered when the user has scrolled to the bottom of the page */
    width: 450px;
    top: 100px;
    left: 300px;
}

/**
 * subsection   Settings
 */

/*******************************************************/
/*               MODAL SETTINGS             */
/*******************************************************/


.Dialog.modal-sm {
    max-width: 500px;
    width: calc(100% - var(--margin-xl));
}

.Dialog.modal-sm .Content {
    overflow-x: unset;
}

.Dialog.modal-md {
    max-width: 750px;
    width: calc(100% - var(--margin-xl));
}

.Dialog.modal-lg {
    max-width: 850px;
    width: calc(100% - var(--margin-xl));
}

.Dialog.modal-xl {
    width: 80%;
}

.Dialog.modal-fit-content {
    width: fit-content;
}

.Dialog .Content {
    display: flex;
    flex-direction: column;
    padding: var(--padding-lg);
    gap: var(--gap-md);
    max-height: 80vh !important;
    width: auto !important;
    overflow-y: auto;
}



/*.Dialog > .Content:has(.InnerContent):has(.ContentFooter) {
    padding: 0;
    gap: 0;
    min-height: 150px;
}*/

.Dialog .Content:has(.CustomerUserAddressBook) {
    padding: 0;
}

.Dialog .Content fieldset:not(#SearchAttributesHidden):not(.flex-row):not(.Hidden){
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    padding: 0;
    min-width: unset;
    /*overflow-x: hidden;*/

}

.Dialog .Content fieldset .Field {
    padding: 0;
}

.Dialog .Content fieldset .Field.flex-row {
    flex-flow: row;
}

.Dialog .Content .ContentFooter {
    padding: 0;
}
/* end main styles modals - ED 22/09/29 */

/*.Dialog .Content > .InnerContent + .ContentFooter {
    padding: var(--padding-lg) 0;
}*/

/* Search Modals */
.Dialog .Content .modal-search fieldset {
    gap: var(--gap-md);
}

.Dialog .Content .modal-search fieldset .field-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}
/* end Search Modals */


/* modal-article-filter */
fieldset.modal-article-filter .InputField_InputContainer {
    width: 100%;
}

fieldset.modal-article-filter .field-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

/* end modal-article-filter*/


.Dialog fieldset {
    /*margin-bottom: 15px;*/
    padding-bottom: 0;
}

.ticket-modal,
.TableLike .ticket-modal {
    display: flex;
    flex-flow: row;
    justify-content: start;
    align-items: flex-start;
    gap: var(--padding-xs);
    font-size: 14px;
    font-weight: var(--semi-bold);
    color: var(--gray-dark);
    letter-spacing: 0;
    /*padding-bottom: var(--padding-xxl); - parent container has gap */
}

/*.ticket-modal */
.modal-sm .Content > .ContentFooter button {
    /*
    max-width: unset;
    min-width: 100%;
    width: 100%;
    */ /* Changed ED 22/09/29 */
}

.modal-col-wrapper {
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.modal-col-container {
    flex: 1;
    min-width: 100%;
    display: flex;
    gap: var(--padding-md);
}

.modal-col-container.modal-col-wrapper ul > li.Header {
    background: var(--modal-header-bg);
    border-bottom: 0;
}

.Content.modal-col-wrapper,
.Content.modal-col-container {
    gap: var(--gap-md);
    padding: var(--padding-lg);
    flex-flow: row;
}

/*ul#Users,
ul#Groups,
ul#Roles,
ul#CustomerUsers,
ul#Customers,
ul#Group,
ul#AlwaysGroups,
ul#Service*/
.Content.modal-col-wrapper.modal-col-container div > ul {
    border-radius: var(--border-radius-sm);
    background: var(--modal-header-bg);
    overflow: hidden;
}

.Content.modal-col-wrapper.modal-col-container div > ul:not(:only-child):not(:last-child){
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.Content.modal-col-wrapper.modal-col-container div > ul:not(:only-child):last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*ul#Users li,
ul#Groups li,
ul#Roles li,
ul#CustomerUsers li,
ul#Customers li,
ul#Group li,
ul#AlwaysGroups li,
ul#Service li*/
.Content.modal-col-wrapper.modal-col-container > div > ul > li {
    font-weight: var(--normal);
    letter-spacing: .1px;
}

/*ul#Users .Header,
ul#Groups .Header,
ul#Roles .Header,
ul#CustomerUsers .Header,
ul#Customers .Header,
ul#Group .Header,
ul#AlwaysGroups .Header,
ul#Service .Header*/
.Content.modal-col-wrapper.modal-col-container > div > ul > li.Header {
    font-size: var(--font-size-sm);
    font-weight: var(--semi-bold);
    letter-spacing: .8px;
    color: var(--table-text-color);
    background: var(--gray-light-semi);
}

.modal-col1,
.modal-col2 {
    display: flex;
    flex-flow: column;
    border-radius: var(--border-radius-sm);
    max-height: var(--modal-col-max-height);
}

.modal-col1 > .SaveButtons,
.modal-col2 > .SaveButtons {
    padding-top: var(--padding-sm);
    border: 0;
}

.modal-col1 ul:first-child,
.modal-col2 ul:first-child {
    border-bottom: 0;
    border-top-left-radius: var(--border-radius-sm);
    border-top-right-radius: var(--border-radius-sm);
    background: var(--modal-header-bg);
}

.modal-col1 ul:last-child,
.modal-col2 ul:last-child {
    cursor: grab;
    overflow: auto;
    border-top: 0;
    border-bottom-left-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
}

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

/* Moved to ".modal-col1 ul:last-child"
.Dialog .Field.LayoutGrid .AllocationList {
    max-height: 192px;
    overflow: auto;
}*/

/*.Field.LayoutGrid .AllocationList.AvailableFields {*/
    /* This name train is now referred as
    .modal-col1 ul:last-child, .modal-col2 ul:last-child
}*/

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

.FilterInputContainer,
.LayoutGrid .FilterInputContainer {
    overflow: visible;
    padding: var(--padding-md) var(--padding-lg);
    padding-top: 0;
    background: var(--modal-header-bg);
    border-left: var(--border-width) var(--border-solid) var(--border-color);
    border-right: var(--border-width) var(--border-solid) var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.FilterInputContainer > a {
    display: none;
}

.FilterInputContainer i {
    font-size: 14px;
    color: var(--gray-dark-semi);
}

.FilterInputContainer input {
    font-size: var(--font-size-sm);
    color: var(--black);
    background:  var(--white);
    font-weight: var(--medium);
    border-radius: var(--border-radius-sm);
    max-height: var(--max-input-field-height);
}

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

.activity-dialog-footer {
    display: flex;
    flex-flow: column;
    width: 100%;
    align-items: flex-end;
}

.Dialog.Modal > .Content > .InnerContent > .FieldOverlay.CalendarEventsOverlay {
    word-break: break-word;
}

.Dialog.Modal > .Content > .InnerContent > .FieldOverlay.CalendarEventsOverlay fieldset img {
    max-width: 100%;
    max-height: 600px;
}

/**
 * @subsection  Image Picker Dialog
 */

.cke_dialog_container .cke_dialog {
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    max-width: 400px;
    width: 100%;
}

.cke_dialog_container .cke_dialog tbody tr td {
    padding: 0;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents_body .cke_dialog_ui_text,
.cke_dialog_container .cke_dialog .cke_dialog_contents_body .cke_dialog_ui_select,
.cke_dialog_container .cke_dialog .cke_dialog_contents_body .cke_dialog_ui_hbox_last > a.cke_dialog_ui_button {
    margin-top: 0;
}

/* Title */
.cke_dialog_container .cke_dialog .cke_dialog_title {
    padding: var(--padding-md);
    font-size: var(--main-font-size);
}

/* Tabs */
.cke_dialog_container .cke_dialog .cke_dialog_tabs {
    height: unset;
    display: inline-block;
    margin: 0;
    position: relative;
    z-index: 2;
    left: unset;
    width: 100%;
    border-bottom: var(--border-width) var(--border-solid) var(--border-color);
    padding: var(--padding-xs) var(--padding-sm);
}

.cke_dialog_container .cke_dialog .cke_dialog_tabs a.cke_dialog_tab {
    height: auto;
    display: inline-block;
    cursor: pointer;
    line-height: 100%;
    outline: 0;
    border: 0;
    background: transparent;
    min-width: 90px;
    text-align: center;
    margin-left: -1px;
    letter-spacing: .3px;

    padding: var(--padding-sm) var(--padding-md);
    color: var(--main-font-color);
    font-size: var(--main-font-size);
    transition: var(--main-transition);
    border-radius: var(--border-radius-xxs);
}

.cke_dialog_container .cke_dialog .cke_dialog_tabs a.cke_dialog_tab:hover {
    background-color: var(--gray-light-semi);
}

/* Selected Tab */
.cke_dialog_container .cke_dialog .cke_dialog_tabs a.cke_dialog_tab_selected {
    background: none;
    position: relative;
    border-bottom-color: none;
    cursor: default;
    filter: none;
    font-weight: var(--bold);
}

.cke_dialog_container .cke_dialog .cke_dialog_tabs a.cke_dialog_tab_selected:hover {
    pointer-events: none;
    background-color: transparent;
}

.cke_dialog_container .cke_dialog .cke_dialog_tabs a.cke_dialog_tab_selected::after {
    content: "";
    position: absolute;
    width: 100%;
    background-color: var(--black);
    height: 2px;
    left: 0;
    bottom: -5px;
}

/*  ### IMAGE INFO TAB ### */
/* Fields */
.cke_dialog_container .cke_dialog .cke_dialog_contents {
    background-color: transparent;
    overflow: auto;
    padding: 0;
    margin-top: 0;
    border-top: none;
    width: 100%;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_contents_body {
    padding: var(--padding-xs) 0;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents input.cke_dialog_ui_input_text,
.cke_dialog_container .cke_dialog .cke_dialog_contents textarea.cke_dialog_ui_input_textarea {
    background-color: var(--white);
    outline: none;
    width: 100%;
    min-height: auto;
    margin-left: 0;
    border: var(--border-width) var(--border-solid) var(--border-input-color);
    border-radius: var(--border-radius-sm) !important;
    padding: var(--padding-xs) var(--padding-sm);
}

.cke_dialog_container .cke_dialog .cke_dialog_contents table .cke_dialog_ui_vbox_child {
    padding: var(--padding-sm) var(--padding-md);
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_hbox_first,
.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_hbox_child {
    padding-right: var(--padding-sm);
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_input_text {
    width: 100% !important;
}

/* Icons Btns */
.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_html {
    display: flex;
    gap: var(--gap-xs);
    width: auto !important;
    height: auto !important;
    margin-top: 24px !important;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_locked,
.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_unlocked,
.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_reset {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    width: var(--icon-hover-size);
    height: var(--icon-hover-size);
    min-height: 0 !important;
    border-radius: var(--border-radius-xs);
    transition: var(--main-transition);
    border: none;
    margin: 0;
    background-position: center;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_locked:hover,
.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_unlocked:hover,
.cke_dialog_container .cke_dialog .cke_dialog_contents a.cke_btn_reset:hover {
    cursor: pointer;
    background-color: var(--icon-hover-color-light);
}

/* Radios */
.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_radio_input {
    float: left;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_radio_input:focus {
    outline-color: var(--black);
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_hbox label {
    padding-left: var(--padding-xs);
    height: 20px;
    display: table-cell;
    vertical-align: middle
}

/* Checkbox */
.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_checkbox input {
    float: left;
}

.cke_dialog_container .cke_dialog .cke_dialog_contents .cke_dialog_ui_checkbox label {
    height: 18px;
    display: table-cell;
    vertical-align: middle;
    padding-left: var(--padding-xs);
}

/* Footer */
.cke_dialog_container .cke_dialog .cke_dialog_footer {
    padding: var(--padding-md);
    background: transparent;
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons {
    margin: 0;
    width: 100%;
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button {
    width: 100%;
    min-height: var(--btn-min-height);
    border: none;
    border-radius: var(--border-radius-sm);
    line-height: var(--btn-min-height);
    font-weight: var(--semi-bold);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--main-transition);
    padding: 0 var(--padding-md);
    text-align: center;
    font-size: var(--font-size-sm);
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_cancel {
    color: var(--btn-cancel-ghost-text);
    background: transparent;
    margin-right: var(--margin-sm);
    border: var(--border-width) var(--border-solid) var(--border-color);
    max-width: var(--btn-max-width-md);
}
.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_cancel:hover {
    color: var(--btn-cancel-ghost-text);
    background: var(--btn-cancel-ghost-bg-hover);
    border: var(--border-width) var(--border-solid) var(--border-color);
    cursor: pointer;
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_cancel span {
    color: var(--btn-cancel-ghost-text);
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_ok {
    color: var(--btn-primary-text);
    background: var(--primary-color);
    border: var(--border-width) var(--border-solid) var(--primary-color);
    max-width: var(--btn-max-width-md);
    float: right;
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_ok:hover {
    color: var(--btn-primary-text-hover);
    background: var(--primary-color-darker);
    border: var(--border-width) var(--border-solid) var(--primary-color-darker);
    cursor: pointer;
}

.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_dialog_footer_buttons .cke_dialog_ui_button_ok span {
    color: var(--btn-primary-text);
}

/* Resizer */
.cke_dialog_container .cke_dialog .cke_dialog_footer .cke_resizer {
    display: none;
}

/*  ### UPLOAD TAB ### */
.cke_dialog_container .cke_dialog .cke_dialog_ui_file {
    height: auto !important;
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_file .cke_dialog_ui_labeled_content.cke_dialog_ui_input_file {
    border: var(--border-width) var(--border-solid) var(--border-color);
    border-radius: var(--border-radius-sm);
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_input_file input {
    padding: var(--padding-md);
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_fileButton {
    width: 100%;
    max-width: var(--btn-max-width-md);
    min-height: var(--btn-min-height);
    border: var(--border-width) var(--border-solid) var(--primary-color);
    border-radius: var(--border-radius-sm);
    line-height: var(--btn-min-height);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--main-transition);
    padding: 0 var(--padding-md);
    text-align: center;
    font-size: var(--font-size-sm);
    background: transparent;
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_fileButton span {
    color: var(--black);
    font-weight: var(--semi-bold);
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_fileButton:hover {
    background: var(--primary-color);
}

.cke_dialog_container .cke_dialog .cke_dialog_ui_fileButton:hover span {
    color: var(--white);
}

/**
 * @subsubsection     Deployment
 */

.Dialog .Overlay {
    display: none;
    background: #fff;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.Dialog .Overlay.Preparing {
    display: block;
}

.Dialog .Overlay span {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    height: 15px;
}

.Dialog .Overlay em {
    font-style: normal;
    line-height: 140%;
    max-width: 80%;
    display: block;
    margin: 0px auto;
}

.Dialog .Overlay span i {
    position: absolute;
    margin-left: -6px;
    left: 50%;
    display: none;
}

.Dialog .Overlay.Preparing span i.Active {
    display: block;
}

.Dialog .Overlay span i.Success {
    color: green;
}

.Dialog .Overlay span i.Error {
    color: red;
}

#DialogDeployment,
#DialogQuickDeploy {
    min-height: 80px;
}

#DialogDeployment > p,
#DialogQuickDeploy > p {
    margin-bottom: 10px;
}

#DialogDeployment + .ContentFooter .ButtonsRegular,
#DialogDeployment + .ContentFooter .ButtonsFinish,
#DialogDeployment + .ContentFooter .ButtonsTryAgain,
#DialogQuickDeploy + .ContentFooter .ButtonsRegular,
#DialogQuickDeploy + .ContentFooter .ButtonsFinish,
#DialogQuickDeploy + .ContentFooter .ButtonsTryAgain {
    display: none;
    gap: var(--padding-lg);
}


} /* end @media */
