@import url("reset.css");
body{
	-webkit-text-size-adjust:none;
	text-decoration:none;
	font-family:"微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	color: #333333;
	font-size: 16px;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;

	}

/*========================== 版型設定 ============================*/
/*PC表頭尾*/
.PC .PC_LOGIN, .PC .FOOT_PC{ width:100%; display:block;}
.PC .MOBILE_LOGIN{  /*display:none;*/}
/*PC表頭尾*/

/*消失區*/
.PC #float_icon, .PC #header, .PC .FOOT_MOBILE { /*display:none;*/}
.MOBILE .PC_LOGIN, .MOBILE .FOOT_PC{ display:none;}

/*MOBILE表頭尾*/
.MOBILE #float_icon , .MOBILE #header, .MOBILE .FOOT_MOBILE{display:block;}
/*MOBILE表頭尾*/

/*MOBILE小字斷行*/
.MOBILE .T01_MB{display:block;}
/*MOBILE小字斷行*/

/*========================== 版型設定 ============================*/

/*========================== 共用設定 ============================*/
.PC #free_ziwei .BLANK{ width:100%; height:20px;}
.MOBILE #free_ziwei .BLANK{ width:100%; height:12px;}
.PC #free_ziwei .BLANK01{ width:100%; height:12px;}
.MOBILE #free_ziwei .BLANK01{ width:100%; height:4px;}

#free_ziwei .pq_B{font-weight: 700;}
#free_ziwei .pq_RED{color: #d13029;}
#free_ziwei .pq_PURPLE1 {color: #6800c6;}

#free_ziwei .pq_TIT3{
    font-family: "微軟正黑體", "Microsoft JhengHei", "sans-serif", Helvetica, Arial;
    font-size: 1.6rem;
    line-height: 2.4rem;
	text-decoration: none;
}

#free_ziwei .pq_TXT1{
    font-family: 微軟正黑體, "Microsoft JhengHei", sans-serif, Helvetica, Arial;
    font-size: 1.2rem;
    line-height: 2.2rem;
    text-decoration: none;
}
#free_ziwei .pq_TXT2{
	font-family: "微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	font-size: 1.8rem;
	line-height: 2.2rem;
    text-decoration: none;
    margin: 0 auto;
	color: #d13029;
	font-weight: bold;
}
#free_ziwei .pq_TXT3{
	font-family: "微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	line-height: 2rem;
    text-decoration: none;
    margin: 0 auto;
    clear: both;
}

#free_ziwei .pq_TXT4{
	font-family: "微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 2rem;
    text-decoration: none;
}

#free_ziwei .T01_MB{
	font-family: "微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 2rem;
    text-decoration: none;
	margin-left: 5px;
}
	#free_ziwei .LIST_ICON{
		width:5px; 
		height: 20px;
		display: inline-block;
		background-color: #6800c6;
		margin-bottom: -4px;
		margin-right: 5px;
		margin-left: 2px;

	}

#free_ziwei .pq_LINK{
	color: #1a8dd4;
	cursor: pointer;
	text-decoration: none;
	text-align: left;
}
	#free_ziwei .pq_LINK:hover{
		text-decoration: underline;
		cursor: pointer;
	}

#free_ziwei .pq_notice{
	color: #e91b1b;
	text-align: center;
	margin: 12px auto 4px auto;
}
	.MOBILE #free_ziwei .pq_notice{
		font-size: 1rem;
	}

#free_ziwei .BAR_STYLE{
	width: 100%;
	height: 50px;
    line-height: 50px;	
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
    background-color: #ffdfb8;
	color: #333;
	margin:30px auto;
	margin-top: 45px;
	clear: both;
}
.MOBILE #free_ziwei .BAR_STYLE{
	margin:15px auto;
	margin-top: 30px;
}

/*========================== 共用設定 ============================*/

/*========================== 共用外框及主圖 ============================*/
#free_ziwei{
	width: 100%;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
	-webkit-box-sizing: border-box; 
	background: #d8fff0; /* Old browsers */
	background-image: url(../images/bg.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center top;
	/*padding-bottom: 50px;*/
}

	.MOBILE #free_ziwei{
		background-size: 300% auto; 
		background-image: url(../images/bg.jpg);
		background-position-y:45px; 
		padding-bottom: 30px;
	}

