/* #main-content { background: #00f; } */

body { min-width: 180px; padding-top: 66px; }

.mobile-only { display: initial !important; }
.mobile-only-iblock { display: inline-block !important; }
.no-mobile { display: none !important; }

.sh-b.pos-bottom { right: 8px; max-width: calc(100% - 16px); }
.sh-b .content .a-i-t-b .w-i-t span { font-size: 15px; line-height: 22px; }
#user_info .no-subscription .btn { display: none; }

.narrow .all-wrapper,
.all-wrapper {
	padding: 16px 0 0 0;
}

#main-content, #footer {
	max-width: 440px;
	margin: 0 auto;
	position: relative;
	padding-left: 16px;
	padding-right: 16px;
}

.header-wrapper {
	max-width: none !important;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	z-index: 999999999999;
}

.rollover-menu-dialog .header-wrapper {
	position: relative;
}

.rollover-menu-dialog .ico-menu-close {
	margin-right: 0;
}

.modal-overlay .header { text-align: left; }
.modal-overlay .overlay-logo { max-width: 200px; }

.modal-overlay-content h2:not(.name) {
	text-align: left;
}

.account-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 9999999999;
}

.account-menu ul a {
	font-size: 0.875em;
	line-height: 3em;
}

.account-menu .menu-close {
	position: absolute;
	top: 16px;
	right: 4px;
}

.main-row:first-child {
	border: none;
}

#header {
	padding: 18px 12px 18px 16px;
}

#header .logo-wrapper img:not(.logo-lo) { height: 24px; }
#header .logo-wrapper img.logo-lo { height: 35px; }
.s2-L #header .logo-wrapper { margin-top: -5px; }

#header .menu-tools { margin-top: 0; }
.s2-L #header .menu-tools { margin-top: -7px; }

.menu-tools a {
	margin-left: 4px;
}

.nav-wrapper { display: none; }

.box .box-title {
	padding-left: 0;
}

.narrow.author-article .footer-wrapper {
	margin: 0;
}


.box-preferred {
	display: block;
}
.box-preferred .article-item {
	border: none;
	padding-top: 0;
}

.box-preferred .article-item.big .info {
	display: none;
}

.box-preferred .part-left,
.narrow .box-preferred .part-left,
.box-preferred .part-right,
.narrow .box-preferred .part-right {
	border: none;
	width: auto;
	padding: 0;
}

.article-item { display: block; margin-bottom: 40px !important; }
.article-item.authorial { display: flex; }
.article-item .info { margin: 0; }
.article-item .read-time {
	font-size: 14px;
	line-height: 14px;
}
.article-item .perex { display: none; }
.narrow .article-item.smaller .media,
.article-item.smaller .media,
.narrow .article-item .media,
.article-item .media { width: 150px; margin-bottom: 16px; }
.narrow .article-item.comments .media-author,
.article-item .media-author { width: 84px; margin: 0 33px 16px; }

.article-item.authorial .media,
.narrow .article-item.authorial .media { width: 100px; }
.article-item.authorial .media-author,
.narrow .article-item.authorial .media-author { width: 56px; margin: 0 22px; }

.article-item h2 a {
	font-size: 18px;
	line-height: 24px;
}

.article-item.big h2 {
	font-size: 22px;
	line-height: 32px;
}

.podcast { max-width: none; }

.search-form .form {
	flex-direction: column;
}
.search-form .search-input {
	padding: 8px;
}
.search-form .button {
	margin: 16px 0 0 0;
}


.archive-header {
	display: block;
}
.archive-header .page-title {
	margin-bottom: 24px;
}


/* detail */
.publish_date	{ white-space: revert; }
#tts-start		{ margin-top: 8px; }

.detail-perex { font-size: 1.05em !important; padding: 0; }

.page-article-detail #main-content {
	max-width: none;
	padding-left: 16px; padding-right: 16px;
}
.narrow .article-body,
.article-body, .article-meta {
	padding-left: 0; padding-right: 0;
}

