:root {
	--white: #fff;
  --lightWhite: #fbfbfd;
  --lightGrey: #e2e2eb;
  --lightGreen: #cdeeeb;
  --lightBlue: #6fbfd1;
  --slateGrey: #6a7695;
  --darkBlueGrey: #263b5e;
  --pinkRed: #cc3366;
  --darkPinkRed: #9c2850;
  --N5: #0099cc;
  --N5-BG: #f2fbfd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans HK", sans-serif !important;
  overflow-x: hidden;
}

.fs-12 {
	font-size: 12px !important;
}

.fs-14 {
	font-size: 14px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-18 {
  font-size: 18px !important;
}

h1, h2, h3, h4, h5 {
  color: var(--darkBlueGrey) !important;
  font-weight: bold !important;
}

p, .container-section ol, .container-section ul, .text-slate {
  color: var(--slateGrey) !important;
}

p, .container-section ol, .container-section ul {
  text-align: justify;
  line-height: 30px;
}

p:last-child {
  margin-bottom: 0 !important;
}

p a, ul a, ol a {
  color: var(--lightBlue) !important;
}

.bg-grid {
  background-color: whitesmoke !important;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, #cee4f2b0 1px, transparent 1px),
    linear-gradient(to bottom, #cee4f2b0 1px, transparent 1px);
}

.bg-pink {
  background-color: var(--pinkRed) !important;
}

.separator-h {
  width: 50px;
  height: 5px;
}

.separator-v {
  width: 3px;
  min-width: 3px;
}

.separator-h, .separator-v {
  border-radius: 10px;
  background-color: var(--lightBlue);
}

.shadow-sm-br {
  box-shadow: 8px 8px 0 0 var(--slateGrey);
}

.container-section {
  margin-top: 4rem;
}

.container-section:first-child {
  margin-top: 0;
}

.fancybox-html-popup {
  min-width: 650px;
  max-width: 750px;
}

.fancybox-html-popup input {
  height: 42px;
}

.fancybox-desc p {
  margin-bottom: 1.5rem !important;
}

.nice-select *, .text-dblue {
  color: var(--darkBlueGrey);
}

.nice-select:active, .nice-select.open, .nice-select:focus {
  border-color: var(--lightBlue) !important;
}

.nice-select.ns-grid .list {
  column-count: 3;
  overflow-y: auto;
}

.nice-select.ns-grid .list li {
  text-align: center;
  padding: 0 15px;
}

#reset-filter {
  line-height: 40px;
  user-select: none;
}

.saved_animation {
  animation: 1s ease-in-out;
  animation-name: saved_animation;
}

.email-text, .website-url {
  line-break: anywhere;
}

.inquiry-btn {
  background-color: slateblue !important;
  border-color: slateblue !important;
}

.inquiry-btn:hover {
  border-color: darkslateblue !important;
  background-color: darkslateblue !important;
}

@keyframes saved_animation {
  0% {
    box-shadow: inset 0 0 0 0 var(--lightGreen);
  }
  30% {
    box-shadow: inset 100vw 0 0 0 var(--lightGreen);
  }
  100% {
    box-shadow: inset 100vw 0 0 0 transparent;
  }
}

img[alt="Feather"] {
  transition: transform 0.3s;
}

img[alt="Feather"]:hover {
  transform: rotate(-10deg) scale(1.1);
}

.feather-group {
  left: -75px;
}

.toast-container>:not(:last-child) {
  margin-bottom: 1rem !important;
}

#assistant-body {
  max-height: 280px;
}

@media (hover: hover) {
  .assistant-choice:hover {
    border-color: var(--N5) !important;
    background-color: var(--N5-BG) !important; 
  }
}

@media only screen and (max-width : 767px) {
  .container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }

  .fancybox-html-popup {
    min-width: unset;
    width: 100%;
  }

  .nice-select, .enroll-btn-resp, .fancybox-html-popup thead th, .fancybox-html-popup input {
    width: 100% !important;
  }
}

@media only screen and (max-width : 575px) {
  .toast-container {
    width: 100vw !important;
    display: grid;
    grid-template-areas: "toast-stack";
    align-content: end;
  }

  .toast-container .toast {
    width: 100%;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .toast-container>:not(:last-child) {
    margin-bottom: 0 !important;
  }

  #promotion-toast, #assistant-toast {
    grid-area: toast-stack;
    align-self: end;
  }

  #assistant-toast {
    z-index: 1091;
  }
}