﻿/*
Theme Name: Journalx Child
Theme URI: https://docs.wpshop.ru/themes/journalx
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: journalx
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */


.ya-share2_vertical .ya-share2__container_size_m .ya-share2__icon {
	height: 30px;
	width: 30px;
}
.entry-content .ya-share2_vertical ul {
	margin-top: 0;
	margin-bottom: 0;
}
.ya-share2_vertical .ya-share2__title {
	display: none;
}
@media (min-width: 1200px) {
	.ya-share2_vertical {
		display: none;
	}
}
@media (min-width: 1276px) {
	.ya-share2_vertical {
		display: block;
	}
}
@media (max-width: 819px) {
	.ya-share2_vertical {
		display: none;
	}
} 
.breadcrumb {
    margin-bottom: 57px;
}
.ya-share2_horizontal {
	margin: 20px 0 68px;
	text-align: center;
	left: 0;
}
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__counter {
	position: absolute;
    top: -2px;
    right: -2px;
}
.ya-share2_horizontal .ya-share2__counter:before {
	display: none;
}
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__icon{
	height: 42px;
	width: 161px;
	background-repeat: no-repeat;
	position: relative;
}
.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item {
	margin-bottom: 4px;
	display: block;
	float: left;
}
.ya-share2_horizontal  .ya-share2__item .ya-share2__icon:after {
	content: 'Поделиться';
	position: absolute;
	top: 50%;
	margin-top: -9px;
	left: 47px;
	color: #fff;
	font-size: 18px;
	line-height: 1;
}
ul.ya-share2__list.ya-share2__list_direction_horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_odnoklassniki .ya-share2__icon:after {
	content: 'Класснуть';
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_twitter .ya-share2__icon:after {
	content: 'Твитнуть';
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_telegram .ya-share2__icon:after {
	content: 'Отправить';
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_pinterest .ya-share2__icon:after {
	content: 'Запинить';
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_viber .ya-share2__icon:after {
	content: 'Вайбернуть';
}
.ya-share2_horizontal .ya-share2__item.ya-share2__item_service_whatsapp .ya-share2__icon:after {
	content: 'Ватсапнуть';
}


.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item:nth-child(4n+1) {
	clear: both;
}

.related-posts__list{
    overflow:hidden;
    margin-left: 0;
}
.related-posts__list .post-box{
    width:280px;
    float:left;
    padding:0;
    margin-right:3px;
    overflow:hidden
}
.related-posts__list .post-box img{
    width:100%;
    height:auto
}
.related-posts__list .post-box:last-child,.related-posts__list .post-box:nth-child(4){
    margin-right:0
}
.related-posts__list .post-box:nth-child(5){
    clear:both
}
.entry-content .ya-share2_vertical ul {
    margin: auto;
    width: 30px;
    display: block;
    margin-top: 10px;
}
.entry-content a.post__ya-zen {
    display: block;
    padding: 57px 0 0;
    text-decoration: none;
    color: #666B7B;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAButJREFUeNq8WltMlEcUPnthQS5yFWLFVoWCJGrR2Hjrk5oaL6mJvniJJMa+YG0fFDTxQitV02rSqon1RU0faqJiQ9NqKvGBGhq1WlBTbdCoRVcBpe5yW5aF3T39Zne2WWFv/82TfCz599+Z+WbOOTPnnDEx6SZTgGnAHGA6MBHIAVK78ecpkRt9dZuI7Gaie/i8gcd/AQ/wIo/V2LlJI5F3gBXAOmAmMGbkC13AM9GRRLj4iYZsIFNEdC6F6CdB6k0TKQM+BdYDUSezHXgRhYRPsp4MpAQfuYEfgW+BFqOJ5AM7gMpIsx8+SDvgACxRvhfsJwHW0V97ge+B/UCbEUSECh0GimK9NAw8AXpjkMiVBmSO3V8nUA38oCeR3cCX8V4alFM4EIEESxQAb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9yo2+0ObiFYiYKmJiqtrQ3Yi8FyXqzIH6p/DvWxYqPLzc6m3Kws8kG1HNilX/b0kK2+noqxGZrojci1UGQ4rOqwlpPD/OpV5NNseztzXR3zxo3M48YZfSCdI4hYgdu6EwmXjg7m06eZ165lzszUm8RzFjlxGVhVq2okNzcYgyuRtjbmkyeZV65kHjNGDyLHwiPEKapikuRk5tpa5QmIkLS2Mh87xrx4MbPVqpbI+yOTD6dVz4qY2QULmI8cCc64UhHhsIj5lfd9RUa4rxGZIYN5bUs9dizzokXMJ04EbSMRERFjcbGa/hZHS9Cd0tUQhQ2tWBE0dLs9dgJPeY7rV5a560hEJgIvDXGR8FZ9q1ezs76ehzs7tRIZAN6LlTIVWGcEkVfALaAZuIt95UlFBfdeusRepzNIpqRESXvbRo47WllBlLs+02vb7ZAFwVB1l+VhU/xvLSykgiVLKP/CBQT3LxJpTtRI1som4tZHRFblF+BDLQRYnki7YhRG02SsnWB0J8rWi+SJPeHSm7i18LPIUKgh4Q3edgj0GI1EtiRhSazJv4FlslSpqPQmanUfAZeVkhBR+KMoJFiSGCcvCyRI4k9geTQS8YiEk/ku4QgHeBijRB2q7k5MfF5EQXZJvMsD5gQaEqHwJ8DHscrDJFdArMRQlBK1SVZ38xMj4JYXBtbE61fNFY4S4AvpNV6Tf6VhE0W8PENJkkRGYv1cBD4Hmo26ixJeKt5OwcKpRbjXaJdn/NIjiepuSvx2fwO+khcElCU1NWaWZmJ/WNNOtNoS4Y5KnMszIXkqXb24c3JddXZWa4pMjKKHKBVEyjDwObCNeXC9xWg3J4soHe7VZg4u1JD0BQ5puNcDIWrQrfZq3XT/E2AA3T6l0CH5wdcAAAAASUVORK5CYII=);
    font-size: 10px;
    line-height: 11px;
    text-align: center;
    word-break: normal;
    background-position: center top;
    background-size: auto;
    background-repeat: no-repeat;
}
.entry-content a.post__ya-zen:hover {
	color: red;
}


.morkovin-sidebar {
	position: absolute;
	top: 275px;
	transform: translate(0,0) !important;
	opacity: 1;
}

.morkovin-sticky-sidebar {
	position: fixed;
	top: 0;
}

.morkovin-sticky-sidebar.invisible {
	opacity: 0;
}
.site-header {
    padding: 15px 25px;
}
.related-posts__list .post-box__title {
	font-size: 18px;
}
.archive-description, .breadcrumb, .child-categories, .comments-bottom, .container, .entry-comments, .entry-content, .entry-excerpt, .entry-footer, .entry-header, .entry-tags, .home-content, .page-content, .page-header, .post-thumbnail {
    left: 0;
}

.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 0;
    margin-bottom: 5px;
    margin-right: 5px;
}
.ya-share2__container_size_m .ya-share2__item:last-child {
    margin-right: 5px!important;
}
.archive-description, .breadcrumb, .child-categories, .comments-bottom, .container, .entry-comments, .entry-content, .entry-excerpt, .entry-footer, .entry-header, .entry-tags, .home-content, .page-content, .page-header, .post-thumbnail {
    margin-left: 320px;
}
aside.morkovin-sidebar.widget-area {
    left: 1020px;
}
.article-wrap footer.entry-footer {
    margin-bottom: 0;
}
.ya-share2.ya-share2_horizontal.ya-share2_inited {
    margin-bottom: 20px;
}
.entry-content.content-wrap-morkovin {
    margin-bottom: 20px;
}
@media (max-width:1600px){
	.widget-area.is-active {
		right: 0!important;
	}
	aside.morkovin-sidebar.widget-area {
	    right: -1%!important;
	    left: auto;
	}
	.entry-content.content-wrap-morkovin {
	    max-width: calc(100% - 650px);
	    margin-bottom: 20px;
	}
}	
@media (max-width:1199px){
	.entry-content.content-wrap-morkovin {
	    max-width: 90%;
	    padding-right: 20px;
	}
    .related-posts__list .post-box{
        width:24%;
        margin-right:1%
    }
    .related-posts__list .post-box:last-child,.related-posts__list .post-box:nth-child(4){
        margin-right:0
    }
    .related-posts__list .post-box:nth-child(5){
        clear:none
    }
    .related-posts__list .post-box:nth-child(4n+1){
        clear:both
    }
}
@media (max-width: 1200px) {
	aside.morkovin-sidebar.widget-area {
		display: none;
	}

}
@media (max-width:745px){
    .related-posts__list .post-box{
        width:49%;
        margin-right:1%
    }
    .related-posts__list .post-box:nth-child(2n+1){
        clear:both
    }
    .related-posts__list .post-box:nth-child(2n){
        margin-right:0
    }
    .archive-description, .breadcrumb, .child-categories, .comments-bottom, .container, .entry-comments, .entry-content, .entry-excerpt, .entry-footer, .entry-header, .entry-tags, .home-content, .page-content, .page-header, .post-thumbnail {
	    margin: auto;
	}
}
@media (max-width:455px){
    .related-posts__list .post-box{
        width:100%;
        float:none;
        clear:none;
        margin-right:0
    }
}
@media (max-width: 696px) {
	.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item:nth-child(4n+1) {
		clear: none;
	}	
	.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item:nth-child(3n+1) {
		clear: both;
	}
}
@media (max-width: 536px) {
	.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item:nth-child(3n+1) {
		clear: none;
	}	
	.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item:nth-child(2n+1) {
		clear: both;
	}
	.ya-share2__container_size_m .ya-share2__item:last-child {
	    margin-right: 0px!important;
	}
}
@media (max-width: 370px) {
	.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item {
	 	clear: none;
	 	margin-right: 0 !important;
	 	float: none;
	}	
}
.main-navigation {
	margin-top: -3px !important;
}
.main-navigation ul {
	justify-content: center;
}
.article-wrap {
	margin-top: -30px;
}
.site-branding {
	width: 532px;
	padding-right: 0;
}
.site-branding__body {
	padding-top: 18px;
}
.site-description {
	font-size: 0.79em;
}

@media (max-width: 745px) {
	.article-wrap {
		margin-top: 0;
	}
}
@media (max-width: 575px) {
	.site-branding {
		width: 80%;
	}
}

@media (min-width: 768px) {
	.entry-title, .page-title {
		font-size: 1.9rem;
	}
}

@media (max-width: 1046px) {
	.site-branding__body {
		display: none;
	}
	.site-branding {
		width: auto;
	}
}

@media (max-width: 991px) {
	.site-branding {
		width: 80%;
		text-align: center;
	}
	.site-logotype {
		width: 100%;
	}
}
@media (min-width: 746px) and (max-width: 991px) {
	.site-branding {
		width: 100%;
		text-align: left;
	}
	.site-logotype {
		width: 100%;
		margin-left: 293px;
	}
}
@media (max-width: 728px) {
	.entry-meta {
		display: none;
	}
	.site-branding {
		margin-top: -15px;
	}
}

.entry-content {
	font: 18px/1.7 Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}

.morkovin-sidebar {
	position: absolute;
	top: 275px;
	transform: translate(0,0) !important;
	opacity: 1;
}

.morkovin-sticky-sidebar {
	position: fixed;
	top: 0;
}

.morkovin-sticky-sidebar.invisible {
	opacity: 0;
}

.container {
	margin-left: 0;
	padding-right: 20px;
}

.related-morkovin-items {
	display: flex; 
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 0 20px;
}
.related-morkovin-items__item {
	width: 30%;
	text-align: center;
	margin-bottom: 25px;
	overflow: hidden;
	position: relative;
}
.related-morkovin-items__item img {
	display: block;
	margin: 0 auto 10px;
	width: 100%;
	height: auto;
}
.related-morkovin-items__item a:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 746px) and (max-width: 810px) {
	.related-morkovin-items {
		display: block;
	}
	.related-morkovin-items__item {
		width: 100%;
	}
}

@media (max-width: 560px) {
	.related-morkovin-items {
		display: block;
	}
	.related-morkovin-items__item {
		width: 100%;
	}
}

.widget-related {
	margin-bottom: 25px;
}