@import url(/stylesheets/buttons.css);
@font-face {
  font-family: "CrassRegular"; 
  src: url("/stylesheets/fonts/crass-webfont.eot");
  src: local("CrassRegular"), url("/stylesheets/fonts/crass.ttf") format("truetype"), url("/stylesheets/fonts/crass-webfont.woff") format("woff");
}
@font-face {
  font-family: "raleway"; 
  src: url("/stylesheets/fonts/raleway.eot");
  src: local("raleway"), url("/stylesheets/fonts/raleway.ttf") format("truetype"), url("/stylesheets/fonts/raleway.svg") format("svg");
}
body {
  /* I gave up on gentium; its too wacky. I've moved to urw palladio l, a lovely palatino. Good reference to system fonts for 
     OSes at - http://www.apaddedcell.com/web-fonts
   */
  font         : 16px/1.375 "URW Palladio L", "Palatino Linotype", "TeX Gyre Pagella", "Calligraphic 801", "Palatino", "Book Antiqua",serif;
  width        : 100%;
  min-width    : 950px;
  margin       : 0px;
}

td, th {
        padding: 0.4em;
        background: #fff;
}
p {
	margin-top: 0;
	margin-bottom: 1.375em;
}
blockquote {
       margin-left:0.3em;
}
table {
       background: #ccc;
       margin-top: 1em;
       margin-bottom: 1em;
}
.box {
  padding-right : 1.5em; 
  padding-left  : 1em; 
  margin        : 0.7em;
  text-align    : left;
}

.centre {
  text-align    : center;
  display       : block;
  margin        : auto;
}

.hid, .tagline {
  display : none;
}

.undecorated {
     text-decoration:none;
     font-style:normal;
}
.tinytext {
	font-size: 0.85em;
        line-height: 1.61803;
}

a.taggedlink{
  background: url(/graphics/tag.png) no-repeat scroll left top;
  padding-left: 17px;
  padding-right: 7px;
}
ul.horizontal-list, ul.horizontal-list li {
  display: inline;
  list-style-type: none;
}
ul.horizontal-list {
	padding-left:1.7em;
}

ol {padding-left:1em}

div.wrapper {
        width: 950px;
        min-width: 950px;
	margin:auto;
}

div.err {
  color            : #900;
  padding          : 0.5em;
  padding-left     : 5em;
  margin-left      : 5em;
  margin-right     : 5em;
  background-color : #fff;
  border           : 1px solid #900;
}

div.navbar {
  clear          : both;
  background     : #0A2637 url(/graphics/blue_fade_bot.gif) repeat-x scroll center bottom;
  color          : #ccc;
  margin-top     : 0px;
  padding-bottom : 9px;
  letter-spacing : -1px;
  text-align     : center;
}
ul.navbar {
  display:inline ;
}
ul.navbar li {
  list-style-type: none;  
  margin: 0px;
  display:inline;
  border-right: 1px solid #ccc;
  padding-right:0.3em;
}
ul.navbar li.last {
  border-right: none;
}

div.titlebar {
background:#0A2637 url(/graphics/dotorg-2011-topbar.jpg) repeat-y scroll center top;
color:#CCCCCC;
height:3em;
min-height:205px;
padding-top:15px;
text-align:center;
position:relative;
}

div.titlebar h1 {
font-size:0; /* could do display:none ? */
}
div.titlebar h1 a {
   text-decoration:underline;
   width:950px;
   height:111px;
   position: absolute;
   top: 27px;
   left: 50%;
   margin-left: -475px;
}

div.searchbox {
 height:0.7em;
 margin:140px auto auto;
 max-height:1em;
 min-height:20px;
 width:970px;
}

div.titlebar img {display:none;visibility:hidden;}

div.main {
  float         : left;
  background-color : #fff;
  width         : 66%;
  padding       : 0px;
}

div.sidebox {
  padding       : 0px;
  padding-left  : 10px;
  padding-right : 10px;
  margin-bottom : 1em;
  min-width     : 290px;
  width         : 27%;
  float         : right;
  margin-right  : 2px;
  background-color : rgba(255, 238, 187, 0.6);
  border        : 2px solid #467;
  border-radius : 6px;
}

div.main_no_sidebox {
  margin-right  : 10px;
  margin-left   : 10px;
}

div.sidebox-inner {
  padding       : 0px;
  margin-bottom : 1.5em;
}

div.footer {
  clear         : both;
  border-top    : 1px dashed #ccc;
  margin-top    : 5em;
  margin-bottom : 1em;
  margin-right  : 10px;
  margin-left   : 10px;
  text-align    : right;
  font-size     : 0.7em;
  color         : #999
}

span.tagline {
  position   : relative;
  left       : -92px;
  top        : -2px;
  z-index    : 1;
  font       : oblique bold 8px CrassRegular,freesans,arial,sans-serif;
  color      : #900;
}

