:root{
	--primary:    #541a77;
	--secondary:  #ee9514;
	--tertiary:   #37337f; 
	/*--quaternary: #ec7b1c; */
	--body-color: #221815;
	--body-bg: 	  #ffffff;
	--line-height: 1.8;
}
html, body{
	font-size: 12px;
	line-height: var(--line-height);
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;	
}
@media screen and (min-width: 768px) {
	html, body{
	font-size: 14px;
}
}
@media screen and (min-width: 1200px) {
	html, body{
	font-size: 16px;
}
}
body { 
    margin: 0;
    padding: 0;
    background-color: rgba(255,255,255, 0.5);
	background-image: url("../images/bg.jpg");
	background-repeat: no-repeat;
	background-position: bottom right;
	background-attachment: fixed;
	background-blend-mode: screen;
}
body::-webkit-scrollbar{  
	background-color: transparent;
	width: 10px;
}  
body::-webkit-scrollbar-track {
	background-color: transparent;
} 
body::-webkit-scrollbar-thumb {
	background-color: var(--tertiary);
} 

ul, li, dl, dt, dd {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
a {
	outline: none; 
    text-underline-offset: 4px;
}
a img {
	border: none;
}
table {
	border-collapse: collapse;
	padding: 0px;
	margin: 0px;
	border: none;
	
}
table.align-center thead th, 
table.align-center thead td, 
table.align-center tbody th, 
table.align-center tbody td {
	vertical-align: middle;
}
.blueWords {
	color: var(--primary);
}
.bold {
	font-weight: bold;
}
.bg-primary{
	background-color: var(--primary);
}
.bg-secondary{
	background-color: var(--secondary);
}
.bg-tertiary{
	background-color: var(--tertiary);
}
.bg-white{
	background-color: #fff;
}
dt, dd {
    line-height: inherit;
}
.thumbnail, .img-thumbnail{
	box-shadow:  none;
}
.embed-responsive-21by9{
	padding-bottom: calc(9/21*100%);
}
ol li{
	list-style-type: decimal;
}

/***********/
.wrapper {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding-left: .75rem;
	padding-right: .75rem;
}
#top {
    height: 150px;
    background-color: #ffffff;
	position: relative;
	border-bottom: 8px solid var(--secondary);
}
@media screen and (max-width: 1199px) {
#top {
    height: auto;
}	
}
#middle {
	padding: 0 0 20px 0px;
	height: auto;
}
#footer {
	background-color: #fff; 
	border-top: 5px solid var(--primary);
	height: auto;
	width: 100%;
}
#footer .line { display: none;
	height: 1px;
	background-color: #FFF;
    
}
#footer .wrapper { 
	display: flex;
	align-items: center;
    justify-content: space-between;
}
#footer .wrapper a{
	flex: 1;
	padding: .75rem 1rem;
}
@media screen and (max-width: 575px) {
#footer .wrapper {
    flex-wrap: wrap;
}	
#footer .wrapper a{
	flex-basis: 50%;
}	
}
#footer .wrapper a img {
	width: auto; 
	max-width: 100%;
	display: block; 
}
#left {
	width: 240px;
	/*float: left;*/
	padding-left: .75rem;
	padding-right: .75rem;
}
#right {
	width: calc(100% - 240px);
	/*float: left;*/
	min-height: 700px;
	height: auto !important;
	height: 700px;
	text-shadow: 1px 1px rgba(255,255,255, .25);
}
#top .wrapper {
	height: 100%;
}
#top .wrapper .subNav {   display: none;
	position: absolute;
	right: 20px;
	top: 8px;
}
#top .wrapper .subNav select{
	background-color: var(--primary);
	border-color: transparent;
	color: #fff;
	padding: .25rem calc(.75rem + 1em + .5em);
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-globe' viewBox='0 0 16 16'%3E %3Cpath d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m7.5-6.923c-.67.204-1.335.82-1.887 1.855A8 8 0 0 0 5.145 4H7.5zM4.09 4a9.3 9.3 0 0 1 .64-1.539 7 7 0 0 1 .597-.933A7.03 7.03 0 0 0 2.255 4zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a7 7 0 0 0-.656 2.5zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5zM8.5 5v2.5h2.99a12.5 12.5 0 0 0-.337-2.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5zM5.145 12q.208.58.468 1.068c.552 1.035 1.218 1.65 1.887 1.855V12zm.182 2.472a7 7 0 0 1-.597-.933A9.3 9.3 0 0 1 4.09 12H2.255a7 7 0 0 0 3.072 2.472M3.82 11a13.7 13.7 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5zm6.853 3.472A7 7 0 0 0 13.745 12H11.91a9.3 9.3 0 0 1-.64 1.539 7 7 0 0 1-.597.933M8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855q.26-.487.468-1.068zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.7 13.7 0 0 1-.312 2.5m2.802-3.5a7 7 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7 7 0 0 0-3.072-2.472c.218.284.418.598.597.933M10.855 4a8 8 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4z'/%3E %3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E %3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E %3C/svg%3E");
	background-repeat: no-repeat, no-repeat;
	background-size: 1em auto, 1em auto;
	background-position: center left .75rem, center right .75rem;
	border-radius: 0 0 .5rem .5rem;
	box-shadow:  0 2px 5px rgba(0,0,0, .25);
}
#top .wrapper .subNav select:hover{
	cursor: pointer;
	color: var(--tertiary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f5c238' class='bi bi-globe' viewBox='0 0 16 16'%3E %3Cpath d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m7.5-6.923c-.67.204-1.335.82-1.887 1.855A8 8 0 0 0 5.145 4H7.5zM4.09 4a9.3 9.3 0 0 1 .64-1.539 7 7 0 0 1 .597-.933A7.03 7.03 0 0 0 2.255 4zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a7 7 0 0 0-.656 2.5zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5zM8.5 5v2.5h2.99a12.5 12.5 0 0 0-.337-2.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5zM5.145 12q.208.58.468 1.068c.552 1.035 1.218 1.65 1.887 1.855V12zm.182 2.472a7 7 0 0 1-.597-.933A9.3 9.3 0 0 1 4.09 12H2.255a7 7 0 0 0 3.072 2.472M3.82 11a13.7 13.7 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5zm6.853 3.472A7 7 0 0 0 13.745 12H11.91a9.3 9.3 0 0 1-.64 1.539 7 7 0 0 1-.597.933M8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855q.26-.487.468-1.068zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.7 13.7 0 0 1-.312 2.5m2.802-3.5a7 7 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7 7 0 0 0-3.072-2.472c.218.284.418.598.597.933M10.855 4a8 8 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4z'/%3E %3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f5c238' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E %3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E %3C/svg%3E");
}
#top .wrapper .subNav select:focus{
	outline: none;
}
#top .wrapper .banner {
	height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
	background-size: contain;
}
@media screen and (max-width: 1199px) {
#top .wrapper .banner {
    height: 0;
	padding-bottom: calc(150 / 980 * 100%);
}	
}
#top .wrapper .banner.CH {
	background-image: url(../images/banner_CH.png);
}
#top .wrapper .banner.EN {
	background-image: url(../images/banner_EN.png);
}
#top .wrapper .banner.Back {
	background-image: url(../images/banner_Back.png);
}

