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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --tm-red: #b8241a;
  --tm-red-dark: #8f1711;
  --tm-navy: #072754;
  --tm-gold: #f4b942;
  --tm-cream: #fff7e8;
  --tm-ink: #14213d;
}

body {
  color: var(--tm-ink);
  background: #fff;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

.header-main {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 6px 24px rgba(7, 39, 84, .08);
}

.stuck .header-main {
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 8px 30px rgba(7, 39, 84, .14);
}

.header-main .nav > li > a {
  color: var(--tm-navy);
  font-weight: 800;
  letter-spacing: .02em;
  position: relative;
  transition: color .2s ease;
}

.header-main .nav > li > a::after {
  background: linear-gradient(90deg, var(--tm-red), var(--tm-gold));
  border-radius: 99px;
  bottom: 10px;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform .22s ease;
  width: 95%;
}

.header-main .nav > li > a:hover::after,
.header-main .nav > li.current-menu-item > a::after {
  transform: translateX(-50%) scaleX(1);
}

.header-main .nav > li > a:hover,
.header-main .nav > li.current-menu-item > a {
  color: var(--tm-red);
}

.logo a {
  color: var(--tm-navy);
  font-weight: 900;
  letter-spacing: .02em;
}

.logo img {
  filter: drop-shadow(0 3px 7px rgba(7, 39, 84, .12));
  display: block;
  height: auto;
  max-height: 64px !important;
  object-fit: contain;
  width: auto;
}

.home #main > .section:first-child {
  box-shadow: 0 14px 34px rgba(7, 39, 84, .14);
  position: relative;
  z-index: 2;
}

.home .footer-wrapper {
  display: none;
}

.tm-hero .col-inner {
  border-radius: 28px;
  overflow: hidden;
}

