body {
    background:#ffffff;
    color: #000;
    font-family: Georgia, serif;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, h4 {
    color: navy;
    font-family: Trebuchet MS, century gothic, verdana, tahoma, helvetica, sans-serif;
}

/* General */

small {
    font-size: 70%;
}

a {
    color: #22a;
}

a:hover {
    color: #44f;
}

/* Body */

.layout-body {
    padding-left: 0px;
    padding-bottom: 1px;
}

/* Top */

.layout-title {
    background: #ffffff url(./images/hdo-title-bg.png) top left repeat-x;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 170px;
	margin-right: 150px;
	padding-top: 0px;
	padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 0px;
	text-decoration:none;
}

.mainmenuitems {
    background: #ffffff;
	margin-left: 180px;
	margin-right: 150px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 72px;
	padding-right: 3ex;
	padding-top: 12px;
	padding-bottom: 0px;
	text-align: left;	
}
.mainmenuitems a {
    color: #448;
    font-size: normal;
    font-weight: bold;
    font-family: Trebuchet MS, century gothic, verdana, tahoma, helvetica, sans-serif;
    text-decoration: none;
    background: #d9dadb;
    border: none;
    margin: 0px;
	padding-left: 1ex;
	padding-right: 1ex;
	margin-left: 1ex;
	padding-top: 4px;	
}

.mainmenuitems a.current {
    text-decoration: none;
    background: #c7031a;
    color: white;
}

.mainmenuitems a:hover {
    text-decoration: none;
    background: #f6dc00;
    color: black;
}

.mainmenuitems a.current:hover {
    text-decoration: none;
    background: #55ab26;
    color: white;
}

/* Side */

#side1 {
    float: left;
    width: 180px;
	/*
	border-right: solid #000000 5px;
	border-collapse:collapse;
	*/
}

#side21 {
    position: absolute;
    right: 0px;
    top: 2em;
    width: 140px;
}

#side2 {
	/* background: white; */
    float: right;
    width: 160px;
}

div.layout-side {    
    margin: 0px 0px 0px 0px;
    padding: 0px;
    overflow: visible;
}

div.layout-side h4 {
    white-space: nowrap;
    color: #000000;
    margin: 0px;
	margin-left: 10px;
    padding-top: 8px;
	padding-right: 4px;
	padding-bottom: 2px;
	padding-left: 4px;
    display: block;
	border-bottom: #000000 solid 5px;
}


#side1 h4 {
	text-align: right;
}

div.layout-side ul {
    list-style-type:none;
    padding: 0px 0px 0px 0px;
    margin: 0px;
}

div.layout-side li {
    padding-left: 0px;
    margin-left: 0px;
}

div.layout-side li li {
    margin-left: 10px;
}

div.layout-side a {
    color: black;
    text-decoration: none;
}

div.layout-side a:hover {
    text-decoration: underline;
    color: navy;
}

.sidemenublock {
}

.sidemenublockitems {
    padding: 5px 5px 5px 5px;
}

#side1 .sidemenublockitems {
	text-align: right;
}

#side2 .sidemenublockitems {
	font-size: smaller;
	padding-left: 12px;
}
/* Main */

div.surround-main {
	background: white url(./images/margin.png) top left repeat-y;
	border: solid #000 5px;
	border-collapse:collapse;
	margin-left: 180px;
	margin-right: 150px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 28px;
}

div.layout-main {
	/* background: transparent url(./images/logo-stamp.png) bottom  right no-repeat; */
	padding: 1ex 1ex 1ex 1ex;
	min-height: 400px;
}

/* Bottom */

div.layout-bottom {
	font-family: Trebuchet MS, century gothic, verdana, tahoma, helvetica, sans-serif;
    background: #ffffff;
    margin-top: 0px;
    margin-bottom: 4px;
    margin-left: 180px;
    margin-right: 150px;
    padding: 0px;
    clear: both;
    font-size: small;
    color: #000000;
    text-align: center;
    clear: both;
}

div.layout-bottom span.footer-left {
    float: left;
    border-left: #000000 solid 5px;
	border-right: #000000 solid 5px;
	padding: 8px;
}

div.layout-bottom span.footer-right {
    float: right;
    border-left: #000000 solid 5px;
	border-right: #000000 solid 5px;
	padding: 8px;
}

div.layout-bottom span.footer-middle {
}

div.layout-bottom a {

    text-decoration: none;
}

div.layout-bottom a:hover {
    text-decoration: underline;
    color: black;
}

span.off {
    border: solid #448 1px;
    background: #ffffff;
    padding-left: 1px;
}

span.on {
    border: solid #448 1px;
    background: #aaaaee;
    padding-left: 1px;
}

/* Breadcrumbs Blog */

