/* Generated by less 2.2.0 */
/* CSS Document */
html {
  height: 100%;
}
body {
  margin: 0;
  /*font-family: palatino, tahoma, Arial, Verdana;*/
  font-family: Meiryo, "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif;
  line-height: 1.86em;
  font: normal normal normal 15px / normal Arial, Helvetica, sans-serif;
  background-color: #171717;
  color: #ffffff;
  height: 100%;
      overflow-x: hidden;
}
textarea {
  width: 100%;
}
.whole-page {
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
}
.header-line {
  height: 1px;
  width: 100%;
  max-height: 1px;
  background-color: #ebd8ae;
}
.footer {
  position: absolute;
  color: #ebd8ae;
  width: 100%;
  height: 60px;
  bottom: 0;
  left: 0;
}
.footer .tv-prize {
  color: #404040;
}
.footer .radio-prize {
  color: #2c2745;
}
.footer .contribute-prize {
  color: #000000;
}
.wrapper {
  min-height: 100%;
  position: relative;
}
.wrapper-body {
  padding-bottom: 60px;
}
.nav {
  padding-top: 30px;
}
.navbar-default {
  /* background-color: #000000;
  border-color: #000000; */
  background: none;
}
.navbar-default .navbar-toggle {
  border-color: #ebd8ae;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ebd8ae;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fdedcc;
}
.navbar-default .navbar-toggle:hover .icon-bar{
  background-color: #ebd8ae;
}
.navbar-default .navbar-nav > li > a {
  color: #ebd8ae;
  line-height: 20px;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  color: #99b7c2;
}
.navbar-brand-text {
  margin: 37px 10px 0px 10px;
  padding: 0;
  float: left;
  height: 50px;
  font-size: 16px;
  line-height: 20px;
  color: #ebd8ae;
  font-weight: 900;
}
.navbar-brand-text:focus,
.navbar-brand-text:hover {
  text-decoration: none;
  color: #99b7c2;
}

/**/
.gba-sub-menu .navbar-default .navbar-toggle {
  border-color: #171717;
}
.gba-sub-menu .navbar-default .navbar-toggle .icon-bar {
  background-color: #171717;
}
.gba-sub-menu .navbar-default .navbar-toggle:hover,
.gba-sub-menu .navbar-default .navbar-toggle:focus {
  background-color: #4a4a4a;
}
.gba-sub-menu .navbar-default .navbar-toggle:hover .icon-bar{
  background-color: #ebd8ae;
}
.gba-sub-menu .navbar-default .navbar-nav > li > a {
  color: #171717;
  line-height: 20px;
}
.gba-sub-menu .navbar-default .navbar-nav > li > a:focus,
.gba-sub-menu .navbar-default .navbar-nav > li > a:hover {
  color: #99b7c2;
}
.gba-sub-menu .navbar-brand-text {
  margin: 37px 10px 0px 10px;
  padding: 0;
  float: left;
  height: 50px;
  font-size: 16px;
  line-height: 20px;
  color: #171717;
  font-weight: 900;
}
.gba-sub-menu .navbar-brand-text:focus,
.gba-sub-menu .navbar-brand-text:hover {
  text-decoration: none;
  color: #99b7c2;
}
.gba-toolbar {
  border-bottom: 1px solid #dddddd;
}
.gba-toolbar .nav-tabs {
  border-bottom: 0px;
}
.tab-area {
  /* border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd; */
}
.tv-prize {
  background-color: #ffffff;
  color: #404040;
}
.tv-prize .navbar-default {
  background-color: #ffffff;
  border-color: #ffffff;
}
.tv-prize .navbar-default .navbar-toggle {
  border-color: #ebd8ae;
}
.tv-prize .navbar-default .navbar-toggle .icon-bar {
  background-color: #ebd8ae;
}
.tv-prize .navbar-default .navbar-toggle:hover,
.tv-prize .navbar-default .navbar-toggle:focus {
  background-color: #fdedcc;
}
.tv-prize .fun-title {
  color: #404040;
}
.tv-prize .gba-table .gba-tr .gba-caption {
  color: #3f3403;
}
.tv-prize .navbar-default .navbar-nav > li > a {
  color: #404040;
}
.radio-prize {
  background-color: #2c2745;
  /* color: #ebd8ae; */
  /* color: #0e0a00; */
}
.radio-prize .navbar-default {
  /* background-color: #ba83ca;
  border-color: #ba83ca; */
}
.radio-prize .navbar-default .navbar-toggle {
  border-color: #ebd8ae;
}
.radio-prize .navbar-default .navbar-toggle .icon-bar {
  background-color: #ebd8ae;
}
.radio-prize .navbar-default .navbar-toggle:hover,
.radio-prize .navbar-default .navbar-toggle:focus {
  background-color: #fdedcc;
}

.radio-prize .nav > li > a{
  color:#ffffff;
}
.radio-prize .navbar-default{
  border: none;
}
.contribute-prize {
  background-color: #99b7c2;
  color: #000000;
}
.contribute-prize .navbar-default {
  background-color: #99b7c2;
  border-color: #99b7c2;
}
.contribute-prize .navbar-default .navbar-toggle {
  border-color: #000000;
}
.contribute-prize .navbar-default .navbar-toggle .icon-bar {
  background-color: #000000;
}
.contribute-prize .navbar-default .navbar-toggle:hover,
.contribute-prize .navbar-default .navbar-toggle:focus {
  background-color: #cccccc;
}
.navbar-brand {
  padding: 0;
}
.navbar-toggle {
  margin-top: 30px;
}
.main-area {
  background-color: #cccccc;
  border-radius: 8px;
  border-color: #ebd8ae;
  border-style: solid;
  border-width: 2px;
  margin: 5px auto;
  float: none;
}
.footer-main-area {
      border-radius: 8px;
    border-color: #ebd8ae;
    border-style: solid;
    border-width: 1px;
    background: rgba(0, 0, 0, 0.2);
        padding: 10px 15px;
}
.main-time{
    width: calc(33% - 10px);
    margin-right: 10px;
    background: #4a4a4a;
        font-family: Meiryo, "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif;
        font-size: 1em;
        font-weight: normal;
}
.main-download{
    width: calc(33%);
    background: #4a4a4a;
        font-family: Meiryo, "微軟正黑體", "Microsoft JhengHei", Verdana, Arial, sans-serif;
        font-size: 1em;
        font-weight: normal;
}
/* .main-time div{
  background: #fff;
  border-radius: 8px;
  padding: 5px;
} */
.main-time p[style^="color:navy;"]{
  background: #ebd8ae;
    padding: 10px 10px 5px;
    border-radius: 6px;
}
.main-time p{
      color: #000 !important;
}
.main-time p span[style^="color: red;"]{
  display: inline-block;
  margin-bottom: 10px;
}
.main-time h4 span[style^="color: #ff0000;"]{
  color:#ffb000 !important;
}
.main-time p span[style^="color: #5b0000;"]{
  font-weight: bold;
  padding-left: 15px;
  position: relative;
}
.main-time p span[style^="color: #5b0000;"]:after{
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
}
.main-download h4 span[style^="color: #ff0000;"]{
      color: #ffb000 !important;
    font-weight: bold;
}
.main-download h5{
  background: #ebd8ae;
    padding: 10px 10px 5px;
    border-radius: 6px;
}
.main-download h4:nth-of-type(2) {
    margin-top: 25px;
}
.main-download a[style^="color: #000000;"]{
  padding-left: 15px;
  position: relative;
  color: #3c667c !important;
}
.main-download h5 span{
  position: relative;
}
.main-download h5 span:after{
  content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background-position: -242px -112px;
    background-image: url(/javax.faces.resource/images/ui-icons_38667f_256x240.png.xhtml?ln=primefaces-aristo);
}
.upload_group{
        border: 1px solid #3c3c3c;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 5px;
    padding: 10px 0;
    border-left: 5px #c85133 solid;
}

