.gallerycontainer{
    position: relative;
    width:310px;
    height: 400px;
    margin: -390px auto 0 0;
    background-color: #cccccc;
    padding: 10px 0px 0px 5px;     
    /*Add a height attribute and set to largest image's height to prevent overlaying*/
    }
    .gallerycontainer2{
    position: relative;
    width:360px;
    height: 400px;
    margin: -390px auto 0 0;
    background-color: #cccccc;
    padding: 10px 0px 0px 5px;     
    /*Add a height attribute and set to largest image's height to prevent overlaying*/
    }
    .thumb2, no-thumb2 {width: 90px; height: 90px; margin: 3px; padding: 0; background-color: #262c42;}
    .thumb, .no-thumb {
width: 70px; height: 90px; margin: 3px; padding: 0; background-color: #262c42;
}
.no-thumb {
border:1px solid #fff;
}
.thumb a img {display:block; padding: 0px;}

    .thumbnail img, .thumbnail2 img{
    border: 0;
    margin: auto;
    }
    
    .thumbnail:hover, .thumbnail2:hover{
    background-color: transparent;
    }
    
    .thumbnail:hover img, .thumbnail2:hover img{
    border: 0;
    }
    
    .thumbnail span, .thumbnail2 span{ /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    border: 0;
    visibility: hidden;
    text-decoration: none;
    }
    
    .thumbnail span img, .thumbnail2 span img{ /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
    }
    
    .thumbnail:hover span{ /*CSS for enlarged image*/
    visibility: visible;
    top: 30px;
    left: 380px; /*position where enlarged image should offset horizontally */
    z-index: 1000;
    }
    .thumbnail2:hover span{ /*CSS for enlarged image*/
    visibility: visible;
    top: 40px;
    left: 425px; /*position where enlarged image should offset horizontally */
    z-index: 1000;
    }
    .thumbnail:hover span.ls {
    visibility: visible;
    top:75px; 
    left: 338px;
    z-index: 1000;
      }
       .thumbnail2:hover span.ls {
    visibility: visible;
    top:120px; 
    left: 415px;
    z-index: 1000;
      }
      .imgHolder {text-align: center; background-color: #202020; border: 1px ridge #808080; color: #cccccc; z-index: 0; width: 390px; height: 390px; margin: 0 auto 0 auto;  font-size: 2.7em; font-family: serif; font-style: italic; position:relative; left: 150px; top: 20px; }
       .imgHolder2 {text-align: center; background-color: #202020; border: 1px ridge #808080; color: #cccccc; z-index: 0; width: 340px; height: 390px; margin: 0 auto 0 auto;  font-size: 2.7em; font-family: serif; font-style: italic; position:relative; left: 180px; top: 20px; }
      p.placeholder {margin-top: 150px;}
      .pageSelector {margin-bottom: 10px;}