body {
 padding: 10px;
 background-color: #331A00;
 font-size: 1em;
}

#content {
  width: 720px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* default link behavior */
a {
  text-decoration: none;
  color: #663300;
}

a:hover {
  color: #FFFFFF;
}

a img {
  border: none;
}

/**************************************/
/* styling for the HEADER/banner area */
/**************************************/
#header {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -5px;
  height: 353px;           /* recovers a few unexplainable pixels that form a gap at the bottom of the header */
  width: 720px;
  border-top: solid 5px #663300;
  border-right: solid 5px #663300;
  border-left: solid 5px #663300;
  border-bottom: none;
  
}

#header img {
  border: none;
  margin: 0;
  padding: 0;
  z-index: -100;
}


/**********************************/
/* styling for the NAVIGATION bar */
/**********************************/
#navbar {
  color: #FFFFFF;
  border-right: solid 5px #663300;
  border-left: solid 5px #663300;
  font-family: "Palace Script MT";
  font-weight: normal;
  font-size: 1.5em;
  background-image: url(../images/td_navbar2.jpg);
  background-repeat: repeat-x;
  text-align: center;
  width: 720px;
  height:  50px;
  padding: 0 0 0 0;
  margin: 0 auto -5px auto;
}

#navbar img {
  margin-top: 10px;
  border: none;
}

/* styling for the separator character between navigation bar links */
.navdeco {
  font-style: normal;
  font-size: 1em;
  font-weight: normal;
  padding-left: 0;
  padding-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
}

#navbar a {
  padding: 0 3px 0 3px;
  margin: 0;
}

#navbar a:link, #navbar a:visited {
  color: #FFFFFF;
}

#navbar a:hover {
  color: #000000;
}

/*********************************************
 * styling for the MAIN BODY area            *
 * other than the header, navbar, and footer * 
 **********************************************/
#mainBody {
  position: relative;
  background-image: url(../images/td_main_bg2.jpg);
  background-repeat: repeat;
  border-right: solid 5px #663300;
  border-left: solid 5px #663300;
  margin-left: auto;
  margin-right: auto;
  width: 720px;
  height: auto;

}

#mainBodyPlain {
  position: relative;
  width: 720px;
  height: auto;
  background-image: url(../images/td_nograde_bg2.jpg);
  background-repeat: repeat;
}  

/**************************************************
 * styling for the HOME page introduction section *
 **************************************************/
#homeintro {
  padding: 1em 4em 1em 4em;
  }

#homeintro p {
  font-family: "Times New Roman";
  font-size: 1.1em;
  font-weight: normal;
  padding: 15px 0 0 0;
  line-height: 1.25em;
  text-transform: none;
}

#homeintro p {
  text-indent: -.5em;

}

.firstchar {
  font-size: larger;
}

#timage {
 margin-top: -10px;
}

#homeintro img.tscript {
 
  float: left;
  clear: left;
}
/*********************************
 * styling for the ABOUT US page *
 *********************************/
#about {
  padding: 1em 4em 1em 4em;
}

#about p {
  font-size: 1em;
  margin-bottom: 1.5em;
}

#about p.fpic {
  min-height: 95px;
}

#about img {
  margin-right: 10px;
  margin-bottom: 5px;
  border: none;
}


img.aboutlogo {
 float: left;
 clear: both;
}

#about h3 {
  clear: left;
}

table#references {
  font-weight: bold;
}

table#references  td {
  height: 85px;
}

/* styling for the other pages */
#newconstruction, #repairdivision, #texture, #gallery, #contact, #textinfo {
  padding: 1em 0em 5em 0em;
  width: 100%;

}

#newconstruction p, #repairdivision p, #texture p, #gallery p {
  font-weight: normal;
  font-size: 1.25em;
  line-height: 1.4em;
}

#newconstruction p, #repairdivision p, #texture p { 
  margin: 0 30px 20px 30px;
}

#contactform {
  padding-left: 40px;
}

#contactform form {
  margin: 0 30px 20px 30px;
  font-weight: normal;
} 


#contact h2 {
  text-align: center;
}

#contactform p.mailmessage {
  width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Courier";
}

#newconstruction   img.smallt, #repairdivision img.smallt, #texture img.smallt {
  margin: 0 -15px -5px 0;
}

/* GALLERY LINK-TO AREA */

.gldiv {
  text-align: center;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gldiv h3 {
  margin-top: 60px;
}

/***************************
 * TEXTURE page - textcols *
 ***************************/

#texture {
  position: relative;
  top: 0;
}

#textinfo  {
  position: relative;
  top: 0;
}
 
#textcols  {
  position: relative;
  width: 710px;
  height: auto;
}

#textcols ul {
  margin-left: 0;
  padding-left: 0;
  list-style-type: none;
  font-family: "Arial";
}

#textcolswrapper {
  position: relative;
  width: 710px;
  height: auto; 
}

#textcols a img {
  margin-left: auto;
  margin-right: auto;
  border: none;
}

#leftcolumn, #middlecolumn, #rightcolumn {
  width: 220px;
  display: block;
  text-align: center;
}

