﻿/**基础css样式*/
body {
    font: 12px "宋体","Arial Narrow",HELVETICA;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

ol, ul, li {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cb {
    clear: both;
}

input, textarea {
    outline: none;
}

a {
    color: #1570A6;
    outline: none;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
        color: #24459a;
    }


/**重写样式*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: block;
}

.clear {
    clear: both;
}
/* 清除浮动*/

.canvas {
    position: relative;
}

.relative {
    position: relative;
}


/**
  * 按钮插件css
    */
/*普通按钮样式*/
.fkui-button {
    display: inline-block;
    zoom: 1;
    vertical-align: baseline;
    margin: 0 2px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    border: none;
    color: #999;
    background: #E6E6E6;
    border-radius: 5px;
    padding: 0px 20px;
    border: 1px solid #cccccc;
}

    .fkui-button:hover {
        border-color: #adadad;
        text-decoration: none;
        color: #fff;
    }

    .fkui-button:active {
        position: relative;
        color: #fff;
        text-decoration: none;
    }

/**按钮颜色定义*/
.grey {
    color: #514f4f;
    background: #dadada;
}

    .grey:hover {
        color: #555454;
        background: #efeeee;
    }

.orange {
    background: #ff9600;
    color: #fff;
    border: 1px solid #e2750a;
}
.orange:hover {
    background: #ff4e00;
    color: #fff;
    border: 1px solid #cf4306;
}

.red {
    color: #ffffff;
    background: #F75F64;
}

    .red:hover {
        background: #fe8d91;
    }

.pink {
    color: #ffffff;
    background: #f895c2;
}

    .pink:hover {
        background: #f6b0d0;
    }


.blue {
    color: #ffffff;
    background: #0C6083;
}

    .blue:hover {
        background: #2f7694;
    }

.green {
    color: #ffffff;
    background: #5EA514;
}

    .green:hover {
        background: #73ba29;
    }

.white {
    color: #333333;
    background: #fff;
}

    .white:hover {
        color:#333333;
        background: #f7f7f7;
    }
/*颜色*/
.text-red {
    color: #e33;
}

.text-yellow {
    color: #f60;
}

.text-blue {
    color: #0ae;
}

.text-green {
    color: #2c7;
}
/*左右*/
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}
/*左右对齐*/
.text-justify {
    text-align: justify;
}

.bg-red {
    background: #e33;
}

.bg-yellow {
    background: #f60;
}

.bg-blue {
    background: #0ae;
}

.bg-green {
    background: #2c7;
}

.bg-red-light {
    background: #fee;
}

.bg-yellow-light {
    background: #ffd;
}

.bg-blue-light {
    background: #eff;
}

.bg-green-light {
    background: #efd;
}
/*反相*/
.bg-inverse {
    color: #fff;
}

.padding-small {
    padding: 10px;
}

.padding-large {
    padding: 20px;
}

.padding-xlarge {
    padding: 40px;
}

.border {
    border: #ddd solid 1px;
}

.border-red {
    border-color: #e33;
}

.border-yellow {
    border-color: #f60;
}

.border-blue {
    border-color: #0ae;
}

.border-green {
    border-color: #2c7;
}

.border-small {
    border-width: 1px;
}

.border-large {
    border-width: 2px;
}

.border-xlarge {
    border-width: 4px;
}

/*mask*/
.fkui-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgb(0, 0, 0);
    z-index: 599;
    opacity: 0.15;
    filter: alpha(opacity=15);
}

/************icon样式**************/
.fkui-icon-msg {
    width: 32px;
    height: 36px;
    float: left;
    background: url(images/icon-msg.png) no-repeat;
    _background: url(images/icon-msg.gif) no-repeat;
}

.icon-warn {
    background-position: -62px -33px;
}

.icon-info {
    background-position: 0 -33px;
}

.icon-success {
    background-position: 0 -33px;
}

.icon-error {
    background-position: -32px -33px;
}

.icon-ask {
    background-position: -95px -33px;
}

.icon-wow {
    background-position: -125px -33px;
}

