#jquery-overlay {
	/*
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 500px;
	*/
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 3100;
}

#lightbox-container-image-box {
	border-radius: 2px 2px 0 0;
}

#lightbox-container-image-data-box {
	border-radius: 0 0 2px 2px;
}

#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 3110;
	text-align: center;
	line-height: 11px;
}

#lightbox-comments, #lightbox-comments-hide {
	width: 25%;
	border-radius: 2px;
	position: fixed;
	right: 10px;
	top: 40px;
	height: 600px;
	opacity: 1;
	overflow-y: scroll;
/*
	z-index: 3111;
*/
	padding: 10px;
	display: none;
}

#lightbox-tags {
	height: 30px;
}

#lightbox-rating {
	margin-bottom: 10px;
}

#lightbox-comments-hide {
	top: 10px;
	height: auto;
	z-index: 3112;
	overflow: auto;
	cursor: pointer;
}

#lightbox-comments-loading {
	display: none;
	float: left;
}

/* Из нового шаблона */

#jquery-lightbox {
	width: 100%;
}

#lightbox-image {
/*
	position: absolute;
	top: 50%;
	left: 50%;
*/
	min-width: 600px;
	min-height: 600px;

	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
}

#jquery-lightbox a img {
	border: none;
}
#lightbox-container-image-box {
	position: relative;
	box-shadow: 0px 0px 10px 3px #222;
	min-width: 600px;
	min-height: 600px;
}
#lightbox-container-image {
	padding: 0px;
	min-width: 600px;
	min-height: 600px;

	width: 100%;
	height: 100%;
	position: absolute;
}

#lightbox-container-image-box > #lightbox-nav {
	left: 0;
}
#lightbox-nav a {
	outline: none;
}

#lightbox-nav-btnPrev {
	min-height: 600px;
}
#lightbox-nav-btnNext {
	min-height: 600px;
}
#lightbox-container-image-data-box {
	width: 240px;
/*
	display: none;
*/
	position: absolute;
	right: 0px;
	top: 0;
	height: 600px;
	border-radius: 0 5px 5px 0;
	box-shadow: 5px 0px 10px 3px #222;
	padding: 0px;
}

#lightbox-container-image-side-box {
	width: 43px;
	display: block;
	position: absolute;
	right: -43px;
	bottom: 0;
	height: 165px;
	border-radius: 0 5px 5px 0;
	box-shadow: 5px 0px 10px 3px #222;
	padding: 0px;
	color: #bbb;
}

#lightbox-container-image-side-box.one-icon {
	height: 40px;
	display: none;
}

#jquery-lightbox ._icon {
	width: 20px;
	height: 20px;
	margin: 12px 10px 6px 10px;
	cursor: pointer;
	display: block;
}

#lightbox-container-image-side-box .side-open-link {
	cursor: pointer;
}

#lightbox-container-image-side-box .side-open-link span {
	display: block;
	line-height: 7px;
}

#jquery-lightbox #lightbox-image-details ._icon.slideshow {
	height: 17px;
	margin: 0 0 0 5px;
	cursor: pointer;
}

#jquery-lightbox #lightbox-container-image-side-box .border {
	width: 50%;
	margin: 12px auto;
}

#lightbox-container-image-data-box h4, #lightbox-container-image-data-box h5 {
	text-transform: uppercase;
	font-weight: normal;
	font: 14px "Sans Serif";
	margin: 5px 0;
	color: #bbb;
}

#lightbox-image-details-desc {
	font-size: 12px;
}

#lightbox-container-image-data-box input[type=text] {
	border: #4F4F4F 1px solid;
	border-radius: 5px;
	padding: 2px 0;
	width: 100%;
	margin-top: 5px;
}

#lightbox-container-image-data #lightbox-image-details {
	color: #fff;
	width: 100%;
}

#lightbox-image-details .scroll {
	width: 100%;
	height: 11px;
}

#lightbox-image-details .icon {
	line-height: 11px;
}

#lightbox-image-details-caption {
	font-size: 14px;
	margin: 5px 0;
	display: block;
	height: 40px;
}

#lightbox-image-details-currentNumber {
	padding: 20px 0;
	color: #bbb;
	font-size: 12px;
	width: 70px;
	clear: none;
	display: inline-block;
}

#lightbox-comments-btnClose,
#lightbox-secNav-btnClose {
	position: absolute;
	right: -16px;
	top: -16px;
	width: auto;
	padding: 0;
	z-index: 3112;
}

#lightbox-tags a {
	color: #fff;
}

#lightbox-rating .rate form span input.submit {
	width: 20px;
	height: 20px;
}

#lightbox-comments-hide {
	display: none !important;
}

#lightbox-comments {
	width: 100%;
	border-radius: 2px;
	position: relative;
	height: 235px;
	overflow-y: hidden;
	padding: 0;
	display: block;
	top: auto;
	right: auto;
