@charset "utf-8";
/* CSS Document */

html{ -webkit-text-size-adjust: none; }

html,body{
	margin:0px;
	height:100%;
}
body, td{
	font-size:1em;
	font-family: Arial, 微軟正黑體,Microsoft JhengHei,蘋果儷中黑,Apple LiGothic Medium,黑体,SimHei;
}

input:focus, textarea:focus {
    outline: none;
}


*{-webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-touch-callout:none;}

#wrapper{
	width:100%;
	max-width:768px;
	margin-left:auto;
	margin-right:auto;
	overflow:hidden;
	min-width:320px;
	min-height:100%;

}
#side-bar{
	position:absolute;
	width:230px;
	left:0%;
	top:0px;
	min-height:100%;
	display:none;
	z-index:9;
	overflow:hidden;
}
#side-bar div#search-box{
	height:50px;
}
#side-bar div#search-box #search-field{
	display:block;
	height:26px;
	position:absolute;
	left:10px;
	top:10px;
	border:0px;
	width:175px;
	padding-left:30px;
}


#side-bar div#search-box #search-btn{
	display:block;
	height:50px;
	width:50px;
	position:absolute;
	right:0px;
	top:0px;
	text-indent:-999px;
	overflow:hidden;


}
#side-bar div.side-bar-block{
	overflow:hidden;
}
#side-bar div.side-bar-block a{
	display:block;
	height:50px;
	line-height:50px;
	text-indent:55px;
	font-size:1.2em;
	text-decoration:none;

}
#side-bar div.side-bar-block .left, #side-bar div.side-bar-block .right{
	display:block;
	position:absolute;
	height:50px;
	width:50px;
	overflow:hidden;
	left:0px;
	top:0px;
	z-index:1;
}
#side-bar div.side-bar-block .right{
	right:0px;
	left:auto;
}
#side-bar div.side-bar-block .group-link{
	display:block;
	position:relative;
}
#side-bar div.side-bar-title{
	font-size:0.8em;
	/*height:15px;*/
}
#side-bar .side-bar-block .group-link{
	font-size:0.8em;
}
#side-bar .side-bar-block .group-link a{
	padding-right:50px;
}
#side-bar .side-bar-block .group-link .side-bar-group-icon-delete{
	padding-right:0px;
}
#main-area{
	position:relative;
	margin-left:0px;
	width:100%;
	overflow:hidden;

}
#top-bar{
	width:100%;
	height:50px;
	position:absolute;
	top:0px;
	left:0px;
	z-index:99;
}
#top-menu-btn-menu, #top-menu-btn-post, #top-menu-btn-next, #top-menu-btn-mobile{
	cursor:pointer;
	height:50px;
	width:50px;
	position:absolute;
	text-indent:-999px;
	overflow:hidden;
	top:0px;
}
#top-menu-btn-menu{left:0px;}
#top-menu-btn-post{right:0px;}
#top-menu-btn-next{right:0px;}
#top-menu-btn-mobile{right:0px;}

#top-logo{
	margin-left:50px;
	margin-right:50px;
	height:50px;
	line-height:50px;
	text-align:center;
	display:block;
	overflow:hidden;
}

#go-top{
	position:fixed;
	width:50px;
	height:50px;
	left:0px;
	top:0px;

}

/*-----------------------------------------------------------------------------------------------------------------------------------------------*/
#content-area{
	margin:10px;
	margin-top:60px;
	word-wrap: break-word;
}

/*Thread List */
#content-area h1{
	padding:3px 5px;
	font-size:1em;
	margin:0px;
	margin-bottom:5px;
}
#content-area h1 a{
	display:block;
	text-decoration:none;
}
#content-area .forum-hot, #content-area .forumdisplay, #content-area .pm-list{
	margin-bottom:10px;
	padding:0px 0px;
}
#content-area .forum-hot .thread-list-item, #content-area .forumdisplay .thread-list-item, #content-area .pm-list .list-item{
	display:block;
	position:relative;
}

