/**
Theme Name: Nang Luong Song
Author: GPC Team
Author URI: http://giaiphapcontent.com
Description: Yoga Năng Lượng Sống
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpc-astra
Template: astra
*/

:root {
    --body-color: #231f20;
    --body-font: 'Nunito Sans',sans-serif;

    --gpc-pr-color-button: var(--ast-global-color-0);
    --gpc-container-width: 1200px;

    --button-padding: 12px 24px 10px;
    --button-font-size: 16px;
    --button-font-weight: 600;
    --button-text-transform: uppercase;
    --button-background-color: #fff;
    --button-border-color: var(--ast-global-color-0);
    --button-color: var(--ast-global-color-0);
    --button-hover-background-color: var(--ast-global-color-0);
    --button-hover-border-color: var(--ast-global-color-0);
    --button-hover-color: #fff;

    --gpc-font-size-small: 14px;
    --gpc-font-size-medium: 18px;
    --gpc-font-size-large: 30px;
    --gpc-font-size-xl: 44px;
    --gpc-font-size-xxl: 60px;

    --gpc-section-small-pb: 0;
    --gpc-section-medium-pb: 0;
    --gpc-section-large-pt: 50px;
    --gpc-section-large-pb: 0px;
    --gpc-section-xl-pb: 0;
}

@media (max-width: 767px) {
    :root {
        --gpc-font-size-large: 24px;
        --gpc-font-size-xl: 36px;
        --gpc-font-size-xxl: 50px;

        --gpc-section-large-pt: 35px;
    }
}

.entry-content li {
    margin-bottom: 0.25rem;
}

/*=============================================
=            Ultilities         =
=============================================*/
.text-center {
    text-align: center;
}

.color-em {
    color: #EE5007;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

[class^="w-"] { width: 100% }

.section-flow-column > .elementor-container {
    flex-flow: column;
}

.section-row-gap-0 > .elementor-container { row-gap: 0; }
.section-row-gap-1 > .elementor-container { row-gap: 0.25rem; }
.section-row-gap-2 > .elementor-container { row-gap: 0.5rem; }
.section-row-gap-3 > .elementor-container { row-gap: 0.75rem; }
.section-row-gap-4 > .elementor-container { row-gap: 1rem; }
.section-row-gap-5 > .elementor-container { row-gap: 1.25rem; }
.section-row-gap-6 > .elementor-container { row-gap: 1.5rem; }
.section-row-gap-7 > .elementor-container { row-gap: 1.75rem; }
.section-row-gap-8 > .elementor-container { row-gap: 2rem; }

@media (min-width: 992px) {
    .w-lg-75 { width: 75% !important }
    .w-lg-66 { width: 66% !important }
}

@media (max-width: 1023px) {
    .is-stack-on-tablet > .elementor-container > .elementor-column {
        width: 100%;
    }
}

@media(max-width: 1024px) and (min-width: 768px) {
    .bg-tablet-only-none {
        background-image: none !important;
    }

    .bg-tablet-only-contain {
        background-size: contain !important;
    }
}

/**
 * Section full width one side
 */

@media(max-width: 1023px) {
    .section-full-width-left > .elementor-container,
    .section-full-width-right > .elementor-container {
        padding: 20px !important;
    }
}

@media(min-width: 1024px) {

    .section-full-width-left.gpc-section-large,
    .section-full-width-right.gpc-section-large {
        padding-top: calc(var(--gpc-section-large-pt) + 10px);
        padding-bottom: calc(var(--gpc-section-large-pb) + 10px);
    }

    .section-full-width-left > .elementor-container > .elementor-column:last-child {
        padding-right: max(calc((100vw - var(--gpc-container-width)) / 2), calc((var(--gpc-container-width) - 100vw) / 2));
    }

    .section-full-width-right > .elementor-container > .elementor-column:first-child {
        padding-left: max(calc((100vw - var(--gpc-container-width)) / 2), calc((var(--gpc-container-width) - 100vw) / 2));
    }
}

/*=============================================
=            Animation            =
=============================================*/
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@keyframes wiggle {
    0%, 7% {
      transform: rotateZ(0);
    }
    15% {
      transform: rotateZ(-15deg);
    }
    20% {
      transform: rotateZ(10deg);
    }
    25% {
      transform: rotateZ(-10deg);
    }
    30% {
      transform: rotateZ(6deg);
    }
    35% {
      transform: rotateZ(-4deg);
    }
    40%, 100% {
      transform: rotateZ(0);
    }
  }

.has-effect-pulse {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	animation: pulse 2s linear infinite;
}

.has-effect-wiggle {
    animation: wiggle 2s linear infinite;
}
/*=============================================
=            Override Astra CSS            =
=============================================*/


.widget {
    margin: 0 0 1.5em 0;
}

.widget-title { font-weight: 600; margin-bottom: 1rem; }

p, p.elementor-heading-title {
    font-size: inherit;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}
.entry-content p {
    margin-bottom: 0.5rem;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-bottom: 0.5rem;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
    padding: 0;
}





/*=============================================
=            Override Plugin CSS            =
=============================================*/
.elementor-aspect-ratio-169 .elementor-fit-aspect-ratio {
    padding: 0;
    height: auto;
    line-height: 0;
}

.elementor-widget-icon-box.elementor-vertical-align-middle .elementor-icon-box-content {
    display: flex;
    align-items: center;
}

.wpcf7 .gpc-form {
    margin-bottom: 0;
}

.wpcf7 .field .wpcf7-not-valid-tip{
    line-height: 1.5;
    font-size: 0.875rem;
}

.wpcf7 .field {
    margin-bottom: 0.5rem;
}

.wpcf7 .field .wpcf7-form-control-wrap {
    line-height: 0;
}

.wpcf7 .form-dark + .wpcf7-response-output {
    color: #fff;
}

.wpcf7 .field .button-light {
    background-color: #fff;
    color: #333;
}

.wpcf7 .field .wpcf7-spinner {
    display: none;
}

.wpcf7-form.submitting .wpcf7-spinner {
    display: inline-block;
}

.wpcf7 input:not([type=submit]), .wpcf7 textarea {
    padding: 10px 12px 8px;
}
.wpcf7 select {
    padding: 13px 12px 12px;
}

.elementor-post__title a,
.gpc-post__title a {
    color: var(--body-color);
    font-weight: 600;
    font-size: 1rem;
}

/*=============================================
=            Common elements            =
=============================================*/
.gpc-section {
    margin-top: 50px;
}

.gpc-heading-section-title .elementor-heading-title {
    font-size: 44px;
    font-weight: bold;
}

/*=============================================
=            Layout            =
=============================================*/
.ast-separate-container #primary { margin: 1em 0; }

.ast-page-builder-template .site-content > .ast-container {
    padding-bottom: 2rem;
}

@media (min-width: 993px) {
    .ast-separate-container #primary,
    .ast-separate-container.ast-left-sidebar #primary,
    .ast-separate-container.ast-right-sidebar #primary {
        margin: 1rem 0;
    }

    #secondary {
        margin: 1rem 0;
    }

    .ast-right-sidebar #secondary {
        padding-left: 30px;
    }
}

