.p40{
    height: 40px;
}
.stock{
    padding: 80px 0 140px;
}

.stock .title-box{
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}
.stock .title-box h3{
    font-size: 24px;
    font-weight: 500;
    line-height: 48px;
    text-align: left;
}

.stock .row-box{
    overflow: hidden;
}

.stock .row-box .stock-box{
    width: 360px;
    display: inline-block;
    float: left;
    padding: 25px;
    background-color: #fbfbfb;
    border: 1px solid #ccc;
    border-top-color:#000;
}

.stock .row-box .stock-box .desc{
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 25px;
}

.stock .row-box .cur_price_box{
    height: 35px;
    vertical-align: middle;
}
.stock .row-box .cur_price_box .pull-left{
    background-color: #d8262e;
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight:500;
    display: inline-block;
    padding: 0px 15px;
    margin: 10px 0;
}
.stock .row-box .cur_price_box .pull-right{
    font-size: 35px;
    line-height: 35px;
    font-weight: 500;
}

.stock .row-box .stock-box .jonghab{
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 15px;
}
.stock .row-box .stock-box .name_box{
    padding: 10px 0 10px 20px;
    margin:  0 0 25px;
    border-radius: 5px;
    background-color: #0a2f8f;
    width: 100%;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    display: inline-block;
}

.stock .row-box .jisu-box{
    max-width: 400px;
    width: calc(100% - 360px);
    padding-left: 60px;
    float: left;
    display: inline-block;
    padding-top: 20px;
}
.stock .row-box .jisu-box .row-box{
    margin-bottom: 15px;
}

.stock .row-box .jisu-box .name_box2{
    padding: 5px 5px;
    width: 100px;
    text-align: center;
    background-color: #0a2f8f;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display:block;
    float: left;
    margin-right: 30px;
}

.stock .row-box .jisu-box .number{
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    display: block;
    float: right;
    
}
.stock .row-box .jisu-box .number.up{
    color: #c8483c;
}
/* .stock .row-box .jisu-box .number.up:before{
    content:"▲";
    color: #d8262e;
    font-size: 16px;
    vertical-align: top;
} */

.stock .information table{
    width: 100%;
}

.stock .information table tbody th{
    background: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    color: #323232;
}
.stock .information table tbody td{
    font-size: 14px;
    font-weight:500;
    color: #8f8f8f;
}
.stock .information table tbody th,
.stock .information table tbody td{
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    padding: 20px 30px;
}
.stock .information table tbody th.up,
.stock .information table tbody td.up{
    color: #d8262e;
    
}
.stock .information table tbody th.up.arrow:before,
.stock .information table tbody td.up.arrow:before{
    content: "▼";
}

.stock .information table tbody th.down,
.stock .information table tbody td.down,
.stock .row-box .jisu-box .number.down {
    color: #0a2f8f;
}

.stock .information table tbody th.down.arrow:before,
.stock .information table tbody td.down.arrow:before{
    content: "▼";
}
.stock .information table tbody td:last-of-type{
    border-right: 0;
}

.stock .information table tbody tr:first-of-type th,
.stock .information table tbody tr:first-of-type td{
    border-top: 2px solid #000;
}

.stock .information table tbody th.doubleju,
.stock .information table tbody tr:last-of-type th,
.stock .information table tbody tr:last-of-type td{
    border-bottom: 2px solid #000;
}
.cur_date{
    margin: 0 0 25px;
}
.stock .information table tbody th.doubleju{
    text-align: center;
    vertical-align: middle;
}

.stock .information p{
    font-size: 14px;
    color: #8f8f8f;
}

@media (max-width: 768px) {
    .stock {
        padding: 40px 0;
    }
    .stock .row-box .stock-box,
    .stock .row-box .jisu-box {
        width: 100%;
        float: none;
    }
    .stock .row-box .jisu-box {
        padding-left: 0;
    }
    .stock .row-box .stock-box {
        padding: 15px;
    }
    .stock .row-box .stock-box .name_box {
        font-size: 16px;
        padding: 5px;
    }
    .stock .row-box .stock-box .desc {
        margin-bottom: 5px;
    }
    .stock .row-box .stock-box .jonghab {
        margin-bottom: 5px;
    }
    .stock .information table tbody th, .stock .information table tbody td {
        padding: 15px;
    }
}
@media (max-width: 480px) { 
    .stock .information table tbody th, 
    .stock .information table tbody td {
        padding: 10px;
        font-size: 12px;
    }
}