﻿
/*防止不同浏览器默认内外边距不同，统一先设0*/
* {
    padding: 0;
    margin: 0;
}
/*为控件元素设置同一的宽高计算模式，均为从border开始计算*/
input, select, textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*阻止文本区域可更改大小*/
textarea {
    resize: none;
    overflow: auto;
}

/*对于easyui的文本框大小计算错误修复*/
.textbox-text {
    box-sizing: content-box;
}

/*设置全局字体*/
body, input, textarea {
    font-family: 'Microsoft YaHei Light','Microsoft YaHei','Microsoft Sans Serif' !important;
}

.ui-widget {
    font-family: 'Microsoft YaHei Light','Microsoft YaHei','Microsoft Sans Serif' !important;
}

body {
    font-size: 14px;
    width: 100%;
    padding: 0;
}

table {
    font-size: 14px;
}

html {
    width: 100%;
}

/*防止老浏览器图片显示边框*/
img {
    border: 0;
}

/*从边框起计算元素宽度*/
.com_border_box {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*页面允许的最小的尺寸*/
.com_screen_size_min {
    min-width: 1024px;
    min-height: 570px;
}
/*清除左右div*/
.com_clear {
    clear: both;
}
/*高度自适应*/
.com_fill_height {
    height: 100%;
    overflow: hidden;
}
/*宽度自适应*/
.com_fill_width {
    width: 100%;
    overflow: hidden;
}
/*元素溢出时不显示滚动条*/
.com_overflow_hidden {
    overflow: hidden;
}
/*元素溢出时显示滚动条*/
.com_overflow_scroll {
    overflow: auto;
}
/*元素溢出时只显示上下滚动条*/
.com_overflow_scroll_only_y {
    overflow-y: auto;
    overflow-x: hidden;
}
/*元素溢出时只显示左右滚动条*/
.com_overflow_scroll_only_x {
    overflow-x: auto;
    overflow-y: hidden;
}
/*手形光标*/
.com_cursor_pointer {
    cursor: pointer;
}
/*检查边界样式*/
.com_border_check {
    border: 1px solid red;
    box-sizing: border-box;
}
/*无边框表格*/
.com_table_no_border {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}
/*无样式ul列表*/
.com_ul_no_style {
    list-style-type: none;
    list-style: none;
}
/*隐藏元素的样式*/
.com_hidden {
    display: none;
}

.com_hidden_important {
    display: none !important;
}
/*无高度样式*/
.com_no_height {
    height: 0;
}
/*左排列样式*/
.com_float_left {
    float: left;
}
/*左排列样式*/
.com_float_right {
    float: right;
}
/*文本居中*/
.com_text_center {
    text-align: center;
}
/*文本溢出*/
.com_text_overflow {
    text-overflow: ellipsis;
}
/*文本删除线样式*/
.com_text_del {
    text-decoration: line-through;
    color: gray;
}
/*自动消失提示的样式*/
.com_auto_tip_grey {
    color: grey;
}

.com_absolute {
    position: absolute;
}

.com_fixed {
    position: fixed;
}

/*固定div到页面顶部*/
.com_position_fixed_top {
    position: fixed;
    top: 0;
    z-index: 8888;
    width: 100%;
}

/*固定div到页面底部*/
.com_position_fixed_bottom {
    position: fixed;
    bottom: 0;
    z-index: 8888;
    width: 100%;
}

/*div绝对定位*/
.com_div_absolute {
    position: absolute;
    z-index: 999;
}

/*表格上的操作链接样式*/
.com_operation_link {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

    .com_operation_link:visited {
        text-decoration: none;
        color: black;
    }

    .com_operation_link:hover {
        text-decoration: underline;
        color: black;
    }

/*表格上的操作链接样式（粗）*/
.com_operation_bolderlink {
    text-decoration: none;
    color: black;
    font-weight: bolder;
    cursor: pointer;
}

    .com_operation_bolderlink:visited {
        text-decoration: none;
        color: black;
    }

    .com_operation_bolderlink:hover {
        text-decoration: underline;
        color: black;
    }

/*无样式的超链接*/
.com_nostyle_link {
    text-decoration: none;
}

    .com_nostyle_link:visited {
        text-decoration: none;
    }

    .com_nostyle_link:hover {
        text-decoration: none;
    }

.btn.com_bs_btn_sm {
    padding-top: 2px;
    padding-bottom: 2px;
}

/*#region 不同样式的linkbutton */

.large_linkbutton {
    width: 100px;
    height: 26px;
}

    .large_linkbutton.wide {
        width: 150px;
    }

    .large_linkbutton.wider {
        width: 250px;
    }

    .large_linkbutton .linkbutton_text {
        font-size: 16px;
        line-height: 26px;
    }

.small_linkbutton {
    width: 50px;
    height: 24px;
}

    .small_linkbutton.wider {
        width: 100px;
    }

    .small_linkbutton .linkbutton_text {
        font-size: 16px;
        line-height: 24px;
    }

/*#endregion */

/*#region 页面通用头部样式 */

/*页面标题样式*/
.com_page_header_div {
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0 5px 10px;
    border-bottom: 3px solid #7cb440;
    clear: both;
    background-color: white;
    height: 38px;
    box-sizing: border-box;
    line-height: 25px;
}

/*功能未完成页面的提示内容样式*/
.com_page_not_complete_tip {
    margin: 30px auto 0 auto;
    padding: 0 30px;
    font-size: 18px;
}

    .com_page_not_complete_tip .item {
        padding: 10px 0;
    }

        .com_page_not_complete_tip .item .title {
            font-weight: bolder;
        }

/*右侧选项卡布局样式*/
.com_page_tabs_div {
    top: 10px;
    right: 0;
    position: absolute;
    height: 30px;
}
    /*右侧选项卡样式*/
    .com_page_tabs_div ul li {
        float: left;
        display: inline;
        padding: 5px 5px;
        margin: 0 1px;
        font-size: 15px;
        cursor: pointer;
    }

/*#endregion */

/*#region 内容滚动样式 */

.com_scroll_border {
    width: 100%;
    overflow: auto;
}

.com_scroll_content {
    width: 100%;
}

/*#endregion */


/*#region easyui统一整页分页样式（注：已转移到ui.data-pagination.easyui.css文件中，此处为兼容旧代码） */

.com_table_pager {
    height: 40px;
}

.com_table_pager_bg {
    background-color: white;
    box-sizing: border-box;
}

.com_position_fixed_bottom.com_table_pager_bg {
    border-top: 1px solid #95B8E7;
}

.com_table_pager_content {
    height: 32px;
    float: left;
    padding: 4px 0;
    box-sizing: content-box;
    width: 50%;
}

/*#endregion */
