/*
Theme Name: fenkoplet
Version: 1.0
Description: Специально для http://fenkoplet.ru/
Author: Akara
*/

/* reset
-------------------------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, a, img, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td 
{
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
}
body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

body {
	background: url('img/bg.jpeg') 50% 0;
	font: 14px/1.5 Georgia, 'Times New Roman', times;
}
.wrapper {
	margin: 24px auto;
	width: 100%;
	max-width: 975px;
	background: #fff;
}

/* layout
-------------------------------------------------*/
.content {
	float: left;
	width: 65.64103%; // 640px;
}
.sidebar {
	float: right;
	margin: 6px 30px 0 0;
    width: 28.20513%; // 275px;
}
.clearfix {
	*zoom: 1;
}
.clearfix:before,
.clearfix:after {
	display: table;
	content: "";
	line-height: 0;
}
.clearfix:after {
	clear: both;
}

/* header
-------------------------------------------------*/
.header {
	padding-right: 30px;
    height: 158px;
}
.logo {
    float: left;
    margin: 18px 0 12px 30px;
    width: 290px;
    height: 128px;
	background: url('img/logo.png') no-repeat;
	text-indent: -9999px;
}
.description {
	float: left;
	margin: 35px 30px 0;
	width: 290px;
	color: #656363;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.3;
}


/* menu
-------------------------------------------------*/
#top-menu {
	float: left;
	margin-top: 31px;
    padding-right: 30px;
    width: 100px;
	line-height: 1.42;
}
#top-menu a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	color: #000;
}
#top-menu a:hover {
	text-decoration: underline;
}
#top-menu ul li {
	list-style-type: none !important;
}

#main-menu {
	font-size: 0;
    height: 48px;
    border-top: 1px solid #D9D9D9;	
}
#main-menu > li {
	display: inline-block;
    border-left: 1px solid #d9d9d9;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
	position: relative;
	padding: 16px 14px 0;
}
#main-menu > li > a {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}
#main-menu > li > a:hover {
    text-decoration: underline;
}

#main-menu .parent {
	padding: 16px 17px 0 8px;
    background: url('img/dd.png') 96% 24px no-repeat;
}
#main-menu .parent:hover {
    background: url('img/dd_hover.png') 96% 24px no-repeat #000;
	padding-bottom: 4px;
}
#main-menu .parent:hover a {
    color: #fff;
}
#main-menu .parent > a:hover {
	text-decoration: none;
}
.sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 35px;
	background: #000;
	width: 100%;
	text-align: left;
	z-index: 9999;
	padding: 3px 0 5px;
	line-height: 1.1;
}
#main-menu > li:hover .sub-menu {
	display: block;
}
.sub-menu li {
	display: block;
	margin: 5px 17px 5px 8px;	
	font-size: 11px;
}
.sub-menu li:first-child {
	border-top: 1px solid #fff;
	padding-top: 10px;
}
.sub-menu a {
	text-decoration: none;
}
.sub-menu a:hover {
	text-decoration: underline;
}

.toggle-switch {
	display: block;
	width: 100%;
	text-align: center;
	clear: both;
	text-transform: uppercase;
	border: 1px solid #d9d9d9;
	border-width: 1px 0;
    padding: 16px 14px;
    box-sizing: border-box;
    cursor: pointer;
    display: none;
}

/* content
-------------------------------------------------*/
.content-wrap {
	margin: 27px 0 15px;
}
.post {
    padding: 25px 0 30px 30px;
	border-bottom: 1px solid #d9d9d9;
	font-family: Arial, Helvetica, sans-serif;
}
.post-single {
	font-family: Arial, Helvetica, sans-serif;
}
.post-single h2 {
	font: 24px Georgia,'Times New Roman',times;
	color: rgb(51, 51, 51);
	margin: 30px 0 0 5px;
}
.post-single h2 a {
	text-decoration:none;
	color: rgb(51, 51, 51);
}
.post-single ul {
	list-style-type: square;
	list-style-position: inside;
}

