/*
Theme Name: Ngô Gia MKT
Description: Đây là giao diện được phát triển theo giao diện cha Flatsome, vui lòng không xóa giao diện cha
Author: Ngô Gia MKT
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --primary-colour-1: #FF8037;
    --primary-colour-1-op-5: rgba(255, 128, 55, 0.1);
    --secondary-colour-1: #1935A0;
    --secondary-colour-2: #ABC3EC;
    --secondary-colour-3: #FFBF9B;
    --secondary-colour-4: #FDF9F4;
    --secondary-colour-5: #E96F29;
    --neutral-colour-1: #142C63;
    --neutral-colour-2: #FDF9F4;
    --neutral-colour-3: #ECEEF1;
    --light-text-headline: #1935A0;
    --light-text-body: #1935A0;
    --light-text-link: #1935A0;
    --light-text-link-hover: #1935A0;
    --light-bt-background: #FF8037;
    --light-bt-background-hover: #E96F29;
    --light-bt-foreground: #FDF9F4;
    --light-bt-foreground-hover: #FDF9F4;
    --light-bg-color: #FDF9F4;
    --light-full-bg-image: url();
    --light-product-bg-image: url();
    --dark-text-headline: #FDF9F4;
    --dark-text-body: #FDF9F4;
    --dark-text-link: #FDF9F4;
    --dark-text-link-hover: #ABC3EC;
    --dark-bt-background: #FDF9F4;
    --dark-bt-background-hover: #1935A0;
    --dark-bt-foreground: #FF8037;
    --dark-bt-foreground-hover: #FDF9F4;
    --dark-bg-color: #E96F29;
    --dark-full-bg-image: url();
    --dark-product-bg-image: url();
	--green-bg-background: rgb(31, 102, 83);
	--pink-bg-color: #fea1bb;
}
.sub-menu:has(> section.main_menu_bg) {
	background: transparent;
    border: unset;
	box-shadow: unset !important;
}
.make_circle_ft,.make_circle_66>.section-bg {
    -webkit-mask-image: url(img/bg_menu.svg);
    mask-image: url(img/bg_menu.svg);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
	background:#fff
}
.make_circle_66>.section-bg{
	height: 66%;
}
.section.make_circle_66.dark{background:transparent !important}
.dark-bg-color,.section.dark,.section.make_circle_66.dark>.section-bg{background:var(--dark-bg-color) !important}

#main, #wrapper {
    background-color: #FDF9F4 !important;
    position: relative;
}



.green-bg-color{
	background: var(--green-bg-background)
}
.btn-primary {
    color: var(--primary-colour-1) !important;
}
.pink-bg-color{
	background:var(--pink-bg-color)
}
.pink-color{
	color:var(--pink-bg-color)
}
.btn-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
}
.bg_primary {
    background: var(--primary-color);
}
.radius20 {
    border-radius: 20px;
    overflow: hidden;
}
.absolute-footer {
    display: none;
}
.block-hero-sunar-hero-master-breadcrumbs p {
    margin-bottom: unset;
}
.block-hero-sunar-hero-master-breadcrumbs {
    padding: 15px 0;
	background: var(--neutral-colour-2)
}
.bg_img_gt{
	background-image: url(img/bg_img.jpg)
}
.max_heght_600 {
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-box-filter {
    background: #e16e2b;
    padding: 2em;
    border-radius: 30px;
    color: white;
    margin-bottom: 20px;
}

.filter-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-tabs-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 18px;
  color: white;
}

.filter-tabs-left b {
    font-weight: bold;
    margin-right: 10px;
    font-size: 26px;
}

.filter-tabs-left a {
    color: white;
    text-decoration: none;
    position: relative;
    font-size: 16px;
}
.filter-tabs-left a.active {
    font-weight: 700;
}
.filter-tabs-left a::after {
    content: "▾";
    font-size: 23px;
    position: relative;
    top: 3px;
}

.filter-tabs-left a.active::after {
  content: "▴";
}

.filter-clear {
  color: white;
  text-decoration: underline;
  font-size: 15px;
}
.filter-content {
    display: none;
}
.filter-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.filter-content a,.component .btn {
    font-weight: bold;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 30px;
    padding: 8px 20px;
    text-decoration: none;
}
.component .btn {
    background: white;
}
.filter-content a.active {
    background: white;
    color: var(--secondary-colour-5);
}
.article_card {
    background-image: var(--light-full-bg-image);
    background-color: var(--light-bg-color);
    background-size: cover;
    box-shadow: 0px 1px 3px 3px rgba(0, 0, 0, 0.1), 0px 6px 12px 12px rgba(0, 0, 0, 0.08);
    border-radius: 25px;
    overflow: hidden;
	height:100%
}
.article_card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bv_post .article_card>a {
    height: auto;
}
.article_card .card_image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 9 / 16 = 0.5625 = 56.25% */
    overflow: hidden;
    background: white;
}
.article_card.product .card_image {
    padding-top: 100%;
}
.article_card .card_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article_card .card_body {
    padding: 15px;
    background: white;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.article_card  .card-info {
    font-size: 0.875rem;
    line-height: 1.5rem;
    border-bottom: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    align-items: center;
}
.article_card .card-reading-time:before {
    content: "";
    display: inline-block;
    background-color: var(--primary-colour-1);
    -webkit-mask: url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2019%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.25%200.75C4.15%200.75%200%204.9%200%2010C0%2015.1%204.15%2019.25%209.25%2019.25C14.35%2019.25%2018.5%2015.1%2018.5%2010C18.5%204.9%2014.35%200.75%209.25%200.75ZM9.25%2017.75C4.98%2017.75%201.5%2014.27%201.5%2010C1.5%205.73%204.98%202.25%209.25%202.25C13.52%202.25%2017%205.73%2017%2010C17%2014.27%2013.52%2017.75%209.25%2017.75Z%22%20fill%3D%22%2300328C%22%2F%3E%3Cpath%20d%3D%22M10%204H8.5V10.75H15.25V9.25H10V4Z%22%20fill%3D%22%2300328C%22%2F%3E%3C%2Fsvg%3E) no-repeat center;
    mask: url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2019%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.25%200.75C4.15%200.75%200%204.9%200%2010C0%2015.1%204.15%2019.25%209.25%2019.25C14.35%2019.25%2018.5%2015.1%2018.5%2010C18.5%204.9%2014.35%200.75%209.25%200.75ZM9.25%2017.75C4.98%2017.75%201.5%2014.27%201.5%2010C1.5%205.73%204.98%202.25%209.25%202.25C13.52%202.25%2017%205.73%2017%2010C17%2014.27%2013.52%2017.75%209.25%2017.75Z%22%20fill%3D%22%2300328C%22%2F%3E%3Cpath%20d%3D%22M10%204H8.5V10.75H15.25V9.25H10V4Z%22%20fill%3D%22%2300328C%22%2F%3E%3C%2Fsvg%3E) no-repeat center;
    width: 18px;
    height: 18px;
    padding: 23px 23px 0 0;
}
.article_card .datetime:before {
    content: "";
    display: inline-block;
    background-color: var(--primary-colour-1);
    -webkit-mask: url(data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2218%22%20viewBox%3D%220%200%2017%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.25%201.865H11.95V0.625H10.45V1.865H6.45V0.625H4.95V1.865H3.75C1.68%201.865%200%203.545%200%205.615V13.625C0%2015.695%201.68%2017.375%203.75%2017.375H13.25C15.32%2017.375%2017%2015.695%2017%2013.625V5.615C17%203.545%2015.32%201.865%2013.25%201.865ZM3.75%203.365H4.95V5.125H6.45V3.365H10.45V5.125H11.95V3.365H13.25C14.49%203.365%2015.5%204.375%2015.5%205.615V6.875H1.5V5.615C1.5%204.375%202.51%203.365%203.75%203.365ZM13.25%2015.875H3.75C2.51%2015.875%201.5%2014.865%201.5%2013.625V8.375H15.5V13.625C15.5%2014.865%2014.49%2015.875%2013.25%2015.875Z%22%20fill%3D%22%2300328C%22%2F%3E%3C%2Fsvg%3E) no-repeat center;
    mask: url(data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2218%22%20viewBox%3D%220%200%2017%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.25%201.865H11.95V0.625H10.45V1.865H6.45V0.625H4.95V1.865H3.75C1.68%201.865%200%203.545%200%205.615V13.625C0%2015.695%201.68%2017.375%203.75%2017.375H13.25C15.32%2017.375%2017%2015.695%2017%2013.625V5.615C17%203.545%2015.32%201.865%2013.25%201.865ZM3.75%203.365H4.95V5.125H6.45V3.365H10.45V5.125H11.95V3.365H13.25C14.49%203.365%2015.5%204.375%2015.5%205.615V6.875H1.5V5.615C1.5%204.375%202.51%203.365%203.75%203.365ZM13.25%2015.875H3.75C2.51%2015.875%201.5%2014.865%201.5%2013.625V8.375H15.5V13.625C15.5%2014.865%2014.49%2015.875%2013.25%2015.875Z%22%20fill%3D%22%2300328C%22%2F%3E%3C%2Fsvg%3E) no-repeat center;
    width: 18px;
    height: 18px;
    padding: 23px 23px 0 0;
    
}
.article_card .recipe-value,.article_card .recipe-value>* {
    display: flex;
}
.article_card .button {
    min-width: 150px;
	margin: 0 auto;
}
.article_card h3 {
    font-size: 23px;
    margin-top: 10px;
}
.article_card .card-text {
    flex-grow: 1;
}
.pagination .nav-links>* {
    font-size: 20px;
    padding: 6px 12px;
}
.pagination .nav-links>* ,.ajax-pagination>*{
    font-size: 20px;
    padding: 6px 12px;
    color: var(--primary-color);
}
.pagination .nav-links>.current,.ajax-pagination .page-numbers.current {
    background: var(--primary-colour-1);
    border-radius: 100%;
    color: white;
}

