.datepicker td, .datepicker th {
  text-align: center;
  padding: 7px 9px;
  font-size: 14px;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
  color: #bbb;
  font-weight: normal;
  text-decoration: line-through;
  cursor: not-allowed;
}

.datepicker table tr td.old, .datepicker table tr td.new {
  color: #bbb;
  font-weight: normal;
}

.datepicker table tr td.active:hover, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active:active, .datepicker table tr td.active:hover:active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active[disabled], .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active.disabled:hover[disabled] {
  background-image: none;
  background-color: #dc1f29;
}

/******************************************************************************/
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC','Noto Sans SC', sans-serif;
  font-weight: 400;
  color: #2E2E2E;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  min-width: 320px;
  overflow-x: hidden;
}

@media (max-width: 575.98px) {
  body {
    font-size: 1rem;
  }
}

/**************************************** heading */
h1, .h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

@media (max-width: 575.98px) {
  h1, .h1 {
    font-size: 2rem;
  }
}

h2, .h2 {
  font-size: 2.2rem;
  font-weight: bold;
}

@media (max-width: 575.98px) {
  h2, .h2 {
    font-size: 1.7rem;
  }
}

h3, .h3 {
  font-size: 1.8rem;
  font-weight: bold;
}

@media (max-width: 575.98px) {
  h3, .h3 {
    font-size: 1.4rem;
  }
}

h4, .h4 {
  font-size: 1.4rem;
  font-weight: bold;
}

@media (max-width: 575.98px) {
  h4, .h4 {
    font-size: 1.2rem;
  }
}

h5, .h5 {
  font-size: 1.3rem;
}

@media (max-width: 575.98px) {
  h5, .h5 {
    font-size: 1.1rem;
  }
}

/**************************************** Font Size */
.fs-body {
  font-size: 1.2rem !important;
}

@media (max-width: 575.98px) {
  .fs-body {
    font-size: 1rem !important;
  }
}

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

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

/**************************************** Theme Color */
.bg-gray {
  background-color: #F8F8F8 !important;
}

.text-gray {
  color: #878787 !important;
}

/****************************************************/
.container {
  max-width: 1200px;
}

.container-xs {
  max-width: 500px;
  width: 100%;
}

.container-sm {
  max-width: 700px;
  width: 100%;
}

.container-md {
  max-width: 970px;
  width: 100%;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none !important;
}

a:hover, a:focus {
  color: #dc1f29;
}

hr {
  border-color: #dc1f29;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.dropdown-menu {
  z-index: 99;
}

.form-control {
  height: auto;
  width: 100%;
  background-color: #fff;
  border-color: #ced4da;
  padding: 0.675rem 1.45rem;
}

.form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
  /* Firefox */
}

.form-control:hover::placeholder, .form-control:focus::placeholder {
  color: #adb5bd;
  opacity: 1;
  /* Firefox */
}

.form-control:hover::-ms-input-placeholder, .form-control:focus::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #adb5bd;
}

.form-control[disabled] {
  background-color: #ced4da !important;
  color: #2E2E2E;
}

.form-control.rounded {
  border-radius: 25px !important;
}

.input-group .rounded-left {
  border-radius: 25px 0 0 25px !important;
}

.input-group .rounded-right {
  border-radius: 0 25px 25px 0 !important;
}

/*********************************************** buttons */
.btn-rounded {
  display: inline-block;
  color: #ffffff;
  border-radius: 27px;
  padding: 10px 34px;
  min-width: 175px;
  font-size: 1.125rem;
  text-align: center;
}

.drop-shadow {
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.3));
}

/************************************************ Skip to Content */
a.skipToContent {
  color: #fff;
  left: -999px;
  position: absolute;
  top: 10px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
  white-space: nowrap;
}

a.skipToContent:focus, a.skipToContent:active {
  color: #fff !important;
  background-color: #dc1f29;
  left: 50%;
  top: 20px;
  height: auto;
  overflow: auto;
  margin: 0;
  padding: 5px 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 99999;
  margin-left: -100px;
  width: 200px;
}

/* scroll To Top*/
.scrollToTopContainer {
  display: none;
  position: fixed;
  margin: 0;
  bottom: 77px;
  right: 8px;
  z-index: 200;
}

