/****** General Styles ******/
.center{
	margin: 0 auto;
	text-align: center;
}
body {
	font-size: 16px;
	font-family: Tahoma, Arial;
	background-color:#ece8d4;
	margin: 0;
	color:#fff;
	padding: 0;
	text-align: center;
}
* html body{
	width: 100%;
	overflow-x: hidden;
}
td{
	word-break: break-all;
}
a {
	text-decoration: none;
	color:#333;
}
a:hover {
	text-decoration: none;
	color:#444;
}
hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #333;
}
acronym {
	text-decoration: none;
	border-bottom: 1px dotted #333;
	cursor: help;
}
/****** Form Controls Styles ******/
form {
	display: inline;
}
input {
	font-family: Tahoma, Arial; 
	font-size: 12px; 
}
input.text {
	background: #fff;
	border: 0px solid #A9DBF6;
	text-align:left;
	margin:2px;
    width:130PX;height:99%;
    border-top-style:none;
    border-right-style:none;
    border-left-style:none;
    background-color: #FFFF00;
    border-bottom-style: none;

}
input.button {
	background: #fff;
	border: 1px solid #A9DBF6;
}
textarea { 
	background:yellow;
	border: 0px solid #A9DBF6;
	font-size:10pt;
	width:100%;
	height:150px;
	padding:10px;
}
.formbox-comment-content{
	width:400px;
	font-size:10pt;
}
select { 
	background: #fff;
	border: 1px solid #A9DBF6;
}
/****** Main Layout Styles ******/
#wrapper {
	margin:0 auto;
	width: 950px;
	text-align: left;
	background-color:#000;
}
#innerWrapper {
}
#header {
}
#innerHeader {
	height: 152px;
	background: url('images/HEAD_01.jpg') no-repeat;
}
#footer {
	/*border: 1px solid #000;*/
	clear: both;
	height: 54px;
	background-color:#000;
}
#footer a{
	color:#fff;
}
#innerFooter {
	padding: 10px;
	font-size: 12px;
	text-align: left;
	color:#999;
	
}
/****** Header Elements Styles ******/
/* nav menu */
#menu {
	margin-left:410px;
}
#menu a{

}
#menu a:hover, #menu .activepage a {

}
.main-table{}
.sidebar-table{
vertical-align: top;
}
.content-table{
vertical-align: top;
}
/****** Content Layout ******/
#mainWrapper {

}
/* sidebar */
.sidebar {
	width:210px;
}
#innerSidebar {
	/* border: 1px solid #9EC9FF;*/
}
/* content */
.content {
	width: auto;
}
#innerContent {
	margin-left: 0;
	overflow: hidden;
}