.upload_group .tag_num{
      padding: 5px 10px;
    background: #c85133;
    color: #fff;
    border-radius: 50%;
}
.upload_group .gba-label{
  position: relative;
}
.upload_group .btn{
      background: #c85133 !important;
}
.upload_group:nth-child(even) {
  border-left: 5px #9e3e26 solid; 
}
.upload_group:nth-child(even) .tag_num{
  background: #9e3e26; 
}
.upload_group:nth-child(even) .btn{
      background: #9e3e26 !important;
}
/* .upload_group .gba-label:after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: #ccc;
  width: calc(100% - 5px);
} */
@media only screen and (max-width: 991px) {
    .main-time,.main-download{
              width: calc(100% - 36px);
        margin: 10px 18px 0;
    }
    .gba-input-group .gba-label.gba-label-w100{
      width: 100%;
    display: inline-block;
    }
}
.blank-div {
  min-height: 4px;
}
#fix-form {
  margin: 5px auto;
  padding: 4px 2px;
}
#fix-form .fix-label {
  color: #000000;
  font-weight: 900;
}
.required:before {
  content: '*';
  color: red;
}
.gba-title {
  background-color: #fdedcc;
  color: #000000;
  font-weight: 900;
}
.gba-title h4 {
  font-weight: 900;
}
.btn-group {
  padding: 5px 10px;
}
.btn-group a {
  color: #ebd8ae;
  text-align: center;
  padding: 6px 12px;
  background-color: #000000;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
}
.btn-group a:hover,
.btn-group a:focus {
  background-color: #404040;
  color: #fdedcc;
}
.btn-group .btn-txt {
  font-size: 16px;
}
.panel-default {
  border: 1px solid #ebd8ae;
}
.panel-default > .panel-heading {
  color: #000000;
  font-weight: 900;
  font-size: 24px;
}
.panel-default li {
  color: #000000;
  font-size: 16px;
}
.gba-center {
  margin: 0 auto;
  text-align: center;
  float: none;
}
.gba-left {
  text-align: left;
}
.gba-right {
  text-align: right;
}
.func-title {
  font-size: 18px;
  color: #ebd8ae;
  padding: 8px 2px;
}
.gba-input-group {
  display: table;
  padding: 0px 5px 0px 20px;
  border: 1px solid #404040;
  border-radius: 2px;
  background-color: #ffffff;
  width: 90%;
  margin: 3px auto;
}
.gba-input-group.gba-row-even,
.gba-input-group.gba-row-even .gba-label,
.gba-input-group.gba-row-even > div.gba-input-control,
.gba-input-group.gba-row-even div.gba-input-control {
  background-color: #f0f4e8 !important;
}
.gba-input-group input,
.gba-input-group textarea,
.gba-input-group select,
.gba-input-group .ui-inputfield,
.gba-input-group .ui-selectonemenu,
.gba-input-group.gba-row-even input,
.gba-input-group.gba-row-even textarea,
.gba-input-group.gba-row-even select,
.gba-input-group.gba-row-even .ui-inputfield,
.gba-input-group.gba-row-even .ui-selectonemenu {
  background-color: #fff !important;
}
.gba-input-group .gba-input {
  border: 0px;
}
.gba-input-group .gba-label {
  display: table-cell;
  width: 30%;
  border-right: 1px solid #404040;
  color: #000000;
  padding: 5px 8px;
  vertical-align: top;
}
@media only screen and (max-width: 721px) {
  .gba-input-group .gba-label.rwd_tol{
    display: inline-block;
    width: 100%;
  }
}

.gba-input-group .gba-input-control {
  display: table-cell;
  width: 100%;
  border: 0px;
  color: #404040;
  padding: 3px 12px;
  box-shadow: none;
}
/* 密碼眼睛切換 */
.pwd-wrapper {
  display: inline-flex;
  align-items: center;
  max-width: 300px;
}
.pwd-wrapper input {
  flex: 1;
  width: auto !important;
}
.pwd-toggle {
  cursor: pointer;
  padding: 0 8px;
  color: #666;
  font-size: 16px;
}
.pwd-toggle:hover {
  color: #333;
}
.gba-input-group .input-mid {
  display: table-cell;
  width: 50%;
  border-right: 1px solid #404040;
  color: #000000;
  box-shadow: none;
}
.gba-input-group .input-mid .input-text {
  width: 100%;
  box-shadow: none;
  border: 0px;
  padding: 1px 12px;
}
.gba-input-group .input-right {
  display: table-cell;
  width: 20%;
  border: 0px;
}
.gba-sub-menu .gba-brand {
  width: 80%;
  height: auto;
  font-weight: 900;
  font-size: 18px;
  padding-left: 10px;
  padding-top: 5px;
}
.gba-sub-menu .navbar-header {
  height: auto;
}
.gba-sub-menu .navbar-nav > li > a {
  padding-top: 3px;
  padding-bottom: 2px;
  line-height: 20px;
}
.gba-sub-menu .nav {
  padding-top: 10px;
}
.gba-sub-menu .nav > li > a {
  padding: 3px 5px;
}
.work-area-sub-table {
  background-color: #ffffff;
  border: 1px solid #404040;
  border-radius: 16px;
  padding: 15px 8px;
  margin: 2px auto;
  width: 90%;
}
.work-area-table {
  border: none;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 15px 8px;
}
.work-area-table .gba-header {
  display: table;
  font-weight: 900;
  border: 1px solid #404040;
  background-color: #99b7c2;
  width: 100%;
}
.work-area-table .gba-header > div {
  display: table-cell;
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  float: none;
}
.work-area-table .gba-header > div:last-child {
  border-right: 0px;
}
.work-area-table .gba-table-empty {
  padding: 2px 3px;
  border-bottom: 1px solid #404040;
  border-right: 1px solid #404040;
  border-left: 1px solid #404040;
  width: 100%;
}
.work-area-table .gba-tr {
  display: table;
  border-bottom: 1px solid #404040;
  border-right: 1px solid #404040;
  border-left: 1px solid #404040;
  width: 100%;
  color: #404040;
}
.work-area-table .gba-tr > div {
  display: table-cell;
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  float: none;
}
.work-area-table .gba-tr > div:last-child {
  border-right: 0px;
}
.work-area-table .gba-tr .gba-caption {
  color: #ebd8ae;
}
.work-area-table .gba-title {
  font-size: 16px;
  font-weight: 900;
  background-color: inherit;
}
.work-area-table .gba-header-sm {
  font-weight: 900;
  border: 1px solid #404040;
  background-color: #99b7c2;
}
.work-area-table .gba-header-sm > div {
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  float: none;
}
.work-area-table .gba-header-sm > div:last-child {
  border-right: 0px;
}
.work-area-table .gba-table-empty-sm {
  padding: 2px 3px;
  border-bottom: 1px solid #404040;
  border-right: 1px solid #404040;
  border-left: 1px solid #404040;
}
.work-area-table .gba-tr-sm {
  border-bottom: 1px solid #404040;
  border-right: 1px solid #404040;
  border-left: 1px solid #404040;
  color: #404040;
}
.work-area-table .gba-tr-sm > div {
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  float: none;
}
.work-area-table .gba-tr-sm > div:last-child {
  border-right: 0px;
}
.work-area-table .gba-tr-sm .gba-caption {
  color: #ebd8ae;
}
.gba-table {
  overflow-x: auto;
  width: 100%;
}

