/*
Theme Name: Sport WP Theme Child U2000 7mtop
Theme URI: http://example.com/
Description: Child theme for 7mtop (sport-theme-7mtop)
Author: Your Name
Author URI: http://example.com/
Template: sport-theme-7mtop
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../sport-theme-7mtop/style.css");
.live-events{
	max-height:64px;
}
.sport_theme_banner_before_content{
	flex:1;
}
.sport-ad-item img{
	height: auto;
}
.topnhacai-widget{
	width: 100%;
}
.topnhacai_seemore{
	display:none !important;
}
.footer-banner-render.banner_show_mobile{
	display:none !important;
}
body .w7m_score-table.w7m_score-table--result .w7m_score-table--row.grouped-by-league{
	border-bottom: 1px solid #d5d5d5;
}
.post.type-post .breadcumb_div{
	margin-bottom:0 !important;
}

.post.type-post .breadcumb_div>row:first-child{
	margin-bottom:12px !important;
}
.w7m_sidebar-setting,.w7m_sidebar-league{
	margin-bottom: 20px;
}
.top-banner-container{
	margin:auto;
    padding: 0;
    margin-bottom: 0 !important;
}
body.sport-theme-bongda7m.wp-child-theme-sport-wp-theme-child .breadcumb_div .banner_before_content_banner.row{
	padding: 17px 0px !important;
}
.header-bongda7m {
    background: #FFF;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(226, 241, 254, 1) 50%);
    .header-logo-banner {
        height: unset;
        background: transparent;
    }
    .header-logo img {
        width: 240px !important;
    }
        .header-menu>.container>.row {
        border-top: unset;
        border-bottom: unset;
        background: transparent;
        display: flex;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
    }
    .header-menu #menu-main-menu>.menu-item.current-menu-item, .header-menu #menu-main-menu>.menu-item.current_page_item {
        border-top: unset;
        border-bottom: 2px solid #3052BF;
        background: transparent;
    }
     .header-menu #menu-main-menu>.menu-item.current-menu-item a,
     .header-menu #menu-main-menu>.menu-item.current_page_item a {
        font-weight: 700;
        color: #3052BF;
     }
}
.banner_render-item .banner_show{
	max-width: unset !important;
}
.sport_theme_banner_before_content{
    margin-left: auto;
    margin-right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}
.body-bongda7m>main{
    background: #fff;
}
.breadcumb_div>.row:first-child, .page-title{
	display:none !important;
}
.sport_theme_banner_before_content{
    margin-left: auto;
    margin-right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
	display: flex;
	gap: 12px;
}
.banner_render-item:nth-child(2){
    max-width:unset;
}
.banner_render-item .banner_show {
	width: 100% !important;
}
.center-header-banner{
    max-width: 728px;
    width: 100%;
    height: auto;
    margin-right: 0;
}
.body-bongda7m>main{
    background: #fff;
}
.breadcumb_div>.row:first-child, .page-title{
	display:none !important;
}
body.sport-theme-bongda7m {
    .main-content {
        background: #fff;
        border: unset;
    }
    .contain-row {
        border: unset;
        background: #fff;
    }
    .page.type-page .main-content, .league.type-league .main-content {
        padding: 16px 0;
    }
    .topnhacai-item-slider .topnhacai-logo-img{
        height: unset;
        width: unset;
        max-width: unset;
    }
    .topnhacai-widget{
        padding: 15px 35px 15px;
        background: #F0F9FF;
        border-radius: 8px;
        border: 1px solid #B8E6FE;
    }
    .topnhacai-widget .topnhacai-title {
        font-weight: 800;
        font-size: 18px;
        line-height: 100%;
        vertical-align: middle;
        text-transform: uppercase;
        display: flex;
        align-items: baseline;
    }
    .topnhacai-title span{
        font-weight: 900;
        font-style: Italic;
        font-size: 24px;
        line-height: 100%;
        vertical-align: middle;
        background: linear-gradient(to bottom, #016749, #FF9A00);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        width: max-content;
        padding-right: 15px;
        margin-left: 5px;
        line-height: 26px;
    }
    .topnhacai-item-slider .topnhacai-button{
        font-weight: 600;
        font-style: Italic;
        font-size: 12px;
        line-height: 100%;
        display: flex;
        align-items: center;
        background: linear-gradient(to right, #FF5E62, #FF9966);
        box-shadow: unset;
        border: unset;
        border-radius: 4px;
        gap: 4px;
        justify-content: center;
    }
    .topnhacai-button:after{
        content:'';
        width: 8px;
        height: 8px;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAALCAYAAACtWacbAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABkSURBVHgBhZBRDYAwDEQLCpCABHCCBJxgYSiYFKSAA3BQ7j4aWLamL3kfS263y0RVT5jhKB76ccMtChlsXqKQkW1Cx5P4PDBFIXL1QWCHs7fpgJM3nN+wVn2/QIJD81HeLKobvNn3nfxEWJ4fAAAAAElFTkSuQmCC');
        background-size: contain;
        background-repeat: no-repeat;
    }
    .topnhacai-widget::after{
        display: none;
    }
    .topnhacai-widget .topnhacai-slider-nav{
        display: unset;
    }
    .topnhacai-unique-prev{
        position: absolute;
        left: 5px;
        top: 50%;
        background-color: transparent;
    }
    .topnhacai-unique-next{
        position: absolute;
        right: 5px;
        top: 50%;
        background-color: transparent;
    }
    .topnhacai-widget .topnhacai-unique-prev:hover, .topnhacai-widget .topnhacai-unique-next:hover{
        background-color: transparent;
    }
    .topnhacai-widget:after{
        content: 'Hot';
        position: absolute;
        top: 0;
        left: 0;
        background: red;
        color: #fff;
        display: flex;
        align-items: end;
        justify-content: center;
        width: 100px;
        height: 100px;
        padding-bottom: 3px;
        transform: translate(-60%, -60%) rotate(315deg);
        font-weight: bold;
    }
    .topnhacai-title:after{
        content:'';
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAdCAYAAACqhkzFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAM/SURBVHgBtVXNTlNREJ45996C/GgrhkgMKRsX6oKu3YBPIG9AXbhwJZhojAspJgYXJiXGveCGxGioL2DwBbQ7EwyxhpjoRgqCodx7zjgz97a20BJEneTknp+Z73zzdy7APxbsdGCfmvcEWPa8YBZv7FbgiGI6nljzFizkXRi+s8VgCv4W0DkogQOgCDJErmiL/gwcQfCww+ixvwFEaURRIwIyt7zb4Twch6HeZqmKhMRMiSyjOiqGc/74sQHB4ghE+kWjoAAeYfFYgHsPgxw4dlXjyN4KQ4tADkajB0FedKiQTtNc98iRAL0QbnKWlZ26zXN0sgZegybIws6Eq9nltoBU+H2Tzh1MKogFgkjY8VcY6yWQDQvd4ww8xno5up+aOQgY0TN7Lz6g0C2jM8iDXTQobjMYKpiCInqhK/JFeQkDl1iB7saEtGxk4ZA+cYTKfGuZbfL1iiKP0fq4ZzaN7HDtANa/EO/woYQFVsyj2hW1sne6JHNTTZrsXyKn2dd+B7jBzmx50KTSMld3e05kfD2wONHYlvpNlF03c+138fYpBmVALh0UjthgRvHdPHXbtbwfTXXnOUbZOiOkhFzAY9C1pq+P1xte4kHSP4nrAswhGzOG8KreGmdUg09s485FCD5Bs1DGqqEUOAxFMRonRe1Ikoc5I92AWmOoGWQwoGFWDlrBGixTPDgM1Mtj0EoIxJbijoKswYhGk/qSTaJs2B6szrKXrc/YJK789fVFQrKk3hluJW0p6QBKM/IhYAoiYKkmnZNO21NqVnCYIVSSFgPIWPhjkUTZpIMclQ3TLNf7lDqxG+Bxtv2R2mgnMUaEFebpLUq/UidyAnSZRw40Xm2lwRBLArjCk88SA9zd94D38LiUzKUuhw9i4a5JHgys4POdRYML1So4M02S9k0PDrja07QeagP4zdOS45AVZK2vDS79KPHGLK6zTxG2Au6/YKCZHQN9N/JWzuPSzmIDUA9fbBdwD2fNagoOlabk4EfW/WmesO10fa/lxcaXDPrFv4ZrQUWZrrcB3NJsAn7oquJXM42vtlv+2R1/o9F1fjTOR5N4kV/kCy6tSVnDqnljyrSaem1qwQKWOP7/W34BpxKQTvybeQUAAAAASUVORK5CYII=');
        background-size: cover; 
        width: 20px;
        height: 27px;
    }
    .topnhacai_group_action{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .topnhacai_seemore{
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: Inter;
        font-weight: 600;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        vertical-align: middle;
        text-decoration: underline;
        text-decoration-style: solid;
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
        color: #024A70;
    }
    .breadcumb_div .row{
        background: #fff;
    }
    .breadcumb_div .row{
        padding: 12px 0 0 !important;
    }
    .breadcumb_div .banner_before_content_banner.row{
        padding: 12px 0 !important;
    }
    .sidebar-right .main-content{
        border:unset;
        padding: 16px 0;
    }
    .post.type-post .breadcumb_div{
        margin-left:0;
        margin-bottom: 12px;
       
    }
    .box-content{
        padding: 16px 0;
        margin-top: 0;
    }
    .page.type-page .main-content{
        padding-top: 0 !important;
    }
    .sidebar_box .widget_posts_list{
        background: #f6f6f6;
    }
    .sport_theme-match-detail #match-detail-render{
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .page-title{
        margin-bottom: 12px;
    }
    .league.type-league .contain .left-sidebar-content{
        padding-left: 0;
    }
    .league.type-league .contain .right-sidebar-content{
        padding-right: 0;
    }
    .database-menu{
        background: #e6e6e6;
    }
    .main-content:has(#club_7m_view_render){
        padding:12px;
    }
    
}
.sport-theme-bongda7m.single.single-league .league.type-league .main-content{
    padding: 0 8px 8px;
}
body .img_cover img{
	-o-object-position: 0% 0%;
    object-position: 0% 0%;
}
.header-logo{
	padding-left: 8px;
}
@media (max-width:900px) {
      
    body.sport-theme-bongda7m {
        .topnhacai_seemore{
            display: none !important;
        }  
    }
}
@media (max-width: 768px) {
body .w7m_navtop-box{
	margin-bottom: 10px;
}
body .banner-swiper{
padding-left:8px;
padding-right: 8px;
}
    body.sport-theme-bongda7m {
        .topnhacai-widget{
            margin: 0 0 6px;
        }
        .topnhacai-widget .topnhacai-title {
            font-size: 14px;
            padding-left: 10px;
        }
        .topnhacai-title span{
            font-size: 16px;
            padding-right: 6px;
        }
        .topnhacai-widget{
            padding: 10px 20px;
        }
        .topnhacai-unique-prev{
            left: 0;
        }
        .topnhacai-unique-next{
            right: 0px;
        }
        .topnhacai-widget:after{
            font-size: 12px;
        }
        .footer-ads{
            flex-direction: column;
            width: 90%;
        }
        .header-logo{
            padding-left: 8px;
        }
        .header-logo-banner{
            padding-top: 8px;
        }
        .sidebar-right .main-content{
            padding-top: 0 !important;
        }
    }
}

.banner-swiper+.banner_before_content_banner{
	padding-top: 0;
}
.banner_before_content_banner{
	padding: 8px 0
}
.banner_before_content_banner+.banner_before_content_banner{
	margin-bottom: 10px;
}
#announcement{
	margin-bottom:12px;
}
.banner_before_content_banner .img-wrapper-has{
	height:auto !important;
}
.footer-menu>.menu{
	padding-left:0;
}
#league_7m_livescore_render{
	margin-bottom: 30px
}
.box-content{
	max-width: 830px;
	margin: auto;
}
.header-bongda7m {
  background: linear-gradient(
    180deg,
    #081c2f 0%,
    #0b3554 60%,
    #0e5aa7 100%
  );
}

.footer-bongda7m .footer-main {
  padding-top: 25px;
  background: linear-gradient(
    to top,
    #050f1d 0%,
    #071a2e 40%,
    #0b3554 70%,
    #0e4f8a 100%
  );
}

.footer-bongda7m .footer-main {
  border-top: 3px solid rgba(77,163,255,.35);
}


/* ============================
   NAV GLASS TAB – FINAL FIX
   1) Center menu
   2) Remove separators "|"
   3) Non-active text brighter
============================ */

