@charset "big5";
*,
*::before,
*::after {box-sizing:border-box;}
a {text-decoration:none; color:inherit; cursor:pointer;transition-duration: 0.5s;}
table {border-collapse:collapse; border-spacing:0;}
ul, ol, dd {margin:0; padding:0; list-style:none;}
:focus {outline: 0;}
input::-moz-focus-inner {margin:0; padding:0; border:0;}
button {padding:0; background-color:transparent; color:inherit; border-width:0; cursor:pointer;}
html, body {height: 100%;}
body {margin:0; padding:0;
	font-family: 'Microsoft JhengHei', Arial;
	font-size: 18px;
	line-height: 1.3;
}
img {
	max-width: 100%;
}
input, select, button {
	font-family: 'Microsoft JhengHei', Arial;
	font-size: 18px;
	padding: 2px 5px;
	transition-duration: 0.5s;
	border: 1px solid #aaa;
	border-radius: 5px;
}
select {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	padding-right: 1.5em;
	background: url(../img/i-arrow.svg) no-repeat right 5px center white;
	position: relative;
	border: 1px solid #aaa;
	border-radius: 5px;
}
button:hover {
	background-color: rgba(102, 102, 102, 0.1);
}
.wrapper {
	height: 100%;
	position: relative;
}
.header {
	height: 50px;
	position: relative;
	background-color: #002651;
	color: white;
}
.header h4 {
	padding: 0 10px;
	margin: 0;
	font-size: 1.22em;
	line-height: 50px;
	display: inline-block;
}

.btn-more {
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 2px 10px;
}

.searchBar {
	width: 100%;
	height: 50px;
	padding: 6px 20px;
	display: inline-block;
	border-bottom: 1px solid #aaa;
	text-align: center;
}
.searchBar input[type="text"] {
	width: 210px;
	font-size: 1.22em;
	font-weight: bold;
}
.searchBar button {
	font-size: 1.22em;
	font-weight: bold;
}

.main-wrap {
	height: calc(100% - 50px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.main {
	width: 980px;
	max-width: 100%;
	padding: 10px 20px 30px;
	margin: auto;
	position: relative;
}

.topic-group {
	border-bottom: 1px solid #aaa;
}
.topic-group h4 {
	padding: 0 10px;
	margin: 5px 0;
	display: inline-block;
	border-left: 4px solid #c70000;
	color: #002651;
	font-size: 1.44em;
	font-weight: bold;
}
.content-group {
	margin-bottom: 40px;
}
.question-group {
	width: 100%;
	padding: 10px;
	border-bottom: 1px solid #aaa;
	background-color: #fff0f0;
}
.question-group .icon {
	width: 45px;
	margin-right: -5px;
	display: inline-block;
	vertical-align: middle;
	font-size: 1.11em;
	font-weight: bold;
}
.question-group h4 {
	width: calc(100% - 50px);
	margin: 0;
	margin-right: -5px;
	display: inline-block;
	vertical-align: middle;
	text-align:justify;
	/* white-space : nowrap;
	text-overflow : ellipsis;
	overflow : hidden; */
}
.answer-group {
	padding: 5px 10px;
	border-bottom: 1px solid #aaa;
	background-color: #fffafa;
}
.answer-group .icon {
	width: 45px;
	padding: 5px 0;
	margin-right: -5px;
	display: inline-block;
	vertical-align: top;
	font-size: 1.11em;
	font-weight: bold;
}
.answer-group p {
	width: calc(100% - 140px);
	padding: 5px 0;
	margin: 0;
	margin-right: -5px;
	display: inline-block;
	overflow : hidden;
	text-align:justify;
	vertical-align: top;
}
.answer-group p a {
	color: #0033bb;
	font-weight: bold;
}
.answer-group button {
	margin: 4px 0;
	font-size: 0.88em;
}
.answer-group .pics {
	display: none;
	text-align: center;
}

/*-----------筆電使用-----------*/
@media screen and (min-width: 1025px) and (max-width: 1366px) {

}
/*-----------大平板使用-----------*/
@media screen and (min-width: 769px) and (max-width: 1024px) {

}
/*-----------小平板使用-----------*/
@media screen and (min-width: 481px) and (max-width: 768px) {
	
}
/*-----------手機使用-----------*/
@media only screen and (max-width: 767px) {
	body {
		font-size: 16px;
	}
	.wrapper{
		max-width: 100%;
		margin: auto;
	}

	.searchBar {
		text-align: right;
	}
	.searchBar input[type="text"] {
		width: 120px;
	}

	.answer-group p {
		width: calc(100% - 45px);
	}
	.answer-group button {
		width: 120px;
		margin: auto;
		display: block;
	}
}
@media only screen and (max-width: 481px) {
	
}
/*----------- 手機使用iPhoneX-----------*/
@media only screen and (max-width: 375px) {

}
/*----------- 手機使用iPhone4 -----------*/
@media only screen and (max-width: 320px) {
	
}