@import "~/app-resources/less/theme.less";

.wrapper,
.wrapper .page-wrapper {
    height: 100%;
}

.wrapper .page-wrapper .main-contents {
    height: calc(~"100% - 60px");
}


.ellipsis {
    white-space: nowrap !important;
    -ms-text-overflow: ellipsis !important;
    -o-text-overflow: ellipsis !important;
    text-overflow: ellipsis !important;
    overflow-x: hidden !important;
}

.app-overview {
    background-color: @color-background;
    position: absolute;
    height: 100%;
    min-width: 100%;

    .scroller {
        overflow-y: hidden;
        position: relative;
        height: 100%;
    }

    .ps-container > .ps-scrollbar-y-rail {
        width: 5px;
    }

        .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
            width: 5px;
            right: 0px;
        }

    .app-overview-right {
        margin-left: 280px;
        width: calc(~"100% - 280px");
        height: 90%;
        min-width: 200px;
        float: left;

        .new-right-header {
            width: 100%;
            height: 140px;
            padding-right: 50px;

            .head-row {
                padding-left: 20px;
                width: 100%;
                height: 40px;
                margin: 10px 0 10px 0;
                display: inline-block;

                .total-projects {
                    font-family: "Microsoft YaHei Bold", "Microsoft YaHei Regular", "Microsoft YaHei";
                    font-weight: 700;
                    font-style: normal;
                    line-height: 40px;
                    font-size: 22px;
                    color: #333;
                    display: inline-block;
                }

                .overview-picker {
                    float: right;
                    width: 150px;
                    height: 32px;
                    border: 1px solid #c7c5c0;
                    display: inline-block;

                    .red-color {
                        color: @color-light-red;
                    }

                    .vat-subheader {
                        display: inline-block;
                        font-size: 15px;
                        height: 30px;
                        line-height: 30px;
                        vertical-align: middle;
                        border: none;


                        select {
                            appearance: none;
                            -moz-appearance: none;
                            -webkit-appearance: none;
                            background: transparent;
                        }
                    }
                }
            }

            .project-staus {
                width: 100%;
                height: 40px;
                padding-left: 20px;
                font-family: "Microsoft YaHei Bold", "Microsoft YaHei Regular", "Microsoft YaHei";
                font-weight: 600;
                font-style: normal;
                line-height: 20px;
                font-size: 14px;
                color: #333;
                /*display: inline-block;*/
                .num-style {
                    height: 20px;
                    width: 40px;
                    background-color: #dcc7c7;
                    border-radius: 50px;
                    text-align: center;
                    display: inline-block;
                }

                .result-style {
                    height: 40px;
                    font-family: "Microsoft YaHei Bold", "Microsoft YaHei Regular", "Microsoft YaHei";
                    font-weight: 600;
                    font-style: normal;
                    line-height: 40px;
                    font-size: 18px;
                    color: #333;
                }
            }

            .task-list {
                padding-left: 20px;
                width: 100%;
                padding-right: 50px;
                border-bottom: 1px solid #dbd8d3;

                .taskMsg {
                    font-weight: 500;
                    font-style: normal;
                    line-height: 40px;
                    font-size: 20px;
                }
            }
        }

        .new-right-body {
            width: 100%;
            height: calc(~"100% - 200px");

            .scroller {
                overflow-y: hidden;
                position: relative;
                height: 100%;
            }

            .ps-container > .ps-scrollbar-y-rail {
                width: 5px;
            }

                .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
                    width: 5px;
                    right: 0px;
                }

            .right-header {
                width: 100%;
                height: 60px;
                line-height: 60px;
                vertical-align: middle;
                font-size: 18px;
                padding-right: 50px;

                >span:first-child {
                    margin-left: 20px;
                }

                .overview-picker {
                    float: right;
                    width: 150px;
                    height: 40px;
                    border: 1px solid #c7c5c0;
                    display: inline-block;
                    line-height: 40px;
                    margin-top: 11px;

                    .red-color {
                        color: @color-light-red;
                    }

                    .vat-subheader {
                        display: inline-block;
                        font-size: 15px;
                        height: 30px;
                        line-height: 30px;
                        vertical-align: middle;
                        border: none;


                        select {
                            appearance: none;
                            -moz-appearance: none;
                            -webkit-appearance: none;
                            background: transparent;
                        }
                    }
                }

                .button-sort {
                    display: inline-block;
                    float: right;

                    .btn-default {
                        height: 40px;
                        font-family: 'Arial';
                        font-weight: 400;
                        /*border-radius: 0px;*/
                        font-style: normal;
                        min-width: 100px;
                        border-radius: 0px;
                    }

                    .dropdown-menu {
                        position: absolute;
                        top: 190px;
                        right: 121px;
                        left: inherit;
                        min-width: 150px;
                        line-height: 30px;
                    }

                    li:hover {
                        background-color: #D7D7D7;
                    }
                }


                .span-common {
                    float: right;
                    border: @thin-border solid @color-border;
                    width: 40px;
                    height: 40px;
                    line-height: 40px;
                    text-align: center;
                    vertical-align: middle;
                    margin-top: 10px;
                    text-transform: none;
                    text-decoration: none;
                    outline: none;
                    margin-top: 11px;
                }

                .active {
                    .span-common;
                    color: @color-red;
                }

                .inactive {
                    .span-common;
                    color: @color-gray;
                }
            }

            .cardViewWrapper {
                height: calc(~"100% - 200px");
                /*overflow-y: auto;*/
                .cardview {
                    float: left;
                    margin-top: 20px;
                    margin-left: 20px;
                    margin-right: 30px;
                    background-color: @color-background;
                    width: 320px;
                    height: 180px;
                    border: @thin-border solid @color-border;
                    border-color:#E4E4E4;
                    cursor: pointer;
                    -webkit-border-radius: 10px;
 -moz-border-radius: 2px;
 -o-border-radius: 2px;
 -ms-border-radius: 2px;
 -khtml-border-radius: 2px;
 border-radius: 2px;

                    .cardview-header {
                        height: 40px;
                        line-height: 40px;
                        vertical-align: middle;
                        margin-top: 10px;
                        margin-left: 24px;
                        /*border-bottom: @thin-border solid @color-border;*/
                        .org-name {
                            font-weight: bold;
                            font-size: 16px;
                            color: #666666;
                            font-family: 'Microsoft YaHei';
                            padding-top: 30px;
                        }

                        span {
                            margin-left: 10px;
                        }
                          span:last-child {
                            float:right;
                        }


                        i {
                            font-weight: bold;
                            font-size: 15px;
                        }

                        .vatColor {
                            color: @color-pink;
                        }

                        .tpColor {
                            color: @color-red;
                        }

                        .citColor {
                            color: @color-yellow;
                        }
                    }

                    .cardview-body {
                        height: 100px;

                        .body-top-caption {
                            text-align: left;
                            margin-left: 10px;
                            margin-left: 24px;

                            span {
                                padding-top: 3px;
                                padding-bottom: 3px;
                                padding-left: 10px;
                                padding-right: 10px;
                                background-color: #f3f3f3;
                                outline: #D9D9D9;
                                height: 24px;
                                font-size: 12px;
                                color: #666666;
                                font-family: 'Microsoft YaHei';
                                /*background-color:#BDBDBD;
                                color:black;
                                font-size:11px;
                                padding:3px;*/
                            }
                        }

                        .body-icon {
                            display: inline-block;
                            width: 100px;
                            height: 100%;
                            text-align: center;
                            margin-top: 10px;
                            margin-left: 16px;

                            .service-icon {
                                font-size: 40px;
                                line-height: 100px;
                            }
                        }

                        .body-name {
                            display: inline-block;
                            vertical-align: top;
                            height: 100%;
                            margin-top: 20px;
                            margin-top: 20px;
                            margin-left: 20px;

                            .org-name {
                                outline: #D9D9D9;
                                height: 24px;
                                font-size: 12px;
                                color: #666666;
                                font-family: 'Microsoft YaHei';

                            }

                            .industry-name {
                                font-size: 12px;
                                padding-top: 10px;
                            }
                        }

                        a {
                            text-decoration: none;
                            text-align: center;
                            cursor: pointer;
                        }
                    }

                    .cardview-footer {
                        height: 20px;
                        font-size: 12px;
                        line-height: 20px;

                        .start-icon {
                            margin-left: 5px;
                            font-size: 20px;
                            cursor: pointer;
                        }

                        span {
                            margin-left: 30px;
                            font-size: 14px;
                        }
                        /*span:last-child {
                            float: right;
                            margin-right: 20px;
                        }*/
                        .lightColor {
                            color: @color-gray;
                        }
                    }
                }
            }

            .listView {
                /*height: calc(~"100% - 200px") !important;*/
                height: 101%;
                margin-left: 20px;
                margin-right: 50px;
                background-color: @color-background;
                border: 1px solid #c7c5c0;

                .project-manage-grid-operation {
                    display: inline-block;

                    a {
                        margin: 0 10px 0 0;
                        padding: 5px 10px 5px 8px;
                        border: 1px solid transparent;
                        border-radius: 20px 20px;
                        color: #333;

                        &:hover {
                            border: 1px solid #dc6900;
                            text-decoration: none;
                        }

                        &:visited {
                            text-decoration: none;
                        }

                        &:active {
                            text-decoration: none;
                        }

                        &:link {
                            text-decoration: none;
                        }

                        &.operate-btn {
                            border: 0;
                        }
                    }

                    i {
                        font-size: 18px;
                        vertical-align: middle;
                    }

                    >span {
                        color: #D7D7D7;
                    }
                }
            }

            .grid1499226425684 .ui-grid-render-container-body .ui-grid-viewport {
                height: 572px;
            }

            .dx-datagrid-rowsview .dx-row {
                cursor: pointer;
            }
        }
    }

    .app-overview-left {
        /*position: absolute;
        width: 280px;
        min-width: 200px;
        height: 100%;
        border-right: @thin-border solid @color-border;
        float: left;*/
        position: absolute;
        width: 280px;
        min-width: 200px;
        height: 100%;
        padding-bottom: 50px;
        border-right: @thin-border solid @color-border;
        background-color: #F2F2F2;

        .scroller {
            overflow-y: hidden;
            position: relative;
            height: calc(~"100% - 70px");
        }


        .ps-container > .ps-scrollbar-y-rail {
            width: 5px;
        }


            .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
                width: 5px;
                right: 0px;
            }
        /* > ul {
            margin: 0px;
            padding: 0px;
        }

        li {
            list-style: none;
        }*/
        .nav-wrapper {
            position: static;
            padding-bottom: 20px;
            padding-left: 20px;
            border-bottom: @thin-border solid @color-border;
            width: 100%;
            height: auto;
            overflow-x: auto;

            .scroller {
                overflow-y: hidden;
                position: relative;
                height: 100%;
            }

            .ps-container > .ps-scrollbar-y-rail {
                width: 5px;
            }

                .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
                    width: 5px;
                    right: 0px;
                }

            .nav-header {
                font-size: 16px;
                margin-bottom: 5px;
                padding-top: 20px;

                .rightfloat {
                    float: right;
                    margin-right: 20px;
                }
            }

            .treeview {
                width: 100%;
                height: auto;
                /*max-height: 400px;*/
            }

            .radiobox,
            .checkbox,
            .year {
                width: 100%;
                height: auto;
                max-height: 600px;

                .li {
                    float: left;
                    width: auto;
                    margin-top: 10px;


                    .input {
                        margin-left: 0;
                        margin-right: 10px;
                    }

                    span {
                        position: static;
                        margin-right: 10px;
                    }

                    .active {
                        display: inline-block;
                        width: 60px;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        vertical-align: middle;
                        margin-right: 10px;
                        background-color: @color-light-red;
                        color: @color-white;
                        /*opacity:0.5;
                        filter:alpha(opacity=50);*/
                    }

                    .inactive {
                        display: inline-block;
                        width: 60px;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        vertical-align: middle;
                        margin-right: 10px;
                        border: @thin-border solid @color-orange;
                    }
                }
            }
        }

        .group-operate-icon {
            margin-left: 1px;

            .operate-icon {
                display: inline-block;
                padding: 16px;
                border-right: 1px solid @color-light-gray-f3;
                border-top: 1px solid @color-light-gray-f3;
                border-bottom: 1px solid @color-light-gray-f3;
                vertical-align: middle;
                background-color: white;
                cursor: pointer;

                i {
                    font-size: 21px;
                    vertical-align: middle;
                    color: @color-light-gray-d9;
                }

                &.active {
                    i {
                        color: black;
                    }
                }

                &:hover {
                    background-color: #fbf8f5;
                }
            }

            .left-first {
                border-left: 1px solid @color-light-gray-f3;
            }
        }

        .tree-menu-item {
            .ellipsis;
            width: calc(~"100% - 23px");
        }

        .angular-ui-tree-handle {
            width: calc(~"100% - 23px");
        }
    }
    /* Grow */
    .pwc-grow {
        display: inline-block;
        vertical-align: middle;
        transform: translateZ(0);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0);
        backface-visibility: hidden;
        -moz-osx-font-smoothing: grayscale;
        transition-duration: 0.3s;
        transition-property: transform;
    }

        .pwc-grow:hover,
        .pwc-grow:focus,
        .pwc-grow:active {
            transform: scale(1.1);
        }
    /* Float Shadow */
    .pwc-float-shadow {
        display: inline-block;
        vertical-align: middle;
        -webkit-transform: perspective(1px) translateZ(0);
        transform: perspective(1px) translateZ(0);
        box-shadow: 0 0 1px transparent;
        position: relative;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: transform;
        transition-property: transform;
    }

        .pwc-float-shadow:before {
            pointer-events: none;
            position: absolute;
            z-index: -1;
            content: '';
            top: 100%;
            left: 5%;
            height: 10px;
            width: 90%;
            opacity: 0;
            background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
            background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
            /* W3C */
            -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
            -webkit-transition-property: transform, opacity;
            transition-property: transform, opacity;
        }

        .pwc-float-shadow:hover,
        .pwc-float-shadow:focus,
        .pwc-float-shadow:active {
            -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
            /* move the element up by 5px */
        }

            .pwc-float-shadow:hover:before,
            .pwc-float-shadow:focus:before,
            .pwc-float-shadow:active:before {
                opacity: 1;
                -webkit-transform: translateY(5px);
                transform: translateY(5px);
                /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
            }

    .textLabelHeader {
        font-size: 18px;
        font-weight: bold;
    }

    .margin20 {
        margin: 20px;
    }

    .margin10 {
        margin: 10px;
    }

    .marginRight10 {
        margin-right: 10px;
    }

    .progressNumberBadges {
        background-color: #e0301e;
    }
    /*搜索框*/
    .search-container {
        /*display: inline-block;*/
        height: 40px;
        border: 1px solid #c7c8ca;
        border-radius: 5px;
        line-height: 39px;
        margin-top: 12px;
        width: 256px;

        .search-input {
            border: none;
            outline: none;
            width: 84%;
            height: 30px;
            box-sizing: border-box;
            display: inline-block;
            padding: 0 5px 5px 10px;
            margin-left: 1%;
        }

        .search-icon {
            height: 20px;
            width: 15%;
            display: inline-block;
            background-color: white;
            border: 0px;
            box-sizing: border-box;
            padding-top: 0px;
        }

        .clearable input::-ms-clear {
            /* Remove IE default X */
            display: inline-block;
        }
    }

    .addNewProduct{
        .modal-dialog {
            width: 400px !important;
            margin-top: 200px
        }

        .overview-picker {
            //float: right;
            //width: 150px;
            height: 32px;
            border: 1px solid #c7c5c0;
            display: inline-block;

            .red-color {
                color: @color-light-red;
            }

            .vat-subheader {
                display: inline-block;
                font-size: 15px;
                height: 30px;
                line-height: 30px;
                vertical-align: middle;
                border: none;

            select {
                appearance: none;
                -moz-appearance: none;
                -webkit-appearance: none;
                background: transparent;
            }
            }
        }
    }
}

 #gridContainer2 {
    width:auto;
    height:100%; 
    border-radius: 3px;
    border: 1px solid #d4d4d4;
    padding: 2px;
}