/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*---------- Ultilities ---------- */
.d-none { display: none }
.d-inline-block { display: inline-block }
.text-center { text-align: center }
.order-1 { order: 1 }
.order-2 { order: 2 }

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
}

@media (min-width: 768px) {
    .order-md-1 { order: 1; }
    .order-md-2 { order: 2; }
}

.highlight-strong strong {
    color: #e60808;
}

/* ============= General =========== */
.no-list-style  {    list-style: none !important }
.wp-block-group-is-layout-grid.is-layout-grid > :is(*, div) {
    margin: auto;
}

@media (min-width: 1025px) {
    .gpc-desktop-hide {
        display: none !important;
    }
}
@media (max-width: 1024px) {
    .gpc-mobile-tablet-hide {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .full-row {
        margin-inline: -10px !important;
    }
}
/* ------- Slick ------- */
ul.slick-dots {
    bottom: -48px;
}
/* ------- Splide ------- */
.wp-block-kadence-postgrid .splide__track {
    padding-bottom: 36px;
    padding-inline: 24px !important;    
}
.splide .splide__arrows > * {
    height: 30px;
    width: 30px;
    border-radius: 100px;
}
.splide .splide__arrow--next {
    right: -16px;
}
.splide .splide__arrow--prev {
    left: -16px;
}
.slick-prev:before, .slick-next:before {
    color: var(--ast-global-color-1) !important;
}

/* Slick being used by Kadence Block do not have before   */
.slick-prev.splide__arrow:before, .slick-next.splide__arrow:before {
    display: none !important;
}
/* ============= General to like Kadence =========== */
:root{
	--global-palette-btn-bg: var(--ast-global-color-2);
	--global-palette-btn-bg-hover: var(--ast-global-color-1);
}

@media (min-width: 768px) {
	.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation {
		padding: 0 !important;
	}
}

/*---------- Kadence slider arrows ---------- */
.wp-block-kadence-advancedgallery .kt-blocks-carousel {
    overflow: visible;
}
.kb-splide .splide__arrow {
    --splide-nav-color: rgba(17, 28, 99, 0.5);
    --splide-nav-background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: .5;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev {
    transform: translateY(-50%);
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next {
    transform: translateY(-50%);
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev { left: 10px; }
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next { right: 10px; }

@media (max-width: 480px)
{
	.kb-splide .splide__arrow { width: 30px; height: 30px; }
}
/* post carousel arrows */
@media(min-width: 1024px) {
    .kb-splide .splide__arrow--prev {
        transform: translateX(calc(-100% - 10px));
        left: 0;
    }

    .kb-splide .splide__arrow--next {
        transform: translateX(calc(100% + 10px));
        right: 0;
    }
}
/* Dot inside */
.has-dot-inside.wp-block-kadence-advancedgallery .kt-blocks-carousel-init[data-slider-dots=true] {
    margin-bottom: 0;
}
.has-dot-inside.wp-block-kadence-advancedgallery .kb-splide .splide__pagination {
    bottom: 20px;
}

/* =============== Header =============== */
.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before {
    bottom: 8px;
}
ul.sub-menu {
    text-transform: none ;
}

/* =============== Footer =============== */
.footer-social-icon li {   font-size: 24px;}
#sitemap { height: 140px;}

/* =============== Sidebar =============== */
#secondary .widget-title{
    font-size: 20px !important;
	background: var(--ast-border-color);
    margin: -10px;
    margin-top: 28px;
    padding: 10px;
}

/* blog */
#secondary .wp-block-kadence-posts.grid-cols {
	row-gap: 12px;
}
#secondary .wp-block-kadence-posts > article {
    align-items: center;
	padding: 8px 0;
	column-gap: 8px;
	margin-bottom: 0;
}
@media screen and (max-width: 767px) {
	#secondary .wp-block-kadence-posts .loop-entry.ast-article-single,
	#secondary .wp-block-kadence-posts .loop-entry.ast-article-post {		
        display: grid;
        grid-template-columns: 40% 60%;
	}
}
#secondary .wp-block-kadence-posts .loop-entry .entry-content-wrap {
    padding: 0;
}
#secondary .wp-block-kadence-posts .loop-entry .entry-content-wrap .entry-header{
    margin-bottom: 0;
}
#secondary .wp-block-kadence-posts .loop-entry .entry-title a{
   font-weight: normal;
}

