#header_main .row {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 34px;
}

div#top_header {
    display: flex;
    justify-content: end;
    gap: 26px;
    align-items: center;
}

div#top_header .title {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

div#top_header a.link {
    border-radius: 4px;
    line-height: 30px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    font-size: 20px;
}

div#top_header .title a {
    border-radius: 3px;
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
    line-height: 30px;
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    padding: 15px 20px;
}

div#top_header .title a:hover {
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
}

div#top_header a.link:hover {
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
}

div#header_middle {
    margin: 65px 0 50px;
}

div#header_middle .header_logo {
    width: 180px;
    margin-bottom: 16px;
}

div#header_middle h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 14px;
}

div#header_middle h3 {
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.pad_none {
    padding-bottom: 0 !important;
}

div#header_bottom {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

div#header_bottom * {
    width: 100%;
}

div#header_bottom .title {
    min-width: 100px;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    line-height: normal;
}

div#header_bottom .header_gallary {
    display: flex;
    gap: 10px;
}

div#header_bottom .header_gallary .item {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
}


/* div#header_bottom {
    padding-bottom: 8px;
    border-bottom: 2px solid #D9D9D9;
} */

header#header_main .bg.bg-loaded img {
    width: 100%;
}

ul.tabs_category li a:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}

ul.tabs_category li a {
    position: relative;
}

ul.tabs_category li {
    min-width: 30%;
}

ul.tabs_category li a::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg)
}

@-webkit-keyframes wheel-up-down {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translateY(18px);
        transform: translateY(18px);
        opacity: 0;
    }
}

@keyframes wheel-up-down {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translateY(18px);
        transform: translateY(18px);
        opacity: 0;
    }
}

.home-category a.btn_tocate svg {
    -webkit-animation: 1.2s ease infinite wheel-up-down;
    animation: 1.2s ease infinite wheel-up-down;
}

.auction_link a:hover {
    box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, .5), -4px -4px 6px 0 rgba(116, 125, 136, .2), inset -4px -4px 6px 0 rgba(255, 255, 255, .5), inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
    color: #fff;
}

.auction_link a {
    background: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
}

.auction_link a:after {
    position: absolute;
    content: " ";
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    transition: all 0.3s ease;
}

.auction_link a:hover:after {
    -webkit-transform: scale(2) rotate(180deg);
    transform: scale(2) rotate(180deg);
    box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, .5), -4px -4px 6px 0 rgba(116, 125, 136, .2), inset -4px -4px 6px 0 rgba(255, 255, 255, .5), inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
}

.home-minigame .minigame_content a.link.btn_home:hover {
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    transition: all 0.3s ease;
}

div#content {
    z-index: 1;
    position: relative;
}

.rules_wrap a.link.btn_home {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.rules_wrap a.link.btn_home:hover {
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    transition: all 0.3s ease;
}


/* Footer */

footer#footer_main {
    background: #00000E;
}

#footer_main .footer_wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    padding: 36px 0;
}

footer#footer_main .logo {
    width: 155px;
}

footer#footer_main .title {
    flex: 1;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.contact_bar {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-flow: column;
    gap: 16px;
    z-index: 99999;
}

.contact_bar .contacy_item a {
    display: flex;
    width: 55px;
    height: 55px;
    justify-content: center;
    align-items: center;
    background: #2D1DA8;
    border-radius: 50%;
    position: relative;
}

.contact_bar .contacy_item a span {
    position: absolute;
    right: calc(100% + 4px);
    width: max-content;
    border-radius: 10px;
    background: #2D1DA8;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    color: #fff;
}

.contact_bar .contacy_item a span {
    transform: translateX(-15px);
    transition: .5s;
    opacity: 0;
    visibility: hidden;
}

.contact_bar .contacy_item a:hover span {
    transform: translateX(0);
    transition: .5s;
    opacity: 1;
    visibility: visible;
}

footer#footer_main .title span.describe {
    display: flex;
    justify-content: end;
    font-size: 14px;
    font-weight: 500;
}


/* Danh mục */

