/**
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
*/

/* ============= General =========== */
/* .wp-block-group-is-layout-grid.is-layout-grid > :is(*, div) {
    margin: auto;
} */
a{text-decoration: none !important;}
.gpc-100-width {
    width: 100%;
}
.gpc-flex-col-reverse{
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 1025px) {
    .gpc-desktop-hide {
        display: none !important;
    }
}
@media (max-width: 1024px) {
    .gpc-mobile-tablet-hide {
        display: none !important;
    }
    .gpc-full-width-all {
        margin-inline: -8px !important;
    }
}

@media (min-width: 1025px){
	.widget-area.secondary {
		container-type: size;
		container-name: side-bar;
	}
}

@container side-bar (10em <= width <= 20em) {
    .gpc-contained-change-col .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.kb-advanced-slider ul.splide__pagination.splide__pagination { /*cho dot below banner home*/
    bottom: 6px !important;
}

/* ẩn tóm tắt dự án trong trang lưu trữ */
.ast-excerpt-container {
    font-size: 16px;
    font-size: 0.94117647058824rem;
}

/* =============== Sidebar =============== */
.ast-separate-container .site-content #secondary .widget {
    padding-top: 0em;
}
#secondary .widget-title{
    font-size: 20px !important;
	background: var(--ast-border-color);
    margin-bottom: 6px;
    padding: 10px;
}

.product_list_widget{
	font-size: 14px !important;
}
#secondary .product_list_widget li {
	margin-bottom: 8px;
}

/* blog */
#secondary .widget_block {
	/* margin-bottom: -5px !important; */
	padding-bottom: 0 !important;
}
#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;
}

@media (min-width: 922px) {
    .ast-right-sidebar #primary {
        border-right: none;
    }
}

/* ------------ Kadence Advanced Button ------------ */
/* .kb-adv-form-submit-button.kb-btn-global-fill{
    background: var(--ast-global-color-1) !important;
}
.wp-block-kadence-advancedbtn.kb-buttons-wrap > a.kb-button,
.wp-block-kadence-advancedbtn.kb-buttons-wrap > span.kb-button {
	padding: 15px 30px;
	background: var(--ast-global-color-1);
	box-shadow: var(--ast-global-color-3) 5px 5px 0px 0px;
}
.wp-block-kadence-advancedbtn.kb-buttons-wrap > a.kb-button:hover,
.wp-block-kadence-advancedbtn.kb-buttons-wrap > span.kb-button:hover {
	background: var(--ast-global-color-3);
	box-shadow: none;
}
@media (max-width: 767px){
	.wp-block-kadence-advancedbtn.kb-buttons-wrap > a.kb-button,
	.wp-block-kadence-advancedbtn.kb-buttons-wrap > span.kb-button {
		padding: 10px 15px;
	}
} */

/* -------------- Overflow ------------- */
.gpc-overflow-left > .kt-row-column-wrap,
.gpc-overflow-right > .kt-row-column-wrap{
    max-width: 1920px;
	margin-inline: auto;
}
.gpc-overflow-left > .kt-row-column-wrap > .wp-block-kadence-column:last-child {
    padding-right: calc((100vw - var(--wp--custom--ast-content-width-size))/2);
}
@media (min-width: 1920px){
	.gpc-overflow-left > .kt-row-column-wrap > .wp-block-kadence-column:last-child {
        padding-right: calc((1920px - var(--wp--custom--ast-content-width-size))/2);
    }
}
@media (max-width: 1024px) and (min-width: 768px){
    .gpc-overflow-left {
        margin-left: -8px !important;
    }
}
.gpc-overflow-right > .kt-row-column-wrap > .wp-block-kadence-column:first-child {
    padding-left: calc((100vw - var(--wp--custom--ast-content-width-size))/2);
}
@media (min-width: 1920px){
	.gpc-overflow-right > .kt-row-column-wrap > .wp-block-kadence-column:first-child {
        padding-left: calc((1920px - var(--wp--custom--ast-content-width-size))/2);
    }
}
@media (max-width: 1024px) and (min-width: 768px){
    .gpc-overflow-right {
        margin-right: -8px !important;
    }
}

/* ================= HOME ================= */
/* ------- Title ------- */
.color-white.gpc-large-tit, .gpc-small-tit.color-white{color:white}

/* ------------ Banner ---------- */
.gpc-zoom-in-bg .kb-advanced-slide-inner-wrap {
    position: relative;
}
.gpc-zoom-in-bg .kb-advanced-slide-inner-wrap .zoom-bg-item {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 6.9s linear;
}

