/*
Theme Name: Lexicon
Theme URI: http://drollic.net
Description: Custom theme for the Good Omens Lexicon, based on the theme Twenty Ten by the WordPress team.
Author: Linn Oyen Farley
Version: 1.0
*/


/** RESET default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- **/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { background: transparent; border: 0; margin: 0; padding: 0; }
body { line-height: 1; }
h1, h2, h3, h4, h5, h6 { clear: both; font-weight: normal; }
ol, ul { list-style: none; }
blockquote { quotes: none; }
blockquote:before, blockquote:after { content: ''; content: none; }
del { text-decoration: line-through; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }
a img { border: none; outline: none; }

/** End RESET 
-------------------------------------------------------------- **/



/** MAIN STYLES
-------------------------------------------------------------- **/

body { background: rgb(255, 255, 255); color: rgb(21, 21, 21); font: 15px 'Trebuchet MS', Helvetica, Arial, sans-serif; }
h1, h2, h3, h4, .sidebar a { font-family: 'Corben', serif; }

h1 { font-size: 2.8em; margin: 0 0 10px 0; line-height: 1em; }
h2 { font-size: 2.2em; line-height: 1em; margin: 0 0 10px 0; }
h3 { font-size: 1.3em; margin: 0 0 10px 0; }
.sidebar h3 { text-transform: uppercase; } 
h4 { font-size: 1.5em; margin: 0 0 10px 0; text-transform: uppercase; }

p, .main ul, .main ol { line-height: 1.6em; margin-bottom: 15px; }
p.pullup { margin: -15px 0 10px 0; }