/*================= TRANG CHỦ ===============*/
.home-headline{
	width: fit-content;
    padding: 10px 50px;
	box-shadow: var(--ast-global-color-1) 5px 5px 10px;
	border-radius: 50px;
	margin-top: 68px;
	margin-bottom: 36px !important;
	margin-inline: auto;
}
h2.home-headline span {
    color: var(--ast-global-color-2);
}
@media (max-width: 1024px) {
	.entry-content h2.home-headline {
		width: 80%;
		padding-inline: 0;
		font-size: 24px;
	}
}
@media (max-width: 767px) {
	.entry-content h2.home-headline {
		padding: 10px 10px;
		max-width: 90%;
		font-size: 20px;
		border-radius: 30px;
	}
}
.gpc-50-p-width {
	margin-inline: 12%;
}
.gpc-full-p-width {
	margin-inline: 22%;
}
@media (max-width: 767px) {
	.gpc-50-p-width,
	.gpc-full-p-width {
		margin-inline: 5%;
	}
}
.gpc-fit-content {
	width: fit-content;
	padding-inline: 5px;
}

/* ------ block Tại sao chọn ----- */
.gpc-grid-slider .kt-inside-inner-col .wp-block-kadence-infobox {
	height: 50%;
}
.gpc-grid-slider .kt-inside-inner-col .wp-block-kadence-infobox span{
	height: 100%;
}
.gpc-grid-slider .kt-inside-inner-col .wp-block-kadence-infobox .kt-blocks-info-box-text {
    text-align: justify;
}

/* -------- Dịch vụ------- */
.dich-vu-item figure.wp-block-kadence-image {
    margin-bottom: 6px;
}
.dich-vu-item figcaption {
    text-align: center;
}
.hover-zoom-img > a {
    display: block;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0px -2px 8px 0px var(--ast-global-color-6);
}
.hover-zoom-img a img {
    transition: all 0.3s ease-in-out;
}
.dich-vu-item:hover .hover-zoom-img a img {
    transform: scale(1.1);
}

/* ---- Lộ trình ---- */
.gpc-route > .kt-inside-inner-col {
	background-image: url(img/bg-arrow.png);
    background-position: 100% -60px !important;
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
}
@media (max-width: 1023px) {
	.gpc-route > .kt-inside-inner-col {
		background-position-y: -50px !important;
	}
}
@media (max-width: 767px) {
	.gpc-route > .kt-inside-inner-col {
		background-image: url(img/bg-vertical.png);;
		background-size: auto;
        background-position: -64px bottom !important;
        background-repeat: no-repeat;
	}
}
.gpc-route .kt-inside-inner-col {
	background-position-y: -59px;
}
.route-number {
	width: fit-content;
	padding: 10px;
	background-color: var(--ast-global-color-0);
	border-radius: 10px;
	margin-inline: auto;
	margin-bottom: 25px;
}
.route-number strong {
	background-color: var(--ast-global-color-0);
	padding: 3px 10px;
	color: white;
	border: white 2px solid;
	border-radius: 10px;
}
@media (min-width: 768px) {
	.gpc-route .wp-block-kadence-column:nth-child(2) .route-content,
	.gpc-route .wp-block-kadence-column:nth-child(4) .route-content {
		margin-top: 50px;
	}
}
.gpc-route .route-content {
	border: 1px solid var(--ast-global-color-1);
	border-radius: 20px;
	padding: 10px 5px;
	gap: 0px
}
.route-content h3 {
	font-size: 17px;
	text-align: center;
	color: var(--ast-global-color-0);
	margin-bottom: 5px;
}
.route-content h3::after{
	content: "";
	display: block;
	background: url(img/hoa.png);
	background-size: cover;
	width: 80px;
	height: 15px;
	margin-inline: auto;
	margin-top: 10px;
}
/* ------ Help student ----- */
.help-student .kt-blocks-info-box-media{
	border-bottom-left-radius: 0;
}

/* --------- Home Trying -------- */
@media (max-width: 767px) {
	.gpc-infoboxes-container .wp-block-kadence-infobox .kt-blocks-info-box-title {
		font-size: 17px !important;
		line-height: 23px !important;
	}
	.gpc-infoboxes-container .wp-block-kadence-infobox .kt-blocks-info-box-text {
		font-size: 15px !important;
		line-height: 21px !important;
	}
}

/* --------- Cảm nhận -------- */
.feelling-gallery .kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img {
    position: relative;
	border-radius: 5px;
	border: 1px solid var(--ast-global-color-0);
}
/* gallery dạng thumbnail slider ratio inherit */
.kb-gallery-ul.kb-gallery-type-carousel .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit {
	padding-bottom: unset !important;
    height: 100%;
}
.feelling-gallery .kb-splide {
    position: inherit;
}
.feelling-gallery .kb-splide .splide__pagination__page {
    background: var(--ast-global-color-1);
}
.feelling-gallery .kb-splide ul.splide__pagination.splide__pagination {
    bottom: 0;
}

/* ------------- Chỉ số ------------ */
.mobile-center .wp-block-kadence-infobox span {
    justify-content: center;
}
.mobile-center .wp-block-kadence-infobox .kt-blocks-info-box-media-align-left .kt-infobox-textcontent {
    flex-grow: unset;
}