/* ------------ Services ---------- */
.gpc-services-portfolio .kb-portfolio-grid-item-inner {
    justify-content: start;
}
.gpc-services-portfolio .kb-portfolio-grid-item-inner .kb-portfolio-content-item-inner{
    opacity: 1;
    align-self: end;
    margin-left: 22px;
    margin-bottom: 16px;
}
.gpc-services-portfolio .kadence-portfolio-image-intrisic {
    padding-bottom: 133.33% !important;
}
@media (max-width: 1024px) {
    .gpc-services-portfolio .kadence-portfolio-image-intrisic {
        padding-bottom: 110% !important;
    }
}
@media (max-width: 767px) {
    .gpc-services-portfolio .kadence-portfolio-image-intrisic {
        padding-bottom: 100% !important;
    }
}
/* ------------ Price ----------- */
.gpc-price-info {
    opacity: 0;
    transition: opacity 0.8s;
}
.gpc-price-info.loaded {
    opacity: 1;
}
.gpc-price-info .kt-blocks-info-box-title {
    margin-bottom: 10px;
}

/* ----------- Gallery --------- */
.home-bottom-gallery.wp-block-kadence-advancedgallery .kt-blocks-carousel-init[data-slider-dots=true]{
	margin-top: 28px;
	margin-bottom: 0;
}
.home-bottom-gallery .kb-splide ul.splide__pagination.splide__pagination {
    top: -25px;
	bottom: unset;
}
/* ------------- About us ----------- */
.icon-has-border-text .kb-svg-icon-wrap {
	border: solid 1px var(--ast-global-color-0);
	padding: 20px;
    border-radius: 50%;
}


/*---------- trang chủ mới ---------- */
/* grid chứ 1 ảnh lớn và 2 ảnh nhỏ */
.grid_img_1-2 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    gap: 0 !important;
}

.grid_img_1-2 .img_1 {
    grid-column: span 2;
    grid-row: span 2;
}

.grid_img_1-2 .img_2-1 {
    grid-column: 3;
    grid-row: 1;
}

.grid_img_1-2 .img_2-2 {
    grid-column: 3;
    grid-row: 2;
}

.grid_img .wp-block-kadence-image {
    margin: 0 !important;
}
.grid_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    overflow: hidden;
}
/* grid chứ 1 ảnh lớn và 4 ảnh nhỏ đều nhau */
.grid_img_1-2-2 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    gap: 10px !important;
}

.grid_img_1-2-2 .img_1 {
    grid-column: span 1;
    grid-row: span 2;
}

.grid_img_1-2-2 .img_2-1 {
    grid-column: 2;
    grid-row: 1;
}

.grid_img_1-2-2 .img_2-2 {
    grid-column: 2;
    grid-row: 2;
}

.grid_img_1-2-2 .img_3-1 {
    grid-column: 3;
    grid-row: 1;
}

.grid_img_1-2-2 .img_3-2 {
    grid-column: 3;
    grid-row: 2;
}

/* grid chứa 3 ảnh, 1 ảnh trên cùng và 2 ảnh ở dưới */
.grid_img_1-tren-2 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    gap: 20px !important;
}

.grid_img_1-tren-2 .img_1 {
    grid-column: 2/4;
    grid-row: span 1;
}

.grid_img_1-tren-2 .img_2-1 {
    grid-column: 1/3;
    grid-row: span 1;
}

.grid_img_1-tren-2 .img_2-2 {
    grid-column: 3/5;
    grid-row: span 1;
}
.grid_img_1-tren-2 .img_2-2 .kb-is-ratio-image{
    height: 100%;
}

/* grid chứa 3 ảnh, 1 ảnh trên cùng có độ rộng bằng 2 ảnh dưới và 2 ảnh ở dưới*/
.grid_img_1-tren-2-cb .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 60% 40%;
    width: 100%;
    gap: 20px !important;
    overflow: hidden;
}
.grid_img_1-tren-2-cb.grid_img_bo_sung .kt-inside-inner-col {
    grid-template-rows: 350px 250px;
}

.grid_img_1-tren-2-cb .img_1 {
    grid-column: 1/3;
    grid-row: 1/2;
}

.grid_img_1-tren-2-cb .img_2-1 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.grid_img_1-tren-2-cb .img_2-2 {
    grid-column: 2/3;
    grid-row: 2/3;
}

/* section life style */
.sec_life_style_trang_chu .kt-inside-inner-col{
    position: relative;
}

.sec_life_style_trang_chu .wp-block-kadence-image:last-child{
    position: absolute;
    left: 30%;
    bottom: -30%;
}
.sec_life_style_trang_chu .wp-block-kadence-image:first-child{
    z-index: 1;
}
    /* grid chứa 3 ảnh, 1 ảnh trên cùng có độ rộng bằng 2 ảnh dưới và 2 ảnh ở dưới*/
.grid_img_life_style_1 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: 17% 17% 24% auto 24%;
    grid-template-rows: repeat(3, 250px);
    width: 100%;
    gap: 0 !important;
}

