#imagebox {
position: absolute;
background-color: #FFFDE9;
z-index: 999;
top: 0;
left: 0;
}

#imagebox img {
margin: 10px 10px 35px 10px;
}

#imagebox div {
margin-top: -25px;
margin-bottom: 35px;
}

#closebutton {
position: relative;
width: 100%;
height: 100%;
}

#imagebox a {
/*display: block;*/
position: absolute;
/*text-align: right;*/
/*margin-top: 10px;*/
right: 10px;
bottom: 10px;
text-decoration: none;
color: #530000;
font-size: 140%;
}

#overlay {
background: #000;
position: absolute;
top: 0;
left: 0;
z-index: 998;
}

.imagethumbs img {
margin: 5px;
}