﻿* {
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.navigatBar {
  width: 100%;
  text-align: center;
  margin: auto;
}

.navigatBar .MenuBar_Section {
  display: inline-block;
  text-align: center;
  padding: 15px;
}

.navigatBar li.navigatBar-menus {
  display: inline-block;
  transition: all 0.3s;
  font-size: 16px;
  color: #555;
  text-align: center;
  width: 16.5%;
  line-height: 59px;
  max-width: 300px;
}

.navigatBar .navigatBar-drop-down-menu {
  /* position: relative;
  float: left; */
}

.navigatBar li.navigatBar-custom:hover {
  background: #f5f5f6;
}

.navigatBar li .nav-main-link {
  display: block;
  text-decoration: none;
  color: #353535;
}

.navigatBar .navigatBar-drop-down-menu{
  position: relative;
}

.navigatBar li .nav-main-link .nav-main-label {
  font-size: 14px;
}

li.navigatBar-menus .nav-main-link::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0;
  left: 0;
  background-color: #7164e5;
  height: 10%;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: -webkit-transform .3s, height .3s;
  transition: transform .3s, height .3s;
}

li.navigatBar-drop-down-menu .nav-main-link::before {
  display: block;
  height: 0;
}

}

.navigatBar li .nav-main-link:hover {
  color: #00ABF4;
}

li:hover .nav-main-link::before {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

/*類別*/

.submenus {
  position: fixed;
  left: 0;
  width: 100%;
  height: 220px;
  background: #dff2f7;
  display: none;
}

/*類別1*/

.submenu {
  text-decoration: none;
  color: #555;
}

.submenu ul {
  position: relative;
}

.submenu li {
  position: relative;
  display: inline-block;
  height: 220px;
  width: 16%;
  transition: all .6s;
  left: 15%;
}

.submenu_h2 {
  text-align: start;
  top: 5%;
  margin: 0 10%;
  color: #555;
  font-size: 16px;
  font-weight: normal;
  line-height: 70px;
}

.submenu_h2 h2 {
  font-size: 20px;
}

.submenu .line {
  width: 80%;
  height: 1px;
  background-color: #00b8ff;
  margin: 5% 10%;
  top: 30%;
}

.submenus .submenu-p {
  width: 80%;
  text-align: start;
  line-height: 26px;
  margin: auto;
  color: #353535;
}

.navigatBar-menus:hover .submenus {
  display: block;
  position: absolute;
  z-index: 1000;
}

.navigatBar .submenus a {
  min-width: 150px;
  max-width: 300px;
  display: inline-block;
  position: relative;
  height: 100%;
  text-decoration: none;
  padding: 10px;
  width: 19.5%;
  box-sizing: border-box;
}

.navigatBar .submenus a:hover {
  background: #a7c4e785;
}

/* drop-down-menu */

.navigatBar .drop-down-menu {
  background: none repeat scroll 0 0 #f7f7f7;
  position: relative;
  width: 10%;
  min-width: 300px;
  box-shadow: 0 2px 6px 0 #6b6b6b80;
  padding: 15px 0;
  box-sizing: border-box;
  display: none;
}

.navigatBar-drop-down-menu .drop-down-menu {
  background: #f6fafe;
}

li.navigatBar-drop-down-menu:hover .drop-down-menu {
  display: block;
  position: absolute;
  right: -50%;
  left: -50%;
  margin: auto;
}
li.navigatBar-drop-down-menu .drop-down-menu::after{
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  border-color: #f6fafe #f6fafe transparent transparent;
  box-shadow: 2px -2px 2px #82828230;
  transform: rotate(-45deg);
  z-index: 10;
}

.drop-down-menu h4 {
  text-align: start;
  width: 99%;
  padding: 0px 15px;
  color: #0857cf;
  margin-top: 3px;
  font-weight: 100;
}

.drop-down-menu a {
  display: block;
  text-align: start;
}

.drop-down-menu li {
  width: 100%;
  padding: 5px 15px;
  text-align: start;
  list-style: none;
  box-sizing: border-box;
}

.drop-down-menu li:hover {
  background: #e8e8e8;
}

.drop-down-menu li h5 {
  font-size: 1.3em;
  font-style: oblique;
  color: #424242;
}

.drop-down-menu li p {
  font-size: 0.95em;
  line-height: 1em;
  font-weight: 300;
  color: #424242;
}