.breadcrumbs {
    font-size: small;
    font-weight: bold;
    color: navy;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
}

.breadcrumbs a {
    color: navy;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: blue;
}

.sidenote {
    background-color:#ffffee;
    border:solid navy 2px;
    width:30%;
    padding:15px;
    margin-left:25px;
    margin-bottom:25px;
    float:right;
    font-size:80%;
    text-align: left;
}

.sidenote em {
    font-family: serif !important;
    font-style: italic !important;
}

.moreentries a {
    text-decoration: none;
}

.moreentries a:hover {
    text-decoration: underline;
    color: black;
}

.blogstory {
    text-align:justify;
}

.blogstory tt {
    font-size: 120%;
    font-weight: bold;
}

.blogstory blockquote {
    background-color: #aeaeff;
    padding: 4pt;
    border: solid #88f 1px;
    font-size: 90%;
}

/* Quiz */

tbody.quiz input {
    color: #00f;
    border: 1px solid black;
    background-image: url('/img/input-bg-white.gif');
    padding-left: 3px;
    padding-right: 3px;
}

form.quiz td {
    vertical-align: top;
}

form.quiz td.comment {
    font-style: italic;
    font-family: Georgia, serif;
}

form.quiz pre.source {
    margin: 4px;
    padding: 4px;
    border: solid #a84 1px;
    background-color: #fffffe;
}

/* XML Quiz */

.explanation {
    font-style: italic;
}

/* Drill */

table.transliteration tr.translit td {
  text-align:center;
  background-color: #cccccc;
  padding: 3px 8px 3px 8px;
}

table.transliteration tr.original td {
  text-align:center;
  background-color: #8888ff;
  padding: 3px 8px 3px 8px;
}

.pron {
    font-family: Courier New, Lucida Sans Unicode, Arial, helvetica;
}

table.PageTOC {
  border: none;
  padding: 0px;

}

table.PageTOC th {

}

table.PageTOC td a {
  font-size: smaller;

}

div.writebacks {
    border-top: solid #448 1px;
}

div.writeback {
    background-color: white;
    padding: 4px;
    border: solid #448 1px;
}

.writeback table input {
    color: #00f;
    border: 1px solid black;
    background-image: url('/img/input-bg-white.gif');
    padding-left: 3px;
    padding-right: 3px;
}

.writeback table textarea {
    color: #00f;
    border: 1px solid black;
    background-image: url('/img/input-bg-white.gif');
    padding-left: 3px;
    padding-right: 3px;
}

.writeback table th {
    text-align: left;
    vertical-align: top;
    font-style: normal;
    font-weight: normal;
    font-size: 90%;
}

b.keyword {
    color: #420;
}

/* Game */

a.clicker {
    font-size: smaller;
    font-weight: bold;
    text-decoration: none;
}

a.clicker:hover {
    font-size: smaller;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background-color: black;
}

/* Profile */

.profile {
    font-family: Georgia, serif;
}

.profile h1 {
    font-size: 140%;
    margin-left: 120px;
    padding-left: 10px;
    padding-bottom: 0px;
    margin-bottom: 5px;
    margin-top: 0px;
}

.profile th {
    padding-left: 10px;
    border-top: 5px #448 solid;
    color: #44f;
    font-family: Trebuchet MS, century gothic, verdana, tahoma, helvetica, sans-serif;
    font-size: 140%;
    text-align: left;
}

.profile td.entry {
    padding-left: 10px;
}

.profile td.subentry {
    padding-left: 20px;
    text-align: left;
}

.profile td.date {
    text-align: right;
    white-space: nowrap;
    font-weight: bold;
    padding-top: 10px;
    vertical-align: bottom;
}

.profile td.project {
    padding-top: 10px;
    padding-left: 10px;
    vertical-align: bottom;
}

.profile td.project small {
    font-size: 70%;
}

.profile td.subentry small {
    font-size: 90%;
    font-weight: bold;
}

.profile .notes {
    font-size: 70%;
}

div.comment {
    border: #448 solid 1px;
    background: #fed;
    margin: 4px;
    padding: 0px;
}

div.comment h3 {
    background: #bbe;
    border-bottom: #448 dotted 1px;
    margin: 0px;
    padding-left: 4px;
    padding-right: 4px;
}

div.comment p {
    margin: 4px;
    padding: 4px;
}


.books a {
	text-decoration: none;
}

.books table {
	border-spacing: 0px;
	border-collapse: collapse;
	border-left: solid #ccf 2px;
	border-right: solid #ccf 2px;
}

.books table th {
	background-color: #ccf;
	color: #44f;
	padding: 4px;
}

.books table td {
	background-color: #fff;
	padding: 10px;
	border-bottom: solid #ccf 2px;
}









