p,
.button,
button,
fieldset,
input,
select,
textarea {
    margin-bottom: 0;
}
.absolute-footer {
    display: none;
}
.bbp_widget_login .bbp-submit-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    float: none;
    margin-bottom: 15px;
}
.bbp_widget_login .bbp-login-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#bbpress-forums fieldset.bbp-form input[type="password"],
#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form select {
    min-height: 28px;
    height: 35px;
    padding: 5px;
}
/* header */
.header-bg-image {
    background-size: 100% 100%;
}
.header-top {
    background-color: var(--theme-color);
}
.header-top .flex-left .html > h2 {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 25px;
    font-family: var(--semi);
    color: var(--white);
}
.header-top .nav-right {
    flex-wrap: nowrap;
}
.header-top .nav-right .html_nav_position_text {
    display: flex;
}
.header-top .nav-right .html_nav_position_text a::after {
    border: none;
}
.header-top .nav-right .html_nav_position_text .glink img {
    width: 100%;
    max-width: 35px;
    opacity: 10 !important;
    margin: 0 2.5px;
}
.header-main > .header-inner > .logo {
    width: 270px !important;
    margin-right: 20px;
}
.header-main > .header-inner > .flex-right > .nav-right > .menu-item {
    margin-right: 10px !important;
}
.header-main > .header-inner > .flex-right > .nav-right > .menu-item > a {
    font-family: var(--semi);
    color: var(--theme-color);
    padding: 0;
    line-height: 1.6;
    text-transform: none;
    font-size: 17px;
    font-weight: 100;
}
.header-main
    > .header-inner
    > .flex-right
    > .nav-right
    > .menu-item
    > a::before {
		content: none;
	}
.header-main
    > .header-inner
    > .flex-right
    > .nav-right
    > .menu-item
    > a::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 2px;
    background-color: currentColor;
    left: 0;
    bottom: 0;
    -webkit-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
    opacity: 1 !important;
    visibility: visible !important;
}
.header-main
    > .header-inner
    > .flex-right
    > .nav-right
    > .menu-item
    > a:hover::after,
.header-main
    > .header-inner
    > .flex-right
    > .nav-right
    > .menu-item.active
    > a::after {
    width: 100%;
}
.header-main .header-nav-main {
    gap: 10px;
}
.header-main .header-nav-main .menu-item .icon-angle-down {
    opacity: 1;
    font-size: 12px;
    margin-left: 4px;
}
.header-main .header-nav-main .menu-item .icon-angle-down::before {
    content: "\f0d7";
    font-family: var(--fa6);
    font-weight: 600;
}
.header .header-top .npsc-search-btn {
	margin-right: 0;
	color: #ffffff;
}
.header .header-top .npsc-search-input {
	background-color: hsla(0, 0%, 100%, .2) !important;
    border-color: hsla(0, 0%, 100%, .09);
	border-radius: 99px !important;
	box-shadow: none !important;
}
.header .header-top .npsc-search-input::placeholder {
	color: #ffffff !important;
}
/* widget */
.bbp-topics-widget.freshness li {
    padding-bottom: 10px;
}
.bbp-stats li {
    padding: 10px 0;
}
.bbp-stats li > i {
    margin-right: 5px;
    color: #d9e2e9;
}
.widget {
    border: 2px solid #d9e2e9;
    border-radius: 5px;
    padding: 20px;
}
.bbp_widget_login {
    border: 2px solid var(--wp--preset--color--primary);
}
.widget .is-divider {
    display: none;
}
.widget .widget-title {
    display: block;
}

.widget .widget-title span {
    margin: 10px 0;
    text-transform: uppercase;
    padding: 0;
    display: block;
}
.widget > div,
.widget > .bbp-logged-in,
.widget > .bbp-stats,
.widget > .bbp-topics-widget,
.widget > .bbp-login-form {
    padding: 0;
}
.widget .bbp-logged-in .logout-link {
    color: #ffffff;
    margin-bottom: 0;
    font-size: 12px;
}

