
body {
background:url(images/background.gif) repeat-y top center #fff;
color:#404040;
font:76% Verdana,Tahoma,Arial,sans-serif;
line-height:1.2em;
margin:0 auto;
padding:0;
}
@media only screen and (max-device-width: 480px) {
 body {
  background:none;
  float:none;
  width:100%;
  font-size:200%;
 }
}

a {
color:#4088b8;
font-weight:700;
text-decoration:none;
}

a:hover {
text-decoration:underline;
}

a img {
border:0;
}

p {
margin:0 0 18px 10px;
}

ul,ol,dl {
font-size:0.9em;
margin:2px 0 16px 35px;
}

ul ul,ol ol {
margin:4px 0 4px 35px;
}

blockquote {
border:1px solid #dadada;
font-size:0.9em;
margin:20px 10px;
padding:8px;
}

h1 {
color:#4088b8;
font-size:4.2em;
letter-spacing:-5px;
margin:0 0 30px 25px;
}

@media only screen and (max-device-width: 480px) {
 h1 {
  font-size:2.0em;
  letter-spacing:0;
 }
}
h1 a {
color:#4088b8;
text-transform:none;
}

h2 {
border-bottom:4px solid #dadada;
color:#4088b8;
font-size:1.4em;
letter-spacing:-1px;
margin:0 0 10px;
padding:0 2px 2px 5px;
}

h3 {
border-bottom:1px solid #dadada;
color:#4088b8;
font-size:1.2em;
font-weight:700;
margin:10px 0 8px;
padding:1px 2px 2px 3px;
}

code {
 
background:#64bc5a;
border:1px solid #c8c8c8;
color:#404040;
font-size:1.2em;
line-height:1.4em;
padding-left:13px;
padding-right:10px;
}

instructwfig div{
 float:left;
 width: 100%;
 /*border: 1px solid #c8c8c8;*/
 padding:10px 10px 0px 10px;
}
.instructwfig p {
 text-align: center;
 text-indent: 0;
 padding-bottom: 0;
 }
.instructwfig img{
 border: 1px dashed #c8c8c8;
}


/*** Main wrap and header ***/
#wrap {
color:#404040;
margin:10px auto;
padding:0;
width:970px;
}
@media only screen and (max-device-width: 480px) {
 #wrap {
  width:100%;
  /*margin:0 0 0 0;*/
 }
}


#header {
margin:0;
}

#header h1 {
margin:0 0 10px 25px; /*moves the slogan closer to name*/
}

@media only screen and (max-device-width: 480px) {
 #header h1 {
  /*margin: 0 0 0 0;*/
 }
}

#toplinks {
font-size:0.9em;
padding:5px 2px 2px 3px;
text-align:right;
}

#toplinks a {
color:gray;
}

#lang a {
color:gray;
}

#lang {
vertical-align:bottom;
float:right;
font-size:0.9em;

/*position:fixed;*/
/*top:90px;*/
/*font-size:0.9em;*/
/*line-height:0em;*/
padding:5px 2px 2px 3px;
text-align:right;
}

@media only screen and (max-device-width: 480px) {
 #lang, #toplinks, #header {
  float:none;
  text-align:center;
 }
}
#slogan {
color:gray;
font-size:1.5em;
font-weight:700;
letter-spacing:-1px;
line-height:1.2em;
margin:15px 0 20px 25px;
}


/*** Sidebar and menu ***/

#sidebar {
float:left;
line-height:1.4em;
margin:0 0 5px;
padding:1px 0 0;
width:195px;
}
@media only screen and (max-device-width: 480px) {
 #sidebar {
  float:none;
  width:100%;
 }
}
 
#sidebar ul {
font-size:0.9em;
list-style:none;
margin:0;
padding:0 0 15px 10px;
}

#sidebar li {
list-style:none;
margin:0 0 4px;
padding:0;
}

#sidebar li a {
font-size:1.2em;
font-weight:700;
padding:2px;
}

#sidebar ul ul {
line-height:1.2em;
margin:4px 0 3px 15px;
padding:0;
}

#sidebar ul ul li a {
font-weight:400;
}

#sidebar h2 {
margin:3px 0 8px;
}

/*** Main content ***/

#content {
float:right;
line-height:1.5em;
margin:0;
padding:0;
text-align:left;
width:750px;
}
@media only screen and (max-device-width: 480px) {
 #content {
  float:none;
  width:100%;
 }
}

