/*
Theme name: TMITRAIL - edit form Wordpress Default -
Theme URI: http://wordpress.org/
Version: 1.0
Author: lawchen
Author URI: http://alawchen.com
*/

/* Reset*/

html, body, div, span, iframe, table, tbody, tfoot, thead, tr, th, td,
em, font, img, small, strong,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, acronym, address, big, cite, code,
dl, dt, dd, ol, ul, li, fieldset, form {
   vertical-align: baseline;
   font-weight: normal;
   font-style: inherit;
   outline: 0;
   padding: 0;
   margin: 0;
   border: 0;
   list-style:none;
   line-height:150%;
}

a {
   text-decoration:none;
}
a:link {
   color:#3366FF;
}

a:visited {
   color:#3366FF;
}

a:hover {
   color:#CC3333;
}

a img {
  border-width:0;

}

strong {
   font-weight:bold;
}

/* Layout */
body {
   background:url(images/bk.gif);
   *padding-bottom:20px;
   _padding-bottom:20px;
   text-align:center;
	}

#or-body {
   background:url(images/or-bk.gif);
}

#page {
   margin:20px auto;
   padding:0;
   width:900px;
   font-size: 13px;
   background:#fff;
   text-align:left;
	}

#or-page {
   margin:20px auto;
   padding:0;
   width:900px;
   font-size: 13px;
   background:#fff;
   text-align:left;
	}

#index-page {
   margin:40px auto;
   margin-top:0px;
   padding:0;
   width:900px;
   font-size: 13px;
   background:#fff;
   text-align:left;
	}

.top-news {
   color: #666;
   font-size: 12px;
   margin: 0 0 15px 0; 
}

.top-news img {
   width: 400px;
}

#header {
   height:200px;
   border-bottom:1px solid #999;
   padding:20px 27px;
   _padding-bottom:0px;
   background:url(images/upbar04.jpg) no-repeat;
	}


#or-header {
   height:200px;
   border-bottom:1px solid #999;
   padding:20px 27px;
   _padding-bottom:0px;
    background:url(images/or-upbar.jpg) no-repeat;
	}

#tp-header {
   height:200px;
   border-bottom:1px solid #999;
   padding:20px 27px;
   _padding-bottom:0px;
   background: url(images/tp-banner-2.jpg) no-repeat;
	}

#bi-header {
   height:200px;
   border-bottom:1px solid #999;
   padding:20px 27px;
   _padding-bottom:0px;
   background: url(images/bike-banner.jpg) no-repeat;
	}

#headerinner h1 {
   display:none;
	}

#content {
   width:590px;
   padding:0 10px;
   font-size:15px;                  
	}

#or-content {
   width:880px;
   padding:0px 10px;
	}

#sidebar {
   float:right;
   width:250px;
   _width:240px;
   border-left:1px dashed #ccc;
   padding:0 15px;
   background:url(images/bk2.gif);
}

#footer {
   clear:both;
   height:151px;
   border-top:1px #999 dashed;
   background:url(images/downbar05.jpg) no-repeat;
	}

#footer p {
   margin:25px 0 0 65px;
   color:#999;
   font-size:12px;
}


#or-footer, #tp-footer,#bi-footer {
   clear:both;
   height:151px;
   border-top:1px #fff dashed;
	}

#or-footer {
   background:url(images/or-downbar.jpg) no-repeat;
}

#tp-footer {
   background:url(images/downbar0130_5.jpg) no-repeat;
	}

#bi-footer {
   background:url(images/bike-downbar.jpg) no-repeat;
	}

#or-footer p, #tp-footer p,#bi-footer p {
/*   margin:50px 0 0 65px;*/
/*   _margin:0px 0 0 0px;*/
   margin:25px 0 0 65px;
/*   padding:27px 0 0 0;*/
   color:#333;
   font-size:12px;
}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
   font-size: 13px;	
	}

/* Head*/

h1 {

	}

#or-headerinner h1, #tp-headerinner h1, #bi-headerinner h1 {
   font-size: 20px;
   display:none;
	}

#headerinner .description {
	text-align: center;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
   text-decoration:none;
	}

