/****************************************************************************************

   GLOBAL

*****************************************************************************************/

*
{
  margin: 0;
  border: 0;
  padding: 0;
  font-family: "Lucida Grande",Geneva,Verdana,Arial,Helvetica,sans-serif;
}

html
{
  /* The background pattern */
  background-image: url("../images/tilei.png");
}


img
{
  border: none;
}

body
{
  /* Center the page */
  text-align: center;
}

a
{
  /* No underline outside of content area */
  text-decoration: none;
}

.doNotDisplay
{
  display: none !important;
}

/****************************************************************************************

   PAGE

*****************************************************************************************/

div.page
{
  width: 850px;
  text-align: left;
  border: 1px solid #494949;
  color: #000000;
  background: #ffffff;
  /* Make a small space at the top and bottom. */
  /* center the box */
  margin: 25px auto;
}

#page ul
{
  list-style-type: square;
}


/****************************************************************************************

   HEADER

*****************************************************************************************/

#header
{
  height: 126px;
}

#nav
{
  /* Stretch to full width */
  width: 850px;
  color: white;
  /* Fill the rest of the line */
  background: #C4CA3F;
  float: left;
  border-top: 1px solid #ffffff;
  border-bottom: 3px solid #ffffff;
}

#nav ul
{
  list-style-type: none;
}

#nav li
{
  display: inline;
}

#nav a
{
  color: #fff;
  text-decoration: none;
  background: #C4CA3F;
  font-weight: normal;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 2px;

  padding: 4px 40px 4px 10px;
  border-right: 1px solid #fff;
  float: left;
  display: block;
}

#nav a:hover
{
  background: #D6DD7E;
  color: #ABB12A;
}


/****************************************************************************************

   BODY

*****************************************************************************************/

.body
{
  /* FF: This is important for the grey border on the top. */
  clear: left;

  padding: 25px;
  width: 800px;
  background: white;
  color: black;
  border-top: 7px solid #A6A7A0;
  font-size: small;
}

.body a
{
  color: #C4CA3F;
  background-color: transparent;
  text-decoration: none;
  border-bottom: 1px dotted;
  font-weight: bold;
}

.body a:hover
{
  color: #ABB12A;
  background: #f0f2c2;
  border-bottom: 1px solid;
  font-weight: bold;
}

#menu
{
  width: 215px;
  float: right;
}

#menu ul
{
  padding-left: 15px;
}

.menuheader
{
  color: #A6A7A0;
  background-color: transparent;
  font-size: large;
  font-weight: bold;
  margin-bottom: 5px;
}

.menuitem
{
  padding-bottom: 15px;
}

#searchform, #google
{
  padding-left: 14px;
}

input.text, #s, #comment
{
  border: 1px solid #A6A7A0;
}

input.button, #submit, #searchsubmit
{
  background: #A6A7A0;
  color: #FFFFFF;
  font-weight: bold;
  border-top: 1px solid #C6C7C0;
  border-left: 1px solid #C6C7C0;
  border-bottom: 1px solid #868780;
  border-right: 1px solid #868780;
}

.menuitem * ul
{
  list-style-type: none;
}

.menuitem * a
{
  text-decoration: none;
}

.menuitem * a:hover
{
  text-decoration: none;
}


/****************************************************************************************

   FOOTER

*****************************************************************************************/

#footer
{
  clear: right;
  width: 850px;
}

#copyright
{
  text-align: right;
  font-size: x-small;
  font-weight: bold;
  padding: 0 15px;
  border-top: 1px solid #C6C7C0;
  color: #000000;
  background-color: #A6A7A0;
}

/****************************************************************************************

   CONTENT

*****************************************************************************************/
#content
{
  width: 550px;
  padding: 10px;
  border-right: 1px dotted #A6A7A0;
}

#content h1
{
  margin-top: 25px;
  margin-bottom: 5px;
  color: #ABB12A;
  background-color: transparent;
  font-size: large;
}

#content ul
{
  padding-left: 15px;
}

#content dt
{
  font-weight: bold;
  font-size: medium;
  padding: 5px 0;
}

#tabular * td
{
  padding: 10px 5px;
  border-bottom: 1px dotted #A6A7A0;
  vertical-align: top;
}

#project * td:first-child
{
  font-weight: bold;
}

#project
{
  margin: 10px 0;
  padding: 5px;
  width: 100%;
  color: black;
  background-color: #f6f8d7;
  border: 1px solid #A6A7A0;
  vertical-align: top;
}

#summary
{
  font-weight: bold;
  margin-bottom: 15px;
}

a.image
{
  text-decoration: none;
  color: black;
  background-color: transparent;
  border: none;
}

a.image:hover
{
  text-decoration: none;
  color: black;
  background-color: transparent;
  border: none;
}

/****************************************************************************************

   COMMENTS

*****************************************************************************************/
#comments
{
  padding-top: 10px;
  font-size: 85%;
  line-height: 1.5em;
  color: #666;
  background: #eee url(images/comments_curve.gif) no-repeat top left;
}

#comments h4
{
  margin: 20px 0 15px 0;
  padding: 8px 0 0 40px;
  font-size: 130%;
  color: #666;
  background-color: transparent;
  background: url(images/bubbles.gif) no-repeat 10px 0;
  height: 29px !important; /* for most browsers */
}
	
.comment-body
{
  padding: 0 10px 0 25px;
  background: url(images/tictac_orange.gif) no-repeat 10px 5px;
}