#middle .wrapper{
	display: flex;
	flex-direction: column;
}
@media screen and (min-width: 992px) {
#middle .wrapper{
	flex-direction: row;
}
}

/***********/
/*左邊選單 (手風琴式)*/
#sfqclick {
	font-size: 1.25rem;
	width: 100%;
	padding: 0px 5px;
	padding-bottom: 5px;
	height: auto;
	position: relative;
	margin-bottom: 20px;
	height: auto;
}
	#sfqclick dt {
		cursor: pointer;
		position: relative;
		width: auto;
		padding: 5px;
		background-color: var(--primary);
		color: #FFF;
		border-top: 1px solid var(--secondary);
		padding-left: 25px;
	}
#sfqclick dt:nth-of-type(1){
    border-top: none;
}
#sfqclick dt a {
	color: #FFF;
	text-decoration: none;
	display: block;
}
#sfqclick .leftIco {
	background-image: url(../images/menuSpotLeft.png);
	background-repeat: no-repeat;
	background-position: 10px center;
}
#sfqclick .leftIco:hover, #sfqclick .bottomIco {
	color:#fff;
	background-color: var(--tertiary);
	background-image: url(../images/menuSpotDown.png);
	background-repeat: no-repeat;
	background-position: 10px center;
}
#sfqclick .leftIco:hover a{
	color: #fff;
}
#sfqclick dd {
	display: none;
}
#sfqclick dd a {
	display: block;
	background-color: #FFF;
	padding: 5px;
	color: #6d4814;
	text-decoration: none;
	padding-left: 25px;
	background-position: -5px bottom;
	background-repeat: no-repeat;
}
#sfqclick dd a:not(:last-child){
    background-image: url(../images/menuDD.jpg);
}
#sfqclick dd a:hover {
	color: #fff;
	text-decoration: none;
}

