﻿@charset "utf-8";
/* CSS Document 明星3缺1改版官網*/
@import url("/Include/i_reset.css");
@import url("/include/i_style.css");

/* CSS Document */
body {
}
object, img {
}

ol li{
  line-height: 25px;
}

* {
    font-family: 微軟正黑體, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* 遊戲別 */
#Star31 {
	background: #ffffff repeat-y center top;
	width:100%;
}
/*上背景圖*/
#section_main {
	background: url(/Games/FreePlay/Mj/star31/images/bg_top.jpg?20250120) no-repeat center top;
	width:100%;
	text-align:center;
}
/* 下背景圖 */
#maincontent {
	background-position:0 409px;
	width:100%;
	min-height:1000px;
}
/* 所有內容 */
#section_all {
	width:960px;
	margin:0 auto;
	position:relative;
}
/*上方選單*/
#section_nav {
	width:802px;
	height:100px;
	top:10px;
	left:82px;
	position: absolute;
	z-index:999;
}

/* LOGO */
#section_logo a {
	position: absolute;
	width:435px;
	height:180px;
	left:250px;
	top:320px;
	z-index:3;
	display:block;
}

/* FLASH */
#section_header {
	width:100%;
	height:310px;
}
/* 滑動top選單 */
#topbtn {
	position:absolute;
	right:-30px;
	top:-700px;
	width:67px;
	height:67px;
	cursor:pointer;
	z-index:9999;
	background:url(/Graphics/Games/Mobile/MWe5/images/top.png) no-repeat;
}
/* 左MENU 及 右內容區 */
#allcontents {
	width:905px;
	z-index:2;
	position:relative;
}
/* 左MENUS */
#section_menus {
	float:left;
	width:240px;
	padding-left:2px;
}
/* 右內容區 */
#section_rightcontent {
	margin-top:12px;
	width:660px;
	float:right;
	margin:20px 0;
}
/* 右內容區-置中 */
#section_centercontent{
	margin-top:12px;
	width:660px;
	margin:20px 0 20px 16%;
}

#section_centercontent table h1{
	font-size:1.5em;
	color:#ab0000;
}

#section_centercontent table h2{
	color:#115eb1;
	position: relative;
}
#section_centercontent table h2:before{
	content: "";
    width: 1em;
    height: 1em;
    display: inline-block;
    background-image: url(/Graphics/Games/FreePlay/MJ/Star31/images/mtitle_arrow.gif);
    background-size: 100%;
    position: absolute;
    margin: 5px 5px 0px 0px;
	left:-3%;
}

#section_centercontent .table{
	border-collapse: initial;
    border-radius: 5px;
    color: #202c0d;
    border: 3px solid #9a4f2a;
}

#section_centercontent .table tr {
    background: #fff;
}

#section_centercontent .table tr th {
    word-wrap: break-word;
    background: -webkit-gradient(linear, left bottom, left top, from(#a1512a), to(#c16132));
    background: linear-gradient(to top, #a1512a 0%, #c16132 100%);
    color: #fff;
}

#section_centercontent .table tr td {
    background: #ffeebc;
}
.rightcontentbg {
	background: url(/Graphics/Games/FreePlay/MJ/Star31/page/right_content_center.png) repeat-y;
}
/*右內容title*/
.section_title {
	width:660px;
	height:72px;
	background:url(/Graphics/Games/FreePlay/MJ/Star31/page/right_content_top.png) no-repeat;
}
.section_title img {
	margin:20px 0 0 20px;
}
.section_title tr .con {
	margin:5px;
}

/* 新聞頁增加下方外距  */
#news_contains p{  margin: 0 0 20px 0;}

/* 下方版權宣告  */
#section_footer {
	width:100%;
	clear:both;
	display: block;
}

/*文字設定*/

.tabletitle {
	font-family: "新細明體", "細明體";
	font-size: 13px;
	font-weight: bold;
	color: #8D2323;
	letter-spacing: 2pt;
}
.tablebigtitle {
	font-family: "新細明體", "細明體";
	font-size: 16px;
	font-weight: bold;
	color: #8D2323;
	letter-spacing: 2pt;
}

/*footer分級設定*/
.level18{
	display: block;
}

/* 實體領獎教學-影片崁入 */
ol li span.title{
  cursor: pointer;
  color: #006eff;
  text-decoration: underline;
}
ol li span.title:hover{
  color: #f00;
}
ol li .video{
  display: none;
  width: 100%;
  background-color: black;
  max-height: 500px;
}
@media screen and (max-width: 768px){
  ol li .video{ max-height: initial; }
}

