.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix {display: inline-block;}
/* Hides from IE-mac \*/ * html .clearfix {height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */

body {
  background-color: #808080;
  color: #000;
  background-image: url('../images/bback-diag.png');
}

tt, code, pre {
  font-size: 1em;
}

pre {
  border: 1px solid #cbe3ff;
  background-color: #e9f0fb;
  padding: 1em;
  margin: 1em;
  overflow-x: auto;
  overflow-y: hidden;
}

hr {
  border: 1px solid #fff; /* For IE */
  border-bottom: 1px dashed #cbe3ff;
  width: 200px;
}

a, a:hover {
  color: #4c698e;
}

/** **************************************************************** **/

.shadow-left,
.shadow-bottom {
  width: 900px; /* For IE */
  margin: 0 auto;
}

.shadow-left {
  background-image: url('../images/shadow-left-trans.png');
  background-repeat: repeat-y;
}

.shadow-right {
  background-image: url('../images/shadow-right-trans.png');
  background-repeat: repeat-y;
  background-position: right;
}

.shadow-bottom {
  height: 43px;
  clear: both;
}

html > body .shadow-left,
html > body .shadow-right,
html > body .shadow-bottom {
  min-width: 570px;
  max-width: 1000px;
  width: auto;
}

.shadow-bottom .corner-left {
  background-image: url('../images/shadow-bottom-corner-left-trans.png');
  background-repeat: no-repeat;
  height: inherit;
  padding-left: 30px;
}

.shadow-bottom .corner-right {
  background-image: url('../images/shadow-bottom-corner-right-trans.png');
  background-repeat: no-repeat;
  background-position: 100% 0;
  height: inherit;
  padding-right: 30px;
}

.shadow-bottom .bottom {
  background-image: url('../images/shadow-bottom-trans.png');
  background-repeat: repeat-x;
  height: inherit;
}

/** **************************************************************** **/

.container {
  height: 100%;
  margin: 0 19px;
  padding: 0 7px;
  background-color: #fff;
  min-height: 540px;
}

.footer {
	color: #444;
  text-align: center;
  font-size: 0.85em;
  padding-bottom: 20px;
}

/** **************************************************************** **/

.header {
  width: 100%;
  height: 5em;
  background-image: url('../images/bback-header.png');
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-color: #6a89b0;
  position: relative;
  margin-bottom: 1px;
}

.header h1 {
  font-size: 2em;
  font-weight: normal;
  font-family: Georgia, serif;
  padding: 5px 10px;
  margin: 0;
  position: absolute;
  bottom: 0.25em;
  left: 0;
}

.header h2 {
  font-size: 0.9em;
  font-weight: normal;
  font-family: Georgia, serif;
  padding: 5px 10px;
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 7.3em;
}

.header a {
  color: #ffffff;
  text-decoration: none;
}

.header .lang {
  line-height: 2.3em;
  position: absolute;
  bottom: 0;
  right: 10px;
}

.header .lang a {
  outline: none;
}

.header .lang a.lang-selected {
  font-weight: bold;
}

.header .lang ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.header .lang ul li {
  margin: 0;
  padding: 0;
  display: inline;
  margin-left: 7px;
  margin-right: 7px;
}

/** **************************************************************** **/

.menu {
  width: 100%;
  height: 35px;
  position: relative;
  background-image: url('../images/bback-menu.png');
  background-repeat: repeat-x;
  margin-bottom: 5px;
}

.menu .corner-left {
  background-image: url('../images/bback-menu-corner-left.png');
  background-repeat: no-repeat;
  height: inherit;
}

.menu .corner-right {
  background-image: url('../images/bback-menu-corner-right.png');
  background-repeat: no-repeat;
  background-position: 100% 0;
  height: inherit;
}

.menu a {
  text-decoration: none;
  padding: 9px 15px;
  outline: none;
}

.menu a:hover {
  text-decoration: underline;
}

.menu ul.mainmenu {
  list-style: none;
  padding: 0;
  padding-bottom: 9px; /* IE Hack */
  margin: 0 10px;
  position: absolute;
  bottom: 0;
  left: 0;
}

html > body .menu ul.mainmenu {
  padding-bottom: 10px;
}

.menu ul.mainmenu li {
  margin: 0 5px;
  padding: 0;
  display: inline;
}

.menu a.selected,
.menu a.selected:hover {
  background-image: url('../images/selector-top.png');
  background-position: 50% 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  font-weight: bold;
}

.menu a.child-selected,
.menu a.child-selected:hover {
  background-image: url('../images/selector-top-white.png');
  background-position: 50% 100%;
  background-repeat: no-repeat;
}

/** **************************************************************** **/

#rightcolumn {
  float: right;
  width: 160px;
  margin-left: 7px;
  clear: left;
  color: #4c698e;
  height: 100%;
}

