﻿/* 通用 */
body {
	margin: 0;
}

span{
	font-family: Verdana;
}

h1{
	margin: 0 auto;
	text-align: center;
	font-family: Verdana;
}

a{
	font-family: Verdana;
	text-decoration: none;
	font-size: 13px;
}

a:hover{
	text-decoration: underline;
}


/* header */
header{
	min-width: 780px;
}

header .banner-top{
	width: 100%;
	background: url('./images/top_base.jpg'); 
}

header .banner-bottom{
	background-color:#790000;
}

header .banner-bottom .banner-bottom-wrapper{
	width: 780px; 
	margin: 0 auto; 
	display: flex; 
	justify-content: space-between;
	align-items: center; 
}

header .banner-bottom .banner-bottom-wrapper .links,
header .banner-bottom .banner-bottom-wrapper .links a{
	color:#fff;
}

h1 span.major{
	font-size: 48px;
	color: #fff;
	font-weight: bold;
	text-shadow: 0.1em 0.1em 0.2em #790000;
}

h1 span.sub{
	font-size: 23px;
	color: #790000;
	text-shadow: -1.5px 0 #fff, 0 1.5px #fff, 1.5px 0 #fff, 0 -1.5px #fff;
	transform: translate(0, -5px);
	display: block;
}

/* aside */
aside{
	min-width: 190px;
	width: 190px;
	height: 450px;
	position: sticky;
	top: 0px;
}


aside div.list-wrapper:not(:first-child){
	margin-top: 5px;
}

aside .list{
	border: 1px solid #6d0000;
	border-radius: 5px;
	display: flex;
	align-items: center;
	background: linear-gradient(to right, #fff 0%, #d68b8e 100%);
	box-shadow: 1px 1px 5px 1px rgb(155, 155, 155);
}

aside .list.active{
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

aside .list:hover{
	text-decoration: none;
}

aside .list .hint-triangle{
	margin: 0 10px;
	border-top: 9px solid black;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	transform-origin: center;
	transform: rotate(-90deg);
	transition: 0.2s linear;
}

aside .list.active .hint-triangle{
	transform: rotate(0deg);
}

aside .list .title{
	color: #790000;
	font-size: 16px;
	font-weight: bold;
	line-height: 33px;
}

aside .list:hover .title{
	color: black;
}

aside .list-content{
	border: 1px solid #6d0000;
	border-top: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	display: none;
}

aside .list.active ~.list-content{
	display: block;
}


aside .list-content .items{
	display: flex;
	align-items: center;
	padding: 5px 0 5px 10px;
	color: #555555;
}

aside .list-content .items:hover{
	text-decoration: none;
	color: #790000

}

aside .list-content a.items:not(:last-child){
	border-bottom: 1px dotted #990000;
}

aside .list-content span{
	margin-left: 12px;
}


/* footer */
footer{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 110px;
	margin-top: 11px;
	background-color: #5c5c5c;
	color: #fff;
	font-size: 13px;
	min-width: 760px;
}

footer a{
	color: #fff;
}

footer .footer-wrapper{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 760px;
	height: 100%;
	text-shadow: 1px 1px 0px rgb(0, 0, 0);
}

footer .left{
	width: 400px;
	height: 80%;
	padding-right: 50px;
	border-right: 1px solid #fff;
}

footer .left .upper{
	font-size: 22px;
	font-weight: bold;
}

footer .right{
	width: 360px;
	padding-left: 30px;
}

footer .right span:not(:first-child){
	display: block;
	margin-top: 10px;
}

footer .right span::before{
	content: " ";
	border-left: 10px solid #fff;
	margin-right: 5px;
}

/* go-top 按鈕 */
footer #go-top{
	width: 60px;
	height: 60px;
	position: fixed;
	bottom: 70px;
	right: 20px;
	font-size: 14px;
	font-weight: bold;
	line-height: 60px;
	text-align: center;
	color: #fff;
	text-shadow: none;
	border: 0;
	border-radius: 50%;
	background-color: goldenrod;
	transform-origin: center;
	transform: scale(0);
	transition: 0.5s ease-in-out;
}

footer #go-top.show{
	transform: scale(1);
}

