body
{
    margin:0;
    padding: 0;
    padding-bottom: 1em;
    text-rendering: optimizeLegibility;
}

a img
{
	border: none
}

body #box
{
    background-color: white;
    color: #342220; /* dark chocolate brown */
    font-family: Futura-Medium, 'Futura Medium', Futura,  "trebuchet ms",  "bitstream vera sans", sans-serif;
    font-size: 1em;
    text-rendering: optimizeLegibility;
    position: relative;
    margin: 1em auto;
    width: 765px;
    border: 2px solid;
    z-index: 10;
    border-radius: 5px;
}

#banner
{
  overflow: hidden;
  border-radius: 3px;
  border: 0;
}

#skiplinks
{
    display: none
}

#content
{
    padding-left: 1em;
}


h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
    margin-bottom:0;
}


h2, h3, h4, h5, h6
{
    border-top: 2px solid;
    margin-top: 2em;
}

#work h3
{	
	border-top: none
}

#content p,
#content pre,  
#content address,
#content ul,
#content ol,
table
{
    font-family: georgia, 'Microsoft Georgia Regular', serif;
    text-rendering: optimizeLegibility;
    line-height: 1.6em;
    font-size: 0.9em;
    margin-left: 190px;
    margin-top:0;
    padding-left: 8px;
    padding-right: 2em;
}

#content ol
{
	list-style-type: none;
}

#content ol p:first-child:before
{
	content: counter(list-numbers);
	display: -moz-inline-box;
	display: inline-block;
	text-align: right;
	margin-right: 5px;
	width: 50px;
	margin-left: -55px;
}

ol.maintainable-css-principles p:first-child
{
	font-weight: bold;
	margin-bottom: 0;
}

#content ol li
{
		counter-increment: list-numbers;
}

#content code
{
    font-family: 'avant garde mono itctt', monaco, 'andale mono', 'bitstream vera sans mono', monospace;
}

#content li ul
{
    margin-left: 1em;
    padding-left: 0;
    font-size: 1em
}

#content ol p
{
	margin-left: 0;
	padding-left: 0;
	padding-right: 0
}

abbr
{
    border: none;
    font-style: normal;
    letter-spacing: 0.1em;
    font-variant: small-caps
}

address
{
    font-style: normal;
    line-height: 1.6em;
    margin-bottom: 1em
}


#skiplinks
{
    position: absolute;
    top: 0;
    left: 0;
}


#banner
{
    margin: 0;
}



#navigation
{
    position: absolute;
    top: 135px;
    left:0;
    width: 100%;
    margin: 0;
    padding: 0;
}



#navigation li
{
    width: auto;
    float: left;
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


#navigation li a
{
    text-decoration: none;
    color: #342220;
    background-color: transparent;
    display: block;
    line-height: 17px;
    text-align: center;
    position: relative;
    border-bottom: none;
    padding: 0 1.2em;
}

#navigation li a:visited
{
    color: #443230;
    border: none;
}

#navigation li a:hover
{
    background-color: rgb(52,34,32); 
    opacity: 0.65;
    color: white;
    border-bottom: 1px solid #2444ee; /*light blue border*/
}

/* sticky menus */
#index #aindex, 
#work #awork, 
#contact #acontact,
#cv #acv,
#bugs #abugs,
#stuff #astuff
{
    border-bottom: 4px solid #342220;
}


/* sticky menus  no hover effect normal mouse pointer*/
#index #aindex:hover,
#work #awork:hover,
#contact #acontact:hover,
#cv #acv:hover,
#bugs #abugs:hover,
#stuff #astuff:hover
{
    background-color: transparent;
    color: #342220;
    cursor: default;
    opacity: 1
}


/* general links*/
#content a
{
    text-decoration: none;
    color: #022280;
    background-color: transparent;
    border-bottom: dotted 1px;
}

#content a:visited
{
    color: #802240;
    border-bottom: 1px dashed #701130
}

#content a:hover
{
    color: #2444ee;
    border-bottom: 1px solid #2444ee;
}

a[href^="http://"] 
{
    padding-left: 12px;
    background-image: url(../image/external.gif);
    background-repeat: no-repeat;
    background-position: 0 0.27em;
}

table
{
    width: 719px;
    border-collapse: collapse;
    margin-left:0;
    margin-bottom: 1em
}


#box th a,
#box th a:hover,
#box th a:visited
{
    color: #342220; /* dark chocolate brown */
    background: transparent;
}

th
{
    text-align: left;
    font-weight: bold;
    font-size: 0.9em
}


thead th
{
    border-bottom: 1px solid
}

th,
td
{
    padding: 0 3px
}

tr.even td,
tr.even th,
tbody tr:nth-child(even)
{
    background-color:  #deccca;
}


tbody th,
colgroup:first-child,
thead th.first:first-child
{
    border-right: 1px solid;
}

tbody th
{
	width: 187px
}

thead tr.first th
{
    border-bottom: none;
}

thead tr.first th:first-child
{
   border-bottom: 1px solid;
    border-right: 1px solid;
    vertical-align: bottom
}

.date
{
	letter-spacing: 1px
}



q:before
{
	content: "‘";
}

q:after
{
	content: "’";
}

ul.notes
{
	text-indent: -0.75em;
	list-style-type: none
}

ul.notes li.double
{
	text-indent: -1.3em;
}

p.note
{
	font-style: italic;
}

sup:before
{
	content: " "	
}

a#media,
a#media:visited,
a#media:hover
{
	float: right;
	width: 120px;
	border-bottom: none;
	margin: -1px -1px 0 10px
}

span.ampersand
{
	font-style: italic;
	font-family:  'hoefler text', palatino, "palatino linotype", 'warnock pro', cochin, "book antiqua", serif;
}

h3 span.ampersand,
h2 span.ampersand,
h1 span.ampersand
{
	font-weight: bold;
}


