/**
 * jquery.plugins.js插件的样式
 * @author helin
 */

/*table start*/
.table-container {
    position: relative;
}
.table-container .table-head {
    overflow: hidden;
    padding-right: 1px;/*解决内层table造成的横向滚动条问题，原因暂时未查明*/
    padding-left: 1px;/*解决IE8下左边框被隐藏的问题*/
}
.table-container .table-body {
    overflow: auto;
    padding-right: 1px;/*解决内层table造成的横向滚动条问题，原因暂时未查明*/
    padding-left: 1px;/*解决IE8下左边框被隐藏的问题*/
    min-height: 40px;    
    position: relative;
}
.table-container .table-body.resize-hack {
    overflow: hidden;
}
.table-container .table {
    width: 100%;
    max-width: none;
    border: 0;
    margin: 0;
    background-color: #fff;
    table-layout: fixed;
    position: relative;
}
.table-container .table-th {
    position: relative;
    cursor: default;
}
.table-container .table > thead > tr > th {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-top: 1px solid #ddd;
}
.table-container .table > thead > tr > th.table-menu:hover {
    background: #efefef;
}
.table-container .table-th-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.table-hover .table-errorInfo:hover {
    background-color: transparent;
}
.table-container .table-td-text {
    word-break: break-all;
}
.table-container .table-td-text a:hover {
    text-decoration: underline;
}
.table-container .holder th {
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.table-container .table-td-edit {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.table-container .table-td-editEle {
    width: 100%;
    border: 1px solid #ccc;
    padding: 2px;
    outline: 0;
    margin-left: -3px;
}
.table-container .table-td-editEle:focus {
    border: 1px solid #66afe9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.table-container .table-col-display {
    display: inline-block;
    font-size: 12px;
    color: #ccc;
}
.table-container .table-col-display:hover {
    color: #000;
    cursor: pointer;
}
.table-container .table-th-resize {
    position: absolute;
    right: -2px;
    top: 0;
    z-index: 1;
    width: 4px;
    height: 100%;
    cursor: e-resize;
}
.table-container .table-border .table-th-resize {
    right: -1px;
}
.table-container .table-th-menu {
    position: absolute;
    right: 2px;
    top: 0;
    width: 12px;
    height: 100%;
    cursor: pointer;
}
.table-container .table-th-menu:hover {
    background-color: #ddd;
}
.table-container .table-th-menu .glyphicon {
    position: absolute;
    left: 0;
    top: 50%;
    margin: -6px 0 0 0;
    font-size: 12px;
    color: #ccc;
}
.table-container .table-th-menu:hover .glyphicon {
    color: #000;
}
.table-container .table-body .table-tr:first-child td {
    border-top: 0;
}
.table-checkbox {
    width: 14px;
    height: 14px;
}
.table-sort-icon {
    display: inline-block;
    position: relative;
    height: 100%;
    margin-left: 5px;
}
.table-sort-icon:before,
.table-sort-icon:after {
    content: "";
    position: absolute;
    top: 50%;
    border: solid transparent;
    border-width: 0 4px;
}
.table-sort-icon:before {
    margin-top: -11px;
    border-bottom-width: 6px;
    border-bottom-color: #ccc;
}
.table-sort-icon:after {
    margin-top: -4px;
    border-top-width: 6px;
    border-top-color: #ccc;
}
.table-sort-active .table-th-text {
	color: #428bca;
}
.table-sort-active[data-sorder="asc"] .table-sort-icon:before,
.table-sort-active[data-sorder="desc"] .table-sort-icon:after {
    margin-top: -8px;
}
.table-sort-active[data-sorder="asc"] .table-sort-icon:before {
    border-bottom-color: #428bca;
}
.table-sort-active[data-sorder="desc"] .table-sort-icon:after {
    border-top-color: #428bca;
}
.table-sort-active[data-sorder="asc"] .table-sort-icon:after,
.table-sort-active[data-sorder="desc"] .table-sort-icon:before {
    display: none;
}
.table-drag {
    cursor: e-resize !important;
}
.table-drag-line {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: 1px;
    height: 100%;
    background-color: #777;
}
.table-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 120px;
    height: 30px;
    line-height: 30px;
    margin-left: -60px;
    margin-top: -15px;
    padding-left: 35px;
    font-size: 12px;
    font-weight: bold;
    color: #eb8f00;
    background: #fff url(/assets/img/loading_16.gif) no-repeat 10px center;
    border: 2px solid #fbd850;
    display: none;
}
.table-columns {
    background-color: #fff;
    padding: 10px 0;
}
.table-columns-item {    
    padding: 3px 20px;
}
.table-columns-item:hover {
    background-color: #e3e8f7;
}
.table-columns-item.disabled {
    background-color: #fff;
    cursor: not-allowed;
}
.table-columns-item label {
    display: block;
    margin: 0;
    font-weight: normal;
    line-height: 1.5;
    white-space: nowrap;
}
.table-columns-item.disabled label {
    cursor: not-allowed;
}
.table-columns-item label input {
    position: relative;
    top: 2px;
}
.ui-menu.table-filter {
    border-width: 0;
}
.table-filter input.form-control {
    width: 150px;
}
/*table end*/

/*页码 start*/
.table-container .table-pager {
    margin-top: 10px;
}
.pagination {
    display: block;
    text-align: center;
    margin: 0;
    font-size: 12px;
}
.paging {
    font-size: 0px;
    display: inline-block;
}
.paging-btn {
    display: inline-block;
    *display: inline;
    margin: 0;
    padding: 2px 11px;
    font-size: 12px;
    line-height: 2;
    text-align: center;
    border: 1px solid #d4d4d4;
    border-right-width: 0;
    background-color: #fff;
    color: #428bca;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
}
.paging-btn-first {
    border-radius: 3px 0 0px 3px;
}
.paging-btn-last {
    border-radius: 0 3px 3px 0px;
    border-right: 1px solid #d4d4d4;
}
.paging-btn:hover {
    background: #e9e9e9;
    color: #428bca;
    text-decoration: none;
}
.paging-btn-disabled {
    cursor: not-allowed;
}
.paging-btn-disabled:hover {
    background: #fff;
}
.paging-btn-curr {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
    cursor: default;
}
.paging-btn-curr:hover {
    color: #fff;
    background: #428bca;
}
.pagination.justify {
    text-align: left;
}
.pagination.justify .paging {
    float: right;
}
.pagination .pageinfo {
    display: inline-block;
    line-height: 30px;
}
.pagination .pageinfo-text {
    color: #428bca;
    padding: 0 5px;
}
.pagination .pagecount {
    width: 70px;
}
.pagination .pageinfo-size {
    height: 22px;
    border: 1px solid #ccc;
    outline: 0;
}
.pagination .pageinfo-skip {
    width: 30px;
    height: 22px;
    line-height: 14px;
    padding: 4px 0;
    margin: 0 5px;
    border: 1px solid #ccc;
    outline: 0;
    text-align: center;
}
/*页码 end*/

/*下拉框 start*/
.ui-select { 
    position: relative;
    line-height: 1.42857143;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.ui-select.disabled {
    background-color: #eee;
    background-image: none;
}
.ui-select * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ui-select-bar {
    position: relative;
    width: 100%;
    height: 34px;
    padding: 6px 24px 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    cursor: pointer;

    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.ui-select-sm .ui-select-bar{
    height: 30px;
    padding: 3px 15px;
}

.ui-select.disabled .ui-select-bar {
    background-color: #eee;
    cursor: not-allowed;
}
.ui-select.expand .ui-select-bar {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.ui-select-text {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background-color: transparent;
}
.ui-select.disabled .ui-select-text {
    cursor: not-allowed;
}
.ui-select-caret {
    position: absolute;
    right: 6px;
    top: 0;
    width: 6px;
    height: 100%;
}
.ui-select-caret b {
    width: 0;
    height: 0;
    font-size: 0;
    border: solid transparent;
    border-width: 6px 3px;
    border-top-color: #555;
    position: relative;
    top: 8px;
    vertical-align: middle;
}
.ui-select.expand .ui-select-caret b {
    border-top-color: transparent;
    border-bottom-color: #555;
    top: 0;
}
.ui-select-box {
    position: absolute;
    z-index: 9999;
    display: none;
    /*width: 100%;*/
    border: 1px solid #bbb;
    /*border-top: 0;*/
    border-radius: 0 0 4px 4px;
    color: #000;
    background: #fff;  
}
.ui-select-search {
    padding: 5px;
}
.ui-select-list {
    max-height: 200px;
    overflow-y: auto;
}
.ui-select-list table {
    width: 100%;
    table-layout: fixed;
}
.ui-select-list table td:first-child {
padding: 4px 4px 4px 12px;
}
.ui-select-list table td {
    padding: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ui-select-list table tbody tr:hover {
	background: #e3e8f7;
    cursor: pointer;
}
.ui-select-list table tr.active { 
    color: #0886e9;
}
.ui-select-checkbox {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    background: url(/assets/img/checkbox.png) no-repeat 0 0;
}
.ui-select-list table tr.active .ui-select-checkbox {
    background-position: -16px 0;
}
/*下拉框 end*/

/*上传按钮*/
.uploadify {
    position: relative;
    display: inline-block;
    width: 100%;
}
.uploadify-desc {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
}
.uploadify-queue-item,
.finish-queue-item  {
    display: table;
    width: 100%;
    margin-top: 10px;
    table-layout: fixed;
}
.uploadify-queue-item > *,
.finish-queue-item > *  {
    display: table-cell;
    padding-right: 10px;
    vertical-align: middle;
}
.uploadify-queue .file-icon {
    width: 30px;
}
.uploadify-queue .icon.queued,
.uploadify-queue .icon.error  {
    background: transparent url(/assets/img/icon_waiting.gif) center center no-repeat;
}
.uploadify-queue .icon.uploading {
    background: transparent url(/assets/img/icon_uploading.gif) center center no-repeat;
}
.uploadify-queue .file-name-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.uploadify-queue .file-data {
    width: 80px;
}
.uploadify-queue .file-operate {
    width: 100px;
}
.uploadify-queue .file-operate > * {
    color: #0068B7;
    cursor: pointer;
}
.uploadify-queue .file-operate > *:hover {
    color: #f00;
    text-decoration: underline;
}
.uploadify-queue-item[data-status="error"] {
    background-color: #FDE5DD !important;
}
.uploadify-input-file {
    display: none !important;
}
/*滚动条 start*/
.scroll-target {
    position: relative;
    left: 0;
    top: 0;
}
.scrollbar {
    position: absolute;
    z-index: 999;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
.scrollbar:hover {
    background-color: #eee;
}
.scrollbar-x {
    left: 0;
    bottom: 0;
}
.scrollbar-y {
    right: 0;
    top: 0;
}
.scrollbar-outer {
    position: relative;
}
.scrollbar-inner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #afbebe;
}
.scrollbar-inner.ondrag {
    background-color: #fa0;
    transition: none;
}
/*滚动条 end*/

/*表单校验 start*/
.form-control-error {
    border-color: #f00 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
}
.form-control-error:focus {
    border-color: #f00 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483 !important;
}
/*表单校验 end*/

/*照片查看器 start*/
.gallery {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99990;
    width: 100%;
    height: 100%;
    display: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.gallery * {
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery-fade {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
.gallery-fade.in {
    opacity: 1;
    filter: alpha(opacity=100);
}
.gallery-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
.gallery-no-opacity .gallery-screen {
    background: #EEF3FA;
    opacity: 1;
}
.gallery-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99993;
    display: block;
    width: 49px;
    height: 49px;
    cursor: pointer;
    background: transparent url(/assets/img/close.png) no-repeat center;
    border-radius: 0 0 0 4px;
}
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    z-index: 99993;
    display: block;
    width: 49px;
    height: 49px;
    margin-top: -25px;
    cursor: pointer;
}
.gallery-prev {
    left: 0;
    background: url(/assets/img/arrows.png) no-repeat 0 0;
    border-radius: 0 4px 4px 0;
}
.gallery-next {
    right: 0;
    background: url(/assets/img/arrows.png) no-repeat 100% 0;
    border-radius: 4px 0 0 4px;
}
.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover {
    background-color: #ccc;
}
.gallery-content {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99991;
    width: 100%;
    height: 100%;
}
.gallery-imgbox {
    width: 100%;
    overflow: hidden;
    font-size: 0;
    position: relative;
}
.gallery-img {
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;

    box-shadow: -20px 20px 20px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
.gallery-toolbar {
    width: 100%;
    height: 36px;
    line-height: 36px;
    color: #fff;
    position: relative;
    /*background-color: rgba(0, 0, 0, .5);
    filter: progid:DXImageTransform.Microsoft.Gradient(startcolorstr=#7F000000, endcolorstr=#7F000000); */
}
.gallery-toolbar-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
.gallery-no-opacity .gallery-toolbar-mask {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.gallery-left {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 300px;
    padding-left: 100px;
    overflow: hidden;
}
.gallery-center {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
}
.gallery-right {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    padding-right: 100px;
}
.gallery-bar-btn {
    display: inline-block;
    height: 100%;
    cursor: pointer;
}
.gallery-icon {
    display: inline-block;
    height: 20px;
    margin: 0 5px;
    opacity: .6;
    filter: alpha(opacity=60);
    width: 22px;
    vertical-align: middle;
    background: url(/assets/img/gallery_icon.png) transparent no-repeat;
}
.gallery-bar-btn:hover .gallery-icon {
    opacity: 1;
    filter: alpha(opacity=100);
}
.gallery-zoomin .gallery-icon {
    background-position: 0 center;
}
.gallery-zoomout .gallery-icon {
    background-position: -22px center;
}
.gallery-origin .gallery-icon {
    background-position: -66px center;
}
.gallery-rotate .gallery-icon {
    background-position: -44px center;
}
.gallery-showList .gallery-icon {
    background-position: -110px center;
}
.gallery-showList.up .gallery-icon {
    background-position: -88px center;
}
.gallery-marquee-con {
    display: none;
    width: 100%;
    height: 100px;
    line-height: 10px;
    transition: all .25s;
    position: relative;
}
.gallery-marquee-con.open {
    display: block;
}
.gallery-no-opacity .gallery-marquee-con {
    background-color: #fff;
}
.gallery-slideLeft,
.gallery-slideRight {
    display: inline-block;
    width: 28px;
    height: 92px;
    text-align: center;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    background: url(/assets/img/album-arrow.png) no-repeat;
    cursor: pointer;
    position: relative;
    top: -4px;
}
.gallery-slideRight {
    background-position: 0 -94px;
}
.gallery-slideLeft:hover {
    background-position: -28px 0;
}
.gallery-slideRight:hover {
    background-position: -28px -94px;
}
.gallery-imgList {
    display: inline-block;
    height: 100%;
    overflow: hidden;
}
.gallery-imgList ul {
    height: 100%;
    margin: 0;
    position: relative;
    left: 0;
    transition: all .25s;
}
.gallery-imgList li {
    float: left;
    width: 100px;
    height: 100px;
    line-height: 94px;
    text-align: center;
    border: 3px solid transparent;
    font-size: 0;
    overflow: hidden;
}
.gallery-imgList li:hover,
.gallery-imgList li.active {
    border-color: #3388fb;
    cursor: pointer;
}
.gallery-imgList li img {
    max-width: 94px;
    max-height: 94px;
    vertical-align: middle;
}
/*照片查看器 end*/

/*resize start*/
.ui-resize-container {
    position: relative;
}
.ui-resize {
    position: absolute;
    z-index: 999;
    cursor: e-resize;
    background-color: #ddd;
}
.ui-resize-drag {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    cursor: e-resize;
}
/*resize end*/

/*右键菜单 start*/
.ui-menu {
    position: absolute;
    z-index: 9999;
    min-width: 120px;
    max-height: 300px;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
    list-style: none;
    overflow: auto;
}
.ui-menu-item {
    position: relative;
    padding: 6px 10px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    line-height: 1.5;
    background-color: #fff;
}
.ui-menu-item:first-child {
    border-top-width: 0;
}
.ui-menu-item.hover {
    background-color: #e3e8f7;
    cursor: default;
}
.ui-menu-item-icon,
.ui-menu-children-icon {
    position: absolute;
    top: 6px;
    display: block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
}
.ui-menu-item-icon {
    left: 10px;
}
.ui-menu-children-icon {
    width: 8px;
    right: 10px;
}
.ui-menu-children-icon:before {
    content: "";
    display: block;
    position: relative;
    top: 4px;
    border: solid transparent;
    border-width: 5px 0 5px 8px;
    border-left-color: #333;
}
.ui-menu-item-text {
    display: block;
    margin: 0 20px;
    padding: 0 5px;
    border-left: 1px solid #ddd;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ui-menu-item .ui-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
}
/*右键菜单 end*/

/*input自动补全 start*/
.ui-autoComplete {
    position: relative;
}
.ui-autoComplete-result {
    display: none;
    position: absolute;
    z-index: 999;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    overflow: auto;
}
.ui-autoComplete-result table {
    width: 100%;
}
.ui-autoComplete-result table td {
    padding: 4px 10px;
    word-break: break-all;
}
.ui-autoComplete-result table tr + tr {
    border-top: 1px dashed #ddd;
}
.ui-autoComplete-result table tr:hover {
    background-color: #eee;
    color: #0088cc;
    cursor: default;
}
/*input自动补全 end*/

/*正则验证 start*/
.validate-error {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.validate-error:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}
.validate-tip {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 9999;
    padding: 3px 8px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    font-style: normal;
    background-color: #f2dede;
    border-radius: 4px;
}
.validate-tip.top {
    margin-top: -8px;
}
.validate-tip.right {
    margin-left: 8px;
}
.validate-tip.bottom {
    margin-top: 8px;
}
.validate-tip.left {
    margin-left: -8px;
}
.validate-tip:before {
    position: absolute;
    width: 0;
    height: 0;
    content: "";
    border: 5px solid transparent;
}
.validate-tip.top:before {
    bottom: 0;
    left: 50%;
    margin-bottom: -5px;
    margin-left: -5px;
    border-bottom-width: 0;
    border-top-color: #f2dede;
}
.validate-tip.right:before {
    top: 50%;
    left: 0;
    margin-top: -5px;
    margin-left: -5px;
    border-left-width: 0;
    border-right-color: #f2dede;
}
.validate-tip.bottom:before {
    top: 0;
    left: 50%;
    margin-top: -5px;
    margin-left: -5px;
    border-top-width: 0;
    border-bottom-color: #f2dede;
}
.validate-tip.left:before {
    top: 50%;
    right: 0;
    margin-top: -5px;
    margin-right: -5px;
    border-right-width: 0;
    border-left-color: #f2dede;
}
.validate-tip .glyphicon {
    margin-right: 8px;
    vertical-align: middle;
    color: #a94442;
}
.validate-tip-text {
    display: inline-block;
    max-width: 200px;
    vertical-align: middle;
    text-align: left;
}
/*正则验证 end*/