#free_ziwei .FRAME{
	width:100%;
	height:auto;
	overflow:hidden;
	margin:0 auto;
}

.PC #free_ziwei .RE_TOP{
	width: 966px;
	height: 362px;
    background-image: url(../images/top.png);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    margin: 0 auto;
	position: relative;
}

.MOBILE #free_ziwei .RE_TOP{
	width: 100%;
	height: 0;
    overflow: hidden;
    padding-bottom: 37.47412%;
    background-image: url(../images/top.png);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	margin-top: 45px;
    text-indent: -9999px;
	position: relative;
}


.PC #free_ziwei .RE_TOP h1{
	width: 700px;
	height: 210px;
    background-image: url(../images/title.png);
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
	position:absolute;
	top: 22%;
	left: 3%;
}

.MOBILE #free_ziwei .RE_TOP h1{
	width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 28%;
    background-image: url(../images/title.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-indent: -9999px;
	position:absolute;
	top: 15%;
}


/*========================== 共用外框及主圖 ============================*/

/*========================== 共用內容框架 ============================*/
#free_ziwei .content_top img , #free_ziwei .content_foot img{
    display: block;
    width:100%;
    height: auto;
    margin:0 auto;
}

#free_ziwei .CONTENT{
	width: 95%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    background-image: url(../images/re_bg.jpg);
    background-size: 100% auto;
	margin-bottom:20px;
}
	.MOBILE #free_ziwei .CONTENT{
		width: 95%;
		}

#free_ziwei .CON_BOX{ 
	width:90%;
	height:auto;
	overflow:hidden;
	margin:0 auto;
}

	#free_ziwei .CON_BOX02{ 
		border-right: 1px solid #95521b;
		border-left: 1px solid #95521b;
		border-bottom: 1px solid #95521b;
	}

	.PC #free_ziwei .CON_BOX03{ 
		width: 90%;
		margin: 0 auto;
	}
	.MOBILE #free_ziwei .CON_BOX03{ 
		width: 95%;
		margin: 0 auto;
		padding-left: 1%;
	}
	.MOBILE #free_ziwei .CON_BOX img{
		width: 100%;
	}

#free_ziwei .CONTENT03{
	width: 100%;
    height: auto;
	overflow: hidden;
	margin: 0 auto;
}
	.MOBILE #free_ziwei .CONTENT03{
		width: 90%;
	}

#free_ziwei .TEXT_BOX{
	float: left;
	width:60%;
	padding-top: 24px;
	padding-left: 30px;
	font-size: 1.2rem;
	line-height: 1.6em;
	color: #333;
}
	.MOBILE #free_ziwei .TEXT_BOX{
		float: none;
		width:100%;
		padding:0;
		margin-bottom: 10px;
	}

.PC #free_ziwei .SAM_BOX{
	float: right;
	width:40%;
}
	.MOBILE #free_ziwei .SAM_BOX{
		width:80%;
		margin: 0 auto;
	}
#free_ziwei .SAM_BOX img{
	display:block;width:100%; height: auto;}

.PC #free_ziwei .CON_BOX p.pq_TXT2::before, .PC #free_ziwei .CON_BOX p.pq_TXT2::after{
	content: "";
	display: inline-block;
    width: 16%;
    height: 2px;
    background-color: #d13029;
    vertical-align: middle;
    margin:0 8px;
    margin-bottom: 4px;
}
.PC #free_ziwei .CON_BOX p.pq_TXT2{
	display: block;
	text-align: center;
	clear: both;
	margin-bottom: 10px;
}
.MOBILE #free_ziwei .CON_BOX p.pq_TXT2{
	display: block;
	text-align: center;
	padding-bottom: 5px;
	margin-bottom: 5px;
	font-size: 1.5rem;
	border-bottom: 1px solid #d13029;
}