#rightcolumn h1 {
  font-family: Georgia, serif;
}

#rightcolumn a {
  text-decoration: none;
}

#rightcolumn a:hover {
  text-decoration: underline;
}

#rightcolumn .box {
  padding: 1px 18px;
}

#rightcolumn .box,
#rightcolumn .menubox {
  background: #e9f0fb;
  border-right: 1px solid #efefd5;
  border-left: 1px solid #efefd5;
  margin-left: 3px;
}

#rightcolumn .box-corner-top {
  padding-top: 10px;
  background-image: url('../images/bback-box-corner-top.png');
  background-position: 100% 0;
  background-repeat: no-repeat;
}

#rightcolumn .box-corner-bottom {
  padding-bottom: 10px;
  margin-bottom: 7px;
  background-image: url('../images/bback-box-corner-bottom.png');
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

#rightcolumn .menubox {
  padding: 20px 1px;
  line-height: 1.3em;
}

#rightcolumn .menubox ul {
  margin: 0;
  padding: 0;
}

#rightcolumn .menubox ul.menu { /* IE doesn't support child selector */
  border-top: 1px solid #efefd5;
  border-bottom: 1px solid #fff;
  /*margin-left: 3px;*/
}

#rightcolumn .menubox li {
  display: inline;
}

#rightcolumn .menubox .category,
#rightcolumn .menubox a {
  display: block;
  padding: 3px 3px 3px 10px;
  font-weight: bold;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #efefd5;
  text-decoration: none;
  outline: none;
}

#rightcolumn .menubox a:hover {
  text-decoration: underline;
}

#rightcolumn .menubox span.selected,
#rightcolumn .menubox span.selected a {
  background-image: url('../images/selector-right.png');
  background-position: 0 50%;
  background-repeat: no-repeat;
}

#rightcolumn .menubox span.selected {
  display: block;
  margin-left: -3px;
}

#rightcolumn .menubox span.selected a {
  background-color: #fcfcf8;
  background-position: -3px;
  margin-left: 3px;
}

#rightcolumn .menubox ul ul a {
  padding-left: 20px;
  font-weight: normal;
  font-size: 0.85em;
}

#rightcolumn .menubox ul ul ul a {
  padding-left: 30px;
}

#rightcolumn .menubox ul ul ul ul a {
  padding-left: 40px;
}

#rightcolumn .menubox ul ul span.selected,
#rightcolumn .menubox ul ul span.selected a {
  background-image: url('../images/selector-right.png');
}

/** **************************************************************** **/

.main {
  padding-bottom: 3px;
  border-bottom: 1px solid #fff;
}

.main-with-rightcolumn {
  margin-right: 165px; /* 2px for the right selector */
}

.main .main-header {
  height: 29px;
  background: url('../images/bback-nav.png') repeat-x;
  color: #6a89b0;
  font-size: 0.85em;
  text-align: right;
  line-height: 2.2em;
}

.main .main-header .corner-top-left {
  background: url('../images/bback-nav-corner-left.png') no-repeat;
}

.main .main-header .corner-top-right {
  padding: 0 10px;
  background: url('../images/bback-nav-corner-right.png') no-repeat 100% 0;
}

.main .main-content {
  padding: 0 40px;
}

.main .column1,
.main .column2,
.main .column3 {
  float: left;
}

.main .column1 {
  width: 34%;
  margin-right: 1%;
}

.main .column2 {
  width: 65%;
}

.main .box {
  margin-bottom: 1em;
}

.main .box .box-header {
  background: #e9f0fb url('../images/bback-box-edge-top.png') repeat-x;
}

.main .box .box-header a {
  text-decoration: none;
}

.main .box .box-header .corner-top-left {
  background-image: url('../images/bback-box-corner-top-left.png');
  background-repeat: no-repeat;
}

.main .box .box-header .corner-top-right {
  padding: 5px 10px 2px 10px;
  background-image: url('../images/bback-box-corner-top-right.png');
  background-repeat: no-repeat;
  background-position: 100% 0;
}

