*:focus{
    outline:none;
}
body,h1,h2,h3,h4,h5,h6,p,table,td,tr,input,ul,ol,li,dl,dt,dd,th,textarea,select{
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    font-size: 13px;
    color: #515A6E;
}
a,a:hover,a:focus{
    color: #4A99EC;
    outline: none;
    text-decoration: none;
}
.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clearfix::before,.clearfix::after{
    content: '';
    display: table;
    clear: both;
}

.pull-left{
    float: left;
}
.pull-right{
    float: right;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
    border-radius:10px;
    background-color: #fff;/*滚动条的背景颜色*/
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    width:8px;
    border-radius: 5px;
    background: #dcdee2;
    -webkit-box-shadow: none;
}
::-webkit-scrollbar:horizontal {
    height:10px;
    margin-bottom:2px
}
::-webkit-scrollbar-track-piece {  /*内层轨道，滚动条中间部分 */
    background-color: #fff;
    border-radius: 10px;
}

/*input相关样式*/
.form-control{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 13px;
    color: #515A6E;
    height: 30px;
    padding: 6px 12px;
    border-color: #dcdee2;
}
.form-control:focus{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: #4A99EC;
}

input[type="text"]{
    height: 30px;
    border-radius: 4px;
    border: 1px solid #dcdee2;
    padding: 0 6px;
}
input[type="text"]:focus{
    outline:none;
    border-color: #4a99ec;
}

input[type="number"]{
    height: 30px;
    border-radius: 4px;
    border: 1px solid #dcdee2;
    padding: 0 6px;
}
input[type="number"]:focus{
    outline:none;
    border-color: #4a99ec;
}
select{
    height: 30px;
    border-radius: 4px;
    border: 1px solid #dcdee2;
}
select:focus{
    outline:none;
    border-color: #4a99ec;
}

input[type="radio"], input[type="checkbox"]{
    width: 13px;
    height: 13px;
    position: relative;
}
input[type=radio]:after{
    content: '';
     display: inline-block;
    width: 14px;
    height: 14px;
    background: #fff;
    /* background-size: cover; */
    border: 1px solid #ccc;
    position: absolute;
    top: -1px;
    left: -1px;
    border-radius: 20px;

}
input[type=radio]:checked:after{
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/osp2016/images/ui/radio_1.svg?v=ac3440d4') center no-repeat ;
    background-size: cover;
    border:none;
    position: absolute;
    top: -2px;
    left: -2px;
}
input[type=checkbox]:after{
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/osp2016/images/ui/checkbox_fill_0.svg?v=acd14e45') center no-repeat ;
    background-size: cover;
    border:none;
    position: absolute;
    top: -2px;
    left: -2px;
}
/*禁用的checkbox，不需要功能，只有单纯的样式*/
.disabled_checkbox_icon{
    display: inline-block;
    width: 13px;
    height: 13px;
    position: relative;
    margin: 4px 0 0;
    cursor: not-allowed;
}
.disabled_checkbox_icon:after{
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/osp2016/images/ui/checkbox_fill_0.svg?v=acd14e45') center no-repeat ;
    background-size: cover;
    position: absolute;
    top: -2px;
    left: -2px;
}

input[type=checkbox]:checked:after{
    background: url('/osp2016/images/ui/checkbox_fill_1.svg?v=aee1b358') center no-repeat ;
    background-size: cover;
}

input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}

input.icon_switch_checkbox[type=checkbox]{
    margin: 0;
    cursor: pointer;
}
.icon_switch_checkbox[type=checkbox]:after{
    width: 30px;
    background: #fff url(/osp2016/images/ui/switch_close.svg?v=afe43273) no-repeat center;
    background-size: auto;
}
.icon_switch_checkbox[type=checkbox]:checked:after{
    background: #fff url(/osp2016/images/ui/switch_open.svg?v=ab87edf6) no-repeat center;
    background-size: auto;
}