.icon-load {
    background: url(images/loading.gif) no-repeat;
}
/*small*/
.fkui-icon-small-msg {
    width: 19px;
    height: 19px;
    float: left;
    background: url(images/icon-msg.png) no-repeat;
    _background: url(images/icon-msg.gif) no-repeat;
}

.icon-small-warn {
    background-position: -182px -80px;
}

.icon-small-info {
    background-position: -182px -4px;
}

.icon-small-success {
    background-position: -182px -4px;
}

.icon-small-error {
    background-position: -182px -42px;
}

.icon-small-ask {
    background-position: -95px -118px;
}

.icon-small-wow {
    background-position: -182px -155px;
}
/*********提示框样式************/
/*alert confirm*/
.fkui-msg-text {
    width: 240px;
    float: left;
    margin-left: 10px;
    display: inline;
    line-height: 20px;
    margin-top: 6px;
}
/*tip*/
.fkui-msg-tip {
    float: left;
    margin-left: 10px;
    display: inline;
    line-height: 20px;
    margin-top: 6px;
}



/**
  * validatebox插件css
    */
.validatebox-text {
    border: 1px solid #CCC;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: 16px;
    line-height: 16px;
    overflow: hidden;
    color: #333;
    font-size: 12px;
    outline: none;
    resize: none;
    border-radius: 2px;
    padding: 6px 6px;
    display: inline-block;
    vertical-align: top;
}

.validatebox-text-hover {
    border: 1px solid #f3e2aa;
}

.validatebox-text-focus {
    border: 1px solid #f6ba66;
}

.validatebox-label {
    position: absolute;
    vertical-align: middle;
    line-height: 30px;
    height: 30px;
    font-size: 12px;
    color: #404040;
    opacity: 1;
    color: #aaa;
    cursor: text;
    padding-left: 6px;
}

.validatebox-label-hide {
    opacity: 0;
    visibility: hidden;
}



.validatebox-tip {
    position: absolute;
    width: 200px;
    height: auto;
    display: none;
    z-index: 9900000;
}

.validatebox-tip-content {
    /*display: inline-block;*/
    position: absolute;
    top: 2px;
    left: 8px;
    /*width: 150px;*/
    border-width: 1px;
    border-style: solid;
    padding: 0px 5px;
    height: 25px;
    line-height: 25px;
    z-index: 9900001;
    font-size: 12px;
}

.validatebox-tip-pointer {
    /*display: inline-block;*/
    width: 8px;
    height: 16px;
    position: absolute;
    left: 1px;
    top: 7px;
    _top: 5px;
    z-index: 9900002;
}

.validatebox-tip-left .validatebox-tip-content {
    left: auto;
    right: 8px;
}

.validatebox-tip-left .validatebox-tip-pointer {
    background-position: -20px center;
    left: auto;
    right: 1px;
}

.validatebox-invalid {
    background-position: right center;
    border-color: #ffa8a8;
    background-color: #fff3f3;
    color: #000;
}

.validatebox-tip-pointer {
    background: url('images/validatebox_arrows.png') no-repeat -4px center;
}

.validatebox-tip-content {
    border-color: #CC9933;
    background-color: #FFFFCC;
    color: #000;
}

.validatebox-tip-content2 {
    color: #000;
}
/**
  * combo插件css
    */
.combo {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    line-height: normal;
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    background-color: white;
    vertical-align: top;
}

.combo-text {
    font-size: 12px;
    border: 0px;
    line-height: 16px;
    height: 16px;
    _height: 14px;
    _line-height: 14px;
    padding: 6px;
    /*padding-right:0*/
}

