/*!
Theme Name: hdo_tuandatsteel
Theme URI: http://huongda.online/
Author: Hương Đá Online
Author URI: https://huongda.online
Description: Made by Hương Đá Online
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hdo_tuandatsteel
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

HDO - Nội thất Thùy Dương is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
*/
body {
  font-family: Montserrat;
}

.drawer {
  display: none;
}

.drawer.on {
  display: block;
}

.drawer .backdrop {
  background-color: #0000005e;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

.site {
  padding-top: 135px;
}

/* HEADER */
#masthead {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  z-index: 99;
}

@media screen and (max-width: 500px) {
  .banner-text {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 300px) {
  .banner-text {
    font-size: 12px !important;
  }
}


#site-navigation .menu {
  width: 100%;
  display: flex;
  justify-content: center;
}

#site-navigation .menu ul {
  display: flex;
  justify-content: start;
  margin: 0;
  list-style: none;
}

#site-navigation .menu ul li,
#sub-menu ul li{
  width: max-content;
  padding: 10px;
  margin-right: 30px;
}

#site-navigation .menu ul li a,
#sub-menu ul li a{
  color: #f5f5f5e0;
  text-decoration: none !important;
}

#site-navigation .menu ul li:hover a, #site-navigation .menu ul li.active a{
  color: white;
}

#site-navigation {
  width: 80%;
}
@media screen and (max-width: 1024px) {
  #site-navigation {
    width: 90%;
  }
  #search {
    width: 10%;
  }
}

#search {
  width: 20%;
}

.search-mobile {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(137deg) brightness(103%) contrast(101%);
}

#search input {
  padding: 7px 12px;
}

#search img {
  right: 10px;
  transform: translateY(-50%);
}

@media screen and (max-width: 1024px) { 
  #search img {
    right: unset;
    transform: unset;
  }
}

.icon-mobile {
  font-size: 20px;
}

#mobile-menu {
  width: 60vw;
  height: 100vh;
  z-index: 999;
  top: 0;
  right: 0;
  background-color: #192F85;
  position: fixed;
}

@media screen and (min-width: 600px) {
  #mobile-menu {
    width: 45vw;
  }
}

#mobile-menu #site-navigation {
  width: 100%;
}

#mobile-menu #site-navigation .menu {
  height: 100%;
}

#mobile-menu #site-navigation .menu ul{
  flex-direction: column;
}

#sub-menu {
  background: #fad282;
}
#sub-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fad282;
}
#sub-menu > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #00000052;
}
#sub-menu ul li{
  padding: 0;
  margin: 0;
}
#sub-menu ul li a{
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: black;
}
#sub-menu > ul > li{
  position: relative;
  border-left: 1px solid #00000052;
}
#sub-menu > ul > li.menu-item-has-children > a::after{
  content: '';
  display: inline-block;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>');
  background-repeat: no-repeat;
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}
#sub-menu > ul > li:last-child{
  border-right: 1px solid #00000052;
}
#sub-menu > ul ul{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: max-content;
  border-radius: 4px;
  box-shadow: 0 0 3px #00000052;
}
#sub-menu > ul > li:hover > ul{
  display: block;
}
#sub-menu > ul ul > li > a {
  border-top: 1px solid #00000052;
}
#sub-menu > ul ul > li:first-child a{
  border-top: none;
}
#sub-menu > ul ul li {
  width: 100%;
}

/* HEADER */

/* BREADCRUMB */
.breadcrumb {
  margin-bottom: 65px;
}
.breadcrumb-item {
  font-style: italic;
}

.breadcrumb .breadcrumb-item:last-child {
  font-weight: bold;
}

.breadcrumb-divider {
  --bs-breadcrumb-divider: '>';
}
/* BREADCRUMB */

/* PAGE */
.page-wrapper {
  padding-top: 65px;
  padding-bottom: 65px;
}
/* PAGE */

/* PAGINATION */
.list-paging>div,
.list-paging>.page-numbers {
  display: block;
  border-radius: 6px;
  background: #ECECEC;
  margin-right: 4px;
  padding: 4px 8px;
  min-width: 30px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #212529;
}

.list-paging>.page-numbers.next,
.list-paging>.page-numbers.prev{
  padding: 4px !important;
}

.list-paging>div:hover, .list-paging>div.active,.list-paging>div:hover a, .list-paging>div.active a,
.list-paging>.page-numbers:hover,.list-paging>.page-numbers.current{
  background: #0F208A;
  color: white !important;
}
/* PAGINATION */

/* LIST */
@media screen and (max-width: 768px) {
  .list {
    margin-bottom: 18px;
  }
  #sub-menu {
    display: none;
  }
  #site-main-logo > div {
    width: 96px !important;
    height: 96px !important;
  }
}

.list-title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #C0C0C0;
  margin-bottom: 30px;
  padding-bottom: 8px;
}

.list-content>.row>div {
  padding-right: 0;
  padding-left: 0;
}

@media screen and (max-width: 992px) and (min-width: 575px) {
  .list-content>.row>div:nth-child(odd) {
    padding-left: 0px;
    padding-right: 12px;
  }
  .list-content>.row>div:nth-child(even) {
    padding-right: 0px;
    padding-left: 12px;
  }
}

