/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* .button,
button,
fieldset,
select,
textarea {
    margin-bottom: 0;
} */

blockquote,
dl,
figure,
form,
ol,
p,
pre,
ul {
  margin-bottom: 0;
}

.header-main ul.sub-menu.nav-dropdown.nav-dropdown-default {
  margin-left: 15px !important;
  min-width: 250px;
}

p.woocommerce-result-count {
  display: none;
}

.post-item .box-blog-post .box-image {
  border-radius: 5px;
}

/* .col,
.columns,
.gallery-item {
  margin: 0;
  padding: 0 15px 15px;
  position: relative;
  width: 100%;
} */

/* Fix TOC  */
#ftwp-trigger {
  display: none !important;
}

.box-text {
  padding-bottom: 0.7em;
}

/* Fix float contact button */
.fab-container {
  position: fixed;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 9999;
}

.nav-left.header-nav-main {
  justify-content: center;
}

/*  */
.box.box-category.box-badge .box-text {
  /* left: 50%;
  transform: translateX(-50%); */
  bottom: 10px;
  font-size: 0.8rem;
  padding: 5px 15px;
  /* width: auto; */
  color: #000;
}

/* .vien1 {
  border-radius: 10px;
} */

.next-prev-thumbs li.has-dropdown:hover > .nav-dropdown,
.no-js li.has-dropdown:hover > .nav-dropdown,
li.current-dropdown > .nav-dropdown {
  left: 0px;
  max-height: inherit;
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-has-border .nav-dropdown {
  border: 0px solid #ddd;
}

.nav-dropdown-default {
  padding: 5px;
}

.nav-dropdown {
  background-color: #fff;
  color: #777;
  display: table;
  left: -99999px;
  margin: 0;
  max-height: 0;
  min-width: 210px;
  opacity: 0;
  padding: 0px 0;
  position: absolute;
  text-align: left;
  transition:
    opacity 0.25s,
    visibility 0.25s;
  visibility: hidden;
  z-index: 9;
}

.nav-column li > a,
.nav-dropdown > li > a {
  display: block;
  line-height: 1.3;
  padding: 8px 10px;
  width: auto;
}

.nav-dropdown-default .nav-column li > a,
.nav-dropdown.nav-dropdown-default > li > a {
  border-bottom: 1px solid #ececec;
  margin: 0 10px;
  padding-left: 0;
  padding-right: 0;
  font-size: 15px;
}

.nav-column > li > a,
.nav-dropdown > li > a,
.nav-vertical-fly-out > li > a,
.nav > li > a {
  color: hsl(0deg 0% 0% / 85%);
  transition: all 0.2s;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  background-color: #eeeeee;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  color: #333;
  font-size: 0.97em;
  height: 2.907em;
  max-width: 100%;
  padding: 0 0.75em;
  transition:
    color 0.3s,
    border 0.3s,
    background 0.3s,
    opacity 0.3s;
  vertical-align: middle;
  width: 100%;
  border-radius: 6px;
}

.primary,
input[type="submit"],
input[type="submit"].button {
  background-color: #dd3333;
  border-radius: 6px;
}

.vienkhung1 {
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* .box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6 {
  line-height: 1.3;
  margin-bottom: 0.1em;
  margin-top: 0.1em;
  font-weight: bold;
} */

.dark .nav-vertical li li.menu-item-has-children > a,
.dark .nav-vertical-fly-out > li > a,
.dark .nav-vertical > li > ul li a,
.dark .nav > li.html,
.dark .nav > li > a,
.nav-dark .is-outline,
.nav-dark .nav > li > a,
.nav-dark .nav > li > button,
.nav-dropdown.dark .nav-column > li > a,
.nav-dropdown.dark > li > a {
  color: white;
}

/* Custom sidebar header */
.post-sidebar .widget-title,
#shop-sidebar .widget-title {
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #e04747;
  width: 100%;
  display: block;
  color: #fff;
}

ul.product-categories,
.textwidget.custom-html-widget {
  border: 1px solid #ddd;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 10px;
}

ul.product-categories > li {
  border-bottom: 1px solid #ddd;
}

.post-sidebar .widget .is-divider,
#shop-sidebar .widget .is-divider {
  display: none;
}

.ux-menu-title {
  font-size: 1em;
}

.has-dropdown .icon-angle-down {
  display: none;
}

.box-blog-post .is-divider {
  display: none;
}

.wpcf7-spinner {
  display: none;
}

/*************** CSS FOR BAIVIETLIENQUAN ***************/
.related-box .related-head {
  font-weight: 700;
  display: block;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 5px 5px;
  /* font-size: 19px; */
  color: white;
  background: #e04747;
}

.related-box ul li {
  margin-bottom: 3px;
}

.related-box ul li a {
  font-weight: 700;
  font-size: 16px;
  /*color: #2a9e2f;*/
}

.related-box ul li a:hover {
  text-decoration: underline;
}

.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;
  border-radius: 6px;
}

ul.row.related-post li {
  list-style: none;
}

.related-title {
  line-height: 1.3 !important;
  margin-top: 10px !important;
  color: #000;
}

.related-title a {
  color: #000;
  font-weight: 600;
}

.center-col {
  display: flex;
  align-items: center;
}
/*************** END CSS FOR BAIVIETLIENQUAN. ***************/

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/

  input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    margin-right: 0;
  }

  #footer a.button.primary {
    padding: 0 5px;
  }
}

@media all and (max-width: 650px) {
  ul.box1 a {
    display: none;
  }

  .title-primary h3 {
    font-size: 15px !important;
  }
}