.gba-table table {
  width: 100%;
}
.gba-table .gba-summary-table {
  width: 1400px;
}
.gba-table .gba-header {
  display: table-row;
  font-weight: 900;
  border: 1px solid #404040;
  background-color: #99b7c2 !important;
}
.gba-table .gba-header > th {
  display: table-cell;
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  text-align: center;
  float: none;
}
.gba-table .gba-header > th input {
  color: #404040;
}
.gba-table .gba-header > th:last-child {
  border-right: 0px;
}
.gba-table .gba-tr {
  display: table-row;
  border-bottom: 1px solid #404040;
  border-right: 1px solid #404040;
  border-left: 1px solid #404040;
  color: #404040;
}
.gba-table .gba-tr > td {
  display: table-cell;
  padding-bottom: 3px;
  border-right: 1px solid #404040;
  float: none;
}
.gba-table .gba-tr > td:last-child {
  border-right: 0px;
}
.gba-table .gba-tr .gba-caption {
  /* color: #ebd8ae; */
  color: #b17a00;
}
.btn.btn-gba {
  background-color: #fff;
  border-color: #2e6da4;
  margin: 3px 4px;
}
.btn.btn-gba:hover,
.btn.btn-gba:focus {
  background-color: azure;
}
.gba-arrow {
  font-size:30px; 
  margin: 10px 0px;
}
.hide {
  display: none;
}
.w120 {
  width: 120px !important;
}
.w200 {
  width: 200px !important;
}
.w250 {
  width: 250px !important;
}
.w300 {
  width: 300px !important;
}
.w20p {
  width: 20% !important;
}
.w30p {
  width: 30% !important;
}
.w70p {
  width: 70% !important;
}
.w80p {
  width: 80% !important;
}
.w100p {
  width: 100% !important;
}
.padding-top-10px {
  padding-top: 10px;
}
.padding-top-15px {
  padding-top: 15px;
}
.padding-top-20px {
  padding-top: 20px;
}
.padding-top-25px {
  padding-top: 25px;
}
.padding-top-30px {
  padding-top: 30px;
}
.padding-top-35px {
  padding-top: 35px;
}
.padding-bottom-10px {
  padding-bottom: 10px;
}
.padding-bottom-15px {
  padding-bottom: 15px;
}
.padding-bottom-20px {
  padding-bottom: 20px;
}
.padding-bottom-25px {
  padding-bottom: 25px;
}
.padding-bottom-30px {
  padding-bottom: 30px;
}
.padding-bottom-35px {
  padding-bottom: 35px;
}
.ui-log {
  top: 350px;
}
.ui-selectonemenu .ui-selectonemenu-trigger {
  width: 26px;
}
.ui-selectonemenu {
  /* max-width: 250px; */
}
.panel-body {
  color: #404040;
}

.dateCalendar input{
  width: 99px  !important;
}

.commandBtnMultiLine{
  white-space: pre;
  text-align: left;
  height: 50px;
}