section.home-category {
    margin-top: -260px;
}

.home-category a.btn_tocate {
    margin: 0 auto 55px;
    display: table;
}

.home-category .title h2 {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
}

ul.tabs_category {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-bottom: 32px;
    flex-flow: wrap;
}

ul.tabs_category li {
    aspect-ratio: 10/4;
    flex: 1;
    border-radius: 16px;
    margin: 0;
}

ul.tabs_category li a {
    padding: 24px 32px;
    display: block;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-size: 100%;
}

ul.tabs_category li a.active {
    border: 5px solid #FFF;
}

ul.tabs_category li a span {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-transform: capitalize;
    color: #fff;
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    height: 60px;
}

ul.tabs_category li a span:after {
    position: absolute;
    content: "";
    width: 74px;
    height: 2px;
    background: #fff;
    left: 0;
    bottom: -10px;
}

.panelContainer {
    border-radius: 16px;
    background: #FFF;
    overflow: hidden;
    padding: 40px;
    height: 810px;
}

.panelContainer .panel {
    display: flex;
    gap: 50px;
    height: 100%;
}

.panelContainer .panel .banner_category {
    min-width: 300px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    width: 300px;
}

ul.tabs_category:last-child {
    margin-top: 32px;
}

.home-category .title h2 span.sub {
    font-size: 12px;
    font-weight: 400;
    line-height: 19px;
    display: flex;
    justify-content: center;
    text-transform: initial;
}

.home div#top_header .title {
    display: none;
}


/* Đấu Giá */

section.home-auction {
    padding: 60px 0;
}

.home-auction .title {
    text-align: center;
}

.home-auction .title img {
    max-width: 550px;
}

.home-auction .title {
    margin-bottom: 50px;
}

.home-auction .banner {
    border-radius: 20px;
    background: none;
    margin-bottom: 40px;
}

.home-auction .auction_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.home-auction .auction_content .auction_date,
.auction_link a {
    padding: 20px 60px;
    border-radius: 8px;
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
    min-width: 490px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #fff;
}

.auction_link a {
    justify-content: center;
}

.auction_counter .ux-timer strong {
    display: none;
}

.auction_counter .ux-timer span {
    background: none;
    padding: 0 !important;
    font-size: 24px;
    line-height: 1;
    margin: 0;
}

.auction_counter .ux-timer {
    width: auto;
    display: inline-flex;
    margin: 0;
}

.auction_counter .ux-timer span:not(:last-child):after {
    content: ":";
}

.auction_wrap iframe {
    margin-top: 40px;
    height: 800px;
    border-radius: 16px;
    background: #FFF;
    padding: 20px;
}


/* Mini game */

.home-minigame {
    padding: 60px 0;
}

.home-minigame .title {
    text-align: center;
}

.home-minigame .title img {
    max-width: 575px;
}

.home-minigame .minigame_content {
    padding: 14px 36px 36px;
    background: #fff;
    margin-bottom: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
}

#frame,
.frame[_ngcontent-serverApp-c118] {
    padding: 0 !important;
}

.home-minigame .minigame_content .text {
    flex: 1;
    width: 60%;
    text-align: center;
}

.home-minigame .minigame_content a.link.btn_home {
    display: inline-flex;
    position: relative;
}

.bg_btn {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
}

