/** 初始化 **/
html, body {
    width: 100%;
    height: 100%;
}

body, div, dl, dt, dd,
ul, ol, li,
h1, h2, h3, h4, h5, h6,
input, button, textarea,
p, blockquote, th, td, form, pre {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color: #333;
}

body {
    -webkit-font-feature-settings: 'kern' 1;
    -moz-font-feature-settings: 'kern' 1;
    -o-font-feature-settings: 'kern' 1;
    text-rendering: geometricPrecision;
    font-family: "Microsoft YaHei";
}

a:active, a:hover {
    outline: 0
}
img {
    display: inline-block;
    border: none;
    vertical-align: middle;
}
li {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3 {
    font-size: 14px;
    font-weight: 400;
}

h4, h5, h6 {
    font-size: 100%;
    font-weight: 400;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}


/** 滚动条 **/
::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}
::-webkit-scrollbar-button:vertical {
    display: none;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
    background-color: rgba(14, 148, 234, 0.2);
}
::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(0, 0, 0, .3);
}
::-webkit-scrollbar-thumb:vertical:hover {
    background-color: rgba(0, 0, 0, .35);
}
::-webkit-scrollbar-thumb:vertical:active {
    background-color: rgba(0, 0, 0, .38);
}


/* 下拉框 */
.select {
    width: 2.6rem;
    height: 0.4rem;
    position: relative;
    font-size: 15px;
    color: #cdddf7;
    outline: none;
}
.select-div {
    box-sizing: border-box;
    width: 2.6rem;
    height: 0.4rem;
    line-height: 0.4rem;
    border: 1px solid #0E94EA;
    background: url(../images/arrow.png) 95% center no-repeat;
    padding-left: 10px;
    cursor: pointer;
    position: absolute;

    top: 0;
    left: 0;
    color: #cdddf7;
}
.select-ul {
    position: absolute;
    width: 2.6rem;
    top: 0.4rem;
    left: 0;
    z-index: 10;
    display: none;
    background: #333;
    max-height: 4rem;
    overflow: auto!important;
}
.select-ul>li {
    height: 0.4rem;
    line-height: 0.4rem;
    padding-left: 10px;
    box-sizing: border-box;
    background-color: rgba(14, 148, 234, 0.2);
    cursor: pointer;
    color: #cdddf7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select-ul>li.active, .select-ul>li:hover {
    color: white;
    background: #0e94eb;
}

.chart-box {
    width: 90%;
    margin: auto;
    height: calc(100% - 0.42rem);
}

.container-flex {
    width: 100%;
    height: 100%;
    background: url(../images/index_bg.png) left top no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    outline: none;
}

.box-left {
    width: 28%;
    height: 100%;
    background: url(../images/line_img.png) top right repeat-y;
}
.left-top {
    width: 100%;
    height: 20%;
    text-align: center;
}
.left-top .ent-tj {
    background: url(../images/border_bg01.png) top left no-repeat;
    background-size: 100% 90%;
    background-position: center;
    height: 100%;
    position: relative;
}
.ent-tj .qysl {
    width: 100%;
    background: url(../images/title_bg01.png) center center no-repeat;
    font-size: 0.2rem;
    color: #0e94ea;
    font-weight: 900;
    position: absolute;
    top: 25%;
}
.ent-tj .ent-num {
    width: 100%;
    font-size: 0.46rem;
    color: white;
    position: absolute;
    top: 45%;
}

.left-center {
    width: 100%;
    height: 80%;
}


/* 行业占比 饼图  */
#pie{
    width: 100%;
    height: 30%;
}
.pie-data {
    width: 100%;
    height: 68%;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}