@media screen and (max-width: 991px) { 
#left {
	width: 100%;
	padding-left: 0;
    padding-right: 0;
}
#right {
	width: 100%;	
}
#sfqclick{
	background-color: var(--primary);
}
#sfqclick dt{
	width: 25%;
	float: left;
	border-top: none;
}
	#sfqclick::after{
		content: "";
		display: block;
		clear: both;
	}	
}
@media screen and (max-width: 575px) {
#sfqclick dt{
	width: 50%;
}		
}
@media screen and (max-width: 767px) {
#sfqclick dt{
	width: auto;
	
}	
}


.menuShadow {
	width: 210px;
	position: absolute;
	z-index: 100;
}
.menuShadow.top {
	height: 10px;
	top: 0;
	left: 0;
}
.menuShadow.down {
	height: 15px;
	bottom: 0;
	left: 0;
}
/*******/
.section {
	/*background-image: url(../images/sectionBg.png);
	background-repeat: no-repeat;
    background-position: center top 15px;*/
	min-height: 150px;
	height: auto !important;
	height: 150px;
	margin-bottom: 20px;
	clear: both;
    padding-top: 10px;
}
.section dt{
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
	padding: 1rem 0;
	border-bottom: 1px solid var(--secondary);
	margin-bottom: 1rem;
}
/*.section .dt1 {
	width: 10px;
	background-image: url(../images/dt1.png);
}
.section .dt2 {
	width: auto;
	background-image: url(../images/dt2.png);
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 40px;
	padding: 0 5px;
	color: #faf7f2;
	text-shadow: -1px -1px 1px rgba(0,0,0,0.5);
	;
}
.section .dt3 {
	width: 10px;
	background-image: url(../images/dt3.png);
}*/
.section dd {
	clear: both;
	padding: 1rem;
	font-size: 1.25rem;
}
.section dd a {
	color: var(--secondary);
	word-wrap: break-word;
}
.spot {
	background-image: url(../images/spot.png);
	background-repeat: no-repeat;
	background-position: left center;
    background-size: 1.5rem auto;
	text-indent: calc(1.5rem + .5rem);
	ont-size: 1.5rem;
}
.spottop {
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 20px; color:black;
}
.spot1 {background-image: url(../images/s1.png);}
.spot2 {background-image: url(../images/s2.png);}
.spot3 {
	background-image: url(../images/s3.png);
}
.spot4 {
	background-image: url(../images/s4.png);
}
.spot5 {
	background-image: url(../images/s5.png);
}
.spot6 {
	background-image: url(../images/s6.png);
}
.indent {
	padding-left: calc(1.5rem + .5rem);
	margin-bottom: 3rem;
}
.link {
	background-image: url(../images/link.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 22px;
	margin-bottom: 5px;
}
.linkImg {
	vertical-align: middle;
	margin-right: 5px;
}
.normalList li {
    margin-bottom: 1.25rem;
	padding-left: 1.25em;
	position: relative;
}
.normalList li:before{
	content: "";
	display: block;
	width: .5rem;
	height: .5rem; 
	border-radius: .5rem;
	position: absolute;
	top: calc((1em*var(--line-height) - .5rem)/2);
	left: calc((1.25em - .5rem)/2);
}
.normalList li:nth-child(3n-2):before{ 
	background-color: var(--tertiary);
}
.normalList li:nth-child(3n-1):before{ 
	background-color: var(--secondary);
}
.normalList li:nth-child(3n):before{ 
	background-color: var(--primary);
}
.normalList li ol li{
	list-style-type: circle;
	margin-bottom: 0;
	padding-left: 0;
}
.normalList li ol li:before{
	display: none;	
}
/*******/
.news tr {
	border-bottom: 1px dashed #999;
}
.news td {
	padding: 5px;
}
/**後台**************************************************/
/*登入頁*/
.login {
	width: 700px;
	height: 130px;
	margin: 55px auto;
	padding: 80px 0px;
	background-image:url(../images/loginBg.gif);
}
.loginTable {
	width: 300px;
	margin: 40px auto;
	font-size: 1.1rem;
}
.loginTable td {
	padding: 0px 0px
}
.loginTable table td {
	padding: 3px 0px;
}
.loginBtn {
	width: 70px;
	height: 70px;
	background: url(../images/loginBtn.png) 0px 0px;
	display: block;
	overflow: hidden;
	text-indent: -1000px;
}
.loginBtn:hover {
	background-position: -70px 0px;
}
.loginTable a {
	font-size: .9rem;
	color: #a70413;
	text-decoration:none;
}
.loginTable a:hover {
	text-decoration:underline;
}
/***註冊頁***********/
.register { background-image:url(../images/registerBg.jpg); background-repeat:no-repeat; padding-top:90px; width:700px; margin:0 auto;}
.register table td{ padding:5px 0px;}
.textfield {height:25px; width:150px; font-size:1.25rem;}
.button{ padding:5px 10px;}
/***內頁**********/
*#top .wrapper .subNav.Back {
	/*width: 160px;*/
}