a.link.btn_home {
    min-width: 486px;
    border-radius: 8px;
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
    padding: 20px;
    line-height: 32px;
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.home-minigame .minigame_content .text h2 {
    color: #3000A8;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-minigame .minigame_content .text p {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.minigame_iframe {
    height: 800px;
    border-radius: 16px;
    background: #FFF;
    padding: 20px;
}

.minigame_iframe iframe {
    height: 760px;
}

.home-minigame .minigame_content a.link.btn_home:before {
    content: "";
    position: absolute;
    right: 0;
    top: -54px;
    background: #00000e;
    width: 40px;
    height: 40px;
}

.home-minigame .minigame_content a.link.btn_home:after {
    content: "";
    position: absolute;
    right: 0;
    top: -54px;
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-bottom-right-radius: 16px;
}

.bg_btn .bg.bg-loaded {
    width: max-content;
    margin-left: auto;
    padding: 14px 0 0 14px;
    background: #00000e;
    border-top-left-radius: 16px;
    position: relative;
}

.bg_btn .bg.bg-loaded:before {
    content: "";
    position: absolute;
    bottom: 0;
    background: #00000e;
    width: 40px;
    height: 40px;
    left: -40px;
}

.bg_btn .bg.bg-loaded:after {
    content: "";
    position: absolute;
    bottom: 0;
    background: #ffffff;
    width: 40px;
    height: 40px;
    left: -40px;
    border-bottom-right-radius: 16px;
}


/* News */

.home-news {
    padding: 60px 0;
}

.home-news .box .box-image {
    border-radius: 24px;
}

.home-news .box .box-text {
    padding: 20px 0;
}

.home-news .box .box-text h3 {
    margin: 0;
}

.home-news .box .box-text h3 a {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    color: #fff;
    margin: 0;
}

.row_new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 30px;
}

.home-news .title h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 60px;
    position: relative;
}

.home-about .home-about_top .content p:not(:last-child) {
    margin-bottom: 20px;
}


/* Thể lệ */

.ss_rules .accordion-item:not(:last-child) {
    margin-bottom: 40px;
}

