/*
Theme Name: skolko-vo.ru theme
Theme URI:
Author: Vitaly Shkinev
Author URI:
Description: Theme for skolko-vo.ru
Version: 1
License: Copyright by modesco.ru
License URI: http://modesco.ru
Tags: skolko-vo
Text Domain: skolko-vo
*/
/* LESS used from /static/bem-blocks */


#toc_container {clear:both;}

.b-post__text {
text-indent: 0px!important;
}

/* .thumb-post прописать в style.css */
		img.thumb-post.wp-post-image
	{float:left;}
	img.thumb-category
	{float:left;}

/* оформление изображений */
/*.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	padding: 10px 4px 0px 4px;
	background: #eaeaea;
	margin-bottom: 15px;
	 max-width: 100%;
	 height: auto;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 7px 5px;
	margin: 0;
}
.wp-caption.alignleft {
	float: left;
	margin: 5px 30px 7px 0;
}
.wp-caption.alignright {
	float: right;
	margin: 5px 0 7px 30px;
}
.wp-caption.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
img.alignleft {
	float: left;
	margin: 5px 30px 7px 0;
}
img.alignright {
	float: right;
	margin: 5px 0 7px 30px;
}
*/

.b-page__main-area_right-shift {
    display: block;
    position: relative;
    margin-left: 280px!important;
    margin-right: 205px!important;
}

.b-footer__content {
    display: block;
    position: relative!important;
    padding: 0 10px;
    margin-bottom: 10px!important;
    border: 1px solid!important;
    width: 600px!important;
    margin: 0 auto!important;
}


.b-footer  {
	height: 150px!important;
}
/* author */
.author__list_elem a {
	color: #2d92ff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    padding-top: 7px;
	width:80%;
}
h2.author_subtitle {
        background-image: linear-gradient(to bottom, #0090ff, #4bb0fd);
    clear: both;
    width: 100%;
    color: #fff;
    margin: 20px 0;
    padding: 5px 0;
    text-align: center;
}
@media only screen and (max-width: 940px) {
.author__list_elem {
	width:100% !important;
	margin: 5px 15px 5px !important;
}
.author__list_elem a{
	width:85%;
}}
.avatar-150{
		border-radius: 10px;
		margin: 10px 20px 10px 20px;
		display: block;
		float: left;}
	.author__list_elem:nth-child(n+20) {
	display: none;
	}
	.author__list_elem{
		display: flex;
		float: left;
		width: 48%;
		margin: 5px 5px;
		    padding-left: 15px;

		min-height: 40px;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
		transition: all 0.3s cubic-bezier(.25,.8,.25,1);
		}
	.author__list_elem:hover {
		box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
	}
	.author__list {
		font-size: 1em;
		padding: 0;}
	a.extraarticles {
    color: #627340;
    text-decoration: none;
    border-bottom: dotted 1px #627340;
    clear: both;
    float: left;
	margin: 10px;
	}
	.author__title {
				clear:none;}
	.author_subtitle {
				clear: both; margin: 20px 20px;}
	.thumbnail {
				width: 60px;
				height: 40px;
				float:left;
				margin-right:10px;
				}
/* pagination */
#pagination {
    padding: 20px 0;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}
#pagination .page-numbers {
    font-size: 18px;
    color: inherit;
    padding: 5px 10px;
    margin: 0 2px;
    vertical-align: top;
    display: inline-block;
    line-height: 30px;
}
#pagination .page-numbers:hover {
    background: rgba(90,195,250,0.40) !important;
    text-decoration: none;
    color: #fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
#pagination .page-numbers.current {
    background: #5ac3fa  !important;
    border-bottom: none !important;
	color: #000;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
#pagination .prev {display: none;}
#pagination .next {display: none;}
div.clear {
	clear:both;
}
@media screen and (max-width:768px){	
	.b-page__sidebar-left{		display: none;	}
	.b-page__sidebar-right{display: none;}	
	.b-page__main-area_right-shift{	width: 96%!important;
    display: block!important;
    margin-left: 0!important;
    margin-right: 0px!important;
        background: white!important;
            padding-left: 21px;
    padding-right: 21px;
}
.b-page__main-area{
	background: white;
	margin-left: 4px!important;
}
.b-page__sidebar-right-background{
	width: 100%!important;
}
}

@media screen and (max-width:768px){
 .b-page__sidebar-left{
  display: none;
 }
 .b-post{
  width: 100%;
 }
}
.wp-caption{
    max-width:100%;
    margin: auto;
}
.wp-caption a img{
    display: block;
    margin: 0 auto;
}