@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Niconne|Caveat|Mirza|Open+Sans');
body {
  min-width: 1080px; /* important */
  margin: 0px auto;
  padding: 0px;
  color: navy;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  /* background-color: #80BD9E; */
  background: black url('../image/sparkling.jpg') no-repeat fixed;
  background-size: cover;
}
a {
  cursor: pointer;
  color: navy;
  text-decoration: none;
}
.lowercase {
  text-transform: lowercase;
}
.emphasized {
  font-weight: bold;
  font-variant: small-caps;
}
.error_text {
  color: red;
}
.bkg_navy {
  background-color: navy;
}
.bkg_red {
  background-color: red;
}

.btn_normal {
  cursor: pointer;
  width: 150px;
  height: 40px;
  font-size: 14px;
  color: white;
  border-radius: 20px;
  border: none;
  margin-left: 15px;
  margin-right: 15px;
}
.btn_small {
  cursor: pointer;
  height: 30px;
  width: 120px;
  border: none;
  border-radius: 15px;
  margin-left: 15px;
  margin-right: 15px;
  color: white;
  font-size: 14px;
}
.btn_circle {
  cursor: pointer;
  height: 30px;
  width: 30px;
  margin-left: 15px;
  margin-right: 15px;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 50%;
}

.top_bar {
  top: 0px;
  left: 0px;
  height: 56px;
  margin: 0px auto;
  font-size: 12px;
  text-align: center;
  background-color: lightgrey;
}
.top_bar_logo {
  height: 36px;
  padding: 10px;
  vertical-align: middle;
}
.top_bar_icon {
  cursor: pointer;
  height: 24px;
}

.top_bar_menu_left {
  float: left;
  width: 300px;
  text-align: left;
  box-sizing: border-box;
  border: 1px solid lightgrey;
}
.main_menu {
  position: absolute;
  top: 0px;
  left: 0px;
  border-right: 1px solid darkgrey;
}
.main_menu:hover .top_bar_dropdown {
  display: block;
}
.menu_btn {
  display: block;
  padding: 10px 20px 10px 20px;
  color: grey;
  font-size: 14px;
  font-weight: bold;
  line-height: 36px;
  cursor: pointer;
}
.menu_icon {
  height: 14px;
  padding-right: 5px;
  margin-bottom: 2px;
  vertical-align: middle;
}
.top_bar_dropdown {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 8px 8px 16px black;
  z-index: 1;
}
.top_bar_dropdown ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.top_bar_dropdown ul li {
}
.menu_item {
  width: 200px;
  text-align: center;
}
.menu_item_title {
  display: block;
  padding-left: 10px;
  font-size: 14px;
  text-align: left;
  line-height: 36px;
  box-sizing: border-box;
  color: whitesmoke;
  background-color: grey;
}
.menu_item a {
  display: block;
  padding: 10px;
  font-size: 14px;
  text-align: left;
  color: navy;
  color: whitesmoke;
  background-color: darkgrey;
  box-sizing: border-box;
}
.menu_item a:hover {
  color: navy;
  background-color: #f9f9f9;
}
.dropdown_submenu:hover a {
  color: navy;
  background-color: #f9f9f9;
}
.dropdown_submenu:hover .submenu_box {
  display: block;
}
.submenu_box {
  display: none;
  position: absolute;
  top: 0px;
  left: 100%;
  padding: 20px;
  background-color: #f9f9f9;
  box-shadow: 8px 8px 16px black;
}

