/*
Theme Name: binaries
Theme URI: http://binaries.ru.
Description: Write a short description.
Template: options
Author: Igor Kuznetsov
Author URI: http://binaries.ru
*/

* { margin: 0; padding: 0; }

/* Paragraphs */
p { margin: 0 0 15px 0; }

/* Lists */
ul { list-style: none; }
.post ul, .post ol { margin: 0 0 15px 25px; }
.post ul ul, .post ul ul ul, .post ol ol, .post ol ol ol { margin-bottom: 0; }

/* Code */
pre, code, pre code { font-size: 1.1em; }

/* Input */
input {
	color: #000;
	background: #FFF;
	border: 1px solid #323232;
}

/* Object */
object { padding: 0; margin: 0; }

/* Code */
pre { overflow: auto; margin-bottom: 15px; }
blockquote { margin: 0 25px 15px 25px; padding-left: 8px; border-left: 3px solid #74aaed; }

/* Links */
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }

.entry a { color: #000; text-decoration: none; font-weight: bold; }
.entry a:hover { color: #000; text-decoration: underline; }

/* Headers */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {text-transform: uppercase; font-weight: normal; color: #000;}
h2, h3, h4, h5, h6 { margin-bottom: 15px; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }
#content .post-title, #feature .post-title, #full-posts .post-title, #comments-template h3 {margin: 0; }

/* Left, right, and center alignment */
.left, .alignleft { float: left; margin-right: 10px; }
.right, .alignright { float: right; margin-left: 10px; }
.center, .aligncenter { margin: 0 auto 15px auto; display: block; }

/* Body */

body {
	color: #000000;
	background: #FFF; 
	font: 12px Arial, Verdana, Tahoma, sans-serif;
	text-align: center;
	line-height: 1.4em;
	}

#body-container {
	width: 942px;
	margin: 15px auto 0 auto;
	padding: 0 0px;
	}
#extra-container { margin: 0 auto; }

/* Contains content and sidebar */
#container {
	float: left;
	width: 920px;
	padding: 10px;
	background: #FFFFFF;
	text-align: left;
	}

/************************************************
	Header
************************************************/
#header-container { height: 75px; width: 100%; }

#header { float: left; text-align: left; }
#header #site-title { float: left; font-weight: bold; }
#header #site-title a {
	margin: 0 0 0 10px;
	width: 170px;
	height: 45px;
	display: block;
	background: url(images/logo.gif) no-repeat 0 0;
	}

/* Hides header text */
#header #site-title a span, #header #site-description { display: none; }
/************************************************
	Feed
************************************************/
#feed {
	float: right;
	width: 125px;
	height: 22px;
	padding: 28px 0 0 0;
	}
#feed li { display: inline; }
#feed li a { float: left; width: 40px; height: 40px; display: block; }
#feed li.feed-url a { background: url(images/feed-header.gif) no-repeat 0 0; }
#feed li.feed-email a { background: url(images/email-header.gif) no-repeat 0 0; }
#feed li.feed-comments a { background: url(images/comments-header.gif) no-repeat 0 0; }
#feed li.feed-url a span, #feed li.feed-email a span { display: none; }

/************************************************
	Navigation
************************************************/
/* Main and sub-navigation */
#navigation, #sub-navigation { float: left; text-transform: uppercase; text-align: left; }
#navigation { width: 940px; font-size: 18px; background: #FFF; }
#sub-navigation { width: 930px; font-size: 14px; background: #FFF url(images/header.gif) no-repeat 0 0; border-bottom: 1px solid #000; padding: 7px 0px 0px 10px; }
#nav { float: left; width: 710px; padding: 20px 10px 10px 15px; background: #FFF; }
#login { text-transform: none; float: right; width: 250px; background: #FFF; font-size: 9px; margin: -35px -100px 0px 0px;}
#login img { float: left; 
width: 30px; 
height: 30px; 
margin: 0 7px 0 0; 
}


/* List items */
#nav li li, #nav li li li { float: left; width: 150px; background: #fefefe; }
#sub-nav li li, #sub-nav li li li { float: left; width: 150px; background: #fefefe; }

/* List links */
#nav a { color: #000; padding: 10px 0px; }
#nav li li a { margin: 3px 5px; padding: 6px 10px; }
#sub-nav a { color: #000; padding: 7px 0px; }
#sub-nav li li a { margin: 3px 5px; padding: 4px 7px; }

