/***
	create 2018/12/1
	author insowe Gili
***/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

html, body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  height: 100%;
  min-height: 100%;
  font-size: 18px;
}

body {
  background: url(../img/new/content_bg.png) repeat-y center top;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #754C00;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
a .svg {
  fill: #754C00;
  width: 14px;
}
a:hover, a:focus {
  text-decoration: none;
}
a:hover .svg, a:focus .svg {
  fill: #009985;
}

.afterClear:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}
.wrap:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}

.navTop {
  padding: 10px 0;
  text-align: right;
  font-size: 14px;
}

footer {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  color: #999999;
  padding-bottom: 10px;
  font-size: 14px;
  z-index: 1;
}
footer .link {
  margin-bottom: 5px;
}
footer .link a {
  display: inline-block;
  vertical-align: top;
  margin: 0 5px;
}

.content {
  position: relative;
  padding-bottom: 130px;
  min-height: 100%;
}
.content header {
  position: relative;
  z-index: 999;
}
.content header:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
.content header .btn-ham {
  display: none;
}
.content header .logo {
  float: left;
  display: block;
  width: 72px;
  margin-right: 30px;
}
.content header #menu {
  margin-top: 30px;
  float: left;
}
.content header #menu > li {
  display: inline-block;
  vertical-align: top;
  padding-bottom: 10px;
}
.content header #menu > li > a {
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  padding: 8px 15px;
  display: block;
}
.content header #menu > li:hover > a {
  background-color: #c09f61;
  color: #ffffff;
}
.content header #menu .menu-item {
  position: relative;
}
.content header #menu .menu-item:hover > .menu-item-sub {
  display: block;
}
.content header #menu .menu-item .menu-item-sub {
  background-color: #c09f61;
  position: absolute;
  min-width: 100%;
  left: 0;
  top: 100%;
  display: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.content header #menu .menu-item .menu-item-sub::before {
  position: absolute;
  border-style: solid;
  border-width: 8px;
  border-color: transparent transparent #c09f61 transparent;
  left: 50%;
  top: -15px;
  margin-left: -8px;
  content: '';
}
.content header #menu .menu-item .menu-item-sub a {
  display: block;
  white-space: nowrap;
  padding: 8px 15px;
  color: #ffffff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.content header #menu .menu-item .menu-item-sub a:hover {
  background-color: #754C00;
}
.content header #menu .menu-item .menu-item-sub .menu-item .menu-item-sub {
  position: absolute;
  left: 100%;
  top: 0;
  padding-top: 0;
}
.content header #menu .menu-item .menu-item-sub .menu-item .menu-item-sub::before {
  display: none;
}
.content .navbar {
  margin-top: 30px;
  font-size: 0;
}
.content .navbar li {
  display: inline-block;
  vertical-align: top;
  padding-top: 4px;
  font-size: 18px;
}
.content .navbar li:first-child {
  width: 9px;
  padding-top: 0;
}
.content .navbar li a, .content .navbar li span {
  display: block;
  padding: 10px 15px;
}
.content .navbar li.active a {
  background-color: #c09f61;
  color: #ffffff;
}
.content .main {
  margin-top: 30px;
  color: #754C00;
  position: relative;
  z-index: 99;
}
.content .main::after:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
.content .main .tabs-block {
  font-size: 18px;
  display: none;
  position: relative;
  z-index: 10;
}
.content .main .tabs-block:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
.content .main .tabs-block.active {
  display: block;
}
.content .main .tabs-block p {
  margin-bottom: 10px;
}
.content .main .tabs-block sup {
  font-size: 12px;
  color: #d4155b;
  cursor: pointer;
  top: -10px;
}
.content .main .sidebar {
  width: 180px;
  float: left;
  margin-right: 20px;
  text-align: center;
}
.content .main .sidebar .wrapper-dropdown.active .dropdown {
  display: block;
}
.content .main .sidebar .wrapper-dropdown.active .title::after {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  top: 10px;
}
.content .main .sidebar .title {
  margin-bottom: 5px;
  display: block;
  padding: 8px 22px 8px 6px;
  background-color: #f1e9dd;
  color: #754C00;
  position: relative;
  line-height: 20px;
  cursor: pointer;
}
.content .main .sidebar .title::after {
  content: '';
  position: absolute;
  border-color: #754C00 transparent transparent transparent;
  border-width: 5px;
  border-style: solid;
  right: 10px;
  top: 15px;
}
.content .main .sidebar .dropdown {
  overflow-y: auto;
  height: 50vh;
  display: none;
}
.content .main .sidebar .dropdown option, .content .main .sidebar .dropdown li {
  padding: 6px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.content .main .sidebar .dropdown option:nth-child(2n), .content .main .sidebar .dropdown li:nth-child(2n) {
  background-color: #ffffff;
}
.content .main .sidebar .dropdown option:nth-child(2n+1), .content .main .sidebar .dropdown li:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.content .main .main-box {
  overflow: hidden;
}
.content .main .title {
  margin-bottom: 5px;
  padding: 6px 10px;
  color: #ffffff;
  background-color: #c09f61;
  min-height: 36px;
}
.content .main .title:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
.content .main .title span {
  display: inline-block;
  vertical-align: top;
  min-width: 85px;
  padding: 2px 6px;
  line-height: 20px;
}
.content .main .title .page_list {
  display: inline-block;
  vertical-align: top;
  float: right;
  text-align: right;
}
.content .main .title .page_list .data_number {
  color: #555555;
  display: inline-block;
  vertical-align: top;
  padding: 2px 6px;
  line-height: 20px;
}
.content .main .title .page_list .pagination {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
}
.content .main .title .page_list .pagination > li {
  display: inline-block;
  vertical-align: top;
}
.content .main .title .page_list .pagination > li > a, .content .main .title .page_list .pagination > li > span {
  background-color: transparent;
  border: none;
  padding: 2px 6px;
  line-height: 20px;
  display: block;
  color: #555555;
}
.content .main .title .page_list .pagination > li > a img, .content .main .title .page_list .pagination > li > span img {
  display: inline-block;
  vertical-align: top;
  margin: 0 2px;
}
.content .main .title .page_list .pagination > li.active > a {
  background-color: #555555;
  color: #ffffff;
}
.content .main .result {
  font-size: 0;
  height: 50vh;
  overflow-y: auto;
}
.content .main .result .show_result, .content .main .result .post_id {
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  width: calc( ( 100% / 6 ) - 10px );
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  background-color: #f1e9dd;
  margin: 5px;
}
.content .main .result .show_result .name_index, .content .main .result .post_id .name_index {
  background-color: #dbdcdc;
  width: 30px;
  display: inline-block;
  vertical-align: top;
  margin-right: 8px;
  text-align: center;
}
.content .main .result .show_result {
  text-align: center;
  width: calc( ( 100% / 10 ) - 10px );
}
.content .main .result .list-title {
  text-align: center;
  padding: 8px;
  border: none;
  font-size: 16px;
  display: block;
  width: 100%;
  cursor: pointer;
}
.content .main .result .list-title:nth-child(2n) {
  background-color: #f5f5f6;
}
.content .main .result .list-title:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.content .main .tabs-nav {
  border-bottom: 2px solid #c09f61;
  border-top: 2px solid #c09f61;
  margin-bottom: 15px;
  font-size: 0;
  margin-left: 0;
}
.content .main .tabs-nav li {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 0;
  min-width: calc( 100% / 8);
  text-align: center;
  font-size: 16px;
  padding: 4px;
  border-left: 2px solid #c09f61;
}
.content .main .tabs-nav li.tabs-selected {
  display: none;
}
.content .main .tabs-nav li:nth-child(2) {
  border-left: none;
}
.content .main .tabs-nav li.active a {
  background-color: #c09f61;
  color: #ffffff;
}
.content .main .tabs-nav li a, .content .main .tabs-nav li span {
  display: block;
  padding: 10px;
}
.content .main .form {
  overflow: hidden;
  padding-bottom: 15px;
  border-bottom: 3px solid #ae8b55;
}
.content .main .form .collapse-block {
  display: none;
}
.content .main .row {
  font-size: 0;
  margin: 0 -8px 6px;
}
.content .main .row .col {
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
  margin: 0 8px;
}
.content .main .row .col1 {
  width: calc( 100% - 16px );
}
.content .main .row .col2 {
  width: calc( ( 100% / 2 ) - 16px );
}
.content .main .row .col3 {
  width: calc( ( 100% / 3 ) - 16px );
}
.content .main .row .col4 {
  width: calc( ( 100% / 4 ) - 16px );
}
.content .main .row .col5-4 {
  width: calc( ( 100% * 4 / 5 ) - 16px );
}
.content .main .row .col5 {
  width: calc( ( 100% / 5 ) - 16px );
}
.content .main .row .input-row {
  font-size: 0;
}
.content .main .row .input-row:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
.content .main .row .input-row .name {
  display: inline-block;
  vertical-align: top;
  padding: 5px;
  font-size: 16px;
  line-height: 1.6;
  background-color: #ae8b55;
  color: #ffffff;
  width: 125px;
  text-align: center;
}
.content .main .row .input-row .input-box {
  display: inline-block;
  vertical-align: top;
  width: calc( 100% - 125px);
  padding-left: 10px;
  font-size: 0;
}
.content .main .row .col5 .input-row .input-box {
  width: 75px;
}
.content .main .row .col5 .input-row .input-box .btn{
  margin-left: 0;
}
.content .main .row .input-row .input-box input[type="text"] {
  border: 2px solid #c09f61;
  padding: 5px;
  font-size: 16px;
}
.content .main .row .input-row .input-box select {
  border: 2px solid #c09f61;
  padding: 4px 5px;
  font-size: 16px;
}
.content .main .row .input-row .input-box select option:disabled {
  background-color: #eeeeee;
  color: #eeeeee;
}
.content .main .row .input-row .input-box select.error {
  border-color: red;
}
.content .main .row .input-row .input-box .all_input {
  width: 100%;
  font-size: 16px;
}
.content .main .row .input-row .input-box .col_input {
  width: calc( ( 100% / 2 ) - 10px );
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
}
.content .main .row .input-row .input-box span {
  display: inline-block;
  vertical-align: top;
  width: 20px;
  font-size: 16px;
  /*text-align: center;*/
  margin-top: 10px;
}
.content .main .row .input-row .input-box label {
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
  padding: 5px 10px;
  margin-right: 10px;
  margin-top: 5px;
}
.content .main .row .input-row .input-box label input {
  height: 16px;
  width: 16px;
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  margin-top: 0;
}
.content .main .subject-data {
  line-height: 35px;
}
.content .main .subject-data .row {
  padding: 5px 0;
  margin-bottom: 0;
}
.content .main .subject-data .row:nth-child(2n) {
  background-color: #f1e9dd;
}
.content .main .subject-data .row .input-row .input-box {
  line-height: 1.6;
  padding: 5px 5px 5px 10px;
  font-size: 18px;
}
.content .main .subject-data .row .input-row .input-box a {
  display: inline-block;
  color: #4183C4;
}
.content .main .subject-data .row .input-row .input-box a:hover {
  color: #009985;
}
.content .main .subject-data .row .input-row .input-box span {
  width: auto;
  margin-top: 0;
  margin-right: 5px;
  font-size: 18px;
}
.content .main .subject-data .row .input-row .input-box .open-window{
  display: inline-block;
  width: 15px;
}
.content .main .subject-data .row .input-row .input-box .open-window svg{
  fill: #4183C4;
}
.content .main .subject-data .row .input-row .input-box .open-window svg:hover {
  fill: #009985;
}
.content .main .subject-data .row .input-row .input-box p {
  margin-bottom: 0;
}
.content .main .btn-open {
  display: block;
  text-align: center;
  position: relative;
  z-index: 5;
  width: 90px;
  margin: 0 auto 10px;
  background-color: #ae8b55;
  padding: 8px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #ffffff;
}
.content .main .btn-open .opn {
  display: inline-block;
}
.content .main .btn-open .clz {
  display: none;
}
.content .main .btn-open::before {
  content: '';
  border-width: 6px;
  border-color: #ffffff transparent transparent transparent;
  border-style: solid;
  display: inline-block;
  vertical-align: top;
  margin-top: 6px;
  margin-right: 3px;
}
.content .main .btn-open.active::before {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-top: 0;
}
.content .main .btn-open.active .clz {
  display: inline-block;
}
.content .main .btn-open.active .opn {
  display: none;
}
.content .main .btn-block {
  text-align: right;
}
.content .main .btn-block .btn {
  background-color: #888888;
  color: #ffffff;
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
  margin-right: 6px;
  font-size: 16px;
}
.content .main .btn-block .btn:hover {
  background-color: #ae8b55;
}
.content .page-main {
  margin-top: 80px;
}
.content .page-main h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.content .page-main .subTitle {
  margin-top: 10px;
}
.content .page-main .subTitle > span {
  display: inline-block;
  vertical-align: top;
  background-color: #89003E;
  color: #ffffff;
  padding: 5px 15px;
  position: relative;
  margin-right: 20px;
}
.content .page-main .subTitle > span::after, .content .page-main .subTitle > span::before {
  background-color: #89003E;
  width: 8px;
  height: 28px;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  -moz-transform-origin: bottom 50%;
  -ms-transform-origin: bottom 50%;
  -webkit-transform-origin: bottom 50%;
  transform-origin: bottom 50%;
  -moz-transform: skewX(-15deg);
  -ms-transform: skewX(-15deg);
  -webkit-transform: skewX(-15deg);
  transform: skewX(-15deg);
}
.content .page-main .subTitle > span::after {
  right: -16px;
}
.content .page-main .subTitle > span::before {
  right: -4px;
}
.content .page-main .subTitle > div {
  display: inline-block;
  vertical-align: top;
}
.content .page-main .subTitle > div span {
  padding: 5px;
  display: inline-block;
}
.content .page-main p {
  line-height: 1.6;
  margin-bottom: 15px;
}
.content .page-main ul {
  list-style: disc;
  font-size: 18px;
  margin-left: 25px;
  margin-top: 12px;
}
.content .page-main ul li {
  margin-bottom: 12px;
}
.content .page-main ul li span {
  color: #555555;
}
.content .page-main .title .page_list li {
  margin-bottom: 0;
}
.content #pageLoading {
  margin-top: 80px;
}
.content .bottom-block {
  border-top: 2px solid #c09f61;
}
.content .bottom-block span {
  display: inline-block;
  vertical-align: top;
  padding: 10px 15px;
}
.content .bottom-block #editor_name_show {
  padding: 0;
}
.content .bottom-block #editor_name {
  background-color: #754C00;
  color: #ffffff;
  position: relative;
  margin-right: 20px;
}
.content .bottom-block #editor_name::after {
  content: '';
  position: absolute;
  border-color: #754C00 transparent transparent #754C00;
  border-width: 19px 10px;
  border-style: solid;
  right: -19.5px;
  top: 0;
}

