/*  Copyright 2009  Scibuff - Tomas Vorobjov  (email : blog@scibuff.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

* { padding: 0; margin: 0; }
body, html { width: 100%; }

img { border: 0; /*display: block;*/ }
img.latex { display: inline; }
div, form { display: block; }

/* GLOBAL STYLES - START */

body {
	background: #000000;
	font-size: 12px;
	color: #282828;
	font-family: Georgia, serif;
}

p {
	line-height: 1.6em;
}

a, a:link, a:active, a:visited {
    background-color: inherit; 
	color: #86600f;
	text-decoration: underline;
}

a:hover { 
    background-color: inherit; 
	color: #de9406; 
	text-decoration: underline;
}

.small {
	font-size: 11px; 
}

.code { padding: 1em; }

/* GLOBAL STYLES - END */

/* LAYOUT - START */

#wrapper {
	margin: 0 auto;
	width: 962px;
	padding-left: 8px;
	padding-right: 8px;	
}

#header {
	background: #000000 url(images/header-background.jpg) no-repeat 0 0;
	color: inherit;
	height: 180px;
}

#header h1 { margin-top: 10px; }
#header h1 a, #header h1 a:visited, #header h1 a:hover {
    background-color: inherit;
	color: #FFFFFF;
	font-size: 30px;
	text-decoration: none;
}

#header h2 a, #header h2 a:visited, #header h2 a:hover { 
    background-color: inherit;
	color: #FFFFFF;
	font-size: 16px;
	margin-top: 4px;
	text-decoration: none;
} 

#header-top { height: 150px; }
#header-bottom { height: 30px; }

#main {
	background-color: #FFF;	
	color: inherit;
	overflow: hidden;
	padding-bottom: 20px;
	width: 962px;
}

#sidebar {
	width: 218px;
	float: right;
}

#content {
	padding: 12px;
	width: 938px;
}

#footer {
}

#copyright {
	margin-bottom: 10px;
}

#copyright p {
	margin-bottom: 10px;
}

#copyright img {
	display: inline;
}

/* LAYOUT - END */

/* GLOBAL CLASSES - START */

.left { float: left; }
.right { float: right; }

.clear-both { clear: both; }
.clear-left { clear: left; }
.clear-right { clear: right; }

.display-block { display: block; }

.no-list, .inline-list { list-style-type: none; }
.inline-list li { display: inline; float: left; }

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }

.red { background-color: inherit; color: #610D0F; }
.green { background-color: inherit; color: #0A371C; }
.blue { background-color: inherit; color: #1D455B; }

.black-background, a.black-background { background-color: #000; color: #FFF; }
.red-background, a.red-background { background-color: #610D0F; color: #FFF; }
.green-background, a.green-background { background-color: #0A371C; color: #FFF; }
.blue-background, a.blue-background { background-color: #1D455B; color: #FFF; }

.padded-text, a.padded-text {
	padding: 4px 10px;	
}

acronym, abbr, span.caps { cursor: help; }

acronym, abbr { border-bottom: 1px dashed #999; }
/* GLOBAL CLASSES - END */

/* HEADER - START */

#header img { display: block; }

.navigation-main li {
	margin: 0;
}

.navigation-main li a {
	background-color: #1E1E1E;
	border: 1px solid #3B3B3B;
	display: block;
	float: left;
	font-size: 12px;
	font-weight: bold;
	margin-left: 10px;
	padding: 4px;
	text-align: center;
}

.navigation-main li a, .navigation-main li a:visited, .navigation-main li a:hover {
    background-color: inherit;
	color: #FFFFFF;
	text-decoration: none;
}

.navigation-main li a:hover {
	background-color: #545454;
}

.navigation-main-right {
	margin-right: 10px;
}

/* HEADER - END */

/* CONTENT - START */

.gallery-item {
	background-color:#ECECEC;
	border:1px solid #999999;
	display:block;
	float:left;
	height:92px;
	margin:7px;
	overflow:hidden;
	padding:6px 6px 8px;
	width:75px;
}

.gallery-item a {
	font-size: 10px;
}

.archive-item {
	background-color:#FFFFFF;
}

#content h1, #content h2, #content h3, #content h4 {
	padding-top: 4px;
	padding-bottom: 4px;
}

#content h1 { font-size: 22px; }
#content h2 { font-size: 18px; }
#content h3 { font-size: 16px; }
#content h4 { font-size: 14px; }
#content h5 { font-size: 12px; }
#content h6 { font-size: 12px; }

blockquote {
    background-color: inherit;
	border-left: 2px solid #545454;
	color:#666666;
	font-style:italic;
	margin:0 1.5em 1.25em;
	margin:1.5em;
	padding:0 1em 1px;
}

blockquote, q {
	quotes:"" "";
}

#content ul {
	margin-left: 20px;
	margin-bottom: 1em;
}

#comments {
	padding-top: 12px;
	padding-left: 8px;
}

/* CONTENT - END */

/* FOOTER - START */

#footer a, #footer a:hover, #footer a:visited {
    background-color: inherit;
	color: #C4C4C4;
}

#footer a, #footer a:visited, #footer a:active { text-decoration: none; }

#footer a:hover { text-decoration: underline; }

.navigation-footer h3 {
    background-color: inherit;
	color: #C4C4C4;
	font-size: 12px;
	font-weight: bold;
	padding: 4px;	
}

.navigation-footer-red, .navigation-footer-green, .navigation-footer-blue {
	float: left;
	padding: 8px;
	/*padding-bottom: 50px;*/
	
	height: auto !important;
	height: 100px;
	min-height: 100px;
}

.navigation-footer-red ul, .navigation-footer-green ul, .navigation-footer-blue ul {
	margin: 4px;
}

.navigation-footer-red {
	background: #000000 url(images/footer-red.jpg) repeat-x;
	color: #FFFFFF;
	width: 356px;
}

.navigation-footer-red h3 {
	background-color: #610D0F;
	border: 1px solid #8c1214;	
    color: #FFFFFF;
}

.navigation-footer-green {
	background: #000000 url(images/footer-green.jpg) repeat-x;
   color: #FFFFFF;
	width: 356px;
}

.navigation-footer-green h3 {
	background-color: #0A371C;
    color: #FFFFFF;
	border: 1px solid #126634;	
}

.navigation-footer-blue {
	background: #000000 url(images/footer-blue.jpg) repeat-x;
	color: #FFFFFF;
	width: 202px;
}

.navigation-footer-blue h3 {
	background-color: #1D455B;
	border: 1px solid #317599;	
	color: #FFFFFF;
}

#copyright {
    background-color: inherit;
	color: #545454;
}

/* FOOTER - END */

.post-social { margin-top:10px; overflow:hidden; }
.sb-bookmark-buttons { float:left; width:480px; }
.sb-bookmark-button { float:left; padding:2px; }
