
/* --------------------------------
   General
----------------------------------- */

html {
	font-size: 62.5%; /* reset 1em to 10px */
	height: 100%;
}

body {
	background: #444 url('img/body.jpg');
	color: #444;
	font: normal 1.2em Verdana,Arial,sans-serif;
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
	padding-top: 64px;
}

small,.small {font-size: 0.9em;}

a {
	color: #EEC;
	text-decoration: none;
}
a:hover {
	color: #FFA;
	text-decoration: underline;
}

p {padding: 0.2em 0 1.2em;}

blockquote, code {
	background: #4A4A4A;
	border: 1px solid #333;
	color: #BBB;
	display: block;
	margin-bottom: 12px;
}
code {
	font: normal 0.9em Verdana,sans-serif;
	line-height: 1.5em;
	padding: 8px 14px;
}
blockquote {
	background: #4A4A4A url('img/quote.gif') no-repeat left top;
	padding: 6px 14px 6px 44px;
}
blockquote p {padding: 0.5em 0;}


/* --------------------------------
   Headings, titles
----------------------------------- */

h1 {font: normal 2em Verdana,sans-serif;}
h2 {font: normal 1.6em Verdana,sans-serif;}
h3 {font: normal 1.4em Verdana,sans-serif;}
h4 {font: bold 1em Verdana,sans-serif;}

h1, h2, h3, h4 {margin-bottom: 5px;}


/* --------------------------------
   Main layout
----------------------------------- */

#paper_left {
	background: url('img/paper_left.gif') no-repeat left top;
	margin: 0 auto;
	padding-bottom: 34px;
	width: 778px;
}
#paper_right {
	background: url('img/paper_right.gif') no-repeat right bottom;
}

#layout_wrapper {
	background: #50504A url('img/grain_dark.gif');
	margin: 0 auto;
	width: 736px;
}
#layout_container {padding: 8px;}
#layout_content {border: 1px solid #333;}

#header_image {
	height: 320px;
	background: #222 url('img/header.jpg') no-repeat;
	border-bottom: 1px solid #222;
	border-top: 1px solid #111;
}


/* --------------------------------
   Site title
----------------------------------- */

#site_title {
	background: #222;
	padding: 12px 20px;
}
#site_title h1 	{
	color: #EED;
	font: normal 2em Georgia,sans-serif;
	margin: 0 0 5px;
}
#site_title h2 {
	color: #BFBFB6;
	font: normal 1.1em sans-serif;
	margin: 0;
}


/* --------------------------------
   Navigation
----------------------------------- */

.navigation {
	background: #353535 url('img/navigation.jpg') repeat-x;
	border-bottom: 1px solid #222;
	border-top: 1px solid #555;
}
.navigation ul {display: inline; margin: 0;}
.navigation ul li {
	border-right: 1px solid #303030;
	float: left;
	list-style: none;
}
.navigation a {
	color: #AAA;
	display: block;
	font: bold 1em Verdana,sans-serif;
	padding: 12px 14px;
	text-decoration: none;
}
.navigation a:hover {
	background: #444;
	color: #E5E5D5;
	text-decoration: none;
}
.navigation li.current_page_item a {
	background: none;
	color: #EEE;
}

/* Sub navigation */
#subnav a {
	padding: 10px;
	font-size: 0.9em;
}


/* --------------------------------
   Main
----------------------------------- */

#main {
	background: #4A4A4A;
	color: #CCC;
}


/* --------------------------------
   Bottom
----------------------------------- */

#bottom {
	background: #222;
	border-bottom: 1px solid #1A1A1A;
	border-top: 1px solid #2A2A2A;
	color: #AAA;
	padding: 16px;
}
#bottom ul li {
	border-bottom: 1px solid #303030;
}
#bottom ul li a {
	color: #777;
	display: block;
	padding: 4px 6px;
}
#bottom ul li a:hover {
	background: #2A2A2A;
	color: #FFC;
	text-decoration: none;
}