#navbar {
   margin-top:200px;
   *margin-top:220px;
}

.login {
   float:right;
   border:1px solid #ccc;
   background:#fff;
   padding:0 10px;
   margin:0 10px;
   font-size:13px;
}

ul #nav {

}

#nav li {
   float:left;
   margin-left:0px;
   color:#999;
}

/* Content */

.breadcrumb {
   margin:10px 0 0 30px;;
   color:#666;
   font-size: 11px;	
   _font-size: 10px;	
}

.post {
   margin:15px 0;
	text-align: justify;
}

.post h2 {
   margin:10px 0;
   font-size:20px;
	}

h2.pagetitle {
   margin-top:15px;
   text-align:center;
   font-size:20px;
}

h3.date-header {
	font-size: 14px;
	}

.entry {
   margin:15px 0;
   padding:0 0 15px 10px;
   border-bottom:1px dashed #ccc;;
}

#or-content .entry {
   border:none;
   padding:0 15px;
}

.entry ul {

}

.entry ol li {
   list-style:decimal;
   margin-left:30px;
}

.entry ol ol li {
   list-style:upper-roman;
   margin-left:30px;
}

.entry ol ol ol li {
   list-style:lower-roman;
   margin-left:30px;
}

.entry ul li {
   list-style:square;
   margin-left:30px;
}

.entry p {
   margin:12px 0;
   letter-spacing:1px;
}

#content .entry img {
   /*border:8px #333 solid;*/
	max-width: 580px;
   width: expression(document.body.clientWidth > 580? "580px": "auto" );	
	text-align:center;
	}

#content .entry table {
	max-width: 580px;
   width: expression(document.body.clientWidth > 580? "580px": "auto" );	
	}


.entry table td {
   padding:1px 8px;
	}

.entry hr {
   display:block;
   border-top:1px dashed #ccc;
   border-bottom:0;
   border-left:0;
   border-right:0;
   margin:15px 0;
}

.postmetadata small {
   color:#666;
   font-size:11px;
	font-family: Arial, Helvetica, Sans-Serif;
	line-height: 1.5em;
	}

/* Comments */

h3#comments {
   margin:10px 0;
}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

#respond {
   border-top:1px solid #ccc;
   padding-top:20px;
}

#commentform {
   background:url(images/c_bg.gif);
   padding:10px;
   margin:10px 0;
}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
   margin:10px 0;
	}

.commentlist li {
	font-weight: bold;
   padding:10px;	
   border-top:1px solid #ccc;
	}

.commentlist li .avatar {
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style:normal;
	font-size: 14px;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	margin: 14px 0;
	}


.commentmetadata {
	font-weight: normal;
	font-size:10px;
	color:#999;
	}

.comment-body {
   margin:10px 10px;
   word-break:break-all;
}

li.alt {
   background:url(images/c_bg.gif);
}

.comment-number {
   font-weight:bold;
   font-family:Verdana, Arial, Sans-Serif;
   font-size:18px;
   float:right;
   color:#336600;
}

/* Sidebar */

#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	margin:15px 0 10px 0;

	}
	
#sidebar ul {

}

#sidebar li {
   margin-top:2px;
}

.widget li {
   margin-left:15px;
   color:#666;
}

ul .children {
   margin-left:5px;
}

#sidebar small {
   font-size:11px;
}

/* Calendar */

#calendar {
	text-align:center;	
}

#calendar_wrap {
	text-align:center;	
	}

#wp-calendar {
   width:100%;
}

#wp-calendar-caption caption {
	font: bold 12px 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align:center;	
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}
	
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }

/* img */

img {
   padding:0;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

/* Begin Form Elements */
#searchform {
	margin: 15px auto;

	}

#sidebar #searchform #s {
	width: 160px;
	_width:150px;
   margin-right:2px;
	}

.search-button {
   border:1px #3366FF solid;
   background:none;
	padding:1px;
	*padding:0px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin-bottom: 20px;
	float: right;
	}

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	font-family:標楷體;
	font-size:12pt;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;

	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	padding: 0 4px 5px;
	margin: 0;
}

