* {
  font-family: arial;
}
a {
  text-decoration: none;
  color: #45607b;
  border-bottom: 1px dotted #385675;
}
h1, h2 {
  margin: 0;
}
h1 {
  font-size: 1.2em;
}
body {
  margin: 0px;
}
#top {
  position: absolute;
  top: 0; left: 0;
}

.corner-l { 
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: no-repeat bottom right; 
}
.corner-r { 
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px; 
  background: no-repeat bottom left; 
}

#page-container {
  width: 800px;
  margin: 0px auto;
}
#title {
  position: relative;
  width: 800px;
  height: 35px;
  background: #385675;
  color: #fff;
}
#title .corner-l {
  background-image: url(corner-l.gif);
}
#title .corner-r {
  background-image: url(corner-r.gif);
}
#title h1 {
  float: right;
  margin: 5px 15px 0 0;
  text-transform: lowercase;
}
#title a {
  color: #fff;
  border: 0;
}
#title h1 span {
  font-family: courier new;
  font-size: 1em;
}
#title h1 .php-green {
  color: #7cbe7c;
}
#title h1 .php-blue {
  color: #7676bc;
}
#title h2 {
  float: right;
  font-weight: normal;
  font-style: italic;
  line-height: 25px;
  margin: 5px 15px 0 0;
  font-size: .8em;
  color: #ff8000;
}
#title h2 span {
  font-family: courier new;
}
#title h2 .php-orange {
  color: #ff8000;
}
#title ul {
  margin: 0 0 0 15px; padding: 0;
  float: left;
  list-style: none;
  border-right: 1px solid #45607b;
  border-left: 1px solid #244261;
  height: 35px;
}
#title li {
  float: left;
  height: 35px;
  padding: 0 10px;
  border-left: 1px solid #45607b;
  border-right: 1px solid #244261;
}
#title li div {
  visibility: hidden;
}
#title li:hover {
  background: #45607b;
}
#title li a:hover {
  border-bottom: 1px dotted #fff;
}
#title li a {
  display: block;
  margin-top: 9px;
  font-size: .8em;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-transform: lowercase;
}
#title li.c {
  position: relative;
  background: #45607b;
}
#title li.c a {
  border-bottom: 2px dotted #ff8000;
}
#title li.c div {
  visibility: visible;
  position: absolute;
  left: 50%;
  margin-left: -6px;
  bottom: -5px;
  width: 11px;
  height: 5px;
  background: url(menu-current.png);
  z-index: 5;
}


#content-container {
  position: relative;
  width: 800px;
  overflow: auto;
  border-bottom: 1px dotted #385675;
/*  padding: 15px 0;*/
}
#welcome {
  position: relative;
  width: 700px;
  margin: 0 auto;
/*  border: 1px solid #567da5;*/
  background: #91b0cf;
  color: #fff;
  padding: 5px 0;
  text-align: center;
  font-size: .8em;
/*  margin-bottom: 15px;*/
  z-index: 1;
}
#welcome .corner-l {
  background-image: url(welcome-corner-l.gif);
}
#welcome .corner-r {
  background-image: url(welcome-corner-r.gif);
}
#welcome h2 {
  font-size: 1.1em;
  display: inline;
}
#content {
  width: 780px;
  height: 100%;
  margin: 15px auto;
  overflow: auto;
}
#content h1 {
  text-transform: lowercase;
}
#content h1 span {
  font-family: courier new;
  font-weight: normal;
}
#content h1 .php-black {
  color: #000;
}


#fnotes-container {
  clear: both;
  overflow: auto;
}
#xcss {
  margin: 3px auto;
  width: 300px;
  float: left;
  font-size: .6em;
}
#xcss a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}

#source {
  float: left;
  margin: 6px auto;
  width: 200px;
  font-size: .6em;
  text-align: center;
}
#source a {
  text-decoration: none;
  color: #000;
  border-bottom: 1px dotted #000;
}


#powered {
  margin: 3px auto;
  width: 300px;
  float: left;
  font-size: .6em;
  text-align: right;
}
#powered em {
  font-style: normal;
}
#powered span {
  border-bottom: 1px dotted #000;
}
#powered .php {
  color: #5a6ba5;
}
#powered .php em {
  color: #5a6ba5;
  font-size: 85%;
  position: relative;
  top: -3px;
}
#powered .mysql {
  color: #006699;
}
#powered .mysql em {
  color: #ff9900;
}



