/*@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,500,700|Roboto:400,500,700');*/

#preload { position: fixed; top: 0; left: 0; bottom: 0; right: 0; width: 100vw; height: 100vh; z-index: 999999; background: #fff; }
#preload .loading { position: absolute; width: auto; height: auto; margin: auto; top: 0; bottom: 0; left: 0; right: 0; }

.clearfix:after, .clearfix:before{ content:""; display:table; }
.clearfix:after{ clear:both; }
.clearfix{ *zoom:1; }
.row {
    /*display: flex;
    display: -webkit-flex;
    flex-wrap:wrap;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: center;
            justify-content: center;*/
}
.row:before, .row:after{ /*display: none;*/ }
.btn:focus, .btn.focus, .btn:active, :focus { outline: 0!important; }
.text-grey { color: #bcbcba; }
.desktop_view { display: none!important; }
.table { display: table; border-collapse: collapse; margin-bottom: 0; }
.t-row { display: table-row; }
.t-cell { display: table-cell; padding:12px 5px; line-height: 1.3; }
.inline22 { display: inline-block; }
a, a:hover { color: #ed192c; }
a.link-blue {
  color: #0000EE;
  text-decoration: underline;
}
a.link-blue:hover {
  color: #0000EE;
  text-decoration: none;
}
/* body {
    color: #333333;
    line-height: 1.6;
    font-size: 15px;
    font-family: 'Open Sans', 'Noto Sans TC', 'Segoe UI', 'Droid Sans', Tahoma, Arial, sans-serif;
}
footer {
  padding:8px 15px;
}
footer > div {
  padding: 12px 0;
  border-bottom: 1px solid #b5b5b5;
}
footer > div:last-child {
  border-bottom: 0;
} */
.table-user {
  width: auto;
}
.table-user .t-cell {
  padding: 0;
  white-space: nowrap;
}
#back-to-top {
    position: fixed;
    cursor: pointer;
    background-color: #abaeb7;
    background-image: url(../images/top.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 28px;
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    display: none;
    z-index: 99;
    border-radius: 8px;
}
.inline-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 0;
}
.inline-ul > li {
  display: inline-block;
  font-size: 15px;
  margin-right: 20px;
}
.inline-ul li {
  position: relative;
}
.inline-ul li:not(:last-child):after {
  content: '';
  width: 1px;
  height: calc(100% - 10px);
  position: absolute;
  top: 5px;
  right: -11px;
  background-color: #333;
}
.main-body {
    padding-left: 15px;
    padding-right: 15px;
}
.top_bar {
    padding-top:23px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}
.logo { height: 36px; }
h1, .h1 { font-size: 30px; }
a, a:hover {
    text-decoration: none;
}
.bg-grey {
    background-color: #bcbcba;
    color: #fff;
}
.bg-grey a, .bg-grey a:hover {
    color: #fff;
}
.top_bar_wrap {
    padding:7px 10px;
    border-bottom: 1px solid #cccccc;
}
.top_bar_table > div {
    margin-left: 15px;
    display: inline-block;
}
.sidenav-opened .sidenav { width: 250px; }
.sidenav-opened #main,
.sidenav-opened .usernav { margin-left: 250px; }
#menu-btn { cursor: pointer; }
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  /* left: 0; */
  -webkit-transition: width .3s ease-out;
  -moz-transition: width .3s ease-out;
  -o-transition: width .3s ease-out;
  transition: width .3s ease-out;
}
.sidenav a {
  text-decoration: none;
}
.sidenav a:hover {
  color: #f1f1f1;
}
.sidenav .top_bar_table {
  width: 250px;
  padding: 15px 15px 15px 0;
}
.ico-icon {
  vertical-align: top;
  padding-top: 5px;
}
#main {
  -webkit-transition: margin-left .3s ease-out;
  -moz-transition: margin-left .3s ease-out;
  -o-transition: margin-left .3s ease-out;
  transition: margin-left .3s ease-out;
  width: 100%;
  margin-left: 0;
}
.menu-text {
  margin-left: -5px;
}
.menu-img, .menu-text {
  display: inline-block;
  line-height: 1.1;
  vertical-align: middle;
  font-size: 15px;
}
.sidenav .top_bar_table {
    white-space: nowrap;
}
.sidenav > a {
  display: block;
  width: 250px;
  white-space:nowrap;
  position: relative;
}
.sidenav > a.active { background-color: #ed192c; }
.sidenav > a:hover { background-color: #333; }
.sidenav > a:after{
    content: '';
    position: absolute;
    left: auto;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid transparent;
    clear: both;
    right: -6px;
    -webkit-transform: translateY(-3px) rotate(90deg);
    -ms-transform: translateY(-3px) rotate(90deg);
    -o-transform: translateY(-3px) rotate(90deg);
    transform: translateY(-3px) rotate(90deg);
}
.sidenav > a.active:after {
    border-top: 11px solid #fff;
}
.usernav {
  background-color: #fff;
  width: 100%;
  display: none;
  position: absolute;
  z-index: 1;
  top: 51px;
  left: 0;
  overflow-x: hidden;
  border-bottom: 1px solid #e4e4e4;
  -webkit-transition: margin-left .3s ease-out;
  -moz-transition: margin-left .3s ease-out;
  -o-transition: margin-left .3s ease-out;
  transition: margin-left .3s ease-out;
}
.usernav-opened .usernav {
}
#user-btn {
  cursor: pointer;
}
.usernav > a {
  display: block;
  color: #333;
  padding: 12px 18px;
  font-size: 15px;
}
.usernav > a:hover {
  background-color: #f6f6f6;
}
.title .h1 {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0;
}
.title-select-wrap {
  width: 100%;
}
/*the container must be positioned relative:*/
.select-box {
  position: relative;
  display: block;
  margin-bottom: 8px;
}
.select-box select {
  display: none; /*hide original SELECT element: */
}
.select-box .dropdown-redarrow,
.search-by-input {
  min-width: 100%;
  display: block;
  margin:0 8px 10px 0;
}
.select-box .dropdown-redarrow .select-selected {
  min-height: 50px;
}
.dropdown-redarrow.size-sm {
  width: 120px!important;
  display: inline-block;
}
.dropdown-redarrow.size-sm .select-selected {
  padding: 10px 12px;
}
.dropdown-redarrow.size-sm .select-selected:before,
.dropdown-redarrow.size-sm .select-selected:after {
  top:22px;
}
.select-box .select-items div,
.select-box .select-selected {
  padding: 10px 50px 10px 12px;
  font-size: 15px;
  box-shadow: none;
  border:1px solid #e6e6e6;
  line-height: 1.4;
  white-space: nowrap;
}
.select-box .select-items div {
  border-top:0;
  border-bottom: 0;
}
.select-box .select-items div:last-child {
  /*border-bottom: 1px solid #EEEEEE;*/
}
.select-box .select-items {
  box-shadow: none;
  max-height: 288px;
  overflow-y: auto;
  border-bottom: 1px solid #e6e6e6;
}

.dropdown-redarrow {
  position: relative;
  margin: 0;
}
.dropdown-redarrow select {
  display: none; /*hide original SELECT element:*/
}
.select-selected {
  background-color: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 6px #ccc;
  -moz-box-shadow: 0 0 6px #ccc;
  box-shadow: 0 0 6px #ccc;
}
.search-by-col > div {
  display: block;
  margin: 0 8px 0 0;
}
.search-by-col label {
  margin-bottom: 2px;
}
/* Style the arrow inside the select element: */
.select-selected:after,
.select-selected:before {
  position: absolute;
  content: "";
  height: 2px;
  width: 9px;
  background-color: #FE0000;
  top: 0;
  right: 0;
  border-radius: 5px;
}
.select-selected:after {
  top: 22px;
  right: 24px;
  -webkit-transform: rotate(38deg);
  -ms-transform: rotate(38deg);
  -o-transform: rotate(38deg);
  transform: rotate(38deg);
}
.select-selected:before {
  top: 22px;
  right: 17px;
  -webkit-transform: rotate(-38deg);
  -ms-transform: rotate(-38deg);
  -o-transform: rotate(-38deg);
  transform: rotate(-38deg);
}
/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active {
  border-radius: 8px 8px 0 0;
}
.select-selected.select-arrow-active:after {
  -webkit-transform: rotate(-38deg);
  -ms-transform: rotate(-38deg);
  -o-transform: rotate(-38deg);
  transform: rotate(-38deg);
}
.select-selected.select-arrow-active:before {
  -webkit-transform: rotate(38deg);
  -ms-transform: rotate(38deg);
  -o-transform: rotate(38deg);
  transform: rotate(38deg);
}
/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #333333;
  padding: 16px 20px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.select-items div:last-child {
  border-radius: 0 0 8px 8px;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 0 0 8px 8px;
  -webkit-box-shadow: 0 3px 6px #ccc;
  -moz-box-shadow: 0 3px 6px #ccc;
  box-shadow: 0 3px 6px #ccc;
}
/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}
.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.select-box .select-items div.right-data-title,
.select-box .select-selected div.right-data-title {
  display: block;
  border: 0;
  padding: 0;
}
.select-box .select-items div.right-data-title:hover {
  background-color: transparent;
}
.collapse-title {
  position: relative;
  padding: 2px 30px 6px 13px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}