/** Ziwei info **/
#free_ziwei .CON_BOX .ZIWEI_IN{
	width: 90%;
	height: auto;
	overflow: hidden;
	margin: 10px auto 20px auto;
	clear: both;
}
.MOBILE #free_ziwei .CON_BOX .ZIWEI_IN{
	margin: 10px auto;
}
.PC #free_ziwei .CON_BOX .ZIWEI_IN img{
	float: left;
	width: 35%;
	height: auto;}

	.MOBILE #free_ziwei .CON_BOX .ZIWEI_IN img{
		display: block;
		width: 55%;
		margin: 10px auto;}

#free_ziwei .CON_BOX .ZIWEI_IN p{
	display: block;
	width: auto;
	height: auto;
	overflow: hidden;
	padding-top: 15px;
	padding-left: 22px;
	font-size: 1.1rem;
    line-height: 2rem;
}
	.MOBILE #free_ziwei .CON_BOX .ZIWEI_IN p{
	width: 100%;
	padding:0;
}
#free_ziwei .CON_BOX .FORMBOX{
	width: 90%;
	height: auto;
	overflow: hidden;
	margin: 20px auto 0 auto;
}


/** TEACHER **/
#free_ziwei .INTRO_SAM_BOX{
    width: 90%;
    height: auto;
	margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content:center; 
}
    .MOBILE #free_ziwei .INTRO_SAM_BOX{
        width: 90%;
        height: auto;
        display: block;
    }
#free_ziwei .INTRO_SAM_T{
    width: 50%;
    height: auto;
	overflow: hidden;
	padding: 30px 0 0 5px;
}
    .MOBILE #free_ziwei .INTRO_SAM_T{
        width:100%;
        height: auto;
        overflow: hidden;
		padding: 0;
    }
#free_ziwei .INTRO_SAN_IMG{
    width: 50%;
    height: auto;
}
    .MOBILE #free_ziwei .INTRO_SAN_IMG{
        width: 60%;
        height: auto;
        margin: 10px auto;
    }
#free_ziwei .INTRO_SAN_IMG img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#free_ziwei .INTRO_SAM_T .NAME_SAM_T{
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 5px auto;
}
#free_ziwei .INTRO_SAM_T .NAME_SAM_T ul{
    width: 100%;
    height: auto;
    overflow: hidden;
}
#free_ziwei .INTRO_SAM_T .NAME_SAM_T li{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content:center;
    margin-bottom: 10px;
}
#free_ziwei .NAME_SAM_T .SAM_T_ICON{
    width: 8px;
    height: 8px;
    border-radius:999px;
    background-color: #cfa375;
    margin-top: 10px;
}
#free_ziwei .NAME_SAM_T p{
    width: calc(100% - 8px);
    padding-left: 10px;
}

#free_ziwei .pq_RETOP{
	width: 100%;
    height: 0;
    padding-bottom: 23.880597%;
    background-size: cover;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center top;
    text-align: center;
    box-sizing: border-box;
}

#free_ziwei .pq_RETOP02{
	width: 100%;
    height: 0;
    padding-bottom: 41.791044%;
    background-size: cover;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center top;
    text-align: center;
    box-sizing: border-box;
}
#free_ziwei .pq_RETOP img, #free_ziwei .pq_RETOP02 img{clear:both;display:block;width:100%; height: auto;}

/*MENU樣式*/
#free_ziwei .MENU{
	width: 100%;
}
#free_ziwei .MENU ul{ 
	width: 100%;
}
	.PC #free_ziwei .MENU ul{
		height: 60px;
	}
	.MOBILE #free_ziwei .MENU ul{
		height: 50px;
	}
	.PC #free_ziwei .MENU_F{
		width: 640px;
		height: 60px;
		left:50%;
		margin-left: -337px;
		position: fixed;
		z-index: 1;
		margin-top: -38px;
	}
