

/* Start:/local/templates/ago/template_styles.css?17707592424711*/
html {
	height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	color: #222;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	height: 100%;
}

a:hover,
a:active {
	color: #7c4dff;
}

.container {
	box-sizing: border-box;
}

header {
	background-color: #000;
	color: #fff;
	flex: 0 0 auto;
}

.logo {
	font-family: 'Lora', sans-serif;
	font-size: 24px;
	display: flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
	background-color: #000;
	padding: 10px 12px;
}

.logo:hover {
	color: #fff;
}

.logo-l {
	padding-right: 10px;
	font-size: 40px;
	line-height: 1;
	margin-top: 6px;
	position: relative;
}

.logo-l:before {
	content: '';
	width: 7px;
	height: 38px;
	position: absolute;
	right: -2px;
	top: 0;
	background-color: #7c4dff;
}

.logo .logo-wrapper {
	font-size: 14px;
	line-height: 1;
	padding-left: 11px;
	height: 42px;
}

.logo:hover .logo-note,
.logo:active .logo-note {
	opacity: 0;
}

.logo:hover .logo-note-hover,
.logo:active .logo-note-hover {
	opacity: 1;
}

.logo .logo-note {
	position: absolute;
	/*transition: opacity 0.3s linear;*/
}

.logo .logo-note-hover {
	position: absolute;
	opacity: 0;
	/*transition: opacity 0.3s linear;*/
}

article {
	margin-bottom: 20px;
}

.video img,
.article-detail img {
	width: 100%;
	display: block;
	border-radius: 10px;
}

.video video {
	display: none;
	width: 100%;
	border-radius: 10px;
}

.article-detail video {
	margin-bottom: 25px;
}

p {
	margin-top: 0;
}

footer {
	background-color: #000;
	color: #fff;
	margin-bottom: 24px;
	flex: 0 0 auto;
}

.footer-line {
	background-color: #000;
	padding: 20px 12px;
}

h2 a,
h4 a {
	color: #222;
	text-decoration: none;
}

article a {
	display: block;
	text-decoration: none;
}

.video:hover img {
	display: none;
}

.video:hover video {
	display: block;
}

article h2 a span {
	display: inline-block;
	position: relative;
}

article h2 a span::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: linear-gradient(to left, #7c4dff, #000);
	bottom: -5px;
	left: 0;
	transform: scaleX(0);
	transform-origin: left;
	/*transform-origin: 100% 50%;*/
	transition: transform 0.4s ease-out;
}

article h2 a:hover span::after,
article .video:hover + h2 a span::after{
	transform: scaleX(1);
	/*transform-origin: 0% 50%;*/
}

article h2 a:hover span,
article .video:hover + h2 a span {
	background: linear-gradient(to right, #000, #7c4dff);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}




/* TODO из компонента */
.content-title {
	font-family: 'Lora', sans-serif !important;
	border-bottom: 2px solid #7c4dff;
	padding: 0 0 3px;
	margin-bottom: 10px !important;
	font-weight: 600 !important;
}

.content-body {
	padding: 0;
	margin-bottom: 10px !important;
}

.content-item {
	line-height: 1.2;
	margin-bottom: 8px !important;
}

a.content-item {
	color: #7c4dff;
}

a.content-item:hover {
	font-weight: 500;
}

span.content-item {
	font-style: italic;
}

.story-preview-img {
	display: inline-block;
}

/* TODO из компонента */
.recommended-title {
	font-family: 'Lora', sans-serif !important;
	font-weight: 600 !important;
}







article h2 {
	font-family: 'Lora', sans-serif;
	font-size: 30px;
	margin-top: 15px;
	margin-bottom: 15px;
}

/* детальная статья */

.article-detail {
	line-height: 1.6;
}

.article-detail h1 {
	font-family: 'Lora', sans-serif;
	font-size: 32px;
	margin-top: 20px;
	margin-bottom: 15px;
}

@media (max-width: 767.98px) {
	.article-detail h1 {
		font-size: 24px;
		border-bottom: 6px solid #7c4dff;
	}
}

.article-text img,
.article-text video {
	margin-top: 5px;
	margin-bottom: 15px;
	/*max-width: 70%;*/
	/*margin-left: auto;*/
	/*margin-right: auto;*/
	/*display: inherit;*/
}

.article-detail h2 {
	position: relative;
	font-size: 24px;
	margin: 0 0 15px;
	padding-left: 15px;
}

.article-detail h2:before {
	position: absolute;
	content: '';
	left: 0;
	top: 50%;
	width: 5px;
	height: 18px;
	margin-top: -10px;
	background-color: #7c4dff;
}

@media (max-width: 767.98px) {
	.article-detail h2 {
		font-size: 20px;
		padding-left: 0;
		line-height: 1.2;
	}
	
	.article-detail h2:before {
		display: none;
	}
}

.article-detail h3 {
	font-family: 'Lora', sans-serif;
	font-size: 22px;
}

.main-img {
	margin-bottom: 25px;
	/*max-width: 70%;*/
	/*margin-left: auto;*/
	/*margin-right: auto;*/
	/*display: inherit;*/
}

main {
	flex: 1 0 auto;
	margin-top: 40px;
}

aside img {
	width: 100%;
	margin-bottom: 0 !important;
	border-radius: 8px;
}

aside h4 {
	font-family: 'Lora', sans-serif;
	margin: 8px 0 4px;
	font-size: 18px;
}

.aside-block {
	margin-bottom: 15px;
}

aside {
	margin-top: 86px !important;
	font-size: 14px;
}

/* End */
/* /local/templates/ago/template_styles.css?17707592424711 */