@media (max-width: 921px) {
    .ast-separate-container.ast-right-sidebar #secondary {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}



/*=============================================
=            Header            =
=============================================*/

.ast-site-identity {
    padding: 0.25rem 0;
}

.main-header-menu .menu-link, .main-header-menu>a {
    padding: 0 0.75rem;
}

/*=============================================
=            Page Header            =
=============================================*/
.ast-advanced-headers-title { font-size: 30px; }
.ast-advanced-headers-breadcrumb { font-size: 15px; }

.ast-breadcrumbs-wrapper {
    font-size: 0.875rem;
    padding: 1rem 0.5rem;
}

.ast-title-bar-wrap {
    background-size: contain;
}

/*=============================================
=            Footer            =
=============================================*/
.site-footer { font-size: 0.875rem; z-index: 2; }
.footer-widget-area .footer-widget-area-inner .wp-social-link a,
.footer-widget-area .footer-widget-area-inner .wp-social-link a:hover {
    color: #fff;
}
.site-footer input,
.site-footer select,
.site-footer textarea {
    font-size: 0.875rem;
}
.site-footer .wpcf7 form>div,
.site-footer .wpcf7 form>p {
    margin-bottom: 0.25rem;
}

.form-footer-top {
    position: relative;
}
.form-footer-top input:not([type=submit]) {
    width: 100%;
    padding: var(--button-padding);
    border-radius: 3px;
}
.form-footer-top input[type=submit] {
    padding: 14px 20px;
    border-radius: 0px 3px 3px 0;
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 1em;
    background-color: var(--body-color);
    color: #fff;
    border-color: var(--body-color);
}

@media(min-width: 1024px) {
    .form-footer-top input[type=submit] {
        min-width: 155px;
    }
}

/* mobile 1 cột */
@media(max-width: 767px) {
    .ast-custom-footer .elementor-nav-menu {
        flex-direction: column;
    }
	.ast-custom-footer .elementor-nav-menu li a {
		justify-content: center;
    }
}


/* Floating contact */

@media(min-width: 768px) {
    .gpc-floating-contacts {
        bottom: 60px;
        right: 25px;
    }
}



/*=============================================
=            Home            =
=============================================*/
.home-banner-video-text {
    padding: 20px 0;
}

@media(min-width: 1024px) {
    .home-banner-video video {
        height: 100%;
    }

    .home-banner-video-text {
        position: absolute;
        color: #fff;
        height: 100%;
        align-items: center;
        background: rgba(0, 0, 0, 0.4);
    }

    .home-banner-video-text .elementor-heading-title {
        color: #fff;
    }
}

@media(max-width: 768px) {
    .home-banner-video video {
        height: 350px;
    }
}

/*-----Course in home-----*/
.home-course-button a {
	border: none;
}
.home-course-button a::after {
	margin-top: 5px;
    content: "";
    width: 0;
    height: 2px;
    background: var(--e-global-color-primary);
    display: block;
    transition: all 0.6s ease-in-out;
    transition-delay: 0.2s;
}
.home-course-button:hover a::after {
    width: 100%;
}


/*=============================================
=            Posts            =
=============================================*/
/* layout */
.ast-separate-container .ast-grid-2 .blog-layout-1, .ast-separate-container .ast-grid-2 .blog-layout-2, .ast-separate-container .ast-grid-2 .blog-layout-3, .ast-separate-container .ast-grid-3 .blog-layout-1, .ast-separate-container .ast-grid-3 .blog-layout-2, .ast-separate-container .ast-grid-3 .blog-layout-3, .ast-separate-container .ast-grid-4 .blog-layout-1, .ast-separate-container .ast-grid-4 .blog-layout-2, .ast-separate-container .ast-grid-4 .blog-layout-3 {
    padding: 0;
}

.ast-separate-container .ast-grid-2 .ast-article-post .blog-layout-1, .ast-separate-container .ast-grid-2 .ast-article-post .blog-layout-2, .ast-separate-container .ast-grid-2 .ast-article-post .blog-layout-3 {
    padding: 0;
}

.archive [class*="ast-grid-"] .ast-article-post {
    width: 100%;
}


.archive [class*="ast-grid-"] > .site-main > .ast-row {
    gap: 1rem;
    display: grid;
}

.archive .ast-grid-2 > .site-main > .ast-row {
    grid-template-columns: 1fr 1fr;
}


@media (min-width: 1024px) {
    .archive [class*="ast-grid-"] > .site-main > .ast-row {
        gap: 1.5rem;
        display: grid;
    }

    .archive .ast-grid-3 > .site-main > .ast-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .archive .ast-grid-4 > .site-main > .ast-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.link-edit-post {
    position: absolute;
    top: 0;
    z-index: 9;
    background: rgba(0, 0, 0, .5);
    padding: 0 0.5rem;
}

.archive .entry-title,
.blog .entry-title,
.search .entry-title {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.entry-meta > span {
    margin-right: 10px;
}

.entry-meta .posted-on:before {
    display: inline-block;
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    margin-right: 5px;
}

.entry-meta .cat-links:before {
    display: inline-block;
    content: "\f07b";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    margin-right: 5px;
}

.entry-content .read-more {
    font-weight: bold;
    color: #000;
    margin-top: 1em;
    text-decoration: underline;
}

.entry-content .read-more a {
    color: inherit;
}

.ast-archive-post .entry-content {
    font-size: 0.875em;
}

.ast-archive-post .entry-title a {
    margin-bottom: 0.5em;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--body-font) !important;
	text-decoration: none;
}

.ast-blog-featured-section {
    margin-bottom: 1rem;
}

.entry-meta, .entry-meta * {
    font-size: 0.875rem;
    color: var(--body-color);
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
    border-bottom: none;
}

.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers {
    display: none;
}

.ast-separate-container .ast-archive-description {
    padding: 0.5rem;
    margin-bottom: 1rem !important;
    background-color: transparent;
}
.ast-separate-container .ast-archive-description .ast-archive-title {
    font-size: 1.5rem;
}

/* form subscriber */
.form-blog-subscriber {
    text-align: center;
}

.form-blog-subscriber .field {
    display: inline-block;
}

/* category page */
.category-banner {
    position: relative;
    height: 450px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.category-banner::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.category-banner__title {
    font-size: 40px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    text-align: center;
}


/*=============================================
=            Single Post            =
=============================================*/
.ast-single-related-posts-container {
    border-top: 1px solid #e7e7e7;
    padding: 30px 0 !important;
    margin-top: 30px;
}

.single .entry-title {
    color: var(--ast-global-color-0);
    font-weight: bold;
}

.single:not(.elementor-page) .entry-content img {
    margin: 0 0 1rem 0;
}

.single article.post b,
.single article.post strong {
    background: linear-gradient(transparent 50%, #CDF0EA 50%);
}

.single article .entry-content h2 {
    font-size: 1.75em;
    font-weight: 600;
}

.single article .entry-content h3 {
    font-size: 1.5em;
    font-weight: 600;
}

.single article .entry-content h4 {
    font-size: 1.25em;
    font-weight: 600;
}

/* .single article .entry-content a {
    background: linear-gradient(transparent 50%, #CDF0EA 50%);
} */

.ast-related-posts-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ast-related-post-content .entry-header .ast-related-post-title,
.ast-related-post-content .entry-header .ast-related-post-title a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--body-color);
}

.ast-related-post-featured-section {
    margin-bottom: 1rem;
}

.ast-related-post-content .entry-header {
    margin-bottom: .5rem;
}

.ast-related-post-cta .ast-related-post-link {
    font-size: .875rem;
}


/* Block chuyên đề chèn trong bài viết */
.block-chuyen-de .elementor-widget:not(:last-child) {
    margin-bottom: 0;
}

.single .entry-content .block-chuyen-de img {
    margin: 0;
}
.single .entry-content .block-chuyen-de .gpc-post__title {
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 0;
}


/* Share links cuối bài viết */
.post-bottom-metas {
    margin: 30px 0;
}
.post-bottom-metas .meta {
    margin-bottom: 10px;
}
.post-bottom-metas .meta-title {
    font-family: var(--heading-font);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--body-color);
}
.post-bottom-metas .share-links {
    display: inline-flex;
}
.post-bottom-metas .share-links a {
    font-size: 22px;
    line-height: 22px;
    display: inline-block;
    margin-right: 8px;
    color: currentColor;
}
.post-bottom-metas .gpc-share-link.facebook {
    color: #4267B2;
}
.post-bottom-metas .gpc-share-link.twitter {
    color: #1DA1F2;
}
.post-bottom-metas .gpc-share-link.linkedin {
    color: #0e76a8;
}


/*=============================================
=            Video Archives            =
=============================================*/
.archive .entry-excerpt {
    display: none;
}

.archive .type-gpc-video .entry-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.archive .type-gpc-video .video-teachers {
    margin-bottom: 0.5rem;
    text-align: center;
}

.archive .type-gpc-video .video-teachers a {
    color: currentColor;
	text-decoration: none;
}

.archive .type-gpc-video .video-info {
    margin-bottom: 0.5rem;
    text-align: center;
}

.archive .type-gpc-video .video-info span {
    padding: 0 15px;
}

.archive .type-gpc-video .entry-meta {
    display: none;
}

.archive .type-gpc-video .read-more {
    text-align: center;
	display: none;
}

.archive .type-gpc-video .read-more a {
    text-transform: uppercase;
    color: var(--body-color);
    border-bottom: 1px solid;
}

/* elementor videos */
.elementor-widget-gpc_videos .entry-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.elementor-widget-gpc_videos .video-teachers {
    margin-bottom: 0.5rem;
    text-align: center;
}

.elementor-widget-gpc_videos .video-teachers a {
    color: currentColor;
}

.elementor-widget-gpc_videos .video-info {
    margin-bottom: 0.5rem;
    text-align: center;
}

.elementor-widget-gpc_videos .video-info span {
    padding: 0 20px;
}

.elementor-widget-gpc_videos .entry-meta {
    display: none;
}

.elementor-widget-gpc_videos .gpc-post__read-more {
    text-align: center;
}

.elementor-widget-gpc_videos .gpc-post__read-more a {
    text-transform: uppercase;
    color: var(--body-color);
    border-bottom: 1px solid;
}

/*=============================================
=            Single video            =
=============================================*/

.video-content.has-video {
    display: block;
    margin-bottom: 1.5rem;
	text-align: center;
}

.single-gpc-video .entry-header .entry-meta {
    display: none;
}

.single-gpc-video .entry-header {
    margin-bottom: 1.5rem;
	max-width: 1040px;
	margin: 0 auto;
	padding-bottom: 20px;
}

.single-gpc-video .entry-content
{
	max-width: 1040px;
	margin: 0 auto;
}

.single-gpc-video .video-teachers {
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.25em;
}

.single-gpc-video .video-teachers a {
    color: var(--body-color);
	text-decoration: none;
}

.single-gpc-video .video-info {
    display: flex;
    flex-direction: row;
}

.single-gpc-video .video-info > div {
    margin-right: 2rem;
}

.single-gpc-video .video-info__title {
    display: block;
    color: #636363;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .875em;
    opacity: .8;
}

/* related vides */
.ast-related-posts-wrapper {
    display: grid;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    grid-template-columns: 1fr;
}

@media(min-width: 768px) {
    .ast-related-posts-wrapper.grid-2,
    .ast-related-posts-wrapper.grid-3,
    .ast-related-posts-wrapper.grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width: 992px) {
    .ast-related-posts-wrapper.grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ast-related-posts-wrapper.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}


/*=============================================
=            Widgets            =
=============================================*/
#secondary {
    line-height: 1.5;
}

