.tabs {
    padding: 20px;
}

.tabs .tab {
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    border: 1px solid #bcc0bd;
    user-select: none;
    cursor: pointer;
    padding: 4px 15px;
}

.tabs .tab-active {
    background-color: #2dbd5a;
    color: #ffffff;
}

.tabs .tab:hover {
    background-color: #2dbd5a;
    color: #ffffff;
}

.tabs .tab:nth-of-type(2) {
    border-left: none;
    border-right: none;
}

.tabs .tab a {
    color: #2dbd5a;

}

.tabs .tab:hover a {
    color: #ffffff;
}

.tabs .tab-active a {
    color: #ffffff;
}

.content {
    padding: 84px;
}

.m-col {
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 0 14px 0 rgba(20, 25, 60, .2);
    background-color: #ffffff;
    /* transform: rotateX(-23deg) rotateZ(4deg) rotateY(12deg); */
    /* transition: all .4s ease-in-out; */

}

/* .m-col:hover {
    box-shadow: 0 0 18px 0 rgba(20, 25, 60, .3);
    transform: rotateX(-23deg) rotateZ(4deg) rotateY(12deg);
} */

.body {

    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;

    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
}

.rank {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 5%;
    display: flex;
    align-items: center
}

.rank span {
    border-radius: 36px;
    height: 36px;
    width: 36px;
    display: block;
    background-color: coral;
    text-align: center;
    color: #ffffff;
    line-height: 36px;
    font-weight: bolder;
    font-size: 20px;

}

.trade {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;

}

.top {
    font-size: 20px;
    font-weight: bolder;
    color: #2dbd5a;
    text-align: center;
}

.desc {
    font-size: 20px;
    font-weight: bolder;
    color: #bcc0bd;
    text-align: right;
}

.name {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 15%;
}

.storage {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
}

.profit {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
}

.total-profit {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
}


.detail {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    margin-top: 40px;
    height: 0;
    transition: height .25s ease-in-out;
    overflow: hidden;
}

.line {
    height: 480px;
    width: 100%;
}

.detail-open {
    height: 530px;
}