footer #go-top:hover{
	cursor: pointer;
	/* background-color: #000000; */
	color: #000000;
}

/* 主要內容 */
.wrapper{
	min-width: 780px;
	display: flex;
	justify-content: center;
}

#brick-center{
	margin-left: 5px;
}


nav {
	display: block;
	width: 563px;
	font-size: 13px;
	line-height: 33px;
	margin-top: 5px;
	margin-left: 6px;
	padding-left: 15px;
	border-top: 1px solid #790000;
	border-bottom: 1px solid #790000;	
}

nav a, nav span{
	color: #790000;
}

nav.long-text a, nav.long-text span{
	font-size: 11.5px;
}

.content-zone{
	font-size: 13px;
	line-height: 20px;
	margin: 5px;	
}

.content-zone a{
	color:#0072BC;
}

.content-zone .content{
	width: 548px;
	min-height: 440px;
	font-family: Verdana;
	padding: 15px;
	border: 1px solid #790000;
}

.content-zone .content table{
	width: 100%;
	border: 1px solid #790000;
	border-collapse: collapse;
}

/* 憑證簽發量統計 02-03.html */
.content-zone .content table.date-insert{
	margin: 20px 0;
}

.content-zone .content table.date-insert tr td:first-child{
	text-align: center;
	padding: 10px 15px;
}

.content-zone .content table.date-insert~div{
	text-align: center;
}

.content-zone .content table.date-insert~div input{
	width: 120px;
	margin-right: 10px;
	cursor: pointer;
}

/* 舊憑證簽發量統計結果 oldstatistics.html */
.content-zone .content table.old-statistics thead th:nth-child(1){
	width: 40%;
}

.content-zone .content table.old-statistics thead th:nth-child(2){
	width: 40%;
}

.content-zone .content .go-back{
	text-align: center;	

}

.content-zone .content .go-back a button{
	cursor: pointer;
}


/* 我要申請IC卡類憑證 03-01.html */
.content-zone .content .selection-zone{
	width: 45%;
	margin: 0 auto;
}

.content-zone .content .agreement-zone{
	width: 45%;
	margin: 20px auto;
	text-align: center;
}

.content-zone .content .selection-zone label,
.content-zone .content .agreement-zone label{
	vertical-align: text-bottom;
}

.content-zone .content .next-btn{
	width: 50%;
	display: block;
	margin: 0 auto;
	text-align: center;
	line-height: 30px;
	cursor: pointer;
}

/* 我要申請政府機關單位測試憑證 gtestca/TestCAForGov.htm */
.content-zone .content .selection-zone.TestCAForGov{
	width: 100%;
}

.content-zone .content .selection-zone.TestCAForGov table th{
	border: 1px solid #790000;
}


.content-zone .content table.TestCAForGov th:nth-child(1),
.content-zone .content table.DNForm th:nth-child(1),
.content-zone .content table.ExtraForm th:nth-child(1){
	width: 159px;
}

/* 鎖卡解碼/重設PIN碼 06-03.html*/
.content-zone .content table.reset{
	font-size: 13px;
}

.content-zone .content table.reset tbody th{
	padding-left: 10px;
	text-align: left;
	width: 30%;
	line-height: 25px;
}




.content-zone .content table:not(:first-child){
	margin-top: 30px;
}

.content-zone .content table caption{
	text-align: left;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 5px;
}


.content-zone .content table caption::before{
	content: " ";
	border-left: 8px solid #790000;
	margin-right: 5px;
}

.content-zone .content table thead{
	background-color: #F7C9C9;
}

.content-zone .content table thead tr th{
	border: 1px solid #790000;
}

.content-zone .content table thead tr th:nth-child(1){
	width: 25%;
}

.content-zone .content table thead tr th:nth-child(2){
	width: 60%;
}

.content-zone .content table tbody td{
	padding: 2px 5px;
}

.content-zone .content table tbody .download{
	text-align: center;
}