/* iPad Portrait (768px) */
@media screen and (max-width: 768px) {
	.PC #free_ziwei .MENU_F{
		width: 85.6% !important;
		 
	}
}
/* iPad Landscape (1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
.PC #free_ziwei .MENU_F{
		width: 85.6% !important;
		 
	}
}
	.MOBILE #free_ziwei .MENU_F{
		width: 85.6%;
		height: 50px;
		left:50%;
		margin-left: -42.8%;
		position: fixed;
		z-index: 1;
		margin-top: 45px;
	}
	#free_ziwei .MENU_F ul{ 
		width: 100%;
		border-radius: 0 0 0 0;
	}


#free_ziwei .MENU li{
	float: left;
	width: 50%;
	border-right:1px solid #fff;
}
	.PC #free_ziwei .MENU li{
		height: 60px;
	}
	.MOBILE #free_ziwei .MENU li{
		height: 50px;
	}
#free_ziwei .MENU li:last-child{
	border-right:1px solid #95521b;
}
#free_ziwei .MENU li:first-child{
	border-left:1px solid #95521b;
}
#free_ziwei .MENU li a{
	display: block;
	width: 100%;
	color: #95521b;
	text-align: center;
	font-weight: bold;
	background-color: #cfa375; 
	text-decoration: none;
}
	.PC #free_ziwei .MENU li a{
		font-size:1.6rem;
		line-height: 60px;

	}
	.MOBILE #free_ziwei .MENU li a{
		font-size:1.3rem;
		line-height: 50px;

	}
#free_ziwei .MENU li a:hover{
	color: #fff;
	background-color: #95521b;
}
#free_ziwei .MENU li a.ACTIVE{
	color: #fff;
	background-color: #95521b;
}

#free_ziwei .ZIWI_BOX{
	height: 80px;
	border-radius: 8px;
	border:1px solid #F3B153;
	background-color: #fffbf8;
	position: relative;
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 15px;
}
	.PC #free_ziwei .ZIWI_BOX{
	width:50%;
	}
	.MOBILE #free_ziwei .ZIWI_BOX{
		width:80%;
		}
#free_ziwei .ZIWI_BOX .ZIWI_TIT{
	width: 50%;
	height: 35px;
	text-align: center;
	color: #fff;
	background-color: #F3B153;
	position: absolute;
	top:-20px;
	left:25%;
	font-size: 1.2rem;
	border-radius: 35px;
	line-height: 35px;
	font-weight: bold;
}
#free_ziwei .ZIWI_BOX .ZIWI_TEX{
	width: 100%;
	text-align: center;
	position: absolute;
	bottom:10px;
}

#free_ziwei .ZIWI_BOX .ZIWI_TEX .TETXT{
	font-size: 2rem;
}

#free_ziwei .WIDTH_WRAPPER{
	clear: both;
	margin: 0 auto;
	overflow: hidden;
	margin-top: 20px;
	}
	.PC #free_ziwei .WIDTH_WRAPPER{
		width: 80%;
		}
	.MOBILE #free_ziwei .WIDTH_WRAPPER{
		clear: both;
		width: 95%;
		}
	#free_ziwei .WIDTH_WRAPPER .L_CON{
	float: left;
	width: 40%;
	height: 155px;
	}
	#free_ziwei .WIDTH_WRAPPER .L_CON ul{ width: 100%; margin-bottom: 10px;}
	#free_ziwei .WIDTH_WRAPPER .L_CON li:nth-child(1){
	margin-top: 5px;
	width: 90%;
	height: 55px;
	font-size:1.6rem;
	line-height: 55px;
	color: #6800c6;
	font-weight: bold;
	border-bottom:1px solid #ccc;
	margin-bottom: 10px;
	}
	.MOBILE #free_ziwei .WIDTH_WRAPPER .L_CON li:nth-child(1), 
	.MOBILE #free_ziwei .WIDTH_WRAPPER .L_CON li:nth-child(2){
	font-size:1.3rem;
	}
	#free_ziwei .WIDTH_WRAPPER .L_CON li:nth-child(2){
	display: block;
	width: 100%;
	color: #333;
	font-size: 1.6rem;
	line-height: 1.8rem;
	}
	#free_ziwei .WIDTH_WRAPPER .R_CON{
	float: right;
	position: relative;
	width: 60%;
	height: 158px;
	margin-bottom: 18px;}

	#free_ziwei .WIDTH_WRAPPER .R_CON ul{
	width: 100%;
	height: 155px;
	border-top: 2px solid #F3B153;
	border-right: 2px solid #F3B153;
	border-left: 1px solid #F3B153;
	border-bottom: 2px solid #F3B153;
	}
	#free_ziwei .WIDTH_WRAPPER .R_CON li{
	float: left;
	width: 25%;
	height: 38px;
	line-height: 38px;
	text-align: center;
	background-color: #fff;
	color: #666;
	border-left: 1px solid #F3B153;
	border-bottom: 1px solid #F3B153;}
	#free_ziwei .WIDTH_WRAPPER .R_CON li:nth-of-type(6){
		border-bottom: 1px solid #fff;
	}

	#free_ziwei .WIDTH_WRAPPER .R_CON li:nth-of-type(7){
		border-left: 1px solid #fff;
		border-bottom: 1px solid #fff;
	}

	#free_ziwei .WIDTH_WRAPPER .R_CON li:nth-of-type(11){
		border-left: 1px solid #fff;

	}

	#free_ziwei .WIDTH_WRAPPER .R_CON li.NOW{
	background-color: #F3B153;
	font-weight: bold;
	color: #fff;}

	#free_ziwei .REM_BOX{ 
		height: auto;
		overflow: hidden;
		background-color: #ffefef;
		margin: 0 auto;
		border-radius:10px;
		padding: 2%;
		margin-top: -30px;
		margin-bottom: 50px;
	}
		.PC #free_ziwei .REM_BOX{ 
			width: 85%;
		}
		.MOBILE #free_ziwei .REM_BOX{ 
			width: 95%;
			padding: 2.5%;
		}

/*========================== 共用內容框架 ============================*/