.ui-growl {
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.ui-growl-title {
    color: #ff0000;
    font-size: large;
    font-weight:normal!important;
}

.ui-growl-item-container{
  opacity:1!important;
  background:white!important;
  background-coler:white!important;
}

.alert-info {
    color: #f5e60b;
    background-color: #000000;
    border-color: #bce8f1;
    font-size: larger;
}

.ui-growl-item > div{
  display:block!important;
}
/*
.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #560000;
}
*/
/*bootstrap nav-tabs background color*/
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{
background-color:#cccccc;
}

.ui-selectoneradio label{
  font-weight:normal!important;
  color:black;
}

.btn-check {
  font-size: 18px;
  padding: 0px 0px 6px 1px;
}

.radio-step4-label{
  color: #000;
    font-weight: 900;
    font-size: 18px;
}

.textField-s{
    resize: vertical !important;;
    width:100%;
    min-height: 160px;
  
}
.menuIconFont{
  font-size:20px;
  /* font-weight:bold; */
}



/*20230220-新增調整*/

#page, .wrapper{
  background: #171717;
}
#page .navbar-default,
.wrapper .navbar-default,
#entirePage .navbar-default{
  background: none;
  border: none;
}
#entirePage .gba-sub-menu .navbar-default{
  background: none;
  border: none;
}
/* === 登入後資訊列 === */
.gba-info-bar {
  background: #f7f5f0;
  border-top: 3px solid #c5a55a;
  padding: 10px 15px;
  margin-top: 20px;
}
.gba-info-toggle {
  text-align: center;
  cursor: pointer;
  padding: 8px 0;
  color: #5a3e1b;
  font-size: 13px;
  user-select: none;
}
.gba-info-toggle:hover {
  color: #c5a55a;
}
.gba-info-toggle .glyphicon {
  margin-left: 5px;
  font-size: 11px;
  transition: transform 0.3s;
}
.gba-info-toggle.collapsed .glyphicon {
  transform: rotate(180deg);
}
.gba-info-body {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 500px;
  opacity: 1;
}
.gba-info-body.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
}
.gba-info-block {
  padding: 0 15px 10px;
  border-right: 1px solid #ddd;
}
.gba-info-block:last-child {
  border-right: none;
}
.gba-info-title {
  font-size: 13px;
  font-weight: bold;
  color: #5a3e1b;
  border-bottom: 2px solid #c5a55a;
  padding-bottom: 5px;
  margin-bottom: 8px;
  margin-top: 0;
}
.gba-info-content {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
}
.gba-info-content h3,
.gba-info-content h4,
.gba-info-content h5 {
  font-size: 12px;
  margin: 4px 0;
}
.gba-info-content p {
  margin: 2px 0;
}
.gba-info-content a {
  color: #2a6496;
}
.gba-info-content a:hover {
  color: #1a4060;
}
/* 隱藏 DB 內容裡重複的「報名活動時間」標題 */
.gba-info-time > div > h4:first-child {
  display: none;
}
@media (max-width: 991px) {
  .gba-info-block {
    border-right: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .gba-info-block:last-child {
    border-bottom: none;
  }
}

#entirePage #footer{
  position: relative;
  height: auto;
  bottom: auto;
}
#footer .container{
  padding-top: 15px;
  padding-bottom: 15px;
}
#page .wrapper-body,
.wrapper .wrapper-body{
  padding-top: 15px;
  padding-bottom: 15px;
}
#page .wrapper-body h4 span[style^="color: #ff0000;"],
.wrapper .wrapper-body h4 span[style^="color: #ff0000;"]{
  color: #5a2515 !important;
  font-weight: 800;
}
#page .wrapper-body span[style^="color: #5b0000;"],
.wrapper .wrapper-body span[style^="color: #5b0000;"]{
  color: #c85133 !important;
  padding-top: 0px;
  display: inline-block;
}
/* #page .wrapper-body h4+span[style^="color: #5b0000;"]{
  padding-top: 0px;
} */
#page .wrapper-body h5,
.wrapper .wrapper-body h5{
  margin: 0;
}
#page .wrapper-body h5 a[style^="color: #000000;"],
.wrapper .wrapper-body h5 a[style^="color: #000000;"]{
  color: #337ab7 !important;
  margin-bottom: 5px;
  display: inline-block;
}
#page .wrapper-body p,
.wrapper .wrapper-body p{
  margin: 0;
  color: #000 !important;
}
#page .main-area,
.wrapper .main-area{
  margin: 0px auto 10px;
  background-color: #fff2d5;
  padding-bottom: 15px;
}
#page .panel,
.wrapper .panel{
  border-radius: 8px;
}
#page .panel-default,
.wrapper .panel-default{
  border: 1px solid #ebd8ae;
  background: #fff;
}
#page .panel-default > .panel-heading,
.wrapper .panel-default > .panel-heading{
  background-color: #c85133;
  border-color: #ebd8ae;
  color: #ffffff;
  border-radius: 8px 8px 0 0;
}
#page .main-area h4{
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e8d19d;
    padding: 8px 10px 5px;
    background: #ffe5ac;
    border-radius: 8px 8px 0 0;
}

#entirePage .main-area{
  margin: 12px auto 20px;
    background-color: #ebd8ae;
    padding-bottom: 0px;
    /* padding: 0; */
}
#entirePage .main-area .bg_style_w{
      border: none;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 10px 0 0;
}
#entirePage .main-area .gba-title{
  background-color: #c85133;
    border-color: #fff;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
}

#entirePage .main-area .center-group{
  text-align: center;
}
#entirePage .main-area .gba-center{
      width: 100%;
    padding: 0;
    margin-top: 5px;
}
#entirePage .alert-info{
    background: #968258;
    color: #fff;
    /* border: none; */
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
    border: 1px solid #ffffff;
    box-shadow: inset 0px 0px 10px #6b5526;
    letter-spacing: 0.04em;
}
#entirePage .form-control{
    border: 0;
    outline: 0;
    padding: 8px 1em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
    width: 100%;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 20%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 20%);
    resize: none;
}
#entirePage .input-group-addon{
    background: none;
    border: none;
}
#entirePage .btn-group a{
    color: white;
    background: #ac2302;
    display: inline-block;
    width: calc(100% + 20px);
    margin-left: -10px;
        padding: 8px 12px;
}
#entirePage .gba-container .work-area-table{
      padding: 15px 0 10px;
}
#entirePage .gba-container .work-area-table .gba-table{
  margin-top: 10px;
}
#entirePage .gba-container .work-area-table .gba-table td a.ui-commandlink{
      margin: 5px 1px;
}
#entirePage .gba-container .work-area-table .gba-title{
      background: none;
    color: #000;
    font-size: 1.4em;
    text-align: left;
}
#entirePage .gba-container .work-area-table .gba-title-red{
        color: #c73737;
    font-size: 1.1em;
    text-align: left;
    font-weight: 600;
    padding: 0;
}
#entirePage .gba-container .work-area-table .gba-Subtitle{
    color: #4a4a4a !important;
    font-size: 0.7em;
    text-align: left;
    white-space: pre-wrap;
}
#entirePage .gba-container h4 span[style^="color: #ff0000;"]{
  color: #5a2515 !important;
  font-weight: 800;
}
#entirePage .gba-container span[style^="color: #5b0000;"]{
  color: #c85133 !important;
  padding-top: 10px;
  display: inline-block;
}
#entirePage .gba-container h4+span[style^="color: #5b0000;"]{
  padding-top: 0px;
}
#entirePage .gba-container h5 a[style^="color: #000000;"]{
  color: #337ab7 !important;
  margin-bottom: 5px;
  display: inline-block;
}
#entirePage .gba-container p{
  margin: 0;
  color: #000 !important;
}
#entirePage .panel{
  border-radius: 8px;
}
#entirePage .panel-default{
  border: 1px solid #ebd8ae;
  background: #ebd8ae;
}
#entirePage .panel-default > .panel-heading{
  background-color: #c85133;
  border-color: #fff;
  color: #ffffff;
  border-radius: 8px 8px 0 0;
}

#entirePage .gba-container .form1 .row{
  margin: 0;
}
#entirePage .gba-container .form1 .row div.col-lg-8[style^="text-align: center;"]{
  background: #FFF;
  border-radius: 8px;
  padding: 20px 10px;
}
#entirePage .gba-container .form1 .row div.col-lg-8[style^="text-align: center;"] img{
      width: 70%;
    margin: 0 auto;
}
#entirePage .gba-container .form1 .row div.col-lg-8[style^="text-align: center;"] span[style^="font-size:26px;"]{
  color: #000;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}
