/*
Theme Name: Thiết Kế Website C.M.S
Description: Chuyên Thiết Kế Website , SEO, Quảng Cáo Google Ads , Facebook . Liên hệ : 0908686618 - 0948868881.
Author: C.M.S 
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
* {
  margin: 0;
  padding: 0;
}
:root {
  --fa6: "Font Awesome 6 Pro";
  --tw-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  --second-color: #fe4c1c;
  --pink: #e83e8c;
  --red: #da0000;
  --orange: #f45e06;
  --yellow: #fa9e0f;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #434244;
  --gray-dark: #343a40;
  --primary: #00367c;
  --secondary: #374151cc;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #000;
}
body::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  border-radius: 9999px;
}
body::-webkit-scrollbar-track {
  background-color: var(--light);
  overflow: hidden;
}
/* Back-to-top */
@-webkit-keyframes border-transform {
  0%,
  100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  }
  14% {
    border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
  }
  28% {
    border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
  }
  42% {
    border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
  }
  56% {
    border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
  }
  70% {
    border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
  }
  84% {
    border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
  }
}
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 80px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  font-family: "Font Awesome 6 Pro";
  content: "\f176";
  font-weight: 300;
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.3);
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::after {
  opacity: 0;
}
.progress-wrap::before {
  position: absolute;
  font-family: "Font Awesome 6 Pro";
  content: "\f176";
  font-weight: 300;
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  opacity: 0;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 2;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::before {
  opacity: 1;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg.progress-circle path {
  stroke: var(--primary);
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
a#top-link {
  display: none;
}
/* End Back-to-top */
.seach_top input#woocommerce-product-search-field-0 {
  background: var(--white);
  border-color: var(--primary);
  font-size: 14px;
  color: var(--dark);
}
.seach_top .icon-search:before {
  content: "";
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
}
.box-hotline h3 {
  font-size: 15px;
  color: var(--dark);
}
.box-hotline p {
  font-size: 20px;
  color: var(--red);
  font-weight: bold;
}
@media (min-width: 992px) {
  .li-kmdiscount {
    display: inline-block;
    background-color: var(--white);
    border: 1px solid var(--primary);
    padding: 5px 10px;
    border-radius: 5px;
    text-align: right;
    float: right;
    -webkit-animation: zoom-in-zoom-out 2000ms infinite;
    -moz-animation: zoom-in-zoom-out 2000ms infinite;
    -o-animation: zoom-in-zoom-out 2000ms infinite;
    animation: zoom-in-zoom-out 2000ms infinite;
  }
}
@media (min-width: 992px) {
  .li-kmdiscount a {
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 600;
  }
}
@media (min-width: 992px) {
  .li-kmdiscount img {
    max-width: 20px;
    vertical-align: -4px;
  }
}
.heder_top_home .col {
  padding: 5px 15px 5px 15px;
}
@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(0.85, 0.85);
  }
  10%,
  20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate(-2deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale3d(1, 1, 1) rotate(2deg);
  }
  40%,
  60%,
  80% {
    transform: scale3d(1, 1, 1) rotate(-2deg);
  }
  100% {
    transform: scale(0.9);
  }
}
ul.sub-menu.nav-dropdown.nav-dropdown-simple li {
  border-bottom: 1px solid #ededed;
}
/* Sub Menu */
.menu-item .sub-menu {
  border: none;
  left: 0;
  top: 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.26s ease;
  width: 250px;
  height: auto;
  left: -20px;
  text-align: left;
  z-index: 99;
  opacity: 1;
  visibility: visible;
}
.menu-item:hover .sub-menu {
  transform: scaleY(1) translateZ(0px);
}
.menu-item .sub-menu li a:hover:after {
  transform: translateY(-50%) scale(1);
}
.menu-item .sub-menu li a {
  text-transform: capitalize;
  color: var(--primary);
  font-weight: 500;
  font-size: 16px;
}
.menu-item .sub-menu li a:hover {
  color: var(--dark);
}
/* End Sub Menu */
.icon-box.featured-box.box-dich-vu {
  background: var(--white);
  padding: 20px 5px 20px 5px;
  box-shadow: var(--tw-shadow);
  border-radius: 10px;
  min-height: 400px;
}
.icon-box.featured-box.box-dich-vu.section-01.icon-box-center.text-center {
  min-height: 300px;
}
.box-dich-vu h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}
.box-dich-vu p {
  color: var(--gray-dark);
}
.icon-box.featured-box.box-dich-vu.lua-chon {
  padding: 20px 5px 5px 20px;
}
/* Title Home */
.cms-title {
  text-align: center;
}
.cms-title h3 {
  color: var(--primary);
  font-weight: 700;
  font-size: 30px;
  line-height: 0;
  text-transform: uppercase;
}
@media screen and (max-width: 1024px) {
  .cms-title h3 {
    font-size: 18px;
  }
}
.animate-border {
  position: relative;
  display: inline-flex;
  width: 115px;
  height: 3px;
  background-color: var(--primary);
  overflow: hidden;
}
.animate-border:after {
  position: absolute;
  content: "";
  width: 35px;
  height: 3px;
  left: 15px;
  bottom: 0;
  border-left: 10px solid #fff;
  border-right: 10px solid #fff;
  -webkit-animation: animborder 2s linear infinite;
  animation: animborder 2s linear infinite;
}
.cms-title p.text-center {
  color: var(--gray-dark);
}
@media screen and (max-width: 1024px) {
  .cms-title p.text-center {
    font-size: 15px;
  }
}
@keyframes animborder {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(113px);
    transform: translateX(113px);
  }
}
/* End Title Home */
.box-dvnb {
  box-shadow: var(--tw-shadow);
}
.box-dvnb {
  box-shadow: var(--tw-shadow);
}
.box.has-hover.box-dvnb.has-hover.box-text-bottom {
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
  box-shadow: 0 5px 62px 0 rgb(2 55 102 / 9%);
}
.box.has-hover.box-dvnb.has-hover.box-text-bottom:hover {
  transform: translateY(-20px);
  transition: 0.8s;
  box-shadow: 0 5px 62px 0 rgb(2 55 102 / 9%);
}
.box-dvnb h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.box-dvnb p {
  color: var(--gray-dark);
}
/* Hover Box */
.box:hover:after {
  width: 100%;
}
.box:after {
  content: "";
  position: absolute;
  background: var(--primary);
  height: 5px;
  width: 0;
  bottom: 0;
  left: 0;
  transition: 0.75s;
  border-radius: 0 0 10px 10px;
}
/* End Hover Box */
.cms-title.danh_gia_kh h3 {
  color: var(--white) !important;
}
.product-small.box {
  box-shadow: var(--tw-shadow);
  border-radius: 10px;
}
p.name.product-title.woocommerce-loop-product__title {
  font-weight: 600;
  margin-bottom: 10px;
}
span.woocommerce-Price-amount.amount bdi {
  color: var(--red) !important;
}
.tt_footer h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}
.tt_footer ul li {
  list-style: none;
  margin-left: 0px;
  color: var(--white);
  font-size: 15px;
  line-height: 30px;
}
.hb_social {
  margin-top: 20px;
}
.hb_social ul li a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  color: var(--primary) !important;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.hb_social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  grid-gap: 10px;
}
.hb_social ul li {
  margin-left: 0px !important;
}
.hb_social ul li:nth-child(1) a {
  padding: 8px 0;
}
.hb_social ul li:hover:nth-child(1) a {
  background: #3b5998;
}
.hb_social ul li:hover a {
  color: var(--white) !important;
}
.hb_social ul li:hover:nth-child(2) a {
  background: #ff0000;
}
.hb_social ul li:hover:nth-child(3) a {
  background: #1da1f2;
}
.hb_social ul li:hover:nth-child(4) a {
  background: radial-gradient(
      circle farthest-corner at 35% 90%,
      #fec564,
      transparent 50%
    ),
    radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%),
    radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%),
    radial-gradient(
      ellipse farthest-corner at 20% -50%,
      #5258cf,
      transparent 50%
    ),
    radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%),
    radial-gradient(
      ellipse farthest-corner at 60% -20%,
      #893dc2,
      transparent 50%
    ),
    radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent),
    linear-gradient(
      #6559ca,
      #bc318f 30%,
      #e33f5f 50%,
      #f77638 70%,
      #fec66d 100%
    );
}
.hb_social ul li:hover:nth-child(5) a {
  background: #0a68fe;
}
.hb_social ul li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.list_menu span.ux-menu-link__text {
  color: var(--white);
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  font-size: 15px;
}
.list_menu span.ux-menu-link__text:hover {
  color: var(--yellow);
  transform: translateX(10px);
}
.list_menu span.ux-menu-link__text::before {
  content: "\f0da";
  font-family: fontawesome;
  padding-right: 5px;
  color: var(--white);
  font-size: 12px;
}
/* Form Email */
.wpcf7-form-control-wrap {
  font-size: 0.875rem !important;
  font-family: arial;
}
.wpcf7 p > span > input {
  -webkit-box-shadow: unset;
  box-shadow: none;
  background: var(--white) !important;
  border-radius: 4px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  box-shadow: none;
  border-radius: 4px;
}
/* End Form Email */
.absolute-footer.dark {
  color: var(--primary);
  font-weight: 600;
}
.absolute-footer {
  padding: 0;
}
.copyright-footer {
  padding-top: 10px;
}
.tt_footer.page_lh h3 {
  color: var(--primary);
  font-size: 30px;
}
.tt_footer.page_lh ul li {
  color: var(--gray-dark);
}
.tt_footer.page_lh ul li i {
  color: var(--primary);
}
.title_all .section-title b {
  background-color: transparent !important;
}
.title_all span.section-title-main {
  font-size: 30px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}