.kp-detail .article-body,
.article-body {
	font-size: 0.875em;
	line-height: 1.857em;
}

.article-body .question {
	font-size: 1.071em;
}

.article-wrapper .main-row {
	padding: 20px 0;
}

.article-wrapper .main-row:first-child {
	padding-top: 0;
}


h1.article-title {
	font-size: 1.5em !important;
	line-height: 1.333em;
}

.article-image {
	margin-left: -16px;
	margin-right: -16px;
	max-width: none;
	padding: 0;
}
.narrow .article-image {
	padding: 0;
}


.article-image .image-meta {
	padding: 0 16px;
}

.media-placeholder {
	margin: 40px -16px 32px;
}

.media-placeholder .box-title {
	padding: 0 16px;
}

.media-placeholder img,
.article-image img {
	border-radius: 0;
}

.article-body:not(.without-initial-char) .first-letter {
	font-size: 77px;
	line-height: 56px;
	margin: 8px 8px 0 0;
}
.article-body:not(.without-initial-char) .first-letter[data-letter="J"],
.article-body:not(.without-initial-char) .first-letter[data-letter="Q"] {
	font-size: 57px;
	margin-top: 0;
}

.article-body blockquote {
	font-size: 1.25em;
	padding: 32px 0;
}

.article-body blockquote::after,
.article-body blockquote::before {
	height: 24px;
	width: 34px;
	background-size: contain;
}

.d-elm,
.infobox {
	float: none;
	margin: 0 0 32px 0;
	width: auto;
}

.article-inserted-image {
	width: auto !important;
	padding: 0 !important;
	margin: 0 -16px 32px !important;
	float: none;
}

.article-inserted-image img {
	border-radius: 0;
	float: none;
	margin: 0 0 8px 0;
}

.article-inserted-image .uai-name,
.article-inserted-image .uai-author {
	margin: 0 16px 8px;
	text-align: right;
}

.paywall-dialog {
	margin: 0 0 16px 0;
	padding: 24px;
}

.paywall-dialog .pw-anotation {
	margin: 0 0 32px 0;
}

.pocket-listing .tools { display: flex; flex-direction: column-reverse; top: 0; }
.pocket-listing .tools .limits { width: auto; }
.pocket-listing .articles .items { margin-top: 20px; }
.pocket-listing .articles > h2 { font-size: 24px; }

.be-native-detail { padding-top: 60px; }
.be-native-detail .all-wrapper { padding-top: 0; }
.be-native-detail #main-content { padding-top: 22px; }
#bn_claim_trigger:after { content: ""; padding-left: 0; }

.search-results .found-wrap { display: block; }
#found_authors,
#found_tags { width: 100% !important; margin-right: 0; }

.page-40000T .tiraz .list.colspan1 { width: 100%; }

/* Lo */
.box-preferred .vertical-wrap { flex-wrap: wrap; }
.box-preferred .vertical-wrap .article-item { width: 100%; }
.box-preferred .vertical-wrap .article-item .media { width: 150px; }

@media (max-width: 319px) {
	.header-wrapper { max-width: 100% !important; }
	#header .logo-wrapper img { display: none; }
	#header .logo-wrapper a {
		display: block; width: 24px; height: 24px;
		background: url("/img/4/logo_square.svg") no-repeat 50% 50%;
		background-size: 24px 24px;
	}
	.s2-L #header .logo-wrapper a { background: url("/img/LO/logistika-l.png") no-repeat 50% 50%; background-size: 17px 24px; }

	.links-wrapper .links { min-width: 100%; }

	.article-item.authorial .media { display: none; }
	.box-authorials.smaller .article-item.authorial .info { margin-right: 0 !important; }

	.box-newsletter .logos > * { margin: 0; }

	#aq-main .aq-disclaimer { padding-left: 0 !important; }
	#aq-main .aq-logo { float: none !important; margin-left: 0 !important; margin-bottom: 12px; }
}