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

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

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

.Dialog > .Header .Close {
    display: block;
    position: absolute;
    height: 12px;
    width: 12px;
    right: 8px;
    top: 50%;
    margin-top: -6px;
    color: #000;
}

.Dialog > .Header h1 {
    padding: 10px;
    font-size: 12px;
}

.Dialog > .Content {
    overflow: hidden;
    padding: 5px;
}

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

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

.Dialog > .Content > .ContentFooter button + button {
    margin-left: 5px;
}

.Dialog > .Footer {
    padding: 6px 0 5px;
    display: block;
    position: relative;
    background: #ddd;
    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;
}

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

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

/**
 * subsection       Search
 */

.Dialog.Search {
    width: 550px;
}


} /* end @media */