.collapse-title:before {
  content: '';
  height: calc(100% - 6px);
  width: 5px;
  background-color: #FE0000;
  top: 0;
  left: 0;
  position: absolute;
}
.collapse-title:after,
.select-box-orange:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background-image: url(../images/ico/ico_down.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}
.collapse-title.active:after {
  background-image: url(../images/ico/ico_up.svg);
}
.collapse-content {
  display: none;
  transform-origin: top;
  /*overflow:hidden;*/
  -moz-transition: transform .3s ease;
  -webkit-transition: transform .3s ease;
  -o-transition: transform .3s ease;
  transition: transform .3s ease;
}
.border-top-none { border-top: 0!important; }
.border-bottom-none { border-bottom: 0!important; }
.select-box-orange {
  display: inline-block;
  border:1px solid #e89600;
  border-radius: 5px;
  padding: 6px 35px 6px 12px;
  color: #e89600;
  position: relative;
}
.select-box-orange:hover {
  color: #e89600;
  background-color: #eee;
}
.select-box-orange:after{
  background-image: url(../images/ico/ico_down_orange.svg);
  width: 36px;
  background-size: 14px;
}
.select-box-orange-wrap {
  position: relative;
}
.select-box-orange-wrap .details-box {
  position: absolute;
  top: 47px;
  left: 4px;
  background-color: #fff;
  border:1px solid #e6e6e6;
  min-width: 200px;
  z-index: 99;
  display: none;
}
.select-box-orange-wrap .details-box.active{
  display: block;
}
.select-box-orange-wrap .details-box .right-box {
  display: inline-block;
}
.select-box-orange-wrap .details-box>div{
  padding: 14px 15px;
  font-size: 15px;
}
.select-box-orange-wrap .details-box>div:not(:last-child) {
  border-bottom: 1px solid #e6e6e6;
}
.right-box {
  float: right;
  padding-left: 15px;
}
.right-box a {
  color: #333333;
  text-decoration: underline;
}
.right-box a:hover {
  color: #333333;
  text-decoration: none;
}
/* table style */
.collapse-wrap { margin-top: 10px; }
.t-row .t-cell:last-child { word-break: break-word; }
.t-row .t-cell:first-child { white-space: nowrap }
.ml15 { margin-left:15px; }
.mb25 { margin-bottom: 2.5rem; }
.mt15 { margin-top: 1.5rem; }
.pt5 { padding-top: 5px; } .pb5 { padding-bottom: 5px; }
.pt10 { padding-top: 10px; } .pb10 { padding-bottom: 10px; }
.mt10 { margin-top: 10px; } .mb10 { margin-bottom: 10px; }
.mt15 { margin-top: 15px; } .mb15 { margin-bottom: 15px; }
.table-style1 .t-row:first-child .t-cell { border-top: 1px solid #e2e2e2; }
.table-style1 .t-row:last-child .t-cell { border-bottom: 1px solid #e2e2e2; }
.table-style1 .t-row .t-cell { border-top: 1px solid #e2e2e2; }
.table-style1 .t-row .t-cell:last-child,
.table-style2 .t-row .t-cell:last-child { text-align: right; }
.table-last-border-none .t-row:last-child .t-cell { border-bottom: 0; }
.bg-light-red { background-color: #fff3f3; }
.table-style2 .t-cell { padding:3px; }
.t-oneline { display: block; border-top: 1px solid #e2e2e2; }
.t-oneline .t-row .t-cell:last-child {
  text-align: left;
  word-break: break-word;
  white-space: normal;
}
.t-oneline .t-row:last-child .t-cell,
.t-oneline .t-row:first-child .t-cell {
   border-top: 0;
   border-bottom: 0;
}
.t-oneline .t-row, .t-oneline .t-cell { display: block; }
.txt-orange, .txt-orange:hover {
  color: #d85c23;
  position: relative;
}
.arrow-btn {
  padding-right: 14px;
}
.arrow-btn:after {
  content: '';
  top: 1px;
  right: 0;
  width: 16px;
  height: 100%;
  position: absolute;
  background-image: url(../images/ico/ico_right_orange.svg);
  background-repeat: no-repeat;
  background-size: 7px;
  background-position: center right;
}
.fontBold { font-weight: 500; }
.t-oneline .t-row:last-child .t-cell.fontBold2, .t-oneline .t-row:first-child .t-cell.fontBold2{
   font-weight: 500; border-bottom: 1px solid #aaa;
}
th { /* background-color: #fff3f3; font-weight: 500; */ }
.table th, .table td {
  padding: 15px 5px;
  line-height: 1.2;
}
.table-user .t-cell.prela {
  position: relative;
  padding-left: 15px;
}
.table-user .t-cell {
  vertical-align: top;
}
.prela2 >div {
  padding-top: 12px;
}
.badge {
  border-radius: 20px;
  background-color: #666;
  color: #fff;
  display: inline-block;
  padding-left: 7px;
  padding-right: 7px;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
.badge-red {
  background-color: red;
}
.table-desktop {
  font-size: 15px;
}
.colDiv2 {
    position: absolute;
    border-bottom: 1px solid #666;
    top: 12px;
    left: 5px;
    z-index: 1;
    text-align: center;
    padding-bottom: 2px;
    font-size: 14px;
}
.table-desktop {
  margin-bottom: 20px;
}
.width80 { width: 90px; position: relative; }
.width60 { width: 60px; }
.width80 .colDiv2 { width: 170px; }
.table td.last-colspan {
  text-align: right;
  padding-right: 20px;
  font-weight: 500;
}
/* --table style */

@media (min-width: 420px) { .m-br-420 { display: inline-block; } }
@media (min-width: 576px) {
  .select-box .select-items div.right-data-title,
  .select-box .select-selected div.right-data-title {
    display: inline-block;
    float: right;
  }
  .m-br-576 {
    display: inline-block;
  }
}

@media (min-width: 768px) {
}

@media (max-width: 991px) {
  .sidenav {
    overflow:hidden;
  }
}
@media (min-width: 992px) {
  body {
    font-size: 16px;
  }
  .desktop_view {
    display: block!important;
  }
  .mobile_view {
    display: none;
  }
  .sidenav {
    width: 70px;
    padding-top: 40px;
  }
  .sidenav > a {
    width: 70px;
    -webkit-transition: width .3s ease-out;
    -moz-transition: width .3s ease-out;
    -o-transition: width .3s ease-out;
    transition: width .3s ease-out;
  }
  .main-body {
    padding-left: 94px;
    padding-right: 30px;
  }
  .menu-text {
    width: 0;
    overflow: hidden;
  }
  .sidenav-opened .sidenav {
    overflow: hidden;
  }
  .sidenav > a:hover,
  .sidenav-opened .sidenav > a {
    width: 250px;
  }
  .sidenav > a:hover .menu-text,
  .sidenav-opened .menu-text {
    width: 180px;
    -webkit-transition: width .35s ease-out;
    -moz-transition: width .35s ease-out;
    -o-transition: width .35s ease-out;
    transition: width .35s ease-out;
  }
  .sidenav-opened #main,
  .sidenav-opened .usernav {
    margin-left: 0;
  }
  .sidenav-opened .menu-text {
    display: inline-block;
  }
  .sidenav-opened .main-body {
    opacity: 0.3;
    -webkit-transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
  }
  .table-style1 .t-row .t-cell:last-child,
  .table-style2 .t-row .t-cell:last-child {
    text-align: left;
  }
  .table-style1:not(.t-oneline) .t-row .t-cell:first-child,
  .table-style2:not(.t-oneline) .t-row .t-cell:first-child {
    width: 300px;
  }
  .collapse-title {
    padding-left: 18px;
  }
  .title .h1 {
    padding-top: 25px;
    display: inline-block;
  }
  .title-select-wrap {
    display: inline-block;
    width: auto;
    vertical-align: top;
    padding-top: 25px;
    padding-bottom: 5px;
    float: right;
  }
  .select-box {
    display: inline-block;
    margin-bottom: 0;
  }
  .width420 { min-width: 420px; }
  .width400 { min-width: 400px; }
  .width180 { min-width: 180px; }
  .width200 { min-width: 200px; }
}

@media (min-width: 1200px) {
}