/*========================== 個人資料 ============================*/
#free_ziwei .INFO_BOX{
	display: block;
	padding: 10px 0;
	border-bottom: 2px solid #fff;
	text-align: center;
	
}

	#free_ziwei .pq_TIT2{
		font-family: "微軟正黑體", "Microsoft JhengHei",  Helvetica, Arial, sans-serif;
	    text-decoration: none;
		font-weight: bold;
	    clear: both;	    
	}
		.PC #free_ziwei .pq_TIT2{
			font-size: 1.8rem;
			line-height: 2.7rem;
		}
		.MOBILE #free_ziwei .INFO_BOX .pq_TIT2{
			font-size: 1.4rem;
			line-height: 2.2rem;
		}

	.PC #free_ziwei .INFO_BOX .pq_TXT1{
		line-height: 2rem;
		
	}
	.MOBILE #free_ziwei .INFO_BOX .pq_TXT1{
		line-height: 1.8rem;}
	
	#free_ziwei .INFO_BOX span.GENDER{
	    display: inline-block;
	    width: 30px;
	    height: 30px;
	    margin-bottom: -4px;
	}

	#free_ziwei .INFO_BOX span.GENDER img{
		display: block;
	    width: 100%;
	    height: auto;
	    margin: 0 auto;
	}

/*========================== 個人資料 ============================*/

/*========================== 區框樣式 ============================*/


/*========================== IMP ============================*/
/*平板小於內容js縮放*/

@media screen and (max-width: 1000px) {
  .PC #free_ziwei {
    width: 1000px !important;
    -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
            transform-origin: 0 0;
  }
 }
 /*========================== IMP ============================*/

 
/*========================== 新增按鈕 ============================*/
#free_ziwei .pq_e_BT{
	clear: both;
	width:100%;
	margin:20px 0;}

.MOBILE #free_ziwei-wrapper .M_none { display:none;}

/*========================== 新增按鈕 ============================*/

/*其他樣式*/

/*宮位圖*/
#free_ziwei .pq_MAP{
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	align-items: center;
    justify-content: center;	
	width: 100%;
	height: 580px;
	background-color: #fff6eb;
	border:1px solid #95521b;
	color: #333333;
	font-size: 1.3rem;
}
@media screen and (max-width:375px){/*for SE*/
	.MOBILE #free_ziwei .WIDTH_WRAPPER .L_CON li:nth-child(1){
		font-size:1.2rem;
		}
}
.LIST{
  display:none;	               
}
.PUSHLINE01{
 display: none;	               
}
 .PUSHBLANK2{
 display: none;	               
}
.PUSHPUSH{
 display: none;	               
}
.ad_LIST_nati{
display:none;
}
