/* Body */

img.an{
	background: #FFFFFF none repeat scroll 0%;
	border: 1px solid #DEDEDE;
	margin: 0pt 10px 7px 0pt;
	padding: 6px;
}

#content img.center{
	display: block;
	margin: 2px auto 10px auto;
}

.clear{
	clear: both;
	visibility: hidden;
}

#content div.comment p{
	margin: 0 0 4px;
}

#content div.comment p.commenticon{
	margin: 0 0 10px;
}

.comment{
	border-bottom: 1px solid #555555;
	margin-bottom: 10px;
	padding-bottom: 6px;
}

* html .contenttext{
	height: 1px;
	overflow: visible;
}

* html .contenttext p{
	overflow: hidden;
	width: 99%;
}
/* Various classes */
.contenttext p {
	overflow: hidden;
	text-align: justify;
}

#footer .credits{
	font-size: 1.0em;
}

.feedlink{
	background: url(img/rss.png) center left no-repeat;
	font-size: 1.1em;
	margin: 0 0 0 12px;
	padding: 2px 0 2px 18px;
}

#content img.framed{
	background: #222222;
	border: 1px solid #555555;
	padding: 5px;
}

.hide{
	display: none;
}

#content img.left{
	float: left;
	margin: 0 10px 10px 0;
}
#content img.right{
	float: right;
	margin: 0 0 10px 10px;
}
#sidebar ul.menubuttons li{
	list-style: none;
	margin: 0 0 3px 0;
	padding: 0;
	width: 180px;
}

#sidebar ul.menubuttons li a{
	background-color: #FEFEF9;
	border-left: 4px solid #666666;
	color: #CCCCCC;
	display: block;
	padding: 3px 0 3px 5px;
}

#sidebar ul.menubuttons li a:hover, #sidebar ul.menubuttons li.current_page_item a{
	background: #FEFEF9;
	border-left: 4px solid #F29450;
}

#sidebar ul.menubuttons ul{
	margin: 0;
	padding: 2px 0 0 10px;
}

#sidebar ul.menubuttons ul li{
	width: 170px;
}

#sidebar ul.menubuttons ul li a{
	background: #2A2A2A;
	font-size: 0.9em;
	padding: 1px 0 1px 5px;
}
/* Content */
#content .post{
	margin: 0em 0em 30px auto;
}

#content div.postnav{
	padding: 10px 0;
}

#content div.postnavleft{
	width: 48%;
}

#content div.postnavright{
	text-align: right;
	width: 48%;
}

#content img.right{
	float: right;
	margin: 0 0 10px 10px;
}

.searchbox{
	margin: 10px 0 10px 0;
	padding: 0;
}

.searchbox input{
	background: url(img/search.jpg) #CCCCCC;
	border: 1px solid #888888;
	color: #000000;
	margin: 0 20px;
	padding: 3px 0 3px 5px;
	width: 155px;
}
/* Header */
.searchbox label{
	color: #FFFFFF;
}

.textcenter{
	text-align: center;
}

.textright{
	text-align: right;
}

#sidebar p, #sidebar ul ,#sidebar .textwidget,#sidebar form,#sidebar table{
	margin: 0 0 18px 0;
	padding: 0;
}

#content .timestamp{
	font-size: 1.4em;
}

#content .timestamp a{
	font-weight: normal;
}
/* Footer */
#cld{
	margin: 0px 0px 15px -1px;
	width: 180px;
}

#cld caption{
	font-size: 1.6em;
	margin: 7px 0em 8px 0em;
	padding: 1px 0;
}
.count {
float: right;background-color: #3E3E1A;width: 962px;}
/* Menu buttons */
#cld table{
	margin: 20px 10px 10px 13px;
	width: 160px;
}

#comments{
	margin: 20px 0 16px 0;
}

#content{
	float: left;
	margin-bottom: 5px;
	margin-left: 30px;
	width: 700px;
}

#content h2{
	clear: left;
	font-size: 1.8em;
}

#content h2 a, #content h3 a{
	font-weight: normal;
}

#content h2, #content h3{
}

#content h3{
	clear: left;
	font-size: 1.4em;
}

#content img{
	margin: 0;
	padding: 0;
}

#content p{
	margin: 0em 30px 10px 30px;
}

#content ul li, #content ol li{
	margin: 0 0 3px;
}

#content ul ul, #content ol ol{
	margin: 5px 0 5px 15px;
}