#header .header-nav>li>.nav-dropdown {
    border: unset !important;
    border-radius: 20px;
}
#header .header-nav>li>.nav-dropdown>*:not(section) a {
    padding: 20px;
}
#header .header-nav>li>.nav-dropdown a {
    color: var(--primary-color);
}
#header .header-main .nav > li > a {
    line-height: 86px !important;
    margin-top: -6px;
}
#header .header-wrapper.stuck .nav > li > a {
    line-height: 60px !important;
}
body.archive h1, body.category h1 {
    font-size: 48px;
    margin: 69px 0;
}
body.archive.tax-chuyen_muc_san_pham h1 {
    margin-bottom: 39px !important;
}
.text-boder-or {
    border-bottom: solid 1px var(--primary-colour-1);
}
.row.ajax-posts-container>p {
    text-align: center;
    margin: 0 auto;
}
.san_pham-template .entry-content {
    padding: 0 !important;
}
/* Ẩn hiện theo mobile */
.mobile-only {
  display: none;
}

@media screen and (min-width:768px){
.background_lappost .post-thumbnail {
    display: none;
}
	.san_pham-template-default .component img {
    max-height: 500px;
    width: auto;
    margin-left: 30px;
}
	
	.san_pham-template-default .component .post-thumbnail {
    text-align: center;
}
    .component.component__banner-full-image-full-width.ratio-3-1 {
        min-height: 500px;
        max-height: 500px;
        overflow: hidden;
        display: grid;
		grid-template-columns: repeat(12, 1fr);
		margin-bottom: 50px;
;
    }
    .component.component__banner-full-image-full-width.ratio-3-1 .field--name-field-image {
        grid-column: 5 / -1;
        grid-row: 1;
    }

    .component.component__banner-full-image-full-width.ratio-3-1 .component__banner-full-image-description {
        grid-column: 1 / 6;
        grid-row: 1;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        padding: 0;
        top: 0;
        bottom: 0;
        -webkit-mask-image: url(img/mask-desktop.svg);
        mask-image: url(img/mask-desktop.svg);
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        background-color: #00328C;
        padding: 1.25rem 0;
        text-align: left;
			position: relative;
    }

    .component.component__banner-full-image-full-width.ratio-3-1 .component__banner-full-image-description-fields {
        grid-column: 2 / -2;
        align-self: center;
    }

}
.component.component__banner-full-image-full-width.ratio-3-1.style__dark .component__banner-full-image-description {
    background-color: var(--dark-bg-color);
    background-image: var(--dark-full-bg-image);
    background-size: cover;
}
#dangky {
    background: var(--primary-colour-1);
    border-radius: 20px;
}
#dangky .mfp-close {
    mix-blend-mode: unset;
    opacity: 1;
    top: 5px !important;
	display:block
}
#dangky .ff-btn-submit {
    background: var(--primary-color);
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	
  .mobile-only {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e16e2b;
    color: white;
    padding: 1em 1.5em;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .filter-wrapper.collapsed {
    display: none;
  }
.article_card .button {
    width: 100%;
}
.bg-box-filter {
    padding: 0;
}
.bg-box-filter .icon {
    font-size: 39px;
    line-height: 20px;
}
#filterBox {
    padding: 0 10px 20px 10px;
}
.filter-tabs-left>b {
    display: none;
}
.filter-tabs-left a:nth-child(2) {
    position: absolute;
    margin-top: -58px;
}
.filter-content a {
    font-size: 12px;
    padding: 5px 10px;
}
.single-post .custom-content ul {
    margin-left: 18px;
}