/* dien dan */
.bbp-form legend,
.bbp-no-topic legend {
    margin: 15px 0;
}
.bbp-form ul,
.bbp-no-topic ul {
    margin-bottom: 0;
}
.bbp-form li,
.bbp-no-topic li {
    list-style: none;
}
.bbp-form,
.bbp-form input,
.bbp-form .wp-editor-container,
.bbp-form select {
    border-radius: 5px;
}
#bbpress-forums li.bbp-footer {
    display: none;
}
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
    font-size: 14px;
}
.bbp-login-form input {
    border-radius: 5px;
}
.sec_bc {
    background-color: #f6f7f7;
    padding: 0;
}
.sec_bc .col {
    padding-top: 10px;
    padding-bottom: 10px;
}
.npsc-table * {
    font-size: 16px;
}
.npsc-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #d9e2e9;
    border-top: 1px solid #d9e2e9;
    border-radius: 5px;
    overflow: hidden;
}
.npsc-table.fix-layout {
    table-layout: fixed;
}
.npsc-table h3 {
    margin-bottom: 0;
}
.npsc-table th,
.npsc-table td {
    padding: 20px;
    text-align: left;
}

.npsc-table.bbp-replies .bbp-author-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.npsc-table .bbp-author-avatar {
    margin-bottom: 5px;
}
.npsc-table .bbp-author-role {
    text-align: center;
}
/* Bo góc riêng cho các ô ở góc bảng */
.npsc-table tr:first-child th:first-child {
    border-top-left-radius: 5px;
}
.npsc-table tr:first-child th:last-child {
    border-top-right-radius: 5px;
}
.npsc-table tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}
.npsc-table tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}
.npsc-search {
    margin: 0 auto;
}

.npsc-search-wrapper {
    position: relative;
}

.npsc-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #d9e2e9;
    border-radius: 5px !important;
    font-size: 16px;
    outline: none;
    transition: border 0.2s ease;
}

.npsc-search-input:focus {
    border-color: #999;
}

.npsc-search-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    padding: 0;
}

.npsc-search-btn:hover {
    color: #000;
}
.npsc-table .cat-title {
    display: flex;
    gap: 10px;
}
.npsc-table .cat-title i {
    color: #d9e2e9;
}
.npsc-table .has_post .cat-title i {
    color: var(--wp--preset--color--primary);
}
.npsc-table .cat-title a {
    color: #000000;
}
.npsc-table .has_post .cat-title a {
    color: var(--wp--preset--color--primary);
}
.npsc-user-avatar {
    margin-bottom: 10px;
}
.npsc-user-avatar img {
    width: 100%;
}
.npsc-user-navigation {
    border: 2px solid #d9e2e9;
    border-radius: 5px;
    padding: 5px;
}
.npsc-user-navigation ul li a {
    display: block;
    padding: 10px;
    border-radius: 5px;
}
.npsc-user-navigation ul li:not(:last-child) a {
    margin-bottom: 2px !important;
}
.npsc-user-navigation ul li.current a,
.npsc-user-navigation ul li:hover a {
    background-color: var(--wp--preset--color--primary) !important;
    color: #ffffff !important;
}
.bbp-user-section .bbp-replies .bbp-reply-author {
    width: 150px;
}
/* Trạng thái Chưa theo dõi */
/* #subscription-toggle:not(.is-subscribed) a {
	background-color:var(--wp--preset--color--primary);
    color: white;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.2s ease;
} */

/* Trạng thái Đã theo dõi */
/* #subscription-toggle .is-subscribed a {
    background-color: var(--wp--preset--color--secondary);
    color: white;
    border: 1px solid var(--wp--preset--color--secondary);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.2s ease;
} */

/* Hover chung cho cả 2 */
/* #subscription-toggle a:hover {
    opacity: 0.85;
    text-decoration: none;
} */
#bbpress-forums .bbp-user-section {
    overflow: none;
}
#bbpress-forums p.bbp-topic-meta span {
    white-space: normal !important;
}