.ast-separate-container #secondary .widget {
    border: 1px solid #e7e7e7;
    margin-bottom: 30px;
    margin-top: -1px;
    padding: 20px !important;
}

.secondary .widget .widget-title,
.secondary .wp-block-group__inner-container h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 15px
}

/* Widget Bài viết mới */

#secondary .wp-block-latest-posts__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    row-gap: 0.5rem;
    margin-bottom: 8px;
}

#secondary .wp-block-latest-posts__featured-image {
    margin-right: 8px;
    grid-row: 1/3;
    grid-column: 1/1;
}

#secondary .wp-block-latest-posts__list li > a {
    grid-row: 1;
    grid-column: 2;
    font-size: 0.875rem;
}

#secondary .wp-block-latest-posts__list li > .wp-block-latest-posts__post-date {
    grid-row: 2;
    grid-column: 2;
}


/* Widget Chuyên mục & Danh mục sản phẩm */

#secondary .wp-block-categories-list li,
#secondary .wc-block-product-categories-list-item,
#secondary .menu-item,
.gpc_widget_categories .cat-item {
    padding: 0.25rem 1rem;
    position: relative;
    font-size: 1rem;
}

#secondary .wp-block-categories-list > li > a,
#secondary .menu-item > a,
.gpc_widget_categories .cat-item > a {
    display: inline-block;
    margin-bottom: 0.25em;
}