a:link, a:visited { color: #cc6600; font-weight: bold;  text-decoration: none; outline: none; }
a:hover, a:active, a:focus { color: #663333; font-weight: bold; text-decoration: none; outline: none; }

.header a { display: block; height: 200px; width: 100%; }
.header .logo a { height: 95px; }

acronym, abbr, span.caps { cursor: help; font-size: 0.9em; letter-spacing: .07em; }
acronym, abbr { border-bottom: 1px dashed rgb(160, 160, 160); }
blockquote { background: rgb(240,240,240); background: rgba(240,240,240,0.5); margin: 0 0 15px 0; padding: 15px 15px 5px 15px; }
.nocomments, .postmetadata, small, strike { color: rgb(160, 160, 160); }
.center { display: block; text-align: center; }
cite, em, i { font-style: italic; }
.clear { clear: both; height: 0; margin: 0; padding: 0; }
code { background: rgb(240,240,240); font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 0.9em; display: block; line-height: 2em; padding: 0.5em; }
.hidden { display: none; }
hr { background-color: rgb(210, 210, 210); clear: both; color: rgb(160, 160, 160); border: 0; height: 1px; margin: 0 auto 10px auto; width: 100%; }
hr.clear { background: none; border: 0; height: 0; margin: 0; padding: 0; opacity: 0; filter: alpha(opacity=0); }
input, a.button { background: #f1f1f1; border: 1px solid #ccc; font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif; font-weight: normal; margin: 5px 0 10px 0; padding: 5px; }
a.button { color: rgb(21, 21, 21); font-size: 0.75em; padding: 6px; }
.main input[type="submit"], a.button { cursor: pointer; margin: 5px 5px 15px 0; }
.search input { padding-right: 22px; width: 130px; }
.search input.btn { border: 0; background: url(images/search.png) no-repeat; font-size: 0; height: 25px; margin: 0 0 0 -25px; padding: 0; width: 15px; }
ins { background: #ffc; text-decoration: none; }
.navigation { display: block; padding: 10px 50px 0 50px; }
.postmetadata { text-align: center; clear: both; }
pre { font-family: "Courier 10 Pitch", Courier, monospace; }
.small { font-size: 0.83em; }
strong { font-weight: bold; }

/** End MAIN STYLES
-------------------------------------------------------------- **/



/** STRUCTURE
-------------------------------------------------------------- **/

.container { margin: 0 auto; width: 850px; }

/* Header */
.header { background: url(images/headers/rotate.php) no-repeat top left; border-bottom: 2px solid black; height: 200px; margin: 0 auto; width: 920px; }
.logo { background: url(images/logo.png) no-repeat bottom center; float: right; height: 95px; margin-top: -95px; width: 536px; }

/* Sidebar */
.sidebar { border-right: 2px solid black; float: left; margin-right: -5px; padding: 10px 28px 0 0; width: 170px; }
.sidebar ul { font-size: 1.1em; line-height: 1.7em; list-style-type: none; margin: 0; }
.sidebar .widget { margin: 0 0 20px 0; }

/* Primary content */
.main { border-left: 2px solid black; float: right; padding: 10px 0 0 30px; width: 620px; }

/* Footer */
.footer { border-top: 2px solid black; clear: both; font-size: 0.8em; margin: 0; padding: 20px 0 0 0; width: 100%; }
.credits { float: right; }
.back { display: none; }

/** End STRUCTURE
-------------------------------------------------------------- **/



/** LISTS
-------------------------------------------------------------- **/

ul { list-style: square; margin: 0 0 0 15px; }
ol { list-style: decimal; margin: 0 0 0 15px; }
li { margin-bottom: 5px; }
ol ol { list-style: upper-alpha; }
ol ol ol { list-style: lower-roman; }
ol ol ol ol { list-style: lower-alpha; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }
dl { margin: 0 0 15px 0; }
dt { font-weight: bold; }
dd { margin-bottom: 15px; }

/** End LISTS
-------------------------------------------------------------- **/



/** TABLES
-------------------------------------------------------------- **/

.main table { border: 0; margin: 0 0 15px 0; text-align: left; width: 100%; }
.main td, .main th { padding: .5em; }
.main tr td { padding: 6px; }
.main table.noborder, .main table.noborder tr td { border: 0; }

/** End TABLES
-------------------------------------------------------------- **/



/** IMAGES
-------------------------------------------------------------- **/

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
.main img, img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img, img.attachment-thumbnail, .wp-post-image { border: 0; max-width: 100%; /* When images are too wide for containing element, force them to fit. */ height: auto; /* Override height to match resized width for correct aspect ratio. */ }
.alignleft, img.alignleft { display: inline; float: left; margin-right: 1%; }
.alignright, img.alignright { display: inline; float: right; margin-left: 1%; }
.aligncenter, img.aligncenter {	clear: both; display: block; margin-left: auto; margin-right: auto; }
img.alignleft, img.alignright, img.aligncenter, .main img { margin-bottom: 15px; }
.wp-caption { max-width: 690px !important; /* prevent too-wide images from breaking layout */ padding: 4px; text-align: center; }
.wp-caption img { margin: 0; }
.wp-caption p.wp-caption-text { color: #888; font-size: 12px; margin: 0 5px; }
.wp-smiley { margin: 0; }

.gallery { margin: 0 auto; }
.gallery .gallery-item { float: left; margin: 0 2% 15px 2%; text-align: center; width: 29%; }
.gallery-columns-2 .gallery-item { width: 46%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-2 .attachment-medium { max-width: 92%; height: auto; }
.gallery-columns-4 .attachment-thumbnail { max-width: 84%; height: auto; }
.gallery .gallery-caption { color: #888; margin: 0 0 -10px 0; }
.gallery dl { margin: 0; }
.gallery br+br { display: none; }
.main .attachment img {/* single attachment images should be centered */ display: block; margin: 0 auto; }

iframe { display: block; max-width: 100%; margin: 0 auto 25px auto; *width: 100%; }

#titleText { display: none!important; }

/** End IMAGES
-------------------------------------------------------------- **/



/** PRINT STYLE
-------------------------------------------------------------- **/

@media print {
	.rightnav, .leftnav, .sharing, .post-edit-link, .footer { display: none!important; }
        .header, .highlighted, .leadin, .main { background: white; border: 0; color: black; text-shadow: none; }
        .container { max-width: 90%; width: 90%; }
        .highlighted .video, .highlighted .text { float: none; width: 100%; }
        .home-intro { display: block; width: auto; }
        .home-photo-left-top { display: none; }
        .home-photo-left { display: inline; float: left; }
        .home-photo-right { float: right; }
        .home-photo-left, .home-photo-right { margin: 0 auto 10px auto; text-align: center; width: 45%; }
	.main p a:link:after { content: " [" attr(href) "] "; }
}

/** End PRINT STYLE
-------------------------------------------------------------- **/