.scrollToTopContainer .text {
  display: none;
  color: #303030;
  position: absolute;
  right: 65px;
  min-width: 60px;
  font-size: 12px;
  text-align: center;
  padding: 3px 5px;
  margin-top: 15px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.16);
}

.scrollToTopContainer:hover .text, .scrollToTopContainer:focus .text {
  display: block;
}

.scrollToTop {
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  line-height: 45px;
  text-align: center;
  opacity: 0.8;
  transition: background 0.3s;
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.3);
  background-color: #dc1f29;
  color: #000;
}

.scrollToTop img {
  width: 100%;
  height: 100%;
  padding: 8px;
  display: block;
}

.scrollToTop:hover, .scrollToTop:focus {
  background: #ce0c16;
  outline: none;
  opacity: 1;
}

.scrollToTop::after {
  content: "";
  display: inline-block;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  width: 12px;
  height: 12px;
  transform: rotate(-45deg);
}

@media (max-width: 767.98px) {
  .scrollToTopContainer .text {
    right: 55px;
    margin-top: 5px;
  }
  .scrollToTop {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    line-height: 40px;
  }
}

@media print {
  .scrollToTop {
    display: none !important;
  }
}

/*********************************************** Bootstrap select */
.bootstrap-select > .dropdown-toggle {
  width: 100%;
  color: #2E2E2E !important;
  background-color: #fff !important;
  border-color: #ced4da !important;
  padding: 0.675rem 2.8rem 0.675rem 1rem;
}

.bootstrap-select > .dropdown-toggle:after {
  content: url(../images/arrow-ios-forward-outline.png);
  position: absolute;
  right: 14px;
  transition: .17s linear;
  border: 0;
  margin-left: 0;
  transform-origin: 50% 55% !important;
}

.bootstrap-select > .dropdown-toggle:focus {
  outline: none !important;
}

.bootstrap-select > .dropdown-toggle::placeholder {
  color: #2E2E2E;
  opacity: 1;
  /* Firefox */
}

.bootstrap-select > .dropdown-toggle::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #2E2E2E;
}

.bootstrap-select > .dropdown-toggle.rounded {
  border-radius: 25px !important;
}

.bootstrap-select > .dropdown-toggle.placeholder-text-color::placeholder {
  color: #2E2E2E !important;
  opacity: 1;
  /* Firefox */
}

.bootstrap-select > .dropdown-toggle.placeholder-text-color::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #2E2E2E !important;
}

.bootstrap-select > .dropdown-toggle:hover, .bootstrap-select > .dropdown-toggle:focus {
  background-color: #fff !important;
}

.bootstrap-select.show > .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}

.bootstrap-select .dropdown-menu {
  z-index: 99;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid #dc1f29;
}

.bootstrap-select .dropdown-menu li a {
  color: #dc1f29;
  font-size: 1rem;
  padding: 0.675rem 1rem;
}

.bootstrap-select .dropdown-menu li a.active {
  background-color: #f8f9fa;
}

.bootstrap-select .dropdown-menu li a .check-mark::after {
  color: #dc1f29;
}

.bootstrap-select .dropdown-menu li.selected a {
  background-color: #dc1f29;
  color: #fff;
}

.bootstrap-select .dropdown-menu li.disabled {
  display: none;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  top: 47%;
  transform: translateY(-50%);
  display: none;
}

.bootstrap-select.small-arrow .dropdown-toggle::after {
  border-bottom: 2px solid #dc1f29 !important;
  border-right: 2px solid #dc1f29 !important;
  content: '' !important;
  display: block !important;
  height: 8px !important;
  margin-top: -1px !important;
  pointer-events: none !important;
  transform-origin: 66% 66% !important;
  transform: rotate(45deg) !important;
  transition: all 0.15s ease-in-out !important;
  width: 9px !important;
  margin-left: 5px !important;
  border-top: unset !important;
  border-left: unset !important;
}

.bootstrap-select.small-arrow.show > .dropdown-toggle::after {
  transform: rotate(225deg) !important;
}