#content ul, #content ol{
	margin: 0 0 18px 30px;
}
.navleft {
	float: left;
}
.navright {
	float: right;
}
#fla{
	float: right;
	height: 115px;
	margin: 11px 11px 0px 0px;
	padding: 0;
	width: 155px;
}

#footer{
	background-color: #2A2A2A;
	background-image: url(img/footer.jpg);
	border: 1px solid #555555;
	clear: both;
	color: #EEEEEE;
	height: 53px;
	text-align: center;
	width: 960px;
}

#footer a{
	color: #858C16;
}

#footer a:hover{
	color: #BDC61F;
	text-decoration: underline;
}
/* Comments */
#footer p{
	margin: 0;
	padding: 10px 0;
}

#hd{
	float: right;
	margin: 20px 250px 0px 0px;
	width: 420px;
}

#hd h2{
	color: #FFFFFF;
	font-size: 1.2em;
	line-height: 1.0em;
	margin: 0;
	padding: 0;
	text-align: left;
}
/*#hdr {
	background: url(img/slide.jpg) #CCCCCC no-repeat;
	float: right;
	height: 158px;
	margin: -15px 1px 0px 0px;
	padding: 0;
	text-align: right;
	width: 199px;
}

#fla {
	float: right;
	height: 130px;
	margin: 13px 18px 0px 0px;
	padding: 0;
	width: 162px;
}
*/
#hdr{
	background: url(img/slide.jpg) #CCCCCC no-repeat;
	float: right;
	height: 140px;
	margin: -10px 12px 0px 0px;
	padding: 0;
	text-align: right;
	width: 180px;
}

#header{
	background: #FEFFF9 top left no-repeat;
	color: #EEEEEE;
	height: 78px;
	margin: 0 auto 0px auto;
	padding: 0;
	text-align: left;
	width: 960px;
}

#header h2, #header h3{
	color: #EEEEEE;
	font-size: 1.6em;
}

#headerleft{
	clear: both;
	float: left;
	height: 190px;
	overflow: auto;
	padding: 9px 0 0 10px;
	width: 240px;
}

#headerleft li{
	list-style: none;
	margin: 0 0 2px 0;
}

#headerright{
	float: right;
	height: 190px;
	overflow: auto;
	padding: 9px 10px 0 0;
	text-align: right;
	width: 240px;
}

#headerright li{
	list-style: none;
	margin: 0 0 2px 0;
}

#headerright p, #headerright ul, #headerright ol, #headerright div, #headerright table{
	color: #EEEEEE;
	margin: 0 0 5px 0;
	padding: 0;
	text-align: left;
}

#headerright p, #headerright ul, #headerright ol, #headerright div, #headerright table{
	color: #EEEEEE;
	margin: 0 0 5px 0;
	padding: 0;
	text-align: right;
}

#nav{
	float: left;
	margin-left: 60px;
	text-align: left;
	width: 440px;
}

#nav  a:hover{
	color: #000000;
}
/* Main wrap */
#nav ul a{
	color: #FFFFFF;
	display: inline;
	margin-left: 0;
	padding-left: 0;
}

#nav ul li{
	border-left: 2px solid #FFFFFF;
	display: inline;
	list-style: none;
	margin-left: 0;
	padding: 0px 10px;
}

#respond{
	margin: 20px 20px 0px 40px;
}

#respond input#submit{
	width: 45px;
}

#respond input, #respond textarea{
	border: 1px solid #CCCCCC;
	font: 100% "Trebuchet MS",Verdana,sans-serif;
}
/* Tags */
#respond input,#respond textarea{
	background-color: #FEFEF9;
	color: #666666;
	padding: 4px;
	width: 280px;
}

#respond p{
	margin: 0 0 10px 0;
}

#respond textarea#comment{
	width: 600px;
}

#sidebar{
	float: right;
	margin: 0 3px 5px 0;
	padding: 0 10px 0 0;
	width: 180px;
}

#sidebar h2, #sidebar h3{
	background: url(img/cald_cr.jpg) #FEFEF9 no-repeat;
	border-top: 1px #696867 solid;
	font-size: 1.6em;
	margin: 0 0 15px 0;
	padding: 6px 35px;
}

#sidebar h3, #sidebar h4{
	font-size: 1.2em;
	margin: 0 0 8px 0;
}

#sidebar li{
	list-style: none;
	margin: 0 0 3px;
}

#sidebar ul li a{
	font-size: 1.2em;
}

#sidebar ul ul li a{
	font-size: 0.9em;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

#sidebar ul ul li, #sidebar ul ul ul li{
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar ul ul, #sidebar ul ul ul{
	list-style: none;
	margin: 2px 0 0 15px;
	padding: 0;
}

