body {
	font-family: "Noto Sans TC", '微軟正黑體';
	font-size: 12px;
	margin: 0;
	/*color: #fff;*/
}

.fancybox-container {
	font-family: "Noto Sans TC", '微軟正黑體' !important;
}

nav {
	margin: 0px auto;
	width: 62%;
	font-weight: 800;
	max-width: 1170px;
}

h2 {
	font-weight: bolder;
	margin-top: 20px;
	letter-spacing: 6px;
	display: block;
	line-height: 1.8;
}

h3 {
	clear: both;
	display: block;
	font-weight: bolder;
}

label {
	margin: 0px;
}

input[type=radio] {
	transform: scale(1.5);
}

.row {
	margin-right: 0px;
	margin-left: 0px;
}

.container_all {
	width: 100%;
	margin: 0px;
	padding: 0px;
}

.center {
	text-align: center;
}

.content {
	font-size: 17px;
	line-height: 27px;
	padding: 3%;
}

.content_left {
	width: 25%;
	padding: 2%;
	float: left;
	text-align: left;
}

.content_right {
	width: 70%;
	padding: 2%;
	float: left;
	text-align: left;
}

#title {
	text-align: Center;
	width: 100%;
}

#section_main {
	width: 80%;
	margin: 5% auto;
	border: 0px #CCC solid;
	padding: 2%;
	max-width: 1060px;
	position: relative;
	min-height: 500px;
}

#content_opening {
	background-repeat: no-repeat;
	background-position: center;

}

#content_question {
	display: none;
}

#content_contact {
	display: none;
	font-size: 35px;
	line-height: 40px;
	font-weight: bolder;
}

#content_contact_form {
	font-size: 28px;
	font-weight: normal;
}


#content_end {
	display: none;
}

#content_result {
	display: none;
	font-size: 50px;
	line-height: 70px;
	font-weight: bolder;
}

#question {
	margin-bottom: 10px;
}

#chart{
	height:450px;
}

.yes {
	background: #f1f1f1;
	padding: 5px;
	margin-right: 5px
}

.no {
	background: #f1f1f1;
	padding: 5px;
	margin-right: 5px
}

.q_icon {
	background: #f1f1f1;
	padding: 5px;
}

.clear {
	margin-bottom: 20px;
	clear: both;
	width: 100%;
}

.space {
	margin-bottom: 50px;
	clear: both;
	width: 100%;
	max-width: 1170px
}

.btn {
	background: #4A6AFF;
	color: #ffffff;
	margin: 5px;
	clear: both;
	font-size: 25px;
}

.btn:hover,
.btn_focus {
	color: #FFE352
}

#skipOpening_btn{
	background: rgba(255, 255, 255, 0.3);
	color: #000;
	display: block;
	position: absolute;
	bottom: 0%;
	right:0%;

}

.question_list {
	clear: both;
	border-bottom: 0px dashed #33527A;
	overflow: hidden;
}

.question_content {

	font-weight: 800;
	text-align: center;

}

.question_title {
	text-shadow: 5px 5px 5px #333;
	font-size: 60px;
	line-height: 70px;
}


.question_title1 {
	color: #47b4ff;
}

.question_title2 {

	color: #fff;

}

.question_desc {
	color: #000;
	font-size: 30px;
	text-align: center;
	line-height: 45px;
	margin-top: 25px;
}

#footer {
	background: #303030;
	color: #fff;
	padding: 10px;
	font-size: 12px;
	position: fixed;
	bottom: 0;
	width: 100%
}

.fancybox-content {
	width: 80%
}

.chart {
	text-align: center;
}

.content_star {
	display: none;
}

#colortList {
	width: 100%;
	clear: both;
	overflow: hidden;
	text-align: left;
	background: rgba(255, 255, 255, 0.3);
	padding: 20px;
	margin: 10px 0px;
}

.colorTitle {
	clear: both;
	overflow: hidden;
	margin-bottom: 10px;
}

.colorTitle_left {
	text-align: left;
	float: left;
	font-size: 20px;
}

.colorTitle_right {
	text-align: right;
	float: right;
	font-size: 20px;
}

.colorItem {
	width: 10%;
	float: left;
	font-size: 20px;
	text-align: center;
}

.colorBtn {
	background: none;
	border: 0px;
	color: #fff;
}

.colorBtn_selected {
	background: #f00;
}

.colorSelect {
	height: 10px;
}

.colorSelect1 {
	background: #CB00C8;
}

.colorSelect2 {
	background: #02019F;
}

.colorSelect3 {
	background: #32A0C3;
}

.colorSelect4 {
	background: #2D9942;
}

.colorSelect5 {
	background: #92CF4E;
}

.colorSelect6 {
	background: #FDFF00;
}

.colorSelect7 {
	background: #FEBE00;
}

.colorSelect8 {
	background: #FEC8A6;
}

.colorSelect9 {
	background: #FED6D3;
}

.colorSelect10 {
	background: #DC1104;
}
.divSex{
	text-align: left;
}

#cal_btn,
.end {
	display: none;
}

#end_wrapper {
	/* background: url('../images/end_bg.jpg');
	background-repeat: no-repeat;
	background-size: 100%; */
	background: #fff;

	padding: 1%;
	overflow: hidden;
	border-radius: 30px;
	clear: both;
}

.end {
	font-size: 19px;
	line-height: 30px;
	color: #333;
	clear: both;
}