/*=============================================
=            Lớp            =
=============================================*/
.grid {
    --columns: 1;
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
}

.grid-cols-2 { --columns: 2; }
.grid-cols-3 { --columns: 3; }
.grid-cols-4 { --columns: 4; }
.grid-cols-5 { --columns: 5; }
.grid-cols-6 { --columns: 6; }

@media(max-width: 767px) {
    .grid-cols-2 { --columns: 1; }
    .grid-cols-3 { --columns: 1; }
    .grid-cols-4 { --columns: 1; }
    .grid-cols-5 { --columns: 1; }
    .grid-cols-6 { --columns: 1; }
}

/*---------- Filter ---------- */
.gpc-lop-filter {
    margin-bottom: 30px;
    border: 1px solid var(--ast-global-color-8);
}

.gpc-lop-filter__header {
    background-color: var(--ast-global-color-8);
    font-weight: bold;
    color: #fff;
    padding: 5px 15px;
}

.gpc-lop-filter__form {
    padding: 15px;
    width: 70%;
    margin: 0 auto;
}

.gpc-lop-filter__row {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
}

.gpc-lop-filter__field {
    width: 50%;
}
.gpc-lop-filter__field.w-full {
    width: 100%;
}
.gpc-lop-filter__field select {
    width: 100%;
}

.gpc-lop-filter__form-header {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.12rem;
}
.gpc-lop-filter__date {
    color: #ee151f;
    font-weight: bold;
}

@media(max-width: 767px) {
    .gpc-lop-filter__form {
        width: 100%;
    }
}

/*---------- List ---------- */
.gpc-lop-list {
    gap: 20px;
}
.slick-list .gpc-lop {
    margin-inline: 10px;
}
.gpc-lop {
    border: 1px solid #FB8C00;
    border-radius: 4px;
}
.gpc-lop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FB8C00;
    padding: 5px 10px;
    color: #fff;
}
.gpc-lop__title {
    font-weight: bold;
    color: #fff;
    background-color: #FB8C00;
    padding: 2px 5px;
}
.gpc-lop-info {
    padding: 15px;
	min-height: 295px;
}
.gpc-lop-info em {
    color: #e60808;
    font-weight: bold;
    font-style: normal;
}
.gpc-lop-info__lien-he a {
    color: #e60808;
}
.gpc-lop__footer {
    padding: 0 15px 15px;
}
.gpc-lop__link {
    text-align: right;
}
.gpc-lop__link a {
    color:#fff;
    background-color: var(--ast-global-color-8);
    padding: 5px 10px;
    border-radius: 30px;
}
.gpc-lop__link a:hover {
    text-decoration: none;
}

.gpc-lop__status
{
	background: #ee151f;
    padding: 3px 5px;
    border-radius: 10px;
    font-size: .9em;
    display: inline-block;
    color: #fff;
}

.gpc-lop__status.chua-giao {
    background: #089f42;
}

/*---------- Single lớp ---------- */
.single-lop-details {
    display: grid;
    grid-template-columns: 70% calc(30% - 5px);
    column-gap: 5px;
    border: 1px solid #e7e8e6;
    padding: 3px;
    width: 100%;
    box-sizing: border-box;
}

.single-lop-header {
    background: #E0FFFF;
    padding: 15px;
}

.single-lop-info {
    background: #f3f3f3;
    padding: 15px;
}

.single-lop-info em {
    color: #e60808;
    font-weight: bold;
    font-style: normal;
}
.single-lop-info__lien-he a {
    color: #e60808;
}

@media(max-width: 767px) {
    .single-lop-details {
        display: flex;
        flex-direction: column;
    }
}
/* ============= DONE LỚP ============= */

