/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css
find css variable by '\-\-bs\-body\-bg' with Regex switched on
*/
:root {
  --bs-body-bg: #F0F0F0;
  --footer-height: 150px;
  --theme-color: #CC1C00;
}

html, body {
  overflow-x: hidden;
}

body.modal-open {
  padding-right: 0 !important;
}
.sacrifice{
  filter: grayscale(100%);
}
.index-search input:-webkit-autofill,
.index-search input:-webkit-autofill:hover,
.index-search input:-webkit-autofill:focus,
.index-search input:-webkit-autofill:active {
  -webkit-text-fill-color: white !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

.btn-primary {
  --bs-btn-bg: var(--theme-color);
  --bs-btn-border-color: var(--theme-color);
  --bs-btn-hover-bg: var(--theme-color);
  --bs-btn-hover-border-color: var(--theme-color);
  --bs-btn-active-bg: var(--theme-color);
  --bs-btn-active-border-color: var(--theme-color);
  --bs-btn-disabled-bg: var(--theme-color);
  --bs-btn-disabled-border-color: var(--theme-color);
}

/* full calendar */
.fc-button-primary {
  background-color: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
}
.fc-view-harness::-webkit-scrollbar {
  display: none;
}
.fc-view-harness {
  scrollbar-width: none; /* firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
/* full calendar */

a:hover {
  color: var(--theme-color) !important;
}
a.btn:hover {
  color: var(--bs-btn-hover-color) !important;
  background-color: var(--theme-color);
  border-color: var(--theme-color);
}

.nav-link {
  --bs-navbar-nav-link-padding-x: 30px;
  --bs-navbar-nav-link-padding-y: 30px;
  --bs-navbar-active-color: white !important;
  --bs-nav-link-color: white !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #E6E6E6 !important;
  line-height: 30px;
}

.nav-link.active {
  font-weight: bold;
}

.about-title {
  color: #F08200;
}

.about-subtitle {

}

.about-content {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2px;
}

.about-bg {
  background-image: url("/static/image/aboutbg.webp");
  width: 100%;
  height: 106px;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-photo {
  width: 20%;
  height: auto;
  max-height: 300px;
}

.book-detail-description {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.index-ad__picture {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.index-ad__description {
  background-color: var(--theme-color);
}
.index-ad__description__detail-button {
  color: var(--theme-color);
  font-size: 14px;
}

.list-group-item {
  border-radius: 0 !important;
}

.index-search {
  -webkit-backdrop-filter: blur(20px) saturate(201%);
  backdrop-filter: blur(20px) saturate(201%);
}

.index-search-input::-webkit-input-placeholder {
  color: #EAEAEA;
}

.index-search-input::-moz-placeholder {
  color: #EAEAEA;
}

.index-search-input:-ms-input-placeholder {
  color: #EAEAEA;
}

.index-search-input::-ms-input-placeholder {
  color: #EAEAEA;
}

.index-search-input::placeholder {
  color: #EAEAEA;
}

.headerMainContent {
  height: 360px;
  background-image: url("/static/image/headerbg.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.digitalbg {
  background-image: url("/static/image/digitalbg.webp");
}
.helpbg {
  background-image: url("/static/image/helpbg.webp");
}
.localbg {
  background-image: url("/static/image/localbg.webp");
}
.recommendationbg {
  background-image: url("/static/image/activitybg.webp");
}
.activitybg {
  background-image: url("/static/image/activitybg.webp");
}
.infobg {
  background-image: url("/static/image/activitybg.webp");
}
.overview\.htmlbg {
  background-image: url("/static/image/overviewbg.webp");
}
.guide\.htmlbg {
  background-image: url("/static/image/guidebg.webp");
}

.index-column__header {
  background: -webkit-gradient(linear, right top, left top, from(rgba(232, 60, 0, 0)), to(rgba(204, 28, 0, 0.1)));
  background: -o-linear-gradient(right, rgba(232, 60, 0, 0) 0%, rgba(204, 28, 0, 0.1) 100%);
  background: linear-gradient(270deg, rgba(232, 60, 0, 0) 0%, rgba(204, 28, 0, 0.1) 100%);
}

.index-column__header::before {
  content: ' ';
  position: absolute;
  left: 0;
  height: 24px;
  width: 6px;
  background-color: var(--theme-color);
}

.homemade-module {
  border-top-width: 4px;
  border-top-style: solid;
  -o-border-image: -o-linear-gradient(left, #FF5920 0%, var(--theme-color) 100%) 1;
  border-image: -webkit-gradient(linear, left top, right top, from(#FF5920), to(var(--theme-color))) 1;
  border-image: linear-gradient(90deg, #FF5920 0%, var(--theme-color) 100%) 1;
}

.index-map-container {
  height: 500px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.article-content {
  display: none !important;
}

.article-content_active {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.homemade-module__title {

}

.homemade-module__split-line {
  border: none;
  border-top: 1px solid #999;
}

.more-button {
  --bs-btn-bg: #F0F0F0;
  --bs-btn-border-color: #BABABA;
  --bs-btn-color: #999999;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.float-menu {
  position: fixed;
  bottom: var(--footer-height);
  right: 20px;
  z-index: 10;
}

.float-menu__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.float-menu__item__popup {
  display: none;
}

.float-menu__item:hover .float-menu__item__popup {
  width: 300px;
  word-break: break-all;
  text-align: center;
  display: block;
  position: absolute;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  background-color: white;
}

.float-menu__item:hover .float-menu__item__popup img {
  max-width: 200px;
  height: auto;
}


.digital__item__popup {
  display: none;
}

.digital__item:hover .digital__item__popup {
  display: block;
  position: absolute;
  word-break: break-all;
  z-index: 100;
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
  background-color: white;
  max-width: 200px;
}

.digital__item:hover .digital__item__popup.digital__item__popup--list {
  -webkit-transform: unset;
  -ms-transform: unset;
  transform: unset;
}

.digital__item:hover .digital__item__popup img {
  max-width: 100px;
  height: auto;
}

.footer {
  height: var(--footer-height);
  background-image: url("/static/image/footerBg.webp");
  background-size: contain;
}

.col-nav {
  height: 60px;
  cursor: pointer;
}

.col-nav_active {
  background-image: url("/static/image/colNav.webp");
  background-size: cover;
}

.recommendation-bg {
  background-image: url("/static/image/recommendationBookBg.webp");
  background-size: cover;
}


.head-columns {
  background-color: var(--theme-color);
}

.head-columns__button {
  height: 100px;
}

.head-columns__button__image {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform .8s;
  transition: -webkit-transform .8s;
  -o-transition: transform .8s;
  transition: transform .8s;
  transition: transform .8s, -webkit-transform .8s;
}

.head-columns__button:hover .head-columns__button__image {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.headColumnsButtonInactive {
  opacity: .7;
}

.head-columns__button::before {
  content: ' ';
  position: absolute;
  left: 0;
  top: 23px;
  height: 22px;
  width: 4px;
  background-color: white;
}

.pagination {
  --bs-pagination-active-bg: var(--theme-color);
  --bs-pagination-active-border-color: var(--theme-color);
  --bs-pagination-color: #999;
  --bs-pagination-bg: transparent;
  --bs-pagination-disabled-bg: transparent;
  --bs-pagination-hover-color: var(--theme-color);
  --bs-pagination-focus-color: var(--theme-color);
}

.list-group-custom {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}


.recommend-book-head {
  background-image: url("/static/image/recommendbookbg.webp");
  background-size: cover;
}

.book-detail-link {
  background-color: var(--theme-color);
  font-size: 14px;
}

.box-shadow-card {
  -webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
  transition: -webkit-box-shadow 0.3s ease-in-out;
  -o-transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
}

.box-shadow-card:hover {
  -webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

@media (max-width: 991.98px) {
  .navbar-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(204, 28, 0, var(--bs-bg-opacity)) !important;
    z-index: 99999;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .index-logo-container img {
    width: 70%;
    height: auto;
  }

  .index-logo-container .input-group {
    width: 75% !important;
  }
  .about-content {
    width: 100%;
  }
  .about-photo {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .index-ad__picture {
    height: 200px;
  }
}

.html-render-container img {
  max-width: 100%;
}

.help-form label:before{
  content: "*";
  color: red;
  margin-right: 0.5rem;
}

.index-column__content > div + div {
  margin-top: 0.5rem;
}


.ql-video {
  display: block;
  max-width: 100%
}

.ql-video.ql-align-center {
  margin: 0 auto
}

.ql-video.ql-align-right {
  margin: 0 0 0 auto
}

.ql-bg-black {
  background-color: #000
}

.ql-bg-red {
  background-color: #e60000
}

.ql-bg-orange {
  background-color: #f90
}

.ql-bg-yellow {
  background-color: #ff0
}

.ql-bg-green {
  background-color: #008a00
}

.ql-bg-blue {
  background-color: #06c
}

.ql-bg-purple {
  background-color: #93f
}

.ql-color-white {
  color: #fff
}

.ql-color-red {
  color: #e60000
}

.ql-color-orange {
  color: #f90
}

.ql-color-yellow {
  color: #ff0
}

.ql-color-green {
  color: #008a00
}

.ql-color-blue {
  color: #06c
}

.ql-color-purple {
  color: #93f
}

.ql-font-serif {
  font-family: Georgia,Times New Roman,serif
}

.ql-font-monospace {
  font-family: Monaco,Courier New,monospace
}

.ql-size-small {
  font-size: .75em
}

.ql-size-large {
  font-size: 1.5em
}

.ql-size-huge {
  font-size: 2.5em
}

.ql-direction-rtl {
  direction: rtl;
  text-align: inherit
}

.ql-align-center {
  text-align: center
}

.ql-align-justify {
  text-align: justify
}

.ql-align-right {
  text-align: right
}

.ql-editor.ql-blank:before {
  color: rgba(0,0,0,.6);
  content: attr(data-placeholder);
  font-style: italic;
  left: 15px;
  pointer-events: none;
  position: absolute;
  right: 15px
}