.main .box .box-header h2 { 
  color: #4c698e;
  font-family: Georgia, serif;
  font-size: 1.3em;
  line-height: 1.7em;
  margin: 0em;
  padding-left: 0.5em;
}

.main .box .box-header h2 img {
  padding: 0 0 0.4em 0.2em;
  vertical-align: middle;
}

.content .content-description {
  font-weight: normal;
  font-size: 0.8em;
  text-align: right;
  color: #9c9a7c;
}

.main .box .box-content {
  border: 1px solid #cbe3ff;
  margin: 0;
  padding: 0.7em 1em;
  background: #fff;
}

.content h1,
.content h2,
.content h3 {
  color: #4c698e;
  font-family: Georgia, serif;
}

.content h1 {
  margin-top: 1.5em;
  font-size: 1.6em;
}

.content h2 {
  margin-top: 1.5em;
  font-size: 1.3em;
}

.content h1 a,
.content h2 a {
  text-decoration: none;
  color: #4c698e;
}

.content h3 a {
  text-decoration: none;
  color: #000;
}

.content h2 a:hover,
.content h3 a:hover {
  color: #4c698e;
}

.content h3 { font-size: 1.1em; }
.content h4 { font-size: 1em; }
.content h5 { font-size: 0.9em; }
.content h6 { font-size: 0.8em; }

.content a,
.content a:hover {
  color: #405e81;
  text-decoration:none;
  border-bottom:1px dotted #405e81;
}

.content :link:active {
  color: #000000;
}

.content ul {
  list-style-image: url('../images/bullet.png');
  padding-left: 1.2em;
}

.content ul.compact p {
  margin: 0 0 0.4em 0;
}


.content ol {
  list-style: decimal;
}

.content ol ol {
  list-style: lower-roman;
}

.content ul > li ul {
  margin-left: 2em;
  padding: 0;
}

.content ul li {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.content pre {
  font-size: 9pt;
}

.content a.tinylink {
  font-size: 0.85em;
}


.innerbox {
  background: url('../images/bback-innerbox.png') no-repeat;
  padding: 1em 1em 0 1em;
  margin: 1.8em 0;
}

.yourehere {
  text-align: right;
}

.yourehere a {
  color: #6a89b0;
  text-decoration: none;
}

.yourehere a:hover {
  text-decoration: underline;
}

.yourehere .current-page {
  font-weight: bold;
}

/** ***** ***** **/
ul.readernaut {
  list-style: none;
  padding: 0;
margin: 0;
}

ul.readernaut li { float: left; width: 33%; } 
ul.readernaut li:nth-child(3n+4) { clear: left; }

ul.readernaut li {
	margin: 3px 0;
}

ul.readernaut li a {
  display: block;
}

ul.readernaut li :link,
ul.readernaut li :visited,
ul.readernaut li :link:hover {
	border: none;
}

ul.readernaut li img {
	float: left;
	margin: 0 6px 0 0;
}

ul.readernaut li span {
	display: block;
}

ul.twitter {
	padding: 0;
	margin: 0;
}

ul.twitter li {
	padding: 5px 10px 7px;
	margin: 0 0 5px;
}

ul.twitter li span.date {
	display: block;
	float: left;
	width: 65px;
  font-size: 0.85em;
	padding: 0.2em 0.3em;
}

ul.twitter li span.date a {
	text-decoration: none;
	border: none;
}

ul.twitter li p {
	display: block;
	
	margin: 0;
	margin-left: 80px;
}

ul.bitbucket {
	padding: 0;
	margin: 0;
}

ul.bitbucket li p {
  font-size: 0.85em;
  margin: 0.3em 0;
}

/** ***** Project Page ***** **/

.projectbox {
	min-height: 76px;
}

.projectbox p {
  margin: 0.5em 0;
}

.projectbox h2 {
  margin: 0 0 0.2em 0;
  display: inline;
  font-family: sans-serif;
  font-size: 1.05em;
  color: #000;
}

.projectbox h2 .subtitle {
  font-size: 0.85em;
  font-weight: normal;
  margin-left: 1em;
}

.projectbox img.screenshot {
  float: right;
  margin: 0.5em 0 1em 1em;
}

.projectbox h2 .subtitle img,
.projectbox p.summary img {
  vertical-align: middle;
  padding: 0 3px 3px 3px;
}
