﻿/*
=============================================
 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);
}

    .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;
        font-size: 0;
        -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: 1;
            position: relative;
        }

            .program_dialog_top .right b:hover {
                background-color: rgba(0,0,0,0.15);
            }

    .program_dialog_top b:before,
    .program_dialog .revert:after {
        position: absolute;
        top: 50%;
        left: 50%;
        display: inline-block;
        vertical-align: middle;
    }

.program_dialog .close:before {
    margin-top: -9px;
    margin-left: -9px;
    content: "×";
    font-size: 16px;
    height: 18px;
    width: 18px;
    text-align: center;
    line-height: 18px;
    font-weight: 900;
    font-family: "宋体";
}

.program_dialog .max:before {
    margin-top: -6px;
    margin-left: -5px;
    content: "";
    width: 10px;
    height: 9px;
    border: 1px solid transparent;
    border-color: inherit;
}


.program_dialog .revert:before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid transparent;
    border-color: inherit;
    margin-top: -4px;
    margin-left: -4px;
}

.program_dialog .revert:after {
    content: "";
    margin-top: -6px;
    margin-left: -1px;
    width: 8px;
    height: 8px;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-right: 1px solid transparent;
    border-color: inherit;
}

/*.program_dialog .close,
.program_dialog .close_hover {
    background-position: 0 center;
}

.program_dialog .max,
.program_dialog .max_hover {
    background-position: -32px center;
}

.program_dialog .revert,
.program_dialog .revert_hover {
    background-position: -64px center;
}*/