#content-area .forum-hot .item-last, #content-area .forumdisplay .item-last, #content-area .pm-list .item-last{
	border-bottom:0px solid #FFF !important;
}
#content-area .forum-hot .thread-list-item a.item-info{
	display:block;
	padding:10px;
}
#content-area .forumdisplay .thread-list-item a.item-info{
	display:block;
	margin-right:0px;
	padding:10px;
	padding-bottom:30px;
	position:relative;
}
#content-area .forumdisplay .thread-list-item a.item-info .info-title{
	display:block;
	font-size:1.1em;
	margin-right:70px;
}
#content-area .forumdisplay .thread-list-item a.item-info .info-user{
	display:block;
	position:absolute;
	bottom:5px;
	font-size:0.7em;
}
#content-area .forumdisplay .thread-list-item a.item-info .info-reply{
	position:absolute;
	bottom:5px;
	right:5px;
	font-size:0.7em;
}
#content-area .forumdisplay .thread-list-item a.item-info .info-reply .reply-details{
	margin-right:10px;
	float:left;
}
#content-area .forumdisplay .thread-list-item .item-page-select{
	position:absolute;
	right:5px;
	height:30px;
	line-height:30px;
	top:10px;
	width:55px;
	font-size:11px;
	white-space:nowrap;
	z-index:6;
}

#content-area .pm-list .list-item .item-title{
	padding:10px;
	padding-bottom:0px;
}

#content-area .pm-list .list-item .item-from{
	padding:10px;
	font-size:0.8em;
	text-align:right;
	color:#999;
	text-shadow:0px 1px #FFF;

}

#content-area .forum-selector{
	font-size:18px;
	width:100%;
	height:30px;
	line-height:30px;
	margin-bottom:10px;
}
/*-------------------------------------------------------------*/
.forumdisplay-gallery{
	margin-bottom:20px;
}
.forumdisplay-gallery .thread-list-item{
	margin-bottom:20px;
	height:160px;
	position:relative;
	position:relative;
	clear:both;
	display:block;
}
.forumdisplay-gallery .thread-list-item .item-thumb{
	height:100%;
	width:100%;
	background-size:cover;
	background-position:center;
	position:absolute;

}
.forumdisplay-gallery .thread-list-item .blank{
	background-size:200px 65px;
	background-repeat:no-repeat;
	background-position:center 15%;
}
.forumdisplay-gallery .thread-list-item .info-title{
	position:absolute;
	width:100%;
	bottom:0px;

}
.forumdisplay-gallery a{
	text-decoration:none;
	text-shadow:1px 2px #000;
}
.forumdisplay-gallery .info-title .title-text{
	color:#FFF;
	padding:5px;

}
.forumdisplay-gallery .info-title  .info-small{
	font-size:0.7em;
	text-align:left;
}
.forumdisplay-gallery .info-title  .info-small .reply{
	float:right;
}
/*---Category Group----------------------------------------------------------------*/
.category-group-list, .category-forum-list{
	margin-bottom:10px;
	margin-top:10px;
}
.category-group-list a, .category-forum-list a{
	display:block;
	float:left;
	height:60px;
	margin:5px;
	margin-bottom:10px;
	width:30%;
	text-decoration:none;
	font-size:1.1em;
	font-weight:bold;
	position:relative;
	overflow:hidden;
}
.category-group-list a .item-title{
	left:5px;
	top:5px;
	position:absolute;
	z-index:2;

}
.category-group-list a .item-icon{
	display:block;
	position:absolute;
	right:-25px;
	left:auto;
	top:-15px;
	height:180px;
	width:100px;
	z-index:1;
}



/*---Category List----------------------------------------------------------------*/

.category-forum-list a{
	width:46%;
}
.category-forum-list a .item-title{
	left:5px;
	top:5px;
	position:absolute;

}

.clear-both{
	clear:both;
}