.ss_rules .accordion-item a.accordion-title {
    border: none;
    padding: 55px 140px 55px 83px;
    border-radius: 16px;
    background: linear-gradient(180deg, #130496 0%, #8C4CEB 100%);
    margin-bottom: 40px;
}

.ss_rules .accordion-item a.accordion-title span {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #fff;
}

.ss_rules .accordion-item .accordion-inner {
    border-radius: 16px;
    background: #FFF;
    padding: 50px 80px;
    position: relative;
}

.ss_rules .accordion-item .accordion-inner:after {
    content: "";
    width: 30px;
    height: 30px;
    top: -18px;
    left: 64px;
    position: absolute;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="27" height="23" viewBox="0 0 27 23" fill="none"><path d="M13.8555 0.446045L26.8458 22.946H0.865088L13.8555 0.446045Z" fill="%23ffffff"/></svg>');
    background-size: 100%;
}

section.ss_rules {
    margin-top: -10%;
    padding-bottom: 50px;
}

.ss_rules .accordion-item a.accordion-title button.toggle {
    left: auto;
    right: 86px;
    margin: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="37" height="37" viewBox="0 0 37 37" fill="none"><g clip-path="url(%23clip0_11_658)"><path d="M36.8555 12.526H24.5267V0.197266H13.1842V12.526H0.855469V23.8685H13.1842V36.1973H24.5267V23.8685H36.8555V12.526Z" fill="white"/></g><defs><clipPath id="clip0_11_658"><rect width="36" height="36" fill="white" transform="translate(0.855469 0.197266)"/></clipPath></defs></svg>');
    background-repeat: no-repeat;
    background-size: 100%;
    border: none;
    width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 0;
    top: calc((100% - 36px) / 2);
    background-position: center;
    opacity: 1;
}

.ss_rules .accordion-item a.accordion-title.active button.toggle {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="11" viewBox="0 0 36 11" fill="none"><g clip-path="url(%23clip0_11_624)"><rect width="36" height="11" fill="white"/><path d="M12.3288 11H0V0H12.3288H23.6712H36V11H23.6712H12.3288Z" fill="white"/></g><defs><clipPath id="clip0_11_624"><rect width="36" height="11" fill="white"/></clipPath></defs></svg>');
}


/* Lịch trình */

.home-schedule .title h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

section.home-schedule {
    padding: 0 0 60px;
}


/* Kết quả  */

.ss_result {
    padding-bottom: 116px;
    margin-top: -15%;
}

.result_item:not(:last-child) {
    margin-bottom: 80px;
}

.result_item .result_title h2 {
    border-radius: 8px;
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
    padding: 26px;
    display: flex;
    margin-bottom: 32px;
    margin-top: 0px !important;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
}

.ss_result .title {
    margin-bottom: 35px;
    position: relative;
}

.resultPanels ul.result_nav {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.resultPanels ul.result_nav li {
    flex: 1;
    margin: 0;
}

.resultPanels ul.result_nav li a {
    border-radius: 50px;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2D1DA8;
    font-size: 24px;
    font-weight: 700;
    padding: 16px;
    line-height: 1;
}

.result_item .tab-panels {
    border-radius: 28px;
    background: #3000A8;
    padding: 0 55px;
    position: relative;
}

.result_item .tab-panels .entry-content {
    border-radius: 28px;
    background: #FFF;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.resultPanels ul.result_nav li.active a,
.resultPanels ul.result_nav li a:hover {
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
    color: #fff;
}

.result_item .tab-panels:before,
.result_item .tab-panels:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 28px;
    left: 0;
    right: 0;
}

.result_item .tab-panels:before {
    background: #7555C5;
    z-index: 0;
    width: calc(100% - 36px);
    margin: 0 auto;
}

.result_item .tab-panels:after {
    width: calc(100% - 72px);
    margin: 0 auto;
    background: #BAAAE2;
    z-index: 0;
}

.prize_item {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
}

.prize_wrap {
    display: flex;
    gap: 30px;
    min-height: 150px;
}

.prize_item .thumbnail {
    width: 40%;
}

.prize_item .info {
    flex: 1;
}

.prize_item .info .giai {
    padding-left: 35px;
    margin-bottom: 7px;
    color: #1005A1;
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    background-image: url(/wp-content/uploads/2023/12/image-12.png);
    background-repeat: no-repeat;
    background-position: left;
    line-height: 30px;
}

.prize_item .info .product {
    font-size: 24px;
    color: #1005A1;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 30px;
    margin-bottom: 11px;
}

.prize_item .info .name,
.prize_item .info .phone {
    color: #444;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.prize_item .info .phone {
    font-weight: 400;
}

.result_item:last-child .resultPanels ul.result_nav {
    display: none;
}


/* About */

.home-about {
    background-image: url(/wp-content/uploads/2023/12/Untitled-2-1-scaled-e1702283123570.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.home-about {
    padding: 90px 0 60px;
}

.home-about .home-about_top {
    display: flex;
    gap: 90px;
    margin-bottom: 50px;
    align-items: center;
}

.home-about .home-about_top .logo {
    min-width: 312px;
}

.home-about .home-about_top .logo img {
    width: 100%;
}

.home-about .home-about_top .content h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.home-about .home-about_top .content h2 {
    font-size: 40px;
    line-height: normal;
}

.home-about .home-about_top .content p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.about_sponsor {
    position: relative;
    background: #3000a8;
    padding: 0 120px;
    border-radius: 40px;
}

.about_sponsor .about_sponsor_wrap {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    position: relative;
    text-align: center;
}

.about_sponsor .bg.bg-loaded,
.about_sponsor .bg.bg-loaded:after,
.about_sponsor .bg.bg-loaded:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    border-radius: 40px;
    margin: 0 auto;
}

.about_sponsor .bg.bg-loaded {
    width: calc(100% - 60px);
    background: #6440be;
}

.about_sponsor .bg.bg-loaded:after {
    width: calc(100% - 120px);
    background: #cbbfe9;
}

.about_sponsor .bg.bg-loaded:before {
    width: calc(100% - 60px);
    background: #9880d3;
}

.about_sponsor-item h3 {
    color: #3000A8;
    font-size: 24px;
    line-height: normal;
    margin: 0;
}

.about_sponsor-item:not(:last-child) {
    margin-bottom: 84px;
}

.about_sponsor-item .logo_sponsor {
    max-width: 645px;
    margin: 0 auto;
    padding: 16px 0;
    position: relative;
}

.about_sponsor-item:not(:last-child) .logo_sponsor:after {
    content: "";
    left: 0;
    right: 0;
    bottom: -5px;
    height: 5px;
    background: linear-gradient(90deg, #FFF 5.72%, #3000A8 50.07%, #FFF 95.18%);
    max-width: 500px;
    position: absolute;
    margin: 0 auto;
}


/*  */

.contact_bar_mb {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 9999999999;
    background: linear-gradient(180deg, #9B5DF1 0%, #5602C9 100%);
}

.contact_bar_mb {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    gap: 10px;
    justify-content: space-between;
}

.contact_bar_mb a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}


/* Pc      --------------------------------------------- */

@media(min-width: 766px) {}

@media (min-width: 1024px) and (max-width: 1440px) {
    div#header_middle h2 {
        font-size: 26px;
    }
    div#header_middle h3 {
        font-size: 36px;
    }
    div#header_middle .header_logo {
        width: 140px;
    }
    section.home-category {
        margin-top: -220px;
    }
    .home-minigame .minigame_content .thumbnail {
        width: 40%;
    }
    .home-minigame .minigame_content .text h2 {
        font-size: 36px;
    }
    .home-minigame .minigame_content .text p {
        font-size: 18px;
    }
    section.ss_rules {
        margin-top: -5%;
    }
    .ss_result {
        margin-top: -10%;
    }
}

@media (width: 1024px) {
    section.home-category {
        margin-top: 0;
    }
    div#header_middle {
        margin: 30px 0;
    }
}

