/*
Theme Name: xtemplate
Description: xtemplate clone
Version: 1.0
Author: Aliaksei <mail@aliaksei.org>
Author URI: http://www.aliaksei.org
*/

/* Start reset.css */
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;font-size:100%;margin:0;outline:0;padding:0;}

body{line-height:1}

ol,ul{list-style:none}

blockquote,q{quotes:none}

blockquote:before,blockquote:after,

q:before,q:after{content:'';content:none}

:focus{outline:0}

ins{text-decoration:none}

del{text-decoration:line-through}

table{border-collapse:collapse;border-spacing:0}

html{background:url #FFFFFF center 0 no-repeat;font-family:arial;font-size:62.5%;height:100%}

body{height:100%;padding:24px auto 0 auto}

a{color:#030303;text-decoration:underline}

.clear {clear: both;}

.shabl{font-size: 12px;}

.shabl1{color:#1f5dea;font-size: 14px;}

.shabl2{color:#4bd420;font-size: 14px;}

#wrap{background:url(images/stripe.gif) 0 0 repeat-x;border:1px solid #BAE2FF;height:auto !important;height:100%;margin:4px auto;min-height:100%;position:relative;width:996px}

#header{height:165px;margin-top:5px;position:relative}

#logo{background:url(images/logo2.jpg) 0 0 no-repeat;display:block;height:155px;left:15px;position:relative;top:5px;width:970px}

#header h3,#header h4{display:none;visibility:hidden}

#nav{height:38px;padding:0px 0px 0px 0px;margin-left:0px;width:330px;z-index:1}

#nav.blue{background:url(images/nav-blue.png) 0px left no-repeat}

#nav.green{background:url(images/nav-green.png) 0px left no-repeat}

ul#nav li{display:inline;float:left;height:38px;margin:0 0 0 0;position:left;text-align:right}

#nav li.blue{background:url(images/nav-blue.png) 0px center no-repeat}

#nav li.green{background:url(images/nav-green.png) 0px center no-repeat}

#nav li.first{background-position:12px center}

ul#nav li a{color:#FFFFFF;cursor:pointer;display:block;float:none !important;/*For Opera*/ float:left;/*For IE*/ font-size:1.2em;font-weight:bold;height:38px;height:auto !important;height:1%;line-height:14px;margin:0 auto;overflow:hidden;padding-left:35px;padding-right:5px;position:relative;text-align:center;text-decoration:none;text-decoration:none}

ul#nav li a:hover{color:#030303;cursor:pointer;display:block;float:none !important;/*For Opera*/ float:left;/*For IE*/ font-size:1.2em;font-weight:bold;height:38px;height:auto !important;height:1%;line-height:14px;margin:0 auto;overflow:hidden;padding-left:35px;padding-right:5px;position:relative;text-align:center;text-decoration:none;text-decoration:none}

ul#nav li .middled{text-align:center}

ul#nav li .container{display:table-cell;height:38px;text-align:center;vertical-align:middle}

#content{padding-left:19px;vertical-align:top}

#sidebar{padding:0 10px 0 10px;vertical-align:top;width:342px}

.block{background:#FFFFFF;border:1px solid #999999;padding:2px}

#cat{background:url(images/cat-bg.png) #A8C8D6 0 0 repeat-x;height:462px;overflow:auto}

.hrcat{height:1px;margin:10px 0;position:relative}

#cat h3{background:url(images/cat-title.png) 0 0 no-repeat;color:#FFFFFF;font-size:1.4em;font-weight:normal;height:50px;line-height:35px;margin-left:-2px;margin-top:-2px;padding-left:63px;position:relative;z-index:2}

#cat h3 span{display:none;visibility:hidden}

#cat ul{margin-bottom:20px;margin-left:68px;margin-top:0px}

#cat ul li{background:url(images/cat-li.gif) 0 4px no-repeat;display:block;float:left;font-size:1.2em;line-height:1.2em;margin-bottom:5px;margin-right:3px;padding-left:10px;width:160px}

#cat ul li a{color:#FFFFFF;text-decoration:none}

#cat ul li a:hover{color:#030303;text-decoration:underline}

#tag{border:1px solid #FFFFFF;height:265px}

#top{background:url(images/sidebar-block-bg1.png) #7FB200 0 0 repeat-x;overflow:auto}

#sidebar .block h3{color:#FFFFFF;font-size:1.3em;font-weight:normal;height:40px;line-height:25px;margin:0;padding-left:63px}

#sidebar .block h3 span{display:none;visibility:hidden}

#search{background:url(images/sidebar-block-bg1.png) #FFBD2B 0 0 repeat-x;height:41px}

#opros{background:url() #FFBD2B 0 0 repeat-x;height:250px}

#s{background:#FFFFFF;border-bottom:1px solid #DDDDDD;border-left:1px solid #666666;border-right:1px solid #DDDDDD;border-top:1px solid #666666;color:#000000;font-size:1em;height:16px;left:22px;line-height:18px;padding-left:3px;padding-right:3px;position:relative;top:7px;width:178px}

#searchsubmit{background:#8d8c8d;border:1px solid #FFFFFF;color:#FFFFFF;cursor:pointer;font-size:1em;height:24px;left:52px;line-height:24px;position:relative;top:9px;width:70px}

.sidebar{background:url(images/sidebar-block-bg1.png) #A7C7D5 0 0 repeat-x;overflow:auto}

#articles h3{background:url(images/articles-title.png) 0 0 no-repeat}

#articles h3 a{width: 200px; display: block; height: 40px;}

#archives h3{background:url(images/archives-title.png) 10px 0 no-repeat}

.hr{background:url(images/dash.gif) 0 0 repeat-x;border:none;height:1px;line-height:1px;margin:10px 0}

#sidebar hr{margin:13px 0 12px 0}

#sidebar{font-size:1.4em}

#sidebar a{text-decoration:none; color: #FFFFFF;}

#sidebar a:hover{text-decoration: underline; color: #030303;}

#sidebar ol{color:#fdfdfd;margin-bottom:10px;margin-left:35px;margin-top:10px}

#sidebar ol li{list-style:decimal outside;margin-bottom:6px;padding-left:7px}

#sidebar ul{margin-bottom:2px;margin-left:2px;margin-right:2px;margin-top:2px}

#sidebar ul li{background:url(images/sidebar-ul-li.gif) 0 5px no-repeat;line-height:1.2em;margin-bottom:3px;padding-left:3px;padding-right:3px;}

.post{color:#030303;font-size:1.3em;line-height:1.3em;text-align:justify}

.post{background:url(images/post-bg.png) #F5F5F5 0 0 repeat-y;margin-bottom:8px;width:611px}

.post .inner{overflow:auto;padding:0px 7px 3px 7px;width:597px;z-index:2}

.post .inner .content{padding:0px 10px;width:577px;z-index:2;overflow: auto;}

.post p{margin-bottom:2em; vertical-align: top;}

.post p img{vertical-align: top; float: right;}

.post ul,#content ol{margin-bottom:1em;margin-left:2em}

.post ul li{list-style:square}

.post ol li{list-style:decimal}

dt{font-weight:bold}

.post h3{font-size:1.4em;margin:1.14em 0 0.57em}

.post h4{font-size:1.15em;margin:1.23em 0 0.615em}

.post h5{font-size:1.1em;margin:1.33em 0 0.67em}

.post h6{font-size:1em;margin:1.6em 0 0.8em}

sup{vertical-align:super}

sub{vertical-align:sub}

small,sup,sub{font-size:85%}

.post-bt{background:url(images/post-bt.png) 0 0 no-repeat;display:block;height:8px}

.post-bb{background:url(images/post-bb.png) left bottom no-repeat;display:block;height:7px}

.post h2,.post h1{background:url(images/post-hr.gif) 0 bottom repeat-x;display:block;line-height:33px;margin:0 0 20px 0;padding:3px 0 0 10px}

.post h2 a,.post h1{color:#030303;font-family:Arial;font-size:1.8em;font-weight:normal;line-height:33px;text-decoration:none}

.post a{color:#000000;font-weight:bold;text-decoration:underline}

.post a:hover{color:#fe7302;font-weight:bold;text-decoration:underline}

.postmetadata{letter-spacing:1px; clear: both; height: 55px; }

.date{background:url(images/date.png) 16px 6px no-repeat;float:left;height:25px;line-height:27px;padding-left:35px;position:relative}

.cat{background:url(images/cat.png) 0px 6px no-repeat;float:left;height:25px;line-height:25px;margin-left:5px;padding-left:16px;position:relative;width:auto}

.comments{background:url(images/comment.png) 0 3px no-repeat;display:block;float:left;height:25px;line-height:25px;margin-left:5px;padding-left:24px}

.tag{background:url(images/post-hr.gif) 0 bottom repeat-x;display:block;height:31px;line-height:25px;padding-left:21px}

.post table.main{margin:0px 0px 0px 0px}

.post table.main td{padding-left:0px;}

.post table.main td.image{padding:0;text-align:center;width:270px}

.post table.main td.image img {	float: none;}

.post table.main td.param{text-align:right}

/* Page navigation */

.navigation{color:#030303;font-size:1.2em;height:25px;margin:25px auto 0px auto;text-align:center;width:600px}

.navigation li{display:inline;margin-bottom:10px}

.navigation a,.navigation a:link{border:1px solid #030303;color:#030303;margin:1px;padding:1px 5px 1px 5px;text-decoration:none;width:25px}

.navigation a:visited{color:#030303;text-decoration:none}

.navigation a:hover{border:1px solid #030303;color:#5187D2}

.navigation a:active{color:#000000;margin:2px;text-decoration:none}

.navigation span.wp-pagenavi{border:1px solid #030303;color:#030303;margin:1px;padding:1px 5px 1px 5px}

.navigation span.current{border:1px solid #030303;color:#000000;font-weight:bold;margin:1px;padding:1px 5px 1px 5px}

.navigation span.extend{border:1px solid #030303;color:#5187D2;margin:1px;padding:1px 5px 1px 5px}

#footer{background:url(images/body-bb.png) center bottom no-repeat;height:90px;position:relative;top:25px}

#footer .hr{margin:0px 12px}

#footer .hrline{background:url(images/stripe.gif) 0 0 repeat-x;height:10px;margin:0}

#footer table{line-height:25px;font-size:1.2em;height:56px;margin:1px 10px 0 10px;width:973px}

#footer table #creative{text-align:right}

#comments{clear:both;padding-bottom:10px;padding-left:9px}

#comments input.text,#comments textarea{background:url(images/input-bg.png) #FEFEFE 0 0 repeat-x;border:1px solid #DADADA;padding:5px 3px 0 3px;width:510px}

#comments input.text{height:21px;margin-bottom:10px}

#comments label{clear:both;display:block;font-size:1.1em;margin-bottom:4px;margin-top:0px}

#comments #submit{background:url(images/submit.png) 0 3px no-repeat;border:none;color:#FFFFFF;height:30px;margin-top:13px;text-align:center;vertical-align:middle;width:102px}

#comments p{margin:0}

#comments h3{margin-bottom:24px}

.commentlist{margin-left:3px;margin-top:-16px;position:relative}

.commentlist li{margin-bottom:8px;}

/*

.commentlist span,.commentlist em{position:relative;top:-12px;}

.commentlist .commentmetadata{color:#999999;float:left;margin-left:36px;margin-top:-15px;}

*/

.commentmetadata a{color:#999999;font-size:1.05em;text-decoration:none}

.commentlist .text{margin-top:7px;padding-left:12px;padding-right:12px}

#calendar_wrap{padding:0 10px}

#calendar_wrap table,#calendar_wrap caption{margin:0 auto}

#calendar_wrap caption{font-size:1.2em;padding-bottom:3px}

#calendar_wrap td{font-size:1.2em;padding:2px}


.subscribe-to-comments label{clear:none;display:block;margin-left:20px;position:relative;top:-16px}

img{margin:0 3px;padding:0 3px}

img.centered{display:block;margin:0 auto}

img.alignright{display:inline;margin:0 0 2px 15px;padding:4px}

img.alignleft{display:inline;margin:0 15px 2px 0;padding:4px}

.alignright{float:right}

.alignleft{float:left}

.aligncenter,div.aligncenter{display:block;margin-left:auto;margin-right:auto}

.wp-caption{background-color:#F3F3F3;border:1px solid #DDDDDD;border-radius:3px;-khtml-border-radius:3px;margin:10px;-moz-border-radius:3px;padding-top:4px;text-align:center;-webkit-border-radius:3px}

.wp-caption img{border:0 none;margin:0;padding:0}

p.wp-caption-text{margin-top:4px}

.post ul.related_post li{	list-style: none;	background: url(images/related.png) 0 3px no-repeat;	padding-left: 15px;	margin-bottom: 5px;}

.post .related {	margin-left: 9px;}

.secimgdiv img {float: left !important; margin-left: 70px; margin-top: -20px; position: relative;}

.secimgdiv small {float: left !important; margin-left: -150px; margin-top: 5px;  position: relative;}

#blockinfo { margin-bottom: 1px; margin-top: 1px; overflow: auto; background: url(images/info-title.png) 1px 1px no-repeat; }

.tabcontent { border: 1px solid #858585; margin-top: 27px; position: relative; background: #ebebeb; }

.tabcontent h2 { color: #3366ff; font: normal normal 1.6em Arial; padding: 6px 10px 2px 11px; }

.tabcontent p { font-family: Arial; font-size: 1.2em; line-height: 1.2em; margin-bottom: 20px; padding: 2px 10px 2px 11px; }

.tabcontent p a { color: #3366ff; }

a.download{ background: url(images/download.png) 0px  0 no-repeat; height: 25px; line-height: 25px; overflow: auto; padding: 2px 10px 2px 25px; }

ul.shadetabs li { float: left; background: url(images/info-tab.png) -2px 0 no-repeat; height: 25px; line-height: 25px; text-align: center; position: relative; border-top: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 1px solid #ccc; margin-left: -1px; }

#toptabs li {width: 149px;}

#bottomtabs li { width: 299px; }

.bottomtabs p { margin-top: 20px; margin-bottom: 5px; }

.shadetabs li.first { margin-left: 0; padding-right: 2px; }

.shadetabs li a.selected { background: url(images/info-tab-active.png) 0px 0 no-repeat; height: 25px; line-height: 25px; text-align: center; display: block; width: 100%; height: 27px; z-index: 2; position: absolute; top: -1px; left: -1px; padding-right: 1px; border-left: 1px solid #858585; border-right: 1px solid #858585; border-top: 1px solid #000; color:#003366;}

.shadetabs li.last a.selected {padding-right: 0;}

.shadetabs li a { font-size: 1.3em; font-family: Arial; color: #000; text-decoration: none; }

.shadetabs li a:hover { text-decoration: underline; }

.shadetabs li a.selected:hover { text-decoration: none; }

div.bookmarkz {margin: 10px 0 0 0; text-align: center;}

.slideshow {
	position: relative;
	width: 610px;
	}

#imagewrapper {
	float: left;
	width: 610px;
	}

#thumbswrapper {
	width: 610px;
	margin-left: 5px;
	}

#image{
	position: releative;
	width: 610px;
	height: 400px;
	overflow: hidden;
	}

#image img {
	margin: 0;
	padding: 0;
/*
	position:absolute;
	left: 0px;
	top: 0px;
	overflow: hidden;
*/
	}

#thumbs {
	list-style:none;
	}
	
#thumbs li {
	cursor: pointer;
	}

#thumbinal {
	width: 100px;
	float: left;
	}

#thumbinal img {
	margin-left: -3px;
	}

#number {
	float: left;
	padding: 2px 4px 2px 4px; 
	margin: 2px 1px 2px 1px;
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}