.title_all span.section-title-main:after {
  position: absolute;
  content: "";
  background: url(./images/title-main-af.png) no-repeat;
  width: 97px;
  height: 17px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
}
.box.box-text-bottom.box-blog-post.has-hover {
  box-shadow: var(--tw-shadow);
}
.box.box-text-bottom.box-blog-post.has-hover h5.post-title.is-large {
  color: var(--primary);
}
p.from_the_blog_excerpt {
  color: var(--gray-dark);
}
/* bai viet lien quan */
.relatedcat {
  padding-top: 10px;
  border-top: 1px solid #e8e8e8;
  margin-top: 20px;
}
p.related-post-title {
  font-size: 18px;
  font-weight: bold;
}
.feature {
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.feature .image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background-size: cover;
  background-position: center;
}
ul.row.related-post li {
  list-style: none;
}
.related-title {
  line-height: 1.3 !important;
  margin-top: 10px !important;
}
.related-title a {
  color: var(--primary);
  font-weight: 600;
}
/* End bai viet lien quan */
.box-text-inner.blog-post-inner {
  padding: 0px 10px 0px 10px;
}
/* Menu Mobile */
.menu-icon {
  font-size: 1.5rem;
  width: 1.5em;
  height: 0.9em;
  position: relative;
  margin: 0 auto;
  cursor: pointer;
}
.menu-icon [class^="bar"] {
  width: 100%;
  height: 1.5px;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-icon .bar-top,
.menu-icon .bar-bottom {
  transition-delay: 0.1s;
}
.menu-icon .bar-top {
  top: 0;
}
.menu-icon .bar-middle-1,
.menu-icon .bar-middle-2 {
  top: calc((100% - 0.15em) / 2);
  transition-delay: 0s;
}
.menu-icon .bar-bottom {
  top: calc(100% - 0.15em);
}
.menu-icon.open .bar-top,
.menu-icon.open .bar-bottom {
  transform: scaleX(0);
  opacity: 0;
  transition-delay: 0s;
}
.menu-icon.open .bar-middle-1,
.menu-icon.open .bar-middle-2 {
  transition-delay: 0.1s;
}
.menu-icon.open .bar-middle-1 {
  transform: rotate(45deg);
}
.menu-icon.open .bar-middle-2 {
  transform: rotate(-45deg);
}
/* End Mobile */
.price-wrapper span.woozero {
  color: var(--red);
  font-size: 18px;
  font-weight: 600;
}
.slider_home .flickity-page-dots .dot.is-selected {
  background-color: var(--yellow);
  width: 45px;
  border-radius: 10px;
}

.slider_home .flickity-page-dots .dot {
  border: 3px solid var(--yellow);
  background-color: var(--yellow) !important;
  opacity: 1 !important;
  transition: all 0.5s ease-in;
}
.slider_home .slider-nav-light .flickity-page-dots .dot {
  border-color: var(--yellow);
}
@media screen and (max-width: 1024px) {
  .slider_home .flickity-page-dots .dot.is-selected {
    width: 30px;
  }
}
@media screen and (max-width: 1024px) {
  .slider_home .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
  }
}

