@media only screen and (min-device-width: 768px) {
	::-webkit-scrollbar{width:10px;height:10px}
	::-webkit-scrollbar-track{background:#FFF;-webkit-box-shadow:inset 1px 1px 2px #E0E0E0;border:1px solid #D8D8D8;}
	::-webkit-scrollbar-thumb{background:#bb1414;-webkit-box-shadow:inset 1px 1px 2px rgba(155,155,155,0.4);}
	::-webkit-scrollbar-thumb:hover{-webkit-box-shadow:inset 1px 1px 10px rgba(0,0,0,0.3)}
	::-webkit-scrollbar-thumb:active{background:#888;-webkit-box-shadow:inset 1px 1px 2px rgba(0,0,0,0.3)}
}

@media screen and (max-width: 499px){
    .social-likes-vk{
        margin-top: 10px;
    }

    .social-likes-g {
        margin-top: 11px;
    }
}

@media screen and (min-width: 500px){
    .social-likes-vk{
        display: inline-block;
/*        margin-left: 20px;*/
    }

    .social-likes-g {
        display: inline-block;
        vertical-align: text-bottom;
    }

    #vk_like {
        top: -2px;
        margin-left: 2px;
    }
}
@media screen and (min-width: 768px){
    .btn-donate-mobile {
        display: none;
    }
    #header.fixed + #main {
		margin-top: 120px;
	}
}
    
    
@media screen and (min-width: 992px){
	#header.fixed .logo {
		background: url(../images/logo-text.png) no-repeat;
        background-size: contain;
		width: 146px;
		height: 12px;
		margin: 8px 0 0 90px;
		overflow: visible;
		position: relative;
	}
	#header.fixed .logo:before {
		content: '';
		position: absolute;
		background: url(../images/fix-logo.jpg) no-repeat;
        background-size: contain;
		width: 54px;
		height: 54px;
		top: -8px;
		left: -90px;
	}
	#header.fixed .head-info .link .num {
		display: none;
	}
	#header.fixed .nav {
		margin: 0 0 0 78px;
	}
	#header.fixed .nav li:first-child {
		display: none;
	}
	#header.fixed .header-frame {
		padding-bottom: 6px;
	}
    .sidearticles-ad{
        margin-top: -84px;
    }
    
    .fixed .header-btn-group .btn-addnews {
        display: none;
    }
}
@media screen and (min-width: 1200px){
    .sidearticles-ad {
        margin-top: -88px;
    }
}
@media screen and (max-width: 991px){
	.logo {
		background: url(../images/fix-logo.jpg) no-repeat;
        background-size: contain;
		width: 54px;
		height: 54px;
		margin: 0;
	}
	.head-info{
		margin-left: 80px;
		padding-top: 20px;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#nav {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#nav li {
		-webkit-flex: 1 1 130px;
		-moz-flex: 1 1 130px;
		-ms-flex: 1 1 130px;
		-o-flex: 1 1 130px;
		flex: 1 1 130px;
	}
	.promo-socials {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		justify-content: space-between;
	}
	.side-article {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-left: -10px;
		margin-right: -10px;
	}
	.side-article li {
		-webkit-flex: 1 1 300px;
		-moz-flex: 1 1 300px;
		-ms-flex: 1 1 300px;
		-o-flex: 1 1 300px;
		flex: 1 1 300px;
		margin-left: 10px;
		margin-right: 10px;
		border-top: 1px solid #e8e8e8;
		padding: 9px 0 0;
	}
	.dark-block .side-article li {
		border-top-color: #4a4a4a;
	}
	.side-article:before {
		left: 10px;
		right: 10px;
	}
	.ads-block {
		text-align: center;
		margin: 0 0 20px;
	}
	.articles-wrap {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-left: -10px;
		margin-right: -10px;
	}
	.articles-wrap-small,
	.articles-wrap .article-item {
		-webkit-flex: 1 1 200px;
		-moz-flex: 1 1 200px;
		-ms-flex: 1 1 200px;
		-o-flex: 1 1 200px;
		flex: 1 1 200px;
		margin-left: 10px;
		margin-right: 10px;
	}
	.side-plugin {
		text-align: center;
	}
	.footer-menu {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.footer-menu li {
		margin: 0 20px 10px 0;
	}
	.widget-block {
		text-align: center;
	}
	
	.article-visual img {
		max-width: 100%;
		height: auto;
	}
    
    .dark-block:before{
        top: -15px;
    }

}
@media (min-width: 768px) and (max-width: 991px){
	.video-item img,
	.article-visual img,
	.promo-gallery img,
	.article-item .visual img{
/*		width: 100%;*/
		height: auto;
	}
	.block-item .visual img {
		width: 100%;
		height: auto;
	}
	.promo-socials.side {
		-webkit-flex-direction: row;
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		-o-flex-direction: row;
		flex-direction: row;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
}
@media (min-width: 400px) {
	.col-xxl-6 {
		width: 50%;
	}
    .story-article .visual{
        max-width: 50%;
    }
    
    #articletext .bannertable {
        max-width: 50%;
    }
}
@media (max-width: 399px) {
    .story-article .visual{
        min-width: 100%;
    }
    
    #articletext .bannertable {
        width: 100%;
    }

}