.end_img {
	width: 40%;
	padding: 2%;
	float: left;
	text-align: center;
}

.end_img img {
	max-width: 205px;
}

.end_img_btn {
	background: #DB96A0;
	color: #fff;
	text-align: center;
	display: block;
	margin-top: 20px;
	font-weight: 800;
	font-size: 20px;
	padding: 5px;
}

.end_desc {
	width: 58%;
	padding: 2%;
	float: left;
}

.end_desc_title {
	font-weight: 800;
}

#end_btn,
#end_btn a {
	text-align: center;
	font-size: 15px;
	text-decoration: none;
	color: #f00 !important;
}

#end_result {
	font-size: 20px;
	text-align: center;
	border-bottom: 0px dashed #DB96A0;
	color: #485868;
}

#end_result_title {
	color: #3C566F;
	/*	text-decoration: underline;*/
	font-size: 40px;
	line-height: 60px;
	font-weight: bolder;
}

#end_result_subtitle {
	font-size: 35px;
	line-height: 50px;
}

#end_result_type {
	font-size: 40px;
	color: #f00;
}

#end_content {
	margin: 0px auto;
	width: 600px;
	text-align: center;
	font-size: 15px;
}

#end_content_top {
	margin: 15px auto 15px auto;
}

#end_content_desc {
	clear: both;
	overflow: hidden;
	margin: 0px auto 0px auto;
	margin-bottom: 0px;
	font-size: 15px;
	padding: 15px;
	display: flex;
}

#end_content_desc_left {
	float: left;
	width: 30%;
	letter-spacing: 3px;
	font-size: 20px;
	border-right: 2px solid #A4A4A4;
	margin-right: 5%;
	/*background: url('../images/star_bg.png') no-repeat;*/

}

#end_content_desc_right {
	float: right;
	width: 65%;
	text-align: left;
}

.end_content_desc_right_row {
	padding: 5px;
	margin-bottom: 0px;

}

#end_content_desc_right img {
	border: 1px solid #000;
	border-radius: 50%;
	padding: 3px;
	max-width: 20px;

}

#end_content_tip {
	text-align: center;
	/* color: #79838B; */
	font-size: 20px;
	line-height: 25px;
}

#end_mobile_tip{
	display: none;
}

#restart {
	text-align: center;
}

#restart_btn {
	background: #f00;
}

#printMobile_btn {
	display: none;
}

video {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	z-index: -1;
}

.video-wrapper {

	width: 100vw;
	height: 100vh;
	position: relative;
	overflow: hidden;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;

}

/*
客製修改
*/
.col-sm-10 {
	padding-top: calc(0.375rem + 1px);
	padding-bottom: calc(0.375rem + 1px);
}

.fancybox-close-small {
	display: none;
}


@keyframes yellowStarAnimation {

	0%,
	100% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}
}

@media all and (max-width: 479px) {
	nav {
		width: 100%;
	}

	h2 {
		margin-top: 20px;
	}

	h3 {
		clear: both;
		width: 80%;
		margin: 0px auto;
	}

	#section_main {
		width: 90%;
	}

	#video_opening {
		width: 100%;
	}

	.content {
		width: 100%;
		margin: 0px auto;
	}

	#content_contact{
		font-size: 30px;
		line-height: 35px;
	}

	.clear {
		margin-bottom: 0px;
	}

	.content_left,
	.content_right {
		width: 100%
	}

	.space {
		margin-bottom: 20px;
	}
	.question_title {
		font-size: 40px;
		line-height: 50px;
	}
	.question_desc{
		margin-top: 0px;
		line-height: 35px;
	}
	

	.divSex{
		text-align: center;
	}

	#end_content{width: 100%;}

	#end_content_desc{display: block;}

	#end_content_desc_left,#end_content_desc_right{
		display: block;
		width: 100%;
		border: 0px;
	}

	#printMobile_btn{
		display: block;
	}

	#print_btn{
		display: none;
	}

	.fancybox-content {
		padding: 5px
	}

	.end_img {
		width: 100%
	}

	.end_desc {
		width: 100%
	}

	#chart {
		height: 100%;
	}

	#end_result {
		font-size: 16px;
	}

	#end_mobile_tip{
		text-align: center;
		display: block;
		color: #f00;
	}

	.fancybox-content {
		width: 95%;
	}

	canvas {
		width: 90vw !important;
		height: 42vh !important;
		display: block;
	}

	.form-group {
		margin-bottom: 0rem;
	}

}

/* 列印時專用樣式 */
@media print {

	* {
		-webkit-print-color-adjust: exact !important;
		color-adjust: exact !important;
	}


	@page {
		size: A5 Landscape;
		
	  }

	body * {
		visibility: hidden;
	}


	.fancybox-container,
	.fancybox-container * {
		visibility: visible;
	}

	.fancybox-container {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}

	#end_wrapper {
		width: 100%;
		margin: 0 auto;
		padding: 0px;
		border: 5px solid #333;
	}

	#end_content_desc{
		padding: 0px 15px 5px 0px;
	}

	#chart,#chart_canvas{
		height: 360px !important;
	}

	#chart_canvas{
		width: 360px !important;
		margin:0px auto;
	}
	.fancybox-content {
		width: 100%;
	}

	.btn,
	#print_btn,
	#printMobile_btn,
	.fancybox-close-small,
	.fancybox-bg {
		display: none !important;
	}
}