/*贊助廠商li*/
ul.cooperate{
	width:100%;
	padding:0;
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
}

ul.cooperate li{
	list-style-type:none;
	display: block;
	width:20%;
	padding:2%;
}

ul.cooperate li img{
	width:100%;
	display:black;
}

.hvr-shrink {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
			transform: perspective(1px) translateZ(0);
	-webkit-box-shadow: 0 0 1px transparent;
			box-shadow: 0 0 1px transparent;
	-webkit-transition-duration: 0.3s;
			transition-duration: 0.3s;
	-webkit-transition-property: -webkit-transform;
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property: transform, -webkit-transform;
	color:#cb0000;
	width: 100%;
	text-align: center;
}

.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	text-decoration:none;

}

/*麻將小學堂*/
.knowhow_page{
	text-align: left;
	padding: 0 6%;
}
.knowhow_page h2{
	margin:0;
	padding:0;
}
.knowhow_page h2:before{
	background-image:none !important;
}
.knowhow_page hr{
	background-color:#990000ff;
}
.knowhow_page .tip{
	background: linear-gradient(to right, #d9ecff, #a9d1f8);
	border-radius:8px;
	padding:10px;
	margin:20px 0;
}

.compare-table{
	font-family: "新細明體", "細明體";
	vertical-align: middle; margin: 0 !important;
	width:100%;
}
.compare-table tr th, .compare-table tr td { border: 0px solid #D9C6B3; padding:3px;}
.compare-table { border-collapse: initial; color: #2b2b2b; border: 2px solid #D9C6B3; }
.compare-table tr { background: #EFEBE7; }
.compare-table tr th { position: relative; background: #c8a583; color: #ffffff; }
.compare-table tr th.style1{ background: #8b8b8b; }
.compare-table tr td { /*單格變色*/ }
.compare-table tr td p { display: flex; justify-content: flex-start; flex-wrap: wrap; align-items: center; }
.compare-table tr td img { display: block; margin: 0 auto; max-width: 100%; }
.compare-table tr td img.img-inline { width: 4em; display: inline; margin: 0; }
.compare-table tr td.style1 { background-color: #dbdbdb; }

.download-area{
	margin:20px 0;
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
}

.download-area img{
	width:22%;
	margin: 0 1%;
}
ul.article {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
		justify-content: space-around;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	list-style-type: none;
	padding: 0 5%;
}

ul.article li {
	width: 100%;
	position: relative;
	display: block;
	cursor: pointer;
	border-radius: 12px;
	background-image: linear-gradient(135deg,rgb(255, 255, 255), #fff1b7);
	background-size: cover;
	margin-bottom:10px;
}

ul.article li:hover, ul.article li:active {
	-webkit-transition: all 0.1s linear;
	transition: all 0.1s linear;
	background-image:linear-gradient(135deg, #fff1b7, #fed426);
}
ul.article li > a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
		justify-content: space-around;
	-webkit-box-align: start;
		-ms-flex-align: start;
			align-items: flex-start;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
	text-decoration: unset;
}
ul.article li > a img {
	width: 100%;
	-o-object-position: center 33%;
		object-position: center 33%;
	border-radius: 12px 12px 0 0;
	-o-object-fit: cover;
		object-fit: cover;
}
ul.article li > a h5 {
	width: 100%;
	color: #452201;
	text-shadow: 1px 1px 0 #fff8e4;
	font-size: 17px;
	font-weight: 800;
	font-stretch: 90%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
		-ms-flex-pack: start;
			justify-content: flex-start;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
		-ms-flex-direction: row;
			flex-direction: row;
	bottom: 32px;
	text-align: left;
}

ul.article li > a .area {
	width: 100%;
	margin-top: 24px;
	padding: 0 16px 8px 16px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
		-ms-flex-pack: justify;
			justify-content: space-between;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
		-ms-flex-direction: row;
			flex-direction: row;
}
ul.article li > a .area .time {
	font-size: 15px;
	font-weight: 800;
	font-stretch: 90%;
	color: #452201;
	text-shadow: 1px 1px 0 #fff8e4;
	margin: 0;
}
ul.article li > a .area p {
	width:100%;
	text-align: left;
	font-size: 12px;
	color: #452201;
	text-shadow: 1px 1px 0 #fff8e4;
	font-weight: 800;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

ul.menu-link{
	list-style-type: none;
	padding:0;
}
.menu-link{
	color: #bd0707;
}