@charset "utf-8";
@import url("reset.css");
@import url("jquery.fancybox.css");
/* CSS Document */
a {
	color: #1956A3;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	outline: none;
}
a:hover {
	color: #E9332F;
}
/*-------font effect-----------*/
.clear {
	clear: both;
	height: 0px;
	line-height: 0px;
}
.bold {
	font-weight: bold;
}
.red {
	color: #D73158;
}
.largeFont {
	font-size: 19px;
}
.align_r {
	text-align: right;
}
.align_c {
	text-align: center;
}
.italic {
	font-style: italic;
	opacity: 0.7;
	font-weight: normal;
}
.nowrap {
	width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.divider {
	height: 10px;
	line-height: 10px;
}
ol.number {
	list-style: decimal;
	display: block;
	font-size: 13px;
}
ol.number li {
	margin: 0 0 5px 20px;
}
ol.number li:last-child {
	margin-bottom: 0;
}
/*-------img effect-----------*/
.addShadow {
	border: 1px solid #f1f1f1;
	box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 1px 5px 0px rgba(0,0,0,0.12);
}
.squareThumb {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	opacity: 0;
}
.recThumb {
	width: 100%;
	height: 0;
	padding-bottom: 66%;
	opacity: 0;
}
.imgborder {
	border: 1px solid #e0e0e0;
}
/*-------btn effect-----------*/
.btn {
	-webkit-appearance: none;/*取消手機預設樣式*/
}
.btnStyle {
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	border: 0;
	border-radius: 50px;
	color: #fff;
	background: #E83F64;
}
.btnStyle:hover {
	color: #fff;
	box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.3);
	opacity: 0.9;
}
/*------------------form effect-------------------*/
input, textarea, body select {
	font-family: "微軟正黑體", "Roboto", sans-serif;
	font-size: 15px;
	padding: 0;
	color: #333;
	/*避免select長度不一*/
	box-sizing: border-box;
	display: inline-block;
	outline: none;
}
input:focus {
	outline: none;
}
::-webkit-input-placeholder { /* WebKit browsers */
 color:#999;
}
:-ms-input-placeholder { /* WebKit browsers */
 color:#999;
}
.textStyle {
	border: 1px solid #ddd;
	border-radius: 5px;
}
.textStyle:focus {
	border: 1px solid #A6C1CE;
	background: #F6FBFE;
}
.formTitle {
	margin-bottom: 5px;
	font-weight: bold;
}
.refresh {
	display: inline-block;
	width: 25px;
	height: 25px;
	text-indent: -9999px;
	background-image: url(../images/refresh.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
/*------------page--------------*/
#page {
	color: #666;
	overflow: auto;
	text-align: center;
}
#page span {
	float: left;
	margin: 0 6px 6px 0;
}
#page span a {
	color: #333;
	display: block;
	text-decoration: none;
	padding: 3px 10px;
	border: solid 1px #e0e0e0;
	background: #f5f5f5;
	border-radius: 3px;
}
#page span a:hover {
	background: #FFF;
	box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.2);
}
#page span.current a, #page span.current a:hover {
	background: none;
	color: #666;
	border: none;
	box-shadow: none;
}
/*---------------------- round btn ----------------------*/
ul#roundBtn {
	position: absolute;
	z-index: 199;
}
ul#roundBtn li {
	float: left;
	width: auto;
	margin-left: 10px;
}
ul#roundBtn li a {
	background-position: center center;
	width: 35px;
	height: 35px;
	display: inline-block;
	background-color: #E83F64;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	border-radius: 50px;
	display: block;
	text-indent: -9999px;
}
ul#roundBtn li a:hover {
	background-color: #55B8E2;
}
ul#roundBtn li a.FB {
	background-image: url(../images/FB.svg);
}
ul#roundBtn li a.member {
	background-image: url(../images/member.svg);
}
ul#roundBtn li a.home {
	background-image: url(../images/home.svg);
}
ul#roundBtn li a.logout {
	background-image: url(../images/logout.svg);
}
/*-------------hidden---------------*/
#hidden {
	max-width: 600px;
	display: none;
}
/*-------------noticeWrapper---------------*/
#noticeWrapper {
	padding: 30px;
	background: #D73158;
	color: #fff;
}
#noticeWrapper h2 {
	font-size: 25px;
	border-bottom: 3px solid #FFF;
	padding-bottom: 5px;
	display: inline-block;
}
#noticeWrapper a {
	color: #fff;
}
/*-------------playerList---------------*/
#playerList li .playerText {
	padding-top: 10px;
}
#playerList li h4 {
	font-size:21px;
	font-weight: normal;
	margin-bottom: 15px;
	color: #D73158;
	line-height: 100%
}
#playerList li p.map {
	margin-bottom: 10px;
	padding-left: 30px;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	background-position: left 5px center;
	background-image: url(../images/map.svg);
}
#playerList li p.desc {
	width: 100%;
	max-height: 70px;
	overflow: hidden;
	margin-bottom: 10px;
	word-break:break-all;
}
#playerList li h3 {
	margin: 10px 0;
	border-top: 1px solid #e0e0e0;
	padding-top: 10px;
	font-size: 25px;
	font-weight: normal;
	color: #D73158;
}
#playerList li .btn {
	width: 100%;
	text-align: center;
	background: #55B8E2;
	font-size: 19px;
	padding: 10px 0;
}
#playerList li div.winner {
	position: absolute;
	width:55px;
	height:55px;
	top: -40px;
	right: -19px;
	background-image:url(../images/crown.svg);
	background-repeat:no-repeat;
	background-size:cover;
	z-index:99;
}
#playerList li.wincolor{ background:#FFF6D9;}
/*-----------footer---------------*/
footer {
	background: #333;
	text-align: center;
	color: #ccc;
	padding: 20px 0;
	font-size: 13px;
}
footer a, footer a:hover {
	color: #fff;
}

