@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@600&family=Noto+Sans+TC&display=swap");

* {
  box-sizing: border-box;
}

body {
  /* font-family: arial, sans-serif; */
  /* font-family: "Barlow", "Noto Sans TC", "PingFangTC", "微軟正黑體", "Microsoft JhengHei", sans-serif !important; */
  font-family: "Noto Sans TC", "PingFangTC", "微軟正黑體", "Microsoft JhengHei", sans-serif !important;
  line-height: 1.8;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #000;
}

a,
a:active,
a:focus,
a:link,
a:visited {
  outline: 0;
}

a:hover {
  color: #000;
}

ul {
  padding: 0;
}

li {
  list-style-type: none;
}

hr {
  margin: 0 0 0 0;
}

.dropdown-item {
  line-height: 1.8rem;
}

img {
  -o-object-fit: contain;
  object-fit: contain;
}

/* Module - video_modal.php -start*/
#video_modal .btn-close {
  position: fixed;
  right: 0;
  top: 0;
  color: white;
  background: transparent;
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

#video_modal .btn-close:hover {
  opacity: 1;
}

#video_modal .video_box {
  position: relative;
  height: 0;
  padding-top: 25px;
  padding-bottom: 56.25%;
}

#video_modal .video_box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Module - video_modal.php - end*/

/* 
.mask {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.mask_opened {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s ease;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
} */

.btn-check:focus+.btn,
.btn:focus,
.btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 0rem rgba(0, 0, 0, 0);
}

.dropdown-item.active,
.dropdown-item:active {
  color: #000000;
  text-decoration: none;
  background-color: #ffffff;
}

.form-control,
.form-select {
  background-color: #eee;
}



.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  color: #212529;
  background-color: #fff;
  border-color: #212529;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 5%);
}

.form-check-input:checked {
  background-color: #212529;
  border-color: #212529;
}

.nav-link {
  color: black;
}

.nav-link:hover,
.nav-link:focus {
  color: black;
}


/* .bootstrap-select Start */
.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active {
  color: #212529;
  text-decoration: none;
  background-color: #eee;
}

.bootstrap-select .dropdown-item:hover,
.bootstrap-select .dropdown-item:focus {
  color: #212529;
  background-color: #eee;
}

.bootstrap-select>select.mobile-device:focus+.dropdown-toggle,
.bootstrap-select .dropdown-toggle:focus {
  outline: thin dotted #333333 !important;
  outline: 0px auto -webkit-focus-ring-color !important;
  outline-offset: 0px !important;
}

.btn-light:active:focus,
.btn-light.active:focus,
.show>.btn-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active {
  color: black;
}

.bootstrap-select.fit-width .dropdown-toggle .filter-option-inner,
.bootstrap-select.fit-width .dropdown-toggle .filter-option-inner-inner {
  font-size: 14px;
}

.bootstrap-select .dropdown-toggle {
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: #eee;
}

/* .bootstrap-select End */


.form-control.error,
.form-check-input.error,
.bootstrap-select .dropdown-toggle.error {
  border: 1px solid #dc3545;
}

.form-control:focus.error,
.form-check-input:focus.error,
.bootstrap-select .dropdown-toggle:focus.error {
  color: #212529;
  background-color: #fff;
  outline: 0;
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}

.form-control.success,
/* .form-check-input.success, */
.bootstrap-select .dropdown-toggle.success {
  border: 1px solid #212529;
}

.form-control:focus.success,
/* .form-check-input:focus.success, */
.bootstrap-select .dropdown-toggle:focus.success {
  color: #212529;
  background-color: #fff;
  outline: 0;
  border-color: #212529;
  box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 5%);
}


/* Module */
#news_modal .modal-body img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}