.bootstrap-select.telPicker > .dropdown-toggle, .bootstrap-select.telPicker > .dropdown-toggle:hover, .bootstrap-select.telPicker > .dropdown-toggle:focus {
  width: 100%;
  background-color: transparent !important;
  color: #2E2E2E !important;
  padding: 0;
  border: 0;
  box-shadow: none !important;
  outline: none !important;
  font-size: inherit !important;
}

.bootstrap-select.telPicker > .dropdown-toggle::after {
  border-color: #2E2E2E !important;
  right: 0;
}

.bootstrap-select.telPicker .dropdown-menu {
  width: unset;
}

.bootstrap-select.rounded .dropdown-toggle {
  background-color: #fff !important;
  border-radius: 25px !important;
  border-color: #B3DAC4;
  padding: 0.675rem 1.45rem;
}

.bootstrap-select .bs-ok-default:after {
  border-color: #dc1f29;
}

/* customize radio button */
.form-check-input[type=radio] {
  appearance: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #ced4da;
  margin-right: 8px;
  position: relative;
}

.form-check-input[type=radio]:checked {
  border: 7px solid #dc1f29;
  background-color: #fff;
  outline: unset !important;
}

/* customize checkbox  */
.checkbox-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0;
  /*small checkbox*/
}

.checkbox-wrap input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-wrap input[type=checkbox]:checked ~ .checkmark {
  background-color: #B3DAC4;
}

.checkbox-wrap input[type=checkbox]:checked ~ .checkmark:after {
  display: block;
}

.checkbox-wrap:hover input[type=checkbox] ~ .checkmark, .checkbox-wrap:focus input[type=checkbox] ~ .checkmark {
  background-color: #B3DAC4;
}

.checkbox-wrap .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
}

.checkbox-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 1px;
  width: 9px;
  height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-wrap.sm .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
}

.checkbox-wrap.sm .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 7px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-wrap.sm input[type=checkbox]:checked ~ .checkmark {
  background-color: #dc1f29;
}

.checkbox-wrap.sm input[type=checkbox]:checked ~ .checkmark:after {
  display: block;
}

.checkbox-wrap.sm:hover input[type=checkbox] ~ .checkmark, .checkbox-wrap.sm:focus input[type=checkbox] ~ .checkmark {
  background-color: #dc1f29;
}

.checkbox-wrap.checkbox-wrap.checkbox-wrap-rounded {
  padding: 16px 16px 16px 43px !important;
  margin: 0;
  margin-left: 1rem;
  width: calc(100% - 1rem) !important;
}

.checkbox-wrap.checkbox-wrap.checkbox-wrap-rounded .checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 33px;
  height: 33px;
}

.checkbox-wrap.checkbox-wrap.checkbox-wrap-rounded .checkmark::after {
  left: 11px;
  top: 7px;
}

.checkbox-wrap.checkbox-wrap.checkbox-wrap-rounded input[type=checkbox]:checked ~ .checkmark {
  background-color: #dc1f29;
}

/*********************************************** Content */
.contentWrapper {
  padding: 70px 0 100px 0;
  min-height: 35vh;
}

@media (max-width: 767.98px) {
  .contentWrapper {
    padding: 45px 0 90px 0;
  }
}

.btn-back {
  padding: 0;
  color: #dc1f29;
  text-decoration: none !important;
  transition: 0.3s all;
  margin-bottom: 2rem;
}

.btn-back i {
  display: inline-block;
  background-color: #dc1f29;
  border-radius: 5px;
  margin-right: 0.5rem;
}

.btn-back i::before {
  color: white;
  padding: 7px;
  width: 1em;
  height: 1em;
  box-sizing: content-box;
  text-align: center;
  display: block;
}

.btn-back:hover, .btn-back:focus {
  transform: translateX(-5px);
  color: #ce0c16;
}

.btn-back:hover i, .btn-back:focus i {
  background-color: #ce0c16;
}

.box-cards .box-card a {
  color: #2E2E2E;
}

.box-cards .box-card a .coverWrapper {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.box-cards .box-card a .coverWrapper .cover {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: .5s ease-in-out;
}

.box-cards .box-card a .coverWrapper .cover img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
  margin: 0 auto;
  transition: .5s ease-in-out;
}

.box-cards .box-card a .coverWrapper::after {
  padding-top: 56.1397%;
  display: block;
  content: '';
}