#src{
	float: right;
	margin: -60px 0 0 0;
	padding: 0;
	text-align: right;
	width: 250px;
}
/* Searchbox */
#top{
	background-color: #FEFEF9;
	background-image: url(img/top.jpg);
	margin: 0px auto 5px auto;
	padding: 0;
	width: 960px;
}

#topleft{
	float: left;
	margin: 0;
	text-align: left;
	width: 650px;
}

#topleft h1{
	font-size: 2.4em;
	line-height: 0.9em;
	margin: 5px 0;
	padding: 0;
}

#topleft h1 a{
	font-weight: 400;
}

#topleft p, #topright p{
	color: #CCCCCC;
	margin: 15px 0px 5px 20px;
	padding: 0;
}

#unheader{
	background: url(img/gf_untop.jpg) #FEFFF9 top left no-repeat;
	color: #EEEEEE;
	height: 120px;
	margin: 0 auto 15px auto;
	padding: 0;
	width: 960px;
}

#wrap{
	margin: 0 auto;
	padding: 0;
	text-align: left;
	width: 960px;
}
/* Headers */
*{
	margin: 0;
	padding: 0;
}

a{
	color: #858C16;
	font-weight: 400;
	text-decoration: none;
}

a img{
	border: 0;
}
/* Float fix */
a:hover{
	color: #BDC61F;
	text-decoration: none;
}

blockquote{
	border-left: 4px solid #EEEEEE;
	color: #777777;
	margin: 10px;
	padding: 5px 15px 2px 15px;
}

blockquote p{
	font-weight: bold;
	margin: 0;
	padding: 2px 0;
}

body{
	background: url(img/bg.jpg) #474340 repeat-y 50% 0;
	color: #000000;
	font: 80% "Trebuchet MS",Verdana,sans-serif;
	line-height: 1.3em;
	padding-bottom: 0px;
	text-align: center;
}
/* Top */
code{
	background-color: #2A2A2A;
	border: 1px solid #555555;
	display: block;
	font-size: 1.2em;
	margin: 5px 0 16px 0;
	padding: 5px;
}
/* Links */
h2, h3, h4{
	color: #000000;
	font-weight: normal;
	margin: 0 0 15px;
}
/* Sidebar */
.ngg-albumoverview {
	margin: 10px 0px 0px 0px !important;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
	margin: 0px 0px 5px !important;
	height: 130px;
	padding: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	padding:0px;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px !important;
}

.ngg-albumcontent {
	margin: 0px !important;
}

.ngg-thumbnail {
	margin:0px 12px 0px 0px !important;
	float: left;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:5px solid #DDDDDD;
	margin:4px 0px 4px 5px !important;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	border:5px solid #BDC6AA;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}

.ngg-album-link {
	margin:0px !important;
}

.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px !important;
	margin-top:0px !important;
	width:110px;
	padding:0px !important;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-gallery-thumbnail-box {
	margin:0px !important;
	float: left;
}

.ngg-gallery-thumbnail {
	float: left; 
	background: url(shadowAlpha.png) no-repeat bottom right !important;
	background: url(shadow.gif) no-repeat bottom right;
	margin: 10px 0 0 10px !important;
}

.ngg-gallery-thumbnail img {
	margin: -6px 20px 20px -6px !important;
	background-color:#FFFFFF;
	border:5px solid #DDDDDD;
	display:block; 
	padding:4px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	border:5px solid #BDC6AA;
} 

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
	text-align:center;
}

.ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.ngg-navigation a.page-numbers, a.next, a.prev, 
				span.page-numbers, span.next, span.prev {
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-navigation a.page-numbers:hover, a.next:hover, a.prev:hover, 
				span.page-numbers:hover, span.next:hover, span.prev:hover {
	background-color: #0066CC;
	color: #FFFFFF;
	text-decoration: none;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;	
}

.slideshowlink {
	
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:5px;
	padding:4px;
	position:relative;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:0pt;
	padding:5px 0px 0px 0pt;
}

.ngg-widget img {
	border:2px solid #A9A9A9;
	margin:0pt 2px 2px 0px; 
	padding:1px; 
}

#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	height:100%;
	width:100%;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}
.comment 
{
	position: 				relative;
	margin:					3px;
	margin-top:				6px;
/*	border: 				1px solid #666; */
	padding:				4px 4px 4px 8px;
<?php if($shrinkby > 0) { ?>
	font-size:				<?php echo (100-$shrinkby); ?>%;
<?php } ?>
	background-color:		#fff;
}

