.gallery {
  overflow:hidden;
  margin-top:20px;  
  margin-left:15px;
}

.galleryItem {
  width:150px;
  height:250px;
  float:left;
  margin-right:17px;
  position:relative;
  z-index:0;

}

.galleryItem .newPicFunctions {
  margin-left:20px;
  margin-top:5px;
}

.gallery a {
  color:#cacaca;
  text-decoration:none;

}

.gallery a.galleryHref {
  position:relative;
  display:block;
  width:150px;
  height:210px;
}

.gallery .newPic {
  background-color:#444444;

}

.folder {
  position:absolute;
  width:150px;
  height:210px;
  background-image:url(../images/folderBig.png);
  background-repeat:no-repeat;
  background-position:center top;
}

.folder .categories {
  text-align:center;
  width:145px;
  margin-top:20px;
  height:33px;
  z-index:5;  
}





.folderName, .picName {
  margin-top:20px;
  text-align:center;
  font-size:11px;
  font-family:arial;
  font-weight:bold;
  background-color:#222222;
  height:17px;
  padding-top:3px;
}

.picName {
  margin-top:16px;
  overflow:hidden;

}


.previewThumb {
  margin-top:5px;
  height:80px;
  width:80px;
  margin-left:auto;
  margin-right:auto;
  background-repeat:no-repeat;
  background-position:center center;
  
}

.folderProperties, .picProperties {
  background-color:#cacaca;
  height:25px;
}

.folderProperties span {
  display:block;
  color:black;
  font-size:10px;
  padding-left:5px;
}

#picture {
  text-align:center;
}

#picture img{
  margin-top:10px;
  margin-bottom:10px;

}

#picture img.cross {
  margin-top:-15px;
  margin-left:-20px;
  width:15px;

}

#picNeighbours {
  height:190px;

}

#picNeighboursContainer {
  overflow:hidden;

}

#picNeighbours .thumbNail {
  width:100px;
  height:100px;
  float:left;
  position:relative;
  margin-top:10px;
}

#picNeighbours .thumbNail img{
  position:absolute;
  top:50%;
  left:50%;
}


#picNeighbours .neighbour {
  width:50px;
  height:50px;
  float:left;
  margin-top:35px;
  margin-left:10px;
  margin-right:10px;
  position:relative;
}

#picNeighbours .neighbour img{
  position:absolute;
  top:50%;
  left:50%;
}

#picNeighbours .neighbour, #picNeighbours .thumbNail { 
  border:solid #999999 1px;
}

.picProperties input {
  float:right;
  margin-top:5px;

}

#picture #shownPicture, .resizedPicture {
  cursor:url(../images/1374175715_Search.png), pointer;

}

.resizedPicture {
  display:block;
  position:absolute;
  left:50%;
  top:50%;  

}