/*
Theme Name: Solak
Theme URI: https://wordpress.themeholy.com/solak
Author: Themeholy
Author URI: https://themeforest.net/user/themeholy
Description: Solak - Ecology & Solar Energy WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later 
License URI: LICENSE
Text Domain: solak
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others. 

*/ 

/* Header sub-menu icon */
.hide-icon.main-menu ul.sub-menu li a:before {
    display: none;
}
.hide-icon.main-menu ul.sub-menu li a:hover {
    padding-left: 0;
}

.widget.no-banner-widget {
    padding: 0;
    background-color: transparent;
    margin-bottom: 0px;
    position: relative;
    border-radius: 0px;
    border: 0px solid transparent;
}

/* ===== XSHD: Làm nổi bật mục menu của trang đang mở ===== */
.main-menu > ul > li.current-menu-item > a,
.main-menu > ul > li.current-menu-ancestor > a,
.main-menu > ul > li.current_page_item > a,
.main-menu > ul > li.current_page_ancestor > a,
.main-menu > ul > li.current-menu-parent > a {
    color: var(--theme-color) !important;
    font-weight: 700 !important;
}
/* Gạch chân dưới mục đang mở */
.main-menu:not(.style2) > ul > li.current-menu-item > a::before,
.main-menu:not(.style2) > ul > li.current-menu-ancestor > a::before,
.main-menu:not(.style2) > ul > li.current_page_item > a::before,
.main-menu:not(.style2) > ul > li.current-menu-parent > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--theme-color);
}
/* Kiểu menu dạng viên tròn (style2): hiện nền nhạt cố định */
.main-menu.style2 > ul > li.current-menu-item > a::before,
.main-menu.style2 > ul > li.current-menu-ancestor > a::before,
.main-menu.style2 > ul > li.current_page_item > a::before {
    background-color: rgba(var(--xshd-primary-rgb, 26, 115, 232), 0.1) !important;
    transform: scaleX(1) !important;
}
/* Mục con trong menu thả xuống */
.main-menu ul.sub-menu li.current-menu-item > a,
.main-menu ul.sub-menu li.current_page_item > a,
.main-menu ul.sub-menu li.current-menu-ancestor > a {
    color: var(--theme-color) !important;
    font-weight: 700 !important;
}
/* Menu trên điện thoại */
.th-mobile-menu ul li.current-menu-item > a,
.th-mobile-menu ul li.current_page_item > a,
.th-mobile-menu ul li.current-menu-ancestor > a {
    color: var(--theme-color) !important;
    font-weight: 700 !important;
}