
/**
    Start of Ranking Index
 */
#section_ranking .index_contents {
    width: 100%;
}
#section_ranking .index_contents .content {
    width: 100%;
    padding: 40px;
}

/* 종목군 탭. 모양은 common.css 의 .prediction_tab 공용 */
#section_ranking .ranking_section_tab{
    margin-bottom: 14px;
}

#section_ranking .content_wrap .option_wrap{
    text-align: right;
    margin-bottom: 4px;
}
#section_ranking .content_wrap .ranking_main_wrap{
    display: flex;
    justify-content: space-between;
}
#section_ranking .content_wrap .ranking_main_wrap .ranking_wrap{
    width: 49%;
}

#section_ranking .content_wrap .ranking_main_wrap .ranking_wrap > .title_item{
    margin-bottom: 20px;
}

.ranking_wrap .title_inner_tab {
}

.ranking_wrap .title_inner_tab span {
    font-weight: 500;
    font-size: 16px;
    color: #767676;
    margin-right: 12px;
    cursor: pointer;
}

/*#section_ranking .ranking_wrap  .title_inner_tab span.active {
    color: #6B6BFF;
    font-weight: bold;
}*/

@media (min-width: 1280px) {
    #section_ranking .content_wrap .ranking_main_wrap .ranking_wrap:nth-child(1) .ranker_period_select span:nth-child(2) {
        display: none;
    }
    #section_ranking .content_wrap .ranking_main_wrap .ranking_wrap:nth-child(2) .ranker_period_select span:nth-child(1) {
        display: none;
    }

    #section_ranking .content_wrap .ranking_main_wrap .ranking_wrap .title_item .title_inner_tab span {
        cursor: auto;
    }
}
@media (max-width: 1279px) {
    #section_ranking .content_wrap .ranking_main_wrap .ranking_wrap {
        display: none;
        width:100%;
    }
    #section_ranking .content_wrap .ranking_main_wrap .ranking_wrap.active {
        display: block;
    }

    #section_ranking .ranking_wrap  .title_inner_tab span.active {
        color: #6B6BFF;
        font-weight: bold;
    }
}



@media (max-width: 749px) {
    #section_ranking .index_contents .content{
        padding: 20px;
    }
}
@media (min-width: 620px) {
    .ranking_wrap table .mobile_version{
        display: none;
    }
}
@media (max-width: 619px) {
    .ranking_wrap .table_wrap{
        padding: 20px;
        /*padding: 20px 10px;*/
    }
    .ranking_wrap table thead{
        display: none;
    }
    .ranking_wrap table td{
        display: none;
    }
    .ranking_wrap table .mobile_version{
        display: table-cell;
        width: 100%;
    }
    .ranking_wrap table .mobile_version div{
        width: 100%;
    }
    .ranking_wrap table .mobile_version .content_header {
        display: flex;
        justify-content: space-between;
        background-color: #FAFAFC;
        border-radius: 10px;
    }
    .ranking_wrap table .mobile_version .content_header .rank{
        width:40px;
    }
    .ranking_wrap table .mobile_version .content_header .user{
        width:calc(100% - 40px);
    }
    .ranking_wrap table .mobile_version .content_body ul{
        width:90%;
        margin: auto;
    }
    .ranking_wrap table .mobile_version .content_body li{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #F7F7FA;
    }
}
/* ===== 네이밍 스폰서 ===== */
.sponsor_bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    background: #f7f8fa;
    border: 1px solid #e8eaef;
    border-radius: 8px;
}

.sponsor_bar a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.sponsor_bar .sponsor_logo {
    height: 22px;
    width: auto;
    vertical-align: middle;
}

.sponsor_bar .sponsor_title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.sponsor_bar .sponsor_mark {
    font-size: 11px;
    color: #8b8f99;
    padding: 2px 6px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    line-height: 1.4;
}

.sponsor_inline {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #5B21B6;
}

@media (max-width: 739px) {
    .sponsor_bar { padding: 8px 10px; }
    .sponsor_bar .sponsor_title { font-size: 13px; }
    .sponsor_bar .sponsor_logo { height: 18px; }
}
