/*
Theme Name: khoacua-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/** HEADER **/
input#woocommerce-product-search-field-0 {
  font-size: 16px;
  width: 100%;
  background-color: #fff !important;
  height: 40px;
  color: #333 !important;
  padding-left: 10px;
  box-sizing: border-box;
  padding-right: 50px;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  outline: none !important;
  border: 0px;
}
.btn_hotline {
  line-height: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn_hotline span {
  display: block;
  font-size: 14px;
}
.btn_hotline .span_hotline a {
  font-weight: 600;
  font-size: 17px;
}
.icon-search:before {
  color: #333;
}
.page-id-94 .box-breadcrumb,
.page-id-94 .header-block.block-html-after-header.z-1 {
  display: none;
}
.box-breadcrumb {
  padding: 10px 0 !important;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}
.box-breadcrumb p {
  margin-bottom: 0px;
}
/** HOMEPAGE **/
.section_services .promo-item .col-inner {
  background: #ffdf8c;
  padding: 10px;
  border-radius: 10px;
  height: 100%;
  border: 2px solid #eeeeee59;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.section_services .promo-item .col-inner:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  background: #eec048;
}
.duration-300 {
  transition-duration: 0.3s;
}
.css-sanphambanchay .col-inner {
  background: #0b3b3b;
  padding: 40px 20px;
  border-radius: 12px;
  overflow: hidden;
}
.css-sanphambanchay .product-small.box {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  height: 100%;
  box-shadow: 0px 0px 6px 0px rgba(50, 50, 93, 0.15),
    1px 1px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  position: relative;
}
.product-small.box {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  height: 100%;
  box-shadow: 0px 0px 6px 0px rgba(50, 50, 93, 0.15),
    1px 1px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  position: relative;
}
.title-wrapper {
  display: block;
  font-size: 18px;
  height: 45px;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 21px !important;
  font-weight: 600;
  color: #b20000 !important;
  text-align: center;
}
.price-wrapper {
  margin-top: 15px;
}
.product-small.box .price del span {
  font-size: 15px;
}
.product-small.box .price del,
.product-small.box .price del.amount {
  font-size: 17px !important;
  color: #999;
  font-weight: 400 !important;
  margin-right: 12px;
}
.product-small.box .price ins span,
.product-small.box .price span.amount {
  font-size: 20px;
  font-weight: 700;
  color: #b20000;
}
.badge {
  backface-visibility: hidden;
  display: table;
  height: 25px;
  pointer-events: none;
  width: 3em;
  z-index: 20;
}
.badge-container {
  margin: 0px;
}
.badge-inner.secondary.on-sale {
  font-size: 13px;
  padding: 1px 10px;
  background-color: #b20000;
  display: inline-block;
  position: absolute;
  top: 5px;
  left: -6px;
  box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 0px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 3px 2px;
  color: #fff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 8px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
  line-height: 23px;
}
.badge-inner.secondary.on-sale:after {
  content: "";
  height: 0;
  width: 0;
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  border-top: 4px solid #b20000;
  border-left: 7px solid transparent;
}
/** CSS BLOG **/
.col.post-item .col-inner {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}
.col.post-item .col-inner .box-text {
  -webkit-box-flex: 1;
  flex-grow: 1;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  background: #f9f9f9;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 10px 15px;
}
.post-title a {
  font-size: 19px;
  display: -webkit-box;
  overflow: hidden;
  visibility: visible;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 24px;
}
.post-title a:hover {
  color: var(--primary-color);
}
.col.post-item .col-inner .box-text p.from_the_blog_excerpt {
  margin-top: 10px;
  font-size: 16px;
  color: #484848;
  font-weight: 400;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 23px;
}
.entry-content {
  padding-top: 0px;
}
.entry-header-text {
  padding-bottom: 0px;
}
/** CSS SANPHAM **/
.sort_giuseart {
  margin-bottom: 20px;
  padding: 10px;
  background: #f1f1f1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 7px;
}
.sort_giuseart form {
  padding: 0 0 0 20px;
  margin-bottom: 0px;
}
.sort_giuseart .pt-checkbox {
  margin-right: 0px;
  margin-bottom: 0px;
}
.block-promotion {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f8f8;
  border: 1px solid var(--primary-color);
  margin-bottom: 20px;
}
.block-promotion .heading-promo {
  background: var(--primary-color);
  padding: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  line-height: initial;
  gap: 5px;
}
.block-promotion .promo-content {
  padding: 10px;
  font-size: 14px;
  font-weight: 400;
}
.block-promotion .promo-content p {
  margin-bottom: 5px;
}
.css-sanphamcotgiua button.isures-btn--cta_global.isures-btn--atc {
  display: block !important;
}
.css-sanphamcotgiua .ux-quantity.quantity.buttons_added.form-minimal,
.css-sanphamcotgiua button.single_add_to_cart_button.button.alt {
  display: none;
}
.isures-btn--order_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column-start: 1;
  grid-column-end: 3;
}
button.button.buy_now_button {
  width: calc(100% - 70px) !important;
  height: 60px;
  border-radius: 8px !important;
  display: inline-block;
  color: #fff;
  text-align: center;
  margin-bottom: 0px;
  padding-left: 5px;
  padding-right: 5px;
}
.buy_now_button span {
  display: block;
  line-height: 22px;
}
.buy_now_button .span1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.buy_now_button .span2 {
  font-size: 15px;
  text-transform: initial;
  font-weight: 400;
}
.isures-btn--order_wrap .isures-btn--atc span {
  font-size: 15px;
  text-transform: initial;
  font-weight: 400;
  line-height: 2;
}
.isures-btn--order_wrap .isures-btn--atc {
  margin-bottom: 0px;
  padding-left: 5px;
  padding-right: 5px;
  width: 135px;
  border-radius: 15px;
  justify-content: center;
  text-align: center !important;
  flex-direction: column;
  height: 60px !important;
  align-items: center;
  text-transform: inherit !important;
  background: var(--primary-color);
  border: 0px;
  margin-right: 0px;
}
.product_action_1 .col-inner {
  background: #0b3b3b !important;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  padding-bottom: 0;
}
.price-wrapper del {
  font-size: 17px;
}
.price-wrapper del span {
  font-size: 17px !important;
  font-weight: 400 !important;
}
.price-wrapper ins span,
span.amount {
  font-size: 25px;
  font-weight: 700;
  color: #b20000;
}
.bgthongso {
  background: #f7f7f7;
  padding: 20px;
  font-size: 17px;
  line-height: 26px;
  border-radius: 10px;
}
.cssnoidungsanpham .fancybox {
  background: #f7f7f7;
  padding: 20px;
  font-size: 17px;
  line-height: 26px;
  border-radius: 10px;
}
.cssnoidungsanpham ul.tabs.wc-tabs.product-tabs {
  display: none;
}
.cssnoidungsanpham .tab-panels {
  padding-top: 0px !important;
}
.is-divider {
  height: 0px !important;
}

