/*
覧覧覧覧覧覧覧蘭
Author: Rootical
Author URI: http://rootical.by
Theme Name: QTheme
Theme URI: http://qservice.by
Description: Quality theme provided by QService
Version: 1.2

覧覧覧覧覧覧覧蘭 
*/




/* =MAIN_STYLES
----------------------------------------------- */

html,body {
margin:0;
padding:0;
height:100%;
width: 100%;
}

body {
font-family: Arial, sans-serif;
font-size:62.5%;
background: url(img/bg.gif) #cecece;
}


img {
border:0;
}

h1, h2, h3, h4, h5, h6 {font-weight:normal;margin:0;padding:0;}
h1 {font-size:3em;}
h2 {font-size:1.8em;}
h3 {font-size:1.5em;}
h4 {font-size:1.2em;height:1.25em;}
h5 {font-size:1em;font-weight:bold;}
h6 {font-size:1em;font-weight:bold;}

a {
color:#0082ce;
text-decoration:underline;
}

a:hover {
text-decoration:none;
color:#0082ce;
}


#wrapper {
position:relative;
min-height: 100%;
margin-bottom: -40px;
}

* html #wrapper {
  height: 100%;
}

#container {
width:883px;
margin:0 auto;
padding:12px 0 60px;
}



/* =HEADER
----------------------------------------------- */

#header {
position:relative;
width:883px;
height:159px;
background:url(img/header.png);
color: #6d8b9c;
text-align:left;
}

#footer {
position: relative;
height: 40px;
width:833px;
margin:0 auto;
font-size:1.1em;
padding:0 25px;
}

#welcome {
width:533px;
height:84px;
padding:35px 0 0 170px;
overflow:hidden;
}

.logo {
float:left;
color: #6d8b9c;
display: block;
}

.logo a {
text-decoration: none;
color: #fff;
}

.slogan {
clear:left;
float:left;
font-size: 1.1em;
margin-top:5px;
width:500px;
}

/* QUICK-NAVIGATOIN */

#quick-navigation {
float:left;
width:118px;
height:31px;
padding-left:9px;
}


#home {
float:left;
width:32px;
height:31px;
display:inline;
}

#message {
float:left;
width:32px;
height:31px;
display:inline;
margin-left:8px;
}

#rss {
float:left;
width:32px;
height:31px;
display:inline;
margin-left:8px;
}



.home {
display:block;
width:32px;
height:31px;
background: url(img/home-op.gif) no-repeat;
}

.home:link,.home:visited {
background: url(img/home.gif) no-repeat;
}
.home:hover {
display:block;
width:32px;
height:31px;
background: url(img/home-op.gif) no-repeat;
}
.home-op {
display:block;
width:32px;
height:31px;
background: url(img/home-op.gif) no-repeat;
}

.message {
display:block;
width:32px;
height:31px;
background: url(img/message-op.gif) no-repeat;
}

.message:link,.message:visited {
background: url(img/message.gif) no-repeat;
}

.message:hover {
display:block;
width:32px;
height:31px;
background: url(img/message-op.gif) no-repeat;
}

.message:active {
display:block;
width:32px;
height:31px;
background: url(img/message-op.gif) no-repeat;
}

.rss {
display:block;
width:32px;
height:31px;
background: url(img/rss-op.gif) no-repeat;
}


.rss:link,.rss:visited {
background: url(img/rss.gif) no-repeat;
}

.rss-op {
display:block;
width:32px;
height:31px;
background: url(img/rss-op.gif) no-repeat;
}

.rss:hover {
display:block;
width:32px;
height:31px;
background: url(img/rss-op.gif) no-repeat;
}



/* =PRIMARY_MENU
----------------------------------------------- */

#primary-menu {
float:left;
width:717px;
height:31px;
position:relative;
overflow:hidden;
margin-left:30px;
display:inline;
}

#primary-menu ul {
list-style-type:none;
margin:0;
padding:0;
}

#primary-menu li {
float:left;
display:inline;
margin:0;
padding:0;
}

#primary-menu li.current_page_item a {
color:#fff;
text-decoration:none;
}
#primary-menu li.current_page_item a:hover {
background:none;
color:#fff;
}
#primary-menu li:hover {
background:url(img/pm-hover-l.png) left no-repeat;
}
#primary-menu li.current_page_item:hover {
background:none;
}

#primary-menu li a {
float:left;
font-size:1.3em;
color:#b9cad7;
padding:6px 12px 10px 12px;
}

#primary-menu li a:hover {
color:#143041;
background:url(img/pm-hover-r.png) right no-repeat;
}

#search {
float:right;
width:180px;
margin-top:70px;
}

#search #s {
background:transparent none no-repeat scroll 0 0;
color:#FFF;
float:left;
height:15px;
padding:5px 9px;
font-size:1.1em;
width:110px;
border:0;
}