.popup.ui {
  padding: 10px;
  background-color: #754C00;
  max-width: 36vw;
}
.popup.ui .tooltip-content {
  max-height: 400px;
  width: 35vw;
  overflow: auto;
}
.popup.ui .content {
  font-size: 16px;
  padding-bottom: 0;
}
.popup.ui:before {
  background: #754C00 !important;
}

.modal {
  text-align: center;
  font-size: 16px;
}
.modal::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -440px;
}
.modal .modal-dialog {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.modal .modal-dialog .modal-content {
  width: 765px;
  background-color: rgba(255, 255, 255, 0.9);
}
.modal .modal-dialog .modal-header {
  background-color: #c09f61;
  font-size: 20px;
  color: #ffffff;
  border-bottom: none;
}
.modal .modal-dialog .modal-header .close {
  width: 20px;
  height: 20px;
  color: #fff;
  opacity: 1;
}
.modal .modal-dialog .modal-body .search-wrap {
  font-size: 0;
}
.modal .modal-dialog .modal-body .search-wrap #modal-search {
  font-size: 16px;
  margin-bottom: 10px;
  display: inline-block;
  vertical-align: top;
  width: calc( 100% - 100px );
  margin-right: 25px;
}
.modal .modal-dialog .modal-body .search-wrap .checkboxAll {
  display: inline-block;
  vertical-align: top;
  width: 75px;
  text-align: right;
  min-height: auto;
  margin: 0;
  line-height: 34px;
}
.modal .modal-dialog .modal-body .search-wrap .checkboxAll label::before {
  top: 8px;
}
.modal .modal-dialog .modal-body .ui.tabular.menu {
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  font-size: 0;
}
.modal .modal-dialog .modal-body .ui.tabular.menu .item {
  font-size: 18px;
  padding: 15px 10px;
  width: calc( 100% / 7);
  text-align: center;
  display: inline-block;
  vertical-align: top;
}
.modal .modal-dialog .modal-body .ui.tabular.menu .prev, .modal .modal-dialog .modal-body .ui.tabular.menu .next {
  font-size: 18px;
  padding: 15px 10px;
  width: calc( ( 100% / 7 ) / 2 );
  text-align: center;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  font-weight: bold;
}
.modal .modal-dialog .modal-body .ui.tabular.menu .prev.disabled, .modal .modal-dialog .modal-body .ui.tabular.menu .next.disabled {
  color: #d8d4d0;
}
.modal .modal-dialog .modal-body .ui.segment[class*="bottom attached"] {
  margin-bottom: 0;
}
.modal .modal-dialog .modal-body .show_poet_data {
  text-align: left;
  line-height: 1.6;
}
.modal .modal-dialog .modal-body .show_poet_data a {
  display: inline-block;
  vertical-align: top;
  color: #4183C4;
  margin-right: 5px;
}
.modal .modal-dialog .modal-body .show_poet_data span {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
}
.modal .modal-dialog .modal-body .table-box {
  overflow-y: auto;
}
.modal .modal-dialog .modal-body .result_body, .modal .modal-dialog .modal-body .result_body_activity {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  margin-top: 0;
}
.modal .modal-dialog .modal-body .result_body thead th, .modal .modal-dialog .modal-body .result_body_activity thead th {
  background-color: #abaea8;
  text-align: center;
  border: none;
  color: #ffffff;
  min-width: 130px;
  padding: 10px;
}
.modal .modal-dialog .modal-body .result_body thead th.no, .modal .modal-dialog .modal-body .result_body_activity thead th.no {
  width: 30px;
  min-width: auto;
}
.modal .modal-dialog .modal-body .result_body thead th:first-child, .modal .modal-dialog .modal-body .result_body_activity thead th:first-child {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.modal .modal-dialog .modal-body .result_body thead th:last-child, .modal .modal-dialog .modal-body .result_body_activity thead th:last-child {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.modal .modal-dialog .modal-body .result_body thead th:nth-child(2n+1), .modal .modal-dialog .modal-body .result_body_activity thead th:nth-child(2n+1) {
  background-color: #999999;
}
.modal .modal-dialog .modal-body .result_body tbody tr:nth-child(2n+1), .modal .modal-dialog .modal-body .result_body_activity tbody tr:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.modal .modal-dialog .modal-body .result_body tbody tr:nth-child(2n+1) td:nth-child(2n+1), .modal .modal-dialog .modal-body .result_body_activity tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
  background-color: #f8f5ef;
}
.modal .modal-dialog .modal-body .result_body tbody td, .modal .modal-dialog .modal-body .result_body_activity tbody td {
  border: none;
  text-align: center;
  color: #555555;
}
.modal .modal-dialog .modal-body .result_body tbody td.text-left, .modal .modal-dialog .modal-body .result_body_activity tbody td.text-left {
  text-align: left;
}
.modal .modal-dialog .modal-body .house-box {
  min-width: auto;
}
.modal .modal-dialog .modal-body .house-box tbody tr {
  background-color: #f2fafb;
}
.modal .modal-dialog .modal-body .house-box tbody tr td:nth-child(2n+1) {
  background-color: #fcfcfc;
}
.modal .modal-dialog .modal-body .house-box tbody tr:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.modal .modal-dialog .modal-body .house-box tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
  background-color: #f8f5ef;
}
.modal .modal-dialog .modal-body .house-box tbody td {
  border: none;
  text-align: center;
  color: #555555;
}
.modal .show_house_title {
  text-align: right;
  line-height: 32px;
}
.modal .show_house_title .btn-group {
  line-height: 22px;
}
.modal .show_house_title .btn-group a {
  display: inline-block;
  vertical-align: top;
  padding: 5px 10px;
}
.modal .show_house_title .btn-group a img {
  display: inline-block;
  vertical-align: top;
  width: 22px;
  margin: 0 2px;
}
.modal .show_house_title .btn-group a span {
  display: inline-block;
  vertical-align: top;
}
.modal .show_house_title .page_list .data_number {
  color: #555555;
  display: inline-block;
  vertical-align: top;
  padding: 2px 6px;
  line-height: 20px;
}
.modal .show_house_title .page_list .pagination {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
}
.modal .show_house_title .page_list .pagination > li {
  display: inline-block;
  vertical-align: top;
}
.modal .show_house_title .page_list .pagination > li > a, .modal .show_house_title .page_list .pagination > li > span {
  background-color: transparent;
  border: none;
  padding: 2px 6px;
  line-height: 20px;
  display: block;
  color: #555555;
}
.modal .show_house_title .page_list .pagination > li > a img, .modal .show_house_title .page_list .pagination > li > span img {
  display: inline-block;
  vertical-align: top;
  margin: 0 2px;
}
.modal .show_house_title .page_list .pagination > li.active > a {
  background-color: #555555;
  color: #ffffff;
}
.modal .search_content {
  font-size: 0;
  margin: 0 -5px;
  text-align: left;
  overflow-y: auto;
  max-height: 480px;
}
.modal .search_content .radio-item, .modal .search_content .checkbox-item {
  display: inline-block;
  vertical-align: top;
  width: calc( ( 100% / 4 ) - 10px);
  margin: 10px 5px;
}
.modal .search_content .radio-item .radio, .modal .search_content .radio-item .checkbox, .modal .search_content .checkbox-item .radio, .modal .search_content .checkbox-item .checkbox {
  margin: 0;
}
.modal .btn-block {
  text-align: right;
  padding: 0 15px 15px;
}
.modal .btn-block .btn {
  background-color: #888888;
  color: #ffffff;
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
  margin: 0 3px;
  font-size: 16px;
  width: auto;
}
.modal .btn-block .btn:hover {
  background-color: #ae8b55;
}

