video.video-landscape {
    object-fit: cover;
}
.error-page { margin-bottom: 20px; }
.comment-list {
    display: flex;
    flex-direction: column;
}
/* .comment--depth {order:1;}
.comment--depth + .comment {order: 0;}*/
.breadcrumb .pull-right:before { content: "" }
/* НОВОСТНАЯ ЛЕНТА */
#post-stream {
    margin-top: -13px;
        padding-bottom: 40px;
}
/*
#post-stream h1 {
    margin: 10px 0 14px 0;
}*/
[name="page_1"] + .timeline:not(.timeline--empty) {
    margin-top: -9px;
}
.timeline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.timeline:not(.timeline--empty) {
    margin-left: -13px;
    margin-right: -13px;
    margin-bottom: 0;
}
.timeline a:hover {
    text-decoration: none;
}
.timeline--search:not(.timeline--empty) {
    padding: 0;
}
.timeline.timeline--search:before,
.timeline.timeline--search:not(.timeline--empty) .clearfix{
    display: none;
}

.timeline .tags {
    display: none;
}

.timeline-footer__item {
display: flex;
    align-items: center;
    margin: 3px 6px;
}


.timeline > li {
    width: calc(50% - 26px);
    border: 1px solid #ccc;
    position: relative;
    margin: 13px;
    box-sizing: border-box;
    border-radius: 14px;
    overflow: hidden;
    transition: border .3s ease-out;
}
.timeline > li:hover {
   border-color: #48B9E7 !important;
}
@media(min-width:1200px){
    .timeline > li {
        height: 487.66px;
    }
}
.notfound {
    display: flex;
    background: #fafafa;
    border-radius: 9px;
    align-items: center;
    font-size: 16px;
    padding: 9px 15px;
    width: 100%;
}
.notfound svg {
    flex-shrink: 0;
    margin-right: 11px;
}

.timeline > li > .timeline-panel {

}

.timeline-heading {
    height: 0;
    padding-bottom: 66.67%;
    position: relative;
}
.timeline > li > .timeline-panel .timeline-heading img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.timeline-heading .modpostvideo-wrapper {
    margin: 0;
    border-radius: 14px 14px 0 0;
}
.timeline-heading .modpostvideo-wrapper:before {
    padding-bottom: 66.67%;
}
.timeline-heading .modpostvideo-player,
.timeline-heading .modpostvideo-poster{
    /*object-fit: cover;*/
    background-size: auto 100%;
}