/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
/*-----------------------body-----------------------*/
html, body {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 15px;
	line-height: 160%;
	font-family: 'Roboto', "微軟正黑體", sans-serif;
}
p {
	line-height: 160%;
}
h1, h2, h3, h4 {
	line-height: 120%;
}
.btn {
	padding: 15px 25px;
	line-height: 100%;
	font-size: 23px;
}
.textStyle {
	padding: 10px;
}
.NoShowInPC {
	display: none;
}
/*-------------header-------------------*/
header {
	padding: 15px 0;
	background-color: #FFEDB3;
	background-image: url(../images/articleBg.png);
	background-size: auto auto;
}
header h1 a {
	width: 600px;
	height: 100px;
	display: block;
	background-image: url(../images/header.png);
	background-size: cover;
	margin: 0 auto;
	text-indent: -9999px;
}
/*---------------------- round btn ----------------------*/
ul#roundBtn {
	right: 20px;
	top: 45px;
}
/*-------------menu-------------------*/
#menu {
	background: #FFEDB3;
}
#menu li {
	float: left;
	width: 24.25%;
	margin-right: 1%;
}
#menu li:last-of-type {
	margin-right: 0;
}
#menu li a {
	text-decoration: none;
	text-align: center;
	padding: 15px 0;
	font-size: 23px;
	color: #673A1B;
	display: block;
	width: 100%;
	vertical-align: middle;
	opacity: 0.6;
	border-top: 4px solid #FFE799;
	background: rgba(255,255,255,0.5);
}
#menu li a:hover {
	opacity: 1;
}
#menu li a span {
	background: #FFE9A1;
	display: inline-block;
	padding: 5px 5px;
	font-size: 13px;
	border-radius: 3px;
	line-height: 100%;
}
#menu li a span.active, #menu li.selected a span {
	background: #D73158;
	color: #fff;
}
#menu li.selected a {
	background: #FFEDED;
	opacity: 1;
	border-top: 4px solid #D73158;
	color: #D73158;
	font-weight: bold;
}

/*-------------article--------------------*/
article {
	padding: 30px;
	background-color: #FFEDED;
	background-image: url(../images/articleBg.png);
	background-size: auto auto;
}
article h2 {
	font-size: 25px;
	color: #D73158;
}
article h3 {
	font-size: 17px;
}
article h2 span {
	padding-bottom: 5px;
	display: inline-block;
	border-bottom: 3px solid #D73158;
}
/*-------------subMenu--------------------*/
#subMenu {
	width: 60%;
	margin: 0 auto;
}
#subMenu li {
	float: left;
	width: 49%;
	margin-right: 2%;
	position: relative;
}
#subMenu li:last-of-type {
	margin-right: 0;
}
#subMenu li a {
	text-decoration: none;
	text-align: center;
	padding: 10px 0;
	font-size: 19px;
	color: #D73158;
	display: block;
	width: 100%;
	background-color: #FFD1D1;
	background-repeat: no-repeat;
	background-position: left 20px center;
	background-size: 22px 22px;
	border-radius: 50px;
}
#subMenu li.selected a, #subMenu li a:hover {
	background-color: #D73158;
	color: #fff;
}
#subMenu li span {
	display: none;
	width: 20px;
	height: 10px;
	background: url(../images/arrow.png) no-repeat;
	position: absolute;
	bottom: -9px;
	left: 48%;
}
#subMenu li.selected span {
	display: block;
}
#subMenu li a.dog {
	background-image: url(../images/dog.svg);
}
#subMenu li a.cat {
	background-image: url(../images/cat.svg);
}
#subMenu li a.event {
	background-image: url(../images/event.svg);
}
#subMenu li a.game {
	background-image: url(../images/game.svg);
}
/*-----------------playerList----------------*/
#playerList li {
	width: 19.2%;
	float: left;
	margin: 0 1% 1% 0;
	background-color: #fff;
	border: 1px solid #eee;
	box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 1px 5px 0px rgba(0,0,0,0.12);
	position: relative;
	padding: 15px 10px;
	border-radius: 5px;
	border-top: 4px solid #D73158;
	position: relative;
}
#playerList li:nth-child(5n) {
	margin-right: 0;
}
#playerList li .playerImg {
	overflow: hidden;
}
#playerList li .desc {
	min-height: 70px;
}