#entirePage .gba-container .gba-input-group{
  width: 100%;
      background: none;
    border: none;
    padding: 0px 5px 0px 5px;
}
#entirePage .gba-container .gba-input-group .input-mid{
  border: none;
}
#entirePage .gba-container .gba-input-group input{
  border: 1px solid #c6c6c6;
      background: #f2f2f2;
    outline: 0;
    padding: 8px 1em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
    width: 100%;
    /* -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 20%) !important;
    box-shadow: 0 1px 1px rgb(0 0 0 / 20%) !important; */
    resize: none;
    font-size: 1em;
}
#entirePage .gba-input-group .gba-label{
  border: none;
}
#entirePage .gba-container .gba-input-control{
  padding: 0;
  display: inline-flex;
    flex-wrap: wrap;
    position: relative;
    align-items: center;
}
#entirePage .gba-container .gba-input-control-flex-start td:nth-child(2) {
  width: 100%;
}
#entirePage .gba-container .gba-input-control-nowrap{
  padding: 0;
  display: flex;
    flex-wrap: nowrap;
    position: relative;
    align-items: center;
    margin: 0 auto;
}
#entirePage .gba-container .gba-input-control-flex-start{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
}
#entirePage .gba-container .gba-input-control-flex-column{
      display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#entirePage .gba-container .gba-input-control-white-space-nowrap{
  white-space:nowrap;
}
#entirePage .gba-container .gba-input-control .gba-input-control-box{
      border: 1px solid #3c667c;
    border-radius: 6px;
    width: 100%;
    background: #fafafa78;
    padding: 10px;
}
#entirePage .gba-container .gba-input-control.ui-inputfield{
  padding: 8px;
}
#entirePage .gba-container .ui-selectonemenu{
  background: #f2f2f2;
  border: 1px solid #c6c6c6;
  margin-bottom: 6px;
}
#entirePage .gba-container .ui-selectonemenu .ui-selectonemenu-label{
  box-shadow: none;
}
#entirePage .gba-container .gba-input-control .ui-calendar.dateCalendar input{
  float: left;
}
#entirePage .gba-container .gba-input-control .ui-calendar.dc-inline-block{
  display: inline-block;
}
#entirePage .gba-container .gba-input-control .ui-commandlink{
  position: relative;
  /* right: 0; */
  z-index: 99;
  margin: 0px 5px 2px 0px;
  padding: 7px 16px;
}
#entirePage .gba-container .gba-input-control div[style^="border: 1px solid #3c3c3c;"] .ui-commandlink{
  position: absolute;
  right: 0;
  z-index: 99;
}

#entirePage .main-area .gba-input-group .ui-inputfield{
    padding: 8px;
    box-shadow: none;
    margin-right: 5px;
}
#entirePage .main-area .gba-input-group label.ui-inputfield{
  padding: 6px;
    font-size: 0.9em;
    background: #f2f2f2;
}
#entirePage .gba-container .ui-selectonemenu .ui-selectonemenu-trigger{
  display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
#entirePage .gba-container .gba-input-control table td[style^="border-right: 1px solid #000;"]{
  border: none !important;
}
#entirePage .gba-container .gba-input-control.gba-input-control-flex-none{
      display: inline-block;
}
#entirePage .gba-container .gba-input-control.gba-input-control-flex-none .gba-input-control-episode{
      display: inline-flex;
    width: 100%;
    margin: 5px 0;
}
#entirePage .gba-container .gba-input-control .gba-input-control-flex{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
#entirePage .gba-container .gba-input-control .gba-input-control-flex .ui-selectonemenu{
    margin: 0;
}
/* #entirePage .container-fluid{
  background: #171717;
} */
#entirePage .ui-button{
  padding: 0.209em;
}
#entirePage .btn {
    margin: 0px 5px;
    padding: 8px 16px;
    border: 0;
    background: #79984c;
    color: #fff;
    position: relative;
}
#entirePage .btn.btn-priall{
  background: #b70000;
    font-weight: 600;
    font-size: 1.1em;
}
#entirePage .btn.btn-danger{
      background: #c85133;
}
#entirePage .btn.ui-icon_only{
    padding: 4px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
}
#entirePage .btn[id^="form1:j_idt98:j_idt102"]{
    padding: 4px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
}
#entirePage .btn.ui-icon_only span.glyphicons,
#entirePage .btn.ui-icon_only span.glyphicon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#entirePage .btn[id^="form1:j_idt98:j_idt102"] span.glyphicon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#entirePage .ui-dialog-content .btn[id^="form1:j_idt98:j_idt102"]{
      padding: 8px 16px;
    min-width: inherit;
    min-height: inherit;
    max-width: inherit;
    max-height: inherit;
}
#entirePage .btn.btn-gba{
  margin: 0px 5px;
    padding: 4px;
    border: 0;
    background: #79984c;
    color: #fff;
    top: -2px;
    position: relative;
}
#entirePage .ui-chkbox .ui-chkbox-box{
  margin: 3px;
}
#entirePage .required:before{
  color: #c85133;
}
#entirePage .ui-widget.ui-dialog{
  text-align: center;;
}
#entirePage .ui-widget{
  font-size: 1em;
}
#entirePage .ui-widget.ui-selectoneradio .ui-radiobutton,
#entirePage .ui-widget.ui-selectoneradio label{
  margin-right: 5px;
}
#entirePage .ui-widget.ui-chkbox .ui-chkbox-box{
  width: 24px;
  height: 24px;
}
#entirePage .ui-widget.ui-chkbox .ui-chkbox-box .ui-chkbox-icon.ui-icon{
  margin: 3px;
}
#entirePage .ui-widget.ui-radiobutton{
  width: 22px;
  margin: 2px 0;
}
#entirePage .ui-widget.ui-radiobutton .ui-radiobutton-box{
  width: 20px;
  height: 20px;
}
#entirePage .ui-widget.ui-radiobutton .ui-radiobutton-box .ui-radiobutton-icon.ui-icon{
  margin: 1px;
}
#entirePage .ui-fileupload .ui-fileupload-content .ui-progressbar{
  width: 150px;
}
#entirePage .main-area .work-area-sub-table{
      border-radius: 8px;
    padding: 20px 0;
    border-color: #c87b3382;
    background: #fff7e6;
}
#entirePage .main-area .form1 .nav{
  padding-top: 0;
    border-bottom: 1px solid #c85133;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
}
#entirePage .main-area .form1 .nav li{
      margin-bottom: 0px;
}
#entirePage .main-area .form1 .nav li a{
  background: #e8e8e8;
    color: #c85133;
    border-radius: 4px 4px 0 0;
    border: none;
    height: 100%;
        display: inline-flex;
    align-items: center;
}
.radio-prize #entirePage .main-area .form1 .nav li a{
      min-height: 65px;
}
#entirePage .main-area .form1 .nav li.active a{
  background: #c85133;
    color: #fff;
}
#entirePage .main-area .form1 .nav.broadcast-nav{
  width: 100%;
}
#entirePage .main-area .form1 .nav.broadcast-nav li{
  width: 14.28%;
}