#contentalt {
float:left;
line-height:1.5em;
margin-right:20px;
padding:0;
text-align:left;
width:750px;
}

#content h3,#contentalt h3 {
margin:10px 0 8px;
}

/*** Footer ***/

#footer {
border-top:4px solid #dadada;
clear:both;
color:gray;
font-size:0.9em;
line-height:1.6em;
margin:0 auto;
padding:8px 0;
text-align:right;
}

#footer p {
margin:0;
padding:0;
}

#footer a {
color:#808080;
}

/*** tinyslideshow ***/

#ts_slideshow {list-style:none; color:#000}
#ts_slideshow span {display:none}
#ts_wrapper {width:506px; margin:10px auto; display:none}
#ts_wrapper * {margin:0; padding:0}
#ts_fullsize {position:relative; width:500px; height:300px; padding:2px; border:1px solid #ccc; background:#fff}
#ts_information {position:absolute; bottom:0; width:500px; height:0; background:#000; color:#fff; overflow:hidden; z-index:200; opacity:.7/*; filter:alpha(opacity=70)*/}
#ts_information h3 {padding:4px 8px 3px; font-size:14px/*; color:#333*/}
#ts_information p {padding:0 8px 8px; /*color:#4f61c3*/}
#ts_image {width:500px}
#ts_image img {position:absolute; z-index:25; width:auto}
.imgnav {position:absolute; width:25%; height:306px; cursor:pointer; z-index:150}
#ts_imgprev {left:0; background:url(images/tinyslideshow/left.gif) left center no-repeat}
#ts_imgnext {right:0; background:url(images/tinyslideshow/right.gif) right center no-repeat}
#ts_imglink {position:absolute; height:306px; width:100%; z-index:100; opacity:.4;/* filter:alpha(opacity=40)*/}
.linkhover {background:url(images/tinyslideshow/link.gif) center center no-repeat}
#ts_thumbnails {margin-top:15px;padding-bottom:100px}
#ts_slideleft {float:left; width:20px; height:81px; background:url(images/tinyslideshow/scroll-left.gif) center center no-repeat; background-color:#222}
#ts_slideleft:hover {background-color:#333}
#ts_slideright {float:right; width:20px; height:81px; background:#222 url(images/tinyslideshow/scroll-right.gif) center center no-repeat}
#ts_slideright:hover {background-color:#333}
#ts_slidearea {float:left; position:relative; width:456px; margin-left:5px; height:81px; overflow:hidden; background-color:#000}
#ts_slider {position:absolute; left:0; height:81px}
#ts_slider img {cursor:pointer; border:1px solid #999; padding:2px}
#ts_spacer {position:absolute;bottom:0px;height:170px; width:600px}
/*** Various classes ***/

.box {
background:#4088b8;
border:1px solid #c8c8c8;
color:#fff;
font-size:0.9em;
line-height:1.4em;
padding:10px 10px 10px 13px;
}

.box a {
color:#f0f0f0;
}
.codebox {
white-space: pre;
background:#64bc5a;
border:1px solid #c8c8c8;
font-size:0.9em;
line-height:1.4em;
padding:10px 10px 10px 13px;
}
.phpcodebox {
/*white-space: pre;*/
border:1px solid #c8c8c8;
font-size:1em;
line-height:1em;
padding:10px 10px 10px 13px;
}

.phpcodebox code{ /*for php hilight*/
 
background:inherit;
border:none;
color:inherit;
font-size:inherit;
line-height:inherit;
padding-left:0;
padding-right:0;
}
.left {
float:left;
margin:0 15px 4px 0;
}

.left p{
float:left;
}
.right {
float:right;
margin:0 0 4px 15px;
}

.readmore {
margin:-10px 10px 12px 0;
text-align:right;
}

.timestamp {
font-size:1.2em;
margin:-5px 0 15px 10px;
}

.timestamp a {
font-weight:normal;
}

.blue {
color:#4088b8;
}

.clear {
clear:both;
}

.fade {
color:#c8c8c8;
}

.gray {
color:gray;
}

.red {
color:#4D0000;
}
.photo {
background:#fff;
border:1px solid #bababa;
margin:6px 18px 2px 5px;
padding:2px;
}

.verbatim {
 font-family: monospace;
 padding-left: 3px;
 padding-right: 3px;
}