#header .icon-menu, #header .icon-search, #main-menu.mobile-sidebar a {
        color: var(--primary-color);
        text-transform: unset !important;
        font-size: 16px;
    }
#header .icon-menu{
		    font-size: 26px;
	}
	
.component.component__banner-full-image-full-width.ratio-3-1 .field--name-field-image img {
    -webkit-mask-image: url(img/mask-mobile.svg);
    mask-image: url(img/mask-mobile.svg);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 1;
    max-height: 500px;
    height: auto;
}
.component.component__banner-full-image-full-width.ratio-3-1.style__dark .field--name-field-image {
    background-color: var(--dark-bg-color) !important;
    background-image: var(--dark-full-bg-image) !important;
}
.component.component__banner-full-image-full-width.ratio-3-1.style__dark .component__banner-full-image-description {
    padding: 40px 20px;
    margin-bottom: 30px;
}	
.ngogia-sanpham-grid .small-4 {
    flex-basis: 100%;
    max-width: 100%;
}	
.ngogia-sanpham-grid h3 {
    color: var(--primary-color);
}	
#dangky :not(.fluentform *) {
    text-align: center;
}
div#dangky {
    padding: 15px !important;
}
.mfp-container.mfp-s-ready.mfp-inline-holder {
    padding: 10px;
}
#dangky .ff_submit_btn_wrapper {
    text-align: center;
}
#dangky img {
    max-width: 200px;
}
	
}