body {
    margin: 0 auto;
    padding: 0;
    background: #f4f4f4 url(img/bg.gif) top center repeat-y;
    font-family: 'Trebuchet MS', 'Verdana', 'Bitstream Vera Sans', sans-serif;
    font-size: 0.9em;
    text-align: justify;
}

a {
    text-decoration: none;
    color: #286ea0;
}

a:hover {
    text-decoration: underline;
    color: #286ea0;
}

a img {
    border: 0;
}

pre {
    font-family: 'Consolas', 'Monaco', 'Bitstream Vera Sans Mono', monospace;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    background-color: #f2f2f2;
    background-image: url(img/code.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

blockquote {
    margin: 5px 0 5px 0;
    padding: 5px 10px 5px 40px;
    background-image: url(img/quote.png);
    background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.8em 0 0 0;
    padding: 0;
    font-family: 'Georgia', serif;
    color: #21421e;
    text-align: left;
}

h2 {
    font-size: 2.5em;
    font-weight: normal;
    margin: 0.6em 0 0 0;
    border-bottom: 1px solid #ccc;
    letter-spacing: 0.02em;
    font-variant: small-caps;
    display: block;
    padding: 1px 5px 2px 5px;
    text-decoration: none;
}

h3 {
    font-size: 1.6em;
    font-weight: normal;
}

dl dt {
    margin: 5px 0 4px 0;
    font-size: 0.75em;
    color: #888;
    float: left;
    clear: both;
    width: 10em;
}

dl dd {
    margin: 3px 0 3px 40px;
    float: left;
}

p, blockquote {
    line-height: 1.4em;
}

ul li, ol li {
    padding: 4px 0 4px 0;
}

/* :::: FORM ELEMENTS :::: */
input, textarea {
    border: 1px solid #ccc;
    font-family: 'Georgia', serif;
    font-size: 0.9em;
    font-weight: bold;
    color: #2f2d2a;
    background-color: #f2f2f2;
    padding: 2px;
}

input:focus, textarea:focus {
    background-color: white;
}

textarea {
    width: 99%;
}

/* :::: PAGE :::: */
div.pagewrapper {
    background: #ffffff;
    color: #303030;
    margin: 0 auto;
    width: 760px;
}

div.page {
    width: 600px;
    margin: 0 auto 0 auto;
    background-color: white;
    background-repeat: repeat-x;
    border: 5px solid #e9e9e9;
    border-top: none;
    border-bottom: none;
    padding: 0 15px 0 15px;
}

div.contents {
    min-height: 20em;
}

div.subtext {
	margin: 2px 30px 2px 30px;
}

/* :::: HEADER :::: */

div.header {
    clear: both;
    margin: 20px 0 0 0;
    padding: 0;
    height: 45px;
}

div.header h1 {
    text-align: right;
    padding: 0px 20px 0 0;
    margin: 0;
    font-size: 30px;
    font-weight: normal;
    font-variant: small-caps;
    letter-spacing: 2px;
}

div.header h1 a {
    color: #000000;
    text-decoration: none;
}

div.header p.description {
    padding: 5px 20px 20px 0;
    margin: 0;
    color: #000000;
    text-align: right;
    font-family: 'Georgia', serif;
    font-size: 16px;
}

/* :::: FOOTER :::: */
div.footer {
    border-top: 1px solid #111;
    width: 100%;
    text-align: left;
    letter-spacing: 0.06em;
    color: #eee;
    background-color: #333;
}

div.footer p {
    margin: 0;
    padding: 0 10px 0 10px;
    line-height: 24px!important;
    font-size: 11px;
}

div.awards {
    margin: 5px;
    padding: 5px;
    text-align: right;
}
div.awards img {
    border: none;
    width: 80px;
    height: 15px;
}

div.footer a {
    color: #aaa;
    text-decoration: none;
}

div.footer a:hover {
    color: white;
}

/* :::: Navigation ::::: */

div.navigation {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 0.9em;
}

div.navigation img {
    margin: 0;
    padding: 0;
}

div.navigation ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 1.1em;
    height: 40px;
}	

div.navigation li {
    line-height: 14px;
    font-size: 14px;
    display: inline;
    margin-bottom: 4px;
}

div.navigation li a {
    font-weight: bold;
    height: 20px;
    text-decoration: none;
    color: #505050;
    padding: 13px 10px 13px 10px;
    border-bottom: 2px solid #cccccc;
    margin-left: 5px;
}	

div.navigation a img {
    position: relative;
    top: 20%;
}

div.navigation li a:hover {
    color: #286ea0;
    border-bottom: 2px solid #286ea0;
}

div.navigation li a:hover img {
    opacity: 0.8;
}

div.sub_navigation {
	margin-left: 25px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 0.85em;
	vertical-align: middle;
}

div.sub_navigation ul {
	display: inline;
	margin-left: 25px;
	padding: 0 0 0 0 !important;
}

div.sub_navigation li {
	margin-left: 40px;
	padding: 2px 0 2px 0 !important;
}

div.sub_navigation img {
	vertical-align: middle;
}
/* :::: POST LIST PAGES :::: */
div.post h4 {
    font-size: 1.9em;
    font-weight: normal;
    margin: 1em 0 0 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    letter-spacing: 0.02em;
    font-variant: small-caps;
}

div.post h4 a {
    color: #21421e;
    display: block;
    padding: 1px 5px 2px 5px;
    text-decoration: none;
}

div.post h4 a:hover {
    background-color: #21421e;
    color: #dae7d9;
}

div.post p.meta {
    color: #888;
    margin: 0;
    padding: 4px 0 4px 5px;
    font-size: 0.9em;
    background-image: url(img/metabg.png);
}

div.post p.meta a {
    color: #444;
}

div.post p.related a {
    color: #222;
}

div.text {
    margin: 10px;
}

div.post div.intro {
    margin: 5px;
    color: #444;
    font-style: italic;
}