#entirePage .main-area .form1 .nav.broadcast-nav li button{
      width: 100%;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    display: inline-block;
}
#entirePage .main-area .form1 .nav.broadcast-nav li button.ui-button-icon-left{
  left: 0.7em;
}
#entirePage .main-area .form1 .nav.broadcast-nav li button .ui-button-text{
      padding-top: 0;
    padding-bottom: 0;
}
#entirePage .main-area .form1 .nav li button.ui-button{
  border-bottom: none;
      -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}
#entirePage .print_title{
    font-size: 1.1em;
    color: #000;
    font-weight: 600;
    display: inline-block;
}
#entirePage .ui-messages-error, #entirePage .ui-message-error{
  margin: 3px 0 0;
    background: #e72e50;
    padding: 6px;
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#entirePage .ui-messages-info, #entirePage .ui-message-info{
  margin: 3px 0 0;
    /* background: #e72e50; */
    padding: 6px;
    /* color: #fff; */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
        text-align: left;
}
#entirePage .work-area-sub-table .fileUploadClz{
          margin: 10px 0 0;
    display: inline-block;
    width: 100%;
}
#entirePage .gba-table .gba-header{
      background-color: #4a4a4a !important;
          height: 35px;
}
#entirePage .gba-table .gba-header > th{
  padding: 2px 0;
}
#entirePage .gba-table .gba-header > th .btn{
  background: #fff;
      color: #3c667c;
      margin: 5px 2px;
}
#entirePage .gba-table .gba-header > th .btn .glyphicons:before{
  padding: 0;
}
#entirePage .gba-table .gba-tr > td{
  padding: 6px;
    font-size: 1em;
    line-height: 1.4;
}
#entirePage .gba-table .gba-tr > td .ui-inputfield{
  box-shadow: none;
}
/* #entirePage .ui-fileupload-choose,
#entirePage .ui-button-text-icon-left,
#entirePage .ui-button-icon-only{
      margin: 0px 5px;
    padding: 4px;
    border: 0;
    background: #79984c;
    color: #fff;
    text-shadow: none;
} */
/* #entirePage .ui-state-default .ui-icon{
  background-image: url("/javax.faces.resource/images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo")
} */
#entirePage .tab_area{
  padding: 0;
}
#entirePage .tab_btns{
    margin: 10px 0 5px !important;
    border-bottom: 1px solid #c85133;
    padding: 0;
}
#entirePage .tab_btns div{
    padding: 0;
    text-align: center;
}
#entirePage .tab_btns a{
    padding: 5px 10px 8px;
    background: #c85133;
    border-radius: 8px 8px 0 0;
    display: inline-block;
    width: calc(98% - 0px);
    text-align: center;
    color: #ffffff;
    text-decoration: unset;
}
#entirePage .tab_btns a:hover{
  background: #982204;
}
body.tv-prize{
  background: #171717;
  color: #ffffff;
}
.radio-prize{
  background: #2c2745;
  color: #ffffff;
}
.radio-prize .wrapper,
.radio-prize #entirePage .navbar-default{
  background: none;
}
.contribute-prize{
  background: #171717;
  color: #ffffff;
}

/*NAV*/
#entirePage .navbar-default .navbar-nav > li > a {
  color: #8b8b8b;
  line-height: 20px;
}
#entirePage .navbar-default .navbar-nav > li > a:focus,
#entirePage .navbar-default .navbar-nav > li > a:hover {
  color: #ebd8ae;
}
#entirePage .navbar-default .navbar-nav > .active > a{
  color: #ebd8ae;
  background:none
}

.gba-container .gba-sub-menu .gba-brand{
      color: #000000 !important;
    font-weight: 800;
    font-size: 1.8em;
    padding: 0;
    width: 100%;
    margin-bottom: 10px;
}
.gba-container .gba-sub-menu .container-fluid{
  padding-left: 0;
  padding-right: 0;
}
.gba-container .gba-sub-menu .container-fluid #work-home-menu{
  padding-left: 0;
  padding-right: 0;
}
.gba-container .gba-sub-menu .nav{
  padding-top: 0;
}
.gba-sub-menu .navbar-default{
  margin-bottom: 5px;
}
.gba-container .gba-sub-menu .container-fluid .col-lg-12{
  padding-left: 0;
  padding-right: 0;
}
.gba-container .p-d-a-0{
  padding: 0;
}
.gba-container .container{
  padding: 0;
}
@media only screen and (max-width: 991px) {
  .gba-container .container{
    margin: 0 18px;
    width: auto;
  }
  .gba-container .container .row{
    margin: 0;
  }
  #entirePage .main-area .form1 .nav{
        margin-left: 18px;
    margin-right: 18px;
    width: calc(100% - 36px);
  }
}
#entirePage .glyphicons:before{
  /* padding: 2px; */
  padding: 2px;
    margin-right: 5px;
}
#entirePage .ui-icon_only .glyphicons:before{
  padding: 2px;
  margin-right: 0;
}
.gba-toolbar{
  border-bottom: 1px solid #ebd8ae;
}
.gba-toolbar .nav-tabs{
  display: flex;
}
.gba-toolbar .nav-tabs li{
  width: 34px;
}
.gba-toolbar .nav-tabs li span.glyphicons{
      color: #ebd8ae;
}
.gba-toolbar .nav-tabs li[role^="presentation"]{
  width: calc(20% - 20px);
}
.gba-toolbar .nav-tabs > li > a{
  height: 100%;
  border: none;
}
.gba-toolbar .nav-tabs > li > a:hover span{
  color: #c85133 !important;
}
.gba-toolbar .nav-tabs>li.active>a{
      background: #c85133;
    color: #fff !important;
    border: 2px solid #ebd8ae;
    border-bottom: none;
    padding: 10px 15px;
}
.gba-toolbar .nav-tabs>li.active>a span{
  color: #fff !important;
  font-size: 1em;
}

.ui-growl .ui-growl-title{
  text-shadow: none;
}

.ui-selectonemenu .ui-corner-all{
      -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.ui-messages ul .ui-messages-warn{
  color: #8d6c33;
}

.podcastUrlInput{
  width:400px;
}

#entirePage .gba-container .gba-input-group textarea{
  border: 1px solid #c6c6c6;
      background: #f2f2f2;
    outline: 0;
    padding: 8px 1em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
    width: 100%;
    /* -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 20%) !important;
    box-shadow: 0 1px 1px rgb(0 0 0 / 20%) !important; */
    font-size: 1em;
    min-height:80px !important;
}

.printSummaryBtn {
    color: #00ff00; 
}

.printSummaryBtn:link, .printSummaryBtn:visited, .printSummaryBtn:hover, .printSummaryBtn:active {
    color: #00ff00; /* 確保所有連結狀態下文字都是同色 */
}

