/*----------------------------------------------------------------
|
|
*/
/*
@media (min-width:0px) and (max-width:768px) {
.w_{
  display: none;
}
}@media (min-width: 769px) {
.p_{
  display: none;
} 
}*/
body{
  font-family: '微軟正黑體';
  overflow-x: hidden!important;
}
a:link,a:visited,a:hover,a:active{
    text-decoration: none;
    color: black;
}
.container-fluid{

}
#test{
	height: 800px;
	background-color: #4d4d4d;
}
#main_box{
   min-height: 100vh;
   margin-bottom: 100px;
}
.np_{
	padding: 0px!important;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background-color:#009781;
    border-radius: 2px;
    border: 1px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 0px;  
    background-color: #ffffff; 
}
@media (min-width:0px) and (max-width:768px) {
.w_{
  display: none;
}
#header{
  position: fixed;
  top:0px;
  left: 0px;
  z-index: 999;
  height: 70px;
  background-color: white;
  border-bottom: 0.5px solid gray;
  box-shadow: 0px 0px 8px gray;
  max-height: 100vh;
}
#logo{
	height: 100%;
}
#logo>a>img{
	height: 100%;
	object-fit: contain;
}
#p_hamburger{
	margin-top: 20px;
}
#p_hamburger>div{
	width: 100%;
    height: 5px;
    background-color: #009781;
    margin: 6px 0;
}
#p_menu{
	position: fixed;
	z-index: 998;
    top:70px;
	display: none;
	background-color: rgba(255,255,255,0.9);
}
#p_menu>div{
	text-align: center;
	border-top:1px solid #009781;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 16pt;
	font-weight: 900;
}
#p_menu>div:first-child{
	border-top:0px;
	padding-top: 20px;
	padding-bottom: 5px;
	overflow-y: scroll;
    -webkit-overflow-scrolling:touch; // mobile safari	
}
#footer{
  margin-bottom: 65px;
}
#footer_top_left,#footer_top_right{
	padding: 0px!important;
}
#footer-top{
  background-color:#2F4250;
  background-image: url(/assets/site/image/layout/rwd_footer_logo.png);
  background-size: 25%;
  background-position:right bottom;
  background-repeat: no-repeat;
}
#footer_top_left>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;
  height: 25%;
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer_top_right>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;
  height: 25%;
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer_top_right>div>div:nth-child(1){
	height: 100%;	
	float: left;
	width: 66%;
}
#footer_top_right>div>div:nth-child(2){
	height: 0px;
	float: left;	
	width: 60px;
	background-color: gray;
}
#footer_top_right>div>div:nth-child(2)>img{
  width: 100%;
  object-fit: contain;
}
#footer_top_right>div>div:nth-child(1)>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;	
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer-mid,#footer-bot{
	background-color:#363636;
}
#footer-mid>div>div{
    padding:15px!important;
}
#footer-mid>div>div>a{
  color: white;
  font-size: 14pt;
  font-weight: 900;		
}
#footer-mid>div>p{
  color: white;
  font-size: 10pt;	
}
#footer-bot>div{
  color: white;
  font-size: 10pt;	
}
#main_box{
  margin-top: 70px;
}
#rwdbot{
  box-shadow: 0px -0px 6px #4d4d4d;
  height: 65px;
  background-color: #009781;
  position: fixed;
  bottom: 0px;
  left:0px;
  z-index: 800;
}
#rwdbot>a>div{
  float:left;
  width: 20%;
  height: 100%;
  background-image:url('/assets/site/image/layout/icon1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#rwdbot>a:nth-child(2)>div{
  float:left;
  width: 20%;
  height: 100%;
  background-image:url('/assets/site/image/layout/icon2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#rwdbot>a:nth-child(3)>div{
  float:left;
  width: 20%;
  height: 100%;
  background-image:url('/assets/site/image/layout/icon3.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#rwdbot>a:nth-child(4)>div{
  float:left;
  width: 20%;
  height: 100%;
  background-image:url('/assets/site/image/layout/icon4.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#rwdbot>a:nth-child(5)>div{
  float:left;
  width: 20%;
  height: 100%;
  background-image:url('/assets/site/image/layout/icon5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/*
#rwdbot>a{
  height: 100%;
  width: 100%;
}*/

#rwdbot>a>div>img{
  width: 100%;
  object-fit: contain;
}
}@media (min-width: 769px) {
.p_{
  display: none;
}
#header{
  position: fixed;
  top:0px;
  left: 0px;
  z-index: 999;
  height: 140px;
  background-color: white;
  border-bottom: 0.5px solid gray;
  box-shadow: 0px 0px 8px gray;
}
#logo{
	height: 100%;
}
#logo>a>img{
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}
#menu>div{
	float: left;
	height: auto;
	width: 16%;

}
#menu>div:nth-child(5),#menu>div:nth-child(10){
	float: left;
	height: auto;
	width: 32%;
}
#menu>div:nth-child(1),
#menu>div:nth-child(2),
#menu>div:nth-child(3),
#menu>div:nth-child(4),
#menu>div:nth-child(5){
	margin-top: 65px;
}
#menu>div:nth-child(6),
#menu>div:nth-child(7),
#menu>div:nth-child(8),
#menu>div:nth-child(9),
#menu>div:nth-child(10){

}
#menu>div>a{
	font-size: 16pt;
	color: #363636;
	font-family: '微軟正黑體';
	font-weight: 900;
}
#phone>a>img{
	margin-top: 27px;
}
#footer{
	height: 310px;
}
#footer-top{
  /*height: 170px;*/
  height:220px;
  background-color:#2F4250;
  background-image: url(/assets/site/image/layout/homepage_web_footerlogo.png);
  background-repeat: no-repeat;
  background-position: right bottom;
}
#footer_top_left{
	height: 100%;
}
#footer_top_left>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;
  height: 20%;
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer_top_right{
	height: 100%;
}
#footer_top_right>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;
  height: 25%;
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer_top_right>div{
	height: 84px;
}
#footer_top_right>div>div:nth-child(1){
	height: 100%;	
	float: left;
	width: 66%;
}
#footer_top_right>div>div:nth-child(2){
	height: 100%;
	float: left;	
	width: 33%;
}
#footer_top_right>div>div:nth-child(2)>img{
	height: 100%;
	object-fit: contain;
}
#footer_top_right>div>div:nth-child(1)>p{
  color: #FFFFFF;
  font-size: 14pt;
  font-weight: 900;	
  margin:0px;
  padding-top: 7px;
  padding-bottom: 7px;
}
#footer-mid{
	height: 60px;
	background-color:#363636;
}
#footer-mid>div>div>a{
	font-size: 14pt;
	font-weight: 900;
	color: #FFFFFF;
}
#footer-mid>div>p{
	font-size: 14pt;
	color: #FFFFFF;
}
#footer-bot{
	height: 55px;
	background-color:white;
}
#footer-bot>div{
	font-size: 14pt;
	color: #808080;
}
#main_box{
  margin-top: 140px;
}
}
table.menu {
    margin-top: 70px;
}

td.menu {
   width: 10%;
   font-size: 14pt;
   font-weight: 900;
}
