.displayBlocker { background: #000000; opacity: 0.5; z-index: 1000; left: 0; top: 0; filter: alpha(opacity=50); }
.photoViewr.woRight .rightContent { display: none;  }
.photoViewr.woPreviews .preview { display: none; }
.photoViewr.woRight .goPrev,
.photoViewr.woRight .goNext { display: none; }

.photoViewr { z-index: 1001; left: 0; top: 0; }
.photoViewr .content {  position: relative; background: #000000; margin: 10px 0 0 10px; }
.innerWrap { position: absolute; width: 100%; height: 100%;  left: 0px; top: 0px; }
.innerIE {  }

.innerWrap { text-align:center; display:table !important; table-layout: fixed; }
.innerWrap .imgWrap { display:table-cell; vertical-align:middle;}
.innerWrap .imgWrap .img { margin-top:expression(this.parentNode.clientHeight/2-this.clientHeight/2 + 'px'); } /*ololo*/
.innerWrap .img { max-width: 100%; max-height: 100%; }

.photoViewr .goPrev { left: 0; top: 0; width: 10%; z-index: 5; opacity: 0.3; filter: alpha(opacity=30); }
.photoViewr .goNext { right: 0; top: 0; width: 10%;  z-index: 5; opacity: 0.3; filter: alpha(opacity=30); }

.photoViewr .goPrev:hover { opacity: 1; filter: alpha(opacity=100); }
.photoViewr .goNext:hover { opacity: 1; filter: alpha(opacity=100); }

.photoViewr .close { z-index: 10; top: 10px; right: 10px; width: 30px; height: 30px; background-image: url("/images/photoViewer/buttonSprite2.png"); background-repeat: no-repeat; }

.photoViewr .goPrev .back,
.photoViewr .goNext .back { width: 30px; height: 30px; background-image: url("/images/photoViewer/buttonSprite2.png"); background-repeat: no-repeat; top: 50%; margin-top: -15px; }

.photoViewr .goPrev .back { left: 0; }
.photoViewr .goNext .back { right: 18px; }

.photoViewr .goPrev .back { background-position: 0 -150px; }
.photoViewr .goNext .back { background-position: 0 -90px; }
.photoViewr .close { background-position: 0 0px; }

.photoViewr .goPrev:hover .back { background-position: 0 -120px; }
.photoViewr .goNext:hover .back { background-position: 0 -60px; }
.photoViewr .close:hover { background-position: 0 -30px; }
.photoViewr > .preview { background: #000000; width: 100px; top: 10px; }
.photoViewr > .preview .inner { top: 50%; left: 0; margin-top:-40px;
/*	-webkit-transition-property: top;
	-webkit-transition-duration: 0.3s;
	-webkit-transition-timing-function: ease;
	-o-transition-property: top;
	-o-transition-duration: 0.3s;
	-o-transition-timing-function: ease;*/
}
.photoViewr > .preview .prev { width: 80px; height: 80px; left:0; margin: 0 0 10px 10px; cursor: pointer; cursor: hand; }
.photoViewr > .preview .forPhoto { width: 300px; margin-left: -110px; margin-right: 10px; }
.photoViewr > .preview .forPhoto img { margin: 0 auto; max-height: 100%; }
.photoViewr > .preview .selector { top: 50%; left: -7px; width: 102px; height: 90px; margin-top: -45px; background: url("/images/photoViewer/selector_r.png") left bottom no-repeat; }
.photoViewr > .preview .topGrad,
.photoViewr > .preview .bottomGrad { display: none; top:0; left: 0; width: 100px; height: 70px;  background: url("/images/photoViewer/gallery-grad.png") left bottom repeat-x; }
.photoViewr > .preview .bottomGrad { display: none; bottom: 0; top: auto; background-position: left top; }
.photoViewr.woRight > .preview .bottomGrad,
.photoViewr.woRight > .preview .topGrad { display: block !important; }

.photoViewr > .preview .commBlock { font-size: 10px; line-height: 1.1em; text-align: center; right: 1px; top: 1px; background: url("/images/photoViewer/iconSprite.png") left top no-repeat; width: 23px; height: 17px; }

.photoViewr .rightContent  { color: #000000; background: #ffffff; width: 255px; right: -355px; top: 0px; height: 100%; }

.rightContent .author { padding: 10px; /*border-bottom: 1px solid #666666; */}
.rightContent .author span { color: #afafaf; }
.rightContent .author .ava { max-width: 50px; max-height: 50px; margin-right: 10px; }

.rightContent .description { background: #c2ffff; max-height: 100px; border-bottom: 1px solid #666666; }
.rightContent .description.expand { max-height: none !important; }
.rightContent .description .spoiler { height: 30px; background: url("/images/photoViewer/descrSpoiler.png") left top repeat-x; left: 0; bottom: 0; }

.rightContent .description .inner { padding: 5px; }

.rightContent .scrollBlock { overflow-y: auto; overflow-x: hidden; }
.rightContent .sComments.photoInfo .inner { padding: 10px; }
.rightContent.reduced .sComment { margin-left: 0 !important; }
.rightContent .sComment { padding: 10px; border-bottom: 1px solid #afafaf; }
.rightContent .sComment .poster { font-size: 11px; line-height: 1.2em; padding-bottom: 10px; }
.rightContent .sComment .poster .ava { max-width: 25px; max-height: 25px; margin-right: 10px;}
.rightContent .sComment .poster span { color: #afafaf; }
.rightContent .sComment .text img { max-width: 100%; }
.rightContent .sComment .photoRating { right: 0px; top: 0px; font-size: 14px;  }
.rightContent .sComment .photoRating .plus { color: #006e0f; font-weight: bold; cursor: pointer; cursor: hand; }
.rightContent .sComment .photoRating .minus { color: #cc0000; font-weight: bold; cursor: pointer; cursor: hand; }
.rightContent .sComment .contr { padding-top: 5px; font-size: 11px; }

.rightContent .flag { width: 25px; height: 17px; right: 0px; top: 15px; }
.rightContent .flag.flag_icon1 { background: url("/images/icons/rus_small.png") right top no-repeat; }
.rightContent .mainAnswerButton { margin-left: 10px; margin-top: 10px; }
.rightContent .toggleRightContent { left: 0px; top: 0px; width: 10px; height: 100%; background: #dbdbdb; }
.rightContent .toggleRightContent .expanderIcon { width: 8px; height: 8px; left: 3px; top: 50%; margin-top: -4px;  background-repeat: no-repeat; }
.rightContent .toggleRightContent:hover { background: #afafaf;  }

.rightContent .toggleRightContent .expanderIcon { background-position: 0 -195px; background-image: url("/images/photoViewer/buttonSprite2.png"); }
.rightContent.reduced .toggleRightContent .expanderIcon { background-position: 0 -180px; background-image: url("/images/photoViewer/buttonSprite2.png"); }

.rightContent { padding-left: 10px; }
/* flag_icon1" */

.rightContent .sCommentArea { width: 99%; height: 50px; }
.rightContent .commentForm { border: none; }

.rightContent.openComments .commentsList,
.rightContent.openInfo .photoInfo { display: block; }
.rightContent .commentsList,
.rightContent .photoInfo { display: none; }

.rightContent.openComments .commentsShower,
.rightContent.openInfo .infoShower { color: #afafaf; }

.rightContent .buttonShower { display: block;padding: 10px;  font-weight: bold;  }
.rightContent .commentsShower { border-top: 1px solid #afafaf; zoom:1; }

.rightContent .buttonShower i { background-position: 0 -360px; width: 9px; height: 10px; background-repeat: no-repeat; background-image: url("/images/photoViewer/buttonSprite2.png"); right: 10px; top: 50%; margin-top: -5px; }
.rightContent.openComments .commentsShower i { background-position: -15px -360px; }
.rightContent.openComments .commentsShower .openState { display: none; }
.rightContent.openComments .commentsShower .closeState { display: block; }
.rightContent .commentsShower .openState { display: block; }
.rightContent .commentsShower .closeState { display: none; }

.rightContent.openInfo .infoShower i { background-position: -15px -360px; }

.photoViewr .voted .rate { color: #afafaf !important; opacity: 0.2; filter: alpha(opacity=20); }

.photoViewr .bottomContent { height: 60px; bottom: 0px; width: 100%; margin-right: -300px; }

/*.bottomContent .swichButton { z-index: 10; width: 47px; height: 47px; right: 10px; top: 10px; opacity: 0.3; filter: alpha(opacity=30);  background-image: url("/images/photoViewer/buttonSprite2.png"); background-repeat: no-repeat; }
.bottomContent .swichButton:hover { opacity: 1; filter: alpha(opacity=100); }
.bottomContent .swichButton.showInfo { background-position: 0 -300px; }
.bottomContent .swichButton.showComments { background-position: 0 -240px; }*/


.bottomContent .ratingBlock { z-index: 10; opacity: 0.3; filter: alpha(opacity=30) filter: alpha(opacity=30); right: 10px; top: 10px; font-size: 42px; line-height: 55px; color: #ffffff; background: #000000; height: 58px; border: 1px solid #afafaf; }
.bottomContent .ratingBlock .preloadMe { padding: 0 5px; }
.bottomContent .ratingBlock:hover { opacity: 1; filter: alpha(opacity=100); }
.bottomContent .ratingBlock .plus { color: #006e0f; cursor: pointer; cursor: hand; }
.bottomContent .ratingBlock .minus { color: #cc0000; cursor: pointer; cursor: hand; }

.rightContent .links input { width: 99%; margin:0; padding:0; font-size: 14px; margin-bottom: 3px; }
.rightContent .camera .a { padding-right: 10px; color: #afafaf; }
.rightContent .camera td { padding-bottom: 3px; }

.photoViewr .sImgs { margin-bottom: 10px; }
.photoViewr .sImgs .t { height: 18px; font-weight: bold; }

.photoViewr .sImgs .sImg { height: 40px; width: 40px; border: 1px solid #afafaf; margin-right: 5px; }
.photoViewr .sImgs .sImg img { width: 40px; height: 40px; }
.photoViewr .sImgs { margin-right: 15px; }