﻿/*------------------------------------------------------------------------------
此文件定义插件通用样式。
--------------------------------------------------------------------------------*/

.panel-body,
.tree-title,
.l-btn-text,
.textbox .textbox-text,
.tabs-title,
.datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber,
.combobox-item, .combobox-group, .combobox-stick,
.datagrid-header .datagrid-cell span,
.panel-title,
#piSummary .form-table {
    font-size: var(--main-font-size);
    font-family: 'Calibri', 'Microsoft YaHei', Verdana, Helvetica, Sans-Serif;
}

.l-btn {
    min-width: 60px;
}

.m-btn-active,
.m-btn-plain-active,
.s-btn-active,
.s-btn-plain-active {
    background: transparent;
}


.navbars-container {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    border-style: solid;
    padding: 0px;
    background-color: #E0ECFF;
}

.navbars-plain {
    border: 0;
    background: transparent;
}

.navbars-noborder {
    border: 0;
}

.navbars-scroller-left,
.navbars-scroller-right {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 18px;
    font-size: 1px;
    display: none;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    z-index: 9000;
}

/*.navbars-scroller-left 
{
  left: 0;
  border-left-width : 0px;
  background: #E0ECFF url('images/navbars_icons.png') no-repeat 1px center;
}
.navbars-scroller-right {
  right: 0;
  border-right-width : 1px;
  background: #E0ECFF url('images/navbars_icons.png') no-repeat -15px center;
}*/

.navbars-scroller-over {
    background-color: #eaf2ff;
}

.navbars-scroller-disabled {
    filter: alpha(opacity=40);
    opacity: 0.4;
}

.navbars-wrap {
    position: relative;
    overflow: hidden;
    left: 0;
    /*width: 100%;*/
    border-width: 0;
    border-style: solid;
    margin: 0;
    padding: 0;
}

.navbars {
    list-style-type: none;
    border-width: 0;
    border-style: solid;
    margin: 0;
    padding: 2px;
    width: 5000px;
}

    .navbars li.navbar {
        float: left;
        position: relative;
        overflow: hidden;
        left: 0;
        display: inline-block;
        margin: 2px;
        padding: 0;
        border-width: 0px;
        border-style: solid;
    }

        .navbars li.navbar a.navbar-inner {
            display: inline-block;
            text-decoration: none;
            margin: 0;
            padding: 0 10px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            vertical-align: middle;
            white-space: nowrap;
            border-width: 1px;
            border-style: solid;
            -moz-border-radius: 5px 5px 5px 5px;
            -webkit-border-radius: 5px 5px 5px 5px;
            border-radius: 5px 5px 5px 5px;
        }

            .navbars li.navbar a.navbar-inner div {
                display: inline-block;
                line-height: 25px;
                vertical-align: middle;
            }

                .navbars li.navbar a.navbar-inner div span.navbar-icon {
                    display: inline-block;
                    width: 32px;
                    height: 32px;
                    line-height: 32px;
                    vertical-align: middle;
                }

                .navbars li.navbar a.navbar-inner div span.navbar-title {
                    display: inline-block;
                    vertical-align: middle;
                }

        .navbars li.navbar a.navbar-inner {
            color: #0E2D5F;
            background-color: #E0ECFF;
            background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
            background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
            background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
            background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%);
            background-repeat: repeat-x;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0);
        }

            .navbars li.navbar a.navbar-inner:hover {
                background-color: #ffffff;
                color: #0E2D5F;
                background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
                background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
                background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
                background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%);
                background-repeat: repeat-x;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0);
            }

    .navbars li.navbar-selected a.navbar-inner,
    .navbars li.navbar-selected a.navbar-inner:hover {
        font-weight: bold;
        outline: none;
        background-color: #ffffff;
        color: #0E2D5F;
        background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
        background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
        background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%);
        background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0);
    }

    .navbars li.navbar-disabled,
    .navbars li.navbar-disabled a.navbar-inner,
    .navbars li.navbar-disabled a.navbar-inner:hover {
        color: #0E2D5F;
        background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
        background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
        background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%);
        background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%);
        filter: alpha(opacity=40);
        opacity: 0.4;
    }

    .navbars li.navbar a:hover.navbar-inner {
        cursor: default;
        pointer: default;
    }

    .navbars-container,
    .navbars,
    .navbars li.navbar,
    .navbars li.navbar a.navbar-inner,
    .navbars li.navbar-selected,
    .navbars li.navbar-selected a.navbar-inner,
    .navbars li.navbar-disabled a.navbar-inner,
    .navbars-scroller-left,
    .navbars-scroller-right {
        border-color: #95B8E7;
    }

