@charset "UTF-8";
/* Lịch vạn niên - bố cục 24h, palette xanh ThienTue */

.tt-lichwrapper {
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #c5e8d8;
  border-radius: 2px;
  overflow: hidden;
}

.tt-lich-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: #006e33;
  color: #fff;
  padding: 10px 14px;
  border-bottom: 1px solid #005a2a;
}

.tt-lich-banner-title {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tt-lich-quick-link {
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
}

.tt-lich-quick-link:hover,
.tt-lich-quick-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.tt-lich-body {
  background: #fff;
  padding: 0;
}

.tt-lich-day-panel {
  position: relative;
  padding: 16px 48px 12px;
  border-bottom: 1px solid #e8e8e8;
}

.tt-lich-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #006e33;
  line-height: 1;
  z-index: 2;
}

.tt-lich-nav-prev {
  left: 8px;
}

.tt-lich-nav-next {
  right: 8px;
}

.tt-lich-dual--24h {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
}

.tt-lich-dual--24h .tt-lich-panel {
  flex: 1 1 50%;
  text-align: center;
  padding: 12px 8px 16px;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.tt-lich-dual--24h .tt-lich-panel-duong {
  border-right: 1px solid #e8e8e8;
}

.tt-lich-panel-label {
  margin: 0 0 4px;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.tt-lich-big-day {
  margin: 0;
  font-size: 72px;
  font-weight: bold;
  line-height: 1;
  color: #006e33;
}

.tt-lich-big-day-am {
  color: #006e33;
}

.tt-lich-panel-sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: #333;
}

.tt-lich-can-chi-line {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: bold;
  color: #c62828;
}

.tt-lich-meta--24h {
  margin: 0;
  padding: 12px 16px 14px;
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.tt-lich-meta--24h p {
  margin: 0 0 6px;
}

.tt-lich-meta--24h p:last-child {
  margin-bottom: 0;
}

.tt-lich-meta-label {
  color: #006e33;
  font-weight: bold;
}

.tt-lich-month-section {
  padding: 0;
}

.tt-lich-month-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #006e33;
  color: #fff;
}

.tt-lich-toolbar-label {
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.tt-lich-month-toolbar-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tt-lich-select {
  width: auto;
  min-width: 110px;
  height: 34px;
  font-size: 13px;
}

.tt-lich-view-btn {
  background: #004d24;
  border-color: #003d1c;
  font-weight: bold;
  min-width: 64px;
}

.tt-lich-view-btn:hover {
  background: #003d1c;
  border-color: #002a13;
}

.tt-lich-calendar-grid .month-calendar {
  max-width: 100%;
  margin: 0;
  border: none;
  width: 100%;
}

.tt-lichwrapper .month-calendar .div-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
  border-left: none;
}

.tt-lichwrapper .month-calendar .div-row::after {
  display: none;
}

.tt-lich-calendar-grid .month-calendar .head-div {
  display: none;
}

.tt-lich-calendar-grid .month-calendar .div-row.div-day-of-week .div-col.day-of-week {
  background: #f0f0f0;
  color: #555;
  font-weight: normal;
  height: 36px;
  padding-top: 10px;
  border-color: #ddd;
}

.tt-lichwrapper .month-calendar.mode-van-nien .div-row .div-col,
.tt-lichwrapper .month-calendar .div-row .div-col {
  float: none;
  flex: 0 0 14.285714%;
  max-width: 14.285714%;
  box-sizing: border-box;
  min-height: 92px;
  height: auto;
  padding: 6px 8px 8px;
  border-color: #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #222;
  position: relative;
  overflow: hidden;
}

.tt-lichwrapper .month-calendar .div-row.div-day-of-week .div-col.day-of-week {
  min-height: 36px;
  height: 36px;
  padding-top: 10px;
  background: #6bd6af;
  color: #006e33;
  font-weight: bold;
  border-color: #00af69;
}

.tt-lichwrapper .month-calendar .div-row .div-col .cell-solar {
  float: left;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.1;
}

.tt-lichwrapper .month-calendar .div-row .div-col .cell-lunar,
.tt-lichwrapper .month-calendar .div-row .div-col .div-lunar-date {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: auto;
  width: auto;
  max-width: 55%;
  text-align: right;
  font-size: 11px;
  color: #888;
  margin: 0;
}

.tt-lichwrapper .month-calendar .div-row .div-col .cell-canchi {
  clear: both;
  position: relative;
  margin-top: 26px;
  padding-top: 0;
  font-size: 10px;
  color: #666;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-lichwrapper .month-calendar .div-row .div-col .cell-holiday {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.2;
  color: #c62828;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.4em;
}

.tt-lichwrapper .month-calendar .div-row .div-col .cell-hoang-dao-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00af69;
  z-index: 1;
}

.tt-lichwrapper .month-calendar.mode-van-nien .div-row .div-col {
  min-height: 100px;
}

.tt-lichwrapper .month-calendar .div-row .div-col.other-month .cell-solar,
.tt-lichwrapper .month-calendar .div-row .div-col.other-month .cell-lunar {
  opacity: 0.35;
}

.tt-month-block {
  margin-bottom: 28px;
  padding: 0;
  background: #fff;
  border: 1px solid #c5e8d8;
  border-radius: 2px;
  overflow: hidden;
}

.tt-month-block .tt-month-title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  padding: 10px 12px;
  background: #006e33;
  border-bottom: none;
}

.tt-month-block .month-calendar .head-div {
  background: #008f47;
  color: #fff;
  text-align: center;
  padding: 8px;
}

.tt-month-block .month-calendar .head-div .head-title {
  color: #fff;
}

.tt-month-block .month-calendar .head-div a {
  color: #fff;
}

@media (max-width: 767px) {
  .tt-lich-big-day {
    font-size: 56px;
  }

  .tt-lich-day-panel {
    padding-left: 36px;
    padding-right: 36px;
  }

  .tt-lich-nav {
    font-size: 28px;
  }

  .tt-lichwrapper .month-calendar .div-row .div-col {
    height: 62px;
    padding: 4px 5px;
  }

  .tt-lichwrapper .month-calendar .div-row .div-col .cell-solar {
    font-size: 17px;
  }

  .tt-lichwrapper .month-calendar .div-row .div-col .cell-canchi {
    display: none;
  }

  .tt-lichwrapper .month-calendar .div-row .div-col .cell-holiday {
    display: none;
  }
}