/*
	overflow: scroll;
*/
}

#lightbox-comments .info.owner {
	display: none;
}

#lightbox-comments-form .d {
	float: none;
	width: 100%;
/*
	display: block;
*/
	height: 12px;
}

#lightbox-comments-form .c {
	float: none;
	width: 100%;
	margin: 0;
}

#lightbox-comments-form .fctl {
	border: none;
	padding-top: 15px;
}

#lightbox-comments-form .fctl .h {
	margin-bottom: 15px;
}

#lightbox-comments-form .field {
	margin-bottom: 10px;
}

#lightbox-comments-form fieldset.hidden {
	margin: 0;
	padding: 0;
}

#lightbox-comments-form fieldset.hidden.capt .d {
	width: 45%;
	height: 0px;
}

#lightbox-comments-form fieldset.hidden.capt .d a {
	color: #fff;
	display: none;
	margin-top: 7px;
}

#lightbox-comments-form fieldset.hidden.capt .c {
	float: right;
	width: 55%;
	padding: 0 5px;
}

#lightbox-comments-form textarea {
	height: 45px;
	padding: 0;
}

#lightbox-comments-form input[name=kcaptcha] {
	font-size: 2em;
	height: 44px;
}

#lightbox-comments .comments_block {
	position: relative;
}

#lightbox-comments .comments_list {
/*
	position: absolute;
*/
	width: 100%;
}

#lightbox-comments .comment_item {
	margin-bottom: 5px;
}

#lightbox-comments .comment_item .text {
	border: none;
	min-height: 23px;
	padding: 0;
	font-size: 12px;
	vertical-align: middle;
	border-radius: 2px 2px 2px 2px;
	position: relative;
	margin-left: 7px;
	padding-left: 6px;
}

#lightbox-comments .comment_item .text .left {
	height: 24px;
	display: inline-block;
	width: 9px;
	position: absolute;
	left: -6px;
}

#lightbox-comments .comment_item .text span {
	line-height: 22px;
}

#lightbox-comments .comment_item .date {
	color: #2E2E2E;
	float: right;
	font-size: 0.8em;
	margin-right: 5px;
}

/* откуда-то появился margin 30px, из-за которого прокрутка закрывает собой часть комментариев */
#customScroll .mCSB_container {
	margin-right: 16px;
}

#lightbox-comments .comment_item .author {
	font-size: 0.8em;
}

#jquery-lightbox .border {
	border: none;
	border-top: #4F4F4F 1px solid;
	border-bottom: #828282 1px solid;
	width: 100%;
	margin: 10px auto;
}

#lightbox-hide-data-box-btn {
	width: 30px;
	height: 30px;
	position: absolute;
	bottom: 0;
	left: 0;
	cursor: pointer;
}

#lightbox-container-image-data-bottomline {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	color: #fff;
	vertical-align: bottom;
	box-shadow: 0px -1px 5px 0px #000;
}

#lightbox-container-image-data-bottomline .currentNumber {
	line-height: 100%;
	float: left;
	padding: 10px;
}

#lightbox-container-image-data-bottomline .caption {
	background: transparent;
	border: none;
	line-height: 115%;
	padding: 5px;
}

#lightbox-comments-form {
	position: absolute;
	top: 100px;
	left: 40%;
	width: 400px;
	min-height: 100px;
	border-radius: 6px;
	border: #4F4F4F 4px solid;
	display: none;
	z-index: 3112;
	padding: 10px;
	color: #fff;
	text-align: left;
}

#lightbox-comments-form h4 {
	color: #fff;
	margin: 1.3em auto;
	text-align: center;
}

#lightbox-comments-form .captcha {
	background: #fff;
}

#lightbox-rating div.vote-result {
	font-size: 10px;
	margin-top: 11px;
	padding-left: 172px;
}

#lightbox-rating div.vote-success {
	font-size: 11px;
	margin: 8px 0 0 10px;
	height: 13px;
}

#lightbox-container-image-slideshow-progressbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
}

#lightbox-container-image-slideshow-progressbar .progress {
	height: 100%;
	background: #fff;
	opacity: 0.8;
	width: 0;
}

/* Фоны */
#lightbox-comments, #lightbox-comments-hide {
	background: white;
}

#lightbox-container-image {
	background: #6C6C6C; /*url('/lib/jquery.photopage/images/image-back.png') repeat-y right top;*/
}

#lightbox-nav-btnPrev {
	background-image: url('/lib/jquery.photopage/images/btnPrev.png');
	background-position: 0% 50%;
}

#lightbox-nav-btnNext {
	background-image: url('/lib/jquery.photopage/images/btnNext.png');
	background-position: 100% 50%;
}

#lightbox-container-image-data-box {
	background-color: #6C6C6C;
	background: url('/lib/jquery.photopage/images/side-back.png') repeat-y;
}