#secondary .wp-block-categories-list li:before,
#secondary .wc-block-product-categories-list-item:before,
#secondary .menu-item:before,
.gpc_widget_categories .cat-item:before {
    display: block;
    content: '\f105';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    opacity: .7;
    position: absolute;
    top: 5px;
    left: 0;
}


/* Widget Gpc recent posts */
.gpc-recent-posts-item {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem !important;
}

.gpc-recent-posts-item:last-child {
    margin-bottom: 0 !important;
}

.gpc-recent-posts-item__thumbnail {
    flex: 0 0 33.3%;
    margin-right: 10px;
}

.gpc-recent-posts-item__title {
    display: block;
    font-size: 1rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.gpc-recent-posts-item__date {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.gpc-recent-posts-item__excerpt {
    font-size: 0.875rem;
}

/*=============================================
=            Subscriber form            =
=============================================*/
.subscriber-form {
    display: flex;
}
.subscriber-form .input input {
    padding: 12px; /* tuỳ chỉnh để bằng button */
}

/*=============================================
=            GPC Tabs (Gutenberg)            =
=============================================*/
.gpc-tabs table {
    margin: 0;
	text-align: center;
}

.gpc-tabs .wp-block-getwid-tabs__nav-link {
    border: none;
}

.gpc-tabs .wp-block-getwid-tabs__nav-link a {
    padding: 0.25rem 0.75rem !important;
}

.gpc-tabs .wp-block-getwid-tabs__nav-link:hover {
    background-color: #f5f5f5;
    border-radius: 6px;
}

.gpc-tabs .wp-block-getwid-tabs__nav-link.ui-tabs-active {
    background-color: var(--ast-global-color-0);
    border-radius: 6px;
}

.gpc-tabs .wp-block-getwid-tabs__nav-link.ui-tabs-active a {
    color: #fff;
}

.gpc-tabs .wp-block-getwid-tabs__tab-content {
    border: none;
    padding: 0.75rem 0 1.5rem;
}




/*=============================================
=            Lớp học            =
=============================================*/
.class-price {
    font-size: 1.5em;
    color: var(--ast-global-color-0);
    font-weight: bold;
}
/* -----------------Course Detail----------------- */
body .gpc-course-gallery{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-radius: 20px;
	overflow: hidden;
}
.wp-block-gallery.has-nested-images.gpc-course-gallery figure.wp-block-image:not(#individual-image) {
    width: auto;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img {    
	margin-bottom: 0;
}
.wp-block-gallery.has-nested-images.gpc-course-gallery figure.wp-block-image:nth-child(2) {
    grid-column: 2;
	grid-row: 1 / span 2;
}
.wp-block-gallery.has-nested-images.gpc-course-gallery figure.wp-block-image:nth-child(5) {
    grid-column: 3;
}
/* ---------chương trình học table--------- */
.table-chuong-trinh{
	margin-bottom: 30px;
	overflow-x: auto;
}
.table-chuong-trinh table{
	min-width: 700px;
}
.table-chuong-trinh tr:not(:last-child){
	font-weight: 600;
	text-align: center
}
.table-hinh-thuc{
	margin-bottom: 30px;
	overflow-x: auto;
}
.table-hinh-thuc table{
	min-width: 600px;
}
/* ---------hình thức--------- */
.hinh-thuc-grid{
	overflow-x: auto;
	margin-bottom: 30px;
}
.hinh-thuc-grid > .wp-block-group__inner-container{
	display: grid;
    grid-template-columns: 1fr 1fr;
	min-width: 600px;
}
	/* như bảng */
.hinh-thuc-grid div.wp-block-group{
	border: 1px solid #e5e5e5;
}
.hinh-thuc-grid div.wp-block-group:first-child{
	border-right: none;
}
.hinh-thuc-grid div.wp-block-group figure img {
	margin-bottom: 0 !important;
}
.hinh-thuc-grid div.wp-block-group h4,
.hinh-thuc-grid div.wp-block-group p,
.hinh-thuc-grid div.wp-block-group figure,
.hinh-thuc-grid div.wp-block-group ul
{
	border-bottom: 1px solid #e5e5e5;
	padding: 10px 8px;
	margin-bottom: 0;
}
.hinh-thuc-grid div.wp-block-group ul{
	border-bottom: none;
}

.course-hinh-thuc img{
	width: 100%;
}

/* --------------Form Detail Chuyên Đề Course-------------- */
.course-form-dk {
    box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.1);
    padding: 30px 30px 30px 30px;
    border-radius: 16px 16px 16px 16px;
    margin-top: 30px;
}
.course-form-dk h3{
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 15px;
}
.course-expired > p{
    font-size: 17px;
    line-height: 23px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--ast-global-color-0);
}
/* -----------------Course Detail----------------- */

/* Elementor Gpc Courses */
/* Courses in grid */
.gpc-post-gpc-course-teacher{
    color: var(--e-global-color-primary);
}
.gpc-grid-course-teacher__container{
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 10px 0;
    align-items: center;
}
.gpc-grid-course-teacher__pic{
    display: flex;
    position: relative;
    height: 50px;
    width: auto;
    padding-left: 14px;
}
.gpc-grid-course-teacher__pic-block{
    width: 44px;
    height: 44px;
    margin-left: -14px;
}
.gpc-grid-course-teacher__pic img{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: absolute;
    top: 0;
}
.gpc-grid-course-teacher__title{
    margin-left: 5px;
}
.gpc-grid-course-teacher__link{
    display: flex;
    flex-wrap: wrap;
    color: var(--e-global-color-primary);
}
.gpc-grid-course-teacher__container a{
    margin-left: 5px ;
}

/* End courses in grid */

.gpc-posts-grid .gpc-post.type-gpc-course {
    overflow: visible;
}

.gpc-post.type-gpc-course {
    position: relative;
}

.gpc-post.type-gpc-course .gpc-courses__date {
    position: absolute;
    background: var(--ast-global-color-0);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 15px;
    line-height: 1;
    text-align: center;
    right: 0;
    top: 0;
}
.gpc-post.type-gpc-course .gpc-courses__date .date {
    display: block;
}
.gpc-post.type-gpc-course .gpc-post__read-more-link {
    text-transform: uppercase;
    color: var(--body-color);
    border-bottom: 1px solid var(--body-color);
    display: inline-block;
}

.gpc-courses__is-upcoming {
    --gpc-course-badge-color: #7b6cd5;
    width: 105px;
    height: 30px;
    line-height: 30px;
    background: var(--gpc-course-badge-color);
    left: -4px;
    position: absolute;
    top: 4px;
    padding-left: 12px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    border-top-left-radius: 4px;
}
.gpc-courses__is-upcoming:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border-top: 4px solid #4D6530;
    border-left: 4px solid transparent;
    bottom: -4px;
    left: 0px;
}
.gpc-courses__is-upcoming:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 10px solid  var(--gpc-course-badge-color);
    right: -10px;
    top: 0px;
}
.gpc-courses__online-label {
    position: absolute;
    top: 64px;
    right: 0px;
    padding: 0 10px;
    background: #FF8D29;
    font-size: 13px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
}