.top_bar_menu_right {
  position: relative; /* important for positioning the float box */
  float: right;
  width: 300px;
  padding: 10px 10px 0px 0px;
  text-align: right;
  box-sizing: border-box;
}
.top_bar_menu_right ul {
  float: right;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
.top_bar_menu_right ul li {
  float: left;
  margin-left: 5px;
}
.btn_language {
  display: block;
  cursor: pointer;
  height: 24px;
  width: 24px;
  font-size: 16px;
  text-align: center;
  color: white;
  background-color: grey;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}
.btn_language:hover {
  width: 48px;
  background-color: navy;
}
#btn_language_eng:hover:after {
  content: 'NG';
}
#btn_language_chi:hover:after {
  content: '文';
}
.top_bar_member_in a img, .top_bar_member_out a img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 10px;
}
.top_bar_member_in:hover .member_info_box {
  display: block;
}
.top_bar_member_out:hover .sign_in_box {
  display: block;
}
.member_info_box, .sign_in_box {
  display: none;
  position: absolute; /* important for positioning the float box */
  right: 10px;
  width: 270px;
  font-size: 14px;
  text-align: left;
  background-color: #f9f9f9;
  box-shadow: 8px 8px 16px black;
  z-index: 1;
}
.member_info_box span {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: white;
}
.member_info_box a {
  display: block;
  padding: 10px 20px;
}
.member_info_box a:not(.sign_out):hover {
  color: white;
  background-color: darkgrey;
}
.member_info_box .sign_out {
  text-align: center;
  font-weight: normal;
  color: white;
  background-color: red;
}
.sign_in_form {
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid lightgrey;
}
.sign_in_form h1 {
  display: block;
  margin: 0px 0px 10px 0px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid navy;
}
.sign_in_form_group {
  margin-bottom: 10px;
}
.sign_in_form_group input[type='text'], .sign_in_form_group input[type='password'] {
  width: 228px;
  font-size: 14px;
}
.sign_in_form_group input[type='submit'] {
  cursor: pointer;
  height: 28px;
  width: 80px;
  color: white;
  background-color: navy;
  border: none;
}
.new_member_intro {
  padding: 10px 20px 20px 20px;
}
.new_member_intro h1 {
  margin: 0px;
  padding: 0px 0px 5px 0px;
  font-size: 18px;
}
.new_member_intro span {
  font-size: 12px;
  line-height: 1.5;
}
.new_member_intro ul {
  list-style: inside;
  font-style: italic;
}
.new_member_intro a {
  display: block;
  padding: 10px 0px;
  text-align: center;
}
.new_member_intro a:hover {
  background-color: lightgrey;
}

.container {
  margin: 0px auto;
  min-height: 650px;
  clear: both;
  text-align: center;
}

.content_box {
  display: inline-block;
  max-width: 1080px; /* same as body min-width */
  margin-top: 10px;
  padding: 20px 40px 20px 40px;
  background-color: #f9f9f9;
  box-shadow: 8px 8px 16px black;
}
.content_box h1 {
  display: block;
  margin: 0px 0px 20px 0px;
  font-family: 'Mirza', cursive;
  font-size: 24px;
  text-align: left;
  border-bottom: 1px solid navy;
}
.expression_box {
  display: block;
  margin-bottom: 10px;
  text-align: left;
}
.fun_style {
  font-family: "Caveat", cursive;
  font-size: 32px;
}
.formal_style {
  font-family: "Niconne", cursive;
  font-size: 32px;
}

.footer {
  width: 100%;
  height: 30px;
  padding: 5px 0px;
  font-size: 12px;
  text-align: center;
  line-height: 30px;
  color: lightgrey;
  z-index: 1;
}

.message_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 20px;
  font-size: 16px;
  text-align: center;
  background-color: lightgrey;
  box-shadow: 8px 8px 16px #464646;
  z-index: 1;
}
.message_popup span {
  display: block;
  padding: 20px;
}
.message_popup_header {
  padding: 5px;
  color: white;
  font-size: 16px;
  text-align: left;
}

.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip_text {
  position: absolute;
  display: block;
  visibility: hidden;
  padding: 5px 10px;
  margin-left: 20px;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  color: whitesmoke;
  background-color: grey;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}
.tooltip:hover .tooltip_text {
  visibility: visible;
  opacity: 1;
}
