﻿/*
 * Base structure
 */

/* 重写模态框为右侧抽屉 */
.modal.drawer-right {
    overflow-y: hidden; /* 防止页面整体滚动 */
}

/* 遮罩层保持原有样式，仅调整过渡 */
.drawer-right .modal-backdrop {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.drawer-right.show .modal-backdrop {
    opacity: 0.5;
}

/* 抽屉容器样式 */
.drawer-right .modal-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 750px; /* 抽屉宽度，可自定义 */
    max-width: 100%;
    height: 100%;
    transform: translateX(100%); /* 初始状态：完全隐藏在右侧 */
    transition: transform 0.5s ease-out; /* 滑入滑出过渡 */
    border-radius: 0; /* 去掉圆角 */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1); /* 左侧阴影增强层次感 */
}

/* 显示抽屉时的状态 */
.drawer-right.show .modal-dialog {
    transform: translateX(0); /* 滑入可视区域 */
}

/* 抽屉内容容器 */
.drawer-right .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
    overflow-y: auto; /* 内容超出时可滚动 */
}

/* 响应式调整：小屏幕下宽度占满 */
@media (max-width: 576px) {
    .drawer-right .modal-dialog {
        width: 100%;
    }
}

/*右侧抽屉结尾*/

.card-header {
    padding: 0.6rem;
}

.table-wrap {
    border: none;
}

    .table-wrap td {
        padding: 5px;
    }

.table thead th {
    border-bottom: 1px solid #dee2e6;
}

.card-tools .btn-sm {
    font-size: 0.5rem;
}

.btn {
    margin: 0 3px;
}

[class*=sidebar-light-] {
    background-color: #F4F6F9;
}

body, .input-group-text, .form-control, .btn {
    font-size: 0.8rem;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(2rem + 2px);
}

.table-responsive .table-wrap .table-div table[grid-manager] th {
    line-height: 25px;
}

.table-wrap .table-div table[grid-manager] th .th-wrap .sorting-action .sa-icon {
    line-height: 20px;
}

.content-wrapper, .main-footer, .main-header {
    margin-left: 200px;
}

body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
    margin-left: 200px;
}

.main-sidebar, .main-sidebar:before, .sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 200px;
}

.user-panel .info {
    padding: 6px 10px 5px 10px;
    font-size: 0.8rem;
}

.user-panel img {
    width: 1.8rem;
}


.company-panel img {
    width: 2.5rem;
}

.company-panel .info {
    padding: 9px 10px 5px 10px;
    font-size: 1rem;
}