/* Tag cloud */
#tag_cloud a {color: #777;}
#tag_cloud a:hover {color: #FFC;}

/* --------------------------------
   Footer
----------------------------------- */

#footer {
	background: #2A2A2A;
	border-bottom: 1px solid #1A1A1A;
	border-top: 1px solid #333;
	color: #888;
	font-size: 0.9em;
	padding: 10px 12px;
}
#footer a {color: #AAA;}
#footer .right,#footer .right a {color: #555;}
#footer a:hover {color: #BBB;}


/* --------------------------------
   Floats
----------------------------------- */

.left {float: left;}
.right {float: right;}
.clear,.clearer {clear: both;}
.clearer,.block {
	display: block;
	line-height: 0;
	font-size: 0;
}
.clearer {height: 0;}


/* --------------------------------
   Misc
----------------------------------- */

/* Columns */
.col3, .col3last {width: 31%; margin-right: 3%;}
.col3last {margin-right: 0;}

/* Images */
img.bordered {padding: 3px; background: #666;}

/* Text */
.tleft {text-align: left;}
.tcenter {text-align: center;}
.tright {text-align: right;}
.vtop {vertical-align: top;}

/* Icons */
span.comment {background: url('img/icon_comment.gif') no-repeat left center; padding-left: 18px;}

/* Label */
.label {
	background: #222 url('img/post_top.gif') repeat-x left top;
	border-bottom: 2px solid #555;
	color: #BBB;
	margin: 0;
	padding: 0.5em 0.8em 0.6em;
}

/* Margin, padding, width, height */
.ptb10 {padding: 10px 0;}

/* --------------------------------
   Posts
----------------------------------- */

.post {
	background: #363636;
	border-bottom: 1px solid #111;
}
.post_top {
	background: #222 url('img/post_top.gif') repeat-x left top;
	border-bottom: 4px solid #777;
	border-top: 1px solid #3A3A3A;
	padding: 10px 16px 13px;
}
.post_title h2 {
	font-size: 2em;
	margin: 0;
	padding: 0;
}
.post_body {
	background: url('img/post_body.jpg') no-repeat left top;
	border-top: 1px solid #333;
	padding: 16px 16px 0;
}
.post_metadata {padding: 10px;}
.post_metadata .content {
	background: #424242;
	color: #999;
	font-size: 0.9em;
	padding: 10px 12px;
}
.post_metadata a {color: #BBB;}
.post_metadata a:hover {color: #DDD;}

.post_body ul, .post_body ol {margin: 0 0 1em 1.5em;}
.post_body ul {list-style: disc;}
.post_body ol {list-style: decimal;}


/* ----------------------------------------
  Forms
------------------------------------------- */

form {margin: 0; padding: 0;}

/* Inputs */
input#s, textarea, input.styled {
	background: #DDD;
	border: 3px solid #555;
	font: normal 1em Verdana,sans-serif;
	padding: 3px;
	width: 160px;
}
textarea {width: 440px;}

/* Seachform */
table.search {
	border-collapse: collapse;
	width: 250px;
}
table.search td {vertical-align: top;}


/* ----------------------------------------
   Comments
------------------------------------------- */

.comment_gravatar {width: 48px;}
.comment_gravatar img {
	background: #666;
	border: 1px solid #444;
	padding: 2px;
}
.comment_author {
	color: #EEE;
	padding-top: 2px;
}

/* ----------------------------------------
   Lists
------------------------------------------- */

.nicelist {padding: 0;}
.nicelist ol {margin: 0;}
.nicelist ol li {
	border-bottom: 1px solid #333;
	border-top: 1px solid #505050;
	list-style: none;
	padding: 8px 10px 1px;
}
.nicelist ol li:first-child {border-top: none;}
.nicelist li.alt {background: #444;}
.nicelist .body {padding-top: 5px;}
.nicelist .date {
	color: #999;
	font-size: 0.9em;
	padding-top: 4px;
}
.nicelist .date a {
	color: #BBB;
	text-decoration: none;
}
.nicelist .date a:hover {text-decoration: underline;}


/* ----------------------------------------
   Archives
------------------------------------------- */

.archive_title {font: normal 1.4em sans-serif;}
.archive_title a {text-decoration: none;}
.archive_title a:hover {text-decoration: underline;}
.archive_postinfo {padding-bottom: 6px;}


/* ----------------------------------------
   Pagination
------------------------------------------- */

.pagenavigation {
	background: #555;
	border-top: 1px solid #444;
	font-size: 0.9em;
	padding: 7px 8px 9px;
}
.pagenavigation a {
	color: #CCC;
	text-decoration: none;
}
.pagenavigation a:hover {
	color: #FFF;
	text-decoration: underline;
}















/* ----------------------------------------
   Lightwindow
------------------------------------------- */













// The resize speed 0-10
resizeSpeed : 8,
contentOffset : {
    height : 1000,
    width : 500
},
// Default sizes for each type
dimensions : {
    image : {height : 250, width : 250},
    page : {height : 250, width : 250},
    inline : {height : 250, width : 250},
    media : {height : 250, width : 250},
    external : {height : 250, width : 250},
    titleHeight : 50
},
// The class names to look for to create a LightWindow or an action
classNames : {	
    standard : 'lightwindow',
    action : 'lightwindow_action'
},
// The file types resepctive to their actions
fileTypes : {
    page : ['asp', 'aspx', 'cgi', 'htm', 'html', 'pl', 'php4', 'php3', 'php', 'php5', 'phtml', 'rhtml', 'shtml', 'txt', 'vbs', 'rb'],
    media : ['aif', 'aiff', 'asf', 'avi', 'divx', 'm1v', 'm2a', 'm2v', 'm3u', 'mid', 'midi', 'mov', 'moov', 'movie', 'mp2', 'mp3', 'mpa', 'mpa', 'mpe', 'mpeg', 'mpg', 'mpg', 'mpga', 'pps', 'qt', 'rm', 'ram', 'swf', 'viv', 'vivo', 'wav'],
    image : ['bmp', 'gif', 'jpg', 'png', 'tiff']
},
// Mime types for the file types
mimeTypes : {
    avi : 'video/avi',
    aif : 'audio/aiff',
    aiff : 'audio/aiff',
    gif : 'image/gif',
    bmp : 'image/bmp',
    jpeg : 'image/jpeg',
    m1v : 'video/mpeg',
    m2a : 'audio/mpeg',
    m2v : 'video/mpeg',
    m3u : 'audio/x-mpequrl',
    mid : 'audio/x-midi',
    midi : 'audio/x-midi',
    mjpg : 'video/x-motion-jpeg',
    moov : 'video/quicktime',
    mov : 'video/quicktime',
    movie : 'video/x-sgi-movie',
    mp2 : 'audio/mpeg',
    mp3 : 'audio/mpeg3',
    mpa : 'audio/mpeg',
    mpa : 'video/mpeg',
    mpe : 'video/mpeg',
    mpeg : 'video/mpeg',
    mpg : 'audio/mpeg',
    mpg : 'video/mpeg',
    mpga : 'audio/mpeg',
    pdf : 'application/pdf',
    png : 'image/png',
    pps : 'application/mspowerpoint',
    qt : 'video/quicktime',
    ram : 'audio/x-pn-realaudio-plugin',
    rm : 'application/vnd.rn-realmedia',
    swf	: 'application/x-shockwave-flash',
    tiff : 'image/tiff',
    viv : 'video/vivo',
    vivo : 'video/vivo',
    wav : 'audio/wav',
    wmv : 'video/x-ms-wmv'			
},	
// ActiveX Classids for file types
classids : {
    mov : 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
    swf : 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000',
    wmv : 'clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6'
},
// The plugin sources for the file types
codebases : {
    mov : 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
    swf : 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
    wmv : 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'
},	
// The default padding for the viewport when a window is to fit the browser
viewportPadding : 10,
// What files types should the EOLAS Fix be applied to
EOLASFix : 'swf,wmv,fla,flv',
// What are our overlay images and default opacity, the preset has to be prebuilt for firefox as we cannot use an opacity setting
overlay : {
    opacity : 0.7,
    image : 'images/black.png',
    presetImage : 'images/black-70.png'
},
// The default skin and associate markup, the id's and class are required
skin : 	{
    main :  '<div id="lightwindow_container" >'+
                '<div id="lightwindow_title_bar" >'+
                    '<div id="lightwindow_title_bar_inner" >'+
                        '<span id="lightwindow_title_bar_title"></span>'+
                        '<a id="lightwindow_title_bar_close_link" >close</a>'+
                    '</div>'+
                '</div>'+
                '<div id="lightwindow_stage" >'+
                    '<div id="lightwindow_contents" >'+
                    '</div>'+
                    '<div id="lightwindow_navigation" >'+
                        '<a href="#" id="lightwindow_previous" >'+
                            '<span id="lightwindow_previous_title"></span>'+
                        '</a>'+
                        '<a href="#" id="lightwindow_next" >'+
                            '<span id="lightwindow_next_title"></span>'+
                        '</a>'+
                        '<iframe name="lightwindow_navigation_shim" id="lightwindow_navigation_shim" src="javascript:false;" frameBorder="0" scrolling="no"></iframe>'+
                    '</div>'+								
                    '<div id="lightwindow_galleries">'+
                        '<div id="lightwindow_galleries_tab_container" >'+
                            '<a href="#" id="lightwindow_galleries_tab" >'+
                                '<span id="lightwindow_galleries_tab_span" class="up" >Galleries</span>'+
                            '</a>'+
                        '</div>'+
                        '<div id="lightwindow_galleries_list" >'+
                        '</div>'+
                    '</div>'+
                '</div>'+
                '<div id="lightwindow_data_slide" >'+
                    '<div id="lightwindow_data_slide_inner" >'+
                        '<div id="lightwindow_data_details" >'+
                            '<div id="lightwindow_data_gallery_container" >'+
                                '<span id="lightwindow_data_gallery_current"></span>'+
                                ' of '+
                                '<span id="lightwindow_data_gallery_total"></span>'+
                            '</div>'+
                            '<div id="lightwindow_data_author_container" >'+
                                'by <span id="lightwindow_data_author"></span>'+
                            '</div>'+
                        '</div>'+
                        '<div id="lightwindow_data_caption" >'+
                        '</div>'+
                    '</div>'+
                '</div>'+
            '</div>',	
    loading : 	'<div id="lightwindow_loading" >'+
                    '<img src="images/ajax-loading.gif" alt="loading" />'+
                    '<span>Loading or <a href="javascript: myLightWindow.deactivate();">Cancel</a></span>'+
                    '<iframe name="lightwindow_loading_shim" id="lightwindow_loading_shim" src="javascript:false;" frameBorder="0" scrolling="no"></iframe>'+
                '</div>',
    iframe : 	'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'+
                '<html xmlns="http://www.w3.org/1999/xhtml">'+
                    '<body>'+
                        '{body_replace}'+
                    '</body>'+
                '</html>',
    gallery : {
        top :	  '<div class="lightwindow_galleries_list">'+
                        '<h1>{gallery_title_replace}</h1>'+
                        '<ul>',
        middle : 	    '<li>'+
                                '{gallery_link_replace}'+
                            '</li>',
        bottom : 	'</ul>'+
                   '</div>'
    }
},
// What form method should be used
formMethod : 'get',
// Should flash objects be hidden on the page when the window opens
hideFlash : false,
// Hide the gallery tab
hideGalleryTab : false,
// Show the gallery count when viewing a gallery
showGalleryCount : true
// Define your own handlers here, see the 'How to Theme Section'
animationHandler : false,
navigationHandler : false,
transitionHandler : false,
finalAnimationHandler : false,
formHandler : false,
galleryAnimationHandler : false