/* Hover states */
#nav a:hover, #nav li li a, #nav li.current_page_item li a { color: #333; text-decoration: underline;}
#nav li li a:hover { color: #fefefe; background: #74aaed; }
#nav li.current_page_item a, #sub-nav li.current-cat a  { color: #74aaed; }
#sub-nav a:hover, #sub-nav li li a, #sub-nav li.current-cat li a { color: #000; text-decoration: underline;}
#sub-nav li li a:hover { color: #fff; background: #609be4; }

/* Drop-down controls */
#nav li, #sub-nav li { float: left; }
#nav li ul, #sub-nav li ul { margin: 0; padding: 0; position: absolute; width: 15em; left: -999em; }
#nav li:hover ul, #sub-nav li:hover ul { left: auto; z-index: 1000; }
#nav li ul li, #sub-nav li ul li { width: 15em; }
#nav li ul ul { margin: -31px 0 0 15em; }
#nav li:hover ul ul, #sub-nav li:hover ul ul { visibility: hidden; }
#sub-nav li ul ul { margin: -27px 0 0 15em; }
#nav li:hover ul ul ul, #sub-nav li:hover ul ul ul ul { visibility: hidden; }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul,
#sub-nav li:hover ul, #sub-nav li li:hover ul, #sub-nav li li li:hover ul {
	visibility: visible;
	left: auto;
	}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #sub-nav li:hover ul, #sub-nav li li:hover ul, #subnav li li li:hover ul {
	left: auto;
	}

/************************************************
	Search
************************************************/
#search { float: right; width: 185px; margin-right: 10px; padding: 0 35px 0 0;}
#search form { float: right; margin: -17px 0px 3px 0px; }
#search input#s { background: #FFF; width: 170px; height: 10px; margin: 0; padding: 5px; }
#search .search-submit { display: none; }

/************************************************
	Main content
************************************************/
#home, #content { width: 630px; border-right: 1px solid #000;}
#no-sidebar { width: 900px; }

#home.right, #content.right, #sidebar.right { margin: 0; }
#home.left, #content.left, #sidebar.left { margin: 0; }

/************************************************
	Images
************************************************/
/* Images */
img, .post img { border: none; }
a img { border: none; }
.error img { border: none}
/* Post / archive avatars */
#author-box img, .author .avatar { float: left; width: 100px; height: 100px; margin-right: 10px; }

/* Post images */
.single img, .attachment img { max-width: 98.5%; }

/* Feature images */
#feature img, #features-numbers img { width: 300px; margin: 0 10px 0 0; float: left; }
html>body #feature img, html>body #features-numbers img { max-width: 300px; width: auto; margin: 0 10px 0 0; }

/* Thumbnail images */
.thumbnail img { float: left; 
width: 140px; 
height: 140px; 
margin: 0 7px 0 0; 
}
img.thumbnail { float: left; width: 140px; height: 140px; }

img.thumb { float: left; width: 100px; height: 100px; margin: 0 7px 0 0;}

/* Medium images */
img.medium { float: left; margin: 0 10px 5px 0; }

/* Flickr / gallery stream images */
#home .flickr img, #gallery-stream img { margin: 1px 15px 1px 0; width: 75px; height: 75px; }

/* Captions */
.wp-caption {
	padding: 5px 0 3px 0;
	background: #222;
	border: 1px solid #333;
	text-align: center;
	}
.wp-caption p.wp-caption-text {
	margin: 0; padding: 0 5px;
	text-align: right;
	font-size: .8em;
	color: #eee;
	}
.wp-caption img { margin: 0; padding: 0; border: none; }

.gallery { width: 100%; margin-bottom: 18px; }

/************************************************
	Sections of the site
************************************************/
/* Section headers (each section of site and sidebar) */
.section-header, .menu h2 {
	text-transform: uppercase;
	font: 14px Arial, Tahoma, Verdan, sans-serif;
	font-weight: bold;
	color: #fff;
	margin: 1 0 10px 0;
	text-align: left;
	}
	
.sidebar-header, .menu h2 {
	text-transform: uppercase;
	font: 2 px Arial, Tahoma, Verdan, sans-serif;
	color: #000;
/*	padding: 3px 1px 6px 7px;
	margin: 1 0 10px 0;*/
	text-align: center;
	}	