/* End captions */

/* Index */

#index {
   padding:0;
   height:675px;   
}

#index ul {
   margin-top:10px;
}

#index li {
   list-style:square;
   margin:5px 0 0 35px;
}

#index-left {
/*   overflow:hidden;*/
   float:left;
   width:464px;

}
/*
#index-right {
  height:675px;
   overflow:auto;
   float:right;
}
*/

.or-index {
   color:#333;
   margin:0;
   font-size:11px;
   padding:42px 0 0 10px;
   height:93px;
   background:url(images/or-upbar-index.jpg) no-repeat;
}

.donate {
   color:#666;
   margin:0 0 20px 0;
   font-size:11px;
}

#news {
   padding:20px 10px 0 10px;
   margin:0 0 0 474px;
   letter-spacing:1px;
   height:438px;
   overflow:auto;
}

#news h3 {
   margin:5px 0 -50px 0;
   padding:10px 0 0 0;
}

#news p {
   margin:12px 0;
}

#news hr {
   display:block;
   border-top:1px dashed #ccc;
   border-bottom:0;
   border-left:0;
   border-right:0;
   margin:15px 0;
}

#news .news-content {
   padding:0 0 15px 0;
}

#news iframe, #news img, #news embed {
	max-width: 380px;
   width: expression(document.body.clientWidth > 380? "380px": "auto" );	
}

#links {
   padding-left:20px;
   border-top:1px solid #999;
   margin:15px 20px 0px 474px;

}

#links ul {

}

#links li {
   float:left;
   list-style:none;
   margin-left:2px;
   color:#999;
}

#index-footer {
   border-top:1px solid #999;
   margin:70px 20px 0px 474px;
   padding:10px 0 0 35px;
   color:#999;
   font-size:12px;
}

/* Work fo Oldrail and taipei */

#or-navbar {
   padding-top:200px;
}

#or-nav li {
   float:left;
   margin-left:0px;
   color:#999;
}

#or-nav li ul {
   display:none;
   padding-left:10px;
   position:absolute;
}

#or-nav li li {
   float:none;
}

#or-nav li:hover ul {
   display:block;
   _background:#fff;
   _margin:20px 0 0 -100px;
   _width:100px;
}

#or-nav li:hover ul.child {
   display:none;
}

#or-nav li:hover ul.child li {
   width:150px;
}

#or-nav li:hover li:hover ul.child {
   display:block;
}

#or-content dl dd {
   margin-top:20px;
}

dl.picture-text dd {
   float:left;
}

dl.picture-text dd img {
	max-width: 480px;
   width: expression(document.body.clientWidth > 480? "480px": "auto" );	
 	max-height: 342px;
   height: expression(document.body.clientHeight > 342? "342px": "auto" );	 	
}

dd.picture-img {
   width:500px;
   text-align:center;
}

dd.picture-text {
   width:330px;
   margin:0 0 0 20px;
   color:#666;
}

dd span.text-title {
   font-weight:bold;
   color:#333;
}


ul.show-menu li {
   padding:0;
   margin:0 10px;
   float:left;
   list-style:none;
   text-align:center;
}

ul.show-menu li a.show-menu {
   line-height:40px;
   width:140px;
   _width:130px;
   border:1px solid #e8e8e8;
   display:block;
}

ul.show-menu li a.show-menu:hover {
   background:#e8e8e8;
   font-weight:bold;
   border:1px solid #ccc;
   cursor:pointer;
}

ul.show-menu li div:hover a {
   color:#CC3333;
}

ul.orindex-news {
   font-size:13px;
   margin:0 0 4px 120px;
}

ul.orindex-news li {
   list-style:none;
   margin:0;
}

.statpress-bottom {
   float:right;
   margin:5px 0 20px 0;
   color:#ececec;
}

.statpress-bottom span {
   text-decoration:underline;
   font-weight:bold;
   color:#fff;
}

div.events-banner {
   margin: 0 auto;
   width: 900px;
   text-align: right;
   margin-top: 60px;
}

div.events-banner img {
	height: 50px;
}
