﻿.commodity-banner {
    background-repeat: no-repeat;
    background-size: cover;
    width: 1200px;
    height: 225px;
    overflow: hidden;
    margin-top: 15px;
}

.commodity-content {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    line-height: 30px;
}
/**左侧开始------------*/
.commodity-content-left {
    flex: 0 0 300px;
    padding: 0px 15px;
    background-color: #fafbfc;
}

.commodity-menuwrap {
    padding: 15px 0px;
    border-bottom: 1px #cacacc dashed;
}

    .commodity-menuwrap:last-child {
        border-bottom: none;
    }

.commodity-menutitle {
    color: #a91c22;
    font-size: 14px;
}

.commodity-menus {
    padding: 0px 10px;
}

.commodity-menuitem {
    color: #888888;
}

    .commodity-menuitem:before {
        content: "•";
        margin-right: 10px;
    }
/**左侧结束------------*/

.commodity-content-right {
    position: relative;
    flex-grow: 1;
    padding: 15px 10px 15px 30px;
}

.commodity-split {
    height: 10px;
}

.commodity-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.commodity-left {
    flex: 450px 0 0;
}

.commodity-right {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.commodity-avgprice {
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    padding: 10px 0px;
}

.commodity-title {
    font-size: 14px;
    font-weight: 600;
}

    .commodity-title span {
        color: #cacacc;
        font-weight: 400;
        font-size: 12px;
    }

#commodity-header {
}

    #commodity-header .c-datepicker-date-editor {
        height: 28px;
        line-height: 28px;
    }

#querybtn {
    width: 40px;
    border: 1px solid #dbdbdb;
    color: #1296db;
    text-align: center;
    padding: 0px 15px;
    height: 25px;
    line-height: 25px;
    margin-left: 10px;
}

#commodity-otherindex {
}

.commodity-otherindexitems {
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
}

.commodity-otherindexitem {
    flex: 0 0 250px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0px 7px 5px 0px;
}

    .commodity-otherindexitem:nth-child(3n) {
        margin-right: 0px;
    }

input[type=checkbox] {
    flex: 0 0 15px;
    height: 15px;
    position: relative;
    cursor: pointer;
    margin: 0px 5px 0px 0px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url(../../../images/icon/blue-checkbox.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

    input[type=checkbox].active {
        background-image: url(../../../images/icon/blue-checkbox_checked.svg);
    }

/*折线图*/
.commodity-chartwrap {
    width: 100%;
    height: 400px;
    margin-top: 15px;
}

#commodity-chart {
    width: 100%;
    height: 100%;
}

#commodity-citysel {
    display: none;
}

/*详情------------------开始*/
#commodity-indexdetailitems {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.commodity-indexdetailright {
    position: relative;
    flex-grow: 1;
}

.commodity-indexdetailwrap {
    position: relative;
    flex: 0 0 810px;
}

#indexdetaildatafix {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    background-color: #ffffff;
    user-select:none;
}

.indexdetail {
}

.indexdetail tr {
    height: 40px;
    line-height: 40px;
}

.indexdetail th, .indexdetail td {
    text-align: center;
    border-style: none;
    border-color: rgba(0,0,0,0.04);
    border-width: 1px;
    width:202px;
}

.indexdetail th {
    border-style: solid solid solid none;
}

.indexdetail tr th:last-child {
    border-right-style: none;
}

    .indexdetail td {
        border-style: none solid solid none;
    }

.indexdetail tr td:last-child {
    border-right-style: none;
}
/*
.indexdetail tr:last-child td {
    border-bottom-style: solid;
}*/

.indexdetail td.rise {
    color: red;
}

.indexdetail td.fall {
    color: forestgreen;
}
/*详情------------------结束*/
/**日期选择*/
#dateselrage {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

    #dateselrage .datesel {
        margin-right: 5px;
        padding: 0px 5px;
    }

        #dateselrage .datesel.actived {
            color: #1296db;
            font-weight: 600;
        }