.tm-hero-copy > .col-inner {
  background: linear-gradient(135deg, var(--tm-navy) 0%, #0d427f 100%);
  color: #fff;
  min-height: 100%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-hero-copy > .col-inner h1,
.tm-hero-copy > .col-inner h2,
.tm-hero-copy > .col-inner h3,
.tm-hero-copy > .col-inner p {
  color: #fff;
}

.tm-hero-copy h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.03;
  margin-bottom: 18px;
}

.tm-kicker {
  color: var(--tm-gold) !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tm-hero-poster img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(7, 39, 84, .2);
}

.tm-heading .section-title-main {
  background: linear-gradient(90deg, var(--tm-navy), #1d579c);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(7, 39, 84, .16);
  color: #fff;
  display: block;
  font-size: 21px;
  letter-spacing: .025em;
  padding: 14px 24px;
  position: relative;
  text-align: center;
  width: 100%;
}

.tm-heading .section-title-main::after {
  background: var(--tm-gold);
  border-radius: 99px;
  bottom: -4px;
  content: "";
  height: 4px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 74px;
}

.tm-heading.section-title-container b {
  display: none;
}

.tm-feature .col-inner {
  background: #fff;
  border: 1px solid rgba(7, 39, 84, .08);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(7, 39, 84, .09);
  height: 100%;
  padding: 26px 23px 30px;
  position: relative;
  text-align: center;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.tm-feature .col-inner:hover {
  border-color: rgba(184, 36, 26, .22);
  box-shadow: 0 20px 44px rgba(7, 39, 84, .14);
  transform: translateY(-5px);
}

.tm-feature .tm-feature-icon {
  margin: -8px auto 15px;
  max-width: 96px;
}

.tm-feature .tm-feature-icon .img-inner {
  align-items: center;
  background: linear-gradient(145deg, #fffaf0, #f3f7fc);
  border: 1px solid rgba(244, 185, 66, .38);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px #fff, 0 8px 22px rgba(7, 39, 84, .1);
  display: flex;
  height: 96px;
  justify-content: center;
  padding: 12px;
  width: 96px;
}

.tm-feature p {
  margin-bottom: 0;
  text-align: left;
}

.tm-feature h3 {
  color: var(--tm-navy);
  font-size: 21px;
  margin-bottom: 10px;
}

.tm-card .col-inner {
  background: #fff;
  border: 1px solid rgba(7, 39, 84, .1);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(7, 39, 84, .11);
  height: 100%;
  overflow: hidden;
  padding: 15px 15px 27px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tm-card .col-inner::before {
  background: linear-gradient(90deg, var(--tm-red), var(--tm-gold));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.tm-card .col-inner:hover {
  box-shadow: 0 20px 44px rgba(7, 39, 84, .16);
  transform: translateY(-5px);
}

.tm-card .img-inner {
  align-items: center;
  background: radial-gradient(circle at 50% 42%, #fff 0, #f7f9fc 68%, #edf2f7 100%);
  border: 1px solid #edf1f6;
  border-radius: 17px;
  display: flex;
  height: 250px;
  justify-content: center;
  overflow: hidden;
}

.tm-card .img-inner img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tm-card h3 {
  color: var(--tm-navy);
  font-size: 23px;
  letter-spacing: .025em;
  margin: 18px 0 6px;
}

.tm-card h3 + p {
  color: #44516a;
  min-height: 52px;
  margin-bottom: 7px;
}

.tm-price {
  color: var(--tm-red) !important;
  font-size: 19px;
  font-weight: 900;
  margin: 4px 0 14px;
}

.tm-includes {
  background: var(--tm-cream);
  border: 1px solid rgba(244, 185, 66, .4);
  border-radius: 12px;
  color: #38455c;
  line-height: 1.55;
  margin: 0 4px 17px;
  min-height: 72px;
  padding: 9px 10px;
}

.tm-card .button {
  box-shadow: 0 7px 16px rgba(184, 36, 26, .12);
  letter-spacing: .025em;
  margin: 4px 5px 0;
  min-width: 124px;
}

.button.primary:not(.is-outline),
.tm-booking-button:not(.is-outline) {
  background-color: var(--tm-red) !important;
  border-color: var(--tm-red) !important;
  color: #fff !important;
}

.button.primary:not(.is-outline):hover,
.tm-booking-button:not(.is-outline):hover {
  background-color: var(--tm-red-dark) !important;
  border-color: var(--tm-red-dark) !important;
  color: #fff !important;
}

.tm-card .button.is-outline {
  background: #fff !important;
  border: 2px solid var(--tm-red) !important;
  color: var(--tm-red) !important;
}

.tm-card .button.is-outline:hover {
  background: var(--tm-red) !important;
  color: #fff !important;
}

.tm-price-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  margin: 0;
  min-width: 1080px;
  width: 100%;
}

.tm-price-wrap {
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(7, 39, 84, .14);
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-color: var(--tm-red) #e8edf4;
  scrollbar-width: thin;
}

.tm-price-wrap::-webkit-scrollbar {
  height: 10px;
}

.tm-price-wrap::-webkit-scrollbar-track {
  background: #e8edf4;
  border-radius: 99px;
}

.tm-price-wrap::-webkit-scrollbar-thumb {
  background: var(--tm-red);
  border-radius: 99px;
}

.tm-price-table th,
.tm-price-table td {
  border-bottom: 1px solid #e6ebf1;
  border-right: 1px solid #e6ebf1;
  padding: 17px 14px;
  text-align: center;
  white-space: nowrap;
}

.tm-price-table th:first-child,
.tm-price-table td:first-child {
  border-left: 1px solid #e6ebf1;
}

.tm-price-table thead th {
  background: linear-gradient(135deg, var(--tm-navy), #195ca6);
  color: #fff;
  font-size: 15px;
  letter-spacing: .02em;
}

.tm-price-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.tm-price-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.tm-price-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.tm-price-table tbody td:first-child,
.tm-price-table tbody td:nth-child(2) {
  color: var(--tm-navy);
  font-weight: 800;
}

.tm-price-table tbody td:nth-child(n+3) {
  color: #a91f17;
  font-weight: 700;
}

.tm-price-table tbody tr:hover td {
  background: #fff5e8;
}

.tm-deposit {
  background: #fff7e8;
  border-left: 5px solid var(--tm-gold);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(111, 78, 16, .08);
  color: var(--tm-ink);
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.tm-footer,
.tm-footer h2,
.tm-footer h3,
.tm-footer p,
.tm-footer li,
.tm-footer a {
  color: #fff;
}

.tm-footer {
  background: linear-gradient(135deg, #061d40 0%, #0a356b 100%) !important;
  border-top: 5px solid var(--tm-gold);
  overflow: hidden;
  position: relative;
}

.tm-footer::before {
  background: radial-gradient(circle, rgba(255,255,255,.1) 0, rgba(255,255,255,0) 68%);
  content: "";
  height: 420px;
  position: absolute;
  right: -110px;
  top: -190px;
  width: 420px;
}

.tm-footer .row {
  position: relative;
  z-index: 1;
}

.tm-footer h2,
.tm-footer h3 {
  color: var(--tm-gold) !important;
  letter-spacing: .035em;
}

.tm-footer p {
  margin-bottom: 13px;
}

.tm-footer .col:first-child > .col-inner {
  border-right: 1px solid rgba(255, 255, 255, .15);
}

#dat-xe {
  border-radius: 22px;
}

#dat-xe h2 {
  color: var(--tm-navy);
  text-align: center;
}

#dat-xe input,
#dat-xe textarea,
#dat-xe select {
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  box-shadow: none;
  margin-bottom: 12px;
}

#dat-xe input:focus,
#dat-xe textarea:focus,
#dat-xe select:focus {
  border-color: #2f68a8;
  box-shadow: 0 0 0 3px rgba(47, 104, 168, .12);
}

#dat-xe input[type="submit"] {
  background: var(--tm-red);
  border-radius: 999px;
  display: block;
  margin: 10px auto 0;
  min-width: 190px;
}

#dat-xe .tm-vehicle-field {
  display: none !important;
}

.tm-floating {
  align-items: center;
  border-radius: 999px;
  border: 3px solid #fff !important;
  bottom: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  color: #fff !important;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  position: fixed;
  line-height: 1;
  margin: 0 !important;
  min-height: 56px;
  padding: 0 !important;
  text-decoration: none !important;
  width: 56px;
  z-index: 999;
}

.button.primary.tm-floating.tm-floating-phone {
  animation: tm-phone-ring 2.8s ease-in-out infinite;
  background: #23a455 !important;
  border-color: #fff !important;
  bottom: 24px;
  right: 24px;
}

.button.primary.tm-floating.tm-floating-zalo {
  animation: tm-zalo-pulse 2.2s ease-in-out infinite;
  background: #0068ff !important;
  border-color: #fff !important;
  bottom: 94px;
  font-size: 13px;
  right: 24px;
}

@keyframes tm-phone-ring {
  0%, 72%, 100% { transform: rotate(0) scale(1); }
  76% { transform: rotate(-13deg) scale(1.06); }
  80% { transform: rotate(13deg) scale(1.08); }
  84% { transform: rotate(-10deg) scale(1.06); }
  88% { transform: rotate(8deg) scale(1.04); }
  92% { transform: rotate(0) scale(1); }
}

@keyframes tm-zalo-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 104, 255, .28), 0 0 0 0 rgba(0, 104, 255, .35); }
  50% { box-shadow: 0 12px 32px rgba(0, 104, 255, .36), 0 0 0 12px rgba(0, 104, 255, 0); }
}


