/* Reset -->> */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
  margin:0;
  padding:0;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

fieldset,img { 
  border:0;
}

address,caption,cite,code,dfn,em,strong,th,var {
  font-style:normal;
  font-weight:normal;
}

ol,ul {
  list-style:none;
}

caption,th {
  text-align:left;
}

h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:normal;
}

q:before,q:after {
  content:'';
}

abbr,acronym { 
  border:0;
}

a, a:hover, a:visited {
  outline: none;
}
/* <<-- Reset */

html {
	background-color: #dfdfdf;
}

body {
    font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size: 70%;
    line-height: 1.5em;
}

#header-container {
	background-image: url(../images/fade.png);
	background-repeat:repeat-x;
	background-position: 0 7px;
}

#header-wrapper {
    text-align: center;
}

#header {
	height: 107px;
    width: 900px;
    margin: 0 auto;
	background-image: url(../images/rocky.png);
	background-repeat: no-repeat;
}

  #header h1 {
      font-size: 400%;
      line-height: 85px;
      text-align: right;
      font-weight: bold;
      margin: 0;
  }
    #header h1 a{
        color: #fff;
        text-decoration: none;
    }

#main-navigation a {
	margin-left: 5px;
	margin-right: 5px;
}

#footer {
	background-image: url(../images/fade.png);
	background-repeat:repeat-x;
    background-position: 0 -100px;
	height: 100px;
}

#main-navigation,
#footer {
	color: #8cacbb;
	text-align: center;
}

  #footer img {
    vertical-align: middle;
  }

  /* Inspired by DokoWiki's CSS */
  #footer a img {
    opacity: 0.3;
  }

  #footer a:hover img {
    opacity: 1;
  }


#outer-container {
  background-color: #fff;
  text-align: center;
}

#inner-container {
  width: 900px;
  margin: 0 auto;
  padding: 3em 0 3em 0;
  background-image: url(../images/rocky.png);
  background-repeat: no-repeat;
  background-position: 0 -107px;
}

#page {
  text-align: left;
  width: 675px;
  margin-right: 200px;
  padding-right: 1em;
  border-right: 1px solid #dfdfdf;
}

  #page p {
    margin-bottom: 1em;
  }

  #page ul,
  #page ol {
    margin-bottom: 1em;
  }

#sidebar {
  text-align: left;
  float: right;
  width: 200px;
  margin-top: 15px;
  color: #8cacbb;
}

  #sidebar h1 {
    font-size: 120%;
  }

  #sidebar .box-body {
    margin-bottom: 2em;
  }

.chapter-divide {
	border-top: 1px solid #dfdfdf;
	margin-top: 10px;
}
  .chapter-divide-frontpage {
    margin-bottom: 1em;
  }

.page-nav {
  color: #8cacbb;
  text-align: right;
  height: 25px;
  line-height: 25px;
}

#breadcrumbs {
  border-bottom:1px solid #dfdfdf; 
  margin-bottom: 1em;
  color: #8cacbb;
  height: 25px;
  line-height: 25px;
}

h1,h2,h3 {
	color: #8cacbb;
    line-height: 1em;
	margin-bottom: 0.3em;
}

h1 {
	font-size: 250%;
}	

h2 {
	font-size: 150%;
	margin-top: 1em;
}

  h1 a {
	color: #8cacbb;
  }

h3 {
	font-size: 120%;
}

a {
	color: #0060ca;
	text-decoration: none;
}
	
a:hover {
	color: #aad1e8;
	text-decoration: underline;
}

strong {
  font-weight: bold;
}

.spacer {
	clear: both;
}

table { 
	border-collapse:collapse;
	font-size: 12px;
	margin-left: auto; 
	margin-right: auto; 
	margin-bottom: 5px;
	margin-top: 30px;
}

td {
	background: #ffffff; 
	border: 1px solid #cbcbcb;
	padding: 8px;
	text-align: center;
	vertical-align: top;
}

td.colspan {
	background-color: #f2f2f2;
	padding: 8px;
	text-align: center;
}
	
th {
	background: #f2f2f2;
	border: 1px solid #cbcbcb;
	padding: 8px;
}	

ul {
  list-style-image: url(../images/bullet.png);
  line-height: 2em;
  margin-left: 10px;
  padding-left: 5px;
}

ol {
  list-style-type: decimal;
  line-height: 2em;
  margin-left: 3em;
  padding-left: 5px;
}

a img {
	border: 0px;
}

dt.date {
	margin-bottom: 4px;
	margin-top: 4px;
}

input, textarea {
  border: 1px solid #dfdfdf;
}

.commentlist {
  margin: 2em 1em 0 1em;
}

.commentlist li {
  border-bottom:1px solid #DFDFDF;
  margin-bottom: 2em;
  padding: 0 0 0.5em 0;
}

  .commentlist li em {
    font-style: oblique;
  }

.commentmetadata {
 color:#8CACBB; 
}

#comments-form {
  line-height: normal;
  margin: 1em 0 0 0;
  color: #8CACBB;
  display: none;
}

  #comments-form p {
    margin: 1em 0 0 0;
  }

  #comments-form label,
  #comments-form input {
      width: 150px;
      float: left;
      margin-bottom: 10px;
      color: #000;
  }

  #comments-form input {
    margin-right: 1em;
    padding: 0.2em;
  }

  #comments-form label {
      text-align: right;
      width: 75px;
      padding-right: 20px;
  }

  #comments-form br {
      clear: left;
  }

  #comments-form input#submit {
    width: auto;
  }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

* html .clearfix {height: 1%;}

.codesnip {
  margin: 2em;
  padding: 0.2em 0.5em;
  border: 1px dotted #CCCCCC;
  font-size: 12px;
  font-family:monospace;
  background-color: #f2f2f2;
  overflow: auto;
}

#searchform {
  line-height:normal;
}
  #searchform input {
    padding:0.2em;
    margin-bottom:10px;
  }

/* Facebox -->> */
/* Facebox fixes -->> */
#facebox table {
  margin: auto;
}
#facebox td {
  border: 0;
}
/* <<-- Facebox fixes */

#facebox .b {
  background:url(../images/b.png);
}

#facebox .tl {
  background:url(../images/tl.png);
}

#facebox .tr {
  background:url(../images/tr.png);
}

#facebox .bl {
  background:url(../images/bl.png);
}

#facebox .br {
  background:url(../images/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
/* <<-- Facebox */
/* codesnipplet -->> */
.codesnip { text-align:left; direction: ltr; }
.codesnip .de1, .php-brief .de2, .php .de1, .php .de2 {font-weight:normal; background:transparent;color:#000; }
.codesnip .kw1, .php .kw1 {color: #a1a100;}
.codesnip .kw2, .php .kw2 {color: #000; font-weight: bold;}
.codesnip .kw3, .php .kw3 {color: #000066;}
.codesnip .kw4, .php .kw4 {color: #f63333;}
.codesnip .co1, .codesnip .co2, .codesnip .coMULTI, .codesnip .co1, .codesnip .co2, .codesnip .coMULTI {color: #808080;}
.codesnip .es0, .php .es0 {color: #000033; font-weight: bold;}
.codesnip .br0, .php .br0 {color: #66cc66;}
.codesnip .st0, .php .st0 {color: #ff0000;}
.codesnip .nu0, .php .nu0 {color: #ff33ff;}
.codesnip .me0, .php .me0 {color: #006600;}
/* <<-- codesnipplet */