.diachi_top h3 {
  color: var(--white);
}
/* Menu da cap */
@media (min-width: 850px) {
  header#header .nav-dropdown {
    display: block;
  }
  header#header .nav-dropdown ul.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    width: 250px;
    padding: 0;
    display: none !important;
    -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 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;
  }
}
/* End Menu da cap */
.off-canvas:not(.off-canvas-center) .nav-vertical li > a {
  padding-left: 20px;
  color: var(--dark-gray);
  font-weight: 500;
}
.slider-nav-circle .flickity-button {
  width: 45px !important;
  height: 45px;
  box-shadow: 0px 3px 6px #00000029 !important;
  top: 45% !important;
  margin-top: 0 !important;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;

  transform: unset !important;
  color: var(--primary);
}
.slider-nav-circle:hover .flickity-button {
  opacity: 1 !important;
}
.slider-nav-circle .flickity-button svg {
  display: none;
}
.slider-nav-circle .flickity-button:before {
  font-family: var(--fa6);
  content: "\f178";
  color: inherit;
  font-weight: 300;
  font-size: 20.5px;
  width: 100%;
}
.slider-nav-circle .flickity-button.previous:before {
  content: "\f177";
}
.slider-nav-circle .flickity-button:hover {
  color: var(--white);
  background: var(--primary);
}
.slider-nav-circle .flickity-button:hover:before {
  color: var(--white);
}
@media screen and (max-width: 767.98px) {
  #wrapper .slider-nav-circle .flickity-button.previous {
    left: -15px;
  }
}
@media screen and (max-width: 767.98px) {
  #wrapper .slider-nav-circle .flickity-button {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px;
  }
}
@media screen and (max-width: 767.98px) {
  #wrapper .slider-nav-circle .flickity-button.next {
    right: -15px;
  }
}
@media screen and (max-width: 767.98px) {
  #wrapper .slider-nav-circle .flickity-button {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px;
  }
}
/* Slider */
.slider_blog ol.flickity-page-dots .dot.is-selected:before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  border-color: var(--red);
  border-style: solid;
  border-radius: 99px;
  border-width: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.slider_blog ol.flickity-page-dots .dot {
  background-color: var(--primary);
  width: 10px;
  height: 10px;
  padding: unset;
  border: unset;
  margin: 0 5px;
  position: relative;
  opacity: 1;
}
.slider_blog ol.flickity-page-dots .dot.is-selected {
  background: var(--yellow) !important;
  margin: 0 10px;
}
.slider_blog .slider-nav-light .flickity-page-dots .dot.is-selected,
.slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
  background-color: var(--primary);
}
/* End Slider */
#wrapper .button.btn-viewall,
#popup-form .btn-viewall {
  margin: 0;
  height: 44px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  padding: 0 4px 0 20px;
  border: 1px solid var(--primary);
  border-radius: 99px;
  z-index: 1;
  position: relative;
  outline: none;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  background-color: var(--primary);
  color: #fff;
}
#wrapper .button.btn-viewall:after,
#popup-form .btn-viewall:after {
  content: "\f061";
  font-family: var(--fa6);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  margin-left: 14px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 16px;
  transition: all 0.4s ease-in-out;
}
#wrapper .button.btn-viewall:hover:after,
#popup-form .btn-viewall:hover:after {
  background-color: var(--primary);
  color: #fff;
}
#wrapper .button.btn-viewall::before,
#popup-form .btn-viewall:before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background-color: #fff;
  transform-origin: center right;
  transform: scaleX(0);
  transition: transform 0.25s ease-in-out;
  height: 100%;
}
#wrapper .button.btn-viewall:hover,
#popup-form .btn-viewall:hover {
  color: var(--primary);
  box-shadow: none;
}
#wrapper .button.btn-viewall:hover::before,
#popup-form .btn-viewall:hover:before {
  transform-origin: center left;
  transform: scaleY(1);
}
/* xem them blog */
.sec-home-4 .is-link,
.blog-archive .box-text .button {
  margin-top: 10px;
  width: fit-content;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: normal;
  color: #292929;
  position: relative;
  height: 23px;
  line-height: 23px;
  min-height: unset;
  padding: 0 10px 0 0;
  z-index: 2;
}
.sec-home-4 .is-link:after,
.blog-archive .box-text .button:after {
  content: "";
  width: 0;
  height: 23px;
  background: var(--primary);
  opacity: 1;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: all 0.4s;
}
.sec-home-4 .is-link:hover:after,
.blog-archive .box-text .button:hover:after {
  width: 100%;
}
.sec-home-4 .box-text .is-link:before,
.blog-archive .box-text .button:before {
  content: "\f178";
  font-family: var(--fa6);
  width: 23px;
  height: 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 0;
  font-weight: 400;
  font-size: 12px;
  background: var(--primary);
  opacity: 1;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  margin-right: 10px;
}
.sec-home-4 .is-link:hover,
.blog-archive .box-text .button:hover {
  color: #fff;
}