/* 開放所有textarea可自由上下拉 */
textarea,.ui-inputtextarea 
{
  resize: vertical !important;
}

.text-center {
  text-align: center;
}

/* checkbox_def: 未勾選時不顯示 icon，勾選時交給全域 filter 反白處理 */
.checkbox_def .ui-chkbox-box:not(.ui-state-active) .ui-icon{
  background-image: none;
}

/**/
table.rwd-table {
  border-collapse: collapse;
  /* border: 1px solid #cdcdcd;
  font: normal 12px arial; */
  width: 100%;
  padding: 0 ;
  /* border: 1px solid #404040; */
}
table.rwd-table td,
table.rwd-table th {
  /* border: 1px solid #cdcdcd;
  padding: 8px; */
}
.halflings_btn.halflings{
  display: none;
}
table.rwd-table.gba-table .gba-tr td.rwd-table-td .rwd-table-td-title{
    min-width: 100px;
    display: none;
  }
@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  table.rwd-table,
  table.rwd-table thead,
  table.rwd-table tbody,
  table.rwd-tabl th,
  table.rwd-table td,
  table.rwd-table tr {
    display: block !important;
  }
  table.rwd-table{
        border-collapse: collapse;
    width: 100%;
    /* border: 1px solid #404040;
    border-radius: 6px; */
    padding: 0 5px ;
    /* border-left: 5px solid #79984c; */
  }
  table.rwd-table table{
        display: inline-block !important;
    width: auto;
  }
  table.rwd-table table tr{
    display: flex !important;
  }
  table.rwd-table.gba-table .gba-tr{
    border: none;
    text-align: left;
  }
  table.rwd-table.gba-table .gba-tr td{
    border: none;
  }
  table.rwd-table.gba-table .gba-tr td.rwd-table-td{
      display: flex !important;
        align-items: center;
        border-bottom: 1px solid #c6c6c6;
        margin-right: 10px;
        
  }
  table.rwd-table.gba-table .gba-tr td.rwd-table-td .rwd-table-td-title{
    display: block;
  }
  table.rwd-table.gba-table .gba-tr td.rwd-table-td:last-child{
    float: right;
    border-bottom:none;
  }
  .halflings_btn.halflings{
    display: inline-block;
    margin: 0 5px;
  }
  table.rwd-table thead tr {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
  }

  table.rwd-table tr {
    
    /* border-bottom: 2px solid #690461 !important; */
  }
  table.rwd-table.gba-table .gba-tr{
    display: inline-block !important;
        border-collapse: collapse;
        width: 100%;
        border: 1px solid #404040;
        border-radius: 6px;
        padding: 0 0 0 10px;
        border-left: 5px solid #79984c;
        margin-bottom: 5px;
  }
  table.rwd-table > td {
    border: none !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
    padding-left: 50% !important;
    text-align: left !important;
  }

  table.rwd-table > td:before {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    width: 45% !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    font-weight: bold !important;
  }
  table.rwd-table .gba-tr-none td:nth-of-type(1):before {
    content: "" !important;
    color: #000000 !important;
    min-width: inherit;
  }
  /* table.rwd-table > tbody > tr > td:nth-of-type(1)::before {
    content: "選擇" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(2)::before {
    content: "序號" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(3)::before {
    content: "姓名" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(4)::before {
    content: "藝名" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(5)::before {
    content: "外籍" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(6)::before {
    content: "性別" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(7)::before {
    content: "本名公開" !important;
    color: #000000 !important;
  }
  table.rwd-table > tbody > tr > td:nth-of-type(8)::before {
    content: "是否年滿18歲" !important;
    color: #000000 !important;
  } */
  /* table.rwd-table > tbody > tr > td:nth-of-type(9)::before {
    content: "個人照" !important;
    color: #000000 !important;
  } */
  table.rwd-table > tbody > tr > td::before{
        min-width: 100px;
        display: inline-block;
  }
  table.rwd-table td .gba-input-control-nowrap{
    display: inline-block !important;
    margin: 0 !important;
  }
  table.rwd-table td table td::before {
      content: "" !important; /* 清除內層 td 的 ::before 樣式 */
  }
}

/* ===== Validation Summary（上方彙總錯誤訊息） ===== */
.gba-validation-summary {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.gba-validation-summary .ui-messages-error {
  border-left: 4px solid #a94442;
}
.gba-validation-summary .ui-messages-info {
  border-left: 4px solid #31708f;
}

/* ===== PrimeFaces Checkbox 勾勾對比度修正 ===== */
.ui-chkbox-box.ui-state-active {
  background: #2a6496 !important;
  border-color: #1e4f78 !important;
}
.ui-chkbox-box.ui-state-active .ui-chkbox-icon {
  filter: brightness(0) invert(1);
}

/* 製作單位/參賽單位 順位標籤 */
.producer-container {
  display: inline-block;
  vertical-align: top;
}
.producer-container .ui-autocomplete,
.producer-container .ui-autocomplete-input {
  width: 100% !important;
  box-sizing: border-box;
}
.producer-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #337ab7;
  color: #fff;
  border-radius: 4px;
  padding: 6px 8px;
  margin: 3px 0;
  font-size: 13px;
  line-height: 1.5;
  min-height: 34px;
  box-sizing: border-box;
}
.producer-tag-left {
  display: flex;
  align-items: center;
  min-width: 0;
}
.producer-tag-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
}
.producer-seq {
  font-weight: bold;
  margin-right: 2px;
  color: #ffd700;
  flex-shrink: 0;
}
.producer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.producer-move-btn {
  padding: 2px 5px !important;
  margin: 0 1px !important;
  vertical-align: middle;
  line-height: 1 !important;
}
.producer-move-btn.btn-default {
  background: rgba(255,255,255,0.3) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}
.producer-move-btn.btn-default:hover {
  background: rgba(255,255,255,0.5) !important;
}
.producer-move-btn.btn-danger {
  background: rgba(217,83,79,0.8) !important;
  border-color: rgba(217,83,79,0.9) !important;
  color: #fff !important;
}
.producer-move-btn.btn-danger:hover {
  background: rgba(217,83,79,1) !important;
}