.post-inner {
	padding: 15px 0 0 25px;
}

#vk_comments {
	margin: 50px 0 0 30px;
}
#google_ad {
    text-align: center;
	margin: 30px 0 25px;
}
.gbottom { width: 200px; height: 200px; margin: auto; }
@media (min-width:410px) { .gbottom { width: 336px; height: 280px; } }
@media (min-width:700px) { .gbottom { width: 580px; height: 400px; } }

.gtop { width: 200px; height: 200px; margin: auto; }
@media (min-width:410px) { .gtop { width: 336px; height: 280px; } }
@media (min-width:700px) { .gtop { width: 100%; min-height: 76px; max-height: 120px; } }

.clear { clear:both; }
.ads {
	text-align: center;
}

/* post-navigation
-------------------------------------------------*/
.post-navigation {
    padding: 15px 0 0 30px;
    position: relative;
    width: 100%;
	border-top: 1px solid #d9d9d9;
	box-sizing: border-box;
}
.post-navigation a {
    color: #000;
    display: block;
    text-decoration: none;
}
.post-navigation span {
	display: block;
	font-style: normal;
	color: #000;
    font: 11px/1.5 Arial, Helvetica, sans-serif;	
}
.post-navigation a:hover {
    text-decoration: none;
}
.post-navigation a {
    color: #aaa9a9;
    display: block;
    font: italic 11px Georgia, Geneva, 'Times New Roman', times;
}
.post-navigation a:hover span {
    text-decoration: underline;
}
.post-prev {
    background: url('img/post_prev.png') 0 50% no-repeat;
    float: left;
    min-height: 40px;
    padding-left: 30px;
    text-align: left;
    width: 50%;
    box-sizing: border-box;
}
.post-next {
    background: url('img/post_next.png') 100% 50% no-repeat;
    float: right;
    min-height: 40px;
    padding-right: 30px;
    text-align: right;
    width: 50%;
    box-sizing: border-box;
}
.line {
    background: none repeat scroll 0 0 #D9D9D9;
    height: 100%;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: 0;
    width: 1px;
}


/* sidebar
-------------------------------------------------*/
.sidebox {
    margin-bottom: 35px;
}
.sidebox li {
    display: block;
    margin: 6px 0;
    font: 12px Georgia,Geneva,"Times New Roman",times;
}
.sidebox li li {
	padding: 0 0 0 20px;	
}
.sidebox a {
    color: #000;
    text-decoration: none;
    font: 12px Georgia,Geneva,"Times New Roman",times;
}
.sidebox-item {
    overflow: hidden;
    padding: 10px 0;
    border-top: 1px dotted #d9d9d9;
}
.sidebox-item:first-child {
    border-top: 0 none;
}
.sidebox-item-time {
    display: block;
    margin: 4px 0 0;
    color: #aaa9a9;
    font-size: 11px;	
}

/* footer
-------------------------------------------------*/
.footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #D9D9D9;
	color: #333;
	font-size: 12px;
}

/* pagination
-------------------------------------------------*/
.pagination {
    position: relative;
    clear: both;
    padding: 20px 0 0 30px;
    color: #AAA9A9;
    font-size: 12px;
}
.pagination a {
    color: #000000;
    text-decoration: none;
}
.pagination a:hover {
    text-decoration: underline;
}
.pagination .nextpostslink {
	float: right;
    padding-right: 36px;
    background: url('img/nextpostslink.png') 100% 0 no-repeat;
    text-transform: uppercase;
    line-height: 21px;
}
.pagination .previouspostslink {
	float: left;
    padding-left: 36px;
    background: url('img/previouspostslink.png') no-repeat;
    text-transform: uppercase;
    line-height: 21px;
}

/* search
-------------------------------------------------*/
#searchform {
	float: left;
	margin-top: 28px;
    width: 145px;
	height: 31px;
	background: #dadada;
}
.search-field {
    padding: 8px;
    width: 104px;
	border: none;
	background: transparent;
    color: #fff;
    vertical-align: middle;
    text-transform: uppercase;
    font: 11px Georgia, Geneva, 'Times New Roman', times;
}
.search-submit {
    width: 16px;
    height: 16px;
	border: none;
	background: url('img/search.png') center no-repeat;
    vertical-align: middle;
	text-indent: -9999px;
    cursor: pointer;
}

