html, body{
 margin:0;
 padding:0;
 height:100%;
 overflow:auto;
}

body{
 overflow:auto;
 font-family: Arial, Helvetica, sans-serif;
}

table{
 margin:0;
 padding:0;
 border:0px none #000000;
 border-collapse: collapse;
}

td{
 padding:0;
 margin:0;
}

div{
 margin:0;
 padding:0;
}

.loadingstatus {color: #5ea314;}
.loadingstatusfail {color: #ee2200;}

.selectedimg {border: 5px solid #ffffff;}

#viewport{
 height:100%;
 width:100%;
}

#leftborder{

 background-image:url(/images/shad-l.jpg);
 background-repeat:repeat-y;
 background-position: top right;
 vertical-align:top;
}

#lefttopborder{
 background-image:url(/images/shad-l-t.jpg);
 background-repeat:no-repeat;
 float:right;
 width:7px;
 height:28px;
 font-size:1px;
}

#topleftborder{
 background-image:url(/images/shad-t-l.jpg);
 background-repeat:no-repeat;
 float:left;
 width:16px;
 height:6px;
}

#topspacer{
  height:3px;
  font-size:1px;
  line-height:1px;
}

#topborder{
 background-image:url(/images/shad-t.jpg);
 background-repeat:repeat-x;
 background-position:bottom;
 height:7px;
 line-height:5px;
 font-size:1px;
}

#toprightborder{
 background-image:url(/images/shad-t-r.jpg);
 background-repeat:no-repeat;
 float:right;
 width:17px;
 height:6px;

}

#rightborder{
 background-image:url(/images/shad-r.jpg);
 background-repeat:repeat-y;
 background-position: top left;
 vertical-align:top;
}

#righttopborder{
 background-image:url(/images/shad-r-t.jpg);
 background-repeat:no-repeat;
 float:left;
 width:6px;
 height:24px;
  font-size:1px;
}

#header{
 background-image:url(/images/header-m.jpg);
 background-repeat:no-repeat;
 width:983px;
 height:112px;
 background-color: #f3dffd; /*#FFF8E0 */;
}

#contenttable, #footertable{
 background-color: #f3dffd; /*#FFF8E0 */;
 width:983px;
 height:100%;
 border-left: 1px solid #c8c3c7;
 border-right: 1px solid #c8c3c7;
}

#content{
 background-image:url(/images/contentfade-m.jpg);
 background-repeat:no-repeat;
 width:981px;
}

#contentpad{
 padding:35px;
}

#footertable{
 font-size:10px;
 height: 22px;
 background-image:url(/images/footer.jpg);
}

#footer{
	vertical-align:middle;
	width:981px;
	padding-left:10px;
	padding-right:10px;
	height:22px;
}

#homebutton, #guestbookbutton, #prevdiv, #nextdiv{
float:left;
border: 1px solid #909985;
color: #30332C;
background-color: #D8E6C8;
width:80px;
height: 20px;
font-size:14px;
vertical-align:middle;
text-align:center;
cursor:hand;
cursor:pointer;
}

#comment
{
 float:left;
 width:800px;
 text-align:center;
}

#comment p
{
 padding-left:25px;
 padding-right:25px;
 padding-top:5px;
 padding-bottom:5px;
}

#imgdiv
{
width:800px; 
float:left; 
text-align:center;
}

#pic
{
 border: 1px solid #A99BB0;
}

#thumb
{
width:122px; 
height: 800px; 
overflow:auto; 
float:right;
border: 1px solid #A99BB0;
text-align:center;

}

#piccount
{
float:right; 
text-align:right; 
padding-right: 10px; 
width:200px; 
}

#guestbookbutton, #nextdiv{
float:right;
}

#homebutton:hover, #guestbookbutton:hover, #nextdiv:hover, #prevdiv:hover{
color:#D8E6C8;
background-color:#909985;
}


/*----------------Admin Item Page---------------------------------*/
.admintable{
  /*background-color: #f1fde7*/;
  border: 1px solid #A99BB0 /*#B3AE9D*/;
  padding: 10px;
}

.admintable td{
 padding: 3px;
 font-size: 10pt;
}

.admintable #status{
 float: left;
 width: 225px;
 font-size: 12px;
 color: #829968;
 padding: 5px;
}

.admintable #save, .admintable #new{
float:left;
}

.admintable #listtitle{
 float:left;
}

.admintable #loadstatus{
  float: left;
 width: 200px;
 font-size: 12px;
 color: #D8FCAC;
 padding: 2px 0px 0px 5px;
}

.titlerow{
 background-color: #A99BB0 /*#B3AE9D*/;
 font-weight: bold;
 font-size:12pt;
}

.admintable td th
{
 font-size: 10pt;
}

.adminaltrow
{
 background-color:#F1FFE0;
}

.admintable a
{
  color:#606659;
}


/*-------------------Admin Files Page --------------------*/
.admintable #avail, .admintable #assign
{
  width: 285px;
}

/*--------------------HOME.PHP----------------------------*/

#picturecontent{
  background-color:#fbf7fd;
  border: 1px solid #A99BB0;
  padding: 10px;
  text-align:center;
}

#picturecontent a{
 border: none;
 text-decoration:none;
 color:#000000;
}

#picturecontent a img{
 border:none;
}

#pictureside{
  background-image:url(/images/pic-fra-r-m.jpg);
  background-repeat:repeat-y;
  width:8px;
  vertical-align:top;
}

#picturetopcorner{
 background-image:url(/images/pic-fra-t-r-m.jpg);
 background-repeat:no-repeat;
 height:13px;
 width:8px;
 line-height: 5px;
 font-size:1px;
}

#picturebottom{
 background-image:url(/images/pic-fra-s-m.jpg);
 background-repeat:repeat-x;
 height:8px;
 line-height:5px;
 font-size:1px;
 vertical-align:top;
 }

#pictureleftcorner{
 background-image:url(/images/pic-fra-b-m.jpg);
 background-repeat:no-repeat;
 width:7px;
 height:8px;
 line-height:5px;
 font-size:1px;
 float:left;
}

#picturerightcorner{
 background-image:url(/images/pic-fra-b-r-m.jpg);
 background-repeat:no-repeat;
 background-position:top right;
 width:7px;
 height:8px;
}

#homepic{
 float:left;
}

#hometext{
 float:left;
 font-size:12pt;
 width: 500px;
 padding: 20px 0px 0px 35px;
}

/*-------------------Guestbook----------------------*/
#gbname
{
 float:left;
 font-weight:bold;
}

#gbdate
{
 float:right;
 font-style:italic;
}

#gbcomment
{
  clear:both;
  padding-left:10px;
  padding-right:10px;
}

#back
{
	float:right;
}