.odd
{
	background-color: #f8f8f8;
}

.comment div {
	position: 				relative;
}

.comment .comment img
{
	margin: 				0px;
}

.comment .collapseicon 
{
	width: 					13px;
	height: 				13px;
	overflow:				hidden;
	background-image: 		url(http://gafiyka.com/i/subopen.png);
}

.collapsed .collapseicon 
{
	background-image: 		url(http://gafiyka.com/i/subread.png);
}


.comment .reply {
	text-align: 			right;
	font-size: 				80%;
	padding: 				0px 6px 6px 0px;
}

.comment
{
	border: 	1px solid #ddd;
	margin-top: 			10px;
}

input#subscribe
{
	width: auto;
}

.comment .body .content
{
	padding:				0px 3px 0px 3px;
	width: 					100%;	
	overflow: 				auto; 
}

.comment .title abbr
{
	border: none;
}

.collapsed .body, .collapsed .comment
{
	display:				none;
}
/*
#addcomment small, #addcomment div
{
	padding:				3px;
}
*/
#commentform textarea {
	width: 97%;
}
.commentlist blockquote cite { 
	display: inline;}
	
.meta {
	background-color: #E8E8E8; text-align: right;
		}
	
	/*poll*/
.dem-graph {
position: relative;
font: 7px arial, sans-serif;
margin-top: 2px;
padding-right: 1px;
margin-bottom: 3px;
}

.dem-graph a, .dem-graph a:hover {
display: block;
float: left;
height: 5px;
cursor:default;
text-decoration: none;
border: 0;
}


.dem-winner a, .dem-winner a:hover {
border-right: 0;
}

.dem-winner {
padding-right: 0;
}

.dem-graph b, .dem-graph i {
float: left;
display: block;
position: absolute;
margin-left: 3px;
font-style: normal;
}

.dem-vote-button {
display: block;
margin: 6px 0;
}

.democracy {
padding-bottom: 5px;
}


html>body .entry .democracy ul {
text-indent: 0 !important;
}


.democracy input {
vertical-align: middle;
}

.dem-graph a i, .dem-graph a:hover b {
display: none;
}

.dem-graph a:hover i {
display: block;
}

/* yay IE hack - display or visibility don't work */
* html .dem-graph a i, * html .dem-graph a:hover b {
filter: alpha(opacity=0);
display: block;
}

* html .dem-graph a:hover i {
filter: alpha(opacity=100);
display: block;
}

.dem-total-votes, .dem-added-by-guest {
display: block;
margin: 3px 0;
}

.dem-user-added {
display: block;
}

.dem-archives .democracy {
margin-bottom: 30px;	
}

.democracy {
max-width: 180px;
}

.democracy img {
width: 100%;
margin-bottom: 4px;
vertical-align: middle;
}

.democracy input {
vertical-align: middle;
margin-right: 5px;
width: auto;
}

.democracy .addAnswerText {
width: 80%;;
}

.dem-graph {
border: 1px solid #ccc;
height: 10px;
}

.dem-graph a, .dem-graph a:hover {
background: #8FC800;
border-bottom: 5px solid #83C500;
border-right: 1px solid #EFEEEC;
}
.dem-results {
margin: 10px 0;
}

* html .dem-graph a, * html .dem-graph a:hover {
border-bottom-width: 6px;
}

* html .dem-graph {
height: 11px;
}

.dem-graph b, .dem-graph i {
color: #5A5959;
}

.dem-voted-for-this {
border-color: #888;
}

/* blix fix */
.democracy ul { padding: 0; } 
.democracy label {
float: none;
display: inline;
}
.dem-results {
width: 160px;
}
/*
.democracy ul li {
list-style: none;
background: none;
}
*/
/* links page */
#imp-portfolio {}
#imp-portfolio a, #imp-portfolio a:visited {}
#imp-portfolio a:hover {}
.imp-portfolio-row { padding: 10px; margin: 0; clear: left; }
.imp-portfolio-row-odd { background: #f5f5f5; }
.imp-portfolio-row-even {}
.imp-portfolio-clearing { clear: both; }
.imp-portfolio-image { float: left; margin: 0 6px 0 0; }
.imp-portfolio-info { overflow: hidden; text-align: justify; }
.imp-portfolio-info p { margin: 0px; }
.imp-portfolio-info strong { font-size: 1.2em; }
.imp-portfolio-info em { font-size: 0.9em; color: #999999; }	


