body{ 
    font-family: 'Nanum Barun Gothic', sans-serif;
    font-size: medium;
}
.rank1{
    background-color: gold;
}
.rank2{
    background-color: silver;
}
.rank3{
    background-color: burlywood;
}
.rank4{
    background-color: lavender;
}
.index-rank{
    font-family: 'Nanum Gothic';
    /* font-size: 18px; */
    font-weight: bold;
}
.none{
    display: none;
}

.body {
    position: relative;
    width: 720px;
    height: 440px;
    margin: 20px auto;
    border: 1px solid #dddd;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.box-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-2 {
    padding: 10px;
}

.box-1,
.box-2 {
    width: 50%;
}
.container .box {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    text-decoration: none;
    color: #615f5fdd;
}
@media (max-width:767px) {
    body {
        padding: 5px;
    }

    .body {
        width: 100%;
        height: 100%;
    }

    .box-1 {
        width: 100%;
        max-height: 400px;
    }

    .box-1 img {
        max-height: 400px;
    }

    .box-2 {
        width: 100%;
        height: 430px;
    }
    td > img {
        max-width: 80vw;
        max-height: 350px;
        object-fit: cover;
    }
}




.counter{
    font-weight: bold;
    color: #130707;
    background: #fff;
    text-align: center;
    width: 330px;
    padding: 25px 30px 10px;
    margin: 0 auto;
    border-radius: 30px 0 ;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}
.counter:before{
    content: "";
    background: #51d658;
    border-radius: 15px 0 30px 0;
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.15);
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 27px;
    z-index: -1;
}
.rank1:before{
    font-family: 'Nanum Gothic', sans-serif;
    background: gold;
}
.rank2:before{
    background: silver;
}
.rank3:before{
    background: burlywood;
}
.counter .counter-icon{
    font-size: 35px;
    margin: 0 0 10px;
    transform: rotateX(0deg);
    transition: all 0.3s ease 0s;
}
.counter:hover .counter-icon{
    transform: rotateX(360deg);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.counter h3{
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}
.counter .counter-value{
    color: #666;
    background: #fff;
    font-size: 33px;
    font-weight: 600;
    text-align: right;
    line-height: 60px;
    width: 90%;
    height: 50px;
    padding: 0 15px;
    margin: 0 0 0 -20px;
    display: block;
}
.counter.pink:before{ background-color: #FF5D94; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
}
.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: 1;
    border-radius: .2rem;
}
th{
    font-family: 'Nanum Gothic';
    font-size: 17px;
    /* width: 2000px; */
}
td{
    white-space: normal;
    /* width: 2000px; */
}
.date{
    width: 100px;
}
.name{
    font-family: 'Nanum Gothic';
    font-size: 21px;
    font-weight: bold;
    /* width: 10000px; */
}

.dtr_details tr td{
    padding-left: 25px!important;
}

/* 반짝이는 yakuman class 구현 */
.yakuman {
    -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    mask-image: -webkit-linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    -webkit-mask-size: 800%;
    mask-size: 800%;
    -webkit-mask-position: 0;
    mask-position: 0;
    -webkit-animation: yakuman-animation 2.5s infinite;
    animation: yakuman-animation 2.5s infinite; /* Add this line for the animation */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
@keyframes yakuman-animation {
    0% { -webkit-mask-position-x: 0; -webkit-mask-position-y: 0; mask-position: 0; }
    100% { -webkit-mask-position-x: 120%; -webkit-mask-position-y: 120%; mask-position: 120%; }
}


.stat_color > thead {
    background-color: rgb(208, 215, 219);
}

#left-header {
    background-color: rgb(208, 215, 219);
}

.delay_load {
    opacity: 0;
}

/* 투명 scroll bar */
html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}


/* stat 페이지 테이블 padidng 설정 */
table.dataTable thead th,table.dataTable thead td {
    padding: 8px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3)
}

table.dataTable tbody th, .td-stat {
    padding: 8px 5px;
}

#td-date {
    padding: 5px 0px;
}

@media (max-width:767px) {
    .td-pct {
        font-size: small;
    }
}

/* ref https://datatables.net/forums/discussion/70046/how-can-i-remove-all-sort-arrows-from-all-columns */
table.dataTable>thead .sorting::before,
table.dataTable>thead .sorting_asc::before,
table.dataTable>thead .sorting_desc::before,
table.dataTable>thead .sorting_asc_disabled::before,
table.dataTable>thead .sorting_desc_disabled::before {
    right: 0 !important;
    content: "" !important;
}
  
 table.dataTable>thead .sorting::after,
 table.dataTable>thead .sorting_asc::after,
 table.dataTable>thead .sorting_desc::after,
 table.dataTable>thead .sorting_asc_disabled::after,
 table.dataTable>thead .sorting_desc_disabled::after {
    right: 0 !important;
    content: "" !important;
}
  
 table.dataTable>thead>tr>th:not(.sorting_disabled),
 table.dataTable>thead>tr>td:not(.sorting_disabled) {
    padding-right: 5px !important;
    padding-left: 5px !important;
}
  
 table.dataTable>thead>tr>th,
 table.dataTable>thead>tr>td {
    padding-right: 5px !important;
    padding-left: 5px !important;
}