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

h1, h2, h3, h4 {
    color: #44f;
    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-top {
    background: white;

    border-bottom: solid #448 1px;

    margin: 0px;
    padding-top: 4px;
    padding-bottom: 1px;
}

span.layout-top-menu {
    padding-top: 1px;
    float: right;
}

.mainmenuitems a {
    color: #448;
    font-size: normal;
    text-decoration: none;
    background: #eeeeff;
    border-left: solid #448 1px;
    border-right: solid #448 1px;
    border-top: solid #448 1px;
    margin-right: 4px;
    padding-left: 4px;
    padding-right: 4px;
}

.mainmenuitems a:hover {
    text-decoration: none;
    background: #ccccff;
    color: #448;

}

a.sitelink {
    color: navy;
    font-weight: bold;
    padding: 0px 1ex;
    text-decoration: none;
}

a.sitelink:hover {
    color: black;
}

/* Side */

#side1 {
    float: left;
    width: 180px;
}

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

#side2 {
    float: right;
    width: 150px;
}

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

div.layout-side h4 {

    white-space: nowrap;
    color: white;
    font-size: small;
    margin: 0px;
    padding: 0px 2px 0px 2px;
    display: block;
    background: navy;
}

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 {
    border: solid navy 2px;
    margin: 4px 4px 0px 4px;
}

.sidemenublockitems {
    padding: 5px 5px 5px 5px;
    background: #ddddff;
}

/* Main */

div.layout-main {
    background: #eeeeff url(/img/logo-bg-blue.gif) bottom right no-repeat;
    margin-left: 180px;
    margin-right: 150px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 1ex 1ex 1ex 1ex;
    border: 2px navy solid;
    min-height: 400px;
}

/* Bottom */

div.layout-bottom {
    margin: 0px;
    padding: 3px;
    clear: both;
    font-size: xx-small;
    color: #448;
    text-align: center;
    clear: both;
}

div.layout-bottom span.footer-left {
    float: left;
    padding: 1px;

}

div.layout-bottom span.footer-right {
    float: right;
    padding: 1px;
}

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;
}
