@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

.lazy-bg {
    background-color: #f3f3f3; /* 預留空白或loading顏色 */
    background-size: cover;
    background-position: center;
}

/*loading*/
.loading {
  display: none;
  width: 100%;
  height: 100vh;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-box-sizing: border-box; }
  .loading .box {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -60%);
            transform: translate(-50%, -60%); }
    .loading .box .message {
      max-width: 300px;
      font-size: 1.5rem;
      color: #fff;
      font-weight: 500;
      text-align: center;
      text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
      margin: auto; }


/*select2 plugin 樣式修改*/
.select2-container--default .select2-selection--single {
  height: 40px;
  border: solid 1px #c0c0c0;
  transition: all 0.3s; }

.form-control.error ~ .select2-container--default .select2-selection--single {
  border-color: #ff2323 !important; }

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #f5f5f5; }

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
  color: #343434;
  padding-left: 1rem; }

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px; }

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
  border-color: #129cff !important;
  box-shadow: 0 1px 8px 0 #ddf1ff; }

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #c0c0c0; }

.select2-container .select2-selection--multiple {
  min-height: 40px;
  line-height: 18px; }

.select2-container--default .select2-selection--multiple {
  border: 1px solid #c0c0c0 !important;
  transition: all 0.3s; }

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #129cff !important;
  box-shadow: 0 1px 8px 0 #ddf1ff; }

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 8px; }