/*---Nav Bar------------------------------------------------------------------------------*/
#nav-bar, #nav-bar-bottom{
	margin-bottom:10px;
	font-weight:bold;
	border-bottom:1px solid #CCC;
	font-size:0.9em;
}
#nav-bar a, #nav-bar-bottom a{
	display:inline-block;
	padding:2px;
	padding-right:5px;
	padding-left:0px;
	text-decoration:none;
	color:#666;
	font-weight:normal;
}
/*---Footer-----------------------------------------------------------------------------*/
#footer{
	position:relative;
	margin-top:65px;
	height:73px;
	font-size:0.9em;
}
#footer .footer-text{
	position:absolute;
	height:60px;
	line-height:50px;
	left:10px;
	top:34px;
}
#footer .footer-link{
	position:absolute;
	right:10px;
	top:10px;
	height:60px;
}
#footer .footer-link a{
	display:block;
	float:left;
	width:50px;
	text-align:center;
	text-decoration:none;
	height:30px;
	line-height:30px;
	margin-right:5px;
}

#footer .footer-text-additional{
	display:block;
	position:absolute;
	top:-40px;
	height:30px;
	line-height:30px;
	width:100%;
	text-align:center;
	letter-spacing:3px;
	left:0px;
	overflow:hidden;
}
#footer .footer-text-additional a{
	display:block;
	text-decoration:none;
	margin:0px 20px;
}

/*---Thread---------------------------------------------------------------*/
#content-area .post{
	border:1px solid #DDD;
	margin-bottom:10px;
}
.post-info{
	display:block;
	padding:5px 5px;
	margin-bottom:10px;
	position:relative;
}
.post-info .info-name{
	margin-right:60px;
}
.post-info .info-name:after{
    display:inline-block;
    content: "";
    width: 25px;
    height: 13px;
	background-size:23px 14px;
	background-repeat:no-repeat;
	margin-left:3px;
}
.post-info .host-name{
	padding-left:19px;
	background-size:25px 175px;
	background-repeat:no-repeat;
}

.post-info .info-date{
	font-size:0.7em;
	position:absolute;
	left:5px;
	bottom:5px;
}
.post-info .info-post-no{
	position:absolute;
	top:5px;
	right:5px;
	font-size:0.7em;
}
.post-info .info-tool{
	text-align:right;
}
.post-info .info-tool a{
	margin-left:5px;
}
.post-content{
	margin:10px;
	font-size:1.25em;
	line-height:1.8em;
}

/* align ios and android font size */
@media only screen and (min-width:320px) and (max-width:420px) {
	.post-content {
		font-size: 5vw;
		line-height: 7.5vw;
	}
}

.post-content img{ max-width:100%; }

.blockcode {
    background: #3e3e3e;
    color: #fff;
    font-family: "Courier New", Courier, monospace;
}
.blockcode .headactions {
    display: none;
}
.blockcode h5 {
    display: none;
    margin: 0;
}
.blockcode,
.post-ref{
	padding:10px;
	border: 1px solid #DDD;
	font-size:0.9em;
	margin-bottom: 10px;
}
.post-ref .ref-info{
	border-bottom:1px solid #DDD;
	font-size:0.9em;

}

.post .post-content .voting-title{
	font-size:0.8em;
	padding:5px;
	margin-top:10px;
}


.post .post-content .voting-choice{
	border-left:1px #AAA solid;
	border-right:1px #AAA solid;
	font-size:0.9em;
}

.post .post-content .voting-choice label, .post .post-content .voting-choice .choice-result{
	display:block;
	padding:7px;
	border-bottom:1px #AAA solid;
}