.box-cards .box-card a .box-hr {
  border: none;
  border-bottom: 1px #826400 solid;
  height: 0px;
  margin: 0px;
  margin-bottom: 0.5rem;
  padding: 0px;
}

.box-cards .box-card a .box-badge {
  font-size: 0.85rem;
  background-color: #826400;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 6px 6px 0 0;
}

.box-cards .box-card a .box-badge1 {
  font-size: 0.85rem;
  background-color: #826400;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 6px 6px 0 0;
}

.box-cards .box-card a .box-badge2 {
  font-size: 0.85rem;
  background-color: #024c22;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 6px 6px 0 0;
}

.box-cards .box-card a .box-badge3 {
  font-size: 0.85rem;
  background-color: #063b70;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 6px 6px 0 0;
}

.box-cards .box-card a .box-badge4 {
  font-size: 0.85rem;
  background-color: #dc1f29;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-left: 8px;
  border-radius: 6px 6px 0 0;
}

.box-cards .box-card a .box-locat {
  font-size: 0.85rem;
  color: #495057;
}

.box-cards .box-card a .box-locat i {
  color: #6c757d;
}

.box-cards .box-card a .box-date {
  font-size: 0.9rem;
  color: #826400;
}

@media (max-width: 575.98px) {
  .box-cards .box-card a .box-date {
    font-size: 1rem;
  }
}

.box-cards .box-card a .box-title {
  color: #ce0c16;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.box-cards .box-card a .box-description {
  position: relative;
  color: #2E2E2E;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 21px;
  -webkit-line-clamp: 3;
}

.box-cards .box-card a:hover .coverWrapper .cover img {
  transform: scale(1.1);
}

.box-cards .box-card .btn-register {
  padding: 7px 25px;
  font-size: 1rem;
}

.article .box-badge {
  font-size: 1.1rem;
  background-color: #826400;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin-top: 7px;
  border-radius: 6px;
}

.article .box-date, .article .box-locat {
  font-size: 1.1rem;
  color: #6c757d;
}

.article .box-time {
  font-size: 1.5rem;
  font-weight: bold;
  color: #826400;
}

.reg-items {
  padding: 30px;
}

@media (max-width: 575.98px) {
  .reg-items {
    padding: 20px 15px;
  }
}

.reg-item .box-title {
  font-size: 1.3rem;
  margin-right: 12px;
  margin-bottom: 5px;
}

@media (max-width: 575.98px) {
  .reg-item .box-title {
    font-size: 1.1rem;
  }
}

.reg-item .box-status {
  font-size: 1.1rem;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .reg-item .box-status {
    font-size: 0.9rem;
  }
}

.reg-item .box-badge {
  display: inline-block;
  font-size: 0.85rem;
  background-color: #826400;
  align-self: end;
  color: #fff;
  padding: 3px 6px;
  margin: 5px 0;
  border-radius: 6px;
}

@media (max-width: 575.98px) {
  .reg-item .box-badge {
    font-size: 0.75rem;
  }
}

.reg-item .box-info {
  font-size: 0.9rem;
  color: #6c757d;
}

.reg-item .box-info i, .reg-item .box-info .icon {
  width: 18px;
  text-align: center;
  margin-right: 3px;
}

.reg-item + .reg-item {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e7e7e7;
}

.reg-item .box-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 5px;
}

.reg-item .box-btns .box-btn {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  min-width: 72px;
  line-height: 20px;
  font-size: 0.8rem;
  padding: 6px 16px;
  color: #212121;
  background-color: transparent;
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  outline: none;
  transition: .3s ease-in-out;
}

.reg-item .box-btns .box-btn:hover, .reg-item .box-btns .box-btn:focus {
  background-color: #f2f2f2;
  transition: .3s ease-in-out;
}

/********************************************* Floating btns */
.floating-btn {
  position: fixed;
  bottom: 16px;
  right: 8px;
  z-index: 999;
}

.floating-btn .btn-register {
  background-color: #FFC014;
  color: #444444;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.3));
}

@media (max-width: 767.98px) {
  .floating-btn {
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 10px 15px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    padding: 12px 35px;
  }
  .floating-btn .btn-register {
    width: 100%;
  }
}

.text-primary{
  color: #dc3545 !important;
}

/*# sourceMappingURL=style.css.map */