.webModal {
  font-size: 16px;
  display: none;
  margin-top: 20px;
}
.webModal.active {
  display: block;
}
.webModal .search-wrap {
  font-size: 0;
}
.webModal .search-wrap #modal-search {
  font-size: 16px;
  margin-bottom: 10px;
  display: inline-block;
  vertical-align: top;
  width: calc( 100% - 100px );
  margin-right: 25px;
}
.webModal .search-wrap .checkboxAll {
  display: inline-block;
  vertical-align: top;
  width: 75px;
  text-align: right;
  min-height: auto;
  margin: 0;
  line-height: 34px;
}
.webModal .search-wrap .checkboxAll label::before {
  top: 8px;
}
.webModal .ui.tabular.menu {
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  font-size: 0;
}
.webModal .ui.tabular.menu .item {
  font-size: 18px;
  padding: 15px 10px;
  width: calc( 100% / 7);
  text-align: center;
  display: inline-block;
  vertical-align: top;
}
.webModal .ui.tabular.menu .prev, .webModal .ui.tabular.menu .next {
  font-size: 18px;
  padding: 15px 10px;
  width: calc( ( 100% / 7 ) / 2 );
  text-align: center;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  font-weight: bold;
}
.webModal .ui.tabular.menu .prev.disabled, .webModal .ui.tabular.menu .next.disabled {
  color: #d8d4d0;
}
.webModal .ui.segment[class*="bottom attached"] {
  margin-bottom: 0;
}
.webModal .show_poet_data {
  text-align: left;
  line-height: 1.6;
}
.webModal .show_poet_data a {
  display: inline-block;
  vertical-align: top;
  color: #4183C4;
  margin-right: 5px;
}
.webModal .show_poet_data span {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
}
.webModal .table-box {
  overflow-y: auto;
}
.webModal .result_body, .webModal .result_body_activity {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  margin-top: 0;
}
.webModal .result_body thead th, .webModal .result_body_activity thead th {
  background-color: #abaea8;
  text-align: center;
  border: none;
  color: #ffffff;
  min-width: 130px;
  padding: 10px;
}
.webModal .result_body thead th.no, .webModal .result_body_activity thead th.no {
  width: 30px;
  min-width: auto;
}
.webModal .result_body thead th:first-child, .webModal .result_body_activity thead th:first-child {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.webModal .result_body thead th:last-child, .webModal .result_body_activity thead th:last-child {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.webModal .result_body thead th:nth-child(2n+1), .webModal .result_body_activity thead th:nth-child(2n+1) {
  background-color: #999999;
}
.webModal .result_body tbody tr:nth-child(2n+1), .webModal .result_body_activity tbody tr:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.webModal .result_body tbody tr:nth-child(2n+1) td:nth-child(2n+1), .webModal .result_body_activity tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
  background-color: #f8f5ef;
}
.webModal .result_body tbody td, .webModal .result_body_activity tbody td {
  border: none;
  text-align: center;
  color: #555555;
}
.webModal .result_body tbody td.text-left, .webModal .result_body_activity tbody td.text-left {
  text-align: left;
}
.webModal .house-box {
  min-width: auto;
}
.webModal .house-box tbody tr {
  background-color: #f2fafb;
}
.webModal .house-box tbody tr td:nth-child(2n+1) {
  background-color: #fcfcfc;
}
.webModal .house-box tbody tr:nth-child(2n+1) {
  background-color: #f1e9dd;
}
.webModal .house-box tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
  background-color: #f8f5ef;
}
.webModal .house-box tbody td {
  border: none;
  text-align: center;
  color: #555555;
}
.webModal .show_house_title {
  text-align: right;
  line-height: 32px;
}
.webModal .show_house_title .btn-group {
  line-height: 22px;
}
.webModal .show_house_title .btn-group a {
  display: inline-block;
  vertical-align: top;
  padding: 5px 10px;
}
.webModal .show_house_title .btn-group a img {
  display: inline-block;
  vertical-align: top;
  width: 22px;
  margin: 0 2px;
}
.webModal .show_house_title .btn-group a span {
  display: inline-block;
  vertical-align: top;
}
.webModal .show_house_title .page_list .data_number {
  color: #555555;
  display: inline-block;
  vertical-align: top;
  padding: 2px 6px;
  line-height: 20px;
}
.webModal .show_house_title .page_list .pagination {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
}
.webModal .show_house_title .page_list .pagination > li {
  display: inline-block;
  vertical-align: top;
}
.webModal .show_house_title .page_list .pagination > li > a, .webModal .show_house_title .page_list .pagination > li > span {
  background-color: transparent;
  border: none;
  padding: 2px 6px;
  line-height: 20px;
  display: block;
  color: #555555;
}
.webModal .show_house_title .page_list .pagination > li > a img, .webModal .show_house_title .page_list .pagination > li > span img {
  display: inline-block;
  vertical-align: top;
  margin: 0 2px;
}
.webModal .show_house_title .page_list .pagination > li.active > a {
  background-color: #555555;
  color: #ffffff;
}
.webModal .search_content {
  font-size: 0;
  margin: 0 -5px;
  text-align: left;
  overflow-y: auto;
  max-height: 480px;
}
.webModal .search_content .radio-item, .webModal .search_content .checkbox-item {
  display: inline-block;
  vertical-align: top;
  width: calc( ( 100% / 4 ) - 10px);
  margin: 10px 5px;
}
.webModal .search_content .radio-item .radio, .webModal .search_content .radio-item .checkbox, .webModal .search_content .checkbox-item .radio, .webModal .search_content .checkbox-item .checkbox {
  margin: 0;
}
.webModal .btn-block {
  text-align: right;
  padding: 0 15px 15px;
}
.webModal .btn-block .btn {
  background-color: #888888;
  color: #ffffff;
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
  margin: 0 3px;
  font-size: 16px;
  width: auto;
}
.webModal .btn-block .btn:hover {
  background-color: #ae8b55;
}

