@charset "utf-8";
/* @import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);*/


#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding:0;
  border: 0;
  list-style:none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 5;
  padding-top:5px;
   
 
 
  
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility:  hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  font-family: "微軟正黑體", Montserrat, sans-serif;
/*background: #333333;*/
  background: rgba(255,255,255,0);
}

#cssmenu {
/*background:url('../ppic/top_menu_bk.png') center center,rgba(0,0,0,1) ; background-repeat:no-repeat; background-size:cover;*/
background:url('../ppic/top_menu_bk.png') center center,rgba(255,255,255,0) ; background-repeat:no-repeat; background-size:cover;
}


#cssmenu > ul {  
 background-color: rgba(242,242,242,1);
 margin-top:130px;
 text-align: center; 
}

#cssmenu > ul > li {
  float: none;
  display:inline-block;
  background-color:;

  
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
  
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {   /* 電腦版第一層 連結前*/

  padding: 10px 20px 25px 15px ; 
  font-size: 17px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;/*#dddddd 連結前 */
  font-weight: 300; /*700*/
  text-transform: capitalize;
  min-height:30px;
  


}
#cssmenu > ul > li:hover > a { /* 電腦版第一層 連結*/
  color: #C00; /*fff 連結*/
  font-weight: 300; /*700*/

}

#cssmenu > ul > li.has-sub > a { /* 電腦版第一層 有第二層 + 的位置*/
  padding-right: 22px; /*30px*/
  
}
#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #333; /*#dddddd 連結後,電腦版,次選單的符號 橫線 */
  content: '';
}
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #333;  /*#dddddd 電腦版,次選單的符號 */
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  margin-top:0px;
  padding-top:10px;
  background-image:url(menu_top_bk..png); background-position:top center;

}

#cssmenu ul ul ul{
  position: absolute;
  left: -9999px;
  margin-top:-10px;/*下拉第二層高度*/
  background-image:url(menu_top_bk..png); background-position:top center;
}
#cssmenu.align-right ul ul {
  text-align: right;


}
#cssmenu ul ul li {
  height: 0;
  padding:1px 0px; /*下拉選單上下間之間距*/

  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;

}
#cssmenu li:hover > ul {
  left:auto;/* -25px  auto 電腦版下拉選單位置*/
  padding-left:5px;/* 加 電腦版 下拉 二跟三的間距*/
}





#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;

}
#cssmenu li:hover > ul > li {
  height:50px; /*下單選單高度 (重要 高度改  auto ... 滑動效果消失)*/

}

#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;

  
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-left: 100%;
}
#cssmenu ul ul li a {
  border-bottom: 1px solid rgba(150, 150, 150, 0.8);
  padding: 15px 15px;
  
  width: 280px;/*下拉選單寬度170px;*/
  font-size: 15px; /*電機板下拉文字*/
  text-decoration: none;
  color: #444;
  font-weight: 500;
  background: #fff;
  left:-45px;
  font-family: "微軟正黑體", Montserrat, sans-serif;
  
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;

  
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #fff; /*電腦板 下拉hover*/
  background: rgba(51,174,144,0.8);/*棕藍*/
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}

@media all and (max-width: 979px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px), (min-width: 768px) and (max-width: 979px) {

  #cssmenu {
/*    width: 90%; /*100%*/
	/*margin-left:5%;*/
/*margin-left:10%;
margin-right:10%;*/

   width: 100%;/*80%*/
   border-radius:0px;
   height:80px;
   padding-top:0px;
   padding-bottom:0px;
   border-bottom: 1px solid rgba( 0,0,0,0.2); /* ← 深棕 */
   margin-top:0px; /*手機版 三橫 位置 */
   padding-top:10px;
   /*background:url('../ppic/top_menu_bk.png') center center,#666 ; background-size:100%   
  background:url('../ppic/top_menu_bk.png') center center,#666 ; background-size:100% */
  background:url('../ppic/top_menu_bk.png') center center,rgba(0,0,0,0) ;   
  background-repeat:no-repeat; background-size:cover;
  
 }
  
  
  #cssmenu ul {
    width: 100%;
    display: none;
    background: rgba(255,255,255,1.0);	/*白*/
    text-align:left;
	font-size:18px;
    padding-top:0px;
	margin-top:16px; /*第一次下拉 起始高度*/
    /*max-height:550px;*/
    overflow: auto;

   
  }
  #cssmenu.align-center > ul {
    text-align: left;
	
	
	
  }
  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid rgba( 0,0,0,0.2);/* ← 深棕 rgba(0, 0, 0, 1.0)*/
   /* border-top: 1px solid rgba( 143,171,155,1.0); ← 深棕 rgba(0, 0, 0, 1.0)*/
    padding-top:0px;
    padding-bottom:0px;
	
	
}