.content-zone .content table tbody th, 
.content-zone .content table tbody td{
	border: 1px solid #790000;
}


.sr-only {
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
	overflow: hidden;
	border: 0; 
	z-index: 1000000;
	color: #333;
	font-weight: bold;
}

.sr-only:active,.sr-only:focus {
	padding: 0.4rem;
	width: auto;
	height: auto;
	overflow: visible;
	background-color: #ffffff9f;
}

.content-zone .content p .bulletin{
	display: block;
}

.content-zone .content p .bulletin::before{
	content: " ";
	border-right: 8px solid #790000;
	margin-right: 5px;
}

.content-zone .content ol li{
	margin-bottom: 10px;
}

.content-zone .content ol li > ol {
	list-style-type: none;
}

.content-zone .content ol li > ol li:nth-child(1)::before{
	content: "(1)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(2)::before{
	content: "(2)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(3)::before{
	content: "(3)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(4)::before{
	content: "(4)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(5)::before{
	content: "(5)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(6)::before{
	content: "(6)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li:nth-child(7)::before{
	content: "(7)";
	position: absolute;
	transform: translateX(-25px);
}

.content-zone .content ol li > ol li.title-red:nth-child(1)::before,
.content-zone .content ol li > ol li.title-red:nth-child(2)::before{
	color: red;
}

/* 憑證IC卡使用說明 06-01.html */
.content-zone .content section:not(:first-child){
	margin-top: 20px;
}

.content-zone .content section .section-title{
	font-size: 14px;
	line-height: 30px;
	color: #683B1D;
	font-weight: bold;
	border-bottom: 1px solid #683B1D;
}

.content-zone .content section .section-title::before{
	content: " ";
	display: inline-block;
	margin-right: 5px;
	width: 10px;
	height: 10px;
	transform: translateY(4px);
	border: 5px solid orangered;
	border-radius: 50%;
}

.content-zone .content section p {
	padding: 10px;
	margin: 0;
}

/* 網站導覽 sitemap.html */
.content-zone .content ol .section-title.sitemap{
	margin: 30px 0;	
}

.content-zone .content ol .section-title.sitemap::marker {
	display: inline-block;
	color: #333;
	font-size: 18px;
	font-weight: bold;
}