#index {
  background: #ffffff url(../img/new/bg.png) no-repeat center -20px;
  background-size: contain;
  height: 913px;
}
#index .right-block {
  float: right;
  margin-right: 3%;
  margin-top: 95px;
}
#index .right-block #index-search {
  position: relative;
  padding-left: 10px;
  margin-top: 10px;
}
#index .right-block #index-search input {
  height: 40px;
  line-height: 40px;
  width: 100%;
  padding-right: 50px;
  padding-left: 10px;
  border: 1px solid #999999;
}
#index .right-block #index-search .btn-search {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 47px;
  border: none;
  padding: 0;
}
#index .left-block {
  overflow: hidden;
  margin-top: 95px;
}
#index .left-block .menu-item .menu-link {
  display: inline-block;
  position: relative;
}
#index .left-block .menu-item .menu-link > a {
  width: 120px;
  display: block;
}
#index .left-block .menu-item .menu-link:hover .menu-item-sub {
  display: block;
}
#index .left-block .menu-item .menu-link .menu-item-sub {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 110px;
  padding-left: 10px;
  display: none;
}
#index .left-block .menu-item .menu-link .menu-item-sub a {
  display: block;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  overflow: hidden;
  color: #ffffff;
  padding: 6px 12px;
  margin: 5px 0;
  white-space: nowrap;
}
#index .left-block .menu-item .menu-link .menu-item-sub a::before {
  display: inline-block;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  background-color: #ffffff;
  margin-right: 6px;
  vertical-align: top;
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 4px;
}
#index .left-block .menu-item1 {
  margin-left: 18%;
  margin-top: 90px;
}
#index .left-block .menu-item1 .menu-item-sub a {
  background-color: #86c5c2;
}
#index .left-block .menu-item1 .menu-item-sub a:hover {
  background-color: #64b4b1;
}
#index .left-block .menu-item2 {
  margin-left: 8%;
  margin-top: 65px;
}
#index .left-block .menu-item2 .menu-item-sub a {
  background-color: #ee93a1;
}
#index .left-block .menu-item2 .menu-item-sub a:hover {
  background-color: #e7677b;
}
#index .left-block .menu-item3 {
  margin-left: 22%;
  margin-top: 65px;
}
#index .left-block .menu-item3 .menu-item-sub a {
  background-color: #85d32f;
}
#index .left-block .menu-item3 .menu-item-sub a:hover {
  background-color: #6db024;
}
#index .left-block .menu-item4 {
  float: right;
  margin-top: -6%;
}

#poet {
  background: url(../img/new/poet_head_bg.png) no-repeat center top;
}
#poet #relationship_content svg {
  width: 900px;
  height: 600px;
  margin: 0 auto;
}

#poem {
  background: url(../img/new/poem_head_bg.png) no-repeat center top;
}
#poem #RLButton {
  margin-top: 25px;
  margin-bottom: 25px;
  position: relative;
  z-index: 5;
  text-align: center;
}
#poem #RLButton a {
  width: 44px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
  padding: 0;
}
#poem #RLButton #last_title_btn {
  background: transparent url(../img/new/last_button.png) no-repeat center top;
}
#poem #RLButton #next_title_btn {
  background: transparent url(../img/new/next_button.png) no-repeat center top;
}
#poem #RLButton #last_next_titla {
  color: #754C00;
  display: inline-block;
  vertical-align: middle;
  line-height: 40px;
  font-size: 18px;
  margin: 0 20px;
}
#poem.poemInfo {
  display: none;
}

#society .map {
  width: 610px;
  height: 638px;
  margin: 20px auto;
  background: url(../img/new/society_content_bg.png) no-repeat center top;
  position: relative;
}
#society .map .map-item {
  position: absolute;
  left: 0;
  top: 0;
}
#society .map .map-item:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
#society .map .map-item .name {
  float: left;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  width: 24px;
  height: 58px;
  line-height: 58px;
  margin-right: 5px;
  display: block;
}
#society .map .map-item .name::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 58px;
  width: 0;
  height: 0;
  border-right: 16px solid transparent;
  border-left: 0px solid transparent;
}
#society .map .map-item.active .sub {
  display: block;
}
#society .map .map-item .sub {
  overflow: hidden;
  text-align: center;
  width: 100px;
  display: none;
  position: relative;
  z-index: 10;
}
#society .map .map-item .sub input {
  border: none;
  font-size: 16px;
  width: 100%;
  padding: 5px;
  color: #ffffff;
}
#society .map .map-item .sub .btn-close {
  background-color: #888888;
  text-align: right;
  padding-right: 10px;
}
#society .map .map-item .sub .city {
  margin: 1px 0;
}
#society .map #north {
  left: 345px;
  top: 30px;
}
#society .map #north .name {
  background: #01913a;
}
#society .map #north .name::before {
  border-top: 20px solid #01913a;
}
#society .map #north .sub .city {
  background-color: #01913a;
}
#society .map #north .sub .city:hover {
  background-color: #02dd58;
}
#society .map #middle {
  left: 270px;
  top: 175px;
}
#society .map #middle .name {
  background: #d4155b;
}
#society .map #middle .name::before {
  border-top: 20px solid #d4155b;
}
#society .map #middle .sub .city {
  background-color: #d4155b;
}
#society .map #middle .sub .city:hover {
  background-color: #ed4985;
}
#society .map #south {
  left: 255px;
  top: 375px;
}
#society .map #south .name {
  background: #f8931f;
}
#society .map #south .name::before {
  border-top: 20px solid #f8931f;
}
#society .map #south .sub .city {
  background-color: #f8931f;
}
#society .map #south .sub .city:hover {
  background-color: #fab769;
}
#society .map #east {
  left: 405px;
  top: 270px;
}
#society .map #east .name {
  background: #2e3192;
}
#society .map #east .name::before {
  border-top: 20px solid #2e3192;
}
#society .map #east .sub .city {
  background-color: #2e3192;
}
#society .map #east .sub .city:hover {
  background-color: #474bc5;
}
#society .map #out {
  left: 70px;
  top: 180px;
}
#society .map #out .name {
  background: #92278f;
  line-height: 24px;
  padding-top: 4px;
}
#society .map #out .name::before {
  border-top: 20px solid #92278f;
}
#society .map #out .sub .city {
  background-color: #92278f;
}
#society .map #out .sub .city:hover {
  background-color: #cb3bc7;
}

#society_search {
  background: url(../img/new/society_info_head_bg.png) no-repeat center top;
}