/* Sections and posts */
.section, #content .post, #excerpts .post, #full-posts .post, .paged .post {
	overflow: hidden;
	width: 568px;
	margin: 0 0 -7px 0;
	padding: 10px 0;
	background: #FFFFFF;
	}
	
/* No sidebar */
#no-sidebar { float: left; margin: 0; }
html>body #no-sidebar .post, html>body #no-sidebar #comments-template, html>body #no-sidebar .section {
	width: 898px;
	}
#no-sidebar .post, #no-sidebar #comments-template, #no-sidebar .section {
	width: 878px;
	margin: 0 0 10px 0;
	padding: 10px;
	background: #323232;
	}

/* Posts */
#content .post, #home.paged .post { padding: 10px; }
p.post-meta-data { margin-bottom: 0; }
.categories {font-weight: bold; }
.tags {font-weight: bold; }
.commentslink {
text-align: right;
padding: 0px 15px 2px 0px;
/*background: url('images/comment.gif') center no-repeat;*/
}
.author {font-weight: bold; }
.time { }
.views { 
display: inline;
padding: 2px 0 2px 20px;
background: url('images/views.gif') left center no-repeat; 
}
/*Social networks*/	
span.tweet {
	margin: 0px 0px 0px 0px;
}
span.fbshare {
	margin: 0px 0px 0px 0px; position: relative; top: -6px;
}
span.fblike {
	margin: 0px 0px 0px 10px; position: relative; top: 1px;
}


/* Breadcrumb */
.breadcrumb { border: 1px solid #666666; padding: 10px; }

/* Author box */
#author-box { border: 1px solid #666666; padding: 10px; }

/* Navigation links */
.navigation-links { padding: 10px; }
.navigation-links .previous { float: left; width: 50%; }
.navigation-links .next { float: right; width: 50%; text-align: right; }

/* Navigation image attachment */
.attachment-image { max-width: 99%; margin: 15px auto; display: block; }
.navigation-attachment { float: left; width: 100%; }
.navigation-attachment img { max-width: 150px; max-height: 150px; }
.navigation-attachment .left { float: left; width: 160px; }
.navigation-attachment .right { float: right; width: 160px; text-align: right; }

/* Related posts plugin */
#related { border: 1px solid #666666; padding: 10px; }
#related ul { width: 100%; }
#related ul li { list-style-type: none; }

/* Home inserts */
#home-insert-1, #home-insert-2, #home-insert-3 {
	width: 568px;
	padding: 10px;
	border: 1px solid #666666;
	}

/* Clouds */
div.cloud { padding: 10px; border: 1px solid #666666; }

/* Excerpts / Full Posts */
#excerpts, #full-posts { width: 590px; padding: 0; margin: 0; background: transparent; }
#excerpts .post, #full-posts .post { padding: 10px; border: 1px solid #666666; }

/* Features Gallery */
#myGallery { width: 588px; height: 240px; margin: 0 0 -2px 0; padding: 0;}
#myGallery .imageElement { display: none; }
#myGallery h3, #myGallery h2 { font-size: 1.5em; }

/* Feature */
#feature { padding: 10px; border: 1px solid #666666; }

/* Home custom sections */
#home-custom-1, #home-custom-2, #home-custom-3 { padding: 10px; border: 1px solid #666666; }

/* Post blocks */
#post-blocks { width: 630px; background: transparent;}
#post-blocks .post { width: 300px; margin: 16px 0 0 0; background: #FFFFFF; border: 0px solid #666666; }
#post-blocks .even { float: right; clear: none; margin-right: 20px; }
#post-blocks .odd { float: left; clear: both; }
#post-blocks .post-title { margin: 0 0 5px 0; font-size: 9px; } 
#post-blocks a { color: #000; text-decoration: none; }
#post-blocks a:hover { color: #000; text-decoration: underline; }

/* Post sections */
#post-sections .section { padding: 10px; border: 1px solid #666666; }
#post-sections .post-title { font-size: 1em; }

/* All post tabs */
#post-tabs .tab-content, #post-block-tabs .tab-content, #post-list-tabs .tab-content { width: 588px; padding: 0; }
#post-tabs .post-title, #post-block-tabs .post-title, #post-list-tabs .post-title { font-size: 1em; }

#post-block-tabs .post, #post-list-tabs .post { width: 270px; padding: 10px; }
#post-block-tabs .even, #post-list-tabs .even { clear: none; float: right; }
#post-block-tabs .odd, #post-list-tabs .odd { clear: both; float: left; }
#post-tabs h3 a, #post-thumbnail-tabs h3 a, #post-list-tabs h3 a, #post-list-tabs h3 { font-weight: bold;	}

/* Post tabs */
#post-tabs { background: transparent; width: 590px; padding: 0; }
#post-tabs .post { margin: 10px; }

/* Post block tabs */
#post-block-tabs { background: transparent; width: 590px; padding: 0; }
#post-block-tabs .tab-content { padding: 0; }

/* Post list tabs */
#post-list-tabs { background: transparent; width: 590px; padding: 0; }
#post-list-tabs .tab-content { padding: 0; }
#post-list-tabs .tab-content ul { margin-left: 8px; }
#post-list-tabs .tab-content li { margin: 4px 0; }
#post-list-tabs .tab-content li a { display: inline; }

/* Video numbers */
#video-numbers { background: transparent; width: 640px; padding: 0; }
#video-numbers .tabbed div.tab-content { width: 568px; top: 0; }

/* Features numbers */
#features-numbers { background: transparent; width: 590px; padding: 0; border-top: 1px solid #161616; }
#features-numbers .tabbed div.tab-content { width: 568px; top: 0; border-bottom: none; }
#features-numbers ul.tabs {
	width: 588px;
	display: block; clear: left;
	overflow: hidden;
	background: #1C1C1C;
	border: 1px solid #161616;
	}