.gpc-course-info {
    --gpc-course-badge-color: #1f9d55;
    padding: 20px 30px;
    box-shadow: 0px 3px 13px 0px rgb(0 0 0 / 10%);
    border-radius: 16px;
    position: relative;
}
.gpc-course-info.is-upcoming {
    padding-top: 40px;
}
.gpc-course-info__item {
    padding: 8px 0;
    border-bottom: 1px solid #EDEDED;
}
.gpc-course-info__item:last-child {
    border-bottom: none;
}
.gpc-course-info__item i {
    color: var(--ast-global-color-0);
    margin-right: 8px;
    display: inline-block;
}
.gpc-course-info__price-heading {
    padding-top: 1rem;
    margin-bottom: 0 !important;
}
.gpc-course-info__price-heading-form{
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;  
    text-decoration: underline solid 1px;
    text-underline-offset: 2px;
	margin-top: 8px;
}
.gpc-course-info__amount {
    font-size: 18px;
    color: var(--ast-global-color-0);
    font-weight: 600;
}
.gpc-course-info__badge {
    color: #fff;
    text-align: center;
    position: absolute;
    background: var(--gpc-course-badge-color);
    font-size: 14px;
    font-weight: bold;
    padding: 1px 25px 0 25px;
    height: 30px;
    line-height: 30px;
    top: 8px;
    left: -4px;
    border-top-left-radius: 6px;
    text-transform: uppercase;
}
.gpc-course-info__badge:before,
.gpc-course-info__badge:after {
    display: block;
    content: '';
    position: absolute;
}
.gpc-course-info__badge:before {
    border-top: 4px solid #4D6530;
    border-left: 4px solid transparent;
    bottom: -4px;
    left: 0px;
}
.gpc-course-info__badge:after {
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 10px solid  var(--gpc-course-badge-color);
    right: -10px;
    top: 0px;
}