.pie-data p {
    width: 100%;
    font-size: 12px;
    color: #cdddf7;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    cursor: default;
    padding: 0 10px;
}
.pie-data p .legend {
    display: inline-block;
    width: 0.15rem;
    height: 0.15rem;
    border-radius: 2px;
    background: white;
}
.pie-data p>span {
    width: 0;
    flex-grow: 1;
    margin: 0 5px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.box-center {
    width: 44%;
    height: 100%;
    /*    background: green;*/
}
.center-top {
    width: 100%;
    height: 9%;
    position: relative;
    top: 0;
    left: 0;
    background: url(../images/title_border.png) bottom center no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-top>h1 {
    color: #cdddf7;
    font-size: 0.4rem;
    font-weight: 900;
    letter-spacing: 5px;
}
.center-center {
    width: 100%;
    height: 12%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

/* 当前时间样式 */
.date-box {
    width: 50%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
}
.date-box>.data {
    width: 2.19rem;
    height: 0.65rem;
}
.data>p {
    font-size: 0.16rem;
    margin: 0 5px;
    color: #cdddf7;
    text-align: center;
    margin: 0;
}
.data>p>span {
    margin: 0 5px;
}
.data>p.time {
    font-size: 0.42rem;
    height: 0.42rem;
    line-height: 0.42rem;
    align-items: center;
}

.select-box {
    width: 50%;
}

.center-bottom {
    width: 100%;
    height: 79%;
    position: relative;
    margin-top: -30px;
}


.box-right {
    width: 28%;
    height: 100%;
    background: url(../images/line_img.png) top left repeat-y;
}
.right-top {
    width: 100%;
    height: 33%;
    box-sizing: border-box;
    margin-top: 0.2rem;
}
.right-top .chart-box {
    top: 0.82rem;
}


.right-center {
    width: 100%;
    height: 33%;
    position: relative;
}





/* 公共采购 */
.right-bottom {
    width: 100%;
    height: calc(34% - 0.2rem);  /* right-top设置了margin-top:0.2rem */
}

.ggcg-data{
    height: calc(100% - 0.62rem);  /* 去掉title：0.42rem 和  ggcg-box的padding上下的0.1rem*/
}
.ggcg-box {
    margin: auto;
    overflow: hidden;
    height: 100%;
    align-items: center;
    flex-flow: row wrap;
    overflow-y: auto;
    padding: 0.1rem 0.2rem 0.1rem 0.3rem;
}
.ggcg-box .ggcg-title{
    font-size: 14px;
    color: #4c9bfd;
    height: 30px;
    line-height: 30px;
    float: left;
    width: 3.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.ggcg-box .ggcg-title a{
    color: #4c9bfd;
    text-decoration: none;
}
.ggcg-box .ggcg-title a:hover{
    text-decoration: underline;
}
.ggcg-box .ggcg-date{
    font-size: 14px;
    color: #4c9bfd;
    height: 30px;
    line-height: 30px;
    float: right;
    /*width: 0.9rem;*/
    text-align: right;
}



/* 小模块标题 */
.title-box {
    width: 4.9rem;
    height: 0.42rem;
    font-size: 0.2rem;
    color: white;
    background: url(../images/box_title.png) top left no-repeat;
    background-size: 100% 100%;
    margin: auto;
}
.title-box .title-label{
    float: left;
    color: white;
    display: inline-block;
    line-height: 0.42rem;
    margin-left: 20px;
}
.title-box .select{
    float: left;
    margin-left: 30px;
}
.title-box .select-div{
    float: left;
    width: 3rem;
    height: 0.3rem;
    line-height: 0.3rem;
    margin-top: 0.06rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 20px;
    cursor: pointer;
}
.title-box .select-ul {
    width: 3rem;
}
.title-box .more{
    float: right;
    margin-right: 30px;
    height: 0.42rem;
    line-height: 0.44rem;
    color: #fff;
    font-size: 14px;
}


/*手机*/
@media (max-width:576px) {
    .container-flex{
        display: block;
    }
    .box-left {
        width: 100%;
    }
    .box-center {
        background: url(../images/index_bg.png) left top no-repeat;
        background-size: 100% 100%;
        width: 100%;
        color: #212529;
        margin-top: 20px;
    }
    .box-right {
        background: url(../images/index_bg.png) left top no-repeat;
        background-size: 100% 100%;
        width: 100%;
        color: #212529;
        margin-top: 20px;
    }
    .ggcg-box{
        overflow: inherit;
    }
    .ggcg-box .ggcg-title{
        width: 70%;
    }
    .title-box {
        width: 92%;
    }
}