@media (width: 2560px) {
    section.home-category {
        margin-top: -17%;
    }
}

@media (min-width: 990px) and (max-width: 1100px) {}


/*************** ------------------------PC và Tablet  --------------------------  ***************/

@media (min-width: 740px) {
    header#header_main .bg.bg-loaded img:first-child {
        display: none;
    }
    .contact_bar_mb {
        display: none;
    }
}


/*************** ------------------------Tablet  --------------------------  ***************/

@media (min-width: 740px) and (max-width: 1023px) {
    .home-auction .auction_content .auction_date,
    .auction_link a {
        padding: 20px;
    }
    .prize_item .thumbnail {
        width: 60%;
    }
}

@media (max-width:990px) {}


/*************** ------------------------Mobile và Tablet --------------------------  ***************/

@media (max-width: 1023px) {
    div#header_middle {
        margin: 20px 0 20px;
    }
    div#header_middle h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    div#header_middle h3 {
        font-size: 24px;
    }
    div#header_middle .header_logo {
        width: 78px;
    }
    div#header_bottom .title {
        font-size: 16px;
    }
    section.home-category {
        margin-top: -70px;
    }
    .home-category a.btn_tocate {
        margin-bottom: 30px;
    }
    .home-category .title h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    ul.tabs_category li a {
        padding: 10px;
    }
    ul.tabs_category {
        gap: 20px;
        margin-bottom: 20px;
    }
    ul.tabs_category li a.active {
        border-width: 3px;
    }
    ul.tabs_category li a span {
        font-size: 16px;
        line-height: 24px;
        height: 48px;
    }
    ul.tabs_category:last-child {
        margin-top: 20px;
    }
    .panelContainer {
        height: 800px;
    }
    .panelContainer iframe {
        height: 720px !important;
    }
    .home-auction .title img {
        max-width: 330px;
    }
    .home-auction .title,
    .home-auction .banner {
        margin-bottom: 20px;
    }
    .home-auction .auction_content {
        gap: 20px;
    }
    .home-auction .auction_content .auction_date,
    .auction_link a {
        min-width: initial;
        font-size: 20px;
    }
    .home-auction .auction_content .auction_date,
    .auction_link {
        flex: 1;
        min-width: calc(50% - 10px);
    }
    .home-minigame .title img {
        max-width: 400px;
    }
    .home-minigame .minigame_content {
        padding: 15px;
        flex-flow: column;
        gap: 10px;
    }
    .home-minigame .minigame_content .thumbnail img {
        height: 219px;
    }
    .home-minigame .minigame_content .text {
        width: 100%;
    }
    .minigame_iframe {
        height: 600px;
    }
    .minigame_iframe iframe {
        height: 560px;
    }
    .bg_btn.show-for-medium {
        position: relative;
        margin-top: 20px;
        text-align: center;
    }
    a.link.btn_home {
        display: inline-block;
        margin: 0 auto;
    }
    .home-news .box .box-text h3 a {
        font-size: 14px;
    }
    .home-news .title h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .ss_rules .accordion-item a.accordion-title {
        padding: 30px 80px 30px 30px;
        border-radius: 8px;
    }
    .ss_rules .accordion-item a.accordion-title span {
        font-size: 20px;
    }
    .ss_rules .accordion-item a.accordion-title button.toggle {
        right: 30px;
        width: 30px;
        height: 30px;
        min-height: 30px;
        top: calc((100% - 30px) / 2);
    }
    .ss_rules .accordion-item .accordion-inner {
        padding: 30px;
    }
    .contact_bar {
        gap: 10px;
        right: 10px;
    }
    .contact_bar .contacy_item a {
        width: 40px;
        height: 40px;
        padding: 11px;
    }
    .ss_result .title {
        margin-bottom: 10px;
    }
    .result_item .result_title h2 {
        padding: 15px;
        font-size: 20px;
        margin-bottom: 20px;
    }
    .resultPanels ul.result_nav {
        margin-bottom: 20px;
        gap: 20px;
    }
    .resultPanels ul.result_nav li a {
        padding: 10px;
        font-size: 20px;
        line-height: 1.2;
    }
    .result_item:not(:last-child) {
        margin-bottom: 30px;
    }
    .result_item .tab-panels {
        padding: 0 18px;
    }
    .result_item .tab-panels:before {
        width: calc(100% - 12px);
    }
    .result_item .tab-panels:after {
        width: calc(100% - 24px);
    }
    .prize_wrap {
        flex-flow: column;
        gap: 20px;
    }
    .home-about {
        padding: 60px 0;
    }
    .home-about .home-about_top {
        gap: 30px;
        margin-bottom: 30px;
    }
    .home-about .home-about_top .content p {
        font-size: 15px;
    }
    .home-about .home-about_top .content h2 {
        font-size: 32px;
    }
    .home-about .home-about_top .content h4 {
        font-size: 20px;
    }
    .ss_result {
        padding-bottom: 60px;
    }
    section.ss_rules {
        padding-bottom: 30px;
    }
    .rules_wrap a.link.btn_home {
        display: flex;
        margin-bottom: 20px;
    }
    .panelContainer .panel {
        flex-flow: column-reverse;
        gap: 30px;
    }
    .panelContainer {
        padding: 20px;
    }
    .panelContainer .panel .banner_category {
        padding: 0;
        background: none;
        border-radius: 4px;
        overflow: hidden;
        width: 100%;
    }
    div#top_header .title {
        font-size: 16px;
    }
    div#top_header {
        gap: 15px;
    }
    div#top_header a.link {
        padding: 10px 15px;
    }
    .auction_wrap iframe {
        margin-top: 20px;
    }
    div#top_header .title {
        display: none;
    }
}