/* ===== Podcast 側欄錨點導航 ===== */
.podcast-side-nav {
  position: fixed;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(23, 23, 23, 0.92);
  border: 1px solid #ebd8ae;
  border-radius: 6px;
  padding: 10px 0;
  width: 110px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.podcast-side-nav-title {
  color: #ebd8ae;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 0 8px 6px;
  border-bottom: 1px solid rgba(235,216,174,0.3);
  margin-bottom: 4px;
}
.podcast-side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.podcast-side-nav li a {
  display: block;
  padding: 5px 10px;
  color: #ccc;
  font-size: 12px;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.podcast-side-nav li a:hover,
.podcast-side-nav li a:focus {
  background: rgba(235,216,174,0.15);
  color: #ebd8ae;
  text-decoration: none;
}
/* anchor offset（無 fixed header，留 20px 呼吸空間） */
.gba-anchor-offset {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  margin-top: -20px;
  padding-top: 20px;
}
/* 窄螢幕隱藏側欄 — 斷點 991px（與專案 gba.css L358, L945, L1631 一致） */
@media (max-width: 991px) {
  .podcast-side-nav { display: none; }
}

/* ===== Mobile RWD — 防止小螢幕水平溢出 ===== */

/* 表格：在容器內水平捲動，而不是撐破頁面 */
.gba-table {
  -webkit-overflow-scrolling: touch;
}

/* PrimeFaces Dialog：小螢幕強制不超過 viewport */
@media (max-width: 768px) {
  /* --- Dialog 寬度限制 --- */
  .ui-dialog {
    width: calc(100vw - 20px) !important;
    max-width: 100vw !important;
    left: 10px !important;
    right: 10px !important;
  }
  .ui-dialog .ui-dialog-content {
    overflow-x: auto;
  }

  /* --- 表格固定寬度欄位改自適應 --- */
  .gba-table th[style*="width:"],
  .gba-table td[style*="width:"] {
    width: auto !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
  .gba-summary-table {
    width: 100% !important;
  }

  /* --- 固定寬度 utility classes 改自適應 --- */
  .w120, .w200, .w250, .w300 {
    width: auto !important;
    max-width: 100% !important;
  }

  /* --- 表單 input 固定寬度改 100% --- */
  .gba-input-control p:input[style*="width:"],
  .gba-input-control input[style*="width:"],
  .gba-input-control .ui-inputfield[style*="width:"],
  #entirePage .gba-container .gba-input-control input[type="text"],
  #entirePage .gba-container .gba-input-control .ui-inputfield {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* --- gba-input-group label+control 改垂直堆疊 --- */
  .gba-input-group {
    display: block !important;
    width: 100% !important;
    padding: 0 8px !important;
  }
  .gba-input-group .gba-label {
    display: block !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #ddd;
    padding: 5px 8px !important;
  }
  .gba-input-group .gba-input-control,
  .gba-input-group .gba-input-control-flex,
  .gba-input-group .gba-input-control-flex-start,
  .gba-input-group .gba-input-control-nowrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 5px 0 !important;
  }

  /* --- flex-start max-width 放開 --- */
  #entirePage .gba-container .gba-input-control-flex-start {
    max-width: 100% !important;
  }

  /* --- 上傳區塊按鈕不超出 --- */
  .upload_group {
    overflow-x: auto;
  }

  /* --- video 元素自適應 --- */
  video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* --- 播放資訊表格 colgroup/col 固定寬度放開 --- */
  col[style*="width:"] {
    width: auto !important;
  }

  /* --- Step 工具列容器：手機上去除 padding 讓 tab 撐滿 --- */
  .gba-toolbar .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  /* --- Step 工具列：隱藏箭頭，換行排列 --- */
  .nav-tabs {
    display: flex !important;
    flex-wrap: wrap;
    border-bottom: none;
    gap: 0;
    padding: 0;
  }
  /* 隱藏箭頭 li（只含 gba-arrow 的） */
  .nav-tabs > li:not([role="presentation"]) {
    display: none !important;
  }
  /* 「回參賽作品列表」獨佔一整行 */
  .nav-tabs > li[role="presentation"]:first-child {
    flex: 0 0 100%;
    border-bottom: 1px solid #ddd;
    margin-bottom: 4px;
  }
  /* Step 1~4 均分第二行，撐滿寬度 */
  .nav-tabs > li[role="presentation"]:not(:first-child) {
    flex: 1 1 0;
    text-align: center;
  }
  .nav-tabs > li[role="presentation"]:not(:first-child) > a,
  .nav-tabs > li[role="presentation"]:not(:first-child) > .ui-commandlink {
    display: block;
    width: 100%;
  }
  .nav-tabs > li > a,
  .nav-tabs > li > .ui-commandlink {
    padding: 8px 4px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
  .gba-arrow {
    display: none !important;
  }

  /* --- 獎項選擇：下拉選單+按鈕垂直堆疊 --- */
  .work-area-table .col-xs-6 {
    width: 100% !important;
    float: none !important;
  }
  .work-area-table .col-xs-6 span[style*="float"] {
    float: none !important;
    display: block;
    margin-bottom: 8px;
  }
  .work-area-table .ui-selectonemenu {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ===== 作品列表卡片式 RWD（gba-card-table） ===== */
/* 桌面版：隱藏卡片專用文字 */
.gba-card-action-text { display: none; }

@media (max-width: 768px) {
  /* --- 卡片式表格 --- */
  .gba-card-table thead {
    display: none;
  }
  .gba-card-table,
  .gba-card-table tbody {
    display: block !important;
    width: 100% !important;
  }
  /* tr 用 flex wrap：資料格全寬，操作格併排 */
  .gba-card-table .gba-tr {
    display: flex !important;
    flex-wrap: wrap;
    border: 1px solid #c5a55a;
    border-left: 5px solid #79984c;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: #fff;
    width: 100% !important;
  }
  .gba-card-table .gba-tr > td {
    display: block !important;
    flex: 0 0 100%;
    border: none !important;
    padding: 4px 0 !important;
    text-align: left !important;
    float: none !important;
    width: auto !important;
  }
  /* 第一個 td（作品名稱）做為卡片標題 */
  .gba-card-table .gba-tr > td:first-child {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #e0d5c0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 6px;
  }
  /* 有 data-label 的 td — 前面加欄位名 label（獨立一行） */
  .gba-card-table .gba-tr > td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #79984c;
    margin-bottom: 2px;
  }
  /* 操作按鈕格 — 不佔全寬，併排顯示 */
  .gba-card-table .gba-tr > td.gba-card-action-cell {
    flex: 0 0 auto !important;
    border-top: none !important;
    padding: 4px 4px !important;
    margin-top: 0 !important;
  }
  /* 用最後一個 data-label td 的 border-bottom 當分隔線 */
  .gba-card-table .gba-tr > td[data-label]:last-of-type {
    border-bottom: 1px solid #e0d5c0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 6px;
  }
}

/* 更小螢幕（手機 portrait） */
@media (max-width: 480px) {
  /* 表單區域全寬 */
  .gba-input-group {
    margin: 3px 0 !important;
  }

  /* 按鈕群組：換行排列 */
  .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .btn-group a, .btn-group .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  /* 頁面主區域不留過多 padding */
  .main-area {
    padding: 0 5px !important;
  }

  /* 工具列 tab 文字不截斷 */
  .nav-tabs > li > a {
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
}