/*------------------------------------------------------------------------------
popupSelector
--------------------------------------------------------------------------------*/
.popupSelector {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    border-width: 1px;
    border-style: solid;
    vertical-align: middle;
}

    .popupSelector .popupSelector-text {
        font-size: var(--main-font-size);
        border: 0;
        margin: 0;
        padding: 0;
        line-height: 20px;
        height: 20px;
        *margin-top: -1px;
        *height: 18px;
        *line-height: 18px;
        _height: 18px;
        _line-height: 18px;
        vertical-align: baseline;
    }

    .popupSelector .popupSelector-prompt {
        font-size: var(--main-font-size);
        color: #ccc;
    }

.popupSelector-button {
    width: 18px;
    height: 20px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.popupSelector-button-hover {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.popupSelector-button {
    background: url('images/popupSelector_button.png') no-repeat center center;
}

.popupSelector {
    /*border-color: #95B8E7;*/
    background-color: #fff;
}



/*------------------------------------------------------------------------------
uploadify
--------------------------------------------------------------------------------*/
.uploadify {
    position: relative;
    float: left;
    /* 	margin-bottom: 1em; */
}

.uploadify-queue {
    width: 100%;
    /* 定义最大高度，当高度小于100时自动增加，高度大于100后显示scrollbar */
    /*max-height:100px;*/
    float: left;
    overflow: auto;
}

.uploadify-queue-item {
    background-color: #F5F5F5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font: 11px Verdana, Geneva, sans-serif;
    max-width: 350px;
}

.uploadify-error {
    background-color: #FDE5DD !important;
}

.uploadify-queue-item .uploadify-cancel a {
    background: url('images/uploadify_cancel.png') 0 0 no-repeat;
    float: left;
    height: 16px;
    text-indent: -9999px;
    width: 16px;
}

.uploadify-queue-item.uploadify-completed {
    background-color: #E5E5E5;
}

.uploadify-progress {
    border: 1px solid #9CC0FF;
    margin-top: 1px;
    padding: 1px;
    width: 124px;
    height: 12px;
    float: left;
}

.uploadify-progress-bar {
    background-color: #0099FF;
    height: 12px;
    width: 1px;
}

.uploadify-btn-delete {
    background: url('images/uploadify_cancel.png') 0 0 no-repeat;
    height: 16px;
    float: left;
    text-indent: -9999px;
    width: 16px;
}

.uploadify-attachmentName {
    float: left;
}

.uploadify-cancel {
    float: left;
}

.uploadify-attachmentIcon {
    height: 18px;
    width: 18px;
    float: left;
    background: url('images/uploadify_item_gray.png');
    background-size: 18px 18px;
    background-repeat: no-repeat;
}

.uploadify-fileName:hover .uploadify-attachmentIcon {
    height: 18px;
    width: 18px;
    float: left;
    background: url('images/uploadify_item_black.png');
    background-size: 18px 18px;
    background-repeat: no-repeat;
}

.uploadify-loading {
    height: 18px;
    width: 18px;
    float: left;
    background: url('images/loading.gif');
    background-size: 18px 18px;
    background-repeat: no-repeat;
}

/* 正在上传的文件的样式 */
.uploadify-uploadingItem {
    float: left;
    clear: left;
    width: 100%;
    line-height: 1.5;
}
/* 每个上传文件的div的样式 */
.uploadify-uploadedItem {
    float: left;
    clear: left;
    line-height: 1.5;
}

.uploadify-uploadedItem-vertical {
    float: left;
    clear: left;
    line-height: 1.5;
}

.uploadify-uploadedItem-horizontal {
    float: left;
    line-height: 1.5;
}

/* 上传完成时显示进度百分比 */
.uploadify-dataComplete {
    float: left;
    height: 18px;
    line-height: 18px;
    padding-right: 10px;
}

.uploadify-fileItem {
    clear: left;
    float: left;
    margin: 3px 0;
}

.uploadify-queue-item {
    float: left;
}
/* 显示文件名的样式 */
.uploadify-fileName {
    /*height:22px;*/
    float: left;
    padding: 2px;
}

.uploadify-button.witui-filepanel {
    height: 19px;
    line-height: 31px;
    font-size: var(--main-font-size);
    padding: 0px;
    vertical-align: middle;
    text-align: center;
    margin-top: 1px;
}

.uploadify-button.witui-filebox {
    text-decoration: none;
    display: inline-block;
    margin: 0;
    padding: 2px 0px;
    cursor: pointer;
    outline: none;
    text-align: center;
    vertical-align: middle;
    color: #444;
    background: #fafafa;
    background-repeat: repeat-x;
    border: 1px solid #bbb;
    background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%);
    background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%);
    background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%);
    background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0);
}