/* Sub menu */
.sec-sub-menu {
    padding: 0 !important;
    height: max-content;
}
.sec-sub-menu .section-content {
    height: 100%;
}
.sec-sub-menu .section-content .row {
    width: 100%;
    margin: 0 auto;
}
.sec-sub-menu .mega-sub-menu button.toggle {
    display: none;
}
.sec-sub-menu .mega-sub-menu .mega-submenu-container {
    position: relative;
}
.sec-sub-menu .mega-sub-menu .mega-submenu-container .menu-level-2.sub-menu {
    display: none;
    list-style: none;
    margin: 0;
}
.sec-sub-menu
    .mega-sub-menu
    .mega-submenu-container
    .menu-level-2.sub-menu
    .menu-item {
    margin: 0 !important;
    display: block;
}
.sec-sub-menu
    .mega-sub-menu
    .mega-submenu-container
    .menu-level-2.sub-menu
    .menu-item
    a {
    padding: 14px 15px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s;
}
.sec-sub-menu
    .mega-sub-menu
    .mega-submenu-container
    .menu-level-2.sub-menu
    .menu-item
    a:hover {
    background: linear-gradient(
        290.37deg,
        rgba(138, 155, 189, 0.5) 9.78%,
        rgba(180, 203, 240, 0.5) 109.56%
    );
}
.sec-sub-menu
    .mega-sub-menu
    .mega-submenu-container
    .menu-level-2.sub-menu
    .menu-item.current-page
    a {
    background: linear-gradient(
        290.37deg,
        rgba(138, 155, 189, 0.5) 9.78%,
        rgba(180, 203, 240, 0.5) 109.56%
    );
}
.sec-sub-menu .sub-menu-image-wrap {
    gap: 40px;
}
.sec-sub-menu .sub-menu-image-wrap .item .img-inner {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 6px;
    position: relative;
}
.sec-sub-menu .sub-menu-image-wrap .item .img-inner img {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
}
.sec-sub-menu .col-right {
    padding: 40px 30px;
    background-color: #f3f5f2;
}
.sec-sub-menu .col-left {
    padding: 40px 30px;
}
/* Footer */
#footer .col-left:before {
    content: "";
    width: 40vw;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--theme-color);
}
#footer .col-left {
    background-color: var(--theme-color);
    padding-top: 30px;
}
#footer .col-left .icon-box-img {
    margin: 0 auto;
}
#footer .col-left .sub_title > h2 {
    font-size: 18px;
    color: var(--white);
    margin: 20px 0;
    text-transform: uppercase;
}
#footer .col-left .text > p {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 10px;
}
#footer .col-left .text > p i {
    margin-right: 5px;
}
#footer .col-right:after {
    content: "";
    width: 66vw;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: url(/wp-content/uploads/2025/04/backgroud-img-footer.webp)
        no-repeat center;
    background-size: cover;
    z-index: 1;
}
#footer .col-right .col-inner {
    z-index: 5;
    padding-bottom: 55px;
    display: flex;
    justify-content: space-between;
}
#footer .col-right .ux-menu {
    margin: 0 20px;
}
#footer .col-right {
    padding-top: 50px;
    position: relative;
}
#footer .col-right .ux-menu .ux-menu-title {
    min-height: unset;
    color: var(--white);
    font-weight: normal;
    font-size: 16px;
    text-transform: none;
    font-family: var(--semi);
    margin-bottom: 15px !important;
    padding: 0;
}
#footer .col-right .ux-menu .ux-menu-link a {
    color: var(--white);
    font-size: 15px;
    line-height: 20px;
    min-height: unset;
    position: relative;
    padding-left: 20px;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
