body {
	height: 100%;
	background: #FFF;
	font-family:  Arial, "MyFont", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "MyFont", "標楷體", DFKai-SB, sans-serif;
	margin: 0 auto;
	font-size: calc(100% - 1px) !important;
}

/* 解決basicinfo過來的亂碼問題 */
@font-face {
	font-family: MyFont;
	src: url('font.tte');
}

img {
	max-width: 100%;
}
#menu {
	top: 0px;
	margin: 0 auto;
	margin-left: 0px auto;
	z-index: 1;
}
#body{
	display: block;
	  overflow: hidden;
	  width: auto;
}
#content {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-right: 20px;
}
#btn_menu {
	float: left;
	cursor:pointer;
}
h1 {
	min-height:66px;
	margin-left:auto; 
	margin-right:0;
	color: #000;
	position: relative;
	font-size: 2em;
	width: 481px;
	margin-top: 20px;
	margin-bottom: 15px;
	padding-left: 110px;
	padding-right: 10px;
	padding-top: 20px;
	text-align: left;
	background-image: url("../images/h1.png");
	background-color:#efefef;
	background-repeat: no-repeat;  
	color: #1b76b3;
	font-weight:bold;
}


h2 {
	text-align: center;
	font-size: 18px;
	text-shadow: 2px 2px 2px #CCCCCC;
}

h5 {
	text-align: center;
}

#floater {
	float: left;
	margin-bottom: -50px;
	width: 1px; /* only for IE7 */
}

#middle {
	clear: both;
	height: 400px;
	position: relative;
}


#choice {
	width: 550px;
	padding: 1em 2em 0 2em;
	font-size: 14px;
}



.error{
	color:red;
	font-weight: bold;
}

.spanRed {
	color: red;
}

th{
	background-color:#92D5E6; 
	color:#333; 
	text-align: center;
}

.contents {
	min-height: 500px;
}

.lang a {
	color: white;
}

.lang a:hover {
	color: #666;
}

#basicinfo {
	width: 100%;
}

#basicinfo > #sidebar {
	width: 230px;
	float: left;
}

#basicinfo > #main {
	float: left;
}

.suggestor {
	position: absolute; cursor: default; z-index:999;
}

.banner_head{
	padding: 0px;
	background-color: #E8E4E3;
}

footer { 
	text-align: right; 
	color: #666
}

.contents { 
	margin-left: 20px; 
	margin-right: 20px;
}

.beautifulGt { 
	font-weight: bold; 
	font-family: "Arial Black"; 
	color: #888; 
	font-size: 13px; 
}

/*
	讓網頁下拉後，可以讓選單凍頂
*/
.fixed-strip {
	position: fixed !important; 
	top: 0;
	right: 0;
	left: 0;
	z-index: 9999;
	-webkit-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
/* 所有表單分頁強制置中 */
.pagination {
	justify-content: center;
	margin: 20px;
}
/* 所有表單分頁數字及底色 */
.pagination>li>a, .pagination>li>span{
	color: #337ab7;
}
.page-item.active .page-link {
	background-color: #337ab7;
	border-color: #337ab7;
}
/* 所有表單分頁數字及底色 */
.page-item.disabled .page-link {
    background-color: transparent !important; 
}
th{
	background-color:#92D5E6 !important;
	color:#333;
	text-align: center;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
	border: 1px solid #ddd;
}

.btn.btn-primary{
	color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
	font-size:14px;
	white-space:nowrap;
}

/*公用按鈕的屬性影響到文字編輯器按鈕的解決方式*/
.tox-editor-container .btn.btn-primary {
	color: #212529; 
	background-color: #f8f9fa; 
	border-color: #ced4da;
	font-size: 14px; 
	white-space: normal;
}

a {
	text-decoration: none;
	color:#337ab7;
}
.q-style{
	font-size: 16px; 
	font-weight: bold; 
	text-align: center;  
	width:80%; 
	margin-top:10px; 
	margin-bottom:10px; 
	margin-left:25px; 
	background-color: #0080FF;
	border-radius: 5px;
	line-height: 3rem;
}
.panel-warning>.panel-heading{
	margin-bottom:10px;
	font-size: 20px;
    font-weight: bold;
	padding: 10px;
	color: #8a6d3b;
	background-color: #fcf8e3;
	border-color: #faebcc;
}
.panel-success>.panel-heading{
	color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
	margin-bottom:10px; 
	padding:10px;
}
.rounded-pill{
	border-radius: 5px !important;
}

/*彈跳出視窗X位置跑版及樣式*/
.modal-header {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    position: relative; 
    padding: 20px !important;
}

.modal-header .close {
    position: absolute;
    right: 10px;  
    top: 50%;
    transform: translateY(-50%); 
    font-size: 1rem; 
    padding: 0;
    border: none; 
    background: transparent; 
    font-weight: bold; 
}

.modal-header .close span {
    display: inline-block;
    transform: scale(1.5); 
	padding-right:10px;
    color: #919090;
}
.btn.btn-colorful{
    color: #337ab7 !important;
    text-decoration: none;
	font-size:14px;
}
.btn.btn-colorful.btn-primary{
	color:#fff!important;
}
/*認抵統計表學年度置中*/
select.form-control[name="sys_year"] {
	display: inline-flex !important;
	align-items: center;
}
/*解決下拉式選單往下箭頭消失的問題*/
select {
	appearance: auto !important;
}

/*常見問題及下載資源專區*/
.qa-card {
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	margin-bottom: 20px;
	overflow: hidden;
	transition: transform 0.2s;
}
.qa-card:hover {
	transform: scale(1.01);
}
.qa-question {
	background-color: #34495e;
	color: #fff;
	padding: 15px;
	font-size: 18px;
	font-weight: bold;
}
.qa-answer {
	background-color: #ecf0f1;
	color: #2c3e50;
	padding: 15px;
	font-size: 16px;
	line-height: 1.6;
}
.sidebar {
	background-color: #f8f9fa;
	padding: 15px;
	border-radius: 10px;
	margin-top: 53px;
}
.sidebar a {
	display: block;
	background-color: #66a2bd;
	color: #fff;
	text-align: center;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s;
}
.sidebar a:hover {
	background-color: #2980b9;
}

.q-title {
	font-family: 'Segoe UI', sans-serif;
	font-size: 36px;
	color: #4A90E2;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	letter-spacing: 2px;
	text-align: center;
	letter-spacing: 20px;
}

.home-marker {
	margin-left: 10px; 
	margin-top: 10px !important;
}
.home-marker.logged-in {
	margin-top: 20px !important;
}
/*header CSS*/
.custom-navbar-bg {
	position: relative;
	overflow: hidden;
}

.background-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image: url('../images/header.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	min-height: 100px;
}
.header-between{
	width: 80%;
}
  @media (max-width: 768px) {
	.header-between{
	  width: auto;
	}
  }
@media (max-width: 991px) {
	.container-fluid.home-marker .contents{
		padding-top:20px;
	}
}

.fixed-width {
    width: 100% !important;
  }