/* Video tabbed */
#video-tabbed { padding: 10px; border: 1px solid #666666; }
#video-tabbed .video-list { float: right; width: 44%; }
#video-tabbed .video-list ul { width: 100%; }
#video-tabbed .video-list li { margin: 0 0 5px 0; border: 1px solid #222; }
#video-tabbed .video-list li a { display: block; padding: 10px; background: #424242; }
#video-tabbed .video-list li a:hover { color: #fff; background: #4f4f4f; }
#video-tabbed .video-list li a.tab-current { color: #fff; font-weight: bold; }
#video-tabbed div.video { clear: none; float: left; width: 50%; }
div.v { display: none; }

/* Flickr photos and Gallery images (home) */
#home .flickr, #gallery-stream { width: 578px; padding: 10px 0 10px 10px; border: 1px solid #666666; }
#home .flickr .section-header, #gallery-stream .section-header { margin-right: 10px; }

/************************************************
	Sidebar
************************************************/
#sidebar { width: 270px; }

.menu { width: 93%; }
.tabbed { width: 100%; }
#sidebar .menu, #sidebar .tabbed { margin: 0 0 30px 0; }
#sidebar .menu, .tabbed {
	float: left;
	overflow: hidden;
	background: #FFFFFF;
	font-size: 11px;
	}

/* Sidebar lists and sidebar tab lists */
#sidebar .tabbed ul { margin: 0; padding: 0; }
#sidebar .menu ul li a, .tabbed div ul li a {
	color: #166ACA;
	padding: 2px 0;
	}
.menu div li, .menu div li li, #sidebar .tabbed div li, #sidebar .tabbed div li li {
	margin: 2px 0;
	padding: 0;
	float: left;
	width: 100%;
	}
#sidebar .menu li li a, .tabbed div li li a { padding: 2px 0 2px 8px; }
#sidebar .menu ul li a:hover, .tabbed div ul li a:hover { color: #166ACA; text-decoration: underline;}

/* Feed sidebar */
#feed-sidebar li a { height: 15px; display: block; text-indent: 25px; margin-bottom: 3px; }
#feed-sidebar li.feed-url a { background: url(images/dark-feed-sidebar.jpg) no-repeat 0 .2em; }
#feed-sidebar li.feed-email a { background: url(images/dark-email-sidebar.jpg) no-repeat 0 .2em; }

/* Recent comments widget */
#sidebar ul.recent-comments li { margin: 5px 0; }
#sidebar ul.recent-comments li a { display: inline; }

/* Sidebar video */
#sidebar .video h3 { font-size: 1em; margin: 5px 0 0 0; }

/* Sidebar ads */
#sidebar .ads p { margin: 0; padding: 0; }
#sidebar .ads a img { border: none; padding: 0; }
#sidebar .ads img { width: 125px; height: 125px; margin: 3px 10px 3px 11px; border: none; padding: 0; }
#sidebar .ads img.last { margin: 0; }

