/*
Theme Name: lbk
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 4.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --secondary-color: #BD1F2C;
}

html {
  font-size: 16px;
}

.h-full {
  height: 100%;
}

.is-divider {
  display: none;
}

#wrapper .stuck #logo img {
    max-height: 60px !important;
}

div#wrapper:after {
  content: '';
  background: url(/wp-content/uploads/2023/10/novo-bg-footer.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 100%;
  height: 1000px;
  position: absolute;
  bottom: 40px;
  z-index: 0;
}

#main {
  z-index: 1;
  background-color: transparent;
}

.absolute-footer {
  position: relative;
  z-index: 1;
}

#footer {
  padding-top: 315px;
}

.section-title-center b {
  opacity: 0;
}

.header-wrapper {
  border-bottom: 1px solid var(--secondary-color);
}

#logo img {
    max-height: 80px !important;
}

#top-bar {
  background: #c78d31;
  background: linear-gradient(
	  135deg,
	  #c78d31 0%,
	  #c78d31 64%,
	  rgba(255, 255, 255, 1) 64%,
	  rgba(255, 255, 255, 1) 64.5%,
	  #BD1F2C 64.5%,
	  #BD1F2C 100%
	);
}

#top-bar .nav-uppercase>li>a {
  text-transform: unset;
}

.nav.header-nav-main > li > a {
  font-size: 16px;
}

.header-main .hide-for-medium.flex-right {
  width: 100%;
  padding-left: 30px;
}

.header-main .hide-for-medium.flex-right .header-nav-main {
  justify-content: space-between;
}

.has-line-bottom .section-title-center {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 5px;
}

h2.section-title-normal {
  border-bottom: none;
}

h2.section-title-normal .section-title-main {
  border-bottom: none;
}

.bb-style-1 .col-inner {
  display: flex;
  justify-content: center;
  padding-top: 15px;
}

.bb-style-1 .col-inner:after {
  content: '';
  background-image: radial-gradient(#0024ff33 3px, transparent 0);
  background-size: 12px 12px;
  background-position: 0 0;
  width: 70px;
  height: 70px;
  position: absolute;
  left: 78px;
  bottom: -34px;
  z-index: -1;
}

.bb-style-1 .img {
  width: 60% !important;
}

.bb-style-1 .img-inner {
  border-top-left-radius: 130px;
  border-bottom-right-radius: 130px;
  border: 2px solid var(--primary-color);
}

.bb-style-1 .img:before {
  content: '';
  display: block;
  width: 135px;
  height: 135px;
  background-color: #c78d31;
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: -1;
  border-top-left-radius: 100%;
}

.bb-style-1 .img:after {
  content: '';
  display: block;
  width: 130px;
  height: 130px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  border-bottom-right-radius: 111px;
}

.section-product .box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 0 10px #898989;
}

.section-product .box-image {
  padding: 10px;
}

.section-product .box-text {
  background: var(--primary-color);
  padding-block: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.section-product .last .box-text {
  background: rgb(191,191,191);
  background: linear-gradient(90deg, rgba(191,191,191,1) 0%, rgba(255,255,255,1) 10%, rgba(191,191,191,1) 50%, rgba(255,255,255,1) 90%, rgba(191,191,191,1) 100%);
}

.section-product h3 {
  color: #fff;
}

.section-product .last h3 {
  color: var(--primary-color);
}

.section-blog .post-title {
  color: #141414;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.section-blog a:hover .post-title {
  color: var(--primary-color);
}

.section-blog .button {
  border-radius: 99px;
}

.section-blog .box-text {
  padding-bottom: 0;
}

#secondary .widget {
  box-shadow: 0 0 5px #ccc;
  border-radius: var(--radius);
  overflow: hidden;
}

#secondary .widget-title {
  display: inline-block;
  width: 100%;
  padding-left: 15px;
  line-height: 40px;
  background-color: var(--primary-color);
  color: #fff;
}

#secondary .widget ul {
  padding-left: 15px;
  padding-right: 15px;
}

#secondary .widget ul i {
  padding-right: 5px;
}

#secondary .widget .page_item i {
  padding-right: 10px;
}

.menu-anchor-link{
  position: sticky;
  top: var(--menu-anchor-link-top);
  z-index: 10;
}

.menu-anchor-link .ux-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 1rem;
}

.menu-anchor-link .ux-menu-link__link {
  min-height: unset;
  padding-top: 8px;
  padding-bottom: 8px;
}

.section-gia-tri .icon {
  border: 1px dotted var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-gia-tri .icon .icon-inner {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  padding: 12px;
}

.section-gia-tri .icon svg,
.section-gia-tri .icon img {
  padding-top: 0;
}

.section-gia-tri .row .col:last-child .icon {
  border-color: var(--secondary-color);
}

.section-gia-tri h3 {
  margin-bottom: 0;
}

.section-gia-tri .icon-box-text p {
  font-size: 14px;
  margin-bottom: 0;
}

.text.note {
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 10px 45px;
}

.text.note p {
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.section-tai-lieu .box {
  box-shadow: 0 0 10px #434343;
  padding: 30px 30px 0px 30px;
}

.section-tai-lieu .box-image {
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 15px;
}

.section.has-box-shadow {
  box-shadow: 0 0 20px #434343b5;
}

.header .sub-menu {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.header .nav-dropdown .menu-item:not(:last-child) {
  border-bottom: 1px solid #eee
}

.header .nav-dropdown .menu-item a {
  border: none
}

.header .nav-dropdown a {
  border: none;
  position: relative;
  overflow: hidden
}

.header .nav-dropdown .menu-item a:before {
  content: "\f345";
  font-family: 'dashicons';
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0;
  transition: .3s
}

.header .nav-dropdown .menu-item:hover>a:before {
  left: 0;
  opacity: 1
}

.header .nav-dropdown .menu-item {
  transition: .3s
}

.header .nav-dropdown .menu-item:hover>a {
  padding-left: 20px;
  color: var(--primary-color)!important
}

.menu-item .nav-dropdown .menu-item-has-children {
  position: relative;
  width: 100%
}

.menu-item .nav-dropdown .menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 100%;
  min-width: 260px;
  background-color: #fff;
  box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
  transition: 0.3s;
  opacity: 0
}

.menu-item-has-children .menu-item-has-children:hover .sub-menu {
  top: 0;
  opacity: 1
}

.nav-dropdown-col>a {
  font-weight: 500!important;
  text-transform: none!important
}

.nav-dropdown>li.nav-dropdown-col {
  min-width: 260px
}

.sub-menu a {
  color: var(--black-color)!important;
  font-size: 1rem!important
}

.nav-dropdown-col::after {
  content: "\f345";
  font-family: 'dashicons';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: .5s
}

.nav-dropdown-col:hover:after {
  color: var(--primary-color);
  right: -10px;
  opacity: 0
}

.archive-product__banner .archive-product__benefit > .col:not(:first-child) {
  flex-basis: 250px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgb(191,191,191);
  background: linear-gradient(90deg, rgba(191,191,191,1) 0%, rgba(255,255,255,1) 10%, rgba(191,191,191,1) 50%, rgba(255,255,255,1) 90%, rgba(191,191,191,1) 100%);
  padding: 15px;
  border: 1px solid rgb(205 205 205);
  overflow: hidden;
}

.archive-product__banner .archive-product__benefit > .col:not(:first-child) .col-inner {
  background-color: #fff;
  width: 220px;
  height: 220px;
  border-radius: 50% !important;
  border: 2px solid rgb(205 205 205);
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-product__banner .archive-product__benefit p {
  margin-bottom: 0;
}

.product-footer .tabs {
  list-style: none;
  display: flex;
  margin-bottom: 0;
}

.product-footer .tabs li {
  border: 1px solid #eee;
  border-bottom: none;
  margin-right: 10px;
  text-transform: uppercase;
  font-weight: 700;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-left: 0;
  margin-bottom: 0;
}

.product-footer .tabs li a {
  display: inline-block;
  padding: 5px 12px;
}

.product-footer .tabs li.active,
.product-footer .tabs li:hover {
  background-color: var(--primary-color);
}

.product-footer .tabs li.active a,
.product-footer .tabs li:hover a {
  color: #fff;
}

.product-footer .product-tabs .tab-panels {
  border: 1px solid #eee;
  padding: 15px;
}

.form-bao-gia {
  background-color: rgb(245 130 32 / 75%);
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.form-bao-gia h3 {
  color: #fff;
  text-transform: uppercase;
}

.form-bao-gia .wpcf7-submit,
.form-bao-gia .wpcf7-form {
  margin: 0;
}

.form-bao-gia .wpcf7-spinner {
  display: none;
}

.form-bao-gia .wpcf7-form-control {
  border-radius: 8px;
}

.form-bao-gia.active {
  background-color: var(--secondary-color);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 0 10px #434343;
  padding-inline: 15px;
  z-index: 9999;
}

.form-bao-gia .close {
  display: none;
  position: absolute;
  top: 5px;
  right: 5px;
  color: #fff;
  text-decoration: underline;
  font-size: 12px;
}

.form-bao-gia.active .close {
  display: inline-block;
}

.related-product {
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  z-index: 1;
}

.related-product > h3 {
  margin-left: 15px;
  margin-right: 15px;
}

.related-product h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
}

.related-product > h3:after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
  position: absolute;
  left: 0;
  bottom: -5px;
}

.product-gallery__slider .product-gallery__image img {
  width: 100%;
}

.product-gallery__image-small {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-snap-stop: always;
  grid-gap: 15px;
  padding-bottom: 5px;
}

.product-gallery__image-small .product-gallery__image:hover {
  cursor: pointer;
}

.product-gallery__image-small .product-gallery__image {
  scroll-snap-align: center;
}

.product-gallery__image-small .product-gallery__image.active,
.product-gallery__image-small .product-gallery__image:hover {
  border: 1px solid var(--primary-color);
}

.product-gallery__image-small::-webkit-scrollbar {
  height: 6px;
}

.product-gallery__image-small::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey;
  border-radius: 10px;
}

.product-gallery__image-small::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.product-cat__title {
  background: #f5a824;
  background: -moz-linear-gradient(left, #f5a824 0%, #fef6ad 13%, #f5a824 56%, #fef6ad 85%, #f5a824 100%);
  background: -webkit-linear-gradient(left, #f5a824 0%,#fef6ad 13%,#f5a824 56%,#fef6ad 85%,#f5a824 100%);
  background: linear-gradient(to right, #f5a824 0%,#fef6ad 13%,#f5a824 56%,#fef6ad 85%,#f5a824 100%);
  color: #fff;
  text-align: center;
  line-height: 50px;
}

#product-sidebar aside.widget {
  background-color: #f9f9f9;
  padding: 10px 15px;
}

#product-sidebar span.widget-title {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

#product-sidebar span.widget-title:after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -8px;
}

.product-small .product-title a {
  color: var(--primary-color);
}

.product-small .box-image {
  box-shadow: 2px 2px 6px #434343;
  border-radius: 8px;
}

.product-small .box-image img {
  transition: .3s;
}

.product-small .box-image:hover img {
  transform: scale(1.1);
}

.single-product #main {
  z-index: 1;
  background-color: transparent;
}

h1.product-title.entry-title {
  position: relative;
}

h1.product-title.entry-title:after {
  content: '';
  display: inline-block;
  width: 64px;
  height: 3px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: -2px;
  left: 0;
}

.rank-math-breadcrumb p {
  margin-bottom: 0;
}

.section-breadcrumb {
  margin-bottom: 30px;
}

.page-id-13 .section-breadcrumb {
    margin-bottom: 0;
}

#main.has-overlay:before {
  content: '';
  display: inline-block;
  position: fixed;
  inset: 0;
  background-color: #43434380;
  z-index: 9;
}

.additional_content {
  border-collapse: collapse;
  margin-bottom: 30px;
}

.additional_content tbody {
  font-weight: bold;
  box-shadow: 0 0 2px #ccc;
}

.additional_content tbody tr:nth-child(2n) {
  background-color: rgba(0,0,0,0.05);
}

.additional_content tbody td {
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 0.7em 0.5em;
  color: var(--primary-color);
}

.additional_content tbody tr td:first-child {
  border-left: 1px solid #ccc;
  width: 25%;
}

.additional_content tbody tr:first-child td {
  border-top: 1px solid #ccc;
}

.dvls_maps_wrap {
	border-radius: 35px;
}
.dvls_maps_wrap .dvls_maps_header {
	background-color: var(--primary-color);
}
.dvls_maps_header_left {
	color: #fff;
}
.dvls_maps_header_right form > .dvls_maps_col{
	color: #fff;
	display: none;
}
.dvls_maps_header_right form {
	margin-bottom: 0px;
}
.dvls_maps_row.dvls_maps_header {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dvls_maps_row.dvls_maps_header select {
	width: 400px;
}
.dvls_maps_row.dvls_maps_header select,
.dvls_maps_row.dvls_maps_header input {
	margin-bottom: 0px !important;
}

.dvls_maps_wrap input.dvls-submit {
    background-color: var(--secondary-color) !important;
    min-height: 35px;
}

.post-type-archive-product .section-breadcrumb {
    margin-bottom: 0;
}

.post-type-archive-product #wrapper {
	background-image: url(/wp-content/uploads/2023/08/novo-nen1.jpg);
	background-size:cover;
	background-attachment: fixed;
}

.post-type-archive-product #main {
	background-color: transparent;
}

.home .form-bao-gia {
  display: none;
}

.home .form-bao-gia.active {
  display: inline-block;
}

.secondary.is-outline.nhan-bao-gia-btn {
    color: var(--secondary-color);
}

@media only screen and (min-width: 1024px) {
  .archive-product__banner .archive-product__benefit {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50px);
    justify-content: space-between;
  }

  .product-gallery__image-small {
    padding-right: 5px;
    height: 310px;
  }

  .product-gallery__image-small::-webkit-scrollbar {
    width: 6px;
  }
	
	.dvls_maps_header_left {
		visibility: hidden;
	}
}

@media only screen and (max-width: 600px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	#logo img {
   	 	max-height: 65px !important;
	}
	
  .bb-style-1 .img {
    width: 100% !important;
  }

  h2 {
    font-size: 24px;
  }

  .button {
    font-size: 14px;
  }

  .bb-style-1 {
    margin-bottom: 15px;
  }

  .section-gioi-thieu {
    margin-bottom: 0;
  }

  div#wrapper:after {
	height: 1600px;
	bottom: 50px;
  }

  #footer {
    padding-top: 350px;
  }

  .section-product h3 {
    font-size: 16px;
  }

  .section-blog .post-title {
    font-size: 16px;
  }

  .section-blog .from_the_blog_excerpt {
    font-size: 14px;
  }

  .section-blog .button {
    font-size: 14px;
  }

  #top-bar {
    background: rgb(255,102,0);
    background: linear-gradient(135deg, rgba(245,130,32,1) 0%, rgba(245,130,32,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 50.5%, rgba(25,69,157,1) 50.5%, rgba(25,69,157,1) 100%);
  }

  #top-bar .flex-col.flex-grow .nav {
    justify-content: flex-end;
  }

  .mobile-sidebar .nav>li>a {
    color: #141414;
  }

  #logo {
    width: 200px !important;
  }

  .form-bao-gia.active {
    width: calc(100% - 30px);
  }

  .product-gallery__image-small {
    grid-auto-flow: column;
    grid-auto-columns: 22%;
    overflow-y: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
	
	.dvls_maps_row.dvls_maps_header {
		display: block;
		align-items: center;
		justify-content: center;
	}
	.dvls_maps_row.dvls_maps_header select 	{
		width: 100% !important;
	}
}

@media only screen and (min-width: 601px) and (max-width: 1023px) {
  div#wrapper:after {
	height: 1550px;
	bottom: 50px;
  }
}

@media only screen and (min-width: 2560px) {
  div#wrapper:after {
	height: 1111px;
	bottom: 45px;
  }
}