/* a style which makes mainWrapper touch the bottom of sidebar and content */
.clear{
	border-top:1px solid transparent !important;
	margin-top:-1px !important;
	border-top:0;
	margin-top:0;
	clear:both;
	visibility:hidden;
}
/****** Sidebar Panels ******/
.panel{
	padding-top:20px;
}
.panel h5 {
	text-align: left;
	color:#F0F4C9;
	font-size: 10pt;
	font-weight: bold;
	cursor: pointer;
	letter-spacing: 1.5pt;
	padding: 0;
	margin: 0px;
	margin-bottom: 4px;
}
.panel h5 a{
	color:#fff;
}
.panel-content{
	font-size:14px;
	width: 85%;
	margin:0;
	margin-top: 0px;
	margin-bottom: 0x;
	line-height: 130%;
	color:#FFFFCC;
}
.panel-content a{
 	color:#FFFF66;
}
.panel-content a:hover {
 	color:#fff;
}
.panel-content ul{
	padding: 1px;
	margin: 0px;
	margin-left: 2px;
}
.panel-content li{
	padding: 0px;
	margin: 0px;
	list-style: none;
	border-bottom: 1px solid #D3E7FC;
}
.panel-content li.indent{
	padding: 0px;
	background-image: url("images/list.gif");
	background-repeat: no-repeat;
	text-indent: 15px;
}
/* user panel login form */
#loginForm {
	width: 95%;
}
/* calendar panel */
#calendar {
  width: 100%; 
  margin-top:1px;
}
.calendar-top {
  text-align: center;
  padding:0px;
}
.calendar-year,
.calendar-month {
  font-weight: bold;
}
.calendar-weekdays {
  color:#999;
  font-size:11px;
  text-align: center;
  width: 14%;
  padding:0px;
}
.calendar-weekday-cell {
  color:#fff;
  font-size:11px;
  text-align: center;
  width: 14%;
  padding:0px;
  font-weight: bold;
}
.calendar-main {
  background: #fff;
}
.calendar-day,
.calendar-day-blank,
.calendar-saturday,
.calendar-sunday,
.calendar-today{
  text-align: center;
  width: 14%;
  padding:0px;
}
.calendar-saturday,
.calendar-sunday {
  color:#0D80BD; 
}
.calendar-today { 
  color:#fff;
  border: 1px solid #0D80BD;
}
.calendar-day a, .calendar-saturday a, .calendar-sunday a {
  color:#0D80BD; 
  text-decoration: underline;
}
.calendar-today a {
  color:#0D80BD;
  text-decoration: underline;
}
/* page links */
.pages {
	color:#3F68A6;
	padding: 3px;
	text-align: right;
}
.pagelink-current {
	font-weight: bold;
}
.listbox {
	padding-top: 5px;
	padding-bottom: 5px;
}
.listbox-table {
	width: 99%;
}
.listbox-header {
	font-weight: bold;
	text-align: center;
	background-color:#A9DBF6;
	color:#333;
	height: 25px;
}
.listbox-entry {
	word-wrap: break-all;
	border-bottom: 1px solid #A9DBF6;
}
.listbox-entry a{
	word-wrap: break-all;
}
/* entry display box */
.prev-article{ float: left; }
.next-article{ float: right; }
/* text box */
.textbox{
	padding-bottom: 25px;
	margin-bottom: 5px;
	clear: both;
	background-position: 50px 20px;
}
.textbox-calendar {
	width: 280px;
	text-align: left;
}
.textbox-calendar-pubtime{}
.textbox-calendar-starttime{}
.textbox-calendar-endtime{}
.textbox-calendar-teatime{}
.textbox-title{
	font-size: 16px;
	height: 68px;
	margin-left: 5px;
}
.textbox-title h4{
	color:#0D80BD;
	font-size: 16px;
	padding: 5px;
	display: inline;
	font-weight: bold;
}
.textbox-title h4 a {
	font-weight: bold;
	color:#0D80BD;
}
.textbox-bottom li a {
	font-weight: bold;
	color:#0D80BD;
}
.textbox-label{
	padding-top: 10px;
	padding-left: 15px;
	font-size: 12px;
	text-indent: 29px;
}
*+html .textbox-label{
	text-indent: 15px;
}
* html .textbox-label{
	text-indent: 15px;
}
/* 內文資料 */
.textbox-content{
	clear: both;
	word-wrap: break-word;
	padding: 5px;
	font-size: 14px;
	line-height: 139%;
}
/* 底層資料 */
.textbox-bottom{
	padding: 0px;
	padding-top: 3px;
	padding-bottom: 1px;
	font-size: 10px;
	color:#fff;
	text-align: left;
}
.textbox-bottom a {
	font-size:10pt;
	color:#000;
	text-decoration: none;
}
.textbox-bottom a:hover {
	color:#000;
	text-decoration: none;
}
/* 其他資訊 */
.about-other{
	border-left: 0px solid #333;
	margin: 10px;
	background:#303030;
}
.about-other div{
	border-bottom: 2px solid #BEE6FD;
	padding: 5px;
	font-weight: bold;
}
.about-other span{
	
}
/* comments wrapper */
.comment-wrapper{
}
#addnew{
	width:400px;
}
/* comments top box */
.comment-top{
	padding:5px;
	padding-top: 0px;
	margin: 5px;
	color:#fff;
	text-align: right;
}
.comment-pages{
	font-size:10pt;
	width:400px;
	padding:5px;
	margin: 0px;
	color:#fff;
}
/* commnet box */
.commentbox, .trackbackbox {
	width:500px;
	word-wrap: break-word;
	padding: 0px;
	margin: 0px;
}
.commentbox-odd {
	width:600px;
	background: #404040;
	border-top: 1px solid #A9DBF6;
}
.commentbox-couple {
	background: #202020;
	border-top: 0px solid #A9DBF6;
}
.trackbackbox {
	background: #E9FDF1;
	border-top: 1px solid #A9DBF6;
}
.commentbox-title, .trackbackbox-title{
	padding: 5px;
	font-size: 14px;
	color:#0D80BD;
}
.commentbox-title a, .trackbackbox-title a{
 	color:#0D80BD;
	font-weight: bold;
}
.commentbox-label, .trackbackbox-label{
	display: block;
	color:#fff;
	font-size: 12px;
}
.commentbox-label a, .trackbackbox-label a{
	font-weight: normal;
}
.commentbox-content, .trackbackbox-content{
	padding: 3px;
	padding-bottom: 14px;
}
/* comment form wrapper */
#commentForm {
	width: 100%;
}
/****** normal message box ******/
.messagebox{
 width: 550px;
 margin-top: 120px;
 border: 1px solid #A9DBF6; 
 border-top: 0px; 
 text-align: center; 
 background-color:#A9DBF6;
}
.messagebox-title{
 color:#000; 
 font-weight: bold; 
 padding: 5px;
}
.messagebox-content{
 color:#000; 
 background:#fff;
 padding: 10px; 
 padding-bottom: 20px; 
 text-align: left;
}
.messagebox-bottom{
 color:#000; 
 background-color:#E6EEF7; 
 padding: 5px;
}
/****** Input Form Styles (table) ******/
.formbox{}
.formbox-comment{
	padding-top: 10px;
	border-top: 10px solid #BEE6FD;
}
.formbox-title,
.formbox-comment-title{
	color:#fff;
	font-weight: bold;
	font-size: 14px;
}
.formbox-rowheader {
	padding: 5px;
	font-weight: bold;
}
.formbox-content {
	padding: 5px;
}
/* smilies list */
.panel-smilies {
	padding:5px;
	text-align: center;
}
.panel-smilies-title {
	color:#fff;
	text-align: left;
	border-bottom: 1px solid #BFCAD2;
}
.panel-smilies-content {
	padding: 5px;
	line-height: 120%;
}
/****** UBB Code Custom Styles ******/
/* IE fix for ul */
.code {
	word-wrap: break-all;
	border-left: 4px solid #BEE6FD;
	background-color:#FBFEFF;
	color:#000;
	margin: 5px;
	padding: 10px;
}
.quote {
	border-left: 0px solid #333;
	margin: 10px;
	background:#303030;
}
.quote-title {
	border-bottom: 2px solid #BEE6FD;
	padding: 5px;
	font-weight: bold;
}
.quote-title img {
	padding-right: 3px;
	margin-bottom: -4px;
}
.quote-content {
	word-wrap: break-all;
	color:#FFF;
	padding: 10px; 
	border: 1px solid #BEE6FD;
	border-top: 0px;
}
/****** Link ******/
.linkover {
	margin-bottom: 20px;
	height: auto;
	clear: both;
}
.linkbody {
	float: left;
	padding-bottom: 14px;
}
.linkimg {
/*	width: 35%;*/
	float: left;
	text-align: right;
	margin-right: 4px;
}
.linktxt {
	float: left;
}
.linktitle a {
	font-weight: bold;
}
.linkgroup {
	font-weight: bold;
	font-size: 14px;
	color:#0D80BD;
	text-indent: 3px;
}
/*Page*/
.pagebox {
	padding-bottom: 25px;
	margin-bottom: 5px;
	clear: both;
}
.pagebox-title{
	font-size: 16px;
	height: 68px;
	margin-left: 5px;
}
.pagebox-title h4{
	color:#0D80BD;
	font-size: 16px;
	padding: 0;
	margin: 0;
	display: block;
	border-bottom: 3px solid #BEE6FD;
	font-weight: bold;
}
.pagebox-content{
	margin-top: -30px;
	clear: both;
	word-wrap: break-word;
	padding: 0;
	font-size: 14px;
	line-height: 120%;
}
/* Emot Page Selection */
#smileybuttons {
	text-align: right;
	margin-top: 9px;
}
.smileybut {
	margin-right:3px;
	padding: 3px;
	vertical-align: middle;
	font-weight: bold;
}
.smileybut  a{
	border: 1px solid #BEE6FD;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */ 