/*******************************/
/**************GLOBAL***********/
/*******************************/

body {
  background: url("images/wrapper_bg.png") repeat-x top #ffffff;
	font-family:Verdana;
	font-size:12px;
	line-height:2em;
	margin:0;
	padding:0;
}

body.admin-menu {
  background: url("images/wrapper_bg.png") repeat-x 0px 29px #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  	font-family: Tahoma;
  	font-weight: normal;
	margin: 0 0 15px;
}

h1 {
  	font-size: 3em;
}

h2 {
  	font-size: 2em;
}

h3 {
  	font-size: 1.5em;
}

h4 {
  	font-size: 1.2em;
}

h5 {
  	font-size: 1em;
}

h6 {
  	font-size: 0.8em;
}

p {
	margin:0 0 15px 0;
	padding:0;	
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

sup {
	vertical-align:super;
	font-size: 0.7em;
}

sub {
	vertical-align:sub; 
	font-size: 0.7em;
}

a {
  	color: #3b8ab3;
	text-decoration: none;
}

.item-list ul {
	padding-left: 15px;
}

#page-wrapper ul, #page-wrapper li {
	margin:0 0 0.4em !important;
	line-height:1.4em;
}

#page-wrapper ul {
	margin-bottom: 1.4em !important;
}

a:active, 
li a.active, 
a:hover {
	outline: none;	
	text-decoration: underline;
}

li, li.leaf,
li.collapsed,
.item-list ul li,
li.expanded {
	list-style-image: url("images/list.png");
}

.clear {
	clear: both;
}

/*******************************/
/*************WRAPPER***********/
/*******************************/

#page-wrapper {
  background:url("images/page-wrapper.jpg") no-repeat;
  position: relative;
}

#page-wrapper-inner {
  min-width: 940px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

#wrapper_bg {
	float: left;
	width: 100%;
	margin-right: -100%;
}

#wrapper #wrapper-inner {
	margin-right: 300px;
}

#wrapper #kater {
	background:url("images/kater.png") no-repeat scroll 0 0 transparent;
	height:35px;
	left:25%;
	position:absolute;
	top:210px;
	width:68px;
}

#wrapper {
  background:url("images/ostrov.png") no-repeat 50% 144px;
}

/*******************************/
/*************HEADER************/
/*******************************/

#header {
	position: absolute;
	width: 100%;
  z-index: 5;
}

#header #primary_links {
	background:url("images/primary_links_bl.png") no-repeat scroll left bottom #95CD3C;
	display:table;
	height:35px;
	margin:0 auto 40px;
}

#header #primary_links ul {
	background:url("images/primary_links_br.png") no-repeat scroll right bottom transparent;
	display:table;
	margin:0 !important;
	padding:0;
}

#header #primary_links ul li {
	display:inline-block;
	float:left;
	height:22px;
	margin:0 !important;
	padding:7px 15px;
}

#header #primary_links ul li a {
	color:#FFFFFF;
	display:block;
	font-family:tahoma;
	font-size:14px;
	font-weight:bold;
	padding-bottom:3px;
	text-decoration: underline;
}

#header #primary_links ul li a:hover,
#header #primary_links ul li a.active {
	text-decoration: none;
}

#header a#sitename {
	display:table;
	margin:0 auto;
}

#header #site-name {
	clear:both;
	color:#FFFFFF;
	font-family:tahoma;
	font-size:48px;
}

/*******************************/
/*************CONTENT***********/
/*******************************/

#content {
	padding:310px 0 0;
	padding-bottom: 20px;
	margin: 0 40px;
}

/*********************************/
/**********RIGHT SIDEBAR**********/
/*********************************/

#right_sidebar {
	background:url("images/right_sidebar_bg.png") repeat-y scroll left;
	color:#FFFFFF;
	float:right;
	margin-right:18px;
	width:276px;
	color: #000;
	font-family: tahoma;
	position: relative;
  overflow: hidden;
}

#right_sidebar #right_sidebar_top {
	background:url("images/girl.jpg") no-repeat scroll left top transparent;
}

#right_sidebar #right_sidebar_bottom {
	background:url("images/right_sidebar_bottom.png") no-repeat scroll left bottom transparent;
	padding:360px 26px 25px;
}

#right_sidebar .block {
	padding: 15px 0;
	border-bottom: 1px solid #b5b5b5;
}

#right_sidebar .block h2.title {
	font-size:18px;
	margin-bottom:5px;
}

#right_sidebar #rss {
	height:45px;
	left:170px;
	position:absolute;
	top:200px;
	width:45px;
}

#right_sidebar #twit {
	height:45px;
	left:80px;
	position:absolute;
	top:193px;
	width:45px;
}

/*********************************/
/**************FOOTER*************/
/*********************************/

#footer {
	background: url("images/footer.jpg") no-repeat left bottom;
	min-height: 130px;
	padding: 20px;
}

#footer .footer_top {
	border-top:1px dotted #A0A0A0;
	display:table;
	height:1px;
	width:100%;
}	

#footer #footer_msg {
	display:table;
	margin:40px auto 0;
	max-width:500px;
}

/*********************************/
/***************NODE**************/
/*********************************/

.node {

}

.node.teaser {
	margin-bottom: 20px;
}

.node h2.title a {
	text-decoration: underline;
}

.node h2.title a:hover {
	text-decoration: none;
}

.node .field-type-taxonomy-term-reference {
	background:url("images/terms.png") no-repeat scroll left center transparent;
	margin-bottom:15px;
	margin-left:15px;
	margin-top:10px;
	padding-left:25px;
}

.node .field-type-taxonomy-term-reference .field-item {
	padding-left: 0;
  display: inline;
  margin-right: 0.75em;
}

.node .name {
	background: url("images/name.png") no-repeat left center;
	padding-left: 25px;
	float: left;
	padding-right: 25px;
	color: #f67a00;
}

.node .postdate {
	background: url("images/date.png") no-repeat left center;
	padding-left: 25px;
	float: left;
	padding-right: 25px;
}

.node .twitter,
.node .vkontakte,
.node .facebook,
.node .googleplus {
  float: left;
  margin: 4px 0 0 5px;
}

.node .twitter a,
.node .vkontakte a,
.node .facebook a,
.node .googleplus a{
  display: block;
  opacity: 0.5;
}

.node .twitter a {
  background: url(images/bg-icon-twitter.gif) no-repeat 0 0;
  width: 14px;
  height: 16px;
}

.node .vkontakte a {
  background: url(images/bg-icon-vkontakte.png) no-repeat 0 2px;
  width: 14px;
  height: 16px;
}

.node .facebook a {
  background: url(images/bg-icon-facebook.png) no-repeat 0 1px;
  width: 16px;
  height: 16px;
}

.node .googleplus a {
  background: url(images/bg-icon-googleplus.png) no-repeat 0 2px;
  width: 14px;
  height: 16px;
}

.node .twitter a:hover,
.node .vkontakte a:hover,
.node .facebook a:hover,
.node .googleplus a:hover{
  opacity: 1;
}

.node #node_bottom {
	background: url("images/node_bottom.png") repeat-x left top;
	height: 29px;
}

.node #node_bottom_left {
	background: url("images/node_bottom_left.png") no-repeat left top;
	height: 29px;
}

.node #node_bottom_right {
	background: url("images/node_bottom_right.png") no-repeat right top;
	height: 29px;
	padding:2px 15px;
	font-size: 10px;
	color: #a0a0a0;
}

.node #node_bottom_right a {
	color: #f67a00;
	font-size: 10px;
}

.node #readmore {
	float: right;
  padding-left: 25px;
}

.node .comment_count {
	background: url("images/comment_count.png") no-repeat left center;
	padding-left: 25px;
	float: right;
	padding-right: 25px;
}

.node .comment_reads {
	background: url("images/glaz.png") no-repeat left center;
	padding-left: 25px;
	float: right;
}

.node .twitter-share-button {
	float: right;
	padding: 0px 0px 5px 10px;
}

.nojs-error {
  background: #d14836;
  border-radius: 5px 5px 5px 5px;
  color: #ffffff;
  margin: 20px 0 0;
  padding: 10px;
}

/*********************************/
/**************COMMENT************/
/*********************************/

.comment {
  margin-bottom: 20px;
}

.comment .comment_tl {
	background: url("images/comment_tl.png") no-repeat left top;
}

.comment .comment_tr {
	background: url("images/comment_tr.png") no-repeat right top;
	padding:10px 10px 0;
	font-size: 10px;
}

.comment .comment_br {
	background: url("images/comment_br.png") no-repeat bottom right;
}

.comment .comment_bl {
	background: url("images/comment_bl.png") no-repeat left bottom #ededed;
}

.comment.comment-by-author .comment_tl {
	background: url("images/comment_aut_tl.png") no-repeat top left;
}

.comment.comment-by-author .comment_tr {
	background: url("images/comment_aut_tr.png") no-repeat top right;
}

.comment.comment-by-author .comment_bl {
	background: url("images/comment_aut_bl.png") no-repeat bottom left #bbb;
}

.comment.comment-by-author .comment_br {
	background: url("images/comment_aut_br.png") no-repeat bottom right;
}

.comment.comment-unpublished .comment_tl {
	background: url("images/comment_unpub_tl.png") no-repeat top left;
}

.comment.comment-unpublished .comment_tr {
	background: url("images/comment_unpub_tr.png") no-repeat top right;
}

.comment.comment-unpublished .comment_bl {
	background: url("images/comment_unpub_bl.png") no-repeat bottom left #ffc5c5;
}

.comment.comment-unpublished .comment_br {
	background: url("images/comment_unpub_br.png") no-repeat bottom right;
}

.comment.comment-unpublished .comment_content {
	background: #fff;
}	

.comment #comment_num {
	float: right;
	padding-left: 50px;
}

.comment a {
	font-size: 10px;
}

.comment_content a {
  font-size: 12px;
}

.comment .submitted {
	background: url("images/name.png") no-repeat left center;
	padding-left: 25px;	
	clear: both;
}

.comment .comment_time {
	background: url("images/date.png") no-repeat left center;
	padding-left: 25px;
	float: right;
	color: #898989;
}

.comment .comment_sub_time {
	float: left;
}

.comment .comment_picture {
	float: left;
	margin: 0 10px 0 0;
}

.comment .comment-new {
	color: red;
	clear: both;
	font-size: 1.2em;
}	

.comment .links {
	clear: both;
}

.comment .links li {
	display: inline-block;
	float: left;
}

.comment .links li a {
	text-decoration: underline;
	display: block;
  float: left;
}

.comment .links li a:hover {
	text-decoration: none;
}

.comment .comment_content {
	padding: 10px 15px 0;
}

.comment p {
	margin: 0;
}

blockquote {
  border-left: 2px solid #BBBBBB;
  clear: both;
  margin: 0.83em 0;
  padding-left: 15px;
}

/*********************************/
/**********COMMENT FORM***********/
/*********************************/

.comment-form {
  background: #e9f2f6;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.comment-form ul.tips,
.comment-form .form-required {
	display: none;
}

.comment-form h2.title {
	display: block;
}	

.comment-form .form-textarea {
	height: 90px;
	padding: 10px;
  clear: both;
  border: 1px solid #cbcbcb;
  border-radius: 5px 5px 0 0;
  resize: none;
}

.comment-form .grippie {
  border-radius: 0 0 5px 5px;
}

.comment-form fieldset {
  border: none;
  padding: 0;
}


.comment-form  label {
  font-weight: normal;
	float: left;
	width: 200px;
}

.comment-form .form-text {
	border: 1px solid #cbcbcb;
	width: 222px;
	height: 21px;
	padding: 1px 5px;
  border-radius: 5px;
}

.captcha label,
.form-type-textarea label,
.form-item-notify label,
#edit-notify-type label {
  width: auto !important;
  float: none !important;
}

