/*
Theme Name: Fafka
Theme URI: http://fafka.ru/
Description:
Version: 1.0
Author: Chuev Alexander
Author URI: http://chuev.com/
*/

@import url(http://fonts.googleapis.com/css?family=Cuprum:400,700&subset=cyrillic,latin);

body
{
	position: relative;
	background: #e9ecf3;
	font-family: 'CalibriRegular', Calibri, 'Trebuchet MS', Arial;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6
{
	font-family: 'CalibriRegular', Calibri, 'Trebuchet MS', Arial;
}

a
{
	color: #336699;
}

h1
{
	margin: 0 0 15px;
	color: #333;
	font-weight: bold;
	font-size: 20px;
}
h1 a {color: #333;}

.container
{
	width: 995px !important;
	padding: 0;
}

blockquote
{
	position: relative;
	padding: 0 0 0 50px;
	margin: 15px 0;
	font-style: italic;
	border-left: none;
}
blockquote::before
{
	content: open-quote;
	position: absolute;
	top: 0;
	left: 0;
	line-height: 50px;
	font-size: 70px;
	color: #d2d2d2;
	quotes:'\201c' '\201d';
}
blockquote p
{
	font-size: 14px;
	line-height: 20px;
	color: #666;
}

code
{
	display: inline-block;
	white-space: normal;
	overflow: auto;
}

input, textarea
{
	box-shadow: none !important;
}

img
{
	max-width: 100%;
	height: auto;
}

/* --- WordPress Core --- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* --- /WordPress Core --- */


#header
{
	height: 50px;
	background: #336699;
	margin-bottom: 45px;
}
#header .navbar-brand
{
	line-height: 18px;
	font-size: 20px;
	color: #fff;
	text-shadow: 0 1px 1px #555;
}
#header form input
{
	border: none;
}

#categories
{
	position: absolute;
	width: 100%;
	top: 50px;
	left: 0;
	z-index: 100;

	height: 30px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 15px;
	box-shadow: 0 1px 1px #999;
	font-family: 'Cuprum';
	text-transform: uppercase;
}
#categories ul
{
	margin: 0 0 0 -10px;
	padding: 0;
	overflow: hidden;
	list-style: none;
}
#categories ul li
{
	margin: 0;
	padding: 0;
}
#categories ul li
{
	float: left;
}
#categories ul li.current-cat a
{
	font-weight: bold;
}
#categories ul li a
{
	color: #5b7a99;
	display: block;
	line-height: 30px;
	padding: 0 10px;
	font-size: 13px;
}
#categories.affix
{
	position: fixed;
	top: 0;
	background: #369;
	box-shadow: 0 1px 0 #666;
}
#categories.affix ul li a
{
	color: #fff;
}

#content
{
	min-height: 500px;
	float: left;
	width: 730px;
	border: solid 1px #d2d2d2;
	padding: 15px;
	background: #fff;
}
#content .ads728
{
	width: 728px;
	margin: 20px -15px;
}

#sidebar
{
	float: right;
	width: 250px;
}
#sidebar .share
{
	margin: 15px 0;
	background: #f5f5f5;
	padding: 10px;
}
#sidebar .share .title
{
	margin-bottom: 5px;
	color: #999;
	text-shadow: 0 1px 1px #fff;
	font-size: 12px;
}
#sidebar.affix
{
	position: fixed;
	margin-left: 745px;
	top: 15px;
}
#sidebar.affix-bottom
{
	position: relative !important;
	margin-left: 0 !important;
	top: 0 !important;
}

#post h2
{
	margin: 20px 0 10px;
	color: #333;
	font-weight: bold;
	font-size: 18px;
}
#post h3
{
	margin: 20px 0 10px;
	color: #333;
	font-weight: bold;
	font-size: 16px;
}
#post h4
{
	margin: 20px 0 10px;
	color: #333;
	font-weight: bold;
	font-size: 15px;
}
#post .title
{
	margin: 0;
	color: #333;
	font-weight: bold;
	font-size: 20px;
}
#post .title a
{
	color: #333;
	text-decoration: none;
}
#post .title a:hover
{
	color: #000;
}
#post .meta
{
	margin: 0 0 10px;
	font-size: 11px;
}
#post .links {
	width: 728px;
	margin: 10px -15px;
}

.comments_title
{
	border-bottom: solid 1px #d2d2d2;
}
.comments_title,
.respond_title
{
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-size: 17px;
}
#comments
{
	margin: 0 -15px -15px;
	padding: 0;
}
#comments .content
{
	padding: 15px 15px 0;
}
#comments .content .list
{
	margin: 0 -15px;
	padding: 0;
	list-style: none;
	overflow: hidden;
}
#comments .content .list li
{
	padding: 15px;
	overflow: hidden;
}
#comments .content .list li.odd
{
	background: #f7f7f7;
}
#comments .content .list li .comment-image
{
	width: 48px;
	margin-right: -48px;
	float: left;
}
#comments .content .list li .comment-image img {margin-bottom: 5px}
#comments .content .list li .comment-content
{
	width: 100%;
	padding-left: 63px;
	float: left;
}
#comments .content .list li .comment-content .comment-awaiting-moderation
{
	font-style: italic;
	font-weight: bold;
	margin-bottom: 5px;
	color: #c00;
}
#comments .content .list li .comment-content .comment-author
{
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 7px;
}
#comments .content .list li .comment-content .comment-text
{
	line-height: 20px;
}
#comments .content .list li .comment-content .comment-meta
{
	font-size: 12px;
}
#comments .content .list li ul
{
	margin: 0;
	padding: 0;
}
#comments .respond
{
	overflow: hidden;
	border-top: solid 1px #d2d2d2;
	padding: 15px;
	margin: 0;
}
#comments .respond .respond_title
{
	margin: 5px 0;
}
#comments #cancel-comment-reply-link
{
	display: inline-block;
	margin-bottom: 10px;
	color: #900;
}
#comments .respond form
{
	padding: 0;
	margin: 0;
}
#comments .respond form table
{
	margin: 0;
}
#comments .respond form table td
{
	padding: 5px;
	border: none;
}
#comments .respond form table textarea
{
	height: 54px;
	transition: height 0.3s ease;
}
#comments .respond form table textarea:focus
{
	height: 90px;
}

#posts .post
{
	margin-bottom: 20px;
}
#posts .post:last-child
{
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}
#posts .post .title
{
	margin: 0;
	color: #333;
	font-weight: bold;
	font-size: 20px;
}
#posts .post .title a
{
	color: #333;
	text-decoration: underline;
}
#posts .post .title a:hover
{
	color: #000;
	text-decoration: none;
}
#posts .post .content .wp-post-image
{
	margin: 0 15px 15px 0;
	float: left;
	cursor: pointer;
}
#posts .post .meta
{
	margin: 0 0 10px;
	font-size: 11px;
}

#footer
{
	padding: 10px 0;
	margin:15px 0 0 0;
	background:#336699;
	color: #fff;
}
#footer .comments,
#footer .comments ul
{
	margin: 15px 0;
	padding: 0;
}
#footer .comments li
{
	margin: 0;
	padding: 5px;
	list-style: none;
	overflow: hidden;
	border-top: dashed 1px #47a;
	border-bottom: dashed 1px #268;
	cursor: pointer;
}
#footer .comments li:first-child
{
	border-top: none;
}
#footer .comments li:last-child
{
	border-bottom: none;
}
#footer .comments li .avatar
{
	display: block;
	width: 32px;
	float: left;
	margin-right: 10px;
}
#footer .comments li .info
{
	float: left;
}
#footer .comments li .info .name
{
	line-height: 16px;
	font-weight: bold;
	font-size: 12px;
}
#footer .comments li .info .post
{
	font-size: 12px;
	line-height: 16px;
}
#footer .comments li .info .post a
{
	color: #ade0ff;
	text-decoration: underline;
}
#footer .comments li:hover .info .post a
{
	text-decoration: none;
}
#footer .comments li .content
{
	margin-top: 5px;
	line-height: 16px;
	font-size: 12px;
}

.navigation
{
	display: block;
	overflow: hidden;
	text-align: center;
}
.navigation div
{
	margin: 0 !important;
}
.navigation a
{
	display: inline-block;
	padding: 10px;
}

.gallery .gallery-item .gallery-icon
{
	padding: 0 7px;
}
.gallery .gallery-item .gallery-icon a
{
	display: block;
}
.gallery .gallery-item .gallery-icon a img
{
	border: solid 1px #999 !important;
}
