/* This is the definitive CSS file for decent browsers.  That's more or less
 * everything not made by the Beast of Redmond.
 *
 * IE-specific hacks are handled later.
 */

/* General styling: colours, fonts, handling of basic markup; overriding any
 * pre-existing browser styles.
 */

* {
    margin: 0;
    padding: 0;
}
body {
    background: #fff url("body-bg.png") top left repeat-x;
    color: #000;
    /* Linux, Mac, Windows fonts.  I wanted to use Helvetica Neue on OS X, but
     * the vertical positioning of its bold variant is out of line with the
     * normal weight. */
    font-family: "Georgia", serif;
    font-size: 14px;
}
a {
    text-decoration: underline;
    color: inherit;
}
a:hover {
    color: #911;
}
img {
    border: none;
}
li ul li,
li ol li,
li {
    text-indent: 0;
}
ul, ol { list-style-position: inside; }
ul { list-style-type: square; }
ul, ol, p, dd, dt {
    margin-bottom: 15px;
    line-height: 1.83em;
}
pre, code, pre em {
    font-family: "DejaVu Sans Mono", "Vera Sans Mono", "Monaco", "Andale", "Courier New", monospace;
    font-weight: normal;
    font-style: normal !important;
    margin-bottom: 15px;
    line-height: 1.83em;
}
pre, p code {
    font-size: 90%;
}
pre em {
    color: red;
}
textarea{
    font-family: inherit;
}
blockquote {
    margin-bottom: 15px;
    padding: 15px 15px 0 15px;
    background: #eee;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-style: italic;
}
blockquote i,
blockquote em {
    font-style: normal;
}
:lang(zh),
:lang(ja),
:lang(ko){
    font-style: normal !important;
}
td, th {
    padding: 1px 5px;
    border: 1px solid #ddd;
    font-family: "DejaVu Sans", "Bitstream Vera Sans","Helvetica","Arial",sans-serif;
    font-weight: normal;
}
th {   
    font-weight: bold;
}
table {
    margin-bottom: 15px;
    border-collapse: collapse;
}

h1, h2, h3, h4 {
    font-family: "DejaVu Sans", "Bitstream Vera Sans","Helvetica","Arial",sans-serif;
    font-weight: normal;
    text-decoration: none;
    color: #911;
    margin-bottom: 15px;
}
h1, h2 {
    letter-spacing: -0.06em;
}
h1 a, h2 a, h3 a, h4 a {
    text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
    text-decoration: underline;
}

h1 { 
    font-size: 2em; 
}
h2 { 
    font-size: 1.5em; 
}
h3 { font-size: 1.17em; }
h4 { 
    font-size: 1em; 
    margin-bottom: 0; 
    font-weight: bold;
    color: #000;
}
ins {
    text-decoration: none;
    background-color: #dfd;
}
del {
    background-color: #fdd;
}

/* Positioning and sizing of main elements */

#page {
    margin: 0 auto;
    width: 780px; 
}

#header {
    padding: 0 15px;
    height: 200px;
    width: 750px;
    background: transparent url("top.png") 15px 0px no-repeat;
}

#content {
    float: left;
}
div.full { 
    margin: 30px 15px 15px;
}
div.column { 
    width: 485px;
    margin: 30px 0 15px;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid #ddd;
}

#sidebar {
    float: left;
    margin: 30px 0 15px -1px;
    padding: 0 15px;
    width: 234px;
    border-left: 1px solid #ddd;
}

#footer {
    clear: both;
    background: #eee;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: block;
    width: 750px;
    padding: 10px 0 0 0;
    margin: 15px;
}
#footer p {
    padding: 0;
    margin: 0 0 10px;
    width: 748px;
    text-align: center;
}

#header {
    font-size: 1.17em;
}

#header h1 {
    width: 0;
    height: 0;
    position: absolute;
    overflow: hidden;
}

/* Navigation bar 
 *
 * The idea here is that we use the top padding to push the navigation bar out
 * the bottom, then give it a negative margin to bring it back up onto the
 * header area. This lets us use (scalable) em measurements such that the
 * navigation bar appears correctly at any scale.
 *
 * Whaddayaknow - it even works properly in IE! (Subject, of course, to the
 * float hacks applied elsewhere.)
 */

#nav {
    padding: 200px 0 0 0;
    margin: -32px 0 0 0;
    height: 32px;
    width: 100%;
    float: right;
    text-transform: lowercase;
    font-family: "DejaVu Sans", "Bitstream Vera Sans","Helvetica","Arial",sans-serif;
}
#nav ul {
    list-style: none;
    float: right;
    padding: 0;
    margin: 0;
}
#nav li { 
    line-height: 32px;
    display: inline;
    height: 100%;
    padding: 0;
    margin: 0;
}
#nav li a {
    background: none;
    color: #000;
    text-decoration: none;
    margin-left: 0.25em; 
    padding: 0 0.5em; 
    height: 100%;
    float: left;
}
#nav li a.active {
    font-weight: bold;
}
#nav li a.active,
#nav li a:hover {
    background: #000 url("tab.png") top left repeat-x;
    color: #fff;
}

/* Some styling of the main content area */

