/***** layout *****/

#wrapper {
  width: 770px;
  height: 529px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -385px;
  margin-top: -265px;
  border: 1px solid black;
  background: transparent url('../images/bg_wrapper.jpg') 0 0 repeat-y;
}

#branding {
  float: left;
  width: 360px;
  height: 137px;
}

#header {
  float: right;
  width: 410px;
  height: 137px;
  overflow: visible; 
}

#mainNav {
  float: left;
  width: 179px;
  height: 331px;
}

#content {
  float: right;
  width: 591px;
  height: 331px;
}

#mainContent {
  float: left;
  width: 494px;
  height: 331px;
}

#secondaryNav {
  float: right;
  width: 97px;
  height: 331px;
}

/***** branding *****/

#branding {
  background: url('../images/bg_branding.gif') repeat-y 0 0;
}

h1 a {
  position: absolute;
  width: 240px;
  height: 115px;
  margin-left: 25px;
  margin-top: 13px;
  text-indent: -9999px;
  overflow: hidden;
  background: url('../images/marilyn_gillespie_logo.jpg') no-repeat 0 0;
}

h2 {
  position: absolute;
  height: 9px;
  margin-left: 178px;
  margin-top: 116px;
  text-indent: -9999px;
  overflow: hidden; 
}

.photography h2 {
  width: 208px;
  background: url('../images/title_photography.jpg') no-repeat 0 0;
}

.weddings h2 {
  width: 150px;
  background: url('../images/title_weddings.jpg') no-repeat 0 0;
}

.engagements h2 {
  width: 170px;
  background: url('../images/title_engagements.jpg') no-repeat 0 0;
}

.portraits h2 {
  width: 161px;
  background: url('../images/title_portraits.jpg') no-repeat 0 0;
}

/***** header *****/

.photoPage #header {
  background: url('../images/bg_header.gif') repeat-y 0 0;
}

#index #header {
  background: url('../images/bg_header_index.jpg') no-repeat 0 0;
}

#photo-portrait {
  position: absolute; /* allows it to bleed over into #mainContent */
  z-index: 2; /* to go over the hrule-top */
  visibility: hidden; /* default. will be set with javascript */
}

#caption-landscape-area {
  position: absolute;
  width: 312px;
  height: 48px;
  margin-top: 80px;
  visibility: hidden; /* default. will be set with javascript */
}

#caption-landscape {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
}

/***** mainNav *****/

#mainNav {
  background: url('../images/bg_mainNav.gif') repeat-y 0 0;
}

#hrule-top {
  position: absolute;
}

#hrule-bottom {
  position: absolute;
  margin-top: 310px;
}

#copyright {
  position: absolute;
  bottom: 61px;
  padding: 0 0 0px 0px;
}

/* also see layout_mainNav.css */

/***** content *****/

.infoPage #content, .infoPage-intro #content {
  background: url('../images/bg_content.gif') repeat-y 0 0;
}

/***** mainContent *****/

#mainContent {
  background: url('../images/bg_mainContent.gif') repeat-y 0 0;
}

#photo-landscape {
  position: absolute;
  margin-top: 2px;
  visibility: hidden; /* default. will be set with javascript */
  z-index: 2;
}

#photo-index {
  position: absolute;
  margin-top: 2px;
  z-index: 2;
}

#caption-portrait {
  position: absolute;
  margin: 120px 0 0 -7px; /* there are 7px of dead space to right of #mainNav, so nudge this left a bit to properly center it between #photo-portait and mainNav images */
  padding: 0 15px 0 15px;
  width: 158px;
  min-height: 20px;
  text-align: center;
  visibility: hidden; /* default. will be set with javascript */
}

/***** secondaryNav *****/

#secondaryNav {
  position: relative;
  background: url('../images/bg_secondaryNav.gif') repeat-y 0 0;
}

#thumb01, #thumb02, #thumb03 {
  position: absolute;
  width: 51px;
  height: 51px;
  margin-left: 22px;
  border: 1px solid black;
  cursor: pointer;
}

#thumb01 {
  margin-top: 26px;
}

#thumb02 {
  margin-top: 101px;
}

#thumb03 {
  margin-top: 176px;
}

#next {
  position: absolute;
  margin: 274px 0 0 18px;
  cursor: pointer;
}

#previous {
  position: absolute;
  margin: 289px 0 0 18px;
  cursor: pointer;
}

/***** extension *****/

#extension {
  position: absolute;
  margin-top: 331px;
}

#extension h4.extension {
  text-indent: -9999px;
  overflow: hidden;
  width: 494px;
  height: 61px;
  background: transparent url('../images/extension.jpg') 0 0 no-repeat;
}

/* kludges */
/*
body#about-weddings01 #extension {
  margin-top: 24px;
}

body#about-weddings03 #extension {
  margin-top: 59px;
}*/
