* {padding:0; margin:0;}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
blockquote, q {
    quotes:none;
}

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

dt {
    padding-left: 5px;
}

dl {
    padding-left: 10px;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted #ccc;
    cursor:help;
}

.clear {
 clear:both;
}
.clear:after {
 display:block; 
 visibility:hidden; 
 clear:both; 
 height:0; 
 content: "."; 
}
h1, h2, h3 {font-family:Arial, clean, sans-serif; }
ul {list-style:none;}
a {color:#1496d9; text-decoration:none;}
body {background: #fff url(images/bodybg.jpg) repeat-x; font-family:Arial, clean, sans-serif; font-size: 12px; color:#444;}
table {font-size:1.2em;}
#bodywrap {width:1000px; margin:0 auto; background:url(../main_style/wrapbg.jpg) center top no-repeat; min-height:400px; padding:0 10px;}
#pagetop {height:34px; padding:0 20px;}
#pagetop #siteinfo {display:block; height:32px; line-height:30px; float:left; color:#ccc; font-style:italic; font-size:1.1em;}
#sitenav {float:right; height:34px;}
#sitenav a {color:#ccc!important;}
#sitenav li {display:inline; font-size:1.1em;}
#sitenav li a {display:block; float:left; height:33px; line-height:30px; padding:0 25px;}
#sitenav li a:hover {color:#fff!important;}
#sitenav li.current a {background:url(images/activemenu.png) center bottom no-repeat; color:#fff!important;}
#pageheader {height:118px; padding:0 15px 0 15px;}
#pageheader h1 {display:block; font:normal 3.6em Arial, clean, sans-serif!important; color:#000; text-shadow:#fff 1px 1px 1px; float:left; padding:25px 0 0 0;}
#pageheader h1 span {color:#aaa;}
#search {float:right; width:261px; height:26px; padding:35px 5px 5px 5px;}
#search .searchfield {float:left;}
#search .searchbtn {float:right;}
#search .searchbtn a {padding-left: 15px;}
.searchfield input {display:block; background:transparent!important; border:none!important; width:170px; padding:0 10px; color:#333; line-height:24px; height:26px;}
#contents {padding:18px 20px; background:url(images/sidebarbg.jpg) 649px 0 repeat-y; min-height:200px;}
#main {width:615px; float:left;}
#mainlong {width:925px; float:left;}
#sidebar {float:right; width:310px; padding-top:5px;}
#featured {background:url(images/featureheaderbg.png) 0 0 no-repeat; height:247px; margin-bottom:10px; position:relative; color:#eee;}
#normalheader {background: url(images/normalheader2.jpg) 0 0 no-repeat; height:150px; margin-bottom:10px;}
#normalheader.header2 {background:url(images/normalheader.jpg) no-repeat;}
#featured p {line-height:18px; font-weight:normal;}
#featured .ftheading {position:absolute; right:0; top:-5px; z-index:800; background:url(images/featuredheading.png) no-repeat; height:117px; width:115px; text-indent:-4000px;}
#featured h3 {display:block; font:bold 1.6em Arial, clean, sans-serif; color:#fff; margin-bottom:10px;}
#featured a {color:#fff; text-decoration:underline!important;}
#featured .ftwrap {padding:45px 35px 0 35px;}
.ftwrap .ftimg {float:left; background:url(images/imgthumb.png) no-repeat; width:220px; height:144px;  padding:13px 0 0 13px;}
.ftwrap .fttxt { margin-left:260px; padding-top:0px; padding-right:0px;}

.mainheading, #leftcontainer h2 {font:bold 1.6em Arial, clean, sans-serif; color:#666; padding:10px 0; border-bottom:solid 1px #ddd; margin-bottom:15px;}
#leftcontainer {padding: 0 10px;}
.post p {line-height:18px; margin-bottom:10px;}
.post header {margin-bottom:10px;}
.post h3,#comments h3 {font:bold 1.6em Arial, clean, sans-serif; color:#000; margin-bottom:5px;}
.post h3 a {color:#333; text-decoration:none;}
.post header .postinfo {font-size:1.1em; color:#777;}
.post footer {border: solid 1px; border-color:#ddd #fff #ddd #fff; padding:3px; font-size:1.1em; color:#777;}

.post footer {height:15px; line-height:15px;}
.post footer span {margin:0 65px 0 0;}
.post footer a {color:#333;}
.post {margin-bottom:20px;}
#sidebar h2 {font:bold 1.8em Arial, clean, sans-serif; color:#000; margin-bottom:10px;}

#sidebar p {line-height:18px; margin-bottom:20px;}
#sidebar ul {font-size:1.1em; font-style:italic; margin-bottom:20px;}
#sidebar ul li {display:block; height:24px; text-align:right; border-bottom:solid 1px #cdcdcd; line-height:24px;}
#sidebar ul li a { line-height:24px; height:24px; background:url(images/ulli.png) left center no-repeat; padding:0 0 0 20px; display:block; color:#666; float:left; width:220px; text-align:left;}
#sidebarwrap {padding:0 20px;}
#sidebar ul li a:hover {color:#000;}
#pagefooter {background:url(images/footerbg.jpg) repeat-x; height:89px;}
#footerwrap {width:940px; margin:0 auto; color:#ccc; padding-top:35px;}
#footerwrap .copyright {float:left; width:60%; font-size:1.1em;}
#footerwrap .credit {float:right; width:332px; font-size:1em; color:#999!important; text-align:right; margin-right: 40px;}
#footerwrap a {color:#fff;}
.wp-pagenavi {background:url(images/pagenavibg.gif) no-repeat; height:26px; width:553px; margin:0 auto 10px auto; padding-left:20px; padding-right:20px; text-align:center; padding-top:2px;}
.wp-pagenavi span, .wp-pagenavi a { display:inline-block; height:24px; line-height:24px; margin:0 4px; color:#555; padding:0 8px;}
.wp-pagenavi a:hover {background:url(images/pagenaviactivebg.png) repeat-x; color:#000;}
.wp-pagenavi .current {background:url(images/pagenaviactivebg.png) repeat-x; color:#000;}


.code, .programlisting {
  font-family: monospace;
  font-size: 10pt;  
}

.programlisting {
    background-color: #F5F5F5;
}

div.navheader {
    
    -webkit-border-radius-topLeft: 8px;
    -webkit-border-radius-topRight: 8px;
     
    -moz-border-top-left-radius: 8px; 
    -moz-border-top-right-radius: 8px;
    
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    
    /*
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    */
    padding: 2px 20px 2px 20px;
    border: 1px solid #222222;
    border-bottom: 0px none;    
    background-color: white;
    
    
}

div.navheader table {
    border: 0px none;
}
div.navheader table tr {
    border: 0px none;
}
div.navheader table tr td {
    border: 0px none;
}

div.book {
    
    /*
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    */
    padding: 2px 20px 20px 20px;
    border: 1px solid #222222;
    border-bottom: 0px none;
    border-top: 0px none;
    background-color: white;
    
    line-height:18px; 
    /*
    margin-bottom:10px;
    */
}

div.book ul {list-style:disc; padding-left: 25px; padding-top: 5px;}
div.book p {padding-top: 5px; padding-bottom: 5px;}
div.book h1 {padding-top: 15px; padding-bottom: 10px;}
div.book h2 {padding-top: 10px; padding-bottom: 5px;}
div.book h3 {padding-top: 5px;}
div.book h4 {padding-top: 5px;}

div.navfooter {
    
    -webkit-border-radius-bottomLeft: 8px;
    -webkit-border-radius-bottomRight: 8px;
     
    -moz-border-bottom-left-radius: 8px; 
    -moz-border-bottom-right-radius: 8px;
    
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    
    /*
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    */
    padding: 2px 20px 2px 20px;
    border: 1px solid #222222;
    border-top: 0px none;
    background-color: white;
}

div.chapter {
    
    /*
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    */
    padding: 2px 20px 20px 20px;
    border: 1px solid #222222;
    border-bottom: 0px none;
    border-top: 0px none;
    background-color: white;
    
    line-height:18px; 
    /*
    margin-bottom:10px;
    */
}

div.chapter ul {list-style:disc; padding-left: 25px; padding-top: 5px;}
div.chapter p {padding-top: 5px; padding-bottom: 5px;}
div.chapter h1 {padding-top: 15px; padding-bottom: 10px;}
div.chapter h2 {padding-top: 10px; padding-bottom: 5px;}
div.chapter h3 {padding-top: 5px;}
div.chapter h4 {padding-top: 5px;}

div.bibliography {
    
    /*
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    */
    padding: 2px 20px 20px 20px;
    border: 1px solid #222222;
    border-bottom: 0px none;
    border-top: 0px none;
    background-color: white;
    
    line-height:18px; 
    /*
    margin-bottom:10px;
    */
}

div.bibliography ul {list-style:disc; padding-left: 25px; padding-top: 5px;}
div.bibliography p {padding-top: 5px; padding-bottom: 5px;}
div.bibliography h1 {padding-top: 15px; padding-bottom: 10px;}
div.bibliography h2 {padding-top: 10px; padding-bottom: 5px;}
div.bibliography h3 {padding-top: 5px;}
div.bibliography h4 {padding-top: 5px;}

div.section {
    border-top: 1px solid #333333;
}

div.section div.titlepage {
    color: #883322;
}

div.section div.section {
    border-top: 1px dotted #AAAAAA;
    margin-left: 20px;
}

div.section div.section div.titlepage {
    color: #775533;
}

div.section div.section div.section {
    border-top: 0px none;
    margin-left: 40px;
}

div.section div.section div.section div.section {
    border-top: 0px none;
    margin-left: 60px;
}

div.section div.section div.section div.titlepage {
    color: #554433;
}