.column div {
    margin: 0 0 15px 0;
    padding: 0;
    border-bottom: 1px solid #ddd; 
}
.column div div {
    margin: 0;
    border: none;
}
.licence,
.postinfo,
.platforminfo {
    color: #b50;
}
.platforminfo {
    margin-top: -15px;
}
.postinfo abbr {
    text-transform: uppercase;
    font-size: 0.83em;
}

/* Sidebar */

#sidebar {
    font-size: 12px;
}
#sidebar h1 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
}

#sidebar div {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
#sidebar p,
#sidebar ul, 
#sidebar ol {
    line-height: 1.2em;
    margin: 0 0 10px 0;
}
#sidebar li {
    line-height: 1.2em;
}
/* This has no effect in Safari, which always uses OS native widgets, but in
 * most other browsers, it styles the box with a nice little magnifying glass
 * icon. */
#sidebar input {
    width: 203px;
    border: 1px solid #888;
    padding: 4px 4px 4px 25px;
    background: #fff url("search.png") 2px center no-repeat;
}

/* Photos */

.photos img {
    padding: 1px;
    margin: 15px auto 0;
    display: block;
    border: 1px solid #ddd;
}

ul.photos {
    padding: 0;
    margin: 24px -21px 0 0;
    list-style: none;
}

.photos li {
    float: left;
    padding: 0;
    margin: 0 18px 18px 0;
    width: 236px;
    height: 311px;
    background: #eee;
    border: 1px solid #ddd;
}

.photos p.image {
    line-height: 0;
    padding: 0;
    margin: 0 auto;
}

.photos p.caption {
    display: block;
    font-size: 10.5px;
    padding: 2px;
    margin: 5px auto 0;
    width: 200px;
    height: 70px;
    line-height: 1.1em;
    overflow: auto;
    text-align: justify;
}

.gallery_thumb {
    border: 1px solid #ddd;
    background: #fff;
    padding: 1px;
    margin: 0 12px 24px 0;
    float: left;
}
.gallery_excerpt {
    clear: both;
    margin: 0 0 24px 0;
    padding: 0;
}
.gallery_excerpt p,
.gallery_excerpt h2 {
    margin-left: 96px;
}
    
/* The next/previous navigation */

#pager {
    width: 100%;
    margin: 0;
    padding: 0;
}

#pager li {
    display: inline;
    width: 48%;
}

#pager .older {
    float: left;
    text-align: left;
}
#pager .newer {
    float: right;
    text-align: right;
}

/* Comments */

ol.comments {
    list-style: none;
}

ol.comments li {
    background: #eee;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    margin: 0 0 15px 0;
}

.comments img.gravatar {
    float: right;
    padding: 1px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 0 0 10px 10px;
}

.comments h3 {
    border: none;
    margin-right: 60px;
}

.commentinfo {
    font-size: 10px;
    color: #b50;
    margin: -15px 0 10px 0;
    padding: 0;
}

#txpCommentInputForm {
    padding: 10px 10px 0 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #eee;
}
#txpCommentInputForm input {
    padding: 0;
    margin: 0;
}
#txpCommentInputForm div, 
#txpCommentInputForm fieldset {
    border: none;
    clear: both;
    padding: 0;
    margin: 0 0 10px 0;
}
#txpCommentInputForm .l label {
    float: left;
    width: 70px;
    text-align: right;
    padding: 2px 10px 0 0;
}
#txpCommentInputForm .r label {
    margin: 0 0 0 80px;
    padding: 1px 0;
    display: inline;
    clear: both;
}
#txpCommentInputForm .r label:hover {
    background: #ccc;
}
#txpCommentInputForm .r input {
    margin-right: 0.5em;
}
#txpCommentInputForm .s {
    padding-left: 80px;
}
#txpCommentInputForm .s input {
    margin-right: 1em;
}
#txpCommentInputForm textarea, 
#txpCommentInputForm .l input {
    width: 370px;
}
#txpCommentInputForm p {
    clear: both;
}

.hall_of_shame img {
    border: 1px solid #000;
}
.hall_of_shame td {
    padding: 1px 5px 1px 0;
    border: none;
    font-family: "DejaVu Sans", "Bitstream Vera Sans","Helvetica","Arial",sans-serif;
    font-weight: normal;
    font-size: 10px;
}
.hall_of_shame table {
    margin-bottom: 0px;
    border-collapse: collapse;
}

.notice {
    background: #ffa;
    border: 1px solid #f88;
    padding: 10px;
    margin: 0 0 15px 0;
}

/* Floated image */
img.floated {
    float: right;
    padding: 0.5em 0 0.5em 0.5em;
}

/* hReview */

.hreview .version,
.hreview .type,
.hreview .item .fn,
.hreview .item .identifiers {
    display: none;
}
.hreview .rating {
    font-size: 200%;
}

/* Play dl markup */

dl.play dd {
  clear: left;
  width: 19%;
  float: left;
  font-style: italic;
}
dl.play dt {
  float: left;
  width: 80%;
}

/* Recipes */

dl.recipe {
    margin-bottom: 1em;
}
dl.recipe dt {
    float:left;
    margin: 0;
    padding: 0;
    width: 4em;
}
dl.recipe dd {
    margin: 0;
    padding: 0;
}

/* Highlight */

strong.highlight {
  font-weight: inherit;
  background-color: #fbb;
}

/* FIN */
