/* body {
  background: #212121;
  font-size: 22px;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  word-wrap: break-word !important;
  font-family: 'roboto', sans-serif;
}

h1 {
  font-size: 60px;
  text-align: center;
  color: #FFF;
}

h3 {
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: #FFF;
}

h3 a { color: #FFF; }


h1 {
  margin-top: 100px;
  text-align: center;
  font-size: 60px;
  line-height: 70px;
  font-family: 'roboto', sans-serif;
}
 */


/*a { color: #FFF; }*/

/* p { text-align: center; }
 */


.toggle, [id^=drop] {
  display: none;
}

nav {
  margin: 0;
  padding: 0;

  /*background-color: #254441;*/
}

nav:after {
  content: "";
  display: table;
  clear: both;
}

nav ul {
  /*float: right;*/
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
   /* background-color: #254441; */
  text-align: center;
  position: relative;
}

nav a {
  display: block;
  padding: 0 20px;
  color: #000;
  /*font-size: 20px;*/
  /*line-height: 50px;*/
  text-decoration: none;
}

nav ul li ul li:hover {
  /* background: #000000; */
}

nav a:hover {
/*   border-bottom: 50px solid #f00;
 */}

nav ul ul {
  display: none;
  position: absolute;
  top: 54px;
  left: -30px;
/*   background-color: #f00;
 */}

/* 主選單為5字時的副選單位置調整 */
/*nav ul ul.left5words{
  left: -22px;
}
*//* 主選單為6字時的副選單位置調整 */
/*nav ul ul.left6words{
  left: -16px;
}
*/
nav ul li:hover > ul {
  display: inherit;
}

nav ul ul li {
  width: 250px;
  float: none;
  display: list-item;
  /* position: relative; */
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

/* nav li > a:after { content: ' /'; }
 */
nav li > a:only-child:after { content: ''; }











/* Media Queries
--------------------------------------------- */

@media all and (max-width : 959px) {

  /* #logo {
  display: block;
  padding: 0;
  width: 100%;
  text-align: center;
  float: none;
  }
  */

  nav { margin: 0; }

  .toggle + a,
  .menu {
    display: none;
  }

  .toggle {
    display: block;
    background-color: #7b7594;
    padding: 0 20px;
    color: #FFF;
    /*font-size: 20px;*/
    line-height: 60px;
    text-decoration: none;
    border: none;
    /* width: 10%; */
  }

  .toggle:hover {
    /* background-color: #000000; */
  }

  [id^=drop]:checked + ul {
   display: block;
  }
/* ul.menu {
   display: block;
  }
 */  nav ul li {
    display: block;
    width: 100%;
  }

  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }

  nav ul ul ul a {
    padding: 0 80px;
  }

  nav a:hover,
  nav ul ul ul a {
    /* background-color: #f00; */
  }

  nav ul li ul li .toggle,
  nav ul ul a {
    background-color: #396fb9;
  }

  nav ul ul {
    float: none;
    position: static;
    color: #fff;
  }

  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }












  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul ul li {
    position: static;
  }
}

@media all and (max-width : 330px) {

  nav ul li {
    display: block;
    width: 100%;
  }

}