.backTable1 {
	padding: 2px;
	background-image: url(../images/bgDark.jpg);
	position: relative;
}
.backTable1 table {
	width: 100%;
	padding: 1px;
	background-image: url(../images/bgLight.jpg);
}
.backTable1 table tr {
}
.backTable1 table th {
	padding: 5px;
	background-image: url(../images/bgDark.jpg);
}
.backTable1 table td {
	padding: 5px;
	border-bottom: 1px dashed #cec2b2;
	color: #333;
}
.backTable1 table tr:hover {
	background-image: url(../images/bgWhite.jpg);
}
.backTable1 table a {
	text-decoration: none;
}
.backTable1 table a:hover {
	text-decoration: underline;
}
.round {
	background-image: url(../images/round.png);
	width: 10px;
	height: 10px;
	position: absolute;
}
.round.TL {
	top: 0px;
	left: 0px;
	background-position: 0px 0px;
}
.round.TR {
	top: 0px;
	right: 0px;
	background-position: -10px 0px;
}
.round.BL {
	bottom: 0px;
	left: 0px;
	background-position: 0px -10px;
}
.round.BR {
	bottom: 0px;
	right: 0px;
	background-position: -10px -10px;
}
/*頁數*/
.page {
	text-align: center;
	padding: 8px 0px;
	font-size: .9rem;
}
.pagenumber1, .pagenumber2 {
	border: 1px solid #666;
	border-radius: 3px;
	-webkit-border-radius: 3px; /*for chrome*/
	-moz-border-radius: 3px; /*for firefox*/
	text-decoration: none;
}
.pagenumber1 {
	color: #FFF;
	background-color: #666;
	margin: 5px 2px 0px 2px;
	padding: 0px 5px;
}
.pagenumber2 {
	color: #666;
	margin: 5px 2px 0px 2px;
	padding: 0px 5px;
}
.pagenumber2:hover {
	background-color: #999;
	color: #FFF;
}
/*↓解決 因.section dd a 產生的顏色*/
.section dd .page a {
	color: #666;
}
.section dd .page a:hover {
	color: #FFF;
}
