@font-face {
  font-family: 'Utm_Azuki';
  src: url(/assets/font/UTM_Azuki.ttf);
}

@font-face {
  src: url(/assets/font/UTM\ ThuPhap\ Thien\ An.ttf);
  font-family: 'ThienAn';
}

* {
  -webkit-print-color-adjust: exact !important;
  /* Chrome, Safari 6 – 15.3, Edge */
  color-adjust: exact !important;
  /* Firefox 48 – 96 */
  print-color-adjust: exact !important;
  /* Firefox 97+, Safari 15.4+ */
}

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

body {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main {
  width: 100%;
}

.header {
  height: 60px;
  background: url("/assets/images/bg-hoavan.jpg") center /44px repeat;
  filter: grayscale(30%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .3);
}

.header__container {
  justify-content: flex-start;
  position: relative;
  height: 100%;
  overflow: visible;


  /* overflow: hidden; */
}

.header__container__heading {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px black, 1px 0 black;
  color: yellow;
  margin: auto 0;
  font-size: 35px;
  font-family: 'Utm_Azuki';
}

.header__wrapper__fire {
  display: none;
  background: url(/assets/images/fire.png) center/ cover no-repeat;
  width: 187px;
  height: 178px;
  position: absolute;
  z-index: 1000;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.header__container__image-rotate {
  display: block;
  transform-origin: center center;
  background: #000;
  animation: rotate linear 30s infinite;
  border-radius: 100px;
  height: 100px;
  width: 100px;
  position: absolute;
  top: 66px;
  left: 40px;
}

.header__container__image-rotate img {
  height: 100px;
  width: 100px;
}

.header__container__bamboo {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100px;
  background: url("/assets/images/bamboo.png") center /cover no-repeat;
}

/*----------------------------- Main-------------------------------- */
.main {
  background: rgba(0, 0, 0, .02);
  width: 100%;
  background: url("/assets/images/body-bg.png") center /100px repeat;
  min-height: calc(100vh - 189px);

}

.main__tree-right,
.main__tree-left {
  position: absolute;
  left: 30px;
  top: 0px;
  width: 200px;
  height: 420px;
  background: url(/assets/images/cay-dao.png) center / cover no-repeat;
  /* background-color: red */
}

.main__tree-left {
  /* background: url(/assets/images/tre-1.png) center -20px / 670px no-repeat; */
  background: url(/assets/images/trr.png) center / 350px no-repeat;
}

.main__tree-right {
  left: unset;
  right: 30px;
  transform: scaleX(-1);
}

/* .pd-top-bot {
  padding: 30px 0;
} */

.main__wrapper {
  position: relative;
  padding-top: 18px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* min-height: calc(100vh - 237px); */
}


/*----------------------------------- Form --------------------------- */
table,
th,
td {
  border-collapse: collapse;
  border-spacing: 0;
}

.main__form-container {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  max-width: 100%;
  /* min-height: 450px; */
  padding: 40px 30px 50px;
  background: url("/assets/images/page-roll.png") center / cover no-repeat;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .6), 0 -2px 8px rgba(0, 0, 0, .4);
  /* overflow: hidden; */
}

#form-horoscope {
  color: rgba(0, 0, 0, .9);
}

#form-horoscope sup {
  color: red;
}

#form-table>tbody>tr>td:nth-child(2) {
  padding-left: 30px;
}

.main__table-right td {
  height: 30px;
}

.main__table-right>tbody>tr>td:nth-child(2) {
  padding-left: 10px;
}

input[type='text'],
input[type='number'],
select {
  padding: 0 4px;
  border: 1px solid rgba(0, 0, 0, .3);
  border-radius: 4px;
  background: #fff;
  height: 30px;
  outline: none;
}

input[type='text']:focus,
input[type='number']:focus,
select:focus {
  color: #495057;
  background-color: #fff;
  border: 1px solid var(--color-brown);
  outline: 0;
  box-shadow: 0 0 4px 2px var(--color-gray);
}

input[type='radio'] {
  display: none;
}

input[type='checkbox'] {
  width: 14px;
  height: 14px;
}

#name {
  width: 204px;
}

#birth-day {
  min-width: 50px;
}

#birth-year {
  max-width: 62px;
}

input[type='radio']+label {
  position: relative;
  padding-left: 22px;
}

.main__table-left td {
  padding-bottom: 14px;
}

.main__table-left .td-name {
  padding-bottom: 5px;
}

