

/* Start Event Marathon Manga */
 
.event-marathon{
    border: 1px solid #e6e6e6;background-color: #fff;
    margin-top: 15px;
    border-radius: 8px;
    font-family: 'Nunito Sans';
}

.marathon-right-header{
    display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin: 8px 5px;
}

.marathon-right-header h2{
    font-family: 'Nunito Sans';
}

.event-marathon-header{
    border-bottom: 1px solid #e6e6e6;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.event-marathon-body{
    margin: 15px;
}



.event-marathon-rank {
    text-align:center;
}



#event-marathon-last-update{
    float: right;
    /* margin: 10px; */
}

.marathon-left-container{
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    cursor: pointer;
}

.marathon-left-footer {
    margin-top: auto;
    text-align: center;
    z-index: 1;
    padding-top:18px;
    padding-bottom: 10px;
}

.marathon-left-footer img {
    max-width: 100%;
    height: auto;
    display: block;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.marathon-left-body{
    display: flex; flex-direction: row; align-items: flex-end; width:100%; padding-top: 24px; text-align: left;
}

.icon-top-marathon {
    text-align: center;
}

.frame-top-marathon-left {
    display: flex; flex-direction: row; align-items: center; border-radius: 12px; border: 1px solid #212121; min-height: 45px; margin: 12px 6px 0 6px; padding:8px;
}

.customer-marathon-top-info{
    flex: 1; margin-left: 12px; min-width: 0;
}
.icon-mini-marathon-left{
    width: 30px;
}

.customer-marathon-top-info .name, .customer-info-marathon-right .name{
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-word; transition: all 300ms ease-in 0s; min-width: 0; line-height: 1.7; font-weight: 600; font-family: 'Nunito Sans';
}
.customer-marathon-top-info .name{
    padding-bottom: 3px;
}

#event-marathon-list-right{
    overflow-y: auto; width: 100%; height: 100%; max-height: 360px;
}

.event-marathon-item{
    display: flex; flex-direction: row; align-items: center; padding:4px 8px; margin: 10px 0; border-radius:8px; width:99%; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
}

.rank-icon-marathon-right{
    width: 25%; display: flex; align-items: center; padding-left: 4px;
}

.customer-info-marathon-right-container{
    width:75%; display:flex; flex-direction:row; align-items: center
}

.number-rank-marathon-right{
    width: 60px; text-align: center; color: white; font-weight: 900; font-size: 30px;
}

.icon-mini-marathon-right {
    width: 35px; margin-left: 4px;
}

.customer-info-marathon-right{
    flex: 1; padding: 0 4px;
}

.frame-total-marathon-container{
    position: relative; min-width: 120px; height: 25px;
}

.customer-total-marathon-right{
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

#event-marathon-list-right::-webkit-scrollbar {
    width: 6px;
    margin-left: 6px;
}

#event-marathon-list-right::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    background-clip: padding-box; 
}
.customer-marathon-top-info .total_order_marathon {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* padding: 10px; */
    border-radius: 20px;
    font-weight: 600;
    color: white;
    height: 23px;
    position: relative;
    justify-content: center;
    position: relative;
}
.total_order_marathon img {
    height: inherit;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    left: -6px;
}
.customer-marathon-top-info .total{
    margin-left: 8px;
}

@media (max-width: 768px){
    .customer-marathon-top-info .total{
        margin-left: 12px;
    }
   .total_order_marathon img {
        left: -2px;
    }
    .frame-top-marathon-left{
        position: relative;
        padding: 8px 4px 8px;
        margin: 12px 2px 2px
    }
    .icon-mini-marathon-left {
        width: 32px;
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }
    .icon-top-marathon{
        margin-top: -20px;
    }
    .customer-marathon-top-info{
        margin: 0;
        margin-top: 10px;
        text-align: center;
    }
    .number-rank-marathon-right{
        width: 38px;
        font-size: 22px;
        padding-left: 0;
    }
    .icon-mini-marathon-right{
        width: 30px;
    }
    
    /* Rank 1 */
    .frame-top-marathon-left.rank-1 {
        background: linear-gradient(180deg, #E94850 0.41%, #FFFFFF 29.39%) !important;
    }

    /* Rank 2 */
    .frame-top-marathon-left.rank-2 {
        background: linear-gradient(180deg, #05B0FE 0.41%, #FFFFFF 29.39%) !important;
    }

    /* Rank 3 */
    .frame-top-marathon-left.rank-3 {
        background: linear-gradient(180deg, #4C6CF5 0.41%, #FFFFFF 29.39%) !important;
    }
    .customer-marathon-top-info .total_order_marathon {
        height: 20px;
    }
    .frame-total-marathon-container{
        max-width: 110px !important;
    }
    .marathon-left-container{
        min-height: 270px;
    }
}

@media (max-width: 375px){
    .customer-marathon-top-info .total_order_marathon {
        height: 18px !important;
    }
}

@media (max-width: 320px){
    .customer-marathon-top-info .total_order_marathon {
        font-size: 12px !important;
        height: 18px !important;
    }
    .total_order_marathon img{
        position: unset;
        height: 12px;
        margin-left: 3px;
    }
    .customer-marathon-top-info .total{
        margin-left: 0;
    }
}
/* End Event Marathon Manga */
