.new-gallery-lightbox {
    box-shadow: 0 0 10px #000000;
    position: relative;
}
.new-gallery-lightbox .new-gallery-lightbox-nav-left, .new-gallery-lightbox .new-gallery-lightbox-nav-right {
    background-color: #2C97A8 !important;
    display: none;
    height: 70px;
    margin-top: -35px;
    position: absolute;
    text-indent: -999999px;
    top: 50%;
    width: 40px;
}
.new-gallery-lightbox .new-gallery-lightbox-nav-left:hover, .new-gallery-lightbox .new-gallery-lightbox-nav-right:hover {
    background-color: #2C97A8;
}
.new-gallery-lightbox .new-gallery-lightbox-nav-left:active, .new-gallery-lightbox .new-gallery-lightbox-nav-right:active {
    background-color: #000000;
}
.new-gallery-lightbox .new-gallery-lightbox-nav-left {
    background: url("../images/link-arrow-white-left.png") no-repeat scroll center center rgba(0, 0, 0, 0);
    left: 0;
}
.new-gallery-lightbox .new-gallery-lightbox-nav-right {
    background: url("../images/link-arrow-white.png") no-repeat scroll center center rgba(0, 0, 0, 0);
    right: 0;
}
.new-gallery-lightbox .new-gallery-lightbox-comment {
    background: none repeat scroll 0 0 #282828;
    border-top: 2px solid #333333;
    color: #FFFFFF;
    font-family: Georgia,Serif;
    font-size: 14px;
    padding: 10px;
}
.new-gallery-lightbox-bg {
    background: url("../images/btd-95.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000000;
}
#new-gallery {
    margin: 10px 0 20px 0;
    position: relative;
    width: 620px;
}
/*стили к галерее, которяя находится внутри новости*/
.gall-vidget {
	background: #2C97A8;
}
.gall-vidget .top {
	background: #108E9B;
	position: relative;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.35);
	-moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.35);
	box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.35);
}
#new-gallery .top .gallery-img {
    padding: 10px 5px 5px 5px;
    position: absolute;
    width: 50px;
}
#new-gallery .top .num-img {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    position: absolute;
    right: 0;
}
#new-gallery .top .num-img img {

}
#new-gallery .top .num-img span {
    position: relative;
    top: -4px;
}
.gall-vidget .name {
	font-size: 20px;
    font-weight: bold;
    padding: 10px 70px 10px 70px;
	min-height:50px;
}
.gall-vidget .name a {
	color:white;
	text-decoration: none;
}
#new-gallery .gallery-head.gallery-head-vidg {
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
    padding: 10px 70px 0 70px;
}
#new-gallery .gallery-head.gallery-head-vidg a {
	color:white;
}

#new-gallery .gallery-image img.img-vgt {
    border: 2px solid #EAEAEA;
    width: 484px;
}
#new-gallery .gallery-image .gallery-zoom.gall-zoom-vgt {
    top: 50px;
}
#new-gallery .gallery-controls .gallery-thumbs ul li.active.act-vgt {
    border: 2px solid white;
}
#new-gallery .gallery-controls .gallery-thumbs ul li.noact-vgt {
    border: 2px solid #A0A0A0;
	margin-right: 5px;
}
#new-gallery .gallery-controls .gallery-thumbs ul li.noact-vgt:hover {
    border: 2px solid white;
}
#new-gallery .gallery-controls .gallery-thumbs.gallery-thumbs-vgt {
    width: 488px;
}
#new-gallery .gallery-controls .gallery-nav-right.gallery-nav-right-vgt {
    bottom: 2px;
    height: 80px;
    right: 15px;
    width: 40px;
}
#new-gallery .gallery-controls .gallery-nav-left.gallery-nav-left-vgt {
    bottom: 2px;
    height: 80px;
    left: 15px;
    width: 40px;
}
#new-gallery .gallery-controls .gallery-nav-right.gallery-nav-right-vgt:hover {
    background: url("../images/arrow_right_slider.png") no-repeat scroll center center #2C97A8;
    border: 2px solid #FFFFFF;
    height: 76px;
    bottom: 2px;
    width: 36px;
}
#new-gallery .gallery-controls .gallery-nav-left.gallery-nav-left-vgt:hover {
	background: url("../images/arrow_left_slider.png") no-repeat scroll center center #2C97A8;
    border: 2px solid white;
	height: 76px;
    bottom: 2px;
    width: 36px;
}
/*стили к галерее внутри новости*/
#new-gallery .gallery-head {
	line-height: 24px;
	font-weight: bold;
    font-family: "Arial Narrow",Arial,sans-serif;
    font-size: 16px;
    padding: 5px 0px 5px 0px;
}
#new-gallery .gallery-head a {
	text-decoration: none;
	display: block;
	color: #2C97A8;
}
#new-gallery .gallery-head a:hover {
	text-decoration: underline;
}
#new-gallery .gallery-head .left {
	float: left;
}
#new-gallery .gallery-head .right {
	float: right;
}
#new-gallery .gallery-image {
    min-height: 200px;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: pointer;
    background: url(../images/gallery_loader.gif) no-repeat scroll center center transparent; 
    padding-bottom: 10px;
}
#new-gallery .gallery-image img {
    border: 3px solid #EAEAEA;
    top: -50px;
    max-width: 614px;
    max-height: 400px;
}
#new-gallery .gallery-image .gallery-zoom {
    background: url(../images/gallery-zoom-1.png) no-repeat scroll center center transparent; 
    position: absolute;
    width: 100%;
    height: 250px;
    z-index: 9999;
    top: 90px;
}

