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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fff3cd;
}

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

#top-bar {
  height: 36px;
}

#top-bar .nav > li > a {
  font-size: 14px;
  color: #fff;
}

.header-main {
  box-shadow: 3px 3px 5px #c4bfbf;
}

.header-main .nav > li {
  margin: 0 1.25rem;
}

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

.header-main .nav > li.active > a {
  color: #ef2061;
}

.fa-phone-volume:before,
.fa-volume-control-phone:before {
  content: "\f2a0";
}

.shop-page-title {
  display: none;
}

div.cate-menu {
  margin: 0 !important;
  margin-top: 5px !important;
  display: inline-flex;
  gap: 5px;
}

.block-see-all {
  position: absolute;
  top: 5px;
  right: 0;
}

button.slick-next {
  right: -10px;
  z-index: 1;
}

button.slick-prev {
  left: -10px;
  z-index: 1;
}

i.icon-menu {
  color: #0158a8;
}

i.fa {
  font-size: 20px;
}

.bbrum {
  background-color: #eff2f4;
  padding: 15px 0;
}

.bbrum .col {
  padding-bottom: 0;
}

.block-info-item h3 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
}

.wpcf7-spinner {
  display: none;
}

.delaisdt-form .row {
  display: flex;
  gap: 10px;
  flex-flow: unset;
  padding: 0 15px !important;
}

.delaisdt-form .row .col {
  padding: 0;
}

.delaisdt-form .wpcf7-submit {
  position: absolute;
  right: 3px;
  top: 3px;
  margin: 0;
}

#show-popup-tour .col.tour-name {
  display: none !important;
}

#show-popup-tour h3 {
  font-size: 24px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

#show-popup-tour .col {
  padding-bottom: 15px;
}

#show-popup-tour #tour-name {
  font-size: 20px;
  color: #0158a8;
  font-weight: 700;
}

#show-popup-tour select {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  box-shadow: none !important;
}

#show-popup-tour .wpcf7-submit {
  padding: 5px 20px;
  font-size: 18px;
  line-height: 1;
  width: 100%;
  margin-top: 25px;
}

#show-popup-tour #tour-info span {
  display: block;
  font-size: 16px;
  color: #000;
}

#show-popup-tour .tour-price {
  color: #ef2061;
  font-weight: bold;
}

header h1.entry-title {
  padding: 0;
}

span.widget-title {
  background: var(--primary-color);
  display: block;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  margin-top: 15px;
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
}

.widget .is-divider {
  display: none;
}

.recent-blog-posts-li .badge,
.recent-blog-posts-li .badge-inner {
  width: 100px;
  height: 70px;
  border-radius: 5px;
  padding: 0;
}

.recent-blog-posts a {
  color: #000;
  text-transform: none;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Giới hạn tối đa 3 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Hiển thị dấu "..." nếu nội dung bị cắt */
  white-space: normal;
}

.widget ul {
  padding: 0;
}

.block-info-item p {
  margin-bottom: 0;
}

.blog-wrapper.blog-single,
.entry-content,
.entry-header-text-top {
  padding: 0;
}

.entry-divider.is-divider {
  display: none;
}

#post-list .post-item .from_the_blog_excerpt {
  display: none !important;
}

.wpcf7-form .col {
  padding-bottom: 20px;
}

.wpcf7-form .wpcf7-submit {
  border-radius: 0.375rem;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  box-shadow: none !important;
}

td:first-child,
th:first-child {
  padding-left: 20px;
}

#lichtrinh .accordion {
  padding-left: 50px;
  position: relative;
}

#lichtrinh .accordion::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 21px;
  bottom: 0;
  border-left: solid 1px #d3dbe0;
}

#lichtrinh .accordion-title {
  border: 0;
}

#lichtrinh .accordion-title.active {
  border-bottom: 1px solid #dee2e6 !important;
}

#lichtrinh .tourbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

#lichtrinh .accordion-item:first-child .accordion-title::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 100%;
  padding: 20px;
  scale: 0.8;
  background-color: #04509b;
  background-repeat: no-repeat;
  background-position: center;
  top: 7px;
  left: -50px;
  background-image: url(https://hanoitourist.vn/modules/custom/vinno/project/vinno_webdulich/images/first-day.png);
}

