﻿/*
=============================================
 Author:	wn
 Create date: 	2018-06-05
 Description:	通用工具——div弹出对话框
==========修改记录===========================
 ============================================
*/
/*通用弹出对话框**************************/
.program_dialog_box {
    position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

    .program_dialog_box * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

.program_dialog_iframe {
    z-index: 0;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    *filter: alpha(opacity=0);
}

.program_dialog_bg {
    z-index: 10;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.program_dialog_bg_none {
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.25;
    filter: alpha(opacity=25);
}

.program_dialog {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 !important;
    z-index: 100;
    border-radius: 3px;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.2);
    max-width: 100%;
    max-height: 100%;
}

    .program_dialog .divrightbg {
        display: none;
        visibility: hidden;
    }

    .program_dialog .divcontbg {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

/*弹出对话框底部***********/
.program_dialog_bottom {
    display: none;
    visibility: hidden;
}
/*弹出对话框内容************/
.program_dialog_cont {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
    border-radius: 0 0 3px 3px;
}

    .program_dialog_cont > .divcontbg {
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

.program_dialog_scroll {
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}
/*弹出对话框头部************/
.program_dialog_top {
    border-radius: 3px 3px 0 0;
    width: 100%;
    clear: both;
    overflow: hidden;
    position: relative !important;
    height: 32px !important;
    height: 32px;
    line-height: 32px;
    background: #487ec2;
    color: #fff;
}

    .program_dialog_top .tit {
        width: 75%;
        vertical-align: middle;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-overflow: ellipsis;
        padding: 0 10px;
        margin: 0;
        line-height: inherit;
        color: inherit;
        font-weight: 500;
    }

    .program_dialog_top b {
        font-weight: 500;
    }

    .program_dialog_top .right {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
        width: auto;
        height: 100%;
        display: block;
        line-height: inherit;
    }

        .program_dialog_top .right b {
            background-image: none;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            display: block;
            width: 40px;
            height: 32px;
            cursor: pointer;
            float: right;
            border-color: #fff;
            position: relative;
            text-align: center;
            color: inherit;
            opacity: 1;
            filter: alpha(opacity=100);
            line-height: 32px;
        }

            .program_dialog_top .right b:hover {
                background-color: rgba(0,0,0,0.15);
            }

/*.program_dialog_top b {
        font-family: 'buttonIco' !important;
    }

.program_dialog .close:before {
    content: "\e9e7";
}

.program_dialog .max:before {
    content: "\e9e8";
}


.program_dialog .revert:before {
    content: "\e9ea";
}

.program_dialog .mini:before {
    content: "\e9e9";
}*/

.lz-dialog-mini {
    position: absolute;
    left: 50px;
    right: auto;
    top: calc(100% - 50px);
    background: rgba(40,45,50,0.72);
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    font-size: 12px;
    color:#fff;
}

    .lz-dialog-mini .mini-cell-view {
        display: inline-flex;
        padding: 5px 12px;
        position: relative;
        line-height: 20px;
        height: 30px;
        cursor: pointer;
    }

        .lz-dialog-mini .mini-cell-view + .mini-cell-view:before {
            content: "";
            left: -1px;
            position: absolute;
            top: 0;
            bottom: 0;
            border-left: 1px solid rgba(255,255,255,0.2);
            border-right: 1px solid rgba(0,0,0,0.1);
        }

.mini-cell-view > .lz-ellipsis {
    max-width: 200px;
}

.mini-cell-view > .close {
    display: inline-block;
    z-index: 9;
    font-size: 16px;
    line-height: 1;
    position: absolute;
    top: -8px;
    right: -10px;
    background: #df4545;
    border-radius: 150%;
    opacity: 1;
    padding: 0 2px;
    color: #fff;
    text-shadow: none;
    visibility: hidden;
}

.mini-cell-view:hover > .close {
    visibility: visible;
}
/*通用弹出对话框******侧边栏模式展示********************/
.lz-dialog-sidebar .program_dialog {
    left: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    height: auto !important;
    border-radius: 0;
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: column;
}

.lz-dialog-sidebar .program_dialog_top {
    border-radius: 0;
}

.lz-dialog-sidebar .program_dialog_bg {
    opacity: 0.3;
}

.lz-dialog-sidebar .program_dialog_cont {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    -ms-flex: 1;
    vertical-align: top;
    overflow: hidden;
    width: 100%;
}

.lz-dialog-sidebar.dialog-xs .program_dialog {
    width: 33.3%;
    max-width: 640px;
}

.lz-dialog-sidebar.dialog-sm > .dialog-container {
    max-width: 1200px;
    width: 50%;
}

.lz-dialog-sidebar.dialog-md > .dialog-container {
    width: 90%;
    max-width: calc(100% - 220px);
}

.lz-dialog-sidebar.dialog-lg > .dialog-container {
    width: 100%;
    max-width: 100%;
}



/*弹出层无遮罩*/
.program_dialog_box.nobackdrop .program_dialog_bg {
    visibility: hidden;
    display:none;
}
.program_dialog_box.nobackdrop {
    position: unset !important;
    display: inline-block;
    width: auto !important;
    height: auto !important;
}