.current_page_item {
color:#fff;
}

#orlov {
float:left;
}

#qservice {
float:right;
}


/* =CENTRAL_PART
----------------------------------------------- */

#central-part {
width:883px;
position:relative;
overflow:hidden;
margin-top:8px;
background:url(img/angles-bottom.png) bottom no-repeat #fff;
}


#angles-top {
position:absolute;
top:0;
left:0;
width:883px;
background:url(img/angles-top.png);
height:18px;
}

#posts {
position:relative;
float:left;
width:629px;
padding:8px;
}

/* =SIDEBAR
----------------------------------------------- */

#sidebar {
float:left;
position:relative;
padding:8px;
width:222px;
overflow:hidden;
}

.box {
float: left;
width: 222px;
margin-bottom:0!important;
}

.inner-box {
 padding:11px;
}

.r1, .r2, .r3, .r4, .r5 {
display: block;
height: 1px;
overflow: hidden;
font-size:1px;
}

.r5 { margin: 0 5px; }
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }

h3 {margin: 0; padding: 0; font-size: 1em; font-weight: bold;}



.inner-box, b { background-color: #f1f1f1; }



/* reset.css */
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography.css */
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;}
h3 {font-size:1.4em;line-height:1;margin-bottom:0.5em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;height:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre, code {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
ul {list-style-type:none;
margin:0;
padding:0;
}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;background:#C3D9FF;}
th, td {padding:4px 10px 4px 5px;}
tr.even td {background:#E5ECF9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}


hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
hr.space {background:#fff;color:#fff;}
.clearfix:after, .container:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix, .container {display:inline-block;}
* html .clearfix, * html .container {height:1%;}
.clearfix, .container {display:block;}
.clear {clear:both;}

/* forms.css */
label {font-weight:bold;}
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend {font-weight:bold;font-size:1.2em;}
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.text, input.title {width:300px;padding:5px;}
input.title {font-size:1.5em;}
textarea {width:390px;height:250px;padding:5px;}
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}


/* ================== custom ================== */
code {white-space: normal;}
pre {overflow: auto;}
p img {float:none;margin:0 12px 0 0;padding:0;}
.fl {float: left;}
.fr {float: right;}
.block {display: block;}
small {font-size: 12px;}
table {margin-bottom: 0;}
table {border-collapse:collapse;}



/* default wordpress */
.wp-smiley {
	float: none;
	margin: 0;
}
.alignnone {
	display: inline;
}
.alignleft {
	float: left;
	margin-right: 15px;
}
.alignright {
	float: right;
	margin-left: 15px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	/* border: 1px solid #ddd; */
	text-align: center;
	background-color: #eff0f0;
	margin-top: 5px;
	margin-bottom: 15px;
	padding: 4px 0 0 0;
	display: block;
}
	.wp-caption a {
		line-height: 0.11em;
	}
	.wp-caption a:hover {
		background: none;
	}
	.wp-caption img {
		margin: 0 auto;
		display: block;
		padding: 0;
	}
	.wp-caption-text {
		padding: 3px 0 !important;
		margin: 0 !important;
	}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* code*/
/* ie5, ie6 sidebar fix */
.span-7  { width: 237px;}




blockquote {
	background-color: #fbedcf; /* #F2F8FD; */
	/* border: 1px solid #eead24; /* #D4E9F7; */
	padding: 1em 1em 1px 1em;
	margin: 0 1.5em 1.25em 1.5em;
}

code {
	display: block;
	margin: 0 1.5em 1.25em 1.5em;
}


		.banner {
			position:relative;
			width:618px;
			background:url(img/banner.png) repeat-x #4ca7dd;
			min-height:172px;
			padding:20px 9px 9px 10px;
			color:#143041;
			overflow:hidden;
			
		}
			.banner img {
				float: left;
				padding: 0 12px 18px 0;
				width:139px;
			}
			.banner h2 {
				margin-bottom: 0.35em;
				color:#008a00;
			}
			.banner p {
				font-size: 14px;
				/* padding-bottom: 1.35em; */
				margin-bottom: 0.5em;
				color:#143041;
			}

		
			.banner-top {
			position:absolute;
			top:0;
			left:0;
			width:637px;
			height:6px;
			background:url(img/banner-top.gif) no-repeat;
			}
			.banner-bottom{
			position:absolute;
			bottom:0;
			left:0;
			width:637px;
			height:6px;
			background:url(img/banner-bottom.gif) no-repeat;
			}			
		ul.items {
			list-style-type: none;
			margin: 0;
			font-size: 14px;
		}
			.items li {
				margin-bottom: 1.25em;
			}
		.items p {
			margin-bottom: 1em;
		}
		.items h2 {
			font-size: 24px;
			display: inline;
		}
			.items h2 a {
				border-bottom: 1px dashed;
				text-decoration: none;
				color: black;
			}
		.items h3 {
			font-size: 16px;
			margin-bottom: 0.6em;
		}
		.items ul, .items ol {
			margin-bottom: 1.25em;
		}
		.items ul {
			list-style-type: none;
			margin-left: 0;
		}
		.items ul li {
			padding-left: 21px;
			background: transparent url(images/ico/bullet-white.gif) no-repeat scroll 2px 6px;
		}
		.items ul li, .items ol li {
			margin-bottom: 0.25em;
		}

			.items a:hover {
				color: #EEAD24;
			}
			.info {
				margin-bottom: 0.75em;
				margin-top: 0.75em;
				color: #999999;
			}
				.info span {
					margin-right: 1.5em;
					font-size: 12px;
					padding-left: 20px;
					margin-bottom: 0.5em;
				}
				.info .date {
					background: transparent url(images/ico/time.gif) no-repeat 0 -1px;
				}
				.info .author {
					background: transparent url(images/ico/user.gif) no-repeat 0 -1px;
				}
				.info .comment {
					background: transparent url(images/ico/comment.gif) no-repeat 0 -1px;
				}
				.info .cat {
					background: transparent url(images/ico/cat.gif) no-repeat 0 1px;
				}
				.info .tag {
					background: transparent url(images/ico/tag.gif) no-repeat 0 0;
				}
	#sidebar {
		font-size:1.3em;
	}
	
	#sidebar div {
	margin-bottom:15px;
	}
	#recent-comments {
	margin-bottom:0;
	}
	.inner-box {
	margin-bottom:0!important;
	}
		#sidebar h3 {
			font-size: 1.4em;
		}
		#sidebar ul, #sidebar ol {
			list-style-type: none;
		}
		

			#sidebar ul li {
				padding-left: 18px;

			}
			#sidebar ul li, #sidebar ol li {
				margin-bottom: 5px;
			}