#lichtrinh .accordion-item .accordion-title::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  border: solid 1px #d3dbe0;
  background-color: #fff;
  top: 19px;
  left: -37px;
}

#lichtrinh .accordion-item:last-child .accordion-title::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 100%;
  padding: 20px;
  scale: 0.8;
  background-color: #ef2061;
  background-repeat: no-repeat;
  background-position: center;
  top: 7px;
  left: -50px;
  background-image: url(https://hanoitourist.vn/modules/custom/vinno/project/vinno_webdulich/images/flag.png);
}

#lichtrinh .accordion-title {
  padding: 16px 20px;
  background-color: transparent;
  color: #333333;
  font-weight: bold;
  text-transform: unset;
}

#lichtrinh .accordion .toggle {
  top: 50%;
  left: unset;
  right: 0;
  transform: translateY(-50%);
}

#lichtrinh .accordion-inner {
  padding: 16px 20px;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
  line-height: 1.4;
}

.product-small.box {
  border: solid 1px #e3ecf2;
  box-shadow: 0 6px 20px #0000000d;
  border-radius: 10px;
  overflow: hidden;
}

.product-small .box-text {
  padding: 0.5rem;
}

.product-small .title-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-small .product-title {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: bold;
}

.product-small .product-title a {
  color: #333333;
  font-weight: bold;
  transition: 0.3sease;
}

.product-small .tour-item-bot,
.product-small.box-vertical .tour-item-top {
  display: none !important;
}

.product-small.box-vertical .tour-item-bot {
  display: block !important;
}

.product-small.box-vertical .detail-btn,
.product-small.box-vertical .tour-detail-item.hanhtrinh {
  display: none !important;
}

.shop-container .product-small.box-vertical .detail-btn {
  display: flex !important;
}
.shop-container .product-small.box-vertical .tour-detail-item.hanhtrinh {
  display: block !important;
}

.products .box-vertical .box-text {
  font-size: 100%;
}

.block-chuyen-tour {
  border-radius: 10px !important;
}

.block-chuyen-tour input,
.block-chuyen-tour select {
  max-width: 100% !important;
  min-width: unset;
}

.block-chuyen-tour #product_name {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;
}

.block-chuyen-tour [type="submit"]:not(:disabled) {
  background-color: #04509b;
  border-radius: 10px;
  padding-block: 10px;
  color: #fff;
  width: 100%;
  margin: 0;
  min-height: 45px;
}

.post-item .box-image {
  border-radius: 10px;
  overflow: hidden;
}

.post-item .post-title {
  margin-bottom: 5px;
}

.post-item .post-title a {
  font-weight: bold;
  color: black;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
}

.post-item .is-divider {
  display: none !important;
}

.col.post-item {
  padding-bottom: 0;
}

.col.post-item .box-vertical {
  padding-bottom: 1.5em;
}

.footer-item h3 {
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.footer-item ul li,
.footer-item p {
  margin: 0;
  color: #fff;
}

.off-canvas-left.mfp-ready .mfp-content {
  background-color: #fff;
}

.off-canvas:not(.off-canvas-center) .nav-vertical li > a {
  font-size: 16px;
  color: #000;
}

.category-page-row .hide-for-medium {
  display: block !important;
}

@media screen and (min-width: 550px) {
  .product-small.box-vertical .box-image {
    padding: 1rem 0.75rem;
    vertical-align: top;
  }
}

.menu-item-has-block .nav-dropdown {
  background-color: #fff;
  border-radius: 0;
  border-top-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

.menu-item-has-block .nav-dropdown .col {
  padding-bottom: 0;
}

.menu-item-has-block .nav-dropdown .ux-menu-title {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
  transition: 0.1sease;
  color: #04509b;
  min-height: unset;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .custom-nav-mobile {
    display: flex !important;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 99;
    background-color: #ef2061;
    justify-content: center;
  }

  .custom-nav-mobile .nav-right {
    justify-content: center;
    padding: 10px 0;
    gap: 15px;
  }

  .custom-nav-mobile .nav > li > a {
    font-size: 16px;
    color: #fff;
  }
}