#lightbox-container-image-side-box {
	background-color: #6C6C6C;
	background: url('/lib/jquery.photopage/images/side-small/bg.png') repeat-y;
}

#jquery-lightbox ._icon {
	background: url('/lib/jquery.photopage/images/icons.png') 0 0;
}

#jquery-lightbox ._icon.rating {
	background-position: 0 0px;
}

#jquery-lightbox ._icon.comments {
	background-position: 0 60px;
}

#jquery-lightbox ._icon.slideshow {
	background-position: 0 40px;
}
#lightbox-container-image-box {
	background-color: #6c6c6c;
}

#lightbox-container-image-data-box input[type=text] {
	background: #fff url('/lib/jquery.photopage/images/comments/input_pen.png') no-repeat right center;
}

#lightbox-image-details .scroll {
	background: url('/lib/jquery.photopage/images/comments/scroll.png') no-repeat center center;
}

#lightbox-rating .rate form span input.submit {
	background: url('/lib/jquery.photopage/images/icons.png') 0 80px;
}

#lightbox-rating .rate form span:hover > input.submit {
	background-position: 0 60px;
}

#lightbox-comments {
	background: transparent;
	background-image: url('/lib/jquery.photopage/images/ajax-loader.gif');
	background-position: center 10%;
	background-repeat: no-repeat;
}

#lightbox-comments .comment_item .comment_blocked {
	background: transparent;
}

#lightbox-comments .comment_item .text {
	background: #4F4F4F;
}

#lightbox-comments .comment_item .text .left {
	background: url('/lib/jquery.photopage/images/comments/left.png') no-repeat left top;
}

#lightbox-hide-data-box-btn {
	background: url('/lib/jquery.photopage/images/minimize1.png') no-repeat center center;
}

#lightbox-container-image-data-bottomline {
	background: url('/lib/img/1px_80per.png');
}

#lightbox-comments-form {
	background: url('/lib/img/1px_80per.png');
}

/* CustomScroll CSS */

/* content block 1 */
#customScroll {
	height: 230px;
}

#customScroll .customScrollBox {
	position: relative;
	height: 100%;
	overflow: hidden;
}

#customScroll .customScrollBox .container {
	position: relative;
	width: 208px;
	top: 0;
	float: left;
}
#customScroll .customScrollBox .content {
	clear: both;
}

#customScroll .customScrollBox .content p {
	padding: 0 5px;
	margin: 10px 0;
	color: #fff;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	line-height: 20px;
}

#customScroll .customScrollBox .content p.alt {
	padding: 10px 5px;
	margin: 10px 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 17px;
	line-height: 19px;
	color: #999;
}

#customScroll .customScrollBox img {
	border: 5px solid #fff;
}

#customScroll .dragger_container {
	position: relative;
	width: 2px;
	height: 178px;
	float: left;
	margin: 26px 0 0 5px;
	background: #000;
	cursor: pointer -moz-border-radius:2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	cursor: s-resize;
}

#customScroll .dragger {
	position: absolute;
	width: 2px;
	height: 60px;
	background: #999;
	text-align: center;
	line-height: 60px;
	color: #666;
	overflow: hidden;
	cursor: pointer;
	-moz-border-radius: 2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

#customScroll .dragger_pressed {
	position: absolute;
	width: 4px;
	margin-left: -1px;
	height: 60px;
	background: #999;
	text-align: center;
	line-height: 60px;
	color: #666;
	overflow: hidden;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	cursor: s-resize;
}

#customScroll .scrollUpBtn, #customScroll .scrollDownBtn {
	position: absolute;
	display: inline-block;
	width: 11px;
	height: 15px;
	text-decoration: none;
	right: 0;
	filter: alpha(opacity=20);
	-moz-opacity: 0.20;
	-khtml-opacity: 0.20;
	opacity: 0.20;
}

#customScroll .scrollUpBtn {
	top: 6px;
	background: url(/lib/jquery.custom.scroller/mcs_btnUp.png) center center no-repeat;
}

#customScroll .scrollDownBtn {
	bottom: 6px;
	background: url(/lib/jquery.custom.scroller/mcs_btnDown.png) center center no-repeat;
}

#customScroll .scrollUpBtn:hover, #customScroll .scrollDownBtn:hover {
	filter: alpha(opacity=60);
	-moz-opacity: 0.60;
	-khtml-opacity: 0.60;
	opacity: 0.60;
}

#comment_link ._icon {
	width: auto;
	height: auto;
	margin: -6px 6px -5px -4px;
	display: inline-block;
	background: none;
}

#comment_link {
	display: block;
}
.lightbox-comments-process {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: url('/lib/jquery.photopage/images/ajax-loader.gif') no-repeat center center;
	background-color: rgba(0, 0, 0, .7);
	background-color: #999\9;]background-color: default;
}