/*
Theme Name: Balimania
Theme URI: http://balimania.ru/
Description: Main Balimania Theme.
Version: 0.1
Author: w8r
Author URI: http://w8r.name/
Tags: fixed width, two columns, widgets
/* Begin Typography & Colors */

@import url(colours.css);
@import url(typography.css);

/* Layout */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* Begin Structure */

body {
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

#page {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 1060px;
}

#header {
	width: 100%;
}

#headerimg {
	display: block;
	float: left;
	margin-top: 4px;
	background: url(images/header-img.gif);
	width: 478px;
	height: 170px;
}

#top-bar {
	border-bottom: 1px solid #5a5758;
	padding: 3px 8px 26px 8px;
}

#top-bar a {
	color: #5a5758;
	padding: 4px 7px;
	display: block;
	float: left;
	font-size: 14px;
}

#top-bar a:hover {
	color: #222;
	text-decoration: none;
}

.help-nav{
	display: block;
	float: right;
	padding-right: 12px;
	width: 510px;
}
a#about,
a#administration {
	display: block;
	float: left;
	border: 1px solid #5a5758;
	margin-left: -40px;
	padding: 4px 4px;
}

#searchform {
	width: 125px;
	display: block;
	float: left;
	padding: 0;
	margin: 0 0 0 2px;
}

#searchform .screen-reader-text {
	display: none;
}

#searchsubmit {
	display: none;
}

#s {
	width: 104px;
	float: left;
	display: block;
	margin:0 0 0 120px;
	border: 1px solid #555;
	padding: 2px 7px 2px 7px;
	font-size: 14px;
	color: #555;
	line-height: 15px;
}
#ads{
	display: block;
	float: left;
	width: 337px;
	height: 170px;
	margin: 4px 0 0 9px;
}
#navigation{
float:left;
margin: 0;
padding:10px 0 0 5px;
width: 815px;
}
#navigation li.cat-item{
	display: block;
	float: left;
	width: 102px;
	height: 35px;
	margin: 0 13px 13px 0;
}
#navigation li.cat-item a{
	display: block;
	width: 102px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	background: #4f4c4d;
	color: #fff;
	font-size: 16px;
}
#navigation li.cat-item a:hover{
	background: #888;
	text-decoration: none;
}
/* This hides the 'skip to' links and maintains accessibility */
		
#skip {
	position: absolute;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#content {
	background: url(images/main-bg.jpg) repeat-y left;
	padding: 0 15px;
	float: left;
	margin-top: 5px;
        width: 800px;
        margin-right: 10px;
}
#content .top,
#content .bottom{
	display: block;
	width: 823px;
	height: 15px;
	margin: 0 0 0 -15px;
}
#content .top{
	background: url(images/main-content-bg-top.jpg) no-repeat top left;
}
#content .bottom{
	background: url(images/main-content-bg-bottom.jpg) no-repeat bottom left;
}
#sidebar {
	text-align: left;
	width: 186px;
	display: block;
	float: right;
	background: url(images/sidebar-bg.jpg) repeat-y left;
	margin: -172px 15px 0;
}
#sidebar .top,
#sidebar .bottom{
	display: block;
	height: 15px;
	width: 186px;
	float: left;
	clear: both;
}
#sidebar .top{
	background: url(images/sidebar-top.jpg) no-repeat top left;
}
#sidebar .bottom{
	background: url(images/sidebar-bottom.jpg) no-repeat bottom left;
	margin-top: 10px;
}
#sidebar ul{
	padding: 0 7px;
	text-align: center;
}
#footer {
	margin: 10px 0 0 0;
	padding: 5px;
}

.post {
	margin: 0 0 40px;
}

.postmetadata {
	margin: 30px 0;
}

.smallattachment {
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

/* End Structure */

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

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

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

.alignright {
	float: right;
}

.alignleft {
	float: left
}

/* End Images */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
}

html>body .entry li {
	margin: 7px 0 8px 10px;
}

.entry ul li:before,
#sidebar ul ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	margin: 0;
	padding: 0;
}

.postmetadata ul,
.postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

/* End Entry Lists */

/* Begin Form Elements */
#searchform {
	text-align: left;
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform {
	margin: 5px 10px 0 0;
}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#respond:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}

/* End Form Elements */

/* Begin Comments*/

.alt {
	margin: 0;
	padding: 10px;
}

.commentlist {
	padding: 0;
	text-align: justify;
}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
}

.commentlist li .avatar {
	float: right;
	padding: 2px;
}

.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

.children {
	padding: 0;
}

#commentform p {
	margin: 5px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 0;
	display: block;
}

/* End Comments */

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}

/* End Calendar */

/* Begin Various Tags & Classes */
acronym,
abbr,
span.caps {
	cursor: help;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.center {
	text-align: center;
}

.hidden {
	display: none;
}

hr {
	display: none;
}

.navigationTop {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 30px;
}

.navigationBottom {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* End Various Tags & Classes*/

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

.wp-caption {
	text-align: center;
	padding-top: 4px;
	margin: 10px;
}

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

.wp-caption p.wp-caption-text {
	padding: 0 4px 5px;
	margin: 0;
}


.spec { width: 338px; height: 172px; float: left; margin: 3px 7px 0; background: url('images/bg-special.gif') no-repeat; }

#content .blog-head { float: left; margin: -15px -14px; }
.link-head { margin:-14px 0 0; padding:0; }
.spec-head { float: left; display: block; padding: 0 }

.links { margin-top: 20px }
.links li { margin: 5px 0; }
.links li a { display: block; }

.us-info { display: block; width: 100%; height: 40px; vertical-align: top;  }
.us-info img { float: left; padding: 0 5px 0 0 }
.us-info span { float: left; color: #666; font-size: 11px; line-height: 15px }

/* End captions */