.single-gpc-course .ast-advanced-headers-title {
    font-size: var(--gpc-font-size-xl);
    font-weight: bold;
    text-transform: uppercase;
}

.wp-block-getwid-images-slider {
    margin-bottom: 30px;
}
.wp-block-getwid-images-slider .slick-list {
    border-radius: 6px;
}
.wp-block-getwid-images-slider .slick-dots li button:before {
    font-size: 8px;
}

.single-course-bottom-content {
    padding-top: 30px;
    padding-bottom: 30px;
    clear:both;
}


.single-gpc-course #secondary .widget {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
}
/*=============================================
=            Slide khóa học in trang chu            =
=============================================*/
.swiper-pagination.swiper-pagination-bullets{
	visibility: hidden !important;
}
@media (max-width: 1024px){
	.elementor-swiper-button.gpc-swiper-button{
	    visibility: hidden !important;
	}
	.swiper-pagination.swiper-pagination-bullets{
		visibility: visible !important;
	}
}

/*=============================================
=            Table lịch học            =
=============================================*/
.table-lich-hoc {
    border-width: 0;
    margin-bottom: 0;
}

.table-lich-hoc th:first-child, .table-lich-hoc td:first-child {
    border-left-width: 1px;
}

.table-lich-hoc th {
    background-color: var(--ast-global-color-0);
    color: #fff;
    border-color: var(--ast-global-color-0);
}
.table-lich-hoc td {
    text-align: center;
}