.comment-body p
{
  margin-bottom: 0;
}

#comments ul
{
  margin-left: 0;
}

#comments li
{
  background: none;
  padding-left: 0;
}
/* End of Comments */

/* Begin Calendar */

#wp-calendar
{
  empty-cells: show;
  margin: 10px auto 0;
  width: 155px;
}

#wp-calendar #next a
{
  font-size: 100%;
  padding-right: 10px;
  text-align: right;
}

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

#wp-calendar a
{
  display: block;
}

#wp-calendar caption
{
  text-align: center;
  width: 100%;
}

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

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

#wp-calendar #prev a
{
  font-size: 9pt;
}

#wp-calendar a
{
  text-decoration: none;
}

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

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

/* End Calendar */

/* Post */
.post
{
  margin: 0 0 1.5em 0;
  padding: 0 0 1.5em 14px;
  border-bottom: 1px solid #ddd;
}
  
.post h3
{
  margin-bottom: 0.7em;
  font-family: "Lucida Grande", "Trebuchet MS", sans-serif;
  font-size: 130%;
  color: #f63;
  background-color: transparent;
}
/* End of Post*/

.clear
{
  /* to fix IE6 padding-top issue */
  clear: both;
  height: 0;
}

/* Everything Else */
.alt
{
  color: black;
  background-color: #f8f8f8;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

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

h1
{
  font-size: 4em;
  text-align: center;
}

.description
{
  font-size: 1.2em;
  text-align: center;
}

h2
{
  font-size: 1.6em;
}

h2.pagetitle
{
  font-size: 1.6em;
}

h3
{
  font-size: 1.3em;
}

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

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited
{
  color: #333;
  background: white;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite
{
  text-decoration: none;
}

code, pre
{
  font: 0.85em 'Courier New',Courier,monospace;
}

pre
{
  color: black;
  background-color: #f6f8d7;
  border: 1px solid #A6A7A0;
  padding: 10px;
  margin: 5px 0;
}

acronym, abbr, span.caps
{
  font-size: 0.9em;
  letter-spacing: .07em;
}

h1
{
  padding-top: 70px;
  margin: 0;
}

.description
{
  text-align: center;
}

h2
{
  margin-bottom: 5px;
  color: #C4Ca3F;
  background-color: transparent;
}

h2.pagetitle
{
  margin-top: 30px;
  text-align: center;
}

h3
{
  padding: 0;
  margin: 30px 0 0;
  color: #A5A499;
  background-color: transparent;
}

p img
{
  padding: 0;
  max-width: 100%;
}

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

.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: 0;
  float: right;
}

.alt
{
  margin: 0;
  padding: 10px;
}

#commentform p
{
  margin: 5px 0;
}

.nocomments
{
  text-align: center;
  margin: 0;
  padding: 0;
}

.commentmetadata
{
  margin: 4px 0 0 0;
  padding: 0 10px 1em 60px;
  color: #999;
  background-color: white;
  background: url(images/comment_arrow.gif) no-repeat 44px 2px;
}

acronym, abbr, span.caps
{
  cursor: help;
}

abbr, acronym
{
  cursor: help;
  font-style: normal;
  border-bottom: 1px dotted;
}

blockquote
{
  margin: 0 0 0 30px;
  padding: 10px 0 0 20px;
  font-size: 88%;
  line-height: 1.5em;
  color: #666;
  background-color: white;
  background: url(images/quotes.gif) no-repeat top left;
}
  
blockquote p
{
  margin-top: 0;
}

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

.center
{
  text-align: center;
}

hr
{
  display: none;
}

.navigation
{
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 60px;
}

.section ul
{
  margin: 10px 0;
}

.section li
{
  list-style: square;
  margin: 5px 10px;
}

li
{
  list-style: none;
  margin-bottom: 3px;
}

.entry ul li
{
  list-style: square;
}

h4.date-header
{
/*
  margin-top: 0;
  margin-bottom: 5px;
  */
  font-size: 90%;
  padding-left: 15px;
  color: #A6A696;
  background-color: transparent;
  background-image: url("../images/atismall.png");
  background-repeat: no-repeat;
}


/* Everything Else */

.thumb_left
{
  margin: 10px;
  float: left;
}

.thumb_right
{
  margin: 10px;
  float: right;
}

.subtitle
{
  color: #6aa09a;
  background-color: white;
  border-bottom: 1px dotted #adadad;
  font-size: 16px;
  font-family: Georgian, Verdana, sans-serif;
}

.post h2
{
  font-size: 22px;
  font-family: Georgian, Verdana, sans-serif;
}

.contactform
{
  width: 100%; 
  position: relative;
}

.contactleft
{
  width: 25%; 
  text-align: right;
  clear: both; 
  float: left; 
  display: inline; 
  padding: 4px; 
  margin: 5px 0; 
}

.contactright
{
  width: 70%;  
  float: right; 
  display: inline; 
  padding: 4px; 
  margin: 5px 0; 
}
	
.chinese
{
  font-style: italic;
}

abbr
{
  border-bottom: 1px dotted #3f3f3f;
  cursor: help;
}

.postmetadata
{
  font-size: smaller;
  margin: 3px;
  font-weight: bold;
  color: #A6A696;
  background-color: transparent;
}

.section
{
  margin-bottom: 2.5em;
}

p
{
  margin-bottom: 5px;
}

p.image
{
  margin: 15px 0;
}