body {
  background: transparent url('template/bg.png');
  font : 12pt "Times New Roman", serif;
  color: #635243;
  text-align : left;
  margin : 5px 0;
}

a:link {
  color : #3a496c;
}

a:visited {
  color : #000000;
}

a:active {
  color : #000000;
}

a:hover {
  color : #000000;
}

/* Common */

/* Main header */

#top {
  background: transparent url('template/top.jpg');
}

#tophome {
  background: transparent url('template/tophome.jpg');
}

#topcondol {
  background: transparent url('template/topcondol.jpg');
}

#topalbum {
  background: transparent url('template/topalbum.jpg');
}

#top, #tophome, #topcondol, #topalbum {
  width: 798px;
  height: 182px;
  position: relative;
  margin-left: 76px;
}

#top img, #tophome img, #topcondol img, #topalbum img {
  float: left;
  border: 0;
}

/* headings */

#heading {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 760px;
  text-align: center;
  font : bold 20pt "Times New Roman", serif;
}

#subheading {
  position: absolute;
  top: 0;
  right: 0;
  width: 760px;
  text-align: center;
  font : bold 12pt "Times New Roman", serif;
}

#condolheading {
  padding-left: 20px;
  padding-top: 20px;
  width: 760px;
  height: 80px;
  text-align: center;
  color: #40576f;
  font : 20pt "Times New Roman", serif;
}

#condolheading a {
  font : 12pt "Times New Roman", serif;
  color: #3a496c;
}

#condolfooter {
  padding-top: 20px;
  width: 600px;
  height: 80px;
  text-align: center;
}

#condolfooter a {
  font : 12pt "Times New Roman", serif;
  color: #3a496c;
}

#heading p {
  font : 12pt "Times New Roman", serif;
  margin: 0 0 30px 90px;
}

#heading span {
  font : 10pt "Times New Roman", serif;
}


#container {
  margin-left: 76px;
  width: 798px;
  position: relative;
  background-color: #d9d5bf;
  overflow: hidden;
}

#leftborder {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent url('template/left-bg.jpg') repeat-y;
  width: 58px;
}

#rightborder {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent url('template/right-bg.jpg') repeat-y;
  width: 21px;
}


#leftborder, #rightborder {
  height: 100%;
}

/* for Internet Explorer */
/*\*/
* html #leftborder {
  height: 100000px;
}

* html #rightborder {
  height: 100000px;
}
/**/

/* Content */

#homecontent {
  margin-left: 68px;
  padding-top: 15px;
  width: 370px;
  height: 432px;
  font : 13pt "Times New Roman", serif;
  text-align: center;
}

#obitcontent {
  margin-left: 68px;
  padding: 40px 0;
  width: 340px;
  min-height:400px;
  height:auto !important;
  height:400px;
}

#condolcontent {
  margin-left: 100px;
  padding: 0 0 50px 0;
  width: 600px;
  min-height:500px;
  height:auto !important;
  height:500px;
}

#albumcontent {
  margin-left: 120px;
  padding: 0 0 50px 0;
  width: 630px;
  min-height:500px;
  height:auto !important;
  height:500px;
}

#submitcontent {
  margin-left: 100px;
  padding: 0 0 50px 0;
  width: 600px;
}

#homecontent p {
  margin: 0 0 13px 0;
  text-align: justify;
}

.small {
  font : 12pt "Times New Roman", serif;
}

#obitcontent p {
  margin: 0;
}

#hometree {
  position: absolute;
  bottom: 31px;
  right: 0;
  width: 319px;
  height: 420px;
  margin-right:21px;
  background: transparent url('template/tree.jpg') no-repeat;
}

#obitimage {
  position: absolute;
  top: 20px;
  right: 0;
  width: 311px;
  height: 393px;
  margin-right:21px;
}

/* Bottoms */

#homebottom, #bottom {
  position: absolute;
  width: 798px;
  bottom: 0;
  margin: 0;
  padding: 0;
  overflow:hidden;
}

#homebottom {
  background: transparent url('template/homebottom.jpg') no-repeat;
  height: 31px;
}

/* for Internet Explorer */
/*\*/
* html #homebottom {
  height: 31px;
}
/**/

#bottom {
  background: transparent url('template/bottom.jpg') no-repeat;
  height: 31px;
}

/* condolance listing */

div.condolblock {
  margin-top: 60px;
  font : 10pt "Times New Roman", serif;
  background: transparent url('template/quill.jpg') no-repeat;
  padding-left: 60px;
}

