/* --------------------------------------------------- */
@font-face {
    font-family: 'Celestia Redux';
    src: url('../fonts/CelestiaReduxMedium.eot');
    src: url('../fonts/CelestiaReduxMedium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/CelestiaReduxMedium.woff2') format('woff2'),
        url('../fonts/CelestiaReduxMedium.woff') format('woff'),
        url('../fonts/CelestiaReduxMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
a{
	color: inherit;
	text-decoration: none;
}
/* --------------------------------------------------- */
body{
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	padding: 0px;
	margin: 0px;
	background: #f4f4f4;
	color: black;
}
.block{
	padding: 0px 20px;
}
.block > div {
	margin-left: auto;
	margin-right: auto;
	width: 1240px;
}
/* --------------------------------------------------- */
.ava{
	border-radius: 100%;
	background-image: url('../imgs/ava_ui.png');
	background-size: cover;
	background-position: center center;
}
.content{
	background: #ffffff;
	border: 1px solid #eaeaea;
	padding: 20px;
	box-sizing: border-box;
}
.contentMargin{
	margin-bottom: 22px;
}
.button{
	display: flex;
	align-items: center;
	height: 35px;
	width: 100%;
	max-width: 350px;
	justify-content: center;
	color: white;
	background: #4299b3;
	font-size: 14px;
	border-radius: 4px;
	transition: .5s ease background;
	cursor: pointer;
}
.button:hover{
	background: #348097;
}
.button.additional{
	background: #e9e9e9;
	color: black;
}
.button.additional:hover{
	background: #dadada;
}
@media screen and (min-width: 901px){
	.mobile{
		display: none !important;
	}
}
@media screen and (max-width: 900px){
	.pc{
		display: none !important;
	}
	.block > div{
		width: auto;
	}
	.block{
		padding: 0px 0px;
	}
	.content{
		border-left: none;
		border-right: none;
	}
}
/* --------------------------------------------------- */
.header{
	background: #4299b3;
	color: white;
	margin-bottom: 40px;
}
.header > div{
	display: flex;
	align-items: center;
	height: 60px;
}
.header .logo{
	padding-right: 12px;
}
.header .logo img{
	height: 35px;
}
.header .logoName{ 
	font-size: 20px;
	margin-top: -10px;
	font-weight: 500;
}
.header .menu{
	margin-left: 40px;
	flex-grow: 1;
	display: flex;
	align-items: stretch;
	height: 100%;
}
.header .menu > *{
 
	padding-left: 15px;
	padding-right: 15px;
	font-weight: 500;
	text-transform: uppercase;
	opacity: .5;
	font-size: 14px;
	display: flex;
	align-items: center;
 	transition: .2s ease opacity;
}
.header .menu > *:hover{
	opacity: 1;
}
.header .menu > *.active{
	opacity: 1;
}
.header .profile{
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	padding-left: 10px;
	padding-right: 7px;
	height: 100%;
	cursor: pointer;
	background: transparent;
	transition: .2s ease background;
}
.header .profile:hover{
	background: rgba(0,0,0,0.08);
}
.header .profile .ava{
	width: 40px;
	height: 40px;
	margin-left: 8px;
	margin-right: 3px;
}
@media screen and (max-width: 900px){
	.header .profile{
		display: none;
	}
	.header .menu {
		display: none;
	}
	.header{
		margin-bottom: 22px;
	}
	.header .burger, .header .left{
		font-size: 20px;
		padding: 10px;
		margin-right: 5px;
	}
	.header .burger:hover, .header .left:hover{
		background: rgba(0,0,0,0.1);
	}
	.header .mobileInfo{
		font-size: 15px;
	}

}
/* --------------------------------------------------- */
.main > div {
	display: flex;
	align-items: flex-start;
}
.main > div > .first{
	flex-grow: 1;
	flex-shrink: 1;
}
.main > div > .second{
	width: 315px;
	margin-left: 20px;
	flex-shrink: 0;
}
@media screen and (max-width: 900px){
	.main > div > .second{
		display: none;
	}
}
/* --------------------------------------------------- */
.content.catergoires{
	padding: 0px 15px;
	display: flex;
	box-sizing: border-box;
	padding-right: 60px;
	position: relative;
}

.content.catergoires .cats{
	overflow: auto;
}
.content.catergoires .cats > a{
	height: 50px;
	display: inline-flex;
	padding: 0px 5px;
	align-items: center;
	margin-right: 15px;
	position: relative;
	transition: .2s ease color;
}
.content.catergoires .cats > a:after{
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 2px;
	background: #6e9f3b;
	content: '';
	left: 0px;
	opacity: 0;
	transition: .2s ease opacity;
}
.content.catergoires .cats > a.active{
	color: #628d35;
}
.content.catergoires .cats > a.active:after{
	opacity: 1;
}
.content.catergoires .cats > a:hover{
	color: #628d35;
}
.content.catergoires .cats > a:hover:after{
	opacity: 1;
}
.content.catergoires > .poisk{
	font-size: 20px;
	position: absolute;
	right: 0px;
	height: 100%;
	width: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: transparent;
	transition: .2s ease background;
}
.content.catergoires > .poisk:hover{
	background: rgba(0,0,0,0.01);
}
@media screen and (max-width: 900px){
	.content.catergoires > .poisk{
		display: none;
	}
	.content.catergoires{
		padding: 0px 0px;
	}
	.content.catergoires .cats > a{
		height: 45px;
		text-decoration: none;
		margin-right: 10px;
	}


	.content.catergoires{
		width: 100vw;
		overflow: auto;
	}
	.cats{
		padding: 0px 10px;
		white-space: nowrap;
	}

}
 
/* --------------------------------------------------- */
.post, .comments, .settings{
	padding: 0px;
}
.post .zagolovok, .comments .zagolovok, .settings .zagolovok{
	border-bottom: 1px solid #eaeaea;
	padding: 15px 15px;
	font-weight: 400;
	font-size: 18px;
	display: block;
}
/* ------------*/
.postContent .text{
	padding: 0px 15px;
	margin: 0px;
	margin: 15px 0px;
	font-size: 14px;
	line-height: 23px;
}
.postContent .image {
	margin: 15px 0px;
}
.postContent .image img{
	max-width: 100%;
	max-height: 600px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: auto;
	height: auto;
}
/* ------------*/
.postContent .gif{
	text-align: center;
	margin: 15px 0px;
}
.postContent .gif img{
	max-width: 100%;
	max-height: 100%;
	display: block;
	width: auto;
	height: auto;
}
.postContent .gif div{
	display: inline-block;
	position: relative;
	cursor: pointer;
}
.postContent .gif div:before{
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 14px;
	content: "GIF " attr(data-size);
	padding: 5px;
	background: rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.9);
	font-size: 12px;
}
.postContent .gif.activated div:before{
	display: none;
}
.postContent .gif:not(.activated) div:after{
	position: absolute;
	width: 50px;
	height: 50px;
	left: calc(50% - 25px);
	top: calc(50% - 25px);
	display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\F40A";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    color: white;
    transition: .2s ease background;
}
.postContent .gif div:hover:after{
    background: rgba(0,0,0,0.6);
}
/* ------------*/
.postContent .video{
	text-align: center;
	margin: 15px 0px;
}
.postContent .video img{
	max-width: 100%;
	max-height: 600px;
	display: block;
	width: auto;
	height: auto;
}
.postContent .video img, .postContent .video iframe{
	max-height: auto !important;
}
.postContent .video div{
	display: inline-block;
	position: relative;
	cursor: pointer;
}
.postContent .video div:before{
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 14px;
	content: attr(data-desc);
	padding: 5px;
	background: rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.9);
	font-size: 12px;
}
.postContent .video:not(.activated) div:after{
	position: absolute;
	width: 50px;
	height: 50px;
	left: calc(50% - 25px);
	top: calc(50% - 25px);
	display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\F40A";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    color: white;
    transition: .2s ease background;
}
.postContent .video div:hover:after{
    background: rgba(0,0,0,0.6);
}
.postContent .video.activated div:before{
	display: none;
}
/* ------------*/
.post .postInfo{
	background: #f9f9fb;
	padding: 10px 15px;
	display: flex;
	align-items: stretch;
	border-top: 1px solid #eaeaea;
}
.post .postInfo .left{
	text-align: left;
	width: 250px;
	display: flex;
	align-items: center;
}
.post .postInfo .center{
	flex-grow: 1;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.post .postInfo .right{
	text-align: right;
	width: 250px;
}
/* ------------*/
.post .postInfo .btn{
	display: inline-flex;
	align-items: center;
	cursor: pointer;

	margin-right: 15px;
}
.post .postInfo .btn i{
	opacity: .6;
}
.post .postInfo .btn:hover i{
	opacity: 1;
}
.post .postInfo .btn i{
	font-size: 23px;
	margin-right: 5px;
	margin-top: -2px;
}
.post .postInfo .comments.btn i{
	font-size: 21px;
}
.post .postInfo .parentCategoryName{
	color: #757575;
	font-weight: 300;
	margin-right: 5px;
}
.post .postInfo .subCategoryName{
	color: #565656;
}
.post .postInfo .parentCategoryName:hover, .post .postInfo .subCategoryName:hover{
	text-decoration: underline;
}
/* ------------*/
.post .postInfo .profile{
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.post .postInfo .profile .name{

}
.post .postInfo .profile .desc{
	color: #696969;
	font-weight: 300;
	font-size: 13px;
}
.post .postInfo .profile .ava{
	height: 35px;
	width: 35px;
	margin-left: 7px;
}
.post .postInfo .profile:hover .name{
	text-decoration: underline;
}
.post:last-child{
	margin-bottom: 0px;
}
@media screen and (max-width: 900px){
	.post .postInfo{
		flex-direction: row;
		flex-wrap: wrap;
	}
	.post .postInfo .left{
		width: auto;
		order: 1;
		flex-shrink: 1;
	}
	.post .postInfo .center{
		text-align: right;
		width: 100%;
		order: 3;
		margin-top: 14px;
	}
	.post .postInfo .right{
		width: auto;
		order: 2;
		flex-grow: 1;
		flex-basis: 50%;
	}
	.post .postInfo .profile{
		justify-content: flex-end;
		text-align: right;
	}

	.post .zagolovok{
		padding: 15px 10px;
	}
	.postContent .text{
		padding:  0px 10px;
	}
	.post .postInfo{
		padding: 7px 10px;
	}
	.post .postInfo .btn{
		margin-right: 10px;
	}
	 
	.postContent .video img{
		height: auto !important;
	}

	.post .postInfo .parentCategoryName, .post .postInfo .subCategoryName{
		font-size: 12px;
	}
}

/* --------------------------------------------------- */
.content.myInfo{
	padding: 0px;
}
.content.myInfo .myProfile{
	display: flex;
	padding: 9px 15px;
	align-items: center;
	border-bottom: 1px solid #eaeaea;
}
.content.myInfo .myProfile:hover .name{
	text-decoration: underline;
}
.content.myInfo .myProfile .ava{
	width: 32px;
	height: 32px;
	margin-right: 7px;
}
.content.myInfo .counter{
	display: flex;
}
.content.myInfo .counter > div{
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	border-bottom: 1px solid #eaeaea;
}
.content.myInfo .counter > div span{
	font-size: 24px;
	margin-bottom: 5px;
	display: block;
}
.content.myInfo .links{
	padding: 10px 0px;
}
.content.myInfo .links > a{
	display: block;
	padding: 6px 15px;
}
.content.myInfo .links > a:hover span{
	text-decoration: underline;
}
.content.myInfo .links > a .count{
	padding: 2px 5px;
	border-radius: 2px;
	background: #4299b3;
	color: white;
	display: inline-block;
	font-size: 13px;
	margin-left: 5px;
}
/* ------------*/
.inTrend{
	
	display: block;
	position: relative;
	height: 240px;
	color: black;
	overflow: hidden;
	border: 1px solid #eaeaea;
}
.inTrend .image{
	background-image: url('../imgs/inTrend.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 0;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	transition: transform .6s ease;
}
.inTrend .white{
	background: white;
	opacity: 0.8;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.inTrend .objavleniye{
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.inTrend .objavleniye .small{
	margin: 3px 0px;
}
.inTrend .objavleniye .big{
	font-weight: 500;
	font-size: 24px;
}
.inTrend:hover .image{
	transform: scale(1.1);
}
.inTrend:hover .objavleniye .link{
	text-decoration: underline;
}
/* --------------------------------------------------- */
.footer{
	background: #f0f0f0;
	border: 1px solid #eaeaea;
	padding: 20px 0px;
	margin-top: 40px;
}
.footer > div{
	display: flex;
}
.footer .logoName{
	font-weight: 500;
	font-size: 16px;
}
.footer .subName{
	font-size: 13px;
	margin-top: 15px;
	line-height: 18px;
}
.footer .subName a{
	color: #4299b3;
}
.footer .subName a:hover{
	text-decoration: underline;
}
.footer .list{
	padding-right: 40px;	
}
.footer .list .zag{
	font-weight: 500;
}
.footer .list .zag, .footer .list a{
	display: block;
	padding: 5px 0px;
}
 .footer .list a{
 	font-size: 13px;
 }
.footer .info{
	padding-right: 50px;	
}
.footer .list a:hover{
	text-decoration: underline;
}
.footer .small{
	font-size: 12px;
}
.copy {
	text-align: center;
}
@media screen and (max-width: 900px){
	.footer .list{
		display: none;
	}
	.footer{
		text-align: center;
		padding-left: 10px;
		padding-right: 10px;
		margin-top: 22px;
	} 
	.footer .info{
		text-align: center;
		padding-right: 0px;
		width: 100%;
	}
	.footer .subName{
		font-size: 12px;
	}
	.footer .small{
		font-size: 11px;
	}
}
/* --------------------------------------------------- */
.slider{
	width: 100vw;
	max-width: 450px;
	position: fixed;
	left: calc(-100vw - 20px);
	top: 0px;
	height: 100vh;
	background: white;
	z-index: 999;
	overflow: auto;
	padding: 0px;
	z-index: 1000;
	border-right: 1px solid #eaeaea;
	box-shadow: 0 0 1px #0000001a;
	transition: .4s ease left;
	will-change: left;
}
.slider.active{
	left: 0px;
}
.slider .wallpaper{
	background-image: url('../imgs/slider.jpg');
	background-size: cover;
	background-position: center center;
	height: 110px;
	position: relative;
}
.slider .wallpaper:after{
	position: absolute;
	left: 0px;
	height: 100%;
	width: 100%;
	top: 0px;
	background: black;
	opacity: 0.6;
	content: '';
}
.slider .wallpaper .left{
	z-index: 1001;
	left: 0px;
	font-size: 12px;
	text-align: center;
	top: 0px;
	color: white;
	position: absolute;
	height: 100%;
	width: 40%;
}
.slider .wallpaper .right{
	z-index: 1001;
	right: 0px;
	font-size: 12px;
	text-align: center;
	color: white;
	position: absolute;
	height: 100%;
	width: 40%;

}
.slider .wallpaper > div{
	display: flex;
	align-items: center;
	justify-content: center;
}
.slider .wallpaper span{
	display: block;
	font-size: 18px;
	margin-bottom: 3px;
}
.slider .ava{
	width: 100px;
	height: 100px;
	margin-top: -70px;
	margin-left: auto;
	margin-right: auto;
	position: relative; 
	z-index: 1002;
	border: lightgray 1px solid;
}
.slider .name{
	font-weight: 400;
	font-size: 18px;
	margin-top: 10px;
	text-align: center;
	margin-bottom: 15px;
}
.slider .list > a{
	display: block;
	padding: 15px 15px;
}
.slider .list > a:hover{
	background: rgba(0,0,0,0.05);
}
.slider .list > a.b{
	font-weight: 500;
}
.slider .list > a i{
	font-size: 16px;
	vertical-align: middle;
	margin-right: 10px;
}
.slider .close{
	color: white;
	font-size: 24px;
	position: absolute;
	right: 0px;
	top: 0px;
	padding: 10px;
	cursor: pointer;
	z-index: 1010;
}
.slider .close:hover{
	background: rgba(255,255,255,0.1);
}
.sliderWrapper{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 1000;
	display: none;
	opacity: 0;
	transition: .4s ease opacity;
}
.sliderWrapper.active{
	opacity: 1;
}
@media screen and (max-width: 900px){

}
@media screen and (max-width: 340px){
	.slider .wallpaper .left, .slider .wallpaper .right{
		width: 35%;
	}
}

/* --------------------------------------------------- */
.userProfile{

}
.userProfile .content{
	padding: 0px;
}
.userProfile .background{
	background-image: url('../imgs/back.png');
	background-size: cover;
	background-position: center center;
	height: 190px;
}
.userProfile .userInfo{
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	box-sizing: border-box;
	padding: 0px 30px;
}
.userProfile .squareAva{
	position: relative;
	width: 140px;
	margin-right: 30px;
}
.userProfile .squareAva .img{
	width: 100%;
	height: 140px;
	background-size: cover;
	background-position: center center;
	background-image: url(../imgs/squareAva.jpg);
	border: 1px solid #eaeaea;
	border-bottom: 0px solid transparent;
	box-sizing: border-box;

	position: absolute;
	bottom: 30px;
}
.userProfile .squareAva .button{
	height: 30px;
	font-size: 14px;
	border-radius: 0px;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}
.userProfile .profileName{
	font-weight: 400;
	font-size: 18px;
	display: inline-block;
}
.userProfile .profileInfo{
	font-weight: 300;
	font-size: 13px;
	padding-left: 8px;
	display: inline-block;
}
.userProfile .button.podpiska{
	display: inline-flex;
	height: 30px;
	width: 185px;
	border-radius: 2px;
	margin-left: 20px;
}
.userProfile .filler{
	flex-grow: 1;
}
.userProfile .counter{
	cursor: default;
}
.userProfile .counter > div{
	display: inline-block;
	margin-left: 15px;
}
.userProfile .counter span{

}
@media screen and (max-width: 900px){
	.userProfile .userInfo{
		padding: 0px 0px;
		min-height: auto;
		flex-direction: column;
		text-align: center;
	}
	.userProfile .squareAva .img{
		border-radius: 100%;
		position: static;
		width: 120px;
		height: 120px;
		margin-right: 0px;
	}
	.userProfile .squareAva{
		margin-top: -80px;
		margin-right: 0px;
		width: auto;
	}
	.userProfile .background{
		height: 120px;
		position: relative;
	}
	.userProfile .background .black{
		position: absolute;
		left: 0px;
		width: 100%;
		height: 100%;
		top: 0px;
		background: black;
		opacity: .6;
	}
	.userProfile .profileName{
		margin-top: 10px;
		display: block;
	}
	.userProfile .profileInfo{
		margin-top: 5px;
		padding-left: 0px;
		display: block;
	}

	.userProfile .left{
		left: 0px;
		font-size: 12px;
		text-align: center;
		top: 0px;
		color: white;
		position: absolute;
		height: 100%;
		width: 40%;
	}
	.userProfile .right{
		right: 0px;
		font-size: 12px;
		text-align: center;
		color: white;
		position: absolute;
		height: 100%;
		width: 40%;

	}
	.userProfile .left, .userProfile .right{
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.userProfile .left span, .userProfile .right span{
		display: block;
		font-size: 18px;
		margin-bottom: 3px;
	}

	.userProfile .list{
		width: 100%;
		text-align: left;
		padding-top: 10px;
	}
	.userProfile .list > a{
		display: block;
		padding: 10px 15px;
		width: 100%;
		box-sizing: border-box;
	}
	.userProfile .list > a:hover{
		background: rgba(0,0,0,0.05);
	}
	.userProfile .list > a.b{
		font-weight: 500;
	}
	.userProfile .list > a i{
		font-size: 16px;
		vertical-align: middle;
		margin-right: 10px;
	}
	@media screen and (max-width: 340px){
		.userProfile .left, .userProfile .right{
			width: 35%;
		}
	}
}
/* --------------------------------------------------- */
.podskazka{
	position: fixed;
	opacity: 0;

	background: white;

	top: 0px;
	left: 0px;
	min-width: 100px;
	max-width: 350px;

	visibility: hidden;
	transition: 0.5s ease opacity;

	border: 1px solid #eaeaea;
}
.podskazka.active{
	visibility: visible;
	opacity: 1;
}
/* ------------*/
/* Треугольник */
.podskazka:before{
	position: absolute;
	top: -6px;
	left: calc(50% - 7.7px);
	width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #eaeaea;
	content: '';

	z-index: 1;
}
.podskazka:after{
	position: absolute;
	top: -5px;
	left: calc(50% - 7.7px);
	width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid white;
	content: '';

	z-index: 1;
}
.podskazka.bottom:before{
	top: auto;
	bottom: -5px;
	border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: none;
    border-top: 5px solid #eaeaea;
}
.podskazka.bottom:after{
	top: auto;
	bottom: -4px;
	border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: none;
    border-top: 5px solid white;
}
/* ------------*/
/* Ссылочки */
.podskazka > a{
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 10px;
	box-sizing: border-box;
	font-weight: 400;
	text-align: left;
	font-size: 13.4px;
}
.podskazka > a:not(.z):hover{
	background: rgba(0,0,0,0.05);
}
.podskazka > a:first-child{
	border-top: 0px solid white;
}

.podskazka > a.z:not(:last-child){
	font-size: 14px;
	font-weight: 400;
	border-bottom: 1px solid #eaeaea;
	cursor: default;
	display: none;
}
/* ------------*/
/* Пустые заполнители для содержимого */
.podskazkaData{
	display: none !important;
}
/* --------------------------------------------------- */
.profilePostInfo{
	background: #f9f9fb;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
}
.profilePostInfo > div{
	padding: 15px 20px;
	text-align: center;
	font-size: 12px;
	flex-grow: 1;
}
.profilePostInfo > div > span{
	display: block;
	font-weight: 500;
	font-size: 18px;
	margin-bottom: 5px;
}
@media screen and (max-width: 900px){
	.profilePostInfo{
		flex-wrap: wrap;
	}
	.profilePostInfo > div{
		padding: 14px 10px;
	}
	.profilePostInfo > div > span{
		font-size: 16px;
	}
}
/* --------------------------------------------------- */
.comments .commentInput{
	display: flex;
	align-items: flex-start;
	padding: 15px;
	border-bottom: 1px solid #eaeaea;
}
.comments .commentInput .ava{
	width: 40px;
	height: 40px;
	margin-right: 10px;
}
.comments .input{
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
	outline: none !important;
	border: none;
	border-bottom: 1px solid #eaeaea;
	min-height: 44px;
	line-height: 23px;
	word-break: break-all;
}
.comments .input:focus{
	border-bottom: 1px solid #4299b3;
}
.comments .inputContainer{
	flex-grow: 1;
}
.comments .input:empty:before{
	content: "Напишите текст комментария";
	display: block;
	color: gray;
}
.comments .input:focus:before{
	content: "";
}
.comments .button{
	height: 30px;
	width: 200px;
	cursor: pointer;
	display: inline-flex;
}
.comments .buttonContainer{
	display: flex;
	align-items: flex-end;
	margin-top: 15px;
}
.comments .buttonContainer i{
	padding: 5px;
	margin-bottom: -5px;
	font-size: 22px;
	display: inline-block;
	vertical-align: baseline;
	margin-left: 11px;
	color: lightgray;
	cursor: pointer;
}
.comments .buttonContainer i:hover{
	color: gray;
}
/* ------------*/
.comment{
	display: flex;
	align-items: flex-start;
	margin: 15px 0px;
	padding: 0px 15px;
}
.comment.sub{
	padding-left: 60px;
}
.comment .ava{
	width: 40px;
	height: 40px;
	margin-right: 10px;
	margin-top: 12px;
}
.comment > div:last-child{
	padding-top: 5px;
}
.comment .name{
	font-size: 15px;
	font-weight: 400;
	margin-bottom: 2px;
}
.comment .name span{
	font-weight: 300;
	font-size: 12px;
	padding-left: 5px;
}
.comment .text{
	font-weight: 300;
	font-size: 14px;
	margin-bottom: 3px;
	line-height: 23px;
	word-break: break-all;
}
.comment .reply{
	font-size: 13px;
}
.comment .counter{
	margin-right: 15px;
	display: inline-block;
	cursor: pointer;
}
.comment .replyButton{
	color: #2a5885;
	cursor: pointer;
	display: inline-block;
}
.comment .counter i{
	opacity: .6;
}
.comment .counter:hover i{
	opacity: 1;
}
.comment .replyButton:hover{
	text-decoration: underline;
}
.comment .img{
	display: inline-block;
	position: relative;
	margin: 0px;
	padding: 0px;
	margin-top: 5px;
	cursor: pointer;
	line-height: 0px;
	font-size: 0px;
}
.comment img{
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 200px;
}
.comment .img:after{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	content: '';
	left: 0px;
	top: 0px;
	box-sizing: border-box;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\F6EC";
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: .3s ease opacity;
}
.comment .img:hover:after{
	opacity: 1;
}
@media screen and (max-width: 900px){
	.comments .commentInput{
		padding: 15px 10px;
	}
	.comment{
		margin: 0px 10px;
		padding: 5px 0px;
	}
	.comment.sub{
		padding-left: 10px;
		border-left: 1px solid #eaeaea;
	}
	.comment .name{
		font-size: 14px;
	}
	.comment .name span{
		font-size: 11px;
	}
	.comment .reply{
		font-size: 12px;
	}
	.comment .counter{
		display: inline-flex;
		align-items: center;
	}
	.comment .counter i{
		font-size: 16px;
		margin-right: 4px;
	}
	.comment .text{
		margin-bottom: 2px;
	}
}
/* --------------------------------------------------- */
.contentMargin.more{
	display: flex;
	justify-content: center;
}
.contentMargin.more > div{
	width: auto;
	display: inline-block;
	padding: 12px 15px;
	min-width: 300px;
	text-align: center;
}
/* --------------------------------------------------- */
.settings .inputs{
	padding: 20px 15px;
}
.settings .input{
	display: flex;
	padding: 5px 0px;
	align-items: center;
}
.settings .input > div:first-child{
	width: 250px;
	text-align: right;
	padding-right: 15px;
}
.settings .input > div:last-child{
	flex-grow: 1;
}
.settings .inputs input, .settings .inputs select, .settings .inputs textarea{
	border: 1px solid #eaeaea;
	padding: 5px;
	min-width: 300px;
	box-sizing: border-box;
}
.settings .bottom {
    background: #f9f9fb;
    padding: 10px 15px;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #eaeaea;
    cursor: pointer;
}
.settings .button{
	width: 175px;
	height: 30px;
}
.settingCats{
	padding: 0px;
	padding: 10px 0px;
}
.settingCats > a{
	display: block;
	padding: 10px 15px;
	font-weight: 300;
	border-left: 3px solid transparent;
}
.settingCats > a.active{
	font-weight: 500;
	border-left: 3px solid #4299b3;
}
.settingCats > a:hover{
	background: rgba(0,0,0,0.01);
}
@media screen and (max-width: 900px){
	.settings .inputs{
		padding: 10px;
	}
	.settings .input > div:first-child{
		width: 115px;
	}
	.settings .inputs input, .settings .inputs select, .settings .inputs textarea{
		min-width: 0px;
		width: 100%;
		max-width: 500px;
	}
	.settings .input > div:first-child{
		padding-right: 10px;
	}
}
@media screen and (max-width: 350px){
	.settings .input > div:first-child{
		width: 100px;
	}
}
/* --------------------------------------------------- */
.createPageBlock > div{
	width: 900px;
}
.createPageBlock .zagolovok{
	border-bottom: 1px solid #eaeaea;
	width: 100%;
	font-size: 16px;
}
.createPageBlock  textarea{
	padding: 15px;
	width: 100%;
	box-sizing: border-box;
	resize: none;
	outline: none;
	border: none;
	line-height: 22px;
}
.createPageBlock .content{
	padding: 0px;
}
.createPageBlock .body{
	padding: 0px 0px;
}
/* ------------*/
.createPageBlock .item{
	display: flex;
	justify-content: center;
}
.createPageBlock .addItem{
	margin: 15px 15px;
}
.createPageBlock .item > div{
	display: flex;
}
.createPageBlock .addItem > div > div{
	text-align: center;
	padding: 10px 15px;
	cursor: pointer;
	color: gray;
}
.createPageBlock .addItem > div > div:hover{
	background: rgba(0,0,0,0.02);
	color: black;
}
.createPageBlock .addItem > div > div i{
	font-size: 20px;
}
.createPageBlock .addItem > div > div span{
	display: block;
	margin-top: 7px;
}
/* ------------*/
.createPageBlock .textItem{
	margin: 15px 0px;
}
.createPageBlock .textItem textarea{
	padding: 0px 15px;
	font-size: 14px;
}
/* ------------*/
.createPageBlock .separator{
	position: relative;
	height: 0px;
	cursor: pointer;
}
.createPageBlock .separator:after{
	content: "\F415";
	display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    position: absolute;
    left: -30px;
    margin-top: -21px;
    top: 50%;
    padding: 5px;
    opacity: .5;
}
.createPageBlock .separator:hover:after{
	opacity: 1;
}
/* ------------*/
.itemWrapper{
	position: relative;
}
/* ------------*/
.createPageBlock .close{
	height: 0px;
}
.createPageBlock .close:after{
	position: absolute;
	top: 50%;
	right: -30px;
	padding: 5px;
	margin-top: -14px;
	/* ------- */
	display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	content: "\F156";
	/* ------- */
	font-size: 16px;
	cursor: pointer;
	opacity: .5;
}
.createPageBlock .close:hover:after{
	opacity: 1;
}
/* ------------*/
.createPageBlock .drag{
	height: 0px;
}
.createPageBlock .drag:after{
	position: absolute;
	top: 50%;
	left: -32px;
	padding: 5px;
	margin-top: -16.5px;
	/* ------- */
	display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	content: "\F1DC";
	/* ------- */
	font-size: 20px;
	cursor: pointer;
	opacity: .5;
}
.createPageBlock .drag:hover:after{
	opacity: 1;
}
.createPageBlock .items{
	padding-top: 10px;
	padding-bottom: 10px;
}
/* ------------*/
.createPageBlock .itemWrapper.demo{	
	display: none;
}
/* ------------*/
.podskazka.form{
	max-width: auto; 
	padding: 10px;
	width: 250px;
}
.podskazka.form input, .bottomMenu input{
	border: none;
	padding: 5px;
	width: 100%;
	box-sizing: border-box;
	outline: none;
	border-bottom: 1px solid #eaeaea;
	margin-bottom: 10px;
	font-size: 12px;
}
.podskazka.form small{
	display: block;
	margin-bottom: 5px;
}
div.tagsinput{
	height: auto !important;
	max-height: auto !important;
	min-height: 0px !important;
}
/* ------------*/
.createPageBlock .postInfo{
	background: #f9f9fb;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #eaeaea
}
.createPageBlock .postInfo input, .createPageProperties input[type=text]{
	font-family: 'Roboto';
	font-size: 14px;
    padding: 10px 15px;
	border: none;
	outline: none;
	width: 100%;
	box-sizing: border-box;
}
div.tagsinput{
	border: none !important;
	background: #f9f9fb;
}
div.tagsinput span.tag{
	margin: 5px !important;
}
/* ------------*/
.createPageProperties{
	
}
.createPageProperties .inputs{
	padding: 0px 15px;
}
.createPageProperties .inputs > div{
	margin: 15px 0px;
}
.createPageProperties .inputs > div small{
	font-size: 12px;
	font-weight: lighter;
}
.createPageProperties .inputs > div input{
	display: inline-block;
	margin-right: 5px;
}
.createPageProperties .inputs > div *{
	vertical-align: top;
}
/* ------------*/
.createPageProperties .postInfo{
	background: #f9f9fb;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    padding: 15px 15px;
}
.createPageProperties .postInfo .button{
	width: 200px;
}
.createPageProperties .postInfo .button.additional{
	margin-left: 15px;
}
.createPageProperties .postInfo .info{
	font-size: 12px;
	margin-left: 15px;
	font-weight: lighter;
}
.createPageProperties .postInfo .filler{
	flex-grow: 1;
}
.createPageProperties .postInfo .preview{
	font-size: 12px;
	color: #4299b3;
	cursor: pointer;
}
.createPageProperties .postInfo .preview:hover{
	text-decoration: underline;
}

@media screen and (max-width: 900px){
	.createPageBlock > div{
		width: auto;
	}
	.stage:not(.current){
		display: none !important;
	}
	.header{
		margin-bottom: 0px;
	}
	.stage.contentMargin{
		margin-bottom: 0px;
		max-width: 100vw;
		overflow: hidden;
	}
/* --------------------------------------------------- */
	body{
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}
	.stage{
		flex-grow: 1;
	}
/* --------------------------------------------------- */
	.createPageBlock{
		display: flex;
		flex-direction: column;
	}
	.createPageBlock .content{
		flex-grow: 1;
		width: 100%;
		transition: .5s ease width;
	}
	.createPageBlock .content.editMode{
		width: calc(100% - 45px);
	}
	.createPageBlock .drag{
		display: none;
	}
	.createPageBlock .separator, .createPageBlock .close, .createPageBlock .drag{
		/* display: none; */
	}
	.createPageBlock .close:after{
		right: -25px;
	}
	.createPageBlock .separator:after{
		left: -23px;
	}
/* --------------------------------------------------- */
	.header > div{
		height: 45px;
	}
	.header .logo img{
		height: 40px;
	}
/* --------------------------------------------------- */
	.btn.mobile{
		position: fixed;
		right: 10px;
		bottom: 10px;
		background: #4299b3;
		color: white;
		border-radius: 50%;
		width: 50px;
		height: 50px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 20px;
	}

/* --------------------------------------------------- */
	.bottomMenuWrapper{
		position: fixed;
		z-index: 2000;
		width: 100%;
		height: 100%;
		left: 0px;
		top: 0px;
		background: rgba(0,0,0,0.1);
		display: none;
		transition: .2s ease opacity;
		opacity: 0;
	}
	.bottomMenuWrapper.active{
		opacity: 1;
	}
	.bottomMenu{
		position: fixed;
		height: 105px;
		width: 100%;
		bottom: -150px;

		left: 0px;
		will-change: bottom;
		transition: .2s ease bottom;

		background: white;

		z-index: 500;
		box-sizing: border-box;
		padding-top: 15px;

		text-align: left;
		box-shadow: 0 0 3px #00000036;
	}
	.bottomMenu.active{
		bottom: 0px;
	}
	.bottomMenu .inputs{
		padding: 0px 15px;
	}

	.bottomMenu .button{
		border-radius: 0px;
		position: absolute;
		width: 100%;
		bottom: 0px;
		left: 0px;
		max-width: 100%;
	 
		margin-left: auto;
		margin-right: auto;
	}
/* --------------------------------------------------- */
	.header .button{
		background: #4299b3;
		width: 100px;
		margin-left: 10px;
		margin-right: 10px;
	}
	.header .button i{
		margin-left: 5px;
		vertical-align: middle;
		font-size: 16px;
	}
	.header .mobileInfo{
		flex-grow: 1;
	}
	.header .logo{
		display: none;
	}
/* --------------------------------------------------- */
	.createPageProperties .postInfo{
		flex-wrap: wrap;
	}
	.createPageProperties .postInfo > div{
		flex-shrink: 0;
	}
	.createPageProperties .postInfo .button{
		width: 100%;
		margin-bottom: 15px;
	}
	.createPageProperties .postInfo .button.additional{
		margin-left: 0px;
	}
/* --------------------------------------------------- */
	.createPageBlock .content{
		display: flex;
		flex-direction: column;
	}
	.createPageProperties .inputs{

	}
	.createPageProperties .inputs > div input[type=text]{
		border-bottom: 1px solid #eaeaea;
	}
/* --------------------------------------------------- */
	.textItem .edit{
		min-height: 0px !important;
	}
/* --------------------------------------------------- */
}
/* --------------------------------------------------- */
.textItem .edit{
	width: 100%;
	padding: 0px 15px;
	font-size: 14px;
	outline: none;
	display: block !important;
	cursor: text;
	min-height: 30px;
	line-height: 22px;
}
.textItem .edit:empty:after{
	content: 'Напишите текст' !important;
	color: gray;
	font-style: normal !important;
}
.textItem .edit a{
	color: #4299b3;
	cursor: pointer;
}
.textItem .edit a:hover{
	text-decoration: underline;
}
.textItem .edit p{
	margin: 0px !important;
	padding: 0px !important;
}
.podskazka.absolute{
	position: absolute;
}
.podskazka.items{
	display: flex;
}
.podskazka.items > div{
	padding: 7px;
	font-size: 24px;
	cursor: pointer;
}
.podskazka.items > div:hover{
	background: rgba(0,0,0,0.1);
}
.textItem .edit b{
	font-weight: 600;
}
.podskazka.items input{
	display: block;
	margin-bottom: 5px;
}
.podskazka.items .button{
	width: 100%;
	height: 25px;
	display: flex;
	font-size: 14px;
}
.podskazka.items.form{
	flex-direction: column;
}
/* --------------------------------------------------- */
.medium-editor-toolbar{
	border: 1px solid #eaeaea;
}
.medium-editor-toolbar li button{
	min-width: 0px;
	height: 35px;
	width: 35px;
	background: white;
	border-right: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: black;
	padding: 0px;
}
.medium-editor-toolbar li button b{
	display: none;
}
.medium-toolbar-arrow-under:after{
	top: 35px;
	border-color: #eaeaea transparent transparent;
}
.medium-editor-toolbar{
	background: white;
	border: 1px solid #eaeaea;
}
.medium-editor-toolbar-form .medium-editor-toolbar-input{
	height: 35px;
	font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background: white;
    color: black;
    width: 200px;
    box-sizing: border-box;
    padding: 5px 15px;
}
.medium-editor-toolbar-form a{
	color: black;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 35px;
	width: 30px;
	padding: 0px;
	margin: 0px;
}
.medium-editor-toolbar li button i{
	font-size: 18px;
	font-weight: 400;
}
.medium-editor-toolbar li .medium-editor-button-active{
	background-color: #4299b3;
	color: white;
}
.medium-editor-toolbar li .medium-editor-button-active i{
	font-weight: 500;

}
.medium-editor-toolbar li button:hover{
	background: rgba(0,0,0,0.1);
	color: black;
}
.medium-editor-toolbar li .medium-editor-button-active:hover{
	background: #99d15f;
	color: white;
}
.medium-editor-toolbar-form-active{
	display: flex;
}
.medium-editor-toolbar-form a{
	font-size: 16px;
}
.medium-editor-toolbar-form a:hover{
	background: rgba(0,0,0,0.1);
	color: black;
}
.medium-toolbar-arrow-over:before{
	border-color: transparent transparent #eaeaea transparent;
}
.medium-editor-toolbar-anchor-preview{
	background: white;
	color: black;
	border: 1px solid #eaeaea;
	box-sizing: border-box;
}
.medium-editor-anchor-preview a{
	color: black;
	font-size: 12px;
	padding: 5px 5px;
	margin: 0px;
}
blockquote{
	border-left: 5px solid #4299b3;
    padding-left: 20px;
    margin-left: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 10px 0px;
    box-sizing: border-box;
}
/* --------------------------------------------------- */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
/* --------------------------------------------------- */
.externalLoginPage > div{
	flex-direction: column;
}
.externalLoginPage .content{
	width: 450px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0px;
	box-sizing: border-box;
}
.externalLoginPage .content .zag{
	font-size: 18px;
	padding: 20px;
	border-bottom: 1px solid #eaeaea;
	background: #f9f9fb;
}
.externalLoginPage .content .loginContent{
	padding: 25px 0px;
}
.externalLoginPage > div > .button{
	margin-left: auto;
	margin-right: auto;
	width: 200px;
	box-sizing: border-box;
	max-width: auto;
	margin-top: 25px;
}
@media screen and (max-width: 900px){
	.externalLoginPage .content{
		width: 300px;
	}
}
/* --------------------------------------------------- */