@font-face{font-family:"Custom-MS-JhengHei";src:local("Microsoft JhengHei"),local("微軟正黑體");font-weight:100 400;}
@font-face{font-family:"Custom-MS-JhengHei";src:local("Microsoft JhengHei Bold");font-weight:500 900;}


html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body{
  margin: 0;
  width: 100%;
  font-family:"PingFang TC", "PingFang HK", PingFang-HK, PingFangHK, "Custom-MS-JhengHei", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

}

.clear {
    clear: both;
}

/* loading layer -- start */

#loading{
  position:absolute;
  width:100%;
  height:100%;
  background:#020202;
  filter:alpha(opacity=70);
  opacity:0.7;
}

#loading-content{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color:#ffffff;
  font-size:20px;
  
}

#loading-close{
  position:absolute;
  top:10px;
  right:10px;
  
  color:#ffffff;
  font-size:20px;
}

#loading-close a{
  color: #ffffff;
  text-decoration:none;
}

/* loading layer -- end */

/* navbar -- start */

.navbar {
  width: 100%;
  padding :0;
  display: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  display: block;
  position: relative;
}

.navbar .menu-items {
  display: flex;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
}

.navbar .nav-container a:hover{
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 13px;
  width: 20px;
  top: 20px;
  right: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .navbar_cover{
  position:fixed;
  width:100%;
  height:100%;
  background:#ffffff;
  filter:alpha(opacity=80);
  opacity:0.8;
  top:0;
  left:0;
  z-index:2;
  display: none;
}

.nav-container .hamburger-lines {
  display: block;
  height: 16px;
  width: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s ease-in-out;
  background-color:#ffffff;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 10px;
  background: #000;
  align-self: flex-end;
}

.nav-container .hamburger-lines .line1 {
  width: 100%;
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  width:100%;
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  /* box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5); */
  /* height: 50vh; */
  height: 100vh;
  width: 180px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  text-align: left;
  background: #4489CD;
  z-index: 5;
  position: relative;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.5s, opacity 0.5s linear;
}

.navbar .menu-items .menu-title{
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #336699;
  color: #fff;
  font-size: 1.2rem;
}


.navbar .menu-items li {
  /* margin-bottom: 1.2rem; */

}

.navbar .menu-items li a{
  display:block;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 100;
  background: #4489CD;
  color: #fff;
  border-bottom: 1px solid #D1E3F7;
  padding-left:20px;
}

.navbar .menu-items li a:hover{
  background: #336699;
  font-weight: 400;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0px);
  visibility: visible;
  opacity: 1;
}

.nav-container input[type="checkbox"]:checked ~ .navbar_cover {
  display: block;
  transition: opacity 2s linear ;
  opacity: 0.8;
}

.nav-container input[type="checkbox"]:checked{
  transform: translateX(-180px);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines {
  transform: translateX(-180px);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  width: 100%;
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  width: 100%;
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}

/* navbar -- end  */

/* table -- start */
table.rtable , th, td {
  border: 1px solid;
  border-color: #cdcdcd;
  border-collapse: collapse;
  padding: 2px;
}

/* table -- end */

a {
  text-decoration:none;
  cursor:pointer;
  color:#336699;
}

h1.title {
  font-size:24px;
}

.font-red{
  color:#ff0000;
}
.bg-red{
  background-color:#ff0000;
}
.font-blue{
  color:#0000ff;
}
.bg-blue{
  background-color:#0000ff;
}
.font-orange{
  color:#FF4500;
}
.bg-orange{
  background-color:#FF4500 !important;
}

.separate {
  padding-left:5px;
  padding-right:5px;
  font-size:18px;
  color:#D8DFE5;
}

.header-logo{
  float:left;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
}

.logo{
  height: 40px;
  vertical-align: middle;
}

.header{
  width:80rem;
  margin:auto;
  /* border-bottom: 1px dotted #CCCCCC; */
  position:relative;
  background:#fff;
}
.footer{
  width:80rem;
  margin:auto;
  /* border-bottom: 1px dotted #CCCCCC; */
  position:relative;
  background:#fff;
  
}

.header-menu{
  float:right;
  margin-top:15px;
  padding-right:15px;
  font-size:14px;
}

.header .menu-item-container{
  float:left;
  margin-top:3px;
  margin-right:20px;
}

.header .menu-item{
}

.header .menu-item a{
  font-weight:bold;
}

.social-media{
  float:left;
  padding-left:20px;
  padding-right:20px;
  margin-top: 15px;
}

.social-media-icon-fb{
  margin-bottom:5px;
  width:130px;
}

.social-media-icon-twitter{
  margin-bottom:5px;
  margin-left: 10px;
  width:30px;
}

.add-to-home-icon-container{
  float:left;
  margin-top: 2px;
  position: relative;
  height:25px;
  background: #E4F2FF;
}

.add-to-home-icon-container .add-to-home-icon{
  float:left;
  height:100%;
  width:26px;
  font-size:18px;
  background: #D1E3F7;
  color: #fff;
  text-align:center;
}

.add-to-home-icon-container .add-to-home-text{
  float:left;
  height:100%;
  width:90px;
  text-align:center;
  padding-top:3px;
  
}

hr.header_bottom{
  width:100%;
  border: 0;
  margin: 0;
  border-top:1px solid #E5E5E5;
  height:5px;
  background:#F3F3F3;
}

#content{
 /* background: #FAFAFA;  */
 margin-top: -20px;
 padding-left: 2px;
 padding-right: 2px;
 width:80rem;
 margin-left:auto;
 margin-right:auto;
}

.site-name {
  font-size: 1.5rem;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
}

.box-header{
  margin-top:10px;
  margin-bottom:10px;
}

.box-header-title{
  font-size: 16px;
  line-height: 16px;
}

.share_on_fb{
  margin-bottom:5px;
  width:150px;
}
  
.total_page_loading_time_title{
  cursor:pointer;
}

.source-box{
  border-color: rgba(0, 0, 0, 0.12);
  border-width: 0px;
  border-style: solid;
  border-radius: 5px;
  box-sizing: border-box;
  
  width: 65px;
  height: 25px;
  text-align: center;
  line-height: 27px;
  
  color: #ffffff;
  font-size:14px;
  font-weight:800;
  
  margin-bottom: 5px;
}

/* datatable hack fix - start */

.dataTables_length{
  margin-bottom: 5px;
}

#dataTable_filter .clear-icon{
  margin-left: 5px;
}

/* datatable hack fix - end */

a.searchSource{
  color:#ffffff;
  display: inline-block;
  padding: 2px 5px;
  margin: 2px;
  width: 80px;
}

.adsterra_ads{
  margin:1px;
  text-align: center;

  width: 98%;
  overflow: hidden;           /* 隱藏超出的部分 */
  box-sizing: border-box;     /* 包含 padding & border */
  word-wrap: break-word;      /* 避免長字或URL撐破 */
}

.adsterra_ads * {
  max-width: 98%;
  box-sizing: border-box;     /* 所有子元素也一樣 */
  word-wrap: break-word;
}

.adsterra_ads img,
.adsterra_ads iframe,
.adsterra_ads table {
  max-width: 98%;
  height: auto;
}



@media screen and (max-width:1280px){
  .header{
    width:100%;
  }
  #content{
    width:99%;
  }
  .footer{
    width:100%;
  }
}

@media screen and (max-width:1024px){

  .header-menu{
    display: none;
  }
  .navbar{
    display: block;
    position:absolute;
    right:0;
    
    width:180px;
  }
  
  .desktop {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  .mobile {
      display: none;
  }
}