a {
  text-decoration  : none;
  color            : #45b;  /* was #45b , #236 */
}

a:visited {
  color            : #86c; /* was #a8e , 646*/
}

a:hover {
  color            : #ccc;
  background-color : #57b; 
}

a.no_under,
a.no_under:visited {
  border           : 0px;
  text-decoration  : none;
  background-color : transparent;
  color            : #009;
}

a.no_under:hover {
  color            : #900;
  background-color : transparent;
}

a.nav_select,
a.nav_select:visited {
  font-weight      : bold;
  font-family      : CrassRegular, FreeSans;
  padding          : 3px 0.2em;
  text-decoration  : none;
  color            : orange;
}

a.nav_select:hover {
  background-color: orange;
  color: #1d5272;
}

a.nav,
a.nav:visited {
  font-family      : CrassRegular, FreeSans;
  font-weight      : bold;
  padding          : 3px 0.2em;
  text-decoration  : none;
  color            : #feb;
}

a.nav:hover {
  background-color: orange;
  color: #1d5272;
}

.sidebox a,
.sidebox a:visited {
	color : #578;
}

.sidebox a:hover {
	color            : #feb;
        background-color : #578;
}

h1 {
  font-family      : raleway,"URW Gothic L",futura,"century gothic",sans-serif;
  font-size        : 2.618em;
  line-height      : 1.0504;
  color            : #134;
  margin-bottom    : 0.3501em;
  margin-top       : 0.7002em;
  padding          : 0;
  text-transform   : uppercase;
}
h2,h3,h4,h5 {
  font-family      : "URW Palladio L", Constantia, Georgia, "Lucida Bright", "DejaVu Serif",  sans-serif;
  color            : #666;
  font-weight      : lighter;
  letter-spacing   : -0.00942em;
  text-transform   : capitalize; 
}


h2 {
  font-size      : 2.2247em;
  line-height    : 1.236;
  margin-top     : 0.412em;
  margin-bottom  : 0.206em;
}

h3 {
  font-size      : 1.61803em;
  line-height    : 1.236;
  margin-top     : 0.1545em;
  margin-bottom  : 0.309em;
}

h4 {
  font-size      : 1.375em;
  line-height    : 2;
  margin-top     : 0.3333em;
  margin-bottom  : 0.6666em;
}

h3.box {
  margin-left    : 1px;
}

h1.pageh1{
 border-bottom   : 1px dashed #ccc;
 padding-bottom  : 2px;
}

h1.sideh1{
 border-bottom   : 1px dashed #ccc;
 text-align      : center;
}

h2.side-h2 {
  padding-left  : 1px;
  margin-top    : 0px;
}

h2.writing-h2 {
  padding-left  : 0.3em;
  margin-top    : 0px;
}

form {
  padding-bottom : 0.2em;
  margin-bottom  : 0.2em;
}

input.titlebar {
  border           : 1px solid orange;
  background-color : #0A2637;
  color            : #ccc;
  padding-top      : 0.2em;
}

input.titlebar:focus,input.titlebar:hover {
	background-color: #1d5272;
        color: orange;
}

ul {
  list-style-image : url(/graphics/arrow_bullet.gif);
  padding-left     : 1.3em;
  margin-right     : 0.7em;
  margin-bottom    : 1.375em;
  margin-top       : 0px;
  word-wrap        : break-word;
}

code {
  white-space: pre;
  word-wrap: break-word; 
  font: bold 0.85em freemono, courier, monospace;
  color: #2a3;
  background-color: #000;
  margin-top:0.5em;
  margin-bottom:1.5em;
  padding: 0.4em;
  display:block;
  min-width: 595px;
  width: 615px;
  overflow: auto;
  overflow-y: hidden;
}

.search-label,#go, #submit{
  font-family: CrassRegular, courier, monospace;
}

.bloggy {
	list-style:none;
	margin-bottom:2.65em;
	border-bottom: 1px solid #ccc;
	padding:0px;
}

.bloggy .entry-title { margin:1px; }

.nopad {
	padding:0px !important;
}

.margin-below {
	margin-bottom: 0.4em;
}

.input {
	border : 2px solid #999;
}
.input:focus {
	background-color: #ffc;
}

.equilabel {
   width:6em;
   float:left;
   text-align:right;
   padding-right:1em;
   line-height:1em;
}

.leftfloat {
	float:left;
	margin-right:10px;
	margin-bottom:10px; 
}

.rightfloat {
	float:right;
	margin-left:10px;
	margin-bottom:10px; 
}

.clear, .clearer {
	clear:both;
}

.error {
    border: 3px solid #a00;
    background-color: #fdd;
    font-weight: bold;
    padding-left: 0.8em;
}

.grey { color: #666; }

.bordered {
	border:1px solid #999;
}

