

#menu_ul >li:nth-child(0) a { color:#f9ff00;}
#menu_ul>li>ul { width: 210px; }

/*  調整menu轉換  
header.stick {
 margin-top: 650px;
}*/

.global_article_title{
  display:none;
}

/*選單底色*/
#header_wrap {background-color: #3a251e;}
@media (max-width: 992px){
#header_wrap { background-color: #4a2c1a; }
.side_logo { border-bottom: 1px solid #ffffff; padding: 18px 0;  background-color: #4a2c1a;}
.b p {  margin-top: 40px; color: #fff; }
.b i {  background: #fff; }
}

/*首頁-手機版-選單*/
@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: #ffe0e6; }
.side_menu_ul li.more a:hover { background-color: #96d1ff; color: #4e4e4e; }
}


/*區塊標題色*/
.topic_title h2 { color: #382306; border-bottom: 2px solid #382306;}
.topic_title svg {fill: #382306; display: none; }

/*免費索票svg 開啟*/
#ticket_svg_here { top: 0px; display:none;}

/*免費索票svg 顏色設定*/
#ticket_svg_here .whole_ticket_color {fill:#ee70b0;}

/*免費索票 條碼顏色設定*/
#ticket_svg_here .code_color { fill:#ffffff;}

/*免費索票 文字顏色設定*/
#ticket_svg_here .ch_text { color: #ffffff;;}



footer {background-color:#3a251e;}





/*百元現金logo商品設定*/
.box_a {height:40px;background-color:#f39801;font-size: 20px; color:#582310;text-align:center;line-height:40px;border-top-left-radius:10px;border-top-right-radius:10px;}


.index_enevt_block .photofix h5 {
    transition: 0.5s;
    position: absolute;
    text-align: center;
    padding: 9px 0;
    color: #fff;
    background-color: #FF9800;
    bottom: 0;
    margin: 0;
    width: 100%;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.index_enevt_block .col_one_fourth > a > p {
    margin: 0;
    padding: 9px;
    background-color: #177aca;
    color: #fff;
    line-height: 1.6rem;
    letter-spacing: 1px;
    height: 70px;
    overflow: hidden;
}





/*-------------------
    reg_selector_block
---------------------*/
.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_block {
    margin: 10px 0;
    width: 280px;
}
.store_block > div{
    padding: 15px;
    margin: 10px;
    border: 1px solid #E8E8E8;
    border-radius: 5px;
    box-shadow: 1px 1px 8px #E8E8E8;
    padding-top: 1px;
}
.store_block .title {
    font-size: 17px;
    height: 46px;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
}
.store_block .title a{
    margin: auto;
    color:#5f5f5f;
}
.store_block .layout{
    bottom: 0;
    width: 100%;
    color: #bbb;
}
.store_block .layout > div{
    text-align: right;
    position: relative;
    padding: 9px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;}
.store_block .layout h4{
    margin: 0;
    color: #ff3030;
}
.store_block .layout h5{
    margin: 0;
    text-decoration: line-through;}
.store_block .shop_title {
    text-align: center;
    font-size: 16px;
    overflow: hidden;
    padding: 7px 0;
    word-wrap: break-word;
    max-height: 39px;
}
.store_block .shop_title a{
    color: #989898;
}


 .store .flex_item{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
.store_block .imgCtrl{
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*--------------------------
    手機版首頁壓字修正
---------------------------*/
@media (max-width:768px) {
.index_col_slider { margin-top:60px;}
}

#ticketbar {     
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;}


.ticket_money {
    width: 100%;
    margin: 20px auto;
    font-size: 19px;
    line-height: 35px;
}