/* 1) Center nav */
.header-menu .navbar-nav{
  display: flex;                 /* đảm bảo flex */
  justify-content: center;       /* căn giữa */
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* nếu ul đang bị float / inline ở theme */
.header-menu .row{
  display:flex;
  justify-content:center;
}

/* 2) Remove "|" separator (thường là ::before/::after hoặc border-left) */
.header-menu .navbar-nav > li{
  position: relative;
}

.header-menu .navbar-nav > li::before,
.header-menu .navbar-nav > li::after{
  content: none !important;
  display: none !important;
}

/* nếu dấu | được tạo bằng border */
.header-menu .navbar-nav > li{
  border: 0 !important;
}
.header-menu .navbar-nav > li > a{
  border-left: 0 !important;
}

/* 3) Improve non-active text (sáng hơn + dễ đọc) */
.header-menu .navbar-nav > li > a{
  color: #fff !important;  /* sáng hơn */
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);

  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

/* hover */
.header-menu .navbar-nav > li > a:hover{
  color:#082233!important; /* chữ đen cho nổi trên vàng */
  background: linear-gradient(180deg,#ffe08a 0%, #ffd36a 65%, #f2b84b 100%);
  border-color: rgba(255,211,106,.55);
  transform: translateY(-1px);
}

/* active */
.header-menu .navbar-nav > li.current-menu-item > a,
.header-menu .navbar-nav > li.current_page_item > a{
  color:#082233 !important;
  background: linear-gradient(180deg,#ffd36a 0%, #f2b84b 100%);
  border-color: rgba(255,211,106,.65);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.header-menu{ padding: 18px 0; }
.header-menu .container, .header-menu .row{ min-height: 6px; }
.header-menu .navbar-nav > li > a{ padding: 10px 20px; }

.header-menu{
  position: relative;
}

.header-menu::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0px;
  height:1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    #4da3ff,
    #1e6fd9,
    #4da3ff,
    transparent
  );
}

body.sport-theme-bongda7m .topnhacai-widget{
  padding:15px 35px;
  background: linear-gradient(
    180deg,
    #eef6ff 0%,
    #f5faff 60%,
    #e7f1ff 100%
  ) !important;
  border-radius:12px;
  border:1px solid rgba(77,163,255,.35);
  box-shadow: inset 0 1px 0 rgba(77,163,255,.25);
}

body.sport-theme-bongda7m .topnhacai-widget .topnhacai-header,
body.sport-theme-bongda7m .topnhacai-widget .topnhacai-swiper-container{
  background: transparent !important;
}

.box-content-max {
    max-height: 700px !important;
}
@media (max-width: 768px) {
	.banner_before_content_banner{
		padding: 6px 12px;
	}
}