.timeline .timeline-body {
    padding: 16px 18px;
}
.timeline .timeline-body img {
	display: block;
	width: 100% \9;
	max-width: 100%;
	height: auto;
}
.timeline .timeline-body h2 {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    margin: 0;
    height: 44px;
        overflow: hidden;
}
.timeline .timeline-body h2 a { color: #222 }
.timeline .timeline-body h2 a:hover { color: #48B9E7; text-decoration: none; }

.timeline .timeline-footer{
    padding: 8px 18px 9px 18px;
    border-top: 1px solid #ccc;
    background: #FAFAFA;
    border-radius: 0px 0px 14px 14px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px;
    font-size: 13px;
    line-height: 15px;
}
.timeline .timeline-footer > a { color: #2bace2 }
.timeline .timeline-footer .blog-info {
	float: left;
}

.timeline .timeline-footer .blog-info i { color: #777 }
.timeline .timeline-footer .timeline-comments,
.timeline .timeline-footer .timeline-comments a,
.timeline .timeline-footer .timeline-footer__item--author a { color: #222 }
.timeline .timeline-footer a:hover,
.timeline .timeline-footer .timeline-comments:hover .svg-icon,
.timeline .timeline-footer .timeline-footer__item--author:hover .svg-icon{
    color: #48B9E7 !important;
}

.timeline--post {
    margin-left: 0px !important;
    margin-right: 0px !important;
    min-height: 40px;
    margin-bottom: 14px !important;
}
.timeline--post .timeline-footer {
    border-top: 0;
    border-radius: 7px;
    width: 100%;
    margin: 0;
}

.timeline a {
    transition: all .3s ease-out;
}
.pageless-wrapper {
    opacity: 0;
}

.tags {
    font-size: 16px;
}
.tags a {
    background: #FAFAFA;
    border: 1px solid #E9E9E9;
    border-radius: 27px;
    display: inline-block;
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    padding: 2px 12px;
    z-index: 10;
    position: relative;
    transition: all .3s ease-out;
    margin-left: 5px;
    margin-bottom: 2px;
}/*
.tags a + a {
    margin-left: 5px;
}*/
.tags-separator {
    display:none;
}
.tags a:first-child{
    margin-left: 2px;
}
.tags a:hover {
    text-decoration: none;
    background-color: #48B9E7;
    border-color: #48B9E7;
    color: #fff;
}

.rel-article {
   margin-top: 15px;
    margin-bottom: 45px;
}
.rel-article .container  {
    max-width: 1140px;
}
ul.rl-with-img {
    margin-left: -13px;
    margin-right: -13px;
    width: auto;
}
.rl-name {
    padding: 15px;
    font-size: 14px;
    line-height: 20px;
}
.rl-name > div {
    overflow: hidden;
    height: 40px;
    box-sizing: border-box;
}
.rl-name a {
    color: #222;
    text-decoration: none;
    transition: all .3s ease-out;
}
.rl-name a:hover {
    color: #48B9E7;
}
.rl-img {
    margin: 0;
    border-radius: 9px 9px 0 0;
    padding-bottom: 59.59%;
}
ul.rl-with-img > li {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 9px;
    padding: 0;
    margin: 0 13px 13px 13px;
    width: calc(25% - 26px);
}



@media (max-width: 991px) {
	.timeline > li > .timeline-panel:before {
		top: 31px;
		right: -11px;
		border-top: 11px solid transparent;
		border-left: 11px solid #ccc;
		border-bottom: 11px solid transparent;
	}

	.timeline > li > .timeline-panel:after {
		top: 32px;
		right: -10px;
		border-top: 10px solid transparent;
		border-left: 10px solid #fff;
		border-bottom: 10px solid transparent;
	}

}

@media (max-width: 767px) {
        .rel-article .container {
            padding-right: 0;
    padding-left: 0;
    }
    ul.timeline:before {
        left: 20px !important;
    }

    ul.timeline > li {
      position: relative;
      width:100%;
    }
    .timeline > li {
        margin: 5px 13px;
    }

    ul.timeline > li > .timeline-badge {
        left: 8px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel:before {
    	top: 27px;
		right: -12px;
		border-top: 12px solid transparent;
		border-left: 12px solid #ccc;
		border-bottom: 12px solid transparent;
	}

	ul.timeline > li > .timeline-panel:after {
		top: 28px;
		right: -11px;
		border-top: 11px solid transparent;
		border-left: 11px solid #fff;
		border-bottom: 11px solid transparent;
	}

    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 14px;
        left: -12px;
        right: auto;
    }

    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -11px;
        right: auto;
    }
    /*.timeline .timeline-body h2 {
        height: auto;
    }*/
    [name="page_1"] + .timeline:not(.timeline--empty) {
    margin-top: 0;
}
}
@media (max-width: 480px) {
    .timeline .timeline-body {
    padding: 11px 13px;
    }
    .timeline .timeline-footer {
        padding: 5px 13px 6px 13px;
    }
}


/* ПРОСМОТР ПОСТА */
.post h1 {
    margin: 3px 0 31px 0;
}
.post>div,
.post form {
	/*padding-left:15px;
	padding-right:15px;*/
}
.post .credentials {
	border-bottom: 2px solid #f5f5f5;
	border-top: 2px solid #f5f5f5;
	color: #555;
	padding-bottom: 5px;
	padding-top: 5px;
}
.post .credentials a {
	color: #2bace2;
	font-weight: 500;
}
.post .date {
	font-size: 100%;
/*	margin-right: 10px;*/
}
.post .text {
	padding-bottom: 10px;
	padding-top: 10px;
	margin-bottom: 20px;
}
.post img {
	
	width: 100% \9;
	max-width: 100%;
	height: auto;
}
.post iframe {
	width: 100% \9;
}
.comments__wrapper {
    /*background: #FAFAFA;*/
    padding: 15px 0 40px 0;
    /*width: 100vw;
    margin-left: calc(-50% + 180px);*/
    box-sizing: border-box;
}

.comment-submit .g-btn {
    width: 100%;
    max-width: 183px;
}

.comment-form {
    margin-top: 30px;
}

.comment-form-fields__name,
.comment-form-fields .tab {
    font-size: 16px;
    line-height: 20px;
}
.comment-form-fields .tab {
    margin-bottom: 10px;
}

.comment {
    margin-bottom: 11px;
}

.comment-form form textarea {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    width: 100%;
    box-shadow: none;
    min-height: 142px;
    padding: 14px;
    font-size: 16px;
}
.comment-form form textarea:focus {
    box-shadow: none !important;
    border: 1px solid #CCCCCC;
}
.comment-form form textarea[placeholder]::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease; color: #B1B1B1;}
.comment-form form textarea[placeholder]::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease; color: #B1B1B1;}
.comment-form form textarea[placeholder]:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease; color: #B1B1B1;}
.comment-form form textarea[placeholder]:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease; color: #B1B1B1;}
.comment-form form textarea[placeholder]:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
.comment-form form textarea[placeholder]:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
.comment-form form textarea[placeholder]:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
.comment-form form textarea[placeholder]:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}

.comment-form h4 {
	color: #2bace2;
	font-size: 22px;
}

.comment-form .auth-type {
	font-size: 12px;
}
.comment-form .auth-type li a {
	color: #222;
	text-decoration: underline;
}
.comment-form .auth-type li a:hover {
	text-decoration: none;
}
.comment-form .auth-type li a img {
	margin-right: 4px;
	margin-top: -2px;
}
.comment .comment-reply {
    display: inline-flex;
    align-items: center;
}
.comment h4 {
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
	position: relative;
    margin: 0 0 3px 0;
}
.comment .comment-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #868686;
    padding-top: 4px;
    justify-content: space-between;
    flex-shrink: 0;
}
.comment .comment-date .date {
    margin-bottom: 5px;
}

.comment-text {
    display: flex;
    justify-content: space-between;
    position: relative;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 7px;
    padding: 16px 19px;
}
.comment--depth .comment-text {
    background: #EFF8FA;
    margin-left: 15px;
}

/* ПОИСК ПОСТА */
.search-match .post-heading img {
	margin: 20px 0;
}
.search-match .post-info { 
	border-top: solid 1px #eee;
	border-bottom: solid 1px #eee;
	color: #555;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 10px;
}
.search-match .post-info ul {
	margin: 0;
}
.search-match h3 a {
	color: #585f69;
	font-size: 21px;
	line-height: 32px;
	margin-bottom: 10px;
}

/* БЛОГ 1.3.0 */
html.realtime-preview,
html.realtime-preview body { background: #fff; }
html.realtime-preview .footer,
html.realtime-preview .header,
html.realtime-preview .navbar,
html.realtime-preview .auth,
html.realtime-preview .wrapper-toolbar,
html.realtime-preview .breadcrumb{ display: none; }
/*html.realtime-preview .page-content { margin-right: 0; }
html.realtime-preview .page { top: 0; margin: 10px 0; }*/


.photo-album-attachment ul.thumbs { padding-left: 0; }
.photo-album-attachment ul.thumbs li { list-style: none; display: inline-block; margin: 0 20px 20px 0; float: left; }
.photo-album-attachment .photo { margin-bottom: 20px; }
.photo-album-attachment .photo img { margin-top: -10px; }
.post .photo-album-attachment { padding-top: 10px; }

.page { margin: 0 }

/*wa-plugins*/


.bx-viewport
{
    height: 280px !important;
}
.bx-wrapper .bx-pager {
    display: none !important;
}
.bx-wrapper .bx-controls-direction a {
    z-index: 99 !important;
}

@media(max-width: 991px) {
    ul.rl-with-img > li {
        margin: 0 7px 13px 7px;
        width: calc(50% - 14px);
    }
}

@media(max-width: 480px) {
    ul.rl-with-img > li {
        margin: 0 7px 13px 7px;
        width: calc(100% - 14px);
    }
    .comments-header,
    .rel-article h2 {
        text-align: center;
    }
    .comment-form {
        margin-top: 10px;
    }
    .comment-form .form-group {
        margin-bottom: 10px;
    }
    .comment-submit .g-btn {
        max-width: 100%;
    }
    .comments__wrapper {
        padding: 14px 0 34px 0;
    }
    .timeline--post {
        margin-bottom: 0px !important;
    }
    .post .text {
        margin-bottom: 10px;
    }
    .post h1 {
        margin: 3px 0 21px 0;
    }
    .breadcrumb {
        white-space: nowrap;
        overflow: hidden;
        /*text-overflow: ellipsis;*/
    }
    /*.breadcrumb>li:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }*/
    .rel-article {
        margin-top: 0;
        margin-bottom: 34px;
    }
    .comment-text {
        flex-direction: column;
    }
    .comment .comment-date {
        flex-direction: row;
        align-items: flex-start;
        padding-top: 7px;
        justify-content: space-between;
    }
    ul.rl-with-img {
        margin-left: -7px;
        margin-right: -7px;
    }
    .rl-img {
        padding-bottom: 66.59%;
    }
}