@media only screen and (max-width: 48em) {
  html {
    scroll-padding-top: 128px;
  }

  #masthead.header-main {
    height: auto !important;
    min-height: 0;
    padding: 7px 0 0;
  }

  #masthead .header-inner {
    align-items: center;
    flex-wrap: wrap;
    height: auto !important;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  #masthead #logo {
    display: flex;
    flex-basis: 100%;
    justify-content: center;
    margin: 0;
    max-width: none;
    order: 1;
    width: 100%;
  }

  #masthead #logo a {
    display: flex;
    justify-content: center;
  }

  #masthead #logo img {
    height: auto;
    max-height: 58px !important;
    max-width: 178px;
    width: auto;
  }

  #masthead .show-for-medium.flex-left,
  #masthead .show-for-medium.flex-right {
    display: none !important;
  }

  #masthead .hide-for-medium.flex-left {
    border-top: 1px solid #edf1f5;
    display: flex !important;
    flex-basis: 100%;
    justify-content: center;
    order: 2;
    width: 100%;
  }

  #masthead .header-nav-main {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
  }

  #masthead .header-nav-main > li {
    margin: 0;
  }

  #masthead .header-nav-main > li > a {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.25;
    min-height: 42px;
    padding: 13px 7px;
    white-space: nowrap;
  }

  #masthead .header-nav-main > li > a::after {
    bottom: 5px;
    height: 2px;
    width: 54%;
  }

  #masthead #menu-item-22 {
    display: none;
  }

  #main-menu .sidebar-menu {
    background: #fff;
    padding-top: 24px;
  }

  #main-menu .nav-sidebar {
    font-size: 0;
  }

  #main-menu .header-search-form,
  #main-menu .header-newsletter-item,
  #main-menu .header-social-icons {
    display: none !important;
  }

  #main-menu .nav-sidebar > li.menu-item {
    border-bottom: 1px solid #edf1f5;
    font-size: 14px;
  }

  #main-menu .nav-sidebar > li.menu-item > a {
    color: var(--tm-navy);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .025em;
    padding: 17px 22px;
  }

  #main-menu .nav-sidebar > li.menu-item.current-menu-item > a,
  #main-menu .nav-sidebar > li.menu-item > a:hover {
    background: #fff7f3;
    color: var(--tm-red);
    padding-left: 29px;
  }

  .tm-hero-copy > .col-inner {
    padding: 32px 24px;
  }

  .tm-hero-copy h1 {
    font-size: 40px;
  }

  .tm-card .img-inner {
    height: 220px;
  }

  .tm-heading .section-title-main {
    font-size: 17px;
    line-height: 1.35;
    padding: 13px 15px;
  }

  .tm-feature .col-inner,
  .tm-card .col-inner {
    border-radius: 18px;
  }

  .tm-card h3 + p {
    min-height: 0;
  }

  .tm-footer .col:first-child > .col-inner {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    border-right: 0;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .tm-price-table {
    font-size: 14px;
    min-width: 980px;
  }

  .tm-price-table th,
  .tm-price-table td {
    padding: 14px 12px;
  }

  .button.primary.tm-floating.tm-floating-phone,
  .button.primary.tm-floating.tm-floating-zalo {
    border-width: 2px !important;
    height: 48px;
    min-height: 48px;
    right: 9px;
    width: 48px;
  }

  .button.primary.tm-floating.tm-floating-phone {
    bottom: 14px;
    font-size: 20px;
  }

  .button.primary.tm-floating.tm-floating-zalo {
    bottom: 72px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 360px) {
  #masthead .header-nav-main > li > a {
    font-size: 11px;
    padding-left: 4px;
    padding-right: 4px;
  }
}
