#clear_form_purpose_mb,
.btn-clear {
    border: none;
    border-radius: 3px;
    background-color: #987945;
    border-color: #987945;
    color: #ddd;
    cursor: pointer;
}

#clear_form_special,
#clear_form_purpose {
    position: absolute;
    top: 18px;
    right: 16px;
    padding: 3px 7px;
}

#clear_form_purpose_mb {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 7px;
}

#get_location .modal-header select {
    margin-right: 72px;
}

#home_banner .owl-carousel .owl-stage-outer {
    height: 135px;
}

#home_banner .home-banner-item img {
    height: 120px;
    object-fit: cover;
}

#home_rank {
    margin-bottom: 30px;
}

#home_rank .select-genre-rank {
    position: absolute;
    right: 40px;
    top: 5px;
}

#home_rank .select-genre-rank select {
    width: 230px;
    height: 37px;
    font-size: 18px;
    padding-left: 20px;
    border-color: rgb(206, 206, 206);
    border-radius: 5px;
    outline: none;
    appearance: none;
    background: none;
    background-color: white;
}


#home_rank .select-genre-rank::before{
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    transform: translateY(-50%);
    pointer-events: none;
    right: 20px;
}

#home_rank .home-rank-container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

#home_rank .rank-list {
    background-color: #fff;
    width: 100%;
    padding: 40px 50px 40px 50px;
    border-radius: 5px;
}

#home_rank .rank-list .event-item {
    padding-right: 20px;
    padding-left: 20px;
    position: relative;
}

#list_rank_event {
    min-height: 330px;
}

#home_rank .rank-list .event-image>img{
    width: 100%;
    height: 170px;
    min-height: 170px;
    object-fit: cover;
    border: 1px solid rgb(194, 194, 194);
}

.event-image .icon-crown {
    position: absolute;
    top: -30px;
    left: 40px;
}

.event-image .number-top {
    position: absolute;
    top: -13px;
    left: 60px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.event-image .icon-crown svg {
    width: 50px;
    height: 50px;
}

.event-image .icon-crown-top-1 {
    fill: #e6b422;
}

.event-image .icon-crown-top-2 {
    fill: #bdbdbd;
}

.event-image .icon-crown-top-3 {
    fill: #ac6b25;
}

#home_rank .rank-list .title-group {
    display: flex;
    justify-content: space-between;
}

.title-group .event-fav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: -2px;
    z-index: 100;
}

.title-group .event-fav img{
    width: 28px;
    height: 28px;
    margin: 7px auto 4px auto;
    cursor: pointer;
}

.title-group .sml_txt{
    white-space: nowrap;
    font-size: 9px;
}

#home_rank .rank-list .event-title {
    font-size: 14px;
    font-weight: bold;
    color: #987945;
    margin: 13px 0 10px 0;
    width: 87%;
}

#home_rank .rank-list .event-date-time,
#home_rank .rank-list .event-location{
    font-size: 12px;
}

#home_rank .rank-list .event-date-time img,
#home_rank .rank-list .event-location img{
    width: 15px;
    height: 15px;
    margin-top: -3px;
    margin-right: 5px;
}

#home_rank .rank-list .event-date-time {
    margin-bottom: 4px;
}

.event-price {
    margin: 0;
    margin-top: 10px;
    font-size: 12px;
}

.event-price .item-price {
    display: flex;
    padding: 0;
    margin-bottom: 10px;
}

.event-price .price-group {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.event-price .item-price img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.event-price .num .sale {
    text-decoration: line-through;
}

.event-price .item-price .urgent-label {
    position: relative;
    white-space: nowrap;
    display: inline-block;
    background-color: #d43518;
    border: 1px solid #d43518;
    color: #fff;
    font-size: 12px;
    padding: 3px 4px;
    line-height: 1;
    margin-left: 5px;
    /* margin-top: 2px; */
}

#home_rank a.btn {
    background-color: #987945;
    color: #fff;
    height: 45px;
    font-size: 20px;
    border-radius: 7px;
    margin-top: 20px;
    line-height: 50px;
    padding: 0 30px;
}

#home_rank hr{
    display: none;
}

#home_rank a.inner-link {
    display: block;
    position: absolute;
    height: 100%;
    width: 85%;
    z-index: 10;
}
#homeColumn .archive-item .thumb>label,
#suggestedPost .archive-item .thumb>label {
    display: none;
}
@media (max-width: 767px) {
    header#masthead {
        z-index: 1000;
    }

    #br_about_evenz {
        display: none;
    }

    #home_banner .owl-carousel .owl-stage-outer {
        height: 215px;
    }

    #home_banner .home-banner-item img {
        height: 190px;
        object-fit: cover;
    }

    #home_rank .select-genre-rank {
        position: relative;
        right: 0;
        top: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    #home_rank .select-genre-rank select {
        width: calc(100% - 50px);
        text-align: center;
        padding-left: 0;
        background-color: #fff;
        background-image: none;
    }

    #home_rank .select-genre-rank::after,
    #home_rank .select-genre-rank::before {
        content: '';
        position: absolute;
        top: 50%;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #000;
        transform: translateY(-50%);
        pointer-events: none;
    }

    #home_rank .select-genre-rank::after {
        right: 50px;
    }

    #home_rank .select-genre-rank::before {
        left: 50px;
    }

    .home-rank-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    #list_rank_event {
        min-height: auto;
    }

    #home_rank .rank-list {
        padding: 60px 10px 35px 10px;
    }

    #home_rank .rank-list .event-item {
        padding: 20px;
        padding-top: 0px;
        margin-bottom: 25px;
        margin-top: 10px;
    }

    .title-group .event-fav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: -8px;
    }

    .event-image .icon-crown {
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .event-image .icon-crown svg{
        width: 60px;
        height: 60px;
    }

    .event-image .number-top {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }

    .title-group .sml_txt{
        font-size: 11px;
    }

    #home_rank .rank-list .event-title {
        font-size: 15px;
    }

    #home_rank .rank-list .event-date-time,
    #home_rank .rank-list .event-location{
        font-size: 13px;
    }

    .event-price {
        margin: 0;
        margin-top: 10px;
        font-size: 12px;
    }

    #home_rank hr{
        display: block;
    }

    #home_rank a.btn {
        width: 100%;
        margin-top: -15px;
    }

    #home_rank a.inner-link {
        height: calc(100% - 40px);
    }
}

@media(max-width:370px) {
    #get_location .modal-header select {
        width: 120px;
        margin-right: 60px;
    }

    #clear_form_purpose_mb {
        right: 10px;
        padding: 7px 6px;
    }

    #home_rank .rank-list .event-item {
        padding: 20px 15px;
        padding-top: 0px;
    }

    #home_rank .rank-list .event-date-time,
    #home_rank .rank-list .event-location{
        font-size: 12px;
    }

    #home_rank .home-rank-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media(max-width:330px) {
    #get_location .modal-header select {
        width: 110px;
        margin-right: 50px;
    }

    #clear_form_purpose_mb {
        right: 6px;
    }
}