#society_activity {
  background: url(../img/new/society_activity_head.png) no-repeat center top;
}
#society_activity #date_list .item {
  display: inline-block;
  vertical-align: top;
  border: 1px solid #d8d4d0;
  padding: 8px;
  line-height: 20px;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
}
#society_activity #date_list .item:first-child {
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
#society_activity #date_list .item:last-child {
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  border-top-right-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
#society_activity #date_list .item:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 50%;
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  background: none;
  margin: 0.5px 0 0;
  width: 10px;
  height: 10px;
  border: none;
  border-bottom: 1px solid #d8d4d0;
  border-right: 1px solid #d8d4d0;
  z-index: 2;
  display: none;
  background-color: #ffffff;
}
#society_activity #date_list .item.active:after {
  display: block;
}
#society_activity .month_list {
  height: 45px;
}
#society_activity .month_list #month_list {
  margin-top: 15px;
  margin-bottom: 15px;
  display: none;
}
#society_activity .month_list #month_list .circular {
  margin: 0px 2px;
  height: 45px;
  width: 45px;
  font-size: 14px;
  background-color: #f1e9dd;
  cursor: pointer;
  display: inline-block;
  border: none;
  font-weight: bold;
  line-height: 1em;
  text-align: center;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  overflow: hidden;
}
#society_activity .month_list #month_list .circular[disabled] {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  opacity: 0.5;
}
#society_activity .poem-box {
  display: none;
}
#society_activity .poem-box.active {
  display: block;
}
#society_activity .poem-box .title {
  background-color: transparent;
}
#society_activity .poem-box .table {
  border-collapse: collapse;
  width: 100%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: none;
  overflow: hidden;
}
#society_activity .poem-box .table thead th {
  background-color: #abaea8;
  text-align: center;
  border: none;
  color: #ffffff;
  padding: 10px;
}
#society_activity .poem-box .table thead th:nth-child(2n+1) {
  background-color: #999999;
}
#society_activity .poem-box .table thead th.th1 {
  width: 5%;
}
#society_activity .poem-box .table thead th.th2 {
  width: 25%;
}
#society_activity .poem-box .table thead th.th3 {
  width: 45%;
}
#society_activity .poem-box .table tbody tr:nth-child(2n+1) {
  background-color: #f1e9dd;
}
#society_activity .poem-box .table tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
  background-color: #f8f5ef;
}
#society_activity .poem-box .table tbody td {
  border: none;
  text-align: center;
  color: #555555;
}
#society_activity .poem-box .table tbody td a {
  color: #4183C4;
}

#society_info {
  background: url(../img/new/society_info_head_bg.png) no-repeat center top;
}
#society_info #show_activity .title {
  background-color: transparent;
  min-height: auto;
}

#object {
  background: url(../img/new/event_head_bg.png) no-repeat center top;
}
#object .classify_title span {
  display: block;
  border: 1px solid #754C00;
  padding: 4px 5px;
  line-height: 1.6;
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-top: 0;
}
#object .classify_title span::after {
  content: '';
  position: absolute;
  border-color: #754C00 transparent transparent transparent;
  border-width: 5px;
  border-style: solid;
  right: 10px;
  top: 15px;
}
#object .classify_title.disabled .input-box span{
  cursor: not-allowed;
  opacity: 0.5;
}
#object .classify_title.disabled span::after {
  border-top-color: #abaea8;
}
#object .classify_title.active .name {
  background-color: #f8931f;
  color: #ffffff;
}
#object .form {
  border-bottom: none;
}
#object .main-box .title {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
#object .main-box .title > span {
  font-size: 28px;
  color: #009985;
  margin: 0;
}
#object .main-box .title .page_list {
  margin-top: 3px;
}
#object .main-box .poem_group a {
  display: block;
  padding: 8px 0;
}
#object #webModal {
  background-color: #f5f5f6;
  padding: 20px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
#object #webModal .btn-block {
  margin-top: 15px;
}

#gis .topbar {
  position: relative;
}
#gis .topbar .btn-maplist {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: block;
  width: 30px;
  z-index: 20;
}
#gis .topbar .btn-maplist span {
  display: block;
  margin: 5px 0;
  width: 100%;
  height: 5px;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  background-color: #c09f61;
}
#gis .topbar #iconList {
  position: absolute;
  left: 0;
  bottom: 4px;
  display: block;
  z-index: 20;
}
#gis #search-nav {
  position: relative;
  font-size: 0;
  margin-bottom: 5px;
}
#gis #search-nav.gis-many {
  padding-bottom: 45px;
}
#gis #search-nav .item {
  width: calc( 100% / 3 );
  border: none;
  padding: 10px 20px;
  text-align: left;
  display: block;
  line-height: 1.2;
  background-color: transparent;
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
}
#gis #search-nav > .item {
  width: calc( ( 100% - 80px ) / 3 );
  background-color: #c09f61;
  color: #ffffff;
  text-align: center;
  margin-right: 5px;
}
#gis #search-nav > .sub-box {
  display: none;
  background-color: #f1e9dd;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  z-index: 99;
  font-size: 0;
}
#gis #search-nav > .sub-box .item {
  border-bottom: 1px dotted #c09f61;
}
#gis #search-nav > .sub-box.active {
  display: block;
}
#gis #search-nav #house_show .btn-back {
  display: inline-block;
  padding: 10px;
  color: #754C00;
  font-size: 18px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #754C00;
  margin: 10px 18px 5px;
}
#gis #search-nav #house_show .btn-back::before {
  display: inline-block;
  vertical-align: top;
  content: "<";
}
#gis #search-nav #house_show .level {
  display: none;
  width: 100%;
}
#gis #search-nav #house_show .level a {
  width: calc( 100% / 3 );
  border: none;
  padding: 10px 20px;
  text-align: left;
  display: block;
  line-height: 1.2;
  background-color: transparent;
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  border-bottom: 1px dotted #c09f61;
}
#gis #search-nav #house_show.lv1 .level1 {
  display: block;
}
#gis #search-nav #house_show.lv1 .btn-back {
  display: none;
}
#gis #search-nav #house_show.lv2 .level2 {
  display: block;
}
#gis #search-nav #house_show.lv3 .level3 {
  display: block;
}
#gis #search_result {
  text-align: left;
  display: none;
  background-color: #ffffff;
  width: 200px;
  position: absolute;
  left: 100%;
  top: 0;
  border: 1px solid #dbdcdc;
}
#gis #search_result .btn-close {
  display: none;
}
#gis #search_result ul {
  max-height: 40vh;
  overflow-y: auto;
}
#gis #search_result li {
  border-bottom: 1px solid #dbdcdc;
}
#gis #search_result li:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
#gis #search_result li:first-child {
  color: #999999;
}
#gis #search_result li span, #gis #search_result li a {
  display: inline-block;
  padding: 10px;
  vertical-align: middle;
}
#gis #search_result li .no {
  width: 15%;
}
#gis #search_result li .name {
  width: 80%;
  text-align: center;
  cursor: pointer;
}
#gis #mapid {
  width: 50%;
  height: 70vh;
  min-height: 600px;
  float: left;
  position: relative;
  z-index: 10;
  -moz-transition: width, 0.3s;
  -o-transition: width, 0.3s;
  -webkit-transition: width, 0.3s;
  transition: width, 0.3s;
}
#gis .main-box:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
#gis .main-box.mapListClose #mapid {
  width: 100%;
  -moz-transition: width, 0.3s;
  -o-transition: width, 0.3s;
  -webkit-transition: width, 0.3s;
  transition: width, 0.3s;
}
#gis .main-box.mapListClose #mapList {
  display: none;
  width: 0;
  -moz-transition: width, 0.3s;
  -o-transition: width, 0.3s;
  -webkit-transition: width, 0.3s;
  transition: width, 0.3s;
}
#gis .main-box #mapList {
  display: block;
  width: 50%;
  height: 70vh;
  min-height: 600px;
  float: right;
  overflow-y: auto;
  -moz-transition: width, 0.3s;
  -o-transition: width, 0.3s;
  -webkit-transition: width, 0.3s;
  transition: width, 0.3s;
}
#gis .main-box #mapList .map-list {
  width: 100%;
  height: 70vh;
  padding-left: 5px;
  font-size: 16px;
  -moz-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  -webkit-transition: all, 0.3s;
  transition: all, 0.3s;
}
#gis .main-box #mapList .map-list table {
  width: 100%;
  border-collapse: collapse;
}
#gis .main-box #mapList .map-list table th, #gis .main-box #mapList .map-list table td {
  padding: 10px;
  line-height: 1.4;
}
#gis .main-box #mapList .map-list table thead {
  background-color: #abaea8;
  color: #ffffff;
}
#gis .main-box #mapList .map-list table tbody tr:nth-child(2n) {
  background-color: #f5f5f6;
}
#gis .main-box #mapList .map-list p {
  padding: 10px;
  line-height: 1.4;
}
#gis .main-box #mapList .map-list .event-nav {
  border-bottom: 2px solid #f1e9dd;
  margin-bottom: 10px;
}
#gis .main-box #mapList .map-list .event-nav a {
  display: inline-block;
  vertical-align: top;
  padding: 15px 15px 12px;
  width: 110px;
  text-align: center;
}
#gis .main-box #mapList .map-list .event-nav a.active {
  background-color: #f1e9dd;
}
#gis .main-box #mapList .map-list .event-content .event-block {
  display: none;
}
#gis .main-box #mapList .map-list .event-content .event-block.active {
  display: block;
}
#gis .main-box #iconList {
  padding-top: 7px;
}
#iconList {
  font-size: 14px;
  clear: both;
}
#iconList li{
  display: none;
} 
#iconList li.active{
  display: inline-block;
  vertical-align: bottom;
  margin-right: 15px;
} 
#iconList li .icon{
  display: inline-block;
  vertical-align: bottom;
  width: 15px;
  margin-right: 5px;
}
#iconList li .icon img{
  vertical-align: bottom;
}