.navbar {
    padding: .3rem .5rem .8rem .5rem;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.main-header .nav-link {
    height: 1.5rem;
}

.control-label, label:not(.form-check-label):not(.custom-file-label) {
    font-weight: unset;
}

a, a:focus, a:hover {
    color: #000;
    text-decoration: none;
}

.table-div table th {
    font-weight: unset;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.sidebar::-webkit-scrollbar { /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.sidebar::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}

.sidebar::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}

.table {
    margin-bottom: 0;
}

.loading-overlay.loading-theme-light {
    opacity: 1;
    background: none;
}

.btn-search, .btn-search::after, .btn-search:active, .btn-search:hover, .btn-search:focus {
    background: #3385ff;
    color: #fff;
}

.btn-group.open .dropdown-toggle {
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: inherit;
}
/*
 * Global add-ons
 */
.popover {
    min-width: 300px;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


.page-header h2 {
    font-size: 18px;
    margin: 8px;
}

.main .page-header {
    padding: 2px;
    margin-top: 0;
    margin: 0;
}


.secondsidebar {
    display: none;
}

@media (min-width: 768px) {
    .secondsidebar {
        width: 130px;
        position: fixed;
        top: 60px;
        bottom: 0;
        left: 115px;
        z-index: 1000;
        display: block;
        padding-top: 41px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #ddd;
        border-right: 1px solid #eee;
    }
}

.secondsidebar .nav-sidebar > li > a {
    color: rgba(0,0,0,.75);
    background-color: #DDD;
}

.secondsidebar .nav-sidebar > .active > a,
.secondsidebar .nav-sidebar > .active > a:hover,
.secondsidebar .nav-sidebar > .active > a:focus {
    color: #000;
    background-color: #F7F6F2;
}

.secondsidebar .nav-sidebar > li > a:hover, .secondsidebar > .nav-sidebar > li > a:active {
    background-color: #EDEDED;
}
/*缩进导航*/
.container-main {
}

    .container-main .sidebar a {
        padding-left: 18px;
    }

    .container-main.ss_small .sidebar {
        min-width: 50px;
    }

        .container-main.ss_small .sidebar .nav_name {
            display: none;
        }

    .container-main.ss_small .secondsidebar {
        display: none;
    }

    .container-main.ss_small .main {
        margin-left: 50px;
    }

    .container-main.ss_small .sec-main {
        margin-left: 5px;
    }
/*
 * Placeholder dashboard ideas
 */
.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

    .placeholders h4 {
        margin-bottom: 0;
    }

.placeholder {
    margin-bottom: 20px;
}

    .placeholder img {
        display: inline-block;
        border-radius: 50%;
    }

.pagination-container {
    text-align: right;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 10px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a {
            color: #000;
        }

    .pagination > .active > a, .pagination > .active > a:hover {
        background-color: #eee;
        border-color: #eee;
    }

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .pagination > li > a, .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }

.modal {
    position: fixed;
    top: 30px;
    right: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal-title {
    line-height: 1;
}

.modal.fade {
    overflow-y: auto;
}

    .modal.fade .modal-dialog {
        transform: inherit;
    }

.modal-footer {
    clear: both;
}

.fade.in {
    opacity: 1;
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.close {
    color: #888;
    opacity: .8;
}

    .close:hover {
        color: #333;
        opacity: 1;
    }

.fileDetail.act .thumbnail {
    border: 1px solid #5874d8;
}

    .fileDetail.act .thumbnail .tuku_item_choose {
        display: block;
    }

.thumbnail {
    text-align: center;
    width: 100px;
    box-shadow: none;
    border: 1px solid #e7e7eb;
}

    .thumbnail:hover {
        border: 1px solid #5874d8;
    }

    .thumbnail .viewbox {
        position: relative;
        width: 98px;
        height: 98px;
        line-height: 98px;
        background-color: #f3f3f3;
    }

    .thumbnail .tuku_item_choose {
        display: none;
        position: absolute;
        right: 0;
        bottom: 0;
        content: "";
        width: 28px;
        height: 24px;
        background: url(../imgs/component.png?v=201811211600) no-repeat -135px -28px;
    }

    .thumbnail .tuku_item_del {
        display: none;
        width: 14px;
        height: 14px;
        position: absolute;
        right: -5px;
        top: -5px;
        background: url(../imgs/component.png?v=201811211600) no-repeat -435px 0;
        cursor: pointer;
    }

    .thumbnail:hover > .viewbox .tuku_item_del {
        display: block;
    }

    .thumbnail img {
        display: inline-block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        vertical-align: middle;
    }

    .thumbnail .progressName {
        text-align: center;
        word-wrap: break-word;
        min-height: 12px;
        font-size: 9px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .thumbnail .progress {
        margin-bottom: 0px;
        line-height: 23px;
    }

.progressContainer {
    padding: 0px;
    position: relative;
    display: inline-block;
}

.fileContainer .col-md-2 {
    float: left;
}


/*.text-overflow() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}*/
/*截取文本 省略号*/
.branch-name {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*鼠标悬停带遮罩的box*/
.ss-box {
    position: relative;
    width: 140px;
    height: 140px;
    line-height: 140px;
    display: inline-block;
    background-color: #dedede;
}

    .ss-box .primary-content, .ss-box .secondary-content {
        text-align: center;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
    }

        .ss-box .primary-content .thumbnail {
            width: 100%;
            height: 100%;
            background-color: inherit;
            border: none;
        }

        .ss-box .primary-content img {
            display: inline-block;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            vertical-align: middle;
        }

    .ss-box .secondary-content {
        opacity: 0;
        color: #FFF;
        background-color: #6e6e6e;
    }

        .ss-box .secondary-content a {
            color: #FFF;
            display: -webkit-inline-box;
        }

        .ss-box .secondary-content:hover {
            opacity: 1;
            background-color: rgba(0, 0, 0, 0.5);
        }

/*box End*/

/*鼠标悬停带遮罩的-小图 box*/
.ss-min-box {
    position: relative;
    width: 80px;
    height: 80px;
    display: inline-block;
    background-color: #dedede;
}

    .ss-min-box .primary-content, .ss-min-box .secondary-content {
        text-align: center;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
    }

        .ss-min-box .primary-content .thumbnail {
            width: 100%;
            height: 100%;
            background-color: inherit;
            border: none;
        }

        .ss-min-box .primary-content img {
            width: 100%;
            height: 100%;
        }

    .ss-min-box .secondary-content {
        opacity: 0;
        color: #FFF;
        background-color: #6e6e6e;
    }

        .ss-min-box .secondary-content a {
            color: #FFF;
            display: -webkit-inline-box;
        }

        .ss-min-box .secondary-content:hover {
            opacity: 1;
            background-color: rgba(0, 0, 0, 0.5);
        }

/*box End*/





.ss-info-box {
    display: block;
    min-height: 90px;
    background: #f7f6f2;
    width: 100%;
    min-width: 180px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 2px;
}

.ss-info-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    display: block;
    float: left;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    background: rgba(0,0,0,0.2);
}

.ss-info-box-content {
    padding: 5px 10px;
    margin-left: 90px;
}

.ss-info-box-title {
}

    .ss-info-box-title a {
        color: #000;
    }

.ss-info-box-text {
    font-size: 30px;
    font-weight: 600;
}
/*鼠标悬停文字，出现修改图标*/

.edit-box {
    position: relative;
}

    .edit-box .primary-content {
        position: relative;
    }

    .edit-box .secondary-content {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 0;
    }

        .edit-box .secondary-content:hover {
            opacity: 1;
        }

/*box End*/

.ss-percent {
    font-size: 12px;
    border-radius: 2px;
    color: #2dc3e8;
    border: 1px solid #2dc3e8;
    padding: 0 8px;
    vertical-align: top;
    max-width: 60px;
    line-height: 20px;
    margin-left: 5px;
}

.ss-finish-line {
    text-decoration: line-through;
    color: #999 !important;
}

.ss-level-0 {
    color: #777;
    font-size: 12px;
    margin-right: 2px;
}

.ss-level-1 {
    color: #f0ad4e;
}

.ss-level-2 {
    color: #d9534f;
}
/*validate*/
.validateform .form-group {
    margin-top: 0px;
    margin-bottom: 5px;
}

.form-control {
    height: calc(2rem + 2px);
}

    .form-control.error {
        border-color: #dd4b39;
        box-shadow: none;
    }

    .form-control:focus, .btn:focus {
        border-color: #80bdff;
        box-shadow: inset 1px 1px rgba(0,0,0,.075), 0 0 10px rgba(102,175,233,.9);
    }

.form-inline .input-group {
    margin: 3px;
}

    .form-inline .input-group > .form-control {
        min-width: 160px;
    }


.form-group .error {
    color: #dd4b39;
    font-weight: 100;
}
/*validate END*/
.head-addition label {
    font-weight: 100;
}

/*//滚动条整体部分*/
.scrum-stage-content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
/*//scroll轨道背景*/
.scrum-stage-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}
/*滚动条中能上下移动的小块*/
.scrum-stage-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #CECECE;
}
/*滚动条 End*/
.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        background-image: none;
        background-color: inherit;
    }


.account_wrapper {
    text-align: center;
    width: 300px;
    background-color: #FFF;
}

    .account_wrapper .user {
        border-bottom: 1px solid #eaeaea;
    }

    .account_wrapper .userlink .user_wap {
        display: none;
    }

    .account_wrapper .user .headimg {
        font-size: 50px;
        width: 50px;
        display: block;
        margin: auto;
    }

    .account_wrapper .info {
        padding-top: 15px;
        width: 90px;
        height: 90px;
        float: left;
        cursor: pointer;
    }

        .account_wrapper .info .icon {
            font-size: 35px;
        }

        .account_wrapper .info:hover {
            background-color: #dedede;
        }
/*nav.nav-pills*/
.ss-pills.nav-pills li {
    border: 1px dashed #e5e5e5;
    height: 52px;
    min-width: 100px;
    margin: 5px;
    padding: 8px;
}

    .ss-pills.nav-pills li a {
        line-height: 30px;
    }

.ss-pills.nav-pills .item.act {
    background-color: #A1CF64 !important;
}
/*ss-list*/
.ss-list-item .first, .ss-list-item .second {
    line-height: 22px;
}

.ss-list-item .second {
    margin-top: 8px;
}

    .ss-list-item .second .btn-group {
        padding: 0 5px;
    }

.ss-list-item .ckinfo {
    cursor: pointer;
    float: left;
    padding: 12px;
}

    .ss-list-item .ckinfo input {
        width: 18px;
        height: 18px;
    }
/*ss-panel*/
.ss-panel {
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    margin-bottom: 5px;
}

    .ss-panel .ss-panel-heading {
        width: 100%;
        background: #f5f5f6;
        height: 35px;
        border-bottom: 1px solid #ddd;
    }

    .ss-panel .ss-panel-tabs {
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

        .ss-panel .ss-panel-tabs li {
            position: relative;
            display: block;
            float: left;
            margin-bottom: -1px;
        }

    .ss-panel .ss-panel-heading .ss-panel-title {
        line-height: 35px;
        margin: 0 8px;
        padding: 0 8px;
    }

    .ss-panel .ss-panel-body {
        padding: 3px;
        min-height: 35px;
    }

    .ss-panel .ss-panel-heading .ss-panel-tabs li a {
        border: none;
        display: inline-block;
        border-bottom: 2px solid transparent;
        line-height: 35px;
        margin: 0 8px;
        padding: 0 8px;
        -webkit-transition: all 0s 0.1s;
        transition: all 0s 0.1s;
    }

        .ss-panel .ss-panel-heading .ss-panel-tabs li a:hover {
            border: none;
            color: #00C1DE;
            text-decoration: none;
        }

    .ss-panel .ss-panel-heading .ss-panel-tabs li.active a, .ss-panel .ss-panel-heading .ss-panel-tabs li.active a:hover {
        border: none;
        border-bottom: 2px solid #00C1DE;
        background: #f5f5f6;
        color: #00C1DE;
    }

    .ss-panel .ss-panel-footer {
        border-top: 1px solid #eaeaea;
    }

    .ss-panel.ss-panel-primary > .ss-panel-heading {
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
    }

    .ss-panel.ss-panel-success > .ss-panel-heading {
        color: #3c763d;
        background-color: #dff0d8;
        border-color: #d6e9c6;
    }

    .ss-panel.ss-panel-info > .ss-panel-heading {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1;
    }

    .ss-panel.ss-panel-warning > .ss-panel-heading {
        color: #8a6d3b;
        background-color: #fcf8e3;
        border-color: #faebcc;
    }

    .ss-panel.ss-panel-danger > .ss-panel-heading {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }

    .ss-panel.ss-panel-gray > .ss-panel-heading {
        color: #a0a0a0;
        background-color: #d6d6d6;
        border-color: #c6c6c6;
    }
/*背景色*/
.ss-default {
    background-color: #dedede;
}

.ss-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.ss-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.ss-warning {
    color: #fcf8e3;
    background-color: #f0ad4e;
    border-color: #faebcc;
}

.ss-danger {
    color: #f2dede;
    background-color: #d9534f;
    border-color: #ebccd1;
}

.main {
    padding: 5px;
}

    .main [name=search] {
        padding: 5px;
        width: 99%;
    }

        .main [name=search] .form-group {
            margin-top: 8px;
        }

.sec-main [name=search] .form-group .form-control {
    min-width: 243px;
}

.sec-main [name=search] .form-group .input-group .form-control {
    min-width: 203px;
}

.sec-main [name=search] .form-group label {
    min-width: 65px;
    text-align: right;
}

.content-wrapper > .content {
    padding: 0;
}

.table-responsive table {
    width: 99%;
}

    .table-responsive table th {
        border-right: 1px solid #ccc;
        background-color: #e4e3df;
        white-space: nowrap;
    }

.table-responsive .table-wrap .table-div table[grid-manager] th {
    background-image: none;
}

.table-responsive .table-wrap .loading {
    background: initial;
    opacity: 0;
    filter: alpha(opacity=0); /* IE */
    -moz-opacity: 0; /* 老版Mozilla */
    -khtml-opacity: 0; /* 老版Safari */
}

.table-responsive table > tbody > tr > td {
    border: 1px solid #ddd;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 30px;
}

    .table-responsive table > tbody > tr > td .td_editdiv {
        background-color: #e6ffe6;
        display: block;
        line-height: 40px;
        margin: -20px -4px;
    }

    .table-responsive table > tbody > tr > td .td_input, .table-responsive table > tbody > tr > td .editAct .td_text {
        display: none;
    }

    .table-responsive table > tbody > tr > td .editAct .td_input {
        display: initial;
    }


.secondsidebar .nav.nav-sidebar li {
    /*border-bottom: 1px solid #e3e3e3;*/
}

.secondsidebar .nav-sidebar > li > a:hover {
    background-color: #e5e5e5;
}

.ss-sort {
    padding-left: 5px;
    margin-left: 5px;
    cursor: pointer;
    font-weight: initial;
    border-left: 1px solid #ccc;
}

.ss-auth-key {
    display: none;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.info-box.min {
    min-height: 60px;
    padding: 3px;
}

    .info-box.min .info-box-content {
        margin-left: 0px;
    }

    .info-box.min .info-box-icon {
        height: 60px;
        width: 70px;
    }

    .info-box.min .info-box-text {
        line-height: 1.5rem;
    }

        .info-box.min .info-box-text label {
            margin-bottom: 0;
            font-size: 25px;
            line-height: 1.5rem;
        }

.progressContainer .icon-yes {
    display: none;
    position: absolute;
    width: 50px;
    right: 15px;
    top: 5px;
    z-index: 10;
}

    .progressContainer .icon-yes img {
        width: 50px;
        height: 50px;
    }

    .progressContainer.act .icon-yes, .progressContainer .icon-yes.act {
        display: block;
        width: 50px;
    }

.listspan .list-group-item {
    line-height: 50px;
    border: inherit;
    border-top: 1px dashed #e1e6eb;
}

th[gm-order] .th-wrap {
    padding: 6px 11px;
}
