body
{
 /* height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;*/
}
#overlay
{
  position: fixed;
  z-index: 10;
  background: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60); /* IE 5.5+*/
  -moz-opacity: 0.6; /* Mozilla 1.6 è íèæå */
  -khtml-opacity: 0.6; /* Konqueror 3.1, Safari 1.1 */
  opacity: 0.6; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9+ */
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}
#overlay2
{
  -moz-box-sizing: border-box; /* Äëÿ Firefox */
  -webkit-box-sizing: border-box; /* Äëÿ Safari è Chrome */
  box-sizing: border-box;
  position: fixed;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
  height: 100%;
  z-index: 11;
}
#lightbox
{
  /*display: table;*/
  height: 100%;
  /*margin: auto;*/
  cursor: pointer;
}
#lightboxMask
{
  position: absolute;
  height: 100%;
  background-color: black;
}
.lightboxComment
{
  color: white;
  font-family: Calibri,Tahoma,sans-serif;
  font-size: 12pt;
  text-align: left;
  left: 0;
  z-index: 100;
}
#lightboxnav
{
  position: absolute; 
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
#lightboxImageContent
{
  /*display: table-cell;
  vertical-align: middle;*/
  position: absolute;
}
#lightboxImage
{
  image-rendering: optimizeSpeed;
}
#preloaderImage
{
  position: absolute;
  z-index: 130;
  width: 32px;
  height: 32px;
}
.lightboxnav
{
  display: inline-block;
  position: absolute;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
  -moz-opacity: 0.3;
  -khtml-opacity: 0.3;
  opacity: 0.3;
  top: 0;
  z-index:110;
  cursor: pointer;
}
#navaL
{
  left: 0;
  min-width: 30px;
  background: url("left_arr.png") no-repeat scroll left 50%;
}
#navaR
{
  float: right;
  right: 0;
  min-width: 30px;
  background: url("right_arr.png") no-repeat scroll right 50%;
}
#lightboxcross
{
  float: right;
  right: 0;
  width: 50px;
  height: 50px;
  background: url("cross.png") no-repeat;
  z-index: 120;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}
#navaL:hover, #navaR:hover, #lightboxdiv:hover #navaR, #lightbox:hover~#navaR, #lightboxcross:hover
{
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}
#lightboxGallBlock
{
  top: 10px;
  display: inline-block;
  position: relative;
}
div.lightboxgallaryitem
{
  display: table-cell;
  /*overflow: hidden; */
  position: relative;
  width: 120px;
  height: 80px;
  padding-left: 10px;
  vertical-align: middle;
}
img.lightboxGalImage
{
  cursor: pointer;
  position: relative;
}
#curGalItem .lightboxGalItemMask
{
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
}
.lightboxGalItemMask
{
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 120px;
  height: 80px;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  opacity: 0.6;
  background: black;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lightboxGalItemMask:hover
{
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
  -moz-opacity: 0.3;
  -khtml-opacity: 0.3;
  opacity: 0.3;
}
#lightboxCaptionString
{
  padding: 0.3em 0.5em;
  line-height: 1.3;
  margin-bottom: 3px;
  margin-top: 0;
  text-overflow: ellipsis;
  text-align: left;
  overflow: hidden;
  background: url("opacity.png") repeat;
}
#lightboxCaption
{
  width: 100%;
}
#lightboxGallScore
{
  position: absolute;
  top: 5px;
  padding-left: 0.5em;
  color: #cccccc;
}

#lightboxdiv
{
  overflow: auto;
  z-index: 100;
  width: 100%;
  min-width: 600px;
  min-height: 300px;
  margin: auto;
  text-align: center;
  background-color: black;
  position: absolute;
  overflow: hidden;
}
#lightboxgallary
{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  white-space: nowrap;
  text-align: center;
  z-index: 110;
  height: 100px;
  min-width: 600px;
  background: black;
  bottom: 0;
  overflow: hidden;
}
.lightboxnavG
{
  display: inline-block;
  position: absolute;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
  top: 0;
  height: 100%;
  width: 75px;
  z-index: 110;
  cursor: pointer;
}
#navGaL
{
  left: 0;
  background: url("left_arrGall.png") no-repeat scroll left 50%;
}
#navGaR
{
  right: 0;
  background: url("right_arrGall.png") no-repeat scroll right 50%;
}
.lightboxnavG:hover
{
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}
#navaL:hover~#navaR, #lightboxcross:hover~#navaR
{
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}
.lightboxGallContImg
{
  width: 120px;
  height: 80px;
  overflow: hidden;
}