/*=============================================
=            Section Cảm nhận của học viên
=============================================*/
.gpc-testimonial .gpc-info-box__title {
    order: 2;
    font-weight: 600;
    margin-top: 1.25rem;
}

@media(min-width: 768px) {
    .gpc-testimonial .gpc-info-box__media-wrapper {
        flex: 0 0 60%;
    }

    .gpc-testimonial .gpc_info-box__body {
        padding: 20px 0 0 40px;
    }
}

/*=============================================
=            Trang học thử            =
=============================================*/
@media (min-width: 782px) and (max-width: 1024px){
	.trang-hoc-thu__lich-hoc{
		margin-top: calc((538px - 0.4* 100vw)* -1) !important;
/* 	60% * 2 /3 = 0.4	 */
	}
	.trang-hoc-thu__left{
		flex-basis: 60% !important;
	}
	
}

/*=============================================
=            Filters            =
=============================================*/
.gpc-posts-filters {
    margin-bottom: 30px;
}

.gpc-posts-filters .gpf__m-toggler {
    display: none;
    text-align: right;
}

.gpc-posts-filters .gpf__m-toggler span {
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid;
    cursor: pointer;
}

/* Header */

.gpc-posts-filters .gpf__nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.gpc-posts-filters .gpf__nav-item {
    padding: 0 30px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

.gpc-posts-filters .gpf__nav-link {
    color: var(--body-color);
    font-weight: 600;
	text-decoration: none;
}

.gpc-posts-filters .gpf__nav-link:focus,
.gpc-posts-filters .gpf__nav-link:active,
.gpc-posts-filters .gpf__nav-link:hover {
    color: var(--body-color);
}

.gpc-posts-filters .gpf__nav-link:hover,
.gpc-posts-filters .gpf__nav-link.open {
    text-decoration: none;
}

.gpc-posts-filters .gpf__nav-link:after {
    content: "\f107";
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-size: smaller;
    margin-left: 8px;
}

.gpc-posts-filters .gpf__clear {
    cursor: pointer;
    position: absolute;
    right: 0;
}

.gpc-posts-filters .gpf__clear i {
    font-size: 12px;
}

/* End Heder */

/** Drop down (chi hien tren mobile) */
.gpc-posts-filters .gpf__nav-dropdown {
    display: none;
}

.gpf__nav-dropdown-item a {
    color: currentColor;
	text-decoration: none;
}

@media (max-width: 767px) {
    .gpc-posts-filters .gpf__nav-dropdown {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        z-index: 9;
        width: 100%;
        margin-bottom: 10px;
        list-style: none;
    }

    .gpc-posts-filters .gpf__nav-dropdown-item {
        padding: 10px 20px;
        margin: 0;
        cursor: pointer;
        width: 100%;
    }

    .gpc-posts-filters .gpf__nav-dropdown-item.selected:before {
        content: "\f00c";
        display: inline-block;
        font-family: "Font Awesome 5 Free";
        font-size: 12px;
        margin-right: 5px;
        font-weight: bold;
    }

    .gpc-posts-filters .gpf__nav-dropdown.cols-2 .gpf__nav-dropdown-item {
        width: 50%;
    }
}
/** End dropdown */

/* List filter */

.gpc-posts-filters .gpf__filter {
    justify-content: center;
    column-gap: 20px;
    row-gap: 10px;
    text-transform: uppercase;
    background: rgb(250, 250, 250);
    padding: 20px 0px;
    display: flex;
    flex-wrap: wrap;
}

.gpc-posts-filters .gpf__filter-item {
    color: #A9A9A9;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
}

.gpc-posts-filters .gpf__filter-item.selected {
    color: var(--body-color);
}

.gpc-posts-filters .gpf__filter-item.selected:before {
    content: "\f00c";
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    margin-right: 5px;
    font-weight: bold;
}

/* End list filter */

/* Items dang duoc chon filter */

.gpc-posts-filters .gpf__selected-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
    padding: 20px 0;
    border: solid #ebebeb;
    border-width: 1px 0;
    color: #999;
    font-size: .8em;
    text-transform: uppercase;
}