/* Comments template */

div.com {
	margin-bottom: 30px;
}
.com .list-4 {
	list-style: none;
	margin: 0;
	padding: 0;
}
	.com .list-4 li {
		border: 1px solid #E7E9E4;
		padding: 15px 15px 0 15px;
		margin: 0 0 15px 0;
	}
		* html .com .list-4 li {
			padding:0 40px 0 20px !important;
		}
		*:first-child+html .list-4 li {
			padding:0 40px 0 20px !important;
		}
		* html .list-4 img {
			margin:20px auto auto 0;
		}
		*:first-child+html .list-4 img {
			margin:20px auto auto 0;
		}
		* html .list-4 p img {
			margin:0 auto auto 0;
		}
		*:first-child+html .list-4 p img {
			margin:0px auto auto 0;
		}
	.com-header {
		padding-bottom: 15px;
		margin: 0;
	}
		.com-header img {
			display: block;
			float: left;
		}
		.com-header .tp {
			display: block;
			margin: 0 0 0 63px;
			padding: 0;
			text-align: left;
		}
			.tp span, .tp span a {
				font-weight: bold;
				display: block;
				line-height: 150%;
			}


/* widgets */

/* calendar */
.widget_calendar caption {
	background: none;
	margin-bottom: 6px;
}
.widget_calendar th, td {
	padding: 1px 0 1px 12px;
	margin: 0;
}
.widget_calendar thead th {
	background-color: #666666;
	color: white;
	font-weight: normal;
}
.widget_calendar tbody td a {
	background-color: #EEAD24; 
	padding: 2px 1px;
	color: white;
}
	.widget_calendar tbody td a:hover {
		background-color: #666666;
	}
.widget_tag_cloud {
	line-height: 2.5em;
}

.widget_pages ul ul {
	margin-top: 4px;
}

.widget_search {

}
	.widget_search #srch-frm {
		background: none;
	}
	.widget_search .textfield {
		width: 134px;
		margin-right: 6px;
	}


#posts ul {
margin-left:23px;
margin-top:12px;
}

p {
font-size:1.3em;
}

a.url {
font-weight:bold;
}

.pencil {
float:right;
width:229px;
height:28px;
background:url(img/pencil.png);
margin-right:8px;
margin-top:10px;
text-align:center;
padding-top:60px;
}

.pencils {
float:right;
clear:right;
width:229px;
height:35px;
margin-top:10px;
background:url(img/pencils.png);
text-align:center;
padding-top:53px;
}

			
.pencil a, .pencils a {
			text-decoration:none;
			color:#fff;
			font-size:1.3em;
			font-weight:bold;
			}
			
#polls p{
font-size:1em;
}

#posts ul li ul {
font-size:1.3em;
}

#cforms4form {
font-size:1.3em;
}