.comment-form .description,
.filter-guidelines {
	display: none;
}

.comment-form .comm-labels .form-item {
	clear: both;
	display:table;
}

.comment-form .form-item-status label {
  float: none;
}

.captcha {
  margin: 10px 0 0;
}

.form-item-notify-type {
  display: inline;
} 

.form-item-notify-type label {
  float: none;
}

.filter-wrapper label {
  width: 115px;
}

.filter-wrapper .form-item {
  padding: 0;
}

/*********************************/
/**************BUTTON*************/
/*********************************/

.form-submit {
	background:#95cd3c;
	border:medium none;
	cursor:pointer;
	color: #fff;
	font-family:arial;
	height:32px;
	line-height:1em;
	padding:0 6px 3px 6px;
  border-radius: 5px;
  margin: 0 5px 0 0
}

/*********************************/
/**************LOGIN**************/
/*********************************/

#user-login-form .form-submit {
  float: right;
}

form#user-login-form input.form-text {
	background:url("images/login.png") no-repeat scroll left top transparent;
	border:medium none;
	color:#BABABA;
	height:27px;
	padding:0 10px;
	width:224px;
}

form#user-login-form div.item-list {
	float: left;
	text-align: left;
}

/*********************************/
/************TABLES***************/
/*********************************/

td, th {
	padding: 10px;
	border: none;
}

table, tr, thead, thead th, td.active, tbody {
	border: none;
	background: none;
}

table thead {
	background: url("images/tracker_tl.png") no-repeat left top #ededed;
}

table thead tr {
	background: url("images/tracker_tr.png") no-repeat right top;
}

table tbody {
	border-bottom: 1px solid #ededed;
}

table tbody tr {
	background: url("images/tracker_border.png") repeat-y left;
	border-right: 1px solid #ededed;
	border-bottom: none !important;
}

table tbody tr.even {
	background: url("images/tracker_border.png") repeat-y left  #f5f7ef;
}

table tbody tr.odd {
	background: url("images/tracker_border.png") repeat-y left #fff;
}

/*********************************/
/**************PAGER**************/
/*********************************/

ul.pager {
	padding: 10px;
	margin: 0 !important;
}

ul.pager li.pager-current {
	font-size: 1.3em;
	color: #a0a0a0;
}

ul.pager li a {
	color: #f67a00;
}

ul.pager li a.active {
	text-decoration: none;
}

ul.pager li a.active:hover {
	text-decoration: underline;
}

/*********************************/
/**************POLL***************/
/*********************************/

.poll {
	line-height: 1.3em;
}

.poll .title {
	font-weight: bold;
	margin-bottom: 5px;
}

.poll .bar {
	background: #e1e6f0;
	height: 15px;
}

.poll .bar .foreground {
	background: #3B8AB3;
	margin: 1px;
	height: 13px;
}

/*********************************/
/**************TABS***************/
/*********************************/

ul.tabs {
	margin-bottom:10px !important;
}

div.vertical-tabs {
  margin: 0;
}

div.vertical-tabs ul,
div.vertical-tabs ul li {
  list-style: none !important;
  margin: 0 !important;
}

/*********************************/
/*************SEARCH**************/
/*********************************/

.block-search .button {
  float: right;
}

.block-search .form-type-textfield {
  overflow: hidden;
  display: block;
  width: 145px;
  float: left;
  margin: 5px 0;
}

.block-search .form-text {
  width: 136px;
  height: 20px;
  border: 1px solid #94cb3c;
  border-radius: 5px;
  padding: 0 2px;
}

/*********************************/
/*************FORMS***************/
/*********************************/

.node-form #edit-title {
  width: 100%;
}