/** CSS FOOTER **/
.block-subscribe {
  text-align: center;
  margin-top: 45px;
}
.block-subscribe .container {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  background-image: url(/wp-content/themes/khoacua-child/imgs/bg_email.png);
  padding-top: 40px;
  background-size: cover;
  padding-bottom: 44px;
}
.block-subscribe-flex {
  max-width: 700px;
  text-align: right;
  position: relative;
  padding-right: 200px;
}
.block-subscribe .subscribe-title {
  font-size: 24px;
  font-weight: 700;
  color: #0b3b3b;
  margin-bottom: 0;
}
.block-subscribe .desc {
  font-size: 14px;
  font-weight: 500;
  color: #585858;
  margin-bottom: 15px;
}
.subscribe-image {
  position: absolute;
  bottom: -22px;
  right: 0;
}
.subscribe-image img {
  width: 170px;
}
.block-subscribe-form {
  text-align: center;
}
.block-subscribe-form .flex-row.form-flat.medium-flex-wrap {
  position: relative;
  margin-bottom: -60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.block-subscribe-form form.wpcf7-form.init {
  margin-bottom: 0px;
}
.block-subscribe-form
  input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel {
  height: 50px;
  width: 100%;
  font-size: 16px;
  border-radius: 5px;
  margin: 0;
  outline: none !important;
  border: none !important;
  background: #fff;
}
.block-subscribe-form input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
  position: absolute;
  top: 8px;
  border: initial;
  background: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  line-height: inherit;
  outline: none !important;
  cursor: pointer;
  font-size: 14px;
  margin-right: 0px;
}
.footer-1 {
  color: #fff;
  padding-top: 70px;
  padding-bottom: 60px;
  font-size: 16px;
}
.footer-1 span.widget-title {
  font-size: 18px;
}
span.wpcf7-spinner {
  display: none;
}
.icon-box-left .icon-box-img + .icon-box-text {
  padding-left: 1em;
  margin: auto;
}
/** CSS @MEDIA **/
@media screen and (max-width: 728px) {
  .breadcrum {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
  }
  .buy_now_button .span2,
  .isures-btn--order_wrap .isures-btn--atc span {
    font-size: 14px;
  }
  .block-subscribe-form .flex-row.form-flat.medium-flex-wrap {
    margin-bottom: -85px;
  }
  .block-subscribe-form
    input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    top: 12px;
    right: 0;
  }
}
@media screen and (min-width: 850px) {
  .block-subscribe-form
    input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    right: 30px;
  }
  .blog-wrapper .large-10 {
    flex-basis: 100%;
    max-width: 100%;
  }
  .blog-wrapper .large-10 .col.post-item {
    flex-basis: 25%;
    max-width: 25%;
  }
}

.phongvt-luonsong svg.waves.has-block {
  position: absolute;
  top: -128px;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}
.vtw-title .section-title b {
  opacity: 0;
}
.vtw-title .section-title-center span {
  text-shadow: rgb(202 0 0) 1px 1px 1px;
}
.vtw-title .section-title-normal span {
  text-shadow: rgb(202 0 0) 1px 1px 1px;
}

#footer svg.waves {
  margin-bottom: -8px;
}
@media (min-width: 850px) {
  header#header .nav-dropdown {
    display: block;
  }
  header#header .nav-dropdown ul.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    width: 250px;
    padding: 0;
    display: none !important;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
  }
  header#header .nav-dropdown ul.sub-menu a {
    white-space: normal;
    margin: 0;
    padding: 10px 15px;
    border: 0;
    font-weight: 400;
  }
  header#header .nav-dropdown li:hover > ul.sub-menu {
    display: block !important;
  }
  header#header .nav-dropdown li {
    border-right: 0;
    white-space: normal;
    width: 100%;
    display: block;
    position: relative;
  }
  header#header .nav-dropdown li.menu-item-has-children > a {
    font-weight: 400;
    text-transform: none;
    color: rgba(102, 102, 102, 0.85);
  }
  header#header .nav-dropdown li.active > a {
    color: #e82c2a;
  }
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.entry-content {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.entry-content p {
  color: #333;
  margin-bottom: 1rem;
  font-size: 16.5px;
  line-height: 1.6;
}

.entry-content ul {
  list-style: disc;
  padding-left: 15px;
  padding-bottom: 5px;
}

.entry-content ul li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ul li a {
  color: #007bff;
}

.entry-content ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

.entry-content ol li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ol li a {
  color: #ff5912;
}

.entry-content a {
  color: var(--primary-color);
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}

.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px;
  font-size: 16.5px !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}