@media (min-width: 500px) {
    #fulltext_thumb {
        max-width: 45%!important;
        float: left;
        margin-right: 15px;
        margin-bottom: 15px;
    }
}
@media (max-width: 499px) {
    #fulltext_thumb {
        width: 100%;
        margin-bottom: 10px;
    }
}
@media (min-width: 400px) and (max-width: 767px) {
	.col-xxl-6 {
		float: left;
	}
}
@media (max-width: 767px) {
	#header .nav {
		position: absolute;
		top: 75px;
		background: #141414;
		width: 200px;
		padding: 10px;
		right: -400px;
		z-index: 52;
		-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.4);
		box-shadow: 3px 3px 3px rgba(0,0,0,.4);
		-webkit-transition: all 0.3s linear;
		-o-transition: all 0.3s linear;
		transition: all 0.3s linear;
	}
	#header.nav-active .nav {
		right: 0;
	}
	#nav a {
		text-align: left;
	}
	.head-info {
		margin: 0;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		padding-top: 0;
	}
	.head-info > * {
		margin: 5px 0;
	}
    
    #header .header-frame .head-info{
        display: none;
    }
    
    #header .nav .head-info{
        display: block;
    }
    
	.nav-opener {
		display: block;
	}
	.block-item .visual img {
		width: 100%;
		height: auto;
	}
	.row .row.inner {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.row .row.inner .col-sm-4 {
		-webkit-flex: 1 1 200px;
		-moz-flex: 1 1 200px;
		-ms-flex: 1 1 200px;
		-o-flex: 1 1 200px;
		flex: 1 1 200px;
	}
	.row .row.inner .col-sm-12 {
		-webkit-flex: 1 1 auto;
		-moz-flex: 1 1 auto;
		-ms-flex: 1 1 auto;
		-o-flex: 1 1 auto;
		flex: 1 1 auto;
	}
	.promo-block {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.promo-socials {
		margin: 0 0 10px;
		width: 100%;
		-webkit-flex-direction: row;
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		-o-flex-direction: row;
		flex-direction: row;
	}
	.promo-socials li {
		-webkit-flex: 1 1 100px;
		-moz-flex: 1 1 100px;
		-ms-flex: 1 1 100px;
		-o-flex: 1 1 100px;
		flex: 1 1 100px;
	}
	.promo-socials.side li + li,
	.promo-socials li + li {
		margin-left: 10px;
		margin-top: 0;
	}
	.promo-socials.side a,
	.promo-socials a {
		width: auto;
		height: 40px;
	}
	.article-item .visual img,
	.video-item img {
		width: 100%;
		height: auto;
	}
	.tag-list {
		float: none;
		margin-bottom: 10px;
		overflow: hidden;
	}
	.share {
		overflow: hidden;
		float: none;
	}
	.comments-wrap .head h4 {
		float: none;
		margin-bottom: 15px;
	}
	.comments-list .sublist {
		padding-left: 30px;
	}
	.article-info .info {
		float: none;
		margin-bottom: 10px;
	}
	.article-info .source {
		float: none;
	}
	.article-head br {
		display: none;
	}
	.dark-block {
		background: none;
		color: #333;
	}
	.dark-block:before {
		display: none;
	}
	.dark-block .side-article a,
	.dark-block .article-item a {
		color: #bb1414;
	}
	.dark-block .article-item.small {
		border-top-color: #e8e8e8;
	}
	.dark-block .article-item.small:last-child {
		border-bottom-color: #e8e8e8;
	}
	.article-item.small .visual,
/*
	.side-article .visual{
		-webkit-flex: 1 0 90px;
		-moz-flex: 1 0 90px;
		-ms-flex: 1 0 90px;
		-o-flex: 1 0 90px;
		flex: 1 0 90px;
	}
*/
	.modal-header .close {
		right: 0;
		z-index: 3;
	}
	.head-info .search .drop {
		width: 180px;
	}
    
    .btn-donate-mobile {
        position: absolute;
        top: 20px;
        left: calc( 50% - 71px );
        width: unset!important;
	}
	.customPopup {
		bottom: 0;
		right: 0;
		width: auto;
		left: 0;
		border: none;
		border-radius: 0;
	}
}

@media screen and (max-width: 1079px){
    .a2a_vertical_style{padding:2px!important;}  
    .a2a_vertical_style .a2a_svg, .a2a_vertical_style .a2a_count {
        width: 32px!important;
        height: 32px!important;
        line-height: 32px!important;
        background-size: 32px!important;
    }
}

@media screen and (max-width: 1036px){
    .a2a_vertical_style{padding:0px!important;}  
    .a2a_vertical_style .a2a_svg, .a2a_vertical_style .a2a_count {
        width: 20px!important;
        height: 20px!important;
        line-height: 20px!important;
        background-size: 20px!important;
    }
}

@media screen and (max-width: 999px){
    .a2a_vertical_style{padding:0px!important;}  
    .a2a_vertical_style .a2a_svg, .a2a_vertical_style .a2a_count {
        width: 16px!important;
        height: 16px!important;
        line-height: 16px!important;
        background-size: 16px!important;
    }
}

@media
    only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (   min--moz-device-pixel-ratio: 2),
    only screen and (-o-min-device-pixel-ratio: 2/1),
    only screen and (min-device-pixel-ratio: 2),
    only screen and (min-resolution: 192dpi),
    only screen and (min-resolution: 2dppx){
        .logo{
            background-image: url(../images/logo_2x.png);
        }
        
        @media screen and (min-width: 992px){
            #header.fixed .logo:before {
                background-image: url(../images/fix-logo_2x.jpg);
            }
        }
        
        @media screen and (max-width: 991px){
            .logo {
                background-image: url(../images/fix-logo_2x.jpg);
            }
        }
        
        @media screen and (min-width: 992px){
            #header.fixed .logo {
                background-image: url(../images/logo-text_2x.png);
            }
        }
}