.content-zone .content .section-title.sitemap span{
	display: inline-block;
	width: 95%;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	padding: 5px 0 5px 10px;
	background-image: linear-gradient(45deg, rgb(109, 108, 108) 0%, #ffffff 100%);
	margin-bottom: 10px;
	border-top: 1px solid lightgray;
	border-bottom: 1px solid lightgray;
}


/* GTestCA發展套件標準版 08-01.html*/
.content-zone .content section .product{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

/*憑證作業相關問題 09-01.html*/
.content-zone .content.Q-list ul li{
	line-height: 30px;
}

.content-zone .content.Q-list ul li b{
	margin-right: 5px;
}

/* 問答集 09-01-XX.html*/
.content-zone .content.QA ul{
	padding-inline-start: 20px;
}

.content-zone .content.QA ul li{
	position: relative;
	list-style-type: none;
	margin: 10px 0;
}

.content-zone .content.QA .QA-title a{
	text-decoration: none;
	display: flex;
	align-items: flex-start;
	width: fit-content;
}

.content-zone .content.QA .QA-title .hint-triangle{
	margin-right: 10px;
	border-top: 9px solid black;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	transform-origin: center;
	transform: rotate(-90deg);
	transition: 0.2s linear;
	display: inline-block;
}
	
.content-zone .content.QA .QA-title.active .hint-triangle{
	transform: rotate(0deg);
}

.content-zone .content.QA .QA-title .list-order{
	color: black;
	font-weight: bold;
	margin-right: 10px;
	display: flex;
	align-items: center;
}

.content-zone .content.QA .answer{
	margin-top: 5px;
	padding: 7px;
	border: 1px solid lightgray;
	background-color: #EEFFAA;
	display: none;
}

.content-zone .content.QA .QA-title.active ~ .answer{
	display: block;
}


.content-zone .content.QA .answer .cards{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

.content-zone .content.QA .answer .cards span::before{
	content: " ";
	display: inline-block;
	margin-left: 20px;
	border-top: 15px solid rgb(255, 166, 0);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	transform-origin: center;
	transform: rotate(90deg);
}

.content-zone .content.QA .answer ol li{
	list-style-type: decimal;
}

.content-zone .content.QA .answer ol li ol li{
	list-style-type: none;
}


/* 著作權聲明 c.html */
.content-zone .content.copyright ul li{
	margin-bottom: 15px;
}



/*無障礙tab時提示邊框*/
@keyframes accessible-hint {
	0%{
		outline: 3px dotted red;
	}
	50%{
		outline: 3px dotted transparent;
	}
}

a:focus, button:focus, input:focus, select:focus, textarea:focus{ 
	outline: 3px dotted red;
	animation-name: accessible-hint;
	animation-duration: 1.8s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

/* 不支援JavaScript時, <noscript>內容之css */
.not-support-javascript{
	position: absolute;
	z-index: 200;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: 0.8;
}

.not-support-javascript p{
	position: fixed;
	top: 50vh;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	text-align: center;
	color: #fff;
	font-size: medium;
	line-height: 30px;
}












.word_conduct_c {
	font-family: "新細明體";
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
}
.word_conduct_c a:link {
	font-family: "新細明體";
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
	text-decoration: none;
}
.word_conduct_c a:visited {
	font-family: "新細明體";
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
	text-decoration: none;
}
.word_conduct_c a:hover {
	font-family: "新細明體";
	font-size: 12px;
	line-height: 14px;
	color: #790000;
	text-decoration: underline;
}
.word_top_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #FFFFFF;
}
.word_top_c a:link {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #FFFFFF;
	text-decoration: none;
}
.word_top_c a:visited {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #FFFFFF;
	text-decoration: none;
}
.word_top_c a:hover {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #FFFFFF;
	text-decoration: underline;
}
.word_navigation_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #555555;
}
.word_navigation_c a:link {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #555555;
	text-decoration: none;
}
.word_navigation_c a:visited {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #555555;
	text-decoration: none;
}
.word_navigation_c a:hover {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #990000;
	text-decoration: none;
}
.word_list_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #790000;
}
.word_list_c a:link {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #790000;
	text-decoration: none;
}
.word_list_c a:visited {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #790000;
	text-decoration: none;
}
.word_list_c a:hover {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: 790000;
	text-decoration: underline;
}
.word_12_c {
	font-family: "新細明體";
	font-size: 12px;
	line-height: 20px;
}
.word_13_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #000000;
}
.word_13_c a:link {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #0072BC;
	text-decoration: underline;
}
.word_13_c a:visited {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #0072BC;
	text-decoration: underline;
}
.word_13_c a:hover {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #0072BC;
	text-decoration: underline;
}
.word_13_red_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #ED1C24;
}
.word_13_brown_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #993300;
}
.word_13_orange_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #FF6600;
}
.word_13_heading_c {
	font-family: "新細明體";
	font-size: 13px;
	line-height: 20px;
	color: #000000;
	font-weight: bold;
}
.word_15_heading_c {
	font-family: "新細明體";
	font-size: 15px;
	line-height: 20px;
	color: #683B1D;
	font-weight: bold;
}
.black_overlay{
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}
.white_content {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right:0;
	bottom:0;
	width: 320px;
	height: 35px;
	padding: 16px;
	border: 3px solid gray;
	background-color: white;
	z-index:1002;
	margin:auto;
	text-align:center;
}
.msg_box{
	display:none;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:300px;
	height:60px;
	padding: 10px;
	border:3px solid #ff9900;
	background-color:#FFDDAA;
	margin:auto;
	text-align:center;	
	line-height:30px;
}

#menu {
	background-color:#EEFFAA; 
}


.q_title{
	font-size: 13px;
	vertical-align: top;
	color: #0072BC;
	text-decoration: underline;
	cursor: pointer;
}