.allEntriesTable {
 margin-left: -15px !important;
 margin-right: -15px !important;
}
.allEntriesTable li.phtTdMain {
 width: 33.333% !important;
 padding: 0 15px 30px 15px;
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}
.u-center{text-align:center}
#u-photo:before,#photo:after{content:"";display:table}
#u-photo:after{clear:left}
#u-photo{zoom:1}
.uphoto{display:inline-block;vertical-align:middle;margin:10px;text-align:left}
.photo-title{display:block;margin:0;padding:0 5px 5px 5px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;font:bold 12px/17px 'Arial';-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.photo-block,.photo-eblock{
position: relative;
 display: inline-block;
 vertical-align: middle;
 padding: 10px!important;
 font: 12px/16px 'PT Sans'!important;
 background: #fff!important;
 box-shadow: 0 .0px 0 rgba(0,0,0,0)!important;
 border-radius: 0!important;background: rgba(0, 0, 0, 0.78);
}
.photo-block:after {
 display: block;
 content: "";
 position: absolute;
 top: 100%;
 left: 0;
 right: 0;
 height: 7px;
 background:#fff!important;
}
.photo-block a span{cursor:pointer}
.ph-wrap{display:block;position:relative;overflow:hidden}
.ph-wrap img{vertical-align:middle;border:0}
.ph-tc {background: rgba(0, 0, 0, 0.78);}
.ph-tc img{
 max-width:100%;
 height:auto; 
 -webkit-transform: scale(1.0,1.0);
 -ms-transform: scale(1.0,1.0);
 transform: scale(1.0,1.0); 
 
 -webkit-transition: 0.7s ease-in-out;
 -moz-transition: 0.7s ease-in-out;
 -ms-transition: 0.7s ease-in-out;
 -o-transition: 0.7s ease-in-out;
 transition: 0.7s ease-in-out;
 }

.ph-tc:hover img{
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
 filter:alpha(opacity=40); 
 -khtml-opacity: 0.4; 
 -moz-opacity:0.4; 
 opacity:0.4;
} 

.ph-tc i { 
 position: absolute;
 top: 50%; 
 left: 50%;
 width:10px;
 height:10px;
 font-size:10px;
 line-height:10px;
 text-align:center;
 color:#ffffff;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
 filter:alpha(opacity=0); 
 -khtml-opacity: 0; 
 -moz-opacity:0; 
 opacity:0; 
 -webkit-transition: 0.7s ease-in-out;
 -moz-transition: 0.7s ease-in-out;
 -ms-transition: 0.7s ease-in-out;
 -o-transition: 0.7s ease-in-out;
 transition: 0.7s ease-in-out; 
} 

.ph-tc:hover i {
 top: 50%;
 left: 50%;
 width: 100px;
 height: 100px;
 font-size: 70px;
 line-height: 100px;
 margin-top: -50px;
 margin-left: -50px;
 text-align:center;
 background:rgba(45,45,45,0.8);
 -webkit-border-radius: 10%;
 -moz-border-radius: 10%;
 -o-border-radius: 10%;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
 filter:alpha(opacity=90);
 -khtml-opacity: 0.9;
 -moz-opacity:0.9;
 opacity:0.9;
 -webkit-transform: rotate(720deg);
 -moz-transform: rotate(720deg);
 -o-transform: rotate(720deg);
 -ms-transform: rotate(720deg);
} 

.ph-data{display:inline-block}
.ph-date{display:block;padding:2px 7px;font-weight:bold;color:#000 !important}
.ph-descr{display:block;padding:5px 8px;font-style:italic;font-size:11px;line-height:14px;color:#464646 !important;text-shadow:0 1px 0 #fff}
.ph-author{display:inline-block;vertical-align:middle;margin:2px 0 0 0;padding:0 0 0 18px;color:#464646 !important;text-shadow:0 1px 0 #fff;background:url(./../../img/photopage/uico-user.png) no-repeat left center}
.ph-author:hover{text-decoration:underline}
.ph-details{display:block;height:16px;margin:5px 0 0 0;text-align:center}
.phd-views,.phd-comments,.phd-rating{display:inline-block;margin:0 10px 0 0;background:no-repeat left center;padding-left:20px}
.phd-views{background-image:url(./../../img/photopage/uico-view.png)}
.phd-comments{background-image:url(./../../img/photopage/uico-comment.png);padding-left:18px}
.phd-rating{background-image:url(./../../img/photopage/uico-rating.png);padding-left:18px;margin-right:0;cursor:pointer;position:relative}
.phd-dorating{display:none;vertical-align:middle;margin:1px 0 0 0;font-size:0;border-radius:3px;transition:all .15s ease;-webkit-transition:all .15s ease}
.uphoto .phr-opened .phd-views,.uphoto .phr-opened .phd-comments,.uphoto .phr-opened .phd-rating{display:none}
.phr-opened .phd-dorating{display:inline-block}
.phd-dorating .u-current-rating{visibility:hidden}
.ph-wrap img,.ph-data{*margin-top:expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0":(parentNode.offsetHeight - this.offsetHeight)/2+"px")}
.uphoto-entry{margin-bottom:10px}
.uphoto-entry .ph-wrap,.uphoto-entry .ph-tc{width:auto;height:auto}
.uphoto-entry .photo-block{*display:inline;*zoom:1}
.photo-etitle{margin:10px 0;text-align:center}
.photo-edescr{margin:15px 0;text-align:justify}
.photo-eblock{margin-bottom:10px;*display:inline;*zoom:1}
.photo-expand{display:block;position:relative}
.photo-expand img{max-width:100%}
.photo-expand .dd-tip{position:absolute;display:block;bottom:-49px;left:0;width:100%;height:48px;text-align:center;background:url(./../../img/photopage/opacity085.png);font:12px/48px 'Arial' !important;text-decoration:none !important;color:#595959 !important;text-shadow:0 1px 0 #fff !important;-webkit-transition:bottom .2s .1s ease;transition:bottom .2s .1s ease;*display:none}
.dd-tip:hover,#phtmDiv35:hover ~ .dd-tip,.hovered .dd-tip{bottom:0;*display:block}
.expand-ico{display:inline-block;vertical-align:middle;margin:0 10px 0 0;width:24px;height:48px;background:url(./../../img/photopage/expand.png) no-repeat left center}
.photo-hr{margin:5px 0;border:0;height:2px;overflow:hidden;background:url(./../../img/photopage/hr.png) repeat-x;*display:none}
.photo-edetails,.photo-edetails2{display:block;line-height:30px !important}
.photo-edetails{margin-top:5px;line-height:35px !important}
.uphoto-entry .phr-opened .phd-rating{display:none}
.phd-author{display:inline-block;vertical-align:baseline;margin:0 0 0 5px;padding:0 0 0 18px;background:url(./../../img/photopage/uico-user.png) no-repeat left center}
.photo-slider{margin:10px 0}
.photo-slider table{margin:auto}
#photoModalWrap{position:fixed;z-index:10007;left:0;right:0;top:0;bottom:0;overflow:auto}
#photoModalWrap .fancybox-wrap{position:relative !important;top:0 !important;padding-top:20px;padding-bottom:20px}
#photoModalWrap .fancybox-inner{height:auto !important;overflow: visible !important;}
#fakeArrowsBlock{position:relative;min-height:100%}
.modalArrow{width:50%;position:fixed;z-index:10006}
.modalArrow span{visibility:visible;opacity:.5}
.modalArrow:hover span,.modalArrow.hovered span{opacity:1}
.modalArrow.fancybox-next{right:0}
.modalArrow.fancybox-prev{left:0}
.fakeArrow{position:absolute;top:0;left:0;width:50%;height:100%;cursor:pointer;background:transparent url('/.s/src/ulightbox/blank.gif');outline:0}
.fakeArrowNext{left:auto;right:0}
#phtmDiv35{display:block}
#photoModalWrap #phtmDiv35{min-height:31px;background:url(/.s/img/wd/3/ajax.gif) no-repeat center center}
#mphoto-addcmt{padding:5px 0;text-align:center;background:#f9f9f9}
#acform{text-align:left}
#photoModalWrap #acform{display:none}
.fixedAddComBtn{position:fixed;bottom:0;left:50%;z-index: 10}
#photoModalWrap .comAddOpened #acform{display:block !important}
.comAddOpened #mphoto-addcmt-btn{display:none}
#photoModalWrap .cMessage{word-break:break-word;overflow: hidden;}