body {
    background-color: #fafafa;
    color: black;
    font-family: verdana, tahoma, helvetica, sans-serif;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, h4 {
    color: black;
    font-family: verdana, tahoma, helvetica, sans-serif;
}

/* General */

small {
    font-size: 70%;
}

a {
    color: #555555;
}

a:hover {
    color: black;
}

/* Body */

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

/* Top */

.layout-top {
    background: #ccc url(/img/h-strips.gif) top left repeat;
    border-top: solid #888 1px;
    border-bottom: solid #888 1px;
    border-right: solid #888 1px;
    margin: 0px;
    padding: 0px;

}

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

.mainmenuitems a {
    color: black;
    font-size: normal;
    text-decoration: none;
    background: #ccc url(/img/menu-gradient.gif) top left repeat-x;
    border-left: solid #888 1px;
    border-bottom: solid #888 1px;
    padding: 0px 1ex 0px 1ex;
    margin: 0px;


}

.mainmenuitems a:hover {
    text-decoration: none;
    background: #333 url(/img/menu-gradient-dark.gif) top left repeat-x;
    border-left: solid #555 1px;
    color: white;
}

a.sitelink {
    color: #666;
    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: 150px;
}

#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: #eee;
    font-size: small;
    margin: 0px;
    padding: 0px 2px 0px 2px;
    display: block;
    background: #888;
}

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: #555555;
    text-decoration: none;
}

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

.sidemenublock {
    border: solid #888 2px;
    margin: 4px 4px 0px 4px;
}

.sidemenublockitems {
    padding: 5px 5px 5px 5px;
    background: white url(/img/sidemenu-gradient.gif) top left repeat-y;
}

/* Main */

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

/* Bottom */

div.layout-bottom {
    padding: 3px;
    clear: both;
    font-size: xx-small;
    color: #555555;
    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 {
    color: #555555;
    text-decoration: none;
}

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

span.off {
    background: #ccc url(/img/menu-gradient.gif) top left repeat-x;
    border: solid #888 1px;
}

span.on {
    background: #333 url(/img/menu-gradient-dark.gif) top left repeat-x;
    border: solid #555 1px;
}
/* Breadcrumbs Blog */

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

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

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

.sidenote {
    background-color:#ffe;
    border:solid #AA8 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: #eeeeee;
        padding: 4pt;
        border: solid #dddddd 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 #aaa 1px;
    background-color: #eee;
}

/* 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: 2px solid #888888;
  padding: 0px;
  background-color: #eeeeee;
}

table.PageTOC th {
  background-color: #888888;
}

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

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

div.writeback {
    background-color: #eeeeee;
    padding: 4px;
    border: solid black 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: #008;
}

/* 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: Verdana, Tahoma, Arial, sans-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 black solid;
    color: #888;
    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: #888 solid 1px;
    background: #fff;
    margin: 4px;
    padding: 0px;
}

div.comment h3 {
    background: #999;
    border-bottom: #444 solid 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 #ccc 2px;
	border-right: solid #ccc 2px;
}

.books table th {
	background-color: #ccc;
	color: #000;
	padding: 4px;
}

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