/*
Theme name: TMITRAIL-da - 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:normal;
}

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 {
   margin:0;
   padding:0;
   text-align:center;
   background:url(images/bk.gif);
}

#page {
   margin:5px auto;
   padding:0;
	max-width: 800px;
   width: expression(document.body.clientWidth > 800? "800px": "auto" );
   font-size: 13px;
   text-align:left;
   background:#fff;
	}
 
#head {
   background:url(images/upbar.jpg) no-repeat;
   height:166px;
   cursor:pointer;
}

#content {
   border:1px solid #ccc;

}

#sidebar {
   float:right;
   width:260px;
   padding:40px 0 0 10px;
   margin:0 0 0 10px;
   background:#fff;
}

#map {
   margin:0;
   padding:0;
   width:650px;
   height:400px;
}

#menu-index {
   float:right;
   border-left:4px #ccc solid;
   width:120px;
   height:381px;
   padding:10px;
   background:url(http://www.tmitrail.org.tw/da/wp-content/file/image/menu-bg.gif);
}


#footer {
   color:#999;
   margin:0 0 0 0;
   padding:30px 0 0 55px;
   height:104px;
   font-size:12px;
   color:#333;
   background:url(images/downbar.jpg) no-repeat;
}

/* head */

#search {
   padding:150px 0 0 20px;
}

.input-submit  , .input-text , #searchsubmit {
   background:#fff;
   border:1px solid #ccc;
   padding:2px;
   font-size:12px;
   color:#999;
}

.input-submit:hover  , #searchsubmit:hover {
   background:#ccc;
   cursor: pointer;
}

/* menu-index */

#menu-index li ul {
   margin-left:10px;
   display:none;
}

#menu-index li:hover ul , #menu-index ul li.sfhover ul {
   display:block;
   background:transparent;
   _height:12px;
}

#menu-index a {
   color:#fff;
}

#menu-index a:hover {
   color:#CC3333;

}

p.enter-index {
   margin:-25px 15px 0 0;
   float:right;
}

/* Content */

#content h2 {
   font-size:16px;
   font-weight:bold;
   margin:20px 0 25px 15px;
}

.pagetitle {
   margin:35px 15px 40px 30px;
}

#content .post {
   padding:15px;
}

#content h3 {
   margin:0 0 5px 15px;
   font-size:15px;
}

.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;
}

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

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

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

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



/* Comments */

h3#comments {
   margin:20px 0 15px 0;
   padding:15px 0 0 0;
   border-top:1px solid #ccc;
}

.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;
	}


.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 div#itemlist {
   background:#fff;
   padding:0 0 15px 0;
}

#sidebar div#itemlist div {
   text-align:left;
}

#sidebar div#itemlist div.menutitle {
   line-height:30px;
   text-align:center;
   width:240px;
   border:1px #e8e8e8 solid;
   cursor:pointer;
   margin-bottom: 2px;
   padding: 2px;
   color:#666;
   text-align:center;
   background:#fff;
}

#sidebar div#itemlist div.menutitle:hover {
   background:url(http://www.tmitrail.org.tw/da/wp-content/file/image/menu-bg.gif);
   border:1px solid #666;
   color:#000;
}

#sidebar div#itemlist .submenu {
   display: none;
   margin-left: 10px;
   margin-bottom: 5px;
}

	
#sidebar ul {

}

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

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

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

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

/* 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
	}

/* Form Elements */

.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: 30px 0 50px 0;
	}
	
iframe {
   margin-left:50px;
}	
/* End Various Tags & Classes*/

p.copyright {
   font-size:12px;
   margin:15px 0 0 0;
   padding:10px 0 0 0;
}

p.copyright a {
   background:#fff;
}

p.copyright a:hover {
   background:none;
   font-weight:bold;
}