.select2-dropdown {
  border-color: #129cff;
  box-shadow: 0 1px 8px 0 #ddf1ff; }

.select2-search--dropdown {
  padding: 16px; }

.select2-search--dropdown .select2-search__field {
  height: 40px;
  font-size: 1rem;
  padding: 0.5625rem 1rem;
  border-radius: 4px;
  outline: 0; }
  .select2-search--dropdown .select2-search__field:focus {
    border: 1px solid #129cff;
    box-shadow: 0 1px 8px 0 #ddf1ff; }

.select2-results__option {
  padding: 0.5rem 1rem; }

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  font-size: 0.875rem;
  margin-top: 5px;
  margin-right: 8px;
  padding: 4px;
  line-height: normal;
  border-radius: 4px;
  background-color: #3371e9;
  border-color: #3371e9;
  color: #fff; }

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 4px;
  font-weight: normal; }

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #fff; }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #129cff; }

.select2-container--default .select2-search--inline .select2-search__field {
  line-height: 30px; }

.select2-container--default .select2-search--inline .select2-search__field::-webkit-input-placeholder {
  color: #c0c0c0; }

.select2-container--default .select2-search--inline .select2-search__field::-moz-placeholder {
  color: #c0c0c0; }

.select2-container--default .select2-search--inline .select2-search__field:-ms-input-placeholder {
  color: #c0c0c0; }

.select2-container--default .select2-search--inline .select2-search__field::-ms-input-placeholder {
  color: #c0c0c0; }

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
  color: #c0c0c0; }

.select2-container--default .select2-results__group {
  font-weight: 500;
  font-size: 1.125rem; }

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(18px);
          transform: translateY(18px);
  margin: auto; }

.select2-container--default .select2-results > .select2-results__options {
  max-height: 400px; }

/*Bootstrap Material DatePicker css修改*/
.dtp > .dtp-content > .dtp-date-view > header.dtp-header {
  background: #3371e9; }

.dtp div.dtp-date,
.dtp div.dtp-time {
  background: #3153ba; }

.dtp .p10 > a {
  color: #3371e9; }

.dtp div.dtp-actual-year {
  color: #c9dbff; }

.dtp table.dtp-picker-days {
  margin: auto; }

.dtp table.dtp-picker-days tr > td > a.selected {
  background: #3371e9; }

.dtp .dtp-buttons {
  display: flex;
  justify-content: flex-end; }

.dtp-buttons .btn {
  width: auto !important;
  height: auto;
  padding: 5px 20px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: none;
  border-radius: 2px;
  position: relative;
  margin: 10px 1px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  will-change: box-shadow, transform;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 0;
  cursor: pointer;
  text-decoration: none;
  background: 0 0; }
  .dtp-buttons .btn:hover {
    background-color: rgba(153, 153, 153, 0.2); }

/*jQuery UI 拖曳排序css修改*/
.ui-sortable tr {
  cursor: -webkit-grab;
  cursor: grab; }

.ui-sortable-helper {
  display: table;
  cursor: -webkit-grabbing;
  cursor: grabbing;
  box-shadow: 0 4px 4px 0 rgba(149, 149, 149, 0.25);
  border: solid 1px #dfdfdf; }
  .ui-sortable-helper td {
    cursor: -webkit-grabbing;
    cursor: grabbing; }

.ui-state-highlight {
  border: 0;
  border-top: 3px solid #129cff !important;
  color: transparent;
  background-color: #129cff !important; }
  .ui-state-highlight td {
    visibility: hidden; }

/*multiple select套件css設定修改*/
.multiSelectSearch.ms-parent {
  padding: 0;
  display: flex;
  align-items: center;
  border: 0; }
  .multiSelectSearch.ms-parent .ms-choice {
    height: auto;
    min-height: 40px;
    overflow: inherit;
    white-space: inherit;
    line-height: normal;
    border: solid 1px #c0c0c0; }
    .multiSelectSearch.ms-parent .ms-choice > span {
      position: static;
      top: inherit;
      left: inherit;
      right: inherit;
      white-space: inherit;
      overflow: inherit;
      text-overflow: inherit;
      font-size: 1rem;
      padding: 0.5625rem 1rem; }
      .multiSelectSearch.ms-parent .ms-choice > span.placeholder {
        color: #c0c0c0; }
    .multiSelectSearch.ms-parent .ms-choice.disabled {
      background-color: #f5f5f5; }
  .multiSelectSearch.ms-parent .ms-drop {
    box-sizing: border-box; }
    .multiSelectSearch.ms-parent .ms-drop .ms-search {
      padding: 1rem; }
      .multiSelectSearch.ms-parent .ms-drop .ms-search input[type=text] {
        min-height: 40px;
        padding: 0.5625rem 1rem;
        box-sizing: border-box;
        border: 1px solid #aaa;
        font-size: 1rem;
        color: #343434;
        line-height: 20px; }
    .multiSelectSearch.ms-parent .ms-drop ul {
      /* width */
      /* Handle */
      /* Track */
      /*某些元素的corner部分的部分样式(例:textarea的可拖动按钮)*/
      /*firefox scrollbar*/
      scrollbar-width: thin;
      scrollbar-color: rgba(79, 79, 79, 0.5) #fff; }
      .multiSelectSearch.ms-parent .ms-drop ul::-webkit-scrollbar {
        width: 6px;
        height: 6px; }
      .multiSelectSearch.ms-parent .ms-drop ul::-webkit-scrollbar-thumb {
        border-radius: 3px;
        background-color: rgba(79, 79, 79, 0.5); }
      .multiSelectSearch.ms-parent .ms-drop ul::-webkit-scrollbar-track {
        background-color: transparent; }
      .multiSelectSearch.ms-parent .ms-drop ul::-webkit-scrollbar-corner {
        background-color: transparent; }
      .multiSelectSearch.ms-parent .ms-drop ul::-webkit-resizer {
        background-color: transparent;
        border-color: transparent; }
      .multiSelectSearch.ms-parent .ms-drop ul > li {
        padding: 0.5rem 1rem; }
        .multiSelectSearch.ms-parent .ms-drop ul > li label {
          display: flex;
          align-items: center;
          gap: 0.5rem; }
    .multiSelectSearch.ms-parent .ms-drop input[type="radio"], .multiSelectSearch.ms-parent .ms-drop input[type="checkbox"] {
      position: inherit;
      margin-top: 0; }
  .multiSelectSearch.ms-parent.ms-parent-open .ms-choice {
    border-color: #129cff;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 1px 8px 0 #ddf1ff; }
  .multiSelectSearch.ms-parent.ms-parent-open .ms-drop {
    border-color: #129cff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 8px 0 #ddf1ff; }
    .multiSelectSearch.ms-parent.ms-parent-open .ms-drop .ms-search input[type=text] {
      border-color: #129cff;
      box-shadow: 0 1px 8px 0 #ddf1ff; }

.badge {
    display: inline-block;
    padding: .55em 1em;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1000px;
}
.bg-rad {
    background-color: #FF2323 !important;
}
.bg-light-blue {
    background-color: #129CFF !important;
}
.bg-green {
    background-color: #1DBF21 !important;
}
.bg-orange-yellow {
    background-color: #FF8A00 !important;
}

/*daterangepicker 月曆套件css設定修改*/
.daterangepicker.show-calendar .drp-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.daterangepicker.show-calendar .drp-buttons .btn {
    width: auto;
    line-height: 1.5;
}

.daterangepicker.show-calendar .drp-buttons .btn-sm {
    height: auto;
}

/*******因應Summernote字體大小*******/
.font-size-8 { font-size: 0.5rem; }
.font-size-10 { font-size: 0.625rem; }
.font-size-12 { font-size: 0.75rem; }
.font-size-14 { font-size: 0.875rem; }
.font-size-16 { font-size: 1rem; }
.font-size-18 { font-size: 1.125rem; }
.font-size-20 { font-size: 1.25rem; }
.font-size-24 { font-size: 1.5rem; }
.font-size-28 { font-size: 1.75rem; }
.font-size-32 { font-size: 2rem; }
.font-size-36 { font-size: 2.25rem; }

:focus {
    outline: 3px solid #ff8800 !important;
    outline-offset: 3px;
}