div.condolblock h3 {
  border-bottom: 2px solid #000000;
  margin: 5px 0 0 0;
  color: #3a496c;
}

div.condolblock span {
  margin: 4px 0 0 0;
  float: right;
  font : 10pt "Times New Roman", serif;
}

div.condolblock p {
  margin: 10px 0;
}

/* album */

.imageframe {
  float: left;
  height: 231px;
  width: 231px;
  margin: 30px;
  background: transparent url('template/tn_background.jpg') no-repeat;
}

.imageframe img {
  float: left;
  height: 175px;
  width: 175px;
  margin: 28px;
  overflow: hidden;
  border: 0;
}

/* Submit Form */

#submitform {
  margin: 0 200px;
  padding: 0 0 80px 0;
  font : bold 10pt "Times New Roman", serif;
  min-height:450px;
  height:auto !important;
  height:450px;
}

#submitform td {
  vertical-align: top;
}

#submitform span {
  font : 10pt "Times New Roman", serif;
  font-style:italic; 
}

/* Menus */

#homemenu, #obitmenu {
  position: relative;
  margin-left: 120px;
  height: 49px;
  width: 740px;
  z-index: 10;
}

#condolmenu {
  position: absolute;
  left: 76px;
  top:240px;
  height: 400px;
  width: 58px;
  z-index: 10;
}

#homemenu {
  margin-top: -18px;
}

#obitmenu {
  margin-top: -15px;
}


#homemenu a {
  float: right;
  margin-right: 20px;
  width: 270px;
  height: 49px;
}

#obitmenu a {
  width: 180px;
  height: 41px;
  display: block;
}

#condolmenu a {
  width: 58px;
  height: 183px;
  display: block;
}

#homemenu1 {
  background: transparent url('template/menu_mariette.jpg') no-repeat;
}

#homemenu1:hover {
  background: transparent url('template/menu_mariette_over.jpg') no-repeat;
}

#obitmenu1 {
  position: absolute;
  left: 14px;
  background: transparent url('template/menu_home.jpg') no-repeat;
}

#obitmenu1:hover {
  background: transparent url('template/menu_home_over.jpg') no-repeat;
}

#obitmenu2 {
  position: absolute;
  left: 194px;
  background: transparent url('template/menu_necrologie.jpg') no-repeat;
}

#obitmenu2:hover {
  background: transparent url('template/menu_necrologie_over.jpg') no-repeat;
}

#obitmenu3 {
  position: absolute;
  left: 374px;
  background: transparent url('template/menu_condoleances.jpg') no-repeat;
}

#obitmenu3:hover {
  background: transparent url('template/menu_condoleances_over.jpg') no-repeat;
}

#obitmenu4 {
  position: absolute;
  left: 554px;
  background: transparent url('template/menu_albumphotos.jpg') no-repeat;
}

#obitmenu4:hover {
  background: transparent url('template/menu_albumphotos_over.jpg') no-repeat;
}

#condolmenu1 {
  background: transparent url('template/vmenu_home.jpg') no-repeat;
}

#condolmenu1:hover {
  background: transparent url('template/vmenu_home_over.jpg') no-repeat;
}

#condolmenu2 {
  background: transparent url('template/vmenu_albumphotos.jpg') no-repeat;
}

#condolmenu2:hover {
  background: transparent url('template/vmenu_albumphotos_over.jpg') no-repeat;
}

#condolmenu3 {
  background: transparent url('template/vmenu_necrologie.jpg') no-repeat;
}

#condolmenu3:hover {
  background: transparent url('template/vmenu_necrologie_over.jpg') no-repeat;
}

#condolmenu4 {
  background: transparent url('template/vmenu_condoleances.jpg') no-repeat;
}

#condolmenu4:hover {
  background: transparent url('template/vmenu_condoleances_over.jpg') no-repeat;
}

/* Admin */

#adminwrap {
  padding: 20px 50px 80px 80px;
}

#adminwrap h1 {
  font : bold 16pt "Times New Roman", serif;
  margin: 10px 0;
  text-align: center;
  margin-left: 30px;
}

#adminwrap h1 span {
  font : 10pt "Times New Roman", serif;
  float: right;
}

#login {
  text-align: center;
}

.status {
  float: right;
}

.status a {
  display: block;
  width: 64px;
  height: 63px;
}

.approved {
  background: transparent url('template/ballyes.jpg') no-repeat;
}

.notapproved {
  background: transparent url('template/ballno.jpg') no-repeat;
}

/* Lightbox */
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(template/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(template/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