#messsage-name-err {
  padding: 5px 0 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-red);
  visibility: hidden;
}

#birth-hour-AL {}

td label:nth-child(4) {
  margin-left: 14px;
}

input[type='radio']+label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--color-brown);
  background-color: var(--color-white);
  cursor: pointer;
}

input[type='radio']:checked+label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: var(--color-brown);
  border-radius: 50%;

}

input[type='radio']:checked+label::before {
  box-shadow: 1px 1px 4px var(--color-brown), -1px -1px 4px var(--color-brown);
}

.textNamHan {
  width: 68px;
}

.main__text-title {
  color: rgba(0, 0, 0, .8);
  font-weight: 500;
  padding-right: 6px;
}

select {
  color: rgba(0, 0, 0, .8);
}

.main__form-footer {
  margin: auto;
  /* margin-top: 20px; */
  width: 80%;
  padding: 5px 18px;
  border: 1px solid var(--color-gray);
  border-radius: 10px;
}

.main__table-footer {
  width: 100%;
}

.main__table-footer td {
  height: 30px;
  width: calc(100% / 3);
}

.main__table-footer td>div {
  padding: 6px 20px 6px 20px;
}


/*----------------------- End:Form-------------- */

.btn.opacity-5 {
  cursor: not-allowed;
}

#btn-get-result {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.btn-download {
  position: relative;
}

.main__bg-right {
  position: absolute;
  top: -18px;
  right: -32px;
  height: 433px;
  width: 32px;
  background: url("/assets/images/page-edge.png") center / cover no-repeat;
}

.main__bg-left {
  position: absolute;
  top: -18px;
  left: -32px;
  height: 433px;
  width: 32px;
  background: url("/assets/images/page-edge.png") center / cover no-repeat;
  transform: rotate(180deg);
}

.main__title-roll {
  position: absolute;
  /* top: -10px; */
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 36px;
  background: url("/assets/images/title-roll-background.png") center / cover no-repeat;
  font-family: 'Utm_Azuki';
  font-size: 28px;
  line-height: 36px;
  text-align: center;
  color: var(--color-white);
}

.icon-download {
  display: block;
  width: 36px;
  height: 24px;
  margin-right: -4px;
  margin-left: -8px;
  background: url("/assets/images/tool_laso.png");
  background-position-x: 78px;
  background-position-y: -4px;
  transform: scale(.5);
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(135deg) brightness(101%) contrast(103%);
}

.icon-print {
  display: inline-block;
  width: 40px;
  height: 36px;
  margin-right: -4px;
  margin-left: -8px;
  background: url("/assets/images/tool_laso.png");
  background-position-x: 126px;
  background-position-y: -4px;
  transform: scale(.5);
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(135deg) brightness(101%) contrast(103%);
}

#btn-print {
  margin-left: 20px;
}

.main__btn-contaniner {
  width: 100%;

}

.main__btn-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 15px;
  max-width: 900px;
  width: 100%;
  padding: 0px 20px;
}

.main__btn-desc {
  margin-top: 20px;
  margin-bottom: 20px;
}

.main__btn-desc__color>ul {
  display: flex;
  flex-direction: row;
}

.main__btn-desc__color>ul>li {
  display: flex;
  flex-direction: row;
  align-items: end;
}

.main__btn-desc__color li:nth-child(1) .main__btn-desc__square {
  background-color: var(--color-kim);
}

.main__btn-desc__color li:nth-child(2) .main__btn-desc__square {
  background-color: var(--color-moc);
}

.main__btn-desc__color li:nth-child(3) .main__btn-desc__square {
  background-color: var(--color-thuy);
}

.main__btn-desc__color li:nth-child(4) .main__btn-desc__square {
  background-color: var(--color-hoa);
}

.main__btn-desc__color li:nth-child(5) .main__btn-desc__square {
  background-color: var(--color-tho);
}

.main__btn-desc__square {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, .3);
  border-radius: 4px;
  margin-right: 2px;
  margin-left: 10px;
}

.main__btn-desc__color li>div:nth-child(2) {
  font-size: 13px;
  color: rgba(0, 0, 0, .7);
}

.main__text-note {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 300;
  text-align: center;
}

.show-text-mobile {
  display: none !important;
}

/*------------------------- Footer------------------------ */
.footer {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: white;
  background: url("/assets/images/bg-hoavan.jpg") center / 44px repeat;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, .3);
  filter: grayscale(30%);
}

.footer__wrapper {
  display: flex;
  justify-content: space-around;
  position: relative;
  text-align: center;
}