/* Sidebar gallery stream and flickr images */
#sidebar .gallery-stream img, #sidebar .flickr img { width: 75px; height: 75px; margin: 3px 8px 3px 8px; }

/* Sidebar subscribe */
#sidebar .subscribe div { padding-left: 2px; }

/* Sidebar search */
#sidebar .search input { width: 96%; padding: 5px; margin: 0; }
#sidebar .search input.search-submit { display: none; }

/* Sidebar recent widget */
#sidebar .recent .post { float: left; width: 100%; margin: 0 0 10px 0;}
#sidebar .entry { padding: 0; }
#sidebar .recent h3 { font-size: .9em; margin: 0 0 1px 0; }
#sidebar .recent h3 a { font-weight: bold; }
#sidebar .recent p { font-size: 11px; line-height: 1.4em; margin: 0; padding: 0; }
#sidebar img.thumbnail { float: left; width: 100px; height: 100px; padding: 0 10px 0 0; }



/************************************************
	Tabs
************************************************/
/* Tabs (actual tabs) */
.tabbed { padding: 0; background: transparent; border: none; }
.tabbed ul.tabs {
	position: relative;
	top: 0;
	left: 0;
	z-index: 5;
	list-style-type: none;
	}
.tabbed ul.tabs li { display: inline; }
.tabbed ul.tabs li a {
    font-weight: bold;
	color: #000;
	text-transform: uppercase;
	float: left;
	display: block;
	margin: 0 0 0 50px;
	padding: 5px .6em;
	}
.tabbed ul.tabs li a.t4 { margin: 0; }
.tabbed ul.tabs li a:hover { text-decoration: underline; }
.tabbed ul.tabs li a.tab-current { text-decoration: underline; }

/* Tab content */
#sidebar .tabbed div.tab-content { float: left; width: 93%; }
.tabbed div.tab-content {
	float: left;
	overflow: hidden;
	clear: left;
	z-index: 0;
	margin-top: -1px;
	height: 100%;
	padding: 5px 10px 10px 10px;
	background: #FFFFFF;
	}
div.t2, div.t3, div.t4, div.c2, div.c3, div.c4, div.c5, div.c6, div.c7, div.c8 { display: none; }

/************************************************
	Comments Template
************************************************/
#comments-template {
	overflow: hidden;
	width: 568px;
	margin: 0 0 10px 0;
	padding: 10px;
	background: #FFFFFF;
	}

#comments-template img { padding: 0; background: transparent; border: none; }
#comments-template ol { list-style-type: none; margin-top: 10px; }
#comments-template ol li {
	width: 97.5%;
	overflow: hidden;
	margin: 0 0 10px 0;
	padding: 5px 3%;
	background: #FFFFFF;
	border-top: 1px solid #DDDDDD;
	}
#comments-template .avatar { float: left; width: 25px; height: 25px; margin-right: 10px; padding: 2px; background: #FFF; }
#comments-template ol li .comment-meta-data { float: left; margin-top: 2px; font-weight: bold; }
#comments-template ol li .comment-meta-data a.time { float: left; clear: left; margin-top: 4px; color: #eee; font-size: .95em; }
#comments-template ol li .comment-text { clear: left; padding: 10px 10px 0 10px; }
#comments-template input {
	color: #000;
	
	}

/************************************************
	Footer
************************************************/
/* Footer */
#footer {display: inline-block;
	clear: both;
	float: left;
	width: 930px;
	padding: 5px 5px 10px 5px;
	text-align: left;
	color: #000;
	background: #FFF url(images/footer.gif) no-repeat 0 0;
	}
#footer p {
   	float: left;
	width: 50%;
	margin: 0 auto;
	padding: 5px 0;
	}
#footer p.icons {
	float: right;
	text-align: right;
	width: 50%;
	height: 32px;
	}
#footer img { border: none; }
#footer a {
	color: #000;
	}
#footer a:hover {
	text-decoration: underline;
	}
#footer img { margin: 0 0px; border: none; 
vertical-align: middle;
margin: 0px 5px 0px 5px;}
.mania { background: #990000; position: absolute; top: 0; left: 0; width: 1000px; height: 2000px; } .mania h2 { font-size: 5em; }
