/* 臺南市托育人員在職訓練報名系統 (課程報名) 1150907 */
.page .subsidy .content-apply {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 30px 0;
  gap: 20px;
}
.page .subsidy .content-apply .leftBox {
  width: calc(26% - 20px);
  background-color: #fff;
  border-radius: 10px;
  color: #333;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: solid 2px #9C0;
}
.page .subsidy .content-apply .rightBox {
  width: calc(74% - 20px);
  background-color: #fff;
  border-radius: 10px;
  color: #333;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: solid 2px #9C0;
}
.page .subsidy .content-apply .leftBox .item,
.page .subsidy .content-apply .rightBox .item {
  font-size: var(--fontsize-lg);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.page .subsidy .content-apply .leftBox .cont,
.page .subsidy .content-apply .rightBox .cont {
  width: 100%;
}
.page .subsidy .content-apply .rightBox .cont .txt {
  margin-bottom: 12px;
  color: var(--textColor1);
}
.page .subsidy .content-apply .rightBox .cont .txt1 {
  font-size: 20px;
  color: #222222;
  margin-bottom: 12px;
}
@media (max-width: 968px) {
  .page .subsidy .content-apply .leftBox,
  .page .subsidy .content-apply .rightBox {
    width: 100%;
  }
}
/* 查詢 */
.filter-widget {
  margin-bottom: 14px;
}
.filter-widget h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  width: 100%;
  display: block;
}
.filter-widget .form-group {
  width: 100%;
}
.filter-widget .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 15px;
  background-color: #fff;
}
.filter-widget .custom_check {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 24px;
  cursor: pointer;
}
.filter-widget .form-span {
  display: inline-block;
  margin-bottom: 7px;
}
.cal-icon2 {
  position: relative;
  width: 85%;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 7px;
}
.cal-icon2 input.date-box {
  padding-right: 35px !important;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23999" class="bi bi-calendar3" viewBox="0 0 16 16"><path d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 18px 18px;
  cursor: pointer;
}
.cal-icon2 input.date-box:hover {
  border-color: #f28d95;
}
.leftBox .btn-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.leftBox .btn-wrap a {
  display: inline-block;
  background-color: var(--primaryColor6-2, #4f8a8b);
  color: #fff;
  border-radius: 150px;
  padding: 10px 28px;
  line-height: 1;
  text-decoration: none;
}
.leftBox .btn-wrap a:hover {
  opacity: .85;
}
/* 表格 */
.table-responsive {
  width: 100%;
}
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.course-table th,
.course-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: middle;
  line-height: 1.5;
}
.course-table thead.thead-pink th {
  background-color: #f7d9dc;
  color: #333;
  font-weight: 500;
  text-align: center;
}
.course-table td.td-1 {
  background-color: #f1f1f1;
  white-space: nowrap;
}
.course-table .class-day {
  font-size: 15px;
  color: #8A8A8A;
}
.course-table a {
  color: #c5473f;
  text-decoration: underline;
}
.course-table .btn-list {
  display: inline-block;
  background-color: var(--primaryColor6-2, #4f8a8b);
  color: #fff;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.course-table .btn-list:hover {
  opacity: .85;
}
@media screen and (max-width: 976px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    margin-bottom: 15px;
  }
  .table-responsive table {
    width: 100%;
    min-width: 800px;
  }
}
/* 報名表單 */
.course-form .form-section {
  padding: 0;
}
.course-form .form-section .box .ct .content input.col-12 {
  width: 100%;
  box-sizing: border-box;
}
.course-preview p {
  font-size: 20px;
  line-height: 1.8;
}
.course-preview .code-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.course-preview .code-box img {
  height: 40px;
}
.course-preview .code-box .note {
  color: #d9534f;
  font-size: 14px;
}
.course-preview .refresh {
  margin-left: 8px;
  color: #1a5fb4;
  text-decoration: underline;
}
/* 報名名單 彈跳視窗 */
.course-modal-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
  display: none;
}
.course-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 760px;
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border: 2px solid #c5473f;
  border-radius: 8px;
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-sizing: border-box;
}
.course-modal .modal-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.course-modal .modal-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.course-modal .modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 26px;
  line-height: 1;
  color: #666;
  text-decoration: none;
}
.course-modal .course-table th {
  background-color: #f1f1f1;
  text-align: center;
}
.course-modal .course-table td {
  text-align: center;
}