.witui-filepanel {
    height: 15px;
    margin: 5px 0;
}

.witui-filebox {
    width: 100%;
    height: 22px;
}

.witui-filepanel.uploadify-button span {
    color: #0000FF;
}

.witui-filepanel.uploadify-button.disabled span {
    color: #A1A1A1;
}

.uploadify input[type="file"] {
    cursor: pointer;
}



/*------------------------------------------------------------------------------
menu
--------------------------------------------------------------------------------*/
.em-left {
    display: none;
    border-width: 7px;
    position: absolute;
    right: -1px;
    top: 23px;
    font-size: 0px;
    line-height: 0;
    border-style: dashed solid dashed dashed;
    border-color: transparent #e9e9e9 transparent transparent;
    z-index: 20000;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
    zoom: 1;
}

.radius-up {
    border-radius: 0px 0px 6px 6px;
    -webkit-border-radius: 0px 0px 6px 6px;
    -moz-border-radius: 0px 0px 6px 6px;
}

.radius-down {
    border-radius: 6px 6px 0px 0px;
    -webkit-border-radius: 6px 6px 0px 0px;
    -moz-border-radius: 6px 6px 0px 0px;
}

div.dl_menu {
    height: auto;
    background-color: #e5e5e5;
    position: relative;
}

    div.dl_menu > div.navigater {
        height: 30px;
        width: 100%;
        text-align: right;
        border-top: 1px solid #bfc2c8;
        border-bottom: 1px solid #ededed;
        overflow: hidden;
        position: absolute;
        top: 0px;
    }

        div.dl_menu > div.navigater > span {
            display: inline-block;
            line-height: 30px;
            height: 100%;
            padding: 0px 20px 0px 10px;
            margin-right: 6px;
            font-size: var(--main-font-size);
            cursor: pointer;
            background-position: right center;
        }

            div.dl_menu > div.navigater > span:hover {
                color: #005bac;
            }

    div.dl_menu > div.menuBlock {
        width: 100%;
        position: absolute;
        overflow: hidden;
    }

        div.dl_menu > div.menuBlock > ul.menuUl {
            display: block;
            width: 100%;
            margin: 0px;
            padding: 0px;
            position: absolute;
            border-top: 1px solid #c0c0c0;
        }

            div.dl_menu > div.menuBlock > ul.menuUl > li {
                height: 50px;
                line-height: 50px;
                width: 100%;
                /*border-top: 1px solid #bfc2c8;*/
                border-bottom: 1px solid #c0c0c0;
                position: relative;
            }

                div.dl_menu > div.menuBlock > ul.menuUl > li > div.menuBlock {
                    /*position: relative;*/
                    /*overflow: hidden;*/
                }

                div.dl_menu > div.menuBlock > ul.menuUl > li.selected > a {
                    color: #fff;
                }

                div.dl_menu > div.menuBlock > ul.menuUl > li > a {
                    display: block;
                    height: 100%;
                    width: 100%;
                    color: #333;
                }

                    div.dl_menu > div.menuBlock > ul.menuUl > li > a:hover {
                        color: #fff;
                    }

                    div.dl_menu > div.menuBlock > ul.menuUl > li > a > div.icon {
                        height: 50px;
                        width: 60px;
                        display: block;
                        float: left;
                        background-size: 48px 48px;
                    }

                    div.dl_menu > div.menuBlock > ul.menuUl > li > a > div.title {
                        display: block;
                        float: left;
                        height: 30px;
                        line-height: 30px;
                        margin: 10px 0px;
                        padding: 0px 15px;
                        border-left: 1px solid #6C757E;
                        font-size: 14px;
                    }

                div.dl_menu > div.menuBlock > ul.menuUl > li ul {
                    display: block;
                    width: 100%;
                    margin: 0px;
                    padding: 0px;
                    position: absolute;
                    top: -1px;
                    background-color: #a2a8b0;
                    list-style: none;
                    border-left: 1px solid #8b9197;
                    border-right: 1px solid #8b9197;
                    visibility: hidden;
                }

                    div.dl_menu > div.menuBlock > ul.menuUl > li ul > li {
                        height: 28px;
                        line-height: 28px;
                        border-top: 1px solid #bfc2c8;
                        border-bottom: 1px solid #8b9197;
                        position: relative;
                    }

                        div.dl_menu > div.menuBlock > ul.menuUl > li ul > li > a {
                            display: block;
                            height: 100%;
                            width: 100%;
                            color: #333;
                            overflow: hidden;
                        }

                            div.dl_menu > div.menuBlock > ul.menuUl > li ul > li > a:hover {
                                color: #fff;
                            }

                            div.dl_menu > div.menuBlock > ul.menuUl > li ul > li > a > div.icon {
                                height: 28px;
                                width: 30px;
                                display: block;
                                float: left;
                                background-size: 24px 24px;
                            }

                            div.dl_menu > div.menuBlock > ul.menuUl > li ul > li > a > div.title {
                                display: block;
                                float: left;
                                height: 20px;
                                line-height: 20px;
                                margin: 4px 0px;
                                padding: 0px 20px 0px 15px;
                                border-left: 1px solid #6C757E;
                                font-size: var(--main-font-size);
                                overflow: hidden;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                                background-position: right center;
                            }

                div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock {
                    display: block;
                    position: absolute;
                    top: -1px;
                    background-color: #fff;
                    padding: 10px;
                    overflow: hidden;
                    border: 1px solid #8b9197;
                    background-color: #e9e9e9;
                    visibility: hidden;
                }

                    div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg {
                        position: absolute;
                        overflow: hidden;
                        width: 100%;
                        height: 100%;
                    }

                        div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock {
                            position: absolute;
                        }

                            div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout {
                                display: block;
                                overflow: hidden;
                                border-bottom: 1px dashed #8b9197;
                            }

                                div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout:last-child {
                                    border-bottom: none;
                                }

                                div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.title {
                                    display: block;
                                    height: 60px;
                                    float: left;
                                    line-height: 1.5em;
                                }

                                    div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.title > a {
                                        display: block;
                                        margin: 6px 10px 6px 0px;
                                        padding: 4px 0px;
                                        color: #525252;
                                        font-weight: bold;
                                        text-indent: 25px;
                                        background-size: 24px 24px;
                                        background-position: 2px 0px;
                                        border-radius: 4px 4px 4px 4px;
                                        -webkit-border-radius: 4px 4px 4px 4px;
                                        -moz-border-radius: 4px 4px 4px 4px;
                                        overflow: hidden;
                                        white-space: nowrap;
                                        text-overflow: ellipsis;
                                    }

                                        div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.title > a:hover {
                                            background-color: #56A4F6;
                                            color: #000;
                                        }

                                div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.item {
                                    display: block;
                                    margin: 5px 0px;
                                    padding: 0px 10px;
                                    float: left;
                                    min-height: 30px;
                                    border-left: 1px solid #8b9197;
                                }

                                    div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.item > a {
                                        display: inline-block;
                                        padding: 4px 10px;
                                        line-height: 1.5em;
                                        float: left;
                                        color: #333;
                                        width: auto; /* auto 三级菜单自动布局 */
                                        overflow: hidden;
                                        white-space: nowrap;
                                        text-overflow: ellipsis;
                                        text-indent: 15px;
                                        background-size: 16px 16px;
                                        background-position: 5px center;
                                        border-radius: 4px 4px 4px 4px;
                                        -webkit-border-radius: 4px 4px 4px 4px;
                                        -moz-border-radius: 4px 4px 4px 4px;
                                    }

                                        div.dl_menu > div.menuBlock > ul.menuUl > li div.menuItemBlock > div.secoundBg > div.secoundBlock > div.secondLayout > div.item > a:hover {
                                            /*color: #005bac;*/
                                            background-color: #56A4F6;
                                            color: #fff;
                                        }

    div.dl_menu div.moveBar {
        display: block;
        height: 25px;
        width: 100%;
        text-align: right;
        border-top: 1px solid #bfc2c8;
        border-bottom: 1px solid #8b9197;
        overflow: hidden;
        cursor: pointer;
        position: absolute;
    }

        div.dl_menu div.moveBar:hover {
            background-color: #6C757E;
        }

    div.dl_menu div.moveSubBar {
        display: block;
        height: 25px;
        width: 100%;
        text-align: right;
        border-top: 1px solid transparent;
        border-bottom: 1px solid transparent;
        overflow: hidden;
        cursor: pointer;
        /*background-color: #a2a8b0;*/
        position: absolute;
    }

        div.dl_menu div.moveSubBar:hover {
            background-color: #a2a8b0;
        }

.datagrid-cell .l-btn-small {
    height: 22px;
    line-height: 22px;
}
