/**
 * @project     OTRS (http://www.otrs.org) - Customer Frontend
 * @copyright   OTRS AG
 * @license     AGPL (http://www.gnu.org/licenses/agpl.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;
    -webkit-box-shadow: 2px 2px 5px #000;
    box-shadow: 2px 2px 5px #000;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.Dialog > .Header {
    height: 25px;
    cursor: move;
    display: block;
    position: relative;
    height: 25px;
    background: #999999;
    background: -moz-linear-gradient(top,  #f2f2f2 0%, #999999 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#999999));
    background: -webkit-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -o-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -ms-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: linear-gradient(to bottom,  #f2f2f2 0%,#999999 100%);
    border-bottom: 1px solid #CCC;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

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

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

.Dialog > .Content {
    overflow: hidden;
}

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

.Dialog > .Content > .ContentFooter {
    padding: 6px 0 5px;
    background: #999999;
    background: -moz-linear-gradient(top,  #f2f2f2 0%, #999999 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#999999));
    background: -webkit-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -o-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -ms-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: linear-gradient(to bottom,  #f2f2f2 0%,#999999 100%);
    min-height: 20px;
    border-top: 1px solid #CCC;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.Dialog > .Footer {
    padding: 6px 0 5px;
    display: block;
    position: relative;
    background: #999999;
    background: -moz-linear-gradient(top,  #f2f2f2 0%, #999999 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#999999));
    background: -webkit-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -o-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: -ms-linear-gradient(top,  #f2f2f2 0%,#999999 100%);
    background: linear-gradient(to bottom,  #f2f2f2 0%,#999999 100%);
    border-top: 1px solid #CCC;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
    
.Dialog > .Footer.ContentFooter {
    display: none;
}

/**
 * subsection       Alert
 */

.Dialog.Alert span.Icon {
    display: block;
    width: 22px;
    height: 35px;
    float: left;
    background: url(../img/dialog_alert.png) no-repeat;
}

.Dialog.Alert h2,
.Dialog.Alert p {
    margin-left: 35px;
}

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

/**
 * subsection       Search
 */

.Dialog.Search {
    width: 550px;
}


} /* end @media */