/* widgets
-------------------------------------------------*/
#next {
	text-align: right;
}
pre {
	white-space: pre-wrap;  
	word-wrap: break-word;
}
table {
	width: 100%;
}
th, td {
	padding: 10px;
	border: solid #999;
	border-width: 1px 0;
	text-align: left;
}

/* tabs
-------------------------------------------------*/
.tabs-item {
    display: none;
}
.tabs-item.visible {
    display: block;
}
.tabs {
    margin: 0 0 13px;
    border-bottom: 1px solid #D9D9D9;
}
.tabs li:hover {
    text-decoration: underline;
    cursor: pointer;
}
.tabs li.current {
    background: none repeat scroll 0 0 #000000;
    color: #FFFFFF;
}
.tabs li.current:hover {
    text-decoration: none;
}
.tabs li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
}

/* social
-------------------------------------------------*/
.social {
	margin: 20px 0;
	height: 20px;
}
.social-item {
	float:left;
	margin: 0 !important;
	list-style-type: none !important;
}

/* img
-------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
}
.alignleft {
	float: left;
	margin: 0 30px 0 0;
}
.alignright {
	float: right;
	margin: 0 0 0 30px;
}
.aligncenter {
	display: block;
	margin: 15px auto;
}
.wp-caption {
	padding: 0 0 5px;
    max-width: 96%;
	max-width: 100%;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #f3f3f3;
    text-align: center;
} 
.wp-caption .wp-caption-text {
    margin: 0;
    font-size: 11px;
    line-height: 17px;
}
.wp-caption img,
.wp-caption.alignright img,
.wp-caption.alignleft img,
.wp-caption.aligncenter img {
    margin: 0 auto;
	padding: 4px 0 0;
    max-width: 100%;
    height: auto;	
}
.wp-caption.alignright,
.wp-caption.alignleft,
.wp-caption.aligncenter {
    max-width: 100% !important;
    height: auto;
}
.sidebox-img {
	display: inline;
    float: left;
    margin-top: 4px;
    margin-right: 15px;
}

.ngg-gallery-thumbnail-box,
.ngg-gallery-thumbnail {
	float: none !important;
	display: inline-block !important;
	*display: inline;
}
.ngg-gallery-thumbnail {
    margin-right: 22px !important;
}

.youtube {
	position: relative;
	height: 0;
	margin: 30px 0;
	border: 1px solid #ccc;

	padding-bottom: 56.25%;
	padding-top: 30px;
}
.youtube iframe,
.youtube object,
.youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* typography
------------------------------------------------- */
.page-title {
    position: relative;
    padding: 0 0 12px 30px;
    border-bottom: 1px solid #d9d9d9;
    color: #000;
    text-transform: uppercase;
	font-size: 18px;
	font-family: Georgia, 'Times New Roman', times;	
}
.page-title a {
	text-decoration: none;
}
.post-title {
	display: block;
	margin-bottom: 8px;
    color: #000;
    text-decoration: none;
	font: 24px/1.1 Georgia, 'Times New Roman', times;
    font-weight: normal;
}
.post-category {
    margin-bottom: 10px;	
}
.post-category a {
	color: #000;
	text-decoration: none;
    text-transform: uppercase;
	font: 11px Georgia, 'Times New Roman', times;		
}
.post-category a:hover {
	text-decoration: underline;
}
.post-single-title {
	color: #333333;
    font-weight: normal;
    font-style: normal;
    font-size: 30px;
	font-family: Georgia, 'Times New Roman', times;	
}
.post-meta {
    margin-bottom: 20px;
	color: #aaa9a9;
    font-style: italic;
    font-size: 11px;
	font-family: Georgia, 'Times New Roman', times;		
}
.post-meta-single {
    position: relative;
    padding: 10px 0 0 30px;
	border-bottom: 1px solid #d9d9d9;
    color: #aaa9a9;
    font-style: italic;
    font-size: 11px;
}
.post-meta-single div {
	margin-bottom: 12px;
}
.post-date,
.post-author {
	color: #000;
    text-decoration: none;
    font-style: normal;
    font-family: Helvetica, Arial, sans-serif;
}
.post-author {
    text-transform: uppercase;
}
.sidebox-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9d9d9;
    color: #1f2122;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 14px;
}
.post-single p {
	margin: 10px 0;
}
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
a {
	color: #000;
}
a:hover {
	text-decoration: underline;
}
.bawmrp_manual img {border-radius: 30px; box-shadow: 1px 1px 0 rgba(0,0,0,0.2);}
.bawmrp h3{
font-size: 18px;
font-family: Georgia,'Times New Roman',times;
color: #333;
margin-bottom: 6px;
}
#scrolltotop {
    background: rgb(255, 255, 255);
    border: 1px solid #777;
    bottom: 20px;
    cursor: pointer;
    display: none;
    position: fixed;
    left: 20px;
	border-radius: 3px;
	padding: 2px 15px;
	text-align: center;
	font: 14px/1.5 Georgia, 'Times New Roman', times;
	color: #777;
    z-index: 9999;
	box-shadow: 0 0 0 1px #fff inset;
	text-shadow: 1px 1px 0 #fff;
}
.navigation{
text-align:center;
}
.page-numbers {
font: 14px/1.5 Georgia, 'Times New Roman', times;
padding: 3px 5px;
margin: 2px;
text-decoration:none !important;
}
#yandex_ad{
margin:15px 0 0 30px;
}

