/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* System */
.header, #footer, .footer-1, .footer-2 {
    display: none;
}

.absolute-footer {
    background-color: #ffff !important;
    color: #000 !important;
    padding-top: 0px !important; 

}

/* 
@media (min-width: 768px) {
    .header {
        display: block;

    }
} */

@media (max-width: 1024px) {
    #footer {
        display: block;
    }
}

div.large-12.col {
    padding: 0 !important;
}

.section, .section-content {
    padding: 0 5px !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.page-wrapper {
    padding: 0 !important;
}

html {
    /* background-image: url('/wp-content/uploads/2024/10/bg-2.webp') !important; */
    background-color: #F5F5F5 !important;
    background-size: cover !important;
    background-position: center !important;
}

main {
    background-color: transparent !important;
}

main, #wrapper {
    background-color: transparent !important;
}

.header .logo img {
    padding-top: 20px !important; 
}
/* 
body {
    font-family: 'Microsoft YaHei UI', '微软雅黑', Arial, sans-serif !important;
} */

/* System */


.sport-headers {
    border-radius: 12px;
    margin-bottom: 15px;
    align-items: center;
    background-color: #ffff;
    color: black;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    height: 64px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    border: 1px solid #e8e8e8;
    margin-right: 2px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.sport-headers-league {
    border-radius: 12px 12px 0 0;
    margin-bottom: 15px;
    align-items: center;
    background-color: #ffff;
    color: black;
    padding: 0 30px;
    height: 64px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    border: 1px solid #e8e8e8;
    margin-right: 2px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.sport-headers-btn {
    padding: 10px;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid #f2f2f2;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    border-radius: 8px;
    background: #fff;
    text-transform: none;
    font-weight: normal;
    margin: 0 5px;
    padding: 0 10px;
    font-size: 14px;
}

.sport-headers-body {
    border-radius: 0 0 12px 12px;
    margin-bottom: 15px;
    align-items: center;
    background-color: #ffff;
    color: black;
    padding: 15px 30px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    border: 1px solid #e8e8e8;
    margin-right: 2px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.sport-headers-body:hover {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.1);
}

.sport-headers-body-btn {
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid #f2f2f2;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    border-radius: 8px;
    background: #fff;
    text-transform: none;
    font-weight: normal;
    margin: 0 5px;
    padding: 5px;
    font-size: 14px;
    width: 92px;
    height: 60px;
}

.right-side {
    font-weight: normal;
    font-size: 16px;
}

.sport-headers .sport-header.left-side {
    font-size: 16px;
    font-weight: 550;
    width: 100%;
}

.match-count {
    background: #e0e0e0;
    font-size: 16px;
    color: #000;
    font-weight: 550;
    border-radius: 10px;
    height: 20px;
    width: 33px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 10px;
    top: 0;
    line-height: 17px;
    transform: translate(50%, -50%);
    /* Điều chỉnh vị trí */
    z-index: 1;
    /* Đảm bảo hiển thị trên cùng */
}

.sport-item-2 {
    position: relative;
    display: inline-block;
}

.nav-icon img {
    cursor: pointer;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 5s linear infinite;
}

.card-title {
    align-items: center;
    display: flex;
    font-size: 14px;
    padding: 10px 30px 10px 34.5px;
    cursor: pointer;
    position: relative;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
    height: 58px;
    line-height: 58px;
}

.footerDesc p {
    color: #36a638;
    font-size: 15px;
    text-align: center;
    margin-top: 20px
}

.subMenu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
}

.subMenu a {
    color: #35a649;
    font-size: 17px;
    border-right: 1px solid #36a638;
    justify-content: center;
    display: flex;
    padding: 5px;
}

.footerLogo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.footerTitle {
    color: #35a649 !important;
    margin-bottom: 0px !important;
}

.footerSponsor {
    border-left: 1px solid #36a638;
    border-right: 1px solid #36a638;
    padding: 0px 30px !important;
}

.footerSponsorText {
    color: #35a649 !important;
    font-size: 17px !important;
}

.select-match {
    padding: 0 30px;
    line-height: 60px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.select-match .match-content {
    display: flex;
    justify-content: space-around;
}

.select-match .match-content .match-team {
    display: flex;
    align-items: center;
    font-size: 16px;
    text-align: center;
    flex: 1 1;
    line-height: 21px;
    width: 158px;
}

.select-match .match-content .match-team .matchTeamImage {
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-match .match-content .match-score.live {
    font-size: 18px !important;
    width: auto;
    padding: 0 28px;
    white-space: nowrap;
}

.livestream-bg {
    position: relative;
}

.live-stream {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.livestream-login {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    border-radius: 8px;
    padding: 10px 40px;
    background-color: #35a649 !important;
    cursor: pointer;
    /* Thêm con trỏ bàn tay */
    transition: background-color 0.3s ease;
    /* Thêm hiệu ứng transition */
}

/* Hiệu ứng hover đổi màu như tia chớp */
.livestream-login:hover {
    background-color: #2c8a3d !important;
    /* Màu tối hơn khi hover */
    animation: lightning 1.5s infinite;
}

.liveCircle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #65be3d;
    display: flex;
    margin-right: 8px;
}

.time {
    color: #ff1300;
    font-size: 18px;
}

.count {
    font-size: 14px;
    color: #ffff;
    border-radius: 4px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: green;
}

.score {
    height: 30px;
    width: 48px;
    background: #f6f7fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 550;
    margin-right: 10px;
    font-size: 18px;
}

/* Keyframes tạo hiệu ứng tia chớp */
@keyframes lightning {
    0% {
        background-color: #35a649;
    }

    50% {
        background-color: #2c8a3d;
    }

    51% {
        background-color: #238c31;
    }

    100% {
        background-color: #35a649;
    }
}
/* Match detail */
.match:hover {
    background: #36A638;
    color: #ffff;
    cursor: pointer;
}

.match:hover .match-title, .match:hover .match-details {
    color: #ffff !important;
}

.match-list {
    overflow-y: scroll;
}

.match-list .match {
    padding: 17px 32px 17px 23px;
    position: relative;
    overflow-y: scroll;
}

.match-list .match .match-title {
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 0;
    line-height: 16px;
    margin-bottom: 21px;
}

.match-list .match .match-time {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.match-list .match .font-red {
    color: #ff1300;
    font-weight: 550;
}

.match-list .match .match-details {
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #000;
    line-height: 1.2;
    margin-top: 14px;
    align-items: center;
}

.match-list .match .match-details .liveHometeam {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.match-list .match .match-details .match-score {
    width: 25%;
    font-size: 18px;
}

.scoreHomeTeam {
    background: #f6f7fb;
    color: black;
    border-radius: 5px;
    margin: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    height: 30px;
    width: 48px;
    box-sizing: border-box;
}

.match-list .match .match-details .liveAwayteam {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 15px;
}
/* Match detail */

/* Marquee component */
.marquee {
    display: block;
    background: url('/wp-content/uploads/2024/11/sound.webp') no-repeat;
    width: 15px;
    height: 15px;
    padding-top: 15px;
    position: relative;
    z-index: 1;
    background-size: 100% 100%;
    min-width: 15px;
}

.marquee-container {
    width: calc(100vw - 50px)! important; 
    overflow: hidden !important; 
    white-space: nowrap !important;
    position: relative !important;
    background-color: #f1f1f1 !important;
    padding: 10px !important;
}

.marquee-content {
    display: inline-block;
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(20%);
    }
    to {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 60s linear infinite !important;
}
/* Marquee component */

.loginMenu {
    align-items: center;
    display: flex !important;
}

.loginMenu a.logRegBtn {
    background-color: transparent;
    color: #36a638;
    width: auto;
    text-decoration: none;
    font-weight: 900;
}
.sport-item-2.active {
    background-color: #36a638;
    padding: 5px 0 !important;
    border-radius: 10px !important;
}
.rotating-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.loginMenu a {
    border-radius: 7px;
    color: #fff;
    width: 59px;
    height: 26px;
    line-height: 26px;
    display: flex;
    margin-left: 5px;
    text-align: center;
    background-size: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0 7px;
    cursor: pointer;
    font-weight: 900;
    font-size: 16px;
}

.btn-help {
    display: flex;
    align-items: center;
    margin-right: 5px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.arrowRight {
    display: flex;
    align-items: center;
    margin-top: -3px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    background: #ffff;
    border-radius: 8px;
    width: 26px;
    height: 26px;
    padding: 8px;
    justify-content: center;
    cursor: pointer;
}

.arrowRight:hover {
    background: #aeebb0
}

.item-menu {
    text-transform: uppercase;
    font-weight: 800;
    color: #222;
    font-size: 16px;
    padding: 0 10px;
    cursor: pointer;
}
.item-menu-mobile {
    font-weight: 800;
    color: #222;
    font-size: 15px;
    padding: 0 10px;
    cursor: pointer;
}

.item-menu-first {
    text-transform: uppercase;
    font-weight: 800;
    color: #ffff;
    font-size: 16px;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 8px;
    background-image: linear-gradient(to top, #36a638, #84d658);
}
.item-menu-first-mobile {
    font-weight: 800;
    color: #ffff;
    font-size: 16px;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 8px;
    background-image: linear-gradient(to top, #36a638, #84d658);
}

.running-icon {
    position: relative; 
    animation: moveX 0.3s ease-in-out infinite alternate; 
}

@keyframes moveX {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px); 
    }
}

/* Popup Register */
/* Overlay popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background: #e8e8e8;
    width: 541px;
    height: 701px;
    padding: 20px;
    border-radius: 52px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border: 20px solid rgba(76, 175, 80, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
}

#modal-logo-0 {
    width: 200px;
}
#modal-logo-1 {
    width: 48px;
    height: 65px;
}
#modal-logo-2 {
    width: 150px;
    height: 65px;
    border-left: 1px solid green;
    padding-left: 10px;
}
.modal-text-title {
    font-weight: 900;
    color: black;
    font-size: 16px;
    margin-bottom: 0px;
}
.modal-text-detail {
    color: black;
    font-size: 16px;
    margin-bottom: 0px;
}
.modal-app {
    display: none;
    width: 100%;
}

@media (max-width: 768px) {
    .modal {
        width: 387px;
        height: 730px;
        border: 10px solid rgba(76, 175, 80, 0.2);
        overflow-y: hidden;
    }
    .partner-container img {
        width: 100px !important;
    }
    .hint {
        font-size: 12px !important;
    }
    #modal-logo-1 {
        width: 46px;
        height: 65px;
    }
    #modal-logo-2 {
        width: 120px;
        height: 65px;
    }
    .modal-text-title, .modal-text-detail {
        font-size: 14px;
    }    
    .register-btn, .login-btn {
        font-size: 14px;
    }   
    .modal-app {
        display: block;
    } 
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    width: 300px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.close-popup-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
}

.logo {
    display: flex;
    justify-content: center;
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

.logo img {
    margin-bottom: 10px;
}

.partner-info {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.close-btn {
    color: green;
    font-weight: 700;
    font-size: 28px;
    font-family: monospace;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;

}

.partner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.partner-info {
    justify-content: start !important;
    font-size: 14px;
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    height: 55px !important;
    padding: 12px 12px 12px 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    box-sizing: border-box;
    font-size: 16px !important;
    margin-bottom: 0px;
}

.input-group input:focus {
    outline: none;
    border-color: transparent;
}

.input-group img {
    position: absolute;
    left: 12px;
    top: 25px;
    transform: translateY(-50%);
    width: 25px;
    height: 30px;

}

.hint {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 900 !important;
}

.register-btn {
    width: 100%;
    background-image: linear-gradient(to top, #36a638, #84d658);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    margin: 3px 0 !important;
}
.login-btn {
    width: 100%;
    background-color: #ffff;
    color: green;
    border: none;
    border-radius: 10px;
    border: 3px solid green;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    margin: 3px 0 !important;
}

/* Header menu */
.menu-container {
    width: 100%;
    overflow: hidden; /* Ẩn các mục menu bị dư */
    position: relative;
    background-color: #ffff;
    border-radius: 8px;
}

.menu-content {
    display: flex;
    gap: 0px;
    white-space: nowrap; /* Giữ các mục menu trên một dòng */
    overflow-x: auto; /* Cho phép cuộn ngang khi không đủ không gian */
    scroll-snap-type: x mandatory; /* Tạo hiệu ứng cuộn từng mục menu */
    padding: 5px 10px;
    scrollbar-width: none; /* Ẩn scrollbar trên Firefox */
}

.menu-content::-webkit-scrollbar {
    display: none; /* Ẩn scrollbar trên Chrome, Safari */
}

.item-menu, .item-menu-first {
    scroll-snap-align: start; /* Căn mỗi mục menu vào đầu viewport khi cuộn */
}

.item-menu img {
    vertical-align: middle;
    margin-right: 5px;
}
.register-confirm-btn #spinner, .login-confirm-btn #spinner, .support-confirm-btn #spinner{
    display: none;
}
.openPopup a:hover{
    color: unset;
}


/* popup cskh */
#thankyou-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.custom-popup .modal-wrapper{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Averta', sans-serif !important;
    line-height: 1.125rem;
    width: 438px;
    border-radius: 16px;
    background-color: #F6F6F6;
    color: #111111;
}
.custom-popup .modal-content{
    
    text-align: center;
    padding: 35px;
}
.custom-popup .modal-content input{
    width: 100%; 
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}
.custom-popup .modal-content h2 {
    margin-bottom: 15px;
    margin-top: 0;;
    font-size: 24px;
    color: #383838;
    text-align: left;
    font-family: Averta, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.25rem;
}
.custom-popup label{
    color: #383838;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    opacity: 1;
    pointer-events: none;
    transition: .24s;
    font-family: Averta, sans-serif;
    margin-bottom: 4px;
    display: inline-block;
}
.custom-popup form{
    margin-bottom: 0;
}
.custom-popup input{
    background: #fbfbfb;
    border: 1px solid #d6d6d6 !important;
    border-radius: 6px !important;
    color: #383838 !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    height: 44px !important;
    line-height: 23px;
    outline: 0;
    padding: 10px 12px !important;
    width: 100% !important;
    margin-bottom: 0;
    box-shadow: none !important;
}
.custom-popup input:focus{
    border: solid 1px #de0d3e;
}
.custom-popup .form-group {
    text-align: left;
    margin-bottom: 15px;
}
#thankyou-modal a.button {
    color: #b21c4b;
    text-decoration: none;
}
#thankyou-modal a.modal-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #333;
    text-decoration: none;
}
.existing-user {
    margin-bottom: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.125rem;
    text-align: left;
}
.existing-user a{
    color: #2199ca;
    text-decoration: none;
}
a {
    color: #000;
}
.register-confirm-btn,
.login-confirm-btn, .support-confirm-btn, .custom-popup button[type="submit"] {
    background-color: #25AAE1;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-family: Averta, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4375rem;
    padding: 10px 12px;
    position: relative;
    transition: all .4s ease;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 0;
    text-transform: none;
    margin-right: 0;;
}

.custom-popup .xac-nhan{
    color: #706f6f;
    font-family: Averta, sans-serif;
    font-size: .875rem;
    line-height: 1.125rem;
    margin-bottom: 20px;
    text-align: left;
}

.custom-popup button[type="submit"] .spinner{
    width: 20px;
    height: 20px;
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(10px, -50%);
}

.info-content {
    margin-bottom: 15px;
}

.info-content p {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.125rem;
    margin-bottom: 20px;
}

.info-content .btn {
    margin: 0;
    background-color: #2199ca;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#thank-you-modal > .modal-content {
    padding: 60px;
}

@media (max-width: 767px){
    .custom-popup .modal-wrapper{
        width: 90vw;
    }
}


















@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}