#new-gallery .gallery-image .gallery-zoom.plus {
    background: url(../images/zoom-plus-1.png) no-repeat scroll top right transparent; 
    right: 1px;
    top: 11px;
}

#new-gallery .gallery-image-comment {
    bottom: 0;
    color: #666666;
    display: block;
    font-size: 14px;
    left: 0;
    padding: 5px 0px;
    position: absolute;
}
#new-gallery .gallery-image-lid {
    color: #666666;
    display: block;
    font-size: 14px;
    font-style: italic;
    padding: 5px 0;
    text-align: left;
}
#new-gallery .gallery-image .gallery-loader {
    display: block;
    margin: 135px auto;
    width: 40px;
}
#new-gallery .gallery-controls {
    bottom: 0;
    height: 82px;
    padding-top: 10px;
    position: relative;
}
#new-gallery .gallery-controls .gallery-nav-left, #new-gallery .gallery-controls .gallery-nav-right {
    background: none repeat scroll 0 0 #F3F3F3;
    cursor: pointer;
    height: 82px;
    position: absolute;
    text-indent: -999999px;
    width: 61px;
    z-index: 1;
}
#new-gallery .gallery-controls .gallery-nav-left {
    background: url("../images/arrow_left_slider.png") no-repeat scroll center center #2C97A8;
    bottom: 0px;
    left: 0px;
}
#new-gallery .gallery-controls .gallery-nav-right {
    background: url("../images/arrow_right_slider.png") no-repeat scroll center center #2C97A8;
    bottom: 0px;
    right: 0px;
}
#new-gallery .gallery-controls .gallery-nav-left:hover {
    background: url("../images/arrow_left_slider.png") no-repeat scroll center center #000000;
}
#new-gallery .gallery-controls .gallery-nav-right:hover {
    background: url("../images/arrow_right_slider.png") no-repeat scroll center center #000000;
}
#new-gallery .gallery-controls .gallery-nav.disable {
    cursor: default;
}
#new-gallery .gallery-controls .gallery-nav-left.disable {
    background: url("../images/arrow_left_slider.png") no-repeat scroll center center #555555;
}
#new-gallery .gallery-controls .gallery-nav-right.disable {
    background: url("../images/arrow_right_slider.png") no-repeat scroll center center #555555;
}
#new-gallery .gallery-controls .gallery-thumbs {
    height: 82px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 486px;
}
#new-gallery .gallery-controls .gallery-thumbs ul {
    overflow: hidden;
    position: absolute;
    width: 6000px;
    margin:0; 
    padding:0;
	list-style-type: none;
}
#new-gallery .gallery-controls .gallery-thumbs ul li {
    float: left;
    /*margin-right: 6px;*/
    margin-right: 2px;
    border: 3px solid #EAEAEA;
}
#new-gallery .gallery-controls .gallery-thumbs ul li.active {
    border: 3px solid #2C97A8;
}
#new-gallery .gallery-controls .gallery-thumbs ul li:hover {
    border: 3px solid #2C97A8;
}
#new-gallery .gallery-controls .gallery-thumbs ul li a {
    display: block;
    height: 76px;
}
#new-gallery .gallery-controls .gallery-thumbs ul li a  img {
	margin: 0; 
	padding: 0;
	height: 76px;
}

