

/*選單底色*/
#header_wrap { 
  max-width: 100% !important;
  color: #fff;
  background-size: 400% 400%;
  background: #e84630;
}

#menu_ul > li > ul{ left: -35px; width: 175px;}
#menu_ul > li > ul > li:hover >a { background-color: #182887;}
#menu_ul {padding: 0 70px; background: url("https://cdn.top-link.com.tw/uploadfiles/1118/upload/images/menu-o.png") no-repeat; background-size: cover;}
#menu_ul a {font-weight: bold;}
#menu_ul li:hover>ul {dispaly: block;}
#menu_ul a:hover {color: #FFEB3B;}


/*首頁-手機版-選單*/
@media (max-width:992px){
#logo img { margin-left: 20px;}
.side_menu_ul li { background-color: #ffffff;}
.side_menu_ul a { font-size: 21px; border-bottom: 1px solid #dddddd; color: #4e4e4e; background-color: #ffffff;}
.side_menu_ul li.back a { color: #2196F3; }
.side_menu_ul li.more a { background-color: #ebe7db; }
.side_menu_ul li.more a:hover { background-color: #96d1ff; color: #4e4e4e; }
}


@media (max-width: 992px){
  #header_wrap {background: #ffffff;}
  .side_logo { background: #ffffff; }
  header.home.stick {margin-top: 140px;}
  .home #stick_header {margin-top: 0;}
  .b i{ background: #154691;}
  .b p {color: #154691;}
}

/*區塊標題色*/
.topic_title h2 {
  color: black !important;
  border-bottom: 2px solid #920783;
}
.topic_title svg {fill: #920783;  display: none;}









#wrapper {
  min-width: 480px;
  position: relative;
  overflow: hidden;
}

.up_than_top{ display:none; }
.index_news h3 {
  text-align: justify;
  margin: 6px 0;
  color: #0000ff;
  line-height: 1.2;
}
.title-center{
  display:none;
}
.cms_banner{
  display:none;
}

/*獨家優惠*/
/*文字框高度*/
/* .index_exhibit_intro_block .photofix .layout { height:50px;}  */

/*more透明銀藏*/
.index_exhibit_intro_block a:hover .photofix .layout p:last-child { background-color: rgba(255, 0, 0, 0); }

/*文字框*/
.index_exhibit_intro_block .photofix:nth-child(1) .layout {background-color: rgba(28, 24, 59, 0.85);}
.index_exhibit_intro_block .col_one_third:nth-child(2) .layout { background-color: rgba(35, 95, 120, 0.85); }
.index_exhibit_intro_block .col_one_third:nth-child(3) .layout { background-color: rgba(35, 95, 120, 0.9) }
.index_exhibit_intro_block .col_one_third:nth-child(4) .layout { background-color: rgba(21, 64, 47, 0.85); }
.index_exhibit_intro_block .col_one_third:nth-child(5) .layout { background-color: rgba(120, 76, 35, 0.85); }


/*免費索票svg 開啟*/
#ticket_svg_here {
  top: 0px;
  display:none;
}

/*免費索票svg 顏色設定*/
#ticket_svg_here .whole_ticket_color {fill:#ff3e3e;}

/*免費索票 條碼顏色設定*/
/*免費索票 文字顏色設定*/
#ticket_svg_here .code_color,
#ticket_svg_here .ch_color { fill:#ffffff; }


/*好康活動*/
.index_enevt_block .photofix h5{ background-color: rgba(255, 44, 44, 0.6); }

/*精采紀實*/
.index_history .layout { background-color: rgba(103, 41, 93, 0.9); }

footer {
  /* background: url(https://cdn.top-link.com.tw/uploadfiles/836/upload/images/06_Footer-bg_1920x395.jpg); */
  background-size: cover;
  background-position: 50% 99%;
  background-repeat: no-repeat;
  min-width: 480px;
  background-color: #28386d;
}
.footer_content {
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: flex-end;
}
.footer_content div:last-child {
  margin:15px 0;
}
.footer_content .footer_exh_info {
  margin-right:15px;
}
.col_one_third {
    font-size: 15px;
    line-height: 25px;
}


/*隱藏*/
footer .btn { display: none; }
footer .fb_block { display: none; }



@media(max-width:992px) {
  footer .copy_right_block {
    display: table;
    margin: auto;
  }
  .footer_content{
    align-items: center;
    flex-direction: column;
  }
footer .col_one_third {
    font-size: 15px;
    line-height: 25px;
  }
}


/*近期展覽*/
.cms_banner .oc-item a,
.cms_banner .oc-item a > div:last-child:before {border:none; }
.cms_banner .oc-item a > div:last-child { border-top: none; border: 0px; }

/*-------------------
  reg_selector_block
---------------------*/
.reg_selector_block .reg_selector {
  display: flex;
  border: 2px solid #e3e3e3;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 1px;
}
.reg_selector_block .reg_selector .date_block {
  flex: 2;
  display: flex;
  align-items: center;
  background-color: #f8f8f8;
  justify-content: center;
}
.reg_selector_block .reg_selector .date_block span {
  padding: 12px;
  color: #545454;
}
.reg_selector_block .reg_selector .date_block nav {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0px;
  font-size: 1.3rem;
}
.reg_selector_block .reg_selector .date_block hr {
  margin: 5px 0px;
  border: none;
  height: 1px;
  background-color: #868686;
}
.reg_selector_block .reg_selector .group_block { flex: 12; }
.reg_selector_block .reg_selector .group_block ul {
  display: flex;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid #e5e5e5;
  word-break: break-all;
}
.reg_selector_block .reg_selector .group_block ul:last-child { border: 0; }
.reg_selector_block .reg_selector .group_block li {
  display: flex;
  flex-direction: row;
}
.reg_selector_block .reg_selector .group_block li:nth-child(1) {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  width: 120px;
}
.reg_selector_block .reg_selector .group_block li:nth-child(2) {
  flex-direction: column;
  padding: 20px;
  white-space: nowrap;
  border-left: 1px solid #d2d1d1;
}
.reg_selector_block .reg_selector .group_block li:nth-child(3) {
  align-items: center;
  position: absolute;
  height: 100%;
  right: 0;
  width: 200px;
  justify-content: center;
  border-left: 1px solid #d2d1d1;
  background-color: #fff;
}
.reg_selector_block .reg_selector .group_block li:nth-child(3) input {
  margin: 5px 1px 4px 4px;
  zoom: 120%;
}
.reg_selector_block .reg_selector .group_block li:nth-child(3) span {
  padding-left: 5px;
  color: #bd0000;
  font-weight: 600;
}
.reg_selector_block .reg_selector .group_block li span.calss_is_checked {
  color: #21841f;
}
.reg_selector_block .reg_selector .group_block li span.limited {
  color: #666;
  text-align: center;
}
.reg_selector_block .reg_selector .group_block h4 {
  margin: 0;
  letter-spacing: 1px;
}
.reg_selector_block .reg_selector .group_block h5 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 400;
  color: #848484;
  margin-top: 1px;
}
.reg_selector_block .reg_selector .group_block h5 b {
  background-color: #ee4cbc;
  color: #fff;
  padding: 2px 8px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 1rem;
  vertical-align: middle;
}
.reg_selector_block .reg_selector .group_block h5 span {
  vertical-align: middle;
  display: inline-block;
  font-size: 1rem;;
}
.reg_selector_block .reg_selector .group_block ul.is_full {
  background-color: #efefef;
  color: #a9a3a3;
}
.reg_selector_block .reg_selector .group_block ul.is_full li.all_full {
  background-color: #efefef;
  color: #a9a3a3;;
}

@media (max-width:992px) {
  .reg_selector_block .reg_selector .date_block{
    flex-direction: column;
  }
  .reg_selector_block .reg_selector .date_block span{
    font-size: 1.3rem;
  }
}

@media (max-width:768px){
  .reg_selector_block .reg_selector {
    flex-direction: column;
  }
  .reg_selector_block .reg_selector .date_block {
    flex-direction: row;
  }
  .reg_selector_block .reg_selector .date_block nav hr {
    display: none;
  }
  .reg_selector_block .reg_selector .group_block ul.is_full:after,
  .reg_selector_block .reg_selector .group_block li:nth-child(3) {
    width: 100px
  }
  .reg_selector_block .reg_selector .group_block li:nth-child(1) {
      width: 100px
  }
}

@media (max-width:700px) {
  .reg_selector_block .reg_selector .group_block ul.is_full:after {
    width: 40px;
    padding: 0 16px;
  }
  .reg_selector_block .reg_selector .group_block li:nth-child(1) {
    width: 50px;
  }
  .reg_selector_block .reg_selector .group_block li:nth-child(2) {
    padding: 20px 10px;
    width: 275px;
    white-space: normal;
  }
}
/*---------------------------
  loading_mask
------------------------------*/
#loading_mask {
  transition: 0.2s;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  top: 0;
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
#loading_mask.active {
  opacity: 1;
  pointer-events: all;
}
#loading_mask:before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 100%;
  vertical-align: middle;
}
#loading_mask h1 {
  display: inline-block;
  vertical-align: middle;
}
#loading_mask img {
  padding-right: 20px;
  width: 40px;
}
@media (max-width:768px) {
  #loading_mask h1 {
    font-size: 34px;
  }
}
/*---------------------
  Vote_block
------------------------*/
.vote_info_ul {
  width: 100%;
  max-width: 992px;
  margin: auto;
  display: block;
  line-height: 200%;
  font-size: 1.1rem;
}
.Vote_block article {
  transition: 0.5s;
  display: table;
  margin: 25px auto;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #ececec;
}
.Vote_block article:hover { background-color: rgb(236, 236, 236); }
.Vote_block article > div {
  width: 270px;
  position: relative;
}
.Vote_block .mask {
  transition: 0.5s;
  position: absolute;
  opacity: 0;
  top: 5px;
  right: 11px;
  font-size: 5rem;
  color: #fff;
}
.Vote_block article:hover .mask { opacity: 0.3; }
.Vote_block .info_block nav {
  transition: 0.5s;
  float: right;
  background-color: #f12ca4;
  padding: 4px 11px;
  color: #fff;
  border-radius: 10px;
  letter-spacing: 1px;
  margin: 4px;
}
.Vote_block article:hover .info_block nav { background-color: #003f98; }
.Vote_block article img {
  border-radius: 10px;
  width: 100%;
}
.Vote_block .info_block nav i { font-size: 18px; }
.Vote_block .info_block i { padding-right: 3px; }
.Vote_block .info_block p {
  float: left;
  margin: 4px;
  font-size: 20px;
  letter-spacing: 1px;
  color:#4e4c4c;
  width:142px;
  max-height: 100px;
  overflow: hidden;
}
.Vote_block.index .info_block p { color: #fff; }
.Vote_block article:hover .info_block p { color: rgb(40, 40, 40); }
.Vote_block .col_one_fourth { height: 400px; }

@media (max-width:1170px) {
  .Vote_block .col_one_fourth {
    width: 33.3334%;
    height: 500px;
  }
}

@media (max-width:992px) {
  .Vote_block .col_one_fourth {
    width: 50%;
    height: 450px;    
  }
  .Vote_block article > div { width: 350px; }
}

.wephoto_vote_name {
  font-size: 22px;
  margin: 20px auto 10px auto;
  color: #4291AA;
}
.wephoto_vote_content {
  font-size: 16px;
  line-height: 28px;
}
/*----------------------
  popApply
------------------------*/
.popApply {
  width: 95%;
  max-width: 500px;
  margin: auto;
  text-align: center;
}
.popApply h3 { letter-spacing: 5px; }
.popApply img {
  display: block;
  margin: auto;
}
.popApply span{
  display: inline-block;
  margin: 16px 10px 10px 10px;
  padding: 7px 23px;
  border-radius: 20px;
  width: 100px;
  cursor: pointer;
  font-size: 1.3rem;
}
.popApply span.close {
  background-color: #f00;
  color: #fff;
}
.popApply span.submit {
  background-color: #04a310;
  color: #fff;
}
/*----------------------
  week_lottery_dog
------------------------*/
.tablebody {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.tablebody > thead > tr > th {
  background-color: #8A5100;
  height: 30px;
  align-content: center;
  border: solid;
  border-color: #9F9F9F;
}
.tablebody tbody tr td {
  height: 30px;
  align-content: center;
  background-color: #FFF4C9;
  border: solid;
  border-color: #9F9F9F;
  text-align: center;
}
.tablebody tbody tr td:first-child {
  border-top: 2px solid #FFF4C9;
  border-bottom: 2px solid #FFF4C9;
}
.tablebody tbody tr:nth-child(7n) td { border-bottom: 2px solid #9F9F9F; }
.titleTh {
  font-size: 18px;
  color: #FFF;
}
/* .table_blank{
  border: 2px solid #FFF4C9;
} */
.petBox p {
  font-size: 24px
}
.petBox b {
  font-size:36px;
  color:#AC5000
}
.petBox_content {
  font-size: 24px;
}
.petBox_mark {
  color:red;
  font-size: 18px;
}
/*---------------
  store
------------------*/
.store ul.filter {
  display: table;
  background-color: #DCDADA;
  border-radius: 15px;
}
.store ul.filter li {
  font-size: 18px;
  padding: 9px 15px;
  float: left;
  margin: 1px;
  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}
.store ul.filter li:hover {
  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 62%, rgba(225,225,225,1) 70%, rgba(246,246,246,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 62%,rgba(225,225,225,1) 70%,rgba(246,246,246,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 62%,rgba(225,225,225,1) 70%,rgba(246,246,246,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}
.store ul.filter li:first-child { border-radius: 15px 0 0 15px; }
.store ul.filter li:last-child { border-radius:0 15px 15px 0; }
.store ul.filter a { color: rgb(58, 58, 58); }
.store_goods_item {   margin: 10px 0; }
.store_goods_item > div {
  padding: 15px;
  margin: 10px;
  border: 1px solid #E8E8E8;
  border-radius: 5px;
  box-shadow: 1px 1px 8px #E8E8E8;
  padding-top: 1px;
}
.store_goods_item .photofix { height: 250px; }
.store_goods_item .title {
  font-size: 17px;
  height: 62px;
  overflow: hidden;
  display: flex;
  margin-top: 9px;
  align-items: center;
}
.store_goods_item .title a { color:#5f5f5f; }
.store_goods_item .layout {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.68);
  color: #e2e2e2;
}
.store_goods_item .layout > div {
  text-align: right;
  position: relative;
  padding: 9px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.store_goods_item .layout h4 {
  margin: 0;
  color: #ff3030;
}
.store_goods_item .layout h5 {
  margin: 0;
  text-decoration: line-through;
}
.store_goods_item .shop_title {
  text-align: center;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}
.store_goods_item .shop_title a {
  color: #989898;
}

@media (max-width:992px) {
  .store .store_goods_item.col_one_fourth { width: 50%; }
}
@media (max-width:768px) {
  .store .store_goods_item.col_one_fourth {
    width: 100%;
    float: none;
    margin: 10px auto;
    max-width: 480px;
  }
}
/*-------------------
  活動頁內文樣式
---------------------*/
.title_color {
  color: #444;
}
.intro_content {
  font-size: 24px;
  line-height: 30px;
}
.intro_title {
  font-size: 26px;
  line-height: 35px;
}
.intro_mark {
  color: red;
}
.main_img {
  margin: 30px 0;
  width: 100%
}
.intro_ul_red {
  width: 100%;
  cursor: default;
  font-size: 14px;
  color: #ff0000;
  line-height: 1.8;
}
.terms h2 {
  padding:10px 0 20px 0;
}

/*-- 調整menu bar 位置 --*/
.main {
  margin-top: 0px !important;
 
}
.stick #stick_header {
  top: 0;
}
/* 自行添加部分 */
#logo img {
  margin-left: 72px;
}
.intro_content h2 {
  line-height: 40px;
}

/* .index_product .content {
  background: url(https://cdn.top-link.com.tw/uploadfiles/836/upload/images/11_news-bg-1920x740.jpg) !important;
  background-size: contain;
  background-position: 50% 54%;
  background-repeat: no-repeat;
  padding: 80px;
}
*/
@media(max-width: 992px) {
  #logo {
    padding: 15px 0;
  }
  #d_menu {
    top: 18px;
    left: 10px;
  }
  #brand .show-in-992 {
    margin-bottom: 20px;
  }
}

@media(max-width: 904px) {
  .blockUI.blockMsg.blockPage {
    top: 8% !important;
  }
}

@media(max-width: 768px) {
  .blockUI.blockMsg.blockPage {
    top: 11% !important;
  }
}

@media(max-width: 648px) {
  .blockUI.blockMsg.blockPage {
    top: 20% !important;
  }
}

#footer_wrap .footer_exh_info>p>span.hide {
  display: none;
}