.grid_img_life_style_1 .img_1-1 {
    grid-column: 1/3;
    grid-row: 1/2;
}
.grid_img_life_style_1 .img_1-2 {
    grid-column: 3/5;
    grid-row: 1/2;
}
.grid_img_life_style_1 .img_1-3 {
    grid-column: 5/6;
    grid-row: 1/3;
}

.grid_img_life_style_1 .img_2-1 {
    grid-column: 1/3;
    grid-row: 2/3;
}
.grid_img_life_style_1 .img_2-2 {
    grid-column: 3/4;
    grid-row: 2/4;
}
.grid_img_life_style_1 .img_2-3 {
    grid-column: 4/5;
    grid-row: 2/3;
}

.grid_img_life_style_1 .img_3-1 {
    grid-column: 1/3;
    grid-row: 3/4;
}

.grid_img_life_style_1 .img_3-2 {
    grid-column: 4/6;
    grid-row: 3/4;
}
/* end trang chủ */
.img_sec_info{
    position: relative;
}
.img_sec_info::before{
    position: absolute;
    content: '';
    background-color: #f2f2f2;
    top: -50px;
    bottom: -50px;
    left: -30px;
    z-index: -1;
    width: 60%;
}

/*=============================================
=            trang mẫu            =
=============================================*/
/*---------- portraits 1 ---------- */
.grid_img_2-1 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: 25% 75%;
    grid-template-rows: repeat(2, 250px);
    width: 100%;
    gap: 0 !important;
    overflow: hidden;
}
.grid_img_2-1 .img_1-1{
    grid-column: 1/2;
    grid-row: 1/2;
}
.grid_img_2-1 .img_1-2{
    grid-column: 1/2;
    grid-row: 2/3;
}
.grid_img_2-1 .img_2{
    grid-column: 2/3;
    grid-row:1/3;
}

/*---------- portraits 2 ---------- */
.grid_img_4-4 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    gap: 0 !important;
    overflow: hidden;
}
.grid_img_4-4 .img_1-1{
    grid-column: 1/2;
    grid-row: 1/2;
}
.grid_img_4-4 .img_1-2{
    grid-column: 2/3;
    grid-row: 1/2;
}
.grid_img_4-4 .img_1-3{
    grid-column: 3/5;
    grid-row: 1/2;
}
.grid_img_4-4 .img_1-4{
    grid-column: 5/6;
    grid-row: 1/2;
}
.grid_img_4-4 .img_2-1{
    grid-column: 1/3;
    grid-row: 2/3;
}
.grid_img_4-4 .img_2-2{
    grid-column: 3/4;
    grid-row: 2/3;
}
.grid_img_4-4 .img_2-3{
    grid-column: 4/5;
    grid-row: 2/3;
}
.grid_img_4-4 .img_2-4{
    grid-column: 5/6;
    grid-row: 2/3;
}
/*---------- stories ---------- */
.row_koshika .img_anh_chinh{
    height: 100%;
}
.row_koshika .img_anh_chinh img{
    height: 100%;
    object-fit: cover;
}
.sec_koshika_1 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 10% 30% 25% 25% 10%;
    width: 100%;
    gap: 1px !important;
    overflow: hidden;
}
.sec_koshika_1 .img_1{
    grid-column: 1/3;
    grid-row: 1/2;
}
.sec_koshika_1 .img_2-1{
    grid-column: 1/2;
    grid-row: 2/3;
}
.sec_koshika_1 .img_2-2{
    grid-column: 2/3;
    grid-row: 2/3;
}
.sec_koshika_1 .img_3{
    grid-column: 1/3;
    grid-row: 3/4;
}
.sec_koshika_1 .img_4{
    grid-column: 1/3;
    grid-row: 4/5;
}
.sec_koshika_1 .img_5{
    grid-column: 1/3;
    grid-row: 5/6;
}
.sec_koshika_1 .img_5 img{
    object-position: top;
}

.sec_koshika_2 .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 25% 25% 30% 20%;
    width: 100%;
    gap: 1px !important;
    overflow: hidden;
    height: 100%;
}
.sec_koshika_2 .img_1{
    grid-column: 1/3;
    grid-row: 1/2;
}
.sec_koshika_2 .img_2{
    grid-column: 1/3;
    grid-row: 2/3;
}
.sec_koshika_2 .img_3-1{
    grid-column: 1/2;
    grid-row: 3/4;
}
.sec_koshika_2 .img_3-2{
    grid-column: 2/3;
    grid-row: 3/4;
}
.sec_koshika_2 .img_4{
    grid-column: 1/3;
    grid-row: 4/5;
}
/*=====  End of trang mẫu  ======*/

.single.ast-page-builder-template .entry-header + .entry-content, .single.ast-page-builder-template .ast-single-entry-banner + .site-content article .entry-content{
	margin: 0;
}
.single .kt-blocks-post-grid-item{
	height: 100%;
}
.single .splide__track{
	margin: 0 80px;
}