#category_statistic {
  background: url(../img/new/event_head_bg.png) no-repeat center top;
}
#category_statistic .search.dropdown {
  width: 100%;
  border: 2px solid #c09f61;
  padding: 5px;
  font-size: 16px;
  height: 35px;
  min-height: auto;
  line-height: 35px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
#category_statistic .search.dropdown > .text {
  margin: 0 !important;
  padding: 5px;
  line-height: 1.4 !important;
}
#category_statistic .search.dropdown > input.search {
  margin: 0 !important;
  padding: 5px;
  line-height: 1.4 !important;
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  z-index: -1;
}
#category_statistic .search.dropdown > span {
  margin-top: 0;
  line-height: 1.4 !important;
}
#category_statistic .search.dropdown > span.sizer {
  padding: 0 !important;
  display: none;
}
#category_statistic .search.dropdown > .icon {
  padding: 5px;
  margin: 0;
  right: 0;
  top: 0;
  line-height: 1.6 !important;
}
#category_statistic .search.dropdown > .label {
  padding: 5px 8px;
  margin: -1px 5px 1px 0;
  font-size: 14px;
}
#category_statistic .compare {
  font-size: 0;
  margin: 0 -10px 6px;
  padding: 20px 0;
}
#category_statistic .compare .compare-col {
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
  margin: 0 10px;
  width: calc( ( 100% / 2 ) - 20px );
}
#category_statistic .compare .compare-col h3 {
  padding: 10px;
  text-align: center;
  background-color: #f8931f;
  font-weight: bold;
  color: #555555;
}
#category_statistic .compare .compare-col:first-child h3 {
  background-color: #86c5c2;
}
#category_statistic .compare .compare-col .box {
  padding: 10px;
  border-bottom: 1px solid #999999;
  background-color: transparent;
}
#category_statistic .compare .compare-col .box:after {
  content: ' ';
  display: block;
  height: 0;
  clear: both;
}
#category_statistic .compare .compare-col .box.disabled {
  background-color: #f5f5f6;
}
#category_statistic .compare .compare-col .box.disabled .btn-category {
  border: none;
  background-color: transparent;
  outline: none;
  cursor: default;
}
#category_statistic .compare .compare-col .box .btn-category {
  float: left;
  margin-right: 15px;
  padding: 10px;
}
#category_statistic .compare .compare-col .box .result_cate {
  overflow: hidden;
}
#category_statistic .compare .compare-col .box .result_cate a.ui.label {
  margin: 0 5px 5px 0;
}
#category_statistic .btn-block {
  text-align: right;
}
#category_statistic .btn-block .btn {
  background-color: #888888;
  color: #ffffff;
  font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
  margin: 0 3px;
  font-size: 16px;
  width: auto;
}
#category_statistic .btn-block .btn:hover {
  background-color: #ae8b55;
}
#category_statistic .chartjsLegend {
  margin: 20px auto;
  width: 100%;
  max-width: 400px;
  position: relative;
}
#category_statistic .chartjsLegend > ul > li {
  list-style: none;
  margin-bottom: 5px;
}
#category_statistic .chartjsLegend > ul > li:hover {
  cursor: pointer;
}
#category_statistic .chartjsLegend > ul > li > span {
  width: 50px;
  height: 15px;
  display: inline-block;
  margin-right: 5px;
}
#category_statistic .chartjsLegend .ui.loader {
  margin-top: 50px;
}
#category_statistic #chart-area {
  margin: 20px auto;
  width: 100%;
  max-width: 350px;
}

#about, #guide {
  background: url(../img/new/poem_head_bg.png) no-repeat center top;
}

#search {
  background: url(../img/new/event_head_bg.png) no-repeat center top;
}
#search #filter {
  display: none;
}
#filter .list-group-item {
  padding: 0;
  border: none;
  margin-bottom: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
#filter .list-group-item .name {
  padding: 10px 10px 10px 20px;
  text-align: left;
  display: block;
  position: relative;
  border-bottom: 2px solid #c09f61;
}
#filter .list-group-item .name::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 7px 10px;
  border-color: transparent transparent transparent #c09f61;
  left: 0;
  top: 10px;
}
#filter .list-group-item .list-group {
  margin-bottom: 15px;
}
#filter .list-group-item .list-group .list-group-item {
  border-bottom: 1px dotted #c09f61;
  padding: 10px;
}
#filter .list-group-item.active {
  background-color: #c09f61;
}
#filter .list-group-item.active:hover, #search #filter .list-group-item.active:focus {
  background-color: #c09f61;
}
#filter .list-group-item.active > .badge {
  color: #c09f61;
}
#search .form {
  margin-bottom: 15px;
  overflow: visible;
}
#search .title {
  background-color: transparent;
  padding: 0;
}
#search .title .btn {
  background-color: #888888;
}
#search .title .btn:hover {
  background-color: #c09f61;
  color: #ffffff;
}
#search #result {
  position: relative;
  min-height: 100px;
}
.note{
  margin: 10px auto;
  font-size: 14px;
}
.note.hide{
  display: none!important;
}
.note .topbar{
  text-align: right;
}
.note .topbar a{
  display: inline-block;
  padding: 5px 10px;
  line-height: 1.4;
  color: #754C00;
  border: 1px solid #754C00;
}
.note .topbar a::after{
  content: "顯示所有註解"
}
.note .topbar a.active::after{
  content: "關閉所有註解"
}
.note.active .topbar a{
  background-color: #eee;
  border-color: transparent;
}
ul.noteList{
  list-style: none!important;
  display: none;
  background-color: #eee;
  padding: 12px 20px;
  margin: 0!important;
}
ul.noteList li{
  margin: 8px 0;
  line-height: 1.4;
}
.note.active ul.noteList{
  display: block;
}