.bawmrp ul li {
	float: none !important;
	display: inline-block;
	vertical-align: top;
}

#vk_comments, #vk_comments iframe {
	width: 100% !important;
	box-sizing: border-box;
}
.post-navigation {
	padding-left: 0;
}

@media only screen and (max-width: 1000px) {
	.wrapper {
		width: 96%;
	}
	.logo {
	    width: 60%;
	}
	.description {
		display: none;
	}
}
@media only screen and (max-width: 940px) {
	.toggle-switch {
		display: block;
	}
	#main-menu {
		display: none;
		background: #fff;
		height: auto;
		border: 0;
	}
	#main-menu > li {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: left;
	}
	#main-menu .parent {
		padding: 16px 14px 0;
		background: none;
	}
	.sub-menu {
		position: relative;
		display: block;
		left: auto;
    	top: auto;
    	background: #fff;
	}
	#main-menu .parent:hover a {
		color: inherit;
	}
	#main-menu .parent a:hover {
		text-decoration: underline;
	}
	#main-menu .parent:hover {
		background: #fff;
		padding-bottom: 0;
	}
	.sub-menu li:first-child {
		border-top: 0;
	}

}
@media only screen and (max-width: 870px) { 
	.header {
		margin-bottom: 30px;
		height: auto;
	}
}
@media only screen and (max-width: 780px) {
	.content,
	.sidebar {
		float: none;
		width: 100%;
		margin-bottom: 30px;
		box-sizing: border-box;
	}
	.post,
	.post-single,
	.page-title {
		padding: 25px 30px 30px;
	}
	.post-inner,
	.post-single .page-title,
	.post-meta-single {
		padding-left: 0;
	}
	.sidebar {
		padding: 0 30px;
	}
	#vk_groups {
		margin: auto;
	}
	#vk_comments {
	    margin-left: 0;
	}
}
@media only screen and (max-width: 570px) { 
	#top-menu,
	#searchform {
		display: none;
	}
	.logo {
		width: 290px;
		margin: auto;
		float: none;
		display: block;
	}
}
@media only screen and (max-width: 470px) {
	.post-prev, .post-next {
		float: none;
		width: 100%;
		box-sizing: border-box;
	}
	.post-prev {
		margin-bottom: 30px;
	}
	.line {
		display: none;
	}
}