#footer .col-right .ux-menu .ux-menu-link:hover a {
    transform: translateX(10px);
}
#footer .col-right .ux-menu .ux-menu-link a:before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    position: absolute;
    background-color: var(--white);
    border-radius: 50%;
    left: 0;
    top: 12px;
}
#footer .col-right:before {
    content: "";
    width: 66vw;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(32, 57, 139, 0.8823529412);
    opacity: 0.92;
    z-index: 2;
}
#footer .col-right .map {
    max-width: 45%;
    width: 100%;
    /* position: absolute;
	right: 0; */
}
#footer .col-right .map > iframe {
    height: 225px;
}
#footer .ab-footer:before {
    content: "";
    display: block;
    width: 65.5vw;
    border-top: 1px solid var(--white);
    position: relative;
    left: -221px;
    padding-top: 20px;
}
#footer .ab-footer {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    right: 0;
    width: 50vw;
    color: var(--white);
    padding-bottom: 0px;
}
#footer .ab-footer p {
    font-size: 15px;
    margin-bottom: 0px;
}
.absolute-footer {
    display: none;
}
@media (max-width: 980px) {
    /* header */
    .nav > li > a > i.icon-menu {
        font-size: 30px;
        color: var(--theme-color);
    }
    .off-canvas-center .mfp-content {
        height: 85%;
        max-width: 100%;
        padding-top: 0;
    }
    #main-menu.mobile-sidebar .menu-item a {
        color: var(--black);
        font-size: 16px;
        font-family: var(--medium);
        font-weight: normal;
    }
    #main-menu.mobile-sidebar .nav-sidebar .current-menu-item a {
        color: var(--theme-color) !important;
    }
    #main-menu.mobile-sidebar .nav-sidebar.nav-vertical > li {
        background: none;
		opacity: 1 !important;
		transform: translateY(0px) !important;
    }
    .off-canvas-center .nav-sidebar.nav-vertical > li a {
        justify-content: left;
    }
    #main-menu.mobile-sidebar .menu-item .sub-menu a {
        text-align: left;
        padding-left: 60px !important;
        color: var(--black) !important;
    }
    .banner-page {
        padding-top: 150px !important;
    }
    /* footer */
    #footer .col-right {
        padding-top: 30px;
    }
    #footer .col-right .ux-menu {
        margin-left: 0px;
    }
    #footer .col-right .ux-menu .ux-menu-title {
        margin-bottom: 10px !important;
    }
    #footer .col-right:before {
        width: 100%;
    }
    #footer .col-right:after {
        width: 100%;
    }
    #footer .col-right .map {
        max-width: 50%;
        width: 100%;
    }
    #footer .col-right .map > iframe {
        height: 200px;
    }
    #footer .ab-footer {
        width: 100%;
    }
    #footer .ab-footer:before {
        width: 100%;
        left: 0;
        padding-top: 10px;
    }
    #footer .ab-footer .col-inner {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .npsc-table .bbp-author-avatar {
        display: none;
    }
    .col {
        padding-bottom: 10px;
    }
    .npsc-table {
        border: none;
    }
    .npsc-table thead {
        display: none;
        border: none;
    }

    .npsc-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #d9e2e9;
        border-radius: 5px;
        overflow: hidden;
    }

    .npsc-table tbody td {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #d9e2e9;
    }
    .npsc-table tbody td > div {
        width: 100%;
    }
    .npsc-table tbody td > br {
        display: none;
    }
    .npsc-table tbody td:last-child {
        border-bottom: none;
    }
    .npsc-table .bbp-header,
    .npsc-table .bbp-footer {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    /* footer */
    #footer .col-right .ux-menu .ux-menu-title {
        width: max-content;
    }
    #footer .col-right .ux-menu {
        margin: 0;
    }
    #footer .col-right .col-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #footer .col-right .map {
        max-width: 100%;
        grid-column: span 2;
    }
    #footer .col-right:before {
        width: 100%;
    }
    #footer .col-right:after {
        width: 100%;
    }
    #footer .ab-footer {
        width: 100%;
    }
    #footer .ab-footer:before {
        width: 100%;
        left: 0;
    }

    #footer .ab-footer p {
        padding-right: 0;
    }
}