textarea:focus{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: #4A99EC;
    outline: none;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder,.form-control::-webkit-input-placeholder {
    color: #c0c4cc;
    font-size: 13px;
}
input:-moz-placeholder, textarea:-moz-placeholder {
    color: #c0c4cc;
    font-size: 13px;
}
input::-moz-placeholder, textarea::-moz-placeholder {
    color: #c0c4cc;
    font-size: 13px;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #c0c4cc;
    font-size: 13px;
}

input[disabled],input[readonly]{
    background-color: #f7f7f7;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
    background-color: #f7f7f7;
}


/*按钮样式*/
.btn{
    font-size: 13px;
    line-height: 16px;
    height: 30px;
    border-radius:4px;
    padding: 6px 12px;
    cursor: pointer;
}
.btn:hover,.btn:focus,.btn.focus,.btn:active{
    color: #4a99ec;
    border-color: #4a99ec;
    background: #fff;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn,.btn-default{
    color: #808695;
    border-color: #dcdee2;
    background: #fff;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn.btn-default:active:hover{
    background-color: #fff;
}
.btn-default:hover,.btn-default:focus,.btn-default.focus,.btn-default:active{
    color: #4a99ec;
    border-color: #4a99ec;
    background: #fff;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn-default[disabled]:focus,.btn-default.focus[disabled]{
    color: #c0c4cc;
    border-color: #dcdee2;
    background: #fff;
}
.btn-group.open .dropdown-toggle{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}
.btn-default:active, .btn-default.active, .open>.dropdown-toggle.btn-default{
    color: #c0c4cc;
    border-color: #dcdee2;
    background: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
    background: #fff;
    color: #4a99ec;
    border-color: #4a99ec;
}
/*禁用状态*/
button.btn-default[disabled=disabled]{
    color: #fff;
}

.btn.btn-primary{
    background: #4A99EC;
    border: 1px solid #4A99EC;
    color:#fff;
    border-radius: 4px;
    min-width: 70px;
}
button.title_fontsize3 {
    background: #4A99EC;
    border: 1px solid #4A99EC;
    border-radius: 4px;
    color: #fff;
    height: 30px;
    line-height: 16px;
}
.btn.btn-primary:hover,.btn.btn-primary:active, .btn.btn-primary.active,.btn.btn-primary:focus,.btn.btn-primary.focus, .open>.dropdown-toggle.btn-primary{
    color: #fff;
    border-color: #4a99ec;
    background: #4a99ec;
}

a.btn{
    line-height: 16px;
}

.select2-container .select2-selection--single{
    height: 30px;
    border: 1px solid #dcdee2;
}
.select2-container .select2-selection--single:focus{
    outline:none;
    border-color: #4a99ec;
}
.select2-container .select2-search__field:focus{
    outline:none;
    border-color: #4a99ec;
}

.pagination{
    font-size: 13px;
}
.pagination>li>a, .pagination>li>span{
    color: #808695;
    padding: 0px 6px;
    min-width: 24px;
    line-height: 22px;
    text-align: center;
    border:1px solid #DCDEE2;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus{
    color: #4A99EC;
    background-color: #fff;
    border-color: #B1CCE9;
}
.page-detail-info{
    font-size: 13px;
    color: #515A6E;
}



/*多选插件*/
.select2-container .select2-selection--multiple{
    min-height: 30px;
}
/*多选边框色-默认*/
.select2-container--default .select2-selection--multiple{
    border: 1px solid #dcdee2;
}
/*多选边框色-focus*/
.select2-container--default.select2-container--focus .select2-selection--multiple{
    border-color: #4A99EC;
}
/*多选边框色-focus*/
.select2-container--default.select2-container--focus .select2-selection--multiple{
    border-color: #4A99EC;
}
.select2-selection--multiple .select2-search__field{
    height: 22px;
    padding-left: 5px;
}

.multiple_select_wrap{
    float: left;
    width: 100%;
}
.chosen-container-multi .chosen-choices li.search-choice{
    max-width: 15em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    background: #f6f6f6;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 5px 0 0 5px;
    line-height: 22px;
    padding: 0 16px 0 8px
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
    background: url('/osp2016/images/ui/close_0.svg?v=a9b9b17c') no-repeat center center !important;
    background-size: 6px 6px !important;
    top: 0;
    right: 8px;
    width: 6px;
    height: 100%;
}
.chosen-container .chosen-results{
    width: 100%;
}
.chosen-container .chosen-results li.highlighted{
    background: #f1fafe;
    color: #4a99ec;
}
.chosen-container-multi .chosen-drop .result-selected{
    background: #fafafa;
    color: #515a6e;
}
.chosen-container .chosen-drop{
    border: 1px solid #dcdee2;
}
.select2-dropdown{
    border: 1px solid #dcdee2;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    max-width: 15.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #f6f6f6;
    border: none;
    box-shadow: none;
    margin: 5px 0 0 5px;
    padding: 0 8px;
    border-radius: unset;
    line-height: 22px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color: #808695;
    float: right;
    margin: 0 0 0 5px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{
    display: block;
    padding: 0 0 5px 0;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background: #f1fafe;
    color: #4a99ec;
}
.select2-container--default .select2-results__option[aria-selected=true]{
    background: #fafafa;
    color: #515a6e;
}
.select2-container--default .select2-results__option.select2-results__option--highlighted[aria-selected=true]{
    background: #fafafa;
    color: #515a6e;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #515a6e;
    height: 28px;
    line-height: 28px;
}

.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th{
    line-height: 22px;
    height: 40px;
    vertical-align: middle;
}

.line_table.table>tbody+tbody{
    border-top: none;
}
.line_table .table>tbody+tbody{
    border-top: none;
}

/*横向线条表格  class写在 table 祖先元素上*/
.line_table .table thead{
    background: #F8F8F9;
}
.line_table .table>thead>tr>th{
    color: #515A6E;
    background: #f8f8f9;
    border-radius: 0;
    border-bottom: 1px solid #e8eaec;
    font-weight: 600;
}
.line_table .table>thead>tr>th>.th-inner{
    color: #515A6E;
    font-size: 13px;
    font-weight:600;
}
.line_table .table{
    border-bottom: 1px solid #e8eaec;
}
.line_table .table>tbody>tr>td{
    font-size: 13px;
    height: 40px;
    vertical-align: middle;
    color: #515A6E;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    text-align: left;
    border-top: 1px solid #e8eaec;
}

.line_table .table>tbody>tr:hover{
    background-color: #f1fafe !important;
}

/*横向线条表格 class写在 table 标签上*/
table.line_table thead{
    background: #F8F8F9;
}
table.line_table>thead>tr>th{
    color: #515A6E;
    background: #f8f8f9;
    border-radius: 0;
    border-bottom: 1px solid #e8eaec;
    font-weight: normal;
}
table.line_table>thead>tr>th>.th-inner{
    color: #515A6E;
    font-size: 13px;
    font-weight:400;
}
table.line_table{
    border-bottom: 1px solid #e8eaec;
}
table.line_table > thead > tr > th{
    border-bottom: 1px solid #e8eaec;
}
table.line_table>tbody>tr>td{
    font-size: 13px;
    height: 40px;
    vertical-align: middle;
}
table.line_table>tbody>tr>td, table.line_table>tbody>tr>th, table.line_table>tfoot>tr>td, table.line_table>tfoot>tr>th, table.line_table>thead>tr>td, table.line_table>thead>tr>th{
    text-align: left;
    border-top: 1px solid #e8eaec;
}

table.line_table>tbody>tr:hover{
    background-color: #f1fafe;
}
table>tbody>tr.no_table_hover:hover{
    background: #fff;
}

/* 表格标题超出部分隐藏 */
td>.td-title-name,td.my-text-length{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 184px;
}

/*全边框表格*/
.border_table thead{
    background: #F8F8F9;
}
.border_table thead>tr>th{
    color: #515A6E;
    background: #f8f8f9;
    border-radius: 0;
    border-bottom: 1px solid #e8eaec;
}
.border_table thead>tr>th>.th-inner{
    color: #515A6E;
    font-size: 13px;
    font-weight:400;
}
.border_table table,table.border_table{
    border-bottom: 1px solid #e8eaec;
}
.border_table thead > tr > th{
    border-bottom: 1px solid #e8eaec;
}
.border_table tbody>tr>td{
    font-size: 13px;
    height: 40px;
    vertical-align: middle;
}
.border_table tbody>tr>td, .border_table tbody>tr>th, .border_table tfoot>tr>td, .border_table tfoot>tr>th, .border_table thead>tr>td, .border_table thead>tr>th{
    text-align: left;
    border-top: 1px solid #e8eaec;
}

.border_table tbody>tr:hover,.line_table tbody>tr:hover{
    background-color: #f1fafe;
}
.border_table tbody>tr:hover td,.line_table tbody>tr:hover td{
    background-color: #f1fafe;
}

.border_table.table-striped>tbody>tr:nth-of-type(odd){
    background:#FFF ;
}
.border_table.table-striped>tbody>tr:nth-of-type(even){
    background:#FAFAFA ;
}
.fixed-table-container{
    border-radius: 0;
    background: #f8f8f9;
}
.fixed-table-body{
    background: #fff;
}
.table_handle_icon{
    width: 14px;
}


/*固定表头*/
.fixed_th_table thead{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0px;
    z-index: 3;
}
.fixed_th_table thead:after{
    content:'';
    display:block;
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:1px;
    background:#e8eaec;
}
.fixed_th_table thead th {
    background: #f8f8f9;
}
/*固定复选框列 */
.fixed_checkbox_table th.bs-checkbox{
    position: sticky;
    left: 0;
}
.fixed_checkbox_table td.bs-checkbox {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
}
.fixed_checkbox_table .selected td.bs-checkbox {
    background: #F5F5F5;
}
.fixed_checkbox_table>tbody>tr:hover td.bs-checkbox{
    background: #F1FAFE;
}
.fixed_checkbox_table>tbody>tr.selected:hover td.bs-checkbox{
    background: #F5F5F5;
}

/*固定最右侧操作列*/
.fixed_operate_table .operate_column:before{
    content: '';
    display: block;
    position: absolute;
    left: -1px;
    top: 0;
    height: 100%;
    width: 1px;
    background: #e8eaec;
}
.fixed_operate_table .operate_column{
    position: sticky;
    right: -1px;
}
.fixed_operate_table td.operate_column{
    z-index: 1;
    background: #fff;
}
.fixed_operate_table .selected td.operate_column{
    background: #F5F5F5;
}
.fixed_operate_table>tbody>tr:hover td.operate_column{
    background: #F1FAFE;
}
.fixed_operate_table>tbody>tr.selected:hover td.operate_column{
    background: #F5F5F5;
}


/*按钮中的图标*/
.button_icon{
    display: inline-block;
    width: 14px;
    height: 14px;
    transform: translateY(-1px);
    margin-right: 5px;
    vertical-align: middle;
}
.button_icon_add{
    background: url(/osp2016/images/ui/add_bold_0.svg?v=a8371748) no-repeat center;
    background-size: cover;
}
button:hover .button_icon_add{
    background: url(/osp2016/images/ui/add_bold_1.svg?v=a3650201) no-repeat center;
    background-size: cover;
}

.button_icon_delete{
    background: url(/osp2016/images/ui/delete_0.svg?v=ab12e195) no-repeat center;
    background-size: cover;
}
button:hover .button_icon_delete{
    background: url(/osp2016/images/ui/delete_1.svg?v=afe98642) no-repeat center;
    background-size: cover;
}

.button_icon_search{
    background: url(/osp2016/images/ui/search_0.svg?v=a9a3bf36) no-repeat center;
    background-size: cover;
}
button:hover .button_icon_search{
    background: url(/osp2016/images/ui/search_1.svg?v=adb15a9e) no-repeat center;
    background-size: cover;
}

.button_icon_search{
    background: url(/osp2016/images/ui/search_0.svg?v=a9a3bf36) no-repeat center;
    background-size: cover;
}
button:hover .button_icon_search{
    background: url(/osp2016/images/ui/search_1.svg?v=adb15a9e) no-repeat center;
    background-size: cover;
}
.button_icon_edit{
    background: url(/osp2016/images/ui/edit_0.svg?v=ae34acee) no-repeat center;
    background-size: cover;
}
button:hover .button_icon_edit{
    background: url(/osp2016/images/ui/edit_1.svg?v=a388a0f2) no-repeat center;
    background-size: cover;
}

.icon_switch{
    cursor: pointer;
    user-select: none;
    display: inline-block;
    width: 30px;
    height: 16px;
    vertical-align: middle;
}
.icon_switch_close,.icon_switch{
    background: url(/osp2016/images/ui/switch_close.svg?v=afe43273) no-repeat center;
}
.icon_switch_open,.icon_switch[status="1"]{
    background: url(/osp2016/images/ui/switch_open.svg?v=ab87edf6) no-repeat center;
}

.icon_setting{
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    background: url(/osp2016/images/ui/setting_0.svg?v=ace135d5) no-repeat center;
    background-size: cover;
}
.icon_pointer{
    cursor: pointer;
}

/*bootstrap弹窗*/
.popover{
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.popover.bottom>.arrow{
    display: none;
}

.popover.right>.arrow{
    border-right-color: #dcdee2;
}






/*日期选择器*/
.dropdown-menu.datetimepicker{
    margin-top: 2px;
}
.datetimepicker-dropdown-bottom-right:before{
    visibility:hidden;
}
.datetimepicker-dropdown-bottom-right:after{
    visibility:hidden;
}


/*被选中的table背景色*/
.fixed-table-container tbody .selected td{
    /*background-color: #f5f5f5;*/
}


ul.dropdown-menu{
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    padding: 5px 0;
}

.dropdown-menu li{
    width: 100%;
    line-height: 30px;
    color: #515A6E;
    border-color: #dcdee2;
    background: #fff;
    padding: 0 10px;
}
.dropdown-menu li:hover{
    /*color: #4a99ec;*/
    text-decoration: none;
    background-color: #fafafa;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
    color: inherit;
    text-decoration: none;
    background: inherit;
}
.dropdown-menu>li>a{
    line-height: inherit;
    margin: 0;
    padding: 0;
    color: inherit;
}
.dropdown-menu li label{
    margin: 0;
}

/*打开弹窗上传按钮*/
.upload_line_wrap .uploadBtnNew{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
img{
    vertical-align: text-bottom;
}

.fadeInRight{
min-width: 900px;
}

/*问号图标*/
.question_mark{
    display: inline-block;
    vertical-align: middle;
    width:16px;
    height:16px;
    text-align:center;
    cursor:pointer;
    background: url("/osp2016/images/ui/question_mark_1.svg?v=aa121cc7") no-repeat center center;
    background-size: cover;
    color: #515A6E;
}

/*红色星号*/
.red_star{
    color: #ed4014;
}
.red_star::before{
    content: '*';
    display: inline-block;
    margin-left: 4px;
    line-height: 1;
    font-family: SimSun;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    color: #ed4014;
}

.flex-cc{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-sc{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-ac{
    display: flex;
    justify-content: center;
}
.flex-c,.flex-vc{
    display: flex;
    align-items: center;
}
.flex-grow{
    flex-grow: 1;
}

.ml-10{
    margin-left: 10px;
}
.mr-10{
    margin-right: 10px;
}

.checkbox_label{
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
    line-height: 1;
}
label.checkbox_label input[type="checkbox"]{
    margin: 0;
}

/*字体图标按钮*/
.font-btn{
    color: #515A6E;
}
.font-btn:hover{
    color: #4A99EC;
}
.font-btn-act,.font-btn-act:hover{
    color: #4A99EC;
}