/************ site stuff ************/
#blog-search-container {
  width: 650px;
  margin: 15px auto;
  overflow: auto;
  font-size: .9em;
}
#blog-search-container .search-string {
  margin: 20px 0;
  border-bottom: 1px dotted #000;
}
#blog-search-container .results {
  text-align: right;
  border-bottom: 0;
  border-top: 1px dotted #000;
}
#blog-search-container .noresults {
  text-align: center;
}
#blog-search-container .result-div {
  height: 1px;
  border-top: 1px dotted #000;
  margin: 10px auto;
  width: 625px;
}
#blog-search-container .search-result {
  width: 575px;
  margin: 0 auto;
}
#blog-search-container .search-result h2 {
  float: left;
  font-size: 1.1em;
  margin-bottom: 5px;
}
#blog-search-container .search-result .date {
  float: right;
  font-style: italic;
  font-size: .8em;
  margin-top: 2px;
}
#blog-search-container .search-result p {
  clear: both;
  text-align: justify;
}

#blog-search h2 {
  clear: both;
  font-size: 1em;
  border-bottom: 1px dotted #000;
  padding-bottom: 2px;
  margin-bottom: 10px;
}
#blog-search {
  border-bottom: 1px dotted #000;
  padding-bottom: 10px;
  margin: 0 auto;
  overflow: auto;
  width: 510px;
}
#blog-search input {
  font-size: .9em;
  border: 1px solid #000;
  background: #fff;
  float: left;
  width: 450px;
}
#blog-search input[type="text"] {
  margin-right: 15px;
}
#blog-search input[type="submit"] {
  width: 40px;
  float: right;
  border-style: dotted;
}
#blog-search input[type="submit"]:hover {
  font-weight: bold;
}


#blog-about #blog-search {
  width: auto;
  border: 0;
  margin: 0;
  padding: 0;
}
#blog-about #blog-search input[type="text"] {
  width: auto; margin: 0;
}
#blog-about {
  float: right;
  width: 170px;
  padding-left: 5px;
  font-size: .75em;
}
#blog-about h2 {
  clear: both;
  font-size: 1em;
  border-bottom: 1px dotted #000;
  padding-bottom: 2px;
  margin: 25px 0 5px 0;
  position: relative;
}
#blog-about p {
  margin: 0;
  text-align: justify;
}
#blog-about img {
  position: absolute;
  right: 0;
  bottom: 3px;
}
#blog-about a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}
#blog-about ul {
  padding-left: 5px;
  list-style: none inside;
}
#blog-about li:before {
  font-size: 1.3em;
  line-height: 5px;
  color: #45607b;
  content: "»";
  margin-right: 5px;
}
#blog-about li {
  margin-bottom: 3px;
}
#blog-about li:hover:before {
  color: #ff8000;
}

/*dark= 385675
  light=45607b
 */

#blog-container {
  width: 600px;
  margin-bottom: 15px;
  float: left;
  overflow: auto;
}
#blog-container .post-container {
  margin-top: 25px;
  overflow: auto;
  position: relative;
}
#blog-container .post-collapse {
  margin: 0;
}
#blog-container .post-collapse .body-container {
  border-top: 0;
  position: relative;
  left: 2px;
}
#blog-container .date-container {
  float: left;
  width: 95px;
  margin-top: 10px;
  border: 1px solid #000;
  border-right-style: dotted;
  padding: 10px 0;
  background: #e5e5e5;
  position: relative;
  left: 1px;
}
#blog-container .post-collapse .date-container {
  border: 0;
  left: 0px;
  background: #fff;	
}
#blog-container .date {
  margin: 0 auto;
  width: 75px;
  border: 1px solid #385675;
}
#blog-container .date span {
  display: block;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: #385675;
  padding: 2px 0;
  font-size: .6em;
}
#blog-container span.day {
  padding: 0;
  font-size: 2.5em;
  background: #7596b6;
  font-weight: bold;
}
#blog-container .day em {
  font-weight: normal;
  font-style: normal;
  font-size: .3em;
  text-transform: lowercase;
  position: relative;
  top: -1.5em;
  left: .2em;
}
#blog-container .month {
  font-size: .6em;
  letter-spacing: 3px;
}
#blog-container .year {
  font-size: .6em;
  letter-spacing: 4px;
}
#blog-container .time {
  float: right;
  font-style: italic;
  font-size: .7em;
  margin-top: 15px;
}
#blog-container .body-container {
  float: left;
  width: 483px;
  padding: 0 6px;
  border: 1px solid #000;
  border-right: 0;
  min-height: 100px;
}
#blog-container h2 {
  float: left;
  margin: 5px 0 10px 0;
}
#blog-container p {
  clear: both;
  font-size: .85em;
  margin: 0 0 10px 0;
  text-align: justify;
  text-indent: 15px;
}
#blog-container p a:after {
  font-size: 1.2em;
  line-height: 5px;
  color: #45607b;
  content: "»";
  margin-left: 3px;
  border-bottom: 0;
}
#blog-container p a:hover:after {
  color: #ff8000;
}
#blog-container .author {
  float: right;
  color: #939393;
  font-size: .7em;
  margin-bottom: 5px;
}