/* LIST */

/* SIDEBAR */
.sidebar {
  padding: 15px;
}
.sidebar-title {
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #C0C0C0;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
}

.sidebar-content-item {
  height: 81px;
  overflow: hidden;
  margin-bottom: 20px;
}

@media screen and (max-width: 992px) {
  .sidebar-content-item {
    height: unset;
    overflow: unset;
  }
}

.sidebar-content-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 71px;
}

.sidebar-content-text {
  font-size: 13px;
}
.sidebar-content-text p {
  margin-bottom: 3px;
}
.sidebar-content-text p:first-child {
  height: 55px;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}

@media screen and (max-width: 1400px) and (min-width: 1200px) {
  .sidebar-content-text p:first-child {
    -webkit-line-clamp: 2;
    height: 45px;
  }
}

.sidebar-content-text p:last-child {
  color: #8C8C8C;
}

.sidebar-action {
  font-size: 15px;
  color: #0F208A;
  margin-top: 13px;
}
.sidebar-action span {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.sidebar-action:hover span {
  border-bottom: 1px solid #0F208A;
}
/* SIDEBAR */

/* CARD */
.card {
  margin-bottom: 20px;
}
.card-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 200px;
}

.card-body .d-flex {
  padding: 12px;
  padding-top: 0px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  height: 49px;
  margin-bottom: 5px;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-text {
  font-size: 13px;
  height: 73px;
  margin-bottom: 5px;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.card-action {
  padding-left: 12px;
  font-size: 15px;
  color: #0F208A;
}

.card-action span {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.card-action:hover span {
  border-bottom: 1px solid #0F208A;
}
/* CARD */

/* FOOTER */
footer {
  background: #ECECEC;
  padding-top: 50px;
  padding-bottom: 50px;
}

footer img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.social-contact {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

footer p {
  color: #4B4B4B;
  margin: 0;
  font-size: 15px;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
}

.footer-sub-title {
  margin-bottom: 10px;
}

.footer-text-bold {
  font-weight: 700;
}

#float-buttons {
  position: fixed;
  right: 30px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#float-buttons a{
  display: block;
  width: 70px;
  height: 70px;
}
#float-buttons a svg{
  width: 100%;
  height: 100%;
}
/* FOOTER */

/* COMMON CAROUSEL */
.page-section--slider{
  max-width: 1440px;
}
.page-section--slider .item{
  height: 100%;
  display: block;
}
.page-section--slider .item img{
  height: 100%;
  object-fit: cover;
}
.page-section--slider .owl-dots{
  text-align: center;
  padding: 17px 0;
}
.page-section--slider .owl-dot{
  background-color: #e1e1e1 !important;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 3px;
}
.page-section--slider .owl-dot.active{
  background: #0f208a !important;
}
@media screen and (max-width: 768px) {
  .page-section--slider .owl-item{
      /*height: 360px;*/
      height: auto;
  }
}
@media screen and (max-width: 500px) {
  .page-section--slider .owl-item{
      /*height: 220px;*/
      height: auto;
  }
}
/* COMMON CAROUSEL */

/* PRODUCT CARD */
.product-item {
  border-radius: 5px;
  background: #F0F0F3;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  min-height: 320px;
  height: 100%;
  padding: 10px;
  position: relative;
  margin-bottom: 24px;
}

.product-item-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 60px;
  text-align: center;
  border-radius: 4px;
  padding: 4px 12px;
  background-color: #FF003D;
  color: white;
}

.product-item-image {
  height: 130px;
  margin-bottom: 15px;
  border-radius: 4px;
  /* margin: -10px -10px 0 -10px; */
  position: relative;
}

.product-item-image img {
  /* border-radius: 5px 5px 0 0; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .product-item-image {
    height: 170px;
  }
}

.product-item-title {
  height: 70px;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-item-description {
  margin: 8px 0px;
}

.product-item-description>span:first-child {
  color: #4B4B4B;
  font-size: 14px;
}

.product-item-description>span:last-child {
  color: #0F208A;
  font-size: 14px;
}

.product-item-price .price {
  color: #FF003D;
}

.product-item-price .discount {
  color: #4B4B4B;
  text-decoration: line-through;
  font-size: 14px;
}
/* PRODUCT CARD */
.page-section-tklt{
  margin-bottom: 54px;
}
#tklt-tabs button{
  color: #4B4B4B;
}
#tklt-tabs button.active{
  color: #233AC5;
  font-weight: bold;
}
.tklt-container {
  font-size: 13px;
  border-color: #233AC5 !important;
}
.tklt-container .tklt-inputs div:first-child label.mx-3 {
  margin-left: 0 !important;
}
.tklt-btn-kq{
  border-color: #233AC5 !important;
  color: #233AC5 !important;
}
.tklt-btn-kq:hover{
  background-color: #233AC5 !important;
  color: white !important;
}
.tklt-inp-kq{
  background-color: #233AC5 !important;
}
.tklt-inp-ti-trong{
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}
.tklt-inp-ti-trong:checked{
  background-color: #233AC5 !important;
  border-color: #233AC5 !important;
}