#cssmenu li:hover > ul {
   left:auto;/*auto 手機版下拉選單位置*/
   padding-top:0px;	
   padding-left:0px

  
}


  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
	padding:0px 0px;	
  }
  
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
    border-bottom: 0;
	font-size: 18px;/*加*/
    padding: 15px 10px 15px 20px ;	/* 展開後選單高度15px 10px 17px 20px ;*/
  }
 
    #cssmenu > ul > li > a {
  color: #000;/*#dddddd 連結前 */
}

#cssmenu > ul > li:hover > a
 {
	  color:#333;
   
  }
   
  
  #cssmenu > ul > li {
    float: none;
  }




  #cssmenu ul ul ul li a {
    padding-left: 35px;
	
  }

  #cssmenu ul ul li a {
    padding-left: 25px; 
	font-size: 17px;/*手機板下拉文字*/
	color: #000;
    background: rgba(51,174,144,0.2); /* background: rgba( 227,234,230,0.4);←棕色  橘 次選單底色*/
	left:0px;
  }
  
  #cssmenu ul  li:hover > a,
  #cssmenu ul  li.active > a,
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color:#fff; /* 0B4926#ff0000;#ffffff*/
	font-weight:bold; font-style:; text-decoration: underline;
	background: rgba(51,174,144,0.6);/*棕藍*/
    /*background: rgba(51,174,144,0.6);棕藍*/

	/*background: rgba( 227,234,230,1.0); background-color: rgba( 183,220,89,1.0); #FFC;*/
	
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
	
  }
  
  #cssmenu ul ul { background-image:url(); background-position:top center; padding-top:0px;  }

  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul > li.has-sub > a:after,
  #cssmenu ul ul > li.has-sub > a:before {
    display: none;
  }
  #cssmenu #menu-button { /*手機版選單標頭顏色*/
    display: block;
    padding: 17px;
    color:#ffffff ; /*#dddddd*/
    cursor: pointer;
    font-size: 20px;
    text-transform:capitalize;
    /*font-weight: 700;*/ 
	 margin-top:0px; /*手機版 三橫 */

  }
  


  #cssmenu #menu-button:after {
    position: absolute;
    top: 22px;
    left: 17px;
    display: block;
    height: 4px;
    width: 20px;
	
    border-top: 2px solid #0B4926; /*dddddd*/
    border-bottom: 2px solid #0B4926;/*dddddd*/
    content: '';
	-webkit-box-sizing: content-box;  -moz-box-sizing:content-box;  box-sizing:content-box;
	
	  -webkit-transition-duration: 0.4s; /* Safari */
      transition-duration: 0.4s;
  }
  #cssmenu #menu-button:before {
	  
    position: absolute;
    top: 16px;
    left: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: #0B4926; /*手機板選單X */
    content: '';
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
	
  }
  #cssmenu #menu-button.menu-opened:after {
    top: 23px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #0B4926; /*手機板選單X \ */
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
	
	  -webkit-transition-duration: 0.4s; /* Safari */
      transition-duration: 0.4s;
  
  
  }
  #cssmenu #menu-button.menu-opened:before {
    top: 23px;
    background: #0B4926; /*手機板選單X / */
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
	
	-webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
	
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 8px;
    top: 0;
    display: block;
    border-left: 0px solid rgba(120, 120, 120, 1.0);
	border-radius:0px;

	
    height:30px;/*51px*/
    width: 30px;/*51px*/
    cursor: pointer;
	padding:0px;
	margin:0px;
	margin-top:11px;
  }
  #cssmenu .submenu-button.submenu-opened {
    background:; /*次選單展開 右方圖示底色*/
	
	padding:0px;
	margin:0px;
	margin-top:11px;
	
  }
  
 
  #cssmenu ul ul .submenu-button { /*mobil 第2層,點選前 */
    height: 30px;
    width: 30px;
	padding:0px;
	margin:0px;
	margin-top:9px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 13px; /*22 橫線*/
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #0B4926;/*dddddd*/
    content: '';
	
  }
  #cssmenu ul ul .submenu-button:after { /*mobil 第2層右方 + 的 -(橫線) */
    top: 15px;/*15*/
    right: 11px;
  }
  
  #cssmenu .submenu-button.submenu-opened:after {
  background:#0B4926;/*下拉sub打開"圖示"顏色*/
  }
  
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 10px;/*19 橫線*/
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background:#000;/*dddddd*/
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 14px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
  

}