/*************** ------------------------ Mobile   --------------------------  ***************/

@media screen and (max-width: 549px) {
    div#header_middle .header_logo,
    div#top_header .title {
        display: none;
    }
    #header_main .row {
        top: 8px;
    }
    div#top_header a.link {
        padding: 5px 10px;
        line-height: 20px;
        font-size: 14px;
        gap: 5px;
    }
    div#top_header a.link svg {
        width: 15px;
    }
    div#header_middle {
        margin: 45px 0;
        padding-left: 50%;
    }
    div#header_middle h2 {
        font-size: 9px;
        margin-bottom: 4px;
    }
    div#header_middle h3 {
        font-size: 11px;
    }
    div#header_bottom {
        padding: 0;
        border: none;
        max-width: 262px;
        flex-flow: column;
        margin: 0 auto;
        gap: 7px;
    }
    div#header_bottom .title {
        font-size: 12px;
        text-align: center;
    }
    div#header_bottom .header_gallary .item {
        padding: 0 10px;
        height: 40px;
    }
    footer#footer_main .logo {
        width: 93px;
    }
    footer#footer_main .title {
        font-size: 18px;
        font-weight: 700;
    }
    #footer_main .footer_wrap {
        padding: 20px 0;
    }
    header#header_main .bg.bg-loaded img:last-child {
        display: none;
    }
    .tabbedPanels {
        display: flex;
        flex-flow: column;
    }
    .tabbedPanels ul.tabs_category {
        order: -1;
    }
    ul.tabs_category {
        gap: 15px;
        margin-bottom: 15px;
    }
    ul.tabs_category:last-child {
        margin-top: 0;
        margin-bottom: 20px;
    }
    ul.tabs_category li {
        border-radius: 8px;
    }
    ul.tabs_category li a {
        border-radius: 8px;
        padding: 6px;
    }
    ul.tabs_category li a span {
        font-size: 9px;
        line-height: 1.2;
        height: 25px;
    }
    ul.tabs_category li a.active {
        border-width: 1px;
    }
    ul.tabs_category li a span:after {
        width: 21.436px;
        height: 1px;
        bottom: -4px;
    }
    section.home-category {
        margin: 0;
    }
    .home-category a.btn_tocate {
        display: none;
    }
    .home-category .title h2 {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
    }
    .panelContainer {
        padding: 15px;
    }
    .home-auction .auction_content {
        flex-flow: column;
    }
    .auction_content .banner_mb {
        border-radius: 10px;
        overflow: hidden;
    }
    .home-auction .auction_content .auction_date,
    .auction_link a {
        min-width: 262px;
        padding: 7px 30px;
        font-size: 16px;
        line-height: 24px;
        gap: 3px;
        justify-content: center;
    }
    .home-minigame .minigame_content .thumbnail img {
        height: 119px;
    }
    .auction_counter .ux-timer span {
        font-size: 16px;
    }
    .home-minigame .title img {
        max-width: 330px;
    }
    .home-minigame .minigame_content .text h2 {
        font-size: 18px;
        margin-bottom: 3px;
    }
    .home-minigame .minigame_content .text p {
        font-size: 12px;
    }
    .minigame_iframe {
        height: 760px;
        padding: 15px;
    }
    .minigame_iframe iframe {
        height: 730px;
    }
    a.link.btn_home {
        min-width: 262px;
        padding: 7px 30px;
        font-size: 16px;
        line-height: 24px;
    }
    section.home-auction,
    .home-minigame,
    .home-news {
        padding: 30px 0;
    }
    .row_new {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 0px;
    }
    .home-news .box .box-image {
        border-radius: 10px;
    }
    .home-news .box .box-text h3 a {
        font-size: 12px;
    }
    .home-news .title h2 {
        font-size: 16px;
    }
    .home-news .title h2:after,
    .home-category .title h2:after {
        content: "";
        position: absolute;
        bottom: -9px;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #00000E 5.72%, #3000A8 50.07%, #00000E 95.18%);
        height: 2px;
    }
    .ss_rules .accordion-item a.accordion-title {
        padding: 12px 40px 12px 25px;
        margin-bottom: 10px;
    }
    .ss_rules .accordion-item .accordion-inner:after {
        display: none;
    }
    .ss_rules .accordion-item .accordion-inner {
        padding: 12px 25px;
        margin-bottom: 8px;
    }
    section.ss_rules {
        margin: 0;
    }
    .ss_rules .accordion-item a.accordion-title span {
        font-size: 14px;
    }
    .ss_rules .accordion-item a.accordion-title button.toggle {
        right: 25px;
        width: 10px;
        height: 10px;
        min-height: 10px;
        top: calc((100% - 10px) / 2);
    }
    .ss_rules .accordion-item:not(:last-child) {
        margin-bottom: 16px;
    }
    .ss_result {
        margin: 0;
    }
    .ss_result .title {
        scale: 1.6;
        height: 72px;
    }
    .result_item .result_title h2 {
        padding: 12px;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
        text-align: center;
    }
    .resultPanels ul.result_nav {
        gap: 9px;
        margin-bottom: 15px;
    }
    .resultPanels ul.result_nav li a {
        padding: 6px;
        font-size: 14px;
        font-weight: 400;
    }
    .prize_item .info .giai {
        font-size: 16px;
        padding-left: 0;
        padding-top: 28px;
        background-position: top left;
        background-size: 20px;
        margin-bottom: 6px;
        line-height: 20px;
    }
    .prize_item .info .product {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    .prize_item .info .name,
    .prize_item .info .phone {
        font-size: 14px;
    }
    .home-about {
        padding: 30px 0;
        background-size: 100%;
        background-position: top;
    }
    .home-about .home-about_top {
        flex-flow: column;
        gap: 15px;
        margin-bottom: 44px;
    }
    .home-about .home-about_top .logo {
        min-width: 110px;
        width: 110px;
    }
    .home-about .home-about_top .content h2 {
        font-size: 24px;
    }
    .home-about .home-about_top .content h4 {
        font-size: 16px;
        margin: 0;
    }
    .home-about .home-about_top .content p {
        font-size: 14px;
    }
    .about_sponsor {
        padding: 0 40px;
        border-radius: 30px;
    }
    .about_sponsor .bg.bg-loaded,
    .about_sponsor .bg.bg-loaded:after,
    .about_sponsor .bg.bg-loaded:before {
        border-radius: 30px;
    }
    .about_sponsor .bg.bg-loaded {
        width: calc(100% - 20px);
    }
    .about_sponsor .bg.bg-loaded:before {
        width: calc(100% - 20px);
    }
    .about_sponsor .bg.bg-loaded:after {
        width: calc(100% - 40px);
    }
    .about_sponsor .about_sponsor_wrap {
        padding: 20px;
    }
    .about_sponsor-item h3 {
        font-size: 12px;
    }
    .about_sponsor-item:not(:last-child) {
        margin-bottom: 20px;
    }
    .about_sponsor-item .logo_sponsor {
        padding: 5px 0;
        max-width: 200px;
    }
    .about_sponsor-item:not(:last-child) .logo_sponsor:after {
        height: 2px;
        max-width: 150px;
    }
    .ss_result {
        padding-bottom: 30px;
    }
    .prize_item .thumbnail {
        width: 40%;
        margin-right: 10%;
    }
    .rules_wrap a.link.btn_home {
        display: flex;
        max-width: 350px;
        margin-bottom: 15px;
    }
    .panelContainer .panel .banner_category {
        min-width: 100%;
    }
    .panelContainer .panel {
        gap: 15px;
    }
    .auction_wrap iframe {
        padding: 20px 0;
    }
    .contact_bar {
        display: none;
    }
    footer#footer_main {
        padding-bottom: 40px;
    }
    footer#footer_main .title span.describe {
        font-size: 12px;
    }
    section.home-schedule {
        padding-bottom: 30px;
    }
    .home-schedule .title h2 {
        font-size: 24px;
    }
}

ul#wp-admin-bar-edit-default {
    display: none;
}


/* width */

 ::-webkit-scrollbar {
    width: 10px;
    background: #000;
}


/* Track */

 ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(0, 0, 0);
    border-radius: 10px;
}


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: #fff;
}


/* <!-- <php  while( have_rows('add_prize') ) : the_row();?>
                                        <div class="prize_item" data-animate="fadeInRight">
                                            <div class="thumbnail">
                                                <img src="<php the_sub_field( 'thumbnail' ); ?>"alt="<php echo get_bloginfo();?>">
                                            </div>
                                            <div class="info">
                                                <div class="giai"><php the_sub_field( 'prize' ); ?></div>
                                                <div class="product"><php the_sub_field( 'product' ); ?></div>
                                                <div class="name"><php the_sub_field( 'name' ); ?></div>
                                                <div class="phone"><php the_sub_field( 'phone' ); ?></div>
                                            </div>
                                        </div>
                                    <php endwhile; ?> --> */