/* Start of CMSMS style sheet 'gallery' */
ul.photos {
  list-style-type : none;
  padding : 0;
  width : 500px;
}

ul.photos li {
  padding : 10px 3px;
  float : left;
  width : 140px;
  height : 140px;
}

ul.photos a {
  width : 120px;
  height : 120px;
  display : table;
  border : 1px solid #3d7aa9;
  background-color : #072b47;
  float : left;
  #position: relative;
}

ul.photos a div {
  #position: absolute;
  #top: 50%;
  display: table-cell;
  vertical-align: middle;
}

ul.photos a div div {
  #position: relative;
  #top: -50%;
  width : 120px;
  text-align : center;
}

ul.photos img {
  margin : 0 auto;
}
/* End of 'gallery' */