.gpc-posts-filters .gpf__selected-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
}

.gpc-posts-filters .gpf__selected-filters i {
    font-size: 11px;
}

.gpc-posts-filters .gpf__selected-filter-item {
    cursor: pointer;
}

/* End filterd items */


@media(max-width: 767px) {
    .gpc-posts-filters .gpf__m-toggler {
        display: block;
        margin-bottom: 5px;
    }

    /* Filter Header */

    .gpc-posts-filters .gpf__nav {
        display: none;
    }

    .gpc-posts-filters .gpf__nav.open {
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: #f8f9fa;
        padding: 20px;
        margin-bottom: 0;
    }

    .gpc-posts-filters .gpf__nav-item {
        padding: 0;
    }

    .gpc-posts-filters .gpf__nav-link {
        display: block;
        padding: 10px 0;
    }

    .gpc-posts-filters .gpf__clear {
        position: relative;
        text-align: center;
        margin-top: 5px;
        padding-top: 5px;
    }

    /* End Filter Header */

    /* list fiters */
    .gpc-posts-filters .gpf__filter {
        display: none;
    }
    /* end list fiters */

}

[x-cloak] {
    display: none !important;
}

.gpc-posts-pagination.hide {
    display: none;
}

/** Course loading indicatior */
.elementor-widget-gpc_courses.loading .elementor-widget-container:after {
    display: block;
    position: absolute;
    content: '';
    background-color: rgb(255 255 255 / 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.elementor-widget-gpc_courses.loading .elementor-widget-container:before {
    content: "\f110";
    display: inline-block;
    animation: fa-spin 2s linear infinite;
    -webkit-animation: fa-spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--ast-global-color-0);
    z-index: 9;
    font-size: 30px;
}


/*=============================================
=            Post filter dạng simple (video category)            =
=============================================*/

/** Drop down (chi hien tren mobile) */

.gpc-posts-filters.gpf-simple .gpf__nav-dropdown {
    display: block;
    flex-wrap: wrap;
    background: #fff;
    z-index: 9;
    width: 100%;
    margin-bottom: 10px;
    list-style: none;
}

.gpc-posts-filters.gpf-simple .gpf__nav-dropdown-item {
    padding: 10px 20px;
    margin: 0;
    cursor: pointer;
    width: 100%;

}

.gpc-posts-filters.gpf-simple .gpf__nav-dropdown-item.selected:before {
    content: "\f00c";
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    margin-right: 5px;
    font-weight: bold;
}

.gpc-posts-filters.gpf-simple .gpf__nav-dropdown.cols-2 .gpf__nav-dropdown-item {
    width: 50%;
}

@media (min-width: 768px) {
    .gpc-posts-filters.gpf-simple .gpf__nav-dropdown {
        position: absolute;
        background: #fff;
        z-index: 9;
        width: 100%;
        min-width: 230px;
        left: 30px;
        top: calc(100% + 5px);
        margin: 0;
        list-style: none;
        box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 4px 0px, rgba(90, 125, 188, 0.05) 0px 4px 16px 0px;
    }

    .gpc-posts-filters.gpf-simple .gpf__nav-dropdown-item {
        border-bottom: 1px solid #e9ecef;
    }
}

/** End dropdown */


/*================== Other =====================*/

.elementor-slideshow__title { display: none; }

.site-header-primary-section-right a.ast-custom-button-link { text-decoration: none; }

.ast-mobile-popup-content a.ast-custom-button-link { text-decoration: none; }


@media (max-width: 480px)
{
	.ast-scroll-to-top-right { bottom: 60px; }
	
	.elementor-widget-gpc_videos .video-info { display: none; }
	
	.archive .type-gpc-video .video-info { display: none; }
}