/*-------------table form--------------------*/
.maxText {
	width: 100%;
}
.largeText {
	width: 80%;
}
.midText {
	width: 50%;
}
.smallText {
	width: 120px;
}
}

/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
/*-----------------------body-----------------------*/
html {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
}
body {
	color: #333;
	line-height: 150%;
	font-size: 15px;
	font-family: "微軟正黑體", "Roboto", sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	min-height: 100%;
}
p {
	line-height: 150%;
}
h1, h2, h3, h4 {
	line-height: 120%;
}
.btn {
	font-size: 17px;
	padding: 12px 15px;
	line-height: 100%;
	-webkit-appearance: none;/*取消手機預設樣式*/
}
.textStyle {
	padding: 8px;
}
.alignCenterMobile {
	text-align: center;
}
.alignLeftMobile {
	text-align: left;
}
input, textarea, select {
	font-size: 15px;
}
.picForMobile {
	width: 100%;
	height: auto;
}
::-webkit-scrollbar {
 display: none; /*隱藏手機scroll*/
}
/*-------------roundBtn---------------*/
ul#roundBtn {
	right: 10px;
	top: 10px;
}
/*-------------header-------------------*/
header {
	padding: 20px 0 15px 0;
	background-color: #FFEDB3;
	background-image: url(../images/articleBg.png);
	background-size: cover;
}
header h1 a {
	width: 100%;
	height: 0;
	padding-bottom: 25%;
	display: block;
	background-image: url(../images/headerMobile.png);
	background-size: cover;
	margin: 0 auto;
	text-indent: -9999px;
}
/*-------------menu-------------------*/
#menu {
	background: #FFEDB3;
}
#menu li {
	float: left;
	width: 24.25%;
	margin-right: 1%;
}
#menu li:last-of-type {
	margin-right: 0;
}
#menu li a {
	text-decoration: none;
	text-align: center;
	padding: 15px 0;
	font-size: 15px;
	color: #673A1B;
	display: block;
	width: 100%;
	vertical-align: middle;
	opacity: 0.6;
	border-top: 4px solid #FFE799;
	background: rgba(255,255,255,0.5);
}
#menu li a:hover {
	opacity: 1;
}
#menu li a span {
	display: none;
}
#menu li a span.active {
	background: #D73158;
	color: #fff;
}
#menu li.selected a {
	background: #FFEDED;
	opacity: 1;
	border-top: 4px solid #D73158;
	color: #D73158;
	font-weight: bold;
	font-size: 17px;
}
/*-------------article---------------*/
article {
	padding: 20px 15px;
	background-color: #FFEDED;
	background-image: url(../images/articleBg.png);
	background-size: auto auto;
}
article h1, .lightbox h1 {
	font-size: 27px;
	color: #D73158;
}
article h2 {
	font-size: 25px;
	color: #D73158;
}
article h3 {
	font-size: 17px;
}
article h2 span {
	padding-bottom: 5px;
	display: inline-block;
	border-bottom: 3px solid #D73158;
}
/*-------------subMenu--------------------*/
#subMenu li {
	float: left;
	width: 49%;
	margin-right: 2%;
	position: relative;
}
#subMenu li:last-of-type {
	margin-right: 0;
}
#subMenu li a {
	text-decoration: none;
	text-align: center;
	padding: 10px 0;
	font-size: 17px;
	color: #D73158;
	display: block;
	width: 100%;
	background-color: #FFD1D1;
	border-radius: 50px;
}
#subMenu li.selected a, #subMenu li a:hover {
	background-color: #D73158;
	color: #fff;
}
#subMenu li span {
	display: none;
	width: 20px;
	height: 10px;
	background: url(../images/arrow.png) no-repeat;
	position: absolute;
	bottom: -9px;
	left: 48%;
}
#subMenu li.selected span {
	display: block;
}
/*-----------------playerList----------------*/
#playerList li {
	background-color: #fff;
	border: 1px solid #eee;
	box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 1px 5px 0px rgba(0,0,0,0.12);
	position: relative;
	padding: 15px 10px;
	border-radius: 5px;
	border-top: 4px solid #D73158;
	margin-bottom: 20px;
	position:relative;
}
#playerList li:last-of-type {
	margin: 0;
}
#playerList li div.winner {
	position: absolute;
	width:40px;
	height:40px;
	top: -20px;
	right: -15px;

}
/*-------- detailImg --------*/
.detailImg {
	float: left;
	width: 40%;
}
.detailText {
	margin-left: 43%;
	width: auto;
}
.lightbox {
	padding: 20px 15px;
}
.fb {
	background-color: #004499;
}
/*-------------form--------------------*/
.contentBox, .maxText, .largeText, .midText, .btnMax {
	width: 100%;
}
.smallText {
	width: 100px;
}
.formTitle {
	font-weight: normal;
}
/*-------------noticeWrapper---------------*/
#noticeWrapper {
	padding: 20px 15px;
}
}

/*------------------for small screen------------------------*/
@media screen and (max-width:480px) {
/*-------- detailImg --------*/
.detailImg {
	float: none;
	width: 100%;
	margin-bottom: 20px;
}
.detailText {
	float: none;
	margin: 0;
}
}