.combo-arrow {
    background: url(images/cussel_hover.png) no-repeat center center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.combo-arrow-hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

.combo-popup-panel {
    position: absolute;
    z-index: 9300;
}

.combo-panel {
    overflow: auto;
    border: 1px solid #d1d1d1;
    background-color: white;
}

/**
  * combobox插件css
    */
.combobox-item {
    padding: 3px;
    padding-left:6px;
    line-height: 22px;
    height: 22px;
    overflow: hidden;
    font-size: 12px;
}

.combobox-item-hover {
    background-color: #eaf2ff;
    color: #000000;
}

.combobox-item-selected {
    background-color: #FF9600;
    color: #fff;
}

/**
  * dialog插件css
    */

/*弹窗*/
.fkui-dialog {
    height: auto;
    width: auto;
    overflow: hidden;
    position: fixed;
    _position: absolute;
    border: 1px solid #b8b8b8;
    background: #fff;
    display: none;
    box-shadow: 0 0 5px #acacac;
    z-index: 9000;
}



    .fkui-dialog .fkui-dialog-head {
        border-bottom: #eee solid 1px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        position: relative;
        /*background: #569ebc;*/
        /*color: #fff;*/
        color:black;
    }

        .fkui-dialog .fkui-dialog-head .fkui-dialog-title {
            padding-left: 20px;
            float: left;
            display: inline;
            font-weight: bold;
        }

        .fkui-dialog .fkui-dialog-head .close {
            text-decoration: none;
            font-size: 14px;
            float: right;
            text-shadow: 0 1px 0 #FFFFFF;
            cursor: pointer;
            color: #000;
            padding-right: 10px;
        }

            .fkui-dialog .fkui-dialog-head .close:hover {
                color: #88b8cc;
            }

    .fkui-dialog .fkui-dialog-body {
        /*padding: 10px;*/
        overflow: auto;
    }

    .fkui-dialog .fkui-dialog-foot {
        background: #f5f5f5;
        height: 45px;
        line-height: 45px;
        padding-right: 10px;
        border-top: 1px solid #DDDDDD;
        box-shadow: 0 1px 0 #FFFFFF inset;
        text-align: right;
    }

        .fkui-dialog .fkui-dialog-foot .fkui-btn-ok {
        }

        .fkui-dialog .fkui-dialog-foot .fkui-btn-cancel {
        }


/***datagrid**/
.default_grid {
}

.default_grid_toolbar {
    padding: 6px 10px;
    background: #FBFBFB;
    /*border-bottom: 1px solid #ccc;*/
}

.default_grid_view .thead {
    padding: 0 8px;
    height: 45px;
    line-height: 45px;
    background-color: #F8F8F8;
    color: #000;
    border-bottom: 1px solid #e5e3e3;
    font-weight: bold;
}

.default_grid_view .trow {
    padding: 8px;
    height: 28px;
    border-bottom: 1px solid #efefef;
    cursor: default;
    word-break:break-all;word-wrap:break-word;white-space: pre-wrap;
}
.default_grid_view .trow {
  padding: 13px 8px;
  border-color: #dbdbdd;
}
.default_grid_view .datagrid-row-alt {
    background-color: #f6f9ff;
}

.default_grid_view .row-alt {
    background-color: #feffdb;
}

.default_grid_view .row-selected {
    background-color: #fcf065;
}



.default_grid_pager {
    margin-top: 20px;
}

    .default_grid_pager .link {
        float: left;
    }

        .default_grid_pager .link span {
            float: left;
            font-weight: bold;
            line-height: 25px;
            margin: 0 6px;
        }

        .default_grid_pager .link .btn {
            width: auto;
            padding: 4px 8px;
        }

        .default_grid_pager .link a {
            float: left;
            display: block;
            padding: 4px 8px;
            margin: 0 4px;
            text-align: center;
            color: #006cff;
            border: 1px solid #e6e6e6;
        }

    .default_grid_pager .skip {
        float: left;
        display: inline;
        margin-left: 10px;
    }

        .default_grid_pager .skip span {
            float: left;
            line-height: 25px;
        }

        .default_grid_pager .skip .input {
            width: 30px;
            text-align: center;
            padding: 0;
            float: left;
            display: inline;
            margin: 0 4px;
            padding: 2px 0;
        }

    .default_grid_pager .skip_btn {
        width: 40px;
        height: 22px;
        float: left;
        display: inline;
        margin-left: 6px;
        /*color: white;*/
        border: 1px solid #488fc5;
        background-position: 0 0;
        text-align: center;
        line-height: 22px;
    }

        .default_grid_pager .skip_btn:hover {
            text-decoration: none;
            background-position: 0 -24px;
        }

.default_grid .show_opt {
    position: relative;
}

.default_grid .option_list {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    border: 1px solid #cacaca;
    padding: 4px 0;
    line-height: 22px;
    background-color: white;
    z-index: 10;
}

    .default_grid .option_list li a {
        display: block;
        padding: 0 10px;
    }

        .default_grid .option_list li a:hover {
            background-color: #f5f5f5;
            text-decoration: none;
        }
/***datalist**/
.default_datalist {
    border: #E5E3E3 1px solid;
}

.default_datalist_toolbar {
    padding: 6px 10px;
    background: #efefef;
    border-bottom: 1px solid #ccc;
}

.default_datalist_view .thead {
    padding: 0 8px;
    height: 35px;
    line-height: 26px;
    background-color: #FFFFFF;
    color: #000;
    border-bottom: 1px solid #e5e3e3;
    font-weight: bold;
}

.default_datalist_view .trow {
    padding: 0 8px;
    height: 26px;
    border-bottom: 1px solid #efefef;
    cursor: default;
    word-break:break-all;word-wrap:break-word;white-space: pre-wrap
}

.default_datalist_view .datalist-row-alt {
    background-color: #f6f9ff;
}

.default_datalist_view .row-alt {
    background-color: #feffdb;
}

.default_datalist_view .row-selected {
    background-color: #fcf065;
}



.default_datalist_pager {
    margin-top: 20px;
}

    .default_datalist_pager .link {
        float: left;
    }

        .default_datalist_pager .link span {
            float: left;
            font-weight: bold;
            line-height: 25px;
            margin: 0 6px;
        }

        .default_datalist_pager .link .btn {
            width: auto;
            padding: 4px 8px;
        }

        .default_datalist_pager .link a {
            float: left;
            display: block;
            padding: 4px 8px;
            margin: 0 4px;
            text-align: center;
            color: #006cff;
            border: 1px solid #e6e6e6;
        }

    .default_datalist_pager .skip {
        float: left;
        display: inline;
        margin-left: 10px;
    }

        .default_datalist_pager .skip span {
            float: left;
            line-height: 25px;
        }

        .default_datalist_pager .skip .input {
            width: 30px;
            text-align: center;
            padding: 0;
            float: left;
            display: inline;
            margin: 0 4px;
            padding: 2px 0;
        }

    .default_datalist_pager .skip_btn {
        width: 40px;
        height: 22px;
        float: left;
        display: inline;
        margin-left: 6px;
        color: white;
        border: 1px solid #488fc5;
        background-position: 0 0;
        text-align: center;
        line-height: 22px;
    }

        .default_datalist_pager .skip_btn:hover {
            text-decoration: none;
            background-position: 0 -24px;
        }

.default_datalist .show_opt {
    position: relative;
}

.default_datalist .option_list {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    border: 1px solid #cacaca;
    padding: 4px 0;
    line-height: 22px;
    background-color: white;
    z-index: 10;
}

    .default_datalist .option_list li a {
        display: block;
        padding: 0 10px;
    }

        .default_datalist .option_list li a:hover {
            background-color: #f5f5f5;
            text-decoration: none;
        }

/*******************sfui-checkbox插件******************/
/*
    未选中checkbox
    */
.icon-checkbox {
    display: inline-block;
    height: 18px;
    width: 18px;
    margin-right: 2px;
    vertical-align: -4px;
    _vertical-align: -3px;
    background: url(images/checkbox.png) no-repeat;
    _background: url(images/checkbox.gif) no-repeat;
    background-position: 0 -18px;
}
/*
    选中checkbox
    */
.icon-checkbox-checked {
    background-position: 0px 0px;
}
/**警告条 提示*/
.ui-info {
    background-color: #fdf9f1;
    border: 1px solid #F7E3B3;
    color: #666;
    font-size: 12px;
    line-height: 24px;
    padding: 4px 10px 4px 32px;
    position: relative;
}

    .ui-info .icons.info {
        background-position: -182px -155px;
    }

    .ui-info .icons {
        width: 20px;
        height: 20px;
        overflow: hidden;
        position: absolute;
        left: 10px;
        top: 6px;
        background: url(images/icon-msg.png) no-repeat;
        _background: url(images/icon-warn.gif) no-repeat;
    }