.post .post-content .voting-choice label input{
	float:left;
}
.post .post-content .voting-choice .choice-number{
	float:left;
	width:30px;
	font-size:0.8em;
	padding-left:2px;
	white-space:nowrap;
}
.post .post-content .voting-choice label .choice-text{
	margin-left:47px;

}
.post .post-content .voting-choice .choice-result .choice-text{
	margin-left:27px;
	margin-right:100px;
}
.post .post-content .voting-choice .choice-result .percent{
	float:right;
	width:95px;
	font-size:0.8em;
}
.post .post-content .voting-submit{
	display:block;
	width:100%;
	height:40px;
	line-height:40px;
	font-size:1.2em;
	text-align:center;
	letter-spacing:3px;
	margin-top:5px;
}
.post-tool{
	padding:4px 5px;
	text-align:right;
}
.post-tool a{
	margin-left:10px;
}


/*--------------------------------------------------------*/
.action-bar, .action-bar-bottom{
	height:50px;
	text-align:right;
	margin-right:5px;
}
.action-bar-bottom{
	margin-right:0px;
}
.action-bar a, .action-bar-bottom a{
	height:40px;
	margin-top:10px;
	display:inline-block;
	margin-left:3px;
	width:80px;
	text-align:center;
	line-height:40px;
	text-decoration:none;

}
.action-bar-bottom a{
	margin-top:0px;
}

/*---------------------------------------------------------*/
.page-no{
	height:40px;
	margin-bottom:10px;
	position:relative;
}
.page-no .prev, .page-no .next{
	height:40px;
	width:90px;
	display:block;
	position:absolute;
	top:0px;
	line-height:40px;
	text-align:center;
	font-weight:bold;
	text-decoration:none;
}
.page-no .next{
	right:0px;
}
.page-no .page-select{
	text-align:center;
	height:40px;
	margin-left:96px;
	margin-right:96px;
}
.page-no .page-select select{
	height:38px;
	line-height:38px;
	text-align:center;
	margin-top:1px;
	font-size:18px;
	width:90%;
	border:0px solid #FFF;
}

.page-no .prev, .page-no .next, .page-no .page-select{
}
.page-no .disabled{
	display:none;
}




/*-----------------------------------------*/
.post-form, .notice{
	padding:10px;
	padding-bottom:40px;
	border:1px solid #CCC;
	margin-bottom:250px;
}
.notice{
	padding:50px 5px;
	text-align:center;
	font-size:0.9em;
	line-height:1.4em;
}
.post-form .form-field, .post-form .form-field-large, .post-form .form-select{
	display:block;
	width:97%;
	padding:0px;
	height:25px;
	border:1px solid #999;
	margin-bottom:10px;

}
.post-form .form-field-large{
	height:200px;
}
.post-form .form-title{
	font-size:0.8em;
}
.post-form .form-btn {
    font-size: 18px;
    height: 40px;
    vertical-align: middle;
    width: 97%;
}

/*------------------------*/
.login-radio-group{
	height:30px;
	margin-bottom:10px;
	overflow:hidden;
	font-size:1.1em;
	width:70%;
}
.login-radio{
	height:100%;
	line-height:30px;
	width:50%;
	display:inline-block;
	text-align:center;
}

/*------------------------------------------------------------------*/
.forum-focus{

}
.forum-focus .focus-item-large, .forum-focus .focus-item-odd, .forum-focus .focus-item-even{
	height:140px;
	margin-bottom:10px;
	position:relative;
	display:block;
	text-decoration:none;

}
.forum-focus .focus-item-odd, .forum-focus .focus-item-even{
	width:50%;
	float:left;
	padding:0px;
	height:120px;
}
.forum-focus .container{
	height:100%;
	position:relative;
}
.forum-focus .focus-item-odd .container{
	margin-right:5px;
}
.forum-focus .focus-item-even .container{
	margin-left:5px;
}

.forum-focus .focus-thumb{
	height:100%;
	background-size:cover;
	background-position:center center;
}
.forum-focus .focus-title{
	position:absolute;
	bottom:0px;
	width:100%;
}
.forum-focus .focus-title span{
	display:block;
	padding:5px;
}