#textcols a {
  display: block;
}

#leftcolumn  {
  position: absolute;
  left: 10px;
  top: 0px;

}

#middlecolumn {
  margin-left: 240px;
  margin-top: 0;
}

#rightcolumn  {
  position: absolute;
  right: 10px;
  top: 0;
}

.tcolhd {
  font-size: 1em;
  display: block;
  margin-bottom: 10px;
}
  
.texturename {
  color: #663300;
  font-family: "Arial Black";
}

/*******************
 * GALLERY styling *
 *******************/

#gallery {
  position: relative;
  width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* HOVER STYLING */
 
img.portrait, img.square, img.landscape  {
  position: relative;
  z-index: 2;
}

img.portrait  {
  width: 180px;
  height: 240px;
}

.gallerypicr img.portrait, .gallerypicl img.portrait {
  overflow: visible;
}

img.square  {
  width: 150px;
  height: 150px;
}

img.landscape  {
  width: 240px;
  height: 180px;
}

.gallerypicr img.landscape, .gallerypicl img.landscape {
  overflow: visible;
}

img.portraithover, img.squarehover, img.landscapehover {
  position: absolute;
  z-index: 100;
}

img.portraithover {
  width: 360px;
  height: 480px;
}

img.squarehover {
  width: 400px;
  height: 400px;
}

img.landscapehover {
  width: 480px;
  height: 360px;
}

/* special case for expanded image on right side of page */
.gallerypicr img.landscapehover, .gallerypicr img.portraithover {
  right: 20px;
}

/* GALLERY PICTURE */

.gallerypicr, .gallerypicl, p.gallerypr, p.gallerypl, .picright, .picleft, p.parright, p.parleft {
  width: 270px;         /* was 280, but having trouble with fit in FF */
  height: 300px;
}

.gallerypicr, .picright {
  text-align: right;
  float: right;
  margin-right: 45px;
}

.gallerypicl, .picleft {
  float: left;
  margin-left: 45px;
}

#gallery img {
  border-top: solid 3px #804000;
  border-right: solid 3px #663300;
  border-bottom: solid 3px #663300;
  border-left: solid 3px #804000;
}

#gallery img.texturepic {
  border: none;
}

/* GALLERY PARAGRAPH */

p.gallerypr, p.gallerypl, p.parright, p.parleft {
  position: relative;
  z-index: 2;
  color: #663300;
  font-family: "Arial" sans-serif;
}

p.gallerypr, p.parright {
  margin-left: 380px;
}

p.gallerypl, p.parleft {
  margin-left: 20px;
  text-align: right;
}

#gallery img.pgheader {
  border: none;
  text-align: center;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
}

#gallery p.gallerypl img.galleryhdr {
  margin-left: 150px;
}

#gallery p.parleft img.galleryhdr {
  margin-left: 150px;
}

#gallery p.tdescribe {
  width: 340px;
  margin-left: 340px;
}

#gallery img.pglandscape {
  border: none;
  margin-right: 20px;
}

/******************
/* FOOTER styling *
 ******************/

#footer {
 border-right: solid 5px #663300;
 border-bottom:  solid 5px #663300;
 border-left:  solid 5px #663300;
 font-size: .75em;
 padding-top: 15px;
 background-image: url(../images/td_nograde_bg2.jpg);
 background-repeat: repeat;
 width: 720px;
 height: 110px;/* without banner add */
 /* height: 247px;  expanded to fit banneradd */
 margin-left: auto;
 margin-right: auto;
}

img.banneradd {
  margin-top: 5px;
}

#footerwrapper {
  background-image: url(../images/td_footer_bar.gif);
  background-repeat: no-repeat;
  background-position: top center;
}

#footerwrapper p {
  text-align: center;
  padding-top: 15px;
}

#footer img {
  border: none;
}


/* miscellaneous classes */


h3.tdmotto, h4.tdmotto, h3.pagetitle, .tcolhd, h4.galleryheader {
  font-family: "Arial Black";
  color: #663300;
  text-align: center;
}

h4.galleryheader {
  width: 100%;
}


h4.tdmotto {
  color: #000000;  
}
  
.smalldebug {
  font-size: .5em;
}

.companyname {
 
  font-weight: bold;
}

.pagetitle {
  text-align: center;
  color: #663300;
}

#gallery .tdescribe img, #gallery img.gallerypicl, #gallery img.gallerypicr {
  border: none;
}

.contactinfo {
  text-align: center;
}

.streetaddr, .citystateaddr {
  display: block;
}

.phonenum {
  font-weight: normal;
}

.addressblock  {
  text-align: center;
  margin-bottom: 1em;
}

.contactinfo h4 {
  margin-top: 15px;
  margin-bottom: 15px;
}

h4.phnum {
  display: inline;
  margin-right: 1em;
}

.smallnote {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0 0 2em 0;
  font-family: "Arial";
  color: #663300;
  font-size: .6em;
  font-style: italic;
}

#gallery img.galleryseparator {
  border: none;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 45px;
}