.footer__wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 0;
  transform: translate(-50%, -50%);
  width: 0px;
  border-left: 2px solid #ce1717;
  border-right: 1px solid #a22020;
  height: calc(100% - 20px);
}

.footer__text-heading {
  line-height: 1.6;
  font-size: 17px !important;
  font-weight: 300;
  width: 50%;
}

.footer__text-share {
  width: 100%s;
}

.footer__text-heading span:nth-child(1) {
  display: block;
}

.footer__text-heading span:nth-child(2) {
  display: block;
}

.footer-phone {
  padding-right: 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: yellow;
}

.footer__text__above {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-phone:hover {
  opacity: .8;
}

.footer__social {
  /* margin-top: 2px; */
  width: 50%;

}

.footer__text-share span:nth-child(1) {
  display: block;
}

.footer__text-share span:nth-child(2) {
  display: block;
}

.footer__text-share {
  font-size: 17px;
  margin-top: 4px;
  font-weight: 200;
}

.footer__wrapper-icon {
  /* margin-top: 10px; */
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer__social a {
  transition: all 0.2s;
}

.footer__social a:hover {
  opacity: .8;
}

.footer__fanpage {
  position: relative;
  margin-left: 10px;
  width: 90px;
  height: 38px;
  overflow: hidden;
  animation: scaleIcon1 ease-in-out 2s infinite;
}

.footer__fanpage>img {
  position: absolute;
  top: -27px;
  left: 0;
}

.footer__facebook {
  animation: scaleIcon2 ease-in-out 2s infinite;
}

.footer__facebook svg {
  margin-left: 10px;
  fill: #0e93e3;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  background: transparent;
}

.footer__youtube {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  overflow: hidden;
  animation: scaleIcon3 ease-in-out 2s infinite;
}

.footer__youtube svg {
  transform-origin: top left;
  transform: scale(0.12);
}

.btn-move-to-top {
  position: fixed;
  z-index: 100;
  bottom: 40px;
  right: 20px;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, .16);
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(255, 255, 255, .4);
  cursor: pointer;
  opacity: 0;
  transition: all linear .2s;
}

.btn-move-to-top:hover {
  background-color: rgba(0, 0, 0, .3);
}

.btn-move-to-top.opacity-1 {
  opacity: 1;
}

.btn-move-to-top>svg {
  transform: translateY(-2px);
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, .7);
}

.phonering-alo-phone {
  position: fixed;
  /* visibility: hidden; */
  /* -webkit-backface-visibility: hidden; */
  transform: scale(1.2);
  background-color: transparent;
  width: 75px;
  height: 75px;
  cursor: pointer;
  z-index: 2000 !important;
  display: block;
  /* -webkit-transform: translateZ(0); */
  transition: visibility .5s;
  right: 0px;
}


.phonering-alo-phone.phonering-alo-green .phonering-alo-ph-circle {
  border-color: red;
  opacity: .5
}

.phonering-alo-ph-circle {
  width: 70px;
  height: 70px;
  top: 0;
  left: 0;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid rgba(30, 30, 30, .4);
  opacity: .1;
  -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all .5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.phonering-alo-phone.phonering-alo-green .phonering-alo-ph-circle-fill {
  background-color: rgba(242, 0, 0, .5);
}

.phonering-alo-ph-circle-fill {
  width: 50px;
  height: 50px;
  top: 10px;
  left: 10px;
  position: absolute;
  background-color: #000;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all .5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.phonering-alo-phone.phonering-alo-green .phonering-alo-ph-img-circle {
  background-color: red;
}

.phonering-alo-ph-img-circle {
  width: 30px;
  height: 30px;
  top: 20px;
  left: 20px;
  position: absolute;
  background: rgba(30, 30, 30, .1) url('/assets/images/telephone.png') no-repeat center center;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  background-size: 26px 26px;
}

#phonering-alo {
  bottom: 270px;
}

#phonering-zalo {
  bottom: 175px;
}

#phonering-zalo .phonering-alo-ph-img-circle {
  background-image: url('/assets/images/zalo.png');
  background-color: #0e93e3;
}

#phonering-messenger {
  bottom: 80px;
}

#phonering-messenger .phonering-alo-ph-img-circle {
  background-image: url('/assets/images/Facebook-Messenger-Lpng.png');
  background-size: contain;
  background-color: transparent;
  top: 15px;
  left: 16px;
  width: 40px;
  height: 40px;
}