@import url("fonts.css");
@import url("ckeditor.css");

body {
  overflow-x: hidden;
}

#xoops_theme_center_zone {
  padding-bottom: 3rem;
}

a.block_config {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 10px;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../images/block_config.png);
}

a.tad_block_config {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 20px;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../images/tad_block_config.png);
}

a.block_config:hover,
a.tad_block_config:hover {
  background-image: url(../images/block_config_hover.png);
}

/* jGrowl Box style */
div.center div.jGrowl-notification, div.center div.jGrowl-closer {
  margin-left: auto;
  margin-right: auto;
}

div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
  background-color: #ffffff;
  color: #3b2001;
  width: 100%;
  padding: 0.7rem;
  margin-top: 10rem;
  margin-bottom: 1rem;
  font-family: "Noto Sans TC", Tahoma, Geneva, sans-serif;
  font-size: 1.4rem;
  text-align: center;
  border: 4px solid #e98c4d;
  display: none;
  border-radius: 5px;
  box-shadow: 5px 5px 10px #9e9e9e;
}

div.jGrowl div.jGrowl-notification {
  min-height: 70px;
}

div.jGrowl div.jGrowl-notification div.jGrowl-header {
  font-weight: bold;
  font-size: 0.825rem;
}

/* jGrowl Close button */
div.jGrowl div.jGrowl-notification button.jGrowl-close {
  float: right;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  background-color: #ceda8f;
  border: 3px solid #729932;
  width: 40px; /* 設定寬度 */
  height: 40px; /* 設定高度 */
  border-radius: 50%; /* 設定圓角為50%使其成為圓形 */
}

div.jGrowl div.jGrowl-closer {
  height: 15px;
  padding-top: 4px;
  padding-bottom: 4px;
  cursor: pointer;
  font-size: 0.925rem;
  font-weight: bold;
  text-align: center;
}

.toolbar_bootstrap_nav {
  position: relative;
  margin: 20px 0;
}
.toolbar_bootstrap_nav ul {
  margin: 0;
  padding: 0;
}
.toolbar_bootstrap_nav li {
  margin: 0 5px 10px 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}
.toolbar_bootstrap_nav a {
  padding: 3px 12px;
  text-decoration: none;
  color: #404a50;
  line-height: 100%;
}
.toolbar_bootstrap_nav a:hover {
  color: #1c55be;
  background: #f5f9fc;
}
.toolbar_bootstrap_nav .current a {
  background: #404a50;
  color: #fff;
  border-radius: 5px;
}