/*---PM Bar--------------------*/
.pm-bar{
	text-align:left;
	margin-top:20px;
	padding-left:10px;
	position:relative;
}
.pm-bar a{
	display:inline-block;
	height:40px;
	margin-right:5px;
	padding:0px 10px;
	min-width:70px;
	text-align:center;
	line-height:40px;

}

.pm-bar a.send{
	margin-right:0px;
	position:absolute;
	right:0px;
	top:0px;
	height:35px;
	line-height:35px;
}

.pm-content{
	padding:10px;
	border:1px solid #AAA;
}
.pm-content-user{
	display:block;
	font-size:0.9em;
	margin-bottom:0.5em;
}


/*------------------------------------------------------------*/
.banner, .banner-thread, .banner-gallery-list, .banner-index, .banner-forum, .banner-focus, .banner-nav{
	margin-left:-10px;
	margin-right:-10px;
	text-align:center;
}
.banner-forum{
	margin-left:0px;
	margin-right:0px;
}
.banner-thread{
	margin-top:0px;
	margin-bottom:4px;
}
.banner-gallery-list{
	margin-top:-12px;
	margin-bottom:8px;
}
.banner-index{
	margin-top:10px;
	margin-bottom:10px;
}
.banner-focus, .banner-nav{
	margin-bottom:10px;
}

/*----------------------------------------------------------*/
.tutorial-screen{
	position:absolute;
	top:0px;
	left:0px;
	z-index:9999;
	width:100%;
	cursor:pointer;

}
.tutorial-screen .tutorial-bg{
	background-color:#000;
	height:100%;
	width:100%;
	max-width:768px;
	margin-left:auto;
	margin-right:auto;
	filter:alpha(opacity=70);
	opacity:0.7;
	-moz-opacity:0.7;
	margin-top:50px;
	left:0px;
}
.tutorial-screen .tutorial-content{
	position:absolute;
	top:50px;
	width:100%;
	max-width:768px;
	z-index:99999;
	padding:0px;


}
.tutorial-screen .tutorial-content .arrow-up {
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #FFF;
	margin-left:20px;
	margin-top:5px;
	position:absolute;
}
.tutorial-screen .tutorial-content .content-area{
	margin-left:10px;
	margin-right:10px;
	margin-top:14px;
	background-color:#FFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:15px;
	-webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.9);
	-moz-box-shadow:    0px 2px 5px rgba(0, 0, 0, 0.9);
	box-shadow:         0px 2px 5px rgba(0, 0, 0, 0.9);
	border-bottom:1px solid #333;
}
.tutorial-screen .tutorial-content .content-area h1{
	font-size:1.1em;
	font-weight:normal;
	border-bottom:1px solid #F90;
	margin-top:0.3em;
	margin-bottom:0.3em;
	color:#F90;
}
.tutorial-screen .tutorial-content .content-area ul{
	margin:0px;
	padding:0px;
}
.tutorial-screen .tutorial-content .content-area ul li{
	margin:7px;
	margin-right:0px;
	margin-left:17px;
	list-style:circle;
	font-size:0.9em;
}

/*-------------------------------------------*/
.preload-img{
	width:25px;
	height:25px;
}

.preload-bg{
	background-size:25px 25px !important;
	background-position:center 40%  !important;
	background-repeat:no-repeat !important;
}

/*------------------------------------------------------*/
#image_popup {
background: rgb(0, 0, 0); /* The Fallback */
background: rgba(0, 0, 0, 0.8); } #large_img{ border:1px solid #666;
}
#large_img { border:1px solid #666; }





/*--------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------*/
/*MOBILE*/
@media only screen and (max-width:320px){

.forumdisplay, .forumdisplay-gallery{
	margin-left:-10px;
	margin-right:-10px;
}
.banner{
	margin-left:0px;
	margin-right:0px;
}

}
@media only screen and (min-width:321px){
}

.form-field-username{
	display: inline-block;
	width:70%;
	padding:0px 5px;
	height:25px;
	border:1px solid #999;
	margin-bottom:10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