#new-gallery .gallery-controls .gallery-thumbs-preview {
    box-shadow: 0 0 10px #282828;
    cursor: pointer;
    display: none;
    z-index: 5;
}
.joinfo-news .content .text_gall {
	margin-bottom: 20px;
}
#new-gallery .gallery-thumbs ul {left:0}
#new-gallery .gallery-image {padding-top:10px;}
#new-gallery .gallery-image-comment {position:static; color:#efefef; /*border-top: 5px solid #fff;margin-top: 10px;padding: 10px 15px;*/text-align: justify;}

#fancy-gallery-lightbox-bg {position:fixed;z-index:10000000;top:0;left:0;right:0;bottom:0;background:url(../images/transparent-bg-90.png)}
#fancy-gallery-lightbox {position:fixed;z-index:10000001;left:50%;top:50%;margin-left:-200px;margin-top:-200px;background:#000}
#fancy-gallery-lightbox .lightbox-image-wrapper {height:100%;display:inline-block;position:relative}
#fancy-gallery-lightbox .lightbox-image-wrapper:hover .lightbox-image-controls {display:block}
#fancy-gallery-lightbox .lightbox-image-wrapper .lightbox-image-controls {position:absolute;top:0;right:0;bottom:0;left:0;display:none}
#fancy-gallery-lightbox .lightbox-image-wrapper .lightbox-image-controls-prev {display:inline-block;box-sizing:border-box;width:20%;height:100%;background:url(../images/slider-controls-arrow-left.png) left center no-repeat;text-indent:-999999px}
#fancy-gallery-lightbox .lightbox-image-wrapper .lightbox-image-controls-next {display:inline-block;box-sizing:border-box;width:80%;height:100%;background:url(../images/slider-controls-arrow-right.png) right center no-repeat;text-indent:-999999px}
#fancy-gallery-lightbox .lightbox-image-wrapper .lightbox-image-controls-close {display:inline-block;box-sizing:border-box;width:40px;height:40px;background:url(../images/btn-close.png) center center no-repeat;text-indent:-999999px;position:absolute;top:0;right:0;z-index:10000002}

#fancy-gallery-lightbox .rightSideWrapper {width:346px;height:100%;padding:5px 5px 0 5px; box-sizing:border-box;position:absolute;z-index:10000001;top:0;right:0;background:#fff;display:none;min-height:200px;overflow: hidden;}
/* #fancy-gallery-lightbox .rightSideWrapper .lightbox-image-comment {display:block;background:#181818;padding:10px 15px;line-height:20px;font-family:sans-serif;font-size:13px;color:#fff} */
#fancy-gallery-lightbox .lightbox-image-comment {display:block;background:#333;padding:5px;font-family:sans-serif;font-size:13px;color:#fff!important}
#fancy-gallery-lightbox .lightbox-image-comment td{border:0;}
#fancy-gallery-lightbox .rightSideWrapper iframe {height:600px;margin:0}
#new-gallery .gallery-image-comment {position:static; color:#333;}
.gall-vidget .gallery-image-comment{ padding: 0 65px 10px !important; color:#efefef !important; }


@media only screen and (max-width: 1250px) {
	#new-gallery {
		width: auto;
	}
	#new-gallery .gallery-image img {
		width: 602px;
	}
	#new-gallery .gallery-controls .gallery-nav-left, 
	#new-gallery .gallery-controls .gallery-nav-right {
		width: 58px;
	}
}

/*zen*/

.zen_block {
display: table;
width: 100%;
box-sizing: border-box;
padding: 10px;
margin-bottom: 15px;
font-style: italic; 
}

.zen_block::before {
content: '';
width: 50px;
height: 50px;
background-repeat: no-repeat;
background-position: 50% 50%;
display: table-cell;
vertical-align: middle;
}

.zen_block a {
font-weight: 700;
color: #044faa;
text-decoration: none;
}

.zen_block a:hover {
text-decoration: underline;
}

.follow_zen_block { 
background-color: #d7e8fd;
background-image: -webkit-linear-gradient(to right, #e3f0ff, #d9e9fd, #82A8D7);
background-image: linear-gradient(to right, #e3f0ff, #d9e9fd, #82A8D7);
color: #2b4386; 
}

.follow_zen_block a { 
color: #FF0000;
}

.follow_zen_block:before {
background-image: url("../images/zen.png");
width: 52px;
height: 52px;
}

.zen_block__content { 
font-size: 1.4em;
line-height: 1.3em;
display: table-cell;
vertical-align: middle;
padding-left: 10px;
}

@media all and (max-width: 684px) {
.zen_block__content {
display: block;
text-align: center;
padding-left: 0; 
}
}