@media screen and (max-width: 1100px) {
  .wrap {
    padding: 0 15px;
  }

  .content header .logo {
    margin-right: 10px;
  }
  .content .main .sidebar {
    width: 130px;
  }
  .content .main .title span {
    min-width: 50px;
  }
  .content .main .result .show_result, .content .main .result .post_id {
    width: calc( ( 100% / 5 ) - 10px );
  }
  .content .main .result .show_result {
    width: calc( ( 100% / 8 ) - 10px );
  }
  .content .main .row .input-row .input-box label {
    padding: 5px;
    margin-right: 0;
  }
  .content .main .tabs-nav li {
    min-width: calc( ( 100% / 6 ) - 4px );
  }

  .modal::before {
    margin-right: -405px;
  }
  .modal .modal-dialog .modal-content {
    width: 700px;
  }

  #index {
    width: 700px;
    margin: 0 auto;
  }
  #index .right-block {
    margin-right: 0;
    margin-top: 6%;
    width: 35%;
  }
  #index .left-block {
    margin-top: 6%;
  }
  #index .left-block .menu-item1 {
    margin-top: 0;
    margin-left: 10%;
  }
  #index .left-block .menu-item2 {
    margin-top: 6%;
    margin-left: 15px;
  }
  #index .left-block .menu-item3 {
    margin-top: 6%;
    margin-left: 15%;
  }
  #index .left-block .menu-item4 {
    margin-top: -20%;
  }

  #poet #relationship_content svg {
    width: 700px;
    height: 500px;
  }

  #gis #search-nav .item {
    width: calc( 100% / 2 );
  }
  #gis #search-nav > .item {
    width: calc( ( 100% - 80px ) / 3 );
  }
  #gis #search-nav #house_show.lv3 .level3 a {
    width: calc( 100% / 2 );
  }
}
@media screen and (max-width: 768px) {
  html, body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 10px;
  }

  .navTop {
    display: none;
  }

  footer .link a img {
    width: 80%;
  }

  .mask {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 990;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
  }
  .mask.active {
    display: block;
  }

  .content {
    padding-top: 54px;
    padding-bottom: 80px;
  }
  .content header {
    background-color: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 5px 15px;
    z-index: 999;
  }
  .content header .logo {
    width: 40px;
    margin: 0 auto;
    float: none;
  }
  .content header #menu {
    position: fixed;
    background-color: #f1e9dd;
    width: 200px;
    left: -220px;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
    padding-top: 54px;
    margin-top: 0;
    -moz-transition: left, 0.3s;
    -o-transition: left, 0.3s;
    -webkit-transition: left, 0.3s;
    transition: left, 0.3s;
  }
  .content header #menu.active {
    left: 0;
    -moz-transition: left, 0.3s;
    -o-transition: left, 0.3s;
    -webkit-transition: left, 0.3s;
    transition: left, 0.3s;
  }
  .content header #menu > li {
    display: block;
  }
  .content header #menu > li > a {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  .content header #menu li.active > .menu-item-sub {
    display: block;
  }
  .content header #menu .menu-item .menu-item-sub {
    background-color: #f5f5f6;
    position: static;
    top: 100%;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  .content header #menu .menu-item .menu-item-sub::before {
    display: none;
  }
  .content header #menu .menu-item .menu-item-sub a {
    white-space: normal;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    color: #754C00;
  }
  .content header #menu .menu-item .menu-item-sub a:hover {
    color: #ffffff;
  }
  .content header #menu .menu-item .menu-item-sub .menu-item .menu-item-sub {
    position: static;
  }
  .content header .btn-ham {
    display: block;
    width: 35px;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 999;
  }
  .content header .btn-ham span {
    display: block;
    width: 100%;
    height: 5px;
    margin: 5px 0;
    background-color: #754C00;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
  }
  .content header .btn-ham.active span:first-child {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: 15px;
    margin-bottom: -10px;
    -moz-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
  }
  .content header .btn-ham.active span:nth-child(2) {
    display: none;
  }
  .content header .btn-ham.active span:nth-child(3) {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -moz-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
  }
  .content header.downLevel {
    z-index: 90;
  }
  .content .navbar {
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .content .navbar li {
    padding-top: 0;
    font-size: 16px;
  }
  .content .navbar li:first-child {
    display: none;
  }
  .content .navbar li span {
    padding: 8px 0;
    font-weight: bold;
    color: #754C00;
    margin-right: 5px;
  }
  .content .navbar li a {
    padding: 8px;
  }
  .content .main {
    margin-top: 20px;
  }
  .content .main .tabs-block {
    font-size: 16px;
  }
  .content .main .tabs-block #loading, .content .main .tabs-block #loading_activity {
    margin-top: 20px;
  }
  .content .main .sidebar {
    width: 100%;
    float: none;
    margin-right: 0;
  }
  .content .main .sidebar .wrapper-dropdown {
    position: relative;
  }
  .content .main .sidebar .dropdown {
    height: auto;
  }
  .content .main .main-box {
    overflow: visible;
  }
  .content .main .title {
    margin-bottom: 5px;
    padding: 6px 10px;
    min-height: 36px;
  }
  .content .main .title span {
    display: inline-block;
    vertical-align: top;
    min-width: 85px;
    padding: 2px 6px;
    line-height: 20px;
  }
  .content .main .title .page_list {
    display: inline-block;
    vertical-align: top;
    float: right;
  }
  .content .main .title .page_list .data_number {
    color: #555555;
    display: inline-block;
    vertical-align: top;
    padding: 2px 6px;
    line-height: 20px;
  }
  .content .main .title .page_list .pagination {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
  }
  .content .main .title .page_list .pagination > li {
    display: inline-block;
    vertical-align: top;
  }
  .content .main .title .page_list .pagination > li > a, .content .main .title .page_list .pagination > li > span {
    background-color: transparent;
    border: none;
    padding: 2px 6px;
    line-height: 20px;
    display: block;
    color: #555555;
  }
  .content .main .title .page_list .pagination > li > a img, .content .main .title .page_list .pagination > li > span img {
    display: inline-block;
    vertical-align: top;
    margin: 0 2px;
  }
  .content .main .title .page_list .pagination > li.active > a {
    background-color: #555555;
    color: #ffffff;
  }
  .content .main .result {
    height: auto;
  }
  .content .main .result .show_result, .content .main .result .post_id {
    width: calc( ( 100% / 2 ) - 10px );
  }
  .content .main .result .show_result {
    width: calc( ( 100% / 4 ) - 10px );
  }
  .content .main .result .list-title {
    text-align: center;
    padding: 6px;
    border: none;
    font-size: 16px;
    display: block;
    width: 100%;
    cursor: pointer;
  }
  .content .main .result .list-title:nth-child(2n) {
    background-color: #dbdcdc;
  }
  .content .main .result .list-title:nth-child(2n+1) {
    background-color: #f1e9dd;
  }
  .content .main .tabs-nav {
    border: none;
    padding: 0;
    background-color: #f1e9dd;
    color: #754C00;
    position: relative;
    line-height: 20px;
    height: 36px;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 5px;
  }
  .content .main .tabs-nav.active {
    overflow: visible;
    z-index: 20;
  }
  .content .main .tabs-nav.active::after {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    top: 10px;
  }
  .content .main .tabs-nav.active .tabs-selected {
    background-color: #fcfcfc;
  }
  .content .main .tabs-nav::after {
    content: '';
    position: absolute;
    border-color: #754C00 transparent transparent transparent;
    border-width: 5px;
    border-style: solid;
    right: 10px;
    top: 15px;
  }
  .content .main .tabs-nav li {
    width: 100%;
    padding: 0;
    font-size: 16px;
    border-left: none;
    background-color: #f1e9dd;
    border-bottom: 1px dotted #754C00;
  }
  .content .main .tabs-nav li a, .content .main .tabs-nav li span {
    padding: 8px 22px 8px 6px;
  }
  .content .main .tabs-nav li.tabs-selected {
    color: #754C00;
    display: block;
  }
  .content .main .tabs-nav li.active a {
    background-color: transparent;
    color: #009985;
  }
  .content .main .row {
    margin-bottom: 0;
  }
  .content .main .row .col {
    margin-bottom: 6px;
  }
  .content .main .row .col1 {
    width: calc( 100% - 16px );
  }
  .content .main .row .col2 {
    width: calc( 100% - 16px );
  }
  .content .main .row .col3 {
    width: calc( 100% - 16px );
  }
  .content .main .row .col4 {
    width: calc( 100% - 16px );
  }
  .content .main .row .input-row .input-box {
    padding-left: 5px;
  }
  .content .main .row .input-row .input-box label {
    padding: 5px;
  }
  .content .main .subject-data .row .input-row .name {
    display: block;
    width: 100%;
  }
  .content .main .subject-data .row .input-row .input-box {
    padding: 5px;
    width: 100%;
    font-size: 16px;
  }
  .content .main .subject-data .row .input-row .input-box span {
    text-align: left;
    font-size: 16px;
  }
  .content .main .btn-open {
    display: block;
    text-align: center;
    position: relative;
    z-index: 5;
  }
  .content .main .btn-open.active {
    margin-bottom: 10px;
  }
  .content .main .btn-open.active::after {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .content .main .btn-block {
    text-align: right;
  }
  .content .main .btn-block .btn {
    background-color: #888888;
    color: #ffffff;
    font-family: "Microsoft JhengHei", "Century Gothic Regular", "Century Gothic";
    padding: 10px 15px;
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
    font-size: 16px;
  }
  .content .main .btn-block .btn:hover {
    background-color: #ae8b55;
  }
  .content .main .popup .content {
    padding-top: 0;
  }
  .content .page-main {
    margin-top: 20px;
  }
  .content .page-main h2 {
    font-size: 28px;
    list-style: 1.6;
    margin-bottom: 15px;
  }
  .content .page-main .subTitle > span {
    padding: 5px 10px;
    margin-right: 15px;
  }
  .content .page-main .subTitle > span::after, .content .page-main .subTitle > span::before {
    height: 26px;
  }
  .content .page-main .subTitle > div span {
    padding: 5px;
  }
  .content .page-main p {
    line-height: 1.6;
    margin-bottom: 10px;
  }
  .content .page-main ul {
    font-size: 16px;
    margin-left: 25px;
    margin-top: 12px;
  }
  .content .page-main ul li {
    margin-bottom: 12px;
  }
  .content #pageLoading {
    margin-top: 20px;
  }
  .content .bottom-block {
    border-top: 2px solid #c09f61;
  }
  .content .bottom-block span {
    display: inline-block;
    vertical-align: top;
    padding: 10px 15px;
  }
  .content .bottom-block #editor_name {
    background-color: #754C00;
    color: #ffffff;
    position: relative;
    margin-right: 20px;
  }
  .content .bottom-block #editor_name::after {
    content: '';
    position: absolute;
    border-color: #754C00 transparent transparent #754C00;
    border-width: 18px 10px;
    border-style: solid;
    right: -20px;
    top: 0;
  }

  .modal::before {
    margin-right: -5px;
  }
  .modal .modal-dialog .modal-content {
    width: 500px;
  }
  .modal .modal-dialog .modal-header {
    font-size: 18px;
    padding: 10px;
  }
  .modal .modal-dialog .modal-header .close {
    margin-top: -4px;
  }
  .modal .modal-dialog .modal-body {
    padding: 10px;
    height: 70vh;
    overflow-y: auto;
  }
  .modal .modal-dialog .modal-body .show_house_title .page_list {
    margin-bottom: 5px;
  }
  .modal .modal-dialog .modal-body .show_house_title .page_list .pagination > li.first, .modal .modal-dialog .modal-body .show_house_title .page_list .pagination > li.last {
    display: none;
  }
  .modal .modal-dialog .modal-body .ui.tabular.menu .item {
    font-size: 16px;
    padding: 10px;
    width: calc( 100% / 3);
  }
  .modal .modal-dialog .modal-body .ui.tabular.menu .prev, .modal .modal-dialog .modal-body .ui.tabular.menu .next {
    font-size: 16px;
    padding: 10px;
    width: calc( ( 100% / 3 ) / 2 );
  }
  .modal .modal-dialog .modal-body .result_body, .modal .modal-dialog .modal-body .result_body_activity {
    min-width: auto;
  }
  .modal .modal-dialog .modal-body .result_body thead, .modal .modal-dialog .modal-body .result_body_activity thead {
    display: none;
  }
  .modal .modal-dialog .modal-body .result_body tbody tr, .modal .modal-dialog .modal-body .result_body_activity tbody tr {
    padding: 0;
  }
  .modal .modal-dialog .modal-body .result_body tbody tr:nth-child(2n+1) td:nth-child(2n+1), .modal .modal-dialog .modal-body .result_body_activity tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
    background-color: transparent;
  }
  .modal .modal-dialog .modal-body .result_body tbody td, .modal .modal-dialog .modal-body .result_body_activity tbody td {
    text-align: left;
    display: block;
    overflow: hidden;
  }
  .modal .modal-dialog .modal-body .result_body tbody td::before, .modal .modal-dialog .modal-body .result_body_activity tbody td::before {
    content: attr(data-td);
    padding: 8px 8px 8px 0;
    display: inline;
    font-weight: bold;
  }
  .modal .search_content .radio-item, .modal .search_content .checkbox-item {
    width: calc( ( 100% / 2 ) - 10px);
  }

  .webModal {
    display: none;
  }
  .webModal.active {
    display: none;
  }

  #index {
    width: 540px;
    height: auto;
  }
  #index .right-block {
    float: none;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    text-align: center;
  }
  #index .right-block > img {
    width: 70%;
  }
  #index .left-block {
    float: none;
    text-align: center;
    font-size: 0;
    margin-top: 15px;
    overflow: visible;
  }
  #index .left-block .menu-item {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0 2px;
    width: calc( 100% / 4 );
    font-size: 16px;
  }
  #index .left-block .menu-item .menu-link > a {
    width: 100%;
  }
  #index .left-block .menu-item .menu-link .menu-item-sub {
    top: auto;
    bottom: 100%;
    left: 0;
    padding-left: 0;
    width: auto;
  }
  #index .left-block .menu-item .menu-link .menu-item-sub::before {
    position: absolute;
    border-style: solid;
    border-width: 8px;
    border-color: transparent transparent #c09f61 transparent;
    left: 50%;
    top: -15px;
    margin-left: -8px;
    content: '';
  }
  #index .left-block .menu-item .menu-link .menu-item-sub a {
    display: block;
    white-space: nowrap;
    padding: 8px 15px;
    color: #ffffff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
  #index .left-block .menu-item .menu-link .menu-item-sub a:hover {
    background-color: #754C00;
  }
  #index .left-block .menu-item .menu-link .menu-item-sub .menu-item .menu-item-sub {
    position: absolute;
    left: 100%;
    top: 0;
    padding-top: 0;
  }
  #index .left-block .menu-item .menu-link .menu-item-sub .menu-item .menu-item-sub::before {
    display: none;
  }

  #poet #relationship_content svg {
    width: 500px;
    height: 400px;
  }
  #poet #relationship_content #slider_bar {
    top: 8px;
  }

  #poem #RLButton {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  #society .map {
    width: 510px;
    height: 538px;
    margin: 0px auto;
    background-size: contain;
  }
  #society .map .map-item .sub {
    width: 100px;
  }
  #society .map .map-item .sub .btn-close {
    padding-right: 10px;
  }
  #society .map #middle {
    left: 240px;
  }
  #society .map #south {
    left: 220px;
    top: 310px;
  }
  #society .map #east {
    left: 380px;
  }

  #society_activity #date_list .item {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #d8d4d0;
    padding: 8px;
    line-height: 20px;
    background-color: #ffffff;
    position: relative;
    cursor: pointer;
  }
  #society_activity #date_list .item:first-child {
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  #society_activity #date_list .item:last-child {
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  #society_activity #date_list .item:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    background: none;
    margin: 0.5px 0 0;
    width: 10px;
    height: 10px;
    border: none;
    border-bottom: 1px solid #d8d4d0;
    border-right: 1px solid #d8d4d0;
    z-index: 2;
    display: none;
    background-color: #ffffff;
  }
  #society_activity #date_list .item.active:after {
    display: block;
  }
  #society_activity .month_list {
    height: auto;
  }
  #society_activity .poem-box .table thead {
    display: none;
  }
  #society_activity .poem-box .table tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
    background-color: transparent;
  }
  #society_activity .poem-box .table tbody td {
    text-align: left;
    display: block;
    overflow: hidden;
  }
  #society_activity .poem-box .table tbody td::before {
    content: attr(data-td);
    padding: 8px 8px 8px 0;
    display: inline;
    font-weight: bold;
  }

  #gis #search_result {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0 !important;
    border: none;
    overflow-y: auto;
    padding: 10px;
    z-index: 999;
  }
  #gis #search_result .btn-close {
    display: block;
    float: right;
    font-size: 18px;
    padding: 5px;
  }
  #gis #search_result ul {
    max-height: none;
    clear: both;
    margin-top: 10px;
  }
  #gis #mapid {
    min-height: auto;
  }
  #gis .main-box .leaflet-right .leaflet-control-layers-list label span.date {
    display: none;
  }
  #gis .main-box #mapList .map-list {
    width: calc( 100% - 40px );
  }

  #search #result thead {
    display: none;
  }
  #search #result tbody tr:nth-child(2n+1) td:nth-child(2n+1) {
    background-color: transparent;
  }
  #search #result tbody td {
    text-align: left;
    display: block;
    overflow: hidden;
    border-top: none;
  }
  #search #result tbody td::before {
    content: attr(data-td);
    padding: 8px 8px 8px 0;
    display: inline;
    font-weight: bold;
  }
  #search #result tbody td:first-child {
    display: none;
  }

  #poet .wrap.tooltipActive .main.page-main {
    z-index: 1000;
  }
}
@media screen and (max-width: 540px) {
  .content .main .btn-block {
    text-align: center;
  }
  .content .main .row .col5-4 {
    width: calc( ( 100% * 3 / 4 ) - 10px );
  }
  .content .main .row .col5 {
    width: calc( ( 100% / 4 ) - 10px );
  }

  .modal::before {
    margin-right: -5px;
  }
  .modal .modal-dialog .modal-content {
    width: 300px;
  }
  .modal .modal-dialog .modal-content .show_house_title .page_list .data_number {
    display: none;
  }
  .modal .btn-block {
    text-align: center;
  }

  #index {
    width: 100%;
  }

  #society .map {
    width: 300px;
    height: 320px;
  }
  #society .map .map-item .name {
    font-size: 16px;
  }
  #society .map .map-item .sub {
    width: 80px;
  }
  #society .map #north {
    left: 180px;
    top: 10px;
  }
  #society .map #middle {
    left: 110px;
    top: 75px;
  }
  #society .map #south {
    left: 130px;
    top: 180px;
  }
  #society .map #east {
    left: 190px;
    top: 130px;
  }
  #society .map #out {
    left: 10px;
    top: 140px;
  }
  #society .map #out .name {
    padding-top: 8px;
    line-height: 20px;
  }

  #category_statistic .input-row .name {
    display: block;
    width: 100%;
  }
  #category_statistic .input-row .input-box {
    display: block;
    width: 100%;
    padding: 5px 0;
  }
  #category_statistic .compare {
    margin: 0 0 10px;
    padding: 0;
  }
  #category_statistic .compare .compare-col {
    margin: 0 0 15px;
    width: 100%;
  }
  #category_statistic .btn-block {
    text-align: center;
  }

  #search #search_field .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  #search #search_field .row .col {
    margin-left: 5px;
    margin-right: 5px;
  }
  #search #search_field .input-row .name {
    width: 60px;
  }
  #search #search_field .input-row .input-box {
    width: calc( 100% - 60px);
  }
  #search #search_field .col5 .input-row .input-box {
    width: 75px;
  }
  #search #pager {
    margin-top: 10px;
  }

  #poet #relationship_content svg {
    width: 300px;
    height: 300px;
  }

  #gis #search-nav .item {
    width: 100%;
    padding: 10px;
  }
  #gis #search-nav > .item {
    width: calc( ( 100% - 50px ) / 3 );
  }
  #gis #search-nav > .sub-box {
    max-height: 70vh;
    overflow-y: auto;
  }
  #gis #search-nav #house_show .btn-back {
    display: block;
    margin: 10px;
    text-align: center;
  }
  #gis #search-nav #house_show .btn-back::before {
    display: none;
  }
  #gis #search-nav #house_show .level a {
    width: calc( 100% / 2 );
    padding: 10px;
  }
  #gis #search-nav #house_show.lv3 .level3 a {
    width: 100%;
  }

  .popup.ui .tooltip-content {
    width: auto;
  }
}