/* ============= GIA SƯ ============= */
/* ---------- Archive ----------- */
.gpc-gs-list {
    gap: 40px;
}
.archive-gs__item {
    display: grid;
    grid-template-columns: 250px auto;
    border-radius: 20px;
    border: 1px solid var(--ast-border-color);
    overflow: hidden;
    /* box-shadow: 3px 3px 20px 0px #d9fef3; */
}
.archive-gs__item .profile-side {
    background: #d9fef3;
}
.archive-gs__img {
    width: 250px;
    height: 180px;
    overflow: hidden;
}
.archive-gs__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.archive-gs__item .gs-name {
    margin-top: 3px;
    margin-bottom: 3px;
}
.archive-gs__item .profile-side table {
    width: unset;
    border: none;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
}
.archive-gs__item .profile-side table td{
    padding: 3px 8px;
    border: none;
    border-top: 1px solid var(--ast-border-color);
    vertical-align: top;
}
.archive-gs__item .profile-side table td:first-child{
    width: 40%;
}
.archive-gs__item .profile-side table td:last-child{
    width: 60%;
}
.archive-gs__item .profile-side table td:last-child {
    font-weight: bold;
}
.archive-gs__item .profile-content{
    position: relative;
    padding: 15px;
}
.archive-gs__item .profile-content .gpc-gs__header{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}
.archive-gs__item .profile-content .gpc-gs__header > *{
    color: white;
    font-weight: 600;
    padding: 8px;
    border-radius: 10px;
}
.archive-gs__item .profile-content .gpc-gs__ma-so {
    position: absolute;
    left: 20px;
    border: 1px solid var(--ast-global-color-1);
    color: black;
    font-weight: 600;
}
.archive-gs__item .profile-content .gpc-gs__mon{
    background-color: var(--ast-global-color-1);
}
.archive-gs__item .profile-content .gpc-gs__lop {
    background-color: var(--ast-global-color-8);
}
.archive-gs__item .profile-content .gs-excerpt {
}
.archive-gs__item .profile-content .gpc-gs__kv {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ast-global-color-8);
}
.archive-gs__item .profile-content .gpc-gs__footer {
    text-align: right;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.archive-gs__item .profile-content .gpc-gs__footer a{
    border-radius: 10px;
    padding: 8px;
    border: 1px solid var(--ast-global-color-0);
}
.archive-gs__item .profile-content .gpc-gs__footer a:hover {
    border: 1px solid var(--ast-global-color-1);
}
@media (max-width: 767px) {
    .archive-gs__item {
        grid-template-columns: 1fr;
    }
    .archive-gs__item .profile-side > *{
        margin-inline: auto;
    }
    .archive-gs__item .profile-content .gpc-gs__header{
        justify-content: center;
    }
    .archive-gs__item .profile-content .gpc-gs__ma-so {
        position: unset;
    }
    .archive-gs__item .profile-content .gpc-gs__header > *{
        padding: 5px;
    }
    .archive-gs__item .profile-content .gpc-gs__footer {
        position: unset;
        text-align: center;
    }
}
/* ---------- Single ----------- */
@media (min-width: 992px){
	body.single-gpc_gia_su.ast-right-sidebar #secondary{
		padding-left: 0;
	}	
}

.single-gs__main-img {  margin-bottom: 10px; text-align: center}
.entry-title.gs-name{
    text-align: center;
}
.single-gs__info-sidebar{
    padding-left: 0 !important;
    background: #d9fef3;
    height: fit-content;
}
.single-gs__info-sidebar table{
    width: unset;
    border: none;
    margin-inline: 10px;
    font-size: 14px;
    line-height: 22px;
	margin-bottom: 6px;
}
.single-gs__info-sidebar table tr{  border-top: 1px solid var(--ast-border-color); }
.single-gs__info-sidebar table td {
    padding: 6px 8px;
    border: none;
    border-top: 1px solid var(--ast-border-color);
    width: 50%;
    vertical-align: top;
}
.single-gs__info-sidebar table td:last-child {
    font-weight: bold;
}
.single-gs__info-sidebar table + div{
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid var(--ast-border-color);
    width: 100%;
}
.gpc-lop-da-day .kt-post-grid-wrap {
	row-gap: 10px !important;
}

.gpc-lop-da-day article .kt-blocks-post-grid-item-inner {
	display: flex;
    align-items: baseline;
    gap: 10px;
	border-radius: 5px;
    padding-inline: 5px !important;
    box-shadow: -3px 3px 5px #cdcdcd;
}
/* ============= DONE GIA SƯ ============= */

/* =====================================
=============== TRANG TIỂU HỌC ================ */
.dv-not-in-home .dich-vu-item {
    border-bottom-left-radius: 8px;
    box-shadow: var(--ast-global-color-6) -4px 4px 4px;
}
.dich-vu-grid {
    column-gap: 10px !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .dich-vu-grid {
        padding-inline: 30px;
        column-gap: 0 !important;
    }
}
.dich-vu-grid.is-layout-grid > :is(*, div) {
    width: 85%;
}

/* ============= Chỉnh sidebar archive ============ */
@media (min-width: 768px) {
    #secondary .wp-block-kadence-posts .ast-width-md-4 {
        width: 100%;
    }
}

/* ========= Popup Maker =========*/

.pum-container p:empty { margin: 0; }

html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
    padding-right: 0px !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>.gpc-floating-buttons,
html.pum-open.pum-open-overlay.pum-open-scrollable body>#ast-scroll-top {
    padding-right: 0 !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>.float-order {
    display: none;
}

@media (min-width: 768px) {
    html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
        padding-right: 17px !important;
    }

    html.pum-open.pum-open-overlay.pum-open-scrollable body>.gpc-floating-buttons,
    html.pum-open.pum-open-overlay.pum-open-scrollable body>#ast-scroll-top {
        padding-right: 0 !important;
        transform: translateX(-17px);
    }
}

/* ================================ */

