/* 
   Design215.com CSS/110 stylesheet, v01.20.06 
   for davidhaylock.com site, v03.18.07 
   
   Container layout of each page:

   body
     #menu1
     #menu2
     #menu3
     #container
       #pagehead
         .navbar
         .navlinks
         .navlinks2
       #pagebody
         #titlebar
         #contentbg
           #contentbox
             #contenthead
             .L_xxlarge (or other column classes)
             .minheight
             .R_xxsmall (or other column classes)
             .xclearline
           #endcap
         #footer
      
   -----------------------------------------------------------------------------
   
   Fonts
   ----------------------------------------------------------------------------- 
   Define all fonts for the entire site in this section. 
*/

body,.counter,div.dropx a {
  font-family:verdana,helvetica,sans-serif; font-size:10px; color:#ffffff;
}
p,dl,ul,ol,table td,pre.p2,.xword,.xtitle,#footer a,blockquote {
  font-family:verdana,helvetica,sans-serif; font-size:11px; color:#ffffff;
}
h2,h3,div.obox h1,#footer a.w3 {
  font-family:arial,helvetica,sans-serif; font-size:16px; font-weight:bold; color:#ffffff;
}
h1 {
  font-family:arial,helvetica,sans-serif; font-size:24px; font-weight:bold; color:#ffffff;
}
pre,code,.ckBox,.boxBlur,.boxFocus,.formula {
  font-family:courier new,courier,monospace; font-size:12px; color:#ffffff;
}
#footer p,#footer p.xnav {
  font-family:arial,helvetica,sans-serif; font-size:10px; color:#aaaaaa;
}
.xsmall {
  font-family:arial,helvetica,sans-serif; font-size:11px; color:#ffffff;
}
.fbutton,a.a1,span.a1,span.a2,span.end1 {
  font-family:arial,helvetica,sans-serif; font-size:11px; font-weight:bold;
}
a.a2 {
  font-family:arial,helvetica,sans-serif; font-size:14px; font-weight:bold;
}
.xgo2 {font-family:verdana,helvetica,sans-serif; font-size:12px;}

dl.alist dt {
  font-family:verdana,helvetica,sans-serif; font-size:12px; font-weight:bold; color:#ffffff;
}


/* 
   Type Selectors
   ----------------------------------------------------------------------------- 
   Define the defaults for HTML elements in this section. 
*/

body {
  text-align:center; margin:0; padding:0;
  color:#ffffff; background:#3B3E44;
}

a:link,
a:visited {text-decoration:none; font-weight:bold; color:#ffbf11;}
a:hover {text-decoration:underline; font-weight:bold; color:#ff9900;}

acronym {
  font-weight:bold; color:#888888;
  border-bottom:dashed 1px #000000; cursor:help; 
}
blockquote {
  line-height:120%;
  margin:4px 12px 0 24px; padding:0;
}  
form {
  margin:0; padding:2px 0 0 12px;
}
h1 {
  margin:4px 4px 0 12px; padding:0; letter-spacing:1px;
}
h2 {
  margin:2px 2px 6px 12px; padding:0; letter-spacing:1px;
}
h3 {
  position:relative; text-align:right;
  margin:-12px 4px 0 0; padding:0;
}
img {
  margin:0; padding:0; border:0;
}
p {
  line-height:120%;
  margin:2px 6px 2px 0; padding:0;  /* default is no left margin */
}
pre {
  margin:0; padding:0;
}
table {
  margin:2px 6px 2px 12px; padding:0;
}
table td {
  line-height:130%;
}

/* this tag is used to hide text that should be visible when no stylesheet is available */
tt {display:none;} 

ul {
  list-style:none;
}

form table { /* no left margin for tables inside forms */
  margin:2px 6px 2px 0; padding:0;
}


/* 
   Class and ID Selectors
   ----------------------------------------------------------------------------- 
   Define styles for all elements except the layout containers 
*/

/* navbar menu links */
a.a2:link,
a.a2:visited {text-decoration:none; font-weight:bold; color:#ffbf11;}
a.a2:hover {text-decoration:underline; font-weight:bold; color:#ffffff;}

a.a3 {
  padding:0 0 0 12px;
  background:transparent url(images/bt1.gif) 0 0 no-repeat;
}

/* Style for form "buttons" like "New", "Save", "Delete", etc */
a.btn {
  line-height:20px; font-weight:bold;
  margin:0 1px 0 0; padding:2px 4px 2px 4px; background:#ffffff;
  border:1px solid #000000;
}
a.btn:link,
a.btn:visited {text-decoration:none; font-weight:bold; color:#0000aa;}
a.btn:hover   {
  text-decoration:none; font-weight:bold; color:#ffffff; background:#000099;
  border:1px solid #000000;
}

/* default stylesheet link icons */
a.style_normal,a.style_mobile,a.style_print,a.style_none {
  margin:0; padding:2px 0 2px 18px; line-height:16px;
  background:transparent url(images/style_normal.gif) no-repeat;
}
a.style_mobile {
  background:transparent url(images/style_mobile.gif) no-repeat;
}
a.style_print {
  background:transparent url(images/style_print.gif) no-repeat;
}
.navlinks2 a.style_print:hover {text-decoration:none;}

a.style_none {
  background:transparent url(images/style_none.gif) no-repeat;
}

/* footer links */
#footer a:link,
#footer a:visited {text-decoration:none; color:#ffbf11;}
#footer a:hover {text-decoration:underline; color:#ffbf11;}
  
/* W3C validation links */
#footer a.w3:link,
#footer a.w3:visited {text-decoration:none; color:#aaaaaa;}
#footer a.w3:hover {text-decoration:none; color:#000000;}

br.clr {
  clear:both;
}
  
code.bx {  /* outlined code like an input box */
  border:1px solid #999999; background:#eeeeee;
  padding:1px;
}
code.t2 {  /* indented block of example code */
  display:block;
  margin:4px 0 2px 8px; padding:0;
}     

/* Separators to clear column floats */
div.xclear {
  clear:right; height:1px; line-height:1px; 
  margin:0; padding:0;
}
div.xclearline { /* content under columns */
  position:relative; clear:both; width:620px; 
  margin:0; padding:0;
}


/* Sets the minimum height of the page content, or can be a column divider */
div.minheight {
  position:relative; float:right; text-align:right;
  width:5px; height:500px;
}

div.xline { /* accent line */
  height:1px; line-height:1px;
  margin:3px; padding:0 0 3px 0;
  border-top:solid 1px #aaaaaa;
}
div.xbox1 { /* forms boxes */
  width:90%; 
  padding:4px 8px 4px 8px; 
  border:solid 1px #aaaaaa; background:#ffffff;
}
div.xbox2 { /* tags box */
  position:relative;
  margin:0 6px 0 12px; padding:2px 2px 4px 2px; 
  border:solid 1px #666666; background:#C8DEFF;
}
  div.xbox2 table,div.xbox3 table {
    margin:2px 2px 2px 0; padding:0;
  }
  div.xbox2 table td,div.xbox2 p.xblock {
    color:#9999bb;
  }

div.xbox3 { /* friends box */
  position:relative;
  margin:0 6px 0 12px; padding:2px 2px 4px 2px; 
  border:solid 1px #006600; background:#BCEA9B;
}
  div.xbox3 p {
    margin:4px 2px 4px 2px;
  }    

div.xbox4 { /* popular/suggested tags box */
  position:relative;
  margin:0 6px 0 12px; padding:2px 2px 4px 2px; 
  border:solid 1px #ffbf11; background:#ffffcc;
}
  div.xbox4 p.xblock {
    color:#999988;
  }

div.gadvert { /* Google ads */
  margin:0 0 0 12px;
}
div.gsearch { /* Google search box */
  position:absolute; width:500px; left:250px; top:20px;
}
  
dl.alist {
  margin:0; padding:4px 10px 0 0;
}
dl.alist dt {
  line-height:150%;
  margin:0; padding:0 0 0 30px;
  background:transparent url(images/bt5.gif) 12px 2px no-repeat;
}
dl.alist dd {
  line-height:120%;
  margin:0; padding:0 0 20px 36px;
}
dl.t2 {  /* lists used inside table td's */
  margin:0; padding:0;
}
dl.t2 dt {margin:0; padding:0;}
dl.t2 dd {margin:0; padding:4px 0 2px 8px;}
  
  
h1.m1 {
  margin:2px 2px 0 12px;
}
h2.f1 {
  margin:2px 2px 2px 2px;
}
h2.c1 {
  text-align:center;
  margin:2px 2px 2px 2px;
}

img.xpic {
  margin:1px 3px 3px 1px; padding:0;
  border:solid 1px #666666;
}
img.xthumb {
  margin:2px; padding:0;
  border:solid 1px #cccccc;
}
img.xleft {  /* left aligned image */
  float:left; margin:2px 10px 2px 0;
  border:solid 1px #666666;
}
img.hleft {  /* left aligned image in header */
  float:left; margin:0;
}
img.tleft { /* website thumbnails */
  float:left; margin:2px 10px 2px 0;
  border:solid 1px #444444;
}
img.xright {  /* right aligned image */
  float:right; margin:2px 0 2px 10px;
}
img.dleft {  /* left aligned image for use with ul.dlist */
  float:left; margin:2px 10px 2px 12px;
  border:1px solid #666666;
}
img.banner {
  margin:1px 4px 4px 1px; padding:0;
}
img.favico {
  margin:0 0 -2px 0; padding:0;
}

img.noshow {visibility:hidden;}

label.noshow,
span.noshow {display:none;}

p.p1 { /* normal line height for narrow columns */
  margin:2px 6px 2px 12px; padding:0;
}
p.p2 { 
  line-height:130%;
  margin:4px 6px 0 12px; padding:0;
}
p.p3 { /* normal right margin */
  line-height:150%;
  margin:4px 10px 0 12px; padding:0;
}
p.n1 { /* justified column like a newspaper */
  font-size:10px;
  margin:4px 2px 0 12px; padding:0; text-align:justify;
}
p.n2 { /* right column with vertical dashed line */
  font-size:10px;
  margin:0; padding:4px 2px 0 12px; border-left:1px dashed #aaaaaa;
}
p.c1 { 
  text-align:center;
  margin:2px 6px 2px 12px; padding:0;
}
p.r1 { /* used for the last updated date on links.php */
  text-align:right;
  line-height:normal;
  margin:-16px 4px 4px 0; padding:0;
}
p.r2 {
  text-align:right;
  line-height:150%;
  margin:4px 4px 4px 12px; padding:0;
}
p.xblock {
  margin:0; padding:2px 4px 2px 4px;
}
#pagehead p {
  text-align:left; padding:8px 0 0 10px; /* padding for folder icon */
}
#footer p {
  position:relative; width:720px;
  text-align:center; margin:0 auto 0 auto; padding:0;
}
#footer p.xnav {
  position:relative; width:720px;
  text-align:center; margin:0 auto 0 auto; padding:12px 0 0 0;
  color:#666666;
}
  
pre.p2 {
  line-height:150%;
  margin:4px 4px 0 12px; padding:0;
}

span.xl {font-weight:bold; color:#0047EA;}  

table.t1 { /* no left margin */
  margin:2px 6px 2px 0; padding:0;
}
table.t2 {
  width:94%;
}
table.t3 {  /* resume part 1 */
  width:600px;
}
table.t4 {  /* resume part 2 */
  width:94%;
}
  table.t4 td {
    padding:2px 4px 12px 0;
    border-top:1px solid #444444;
  }
  table.t4 td img {
    padding:4px 0 0 0;
  }
  table.t4 td h2 {
    margin-left:0;
  }
table.tt {
  margin:0 4px 0 0; padding:0; border:0;
  width:98%;
}
  table.tt h2 {
    margin:0 0 0 12px; padding:0;
  }
table.gsearch { /* Google Search box */
  width:480px;
  border:0; margin:0; padding:0;
}
table.gsearch table {
  margin:0; padding:0;
}
table.xtags {
  width:98%;
}
table.xtags td {
  padding:0 10px 2px 4px;
}
  table.xtags td.rt {
    padding:0 0 2px 4px;
  }
  
ul.alist {
  margin:4px 0 0 12px; padding:0;
}
ul.alist li {
  margin:2px 0 6px 0; padding:1px 0 0 18px; width:90%;
  background:transparent url(images/bt5.gif) no-repeat;
}
  
ul.blist {
  margin:4px 0 0 12px; padding:0;
}
ul.blist li {
  margin:2px 0 6px 0; padding:1px 0 0 18px; width:98%;
  background:transparent url(images/bt5.gif) no-repeat;
}
  
/* left aligned image with bullet list on the right */
ul.dlist {
  margin:4px 0 0 0; padding:0;
}
ul.dlist li {
  margin:2px 0 2px 0; padding:1px 0 0 12px; width:250px;
  background:transparent url(images/bullet04.gif) 0 2px no-repeat;
}
#pagehead ul {
  display:none;
}

/* Form fields */
.ckBox { /* checkboxes */
  margin:1px; padding:0;
}
.boxBlur {
  border:1px solid #aaaaaa; color:#000000; background:#eeeeee;
  margin:0 0 2px 0; padding:1px;
}
.boxFocus {
  border:1px solid #aaaaaa; color:#000000; background:#ffffcc;
  margin:0 0 2px 0; padding:1px;
}
.fbutton {
  border:1px solid #666666; color:#0047EA; background:#eeeeee;
  margin:0; padding:0;
}
  
/* Misc Classes */

.border1 {  /* used for images instead of border="1" */
  border:1px solid #666666;
}

.counter {color:#aaaaaa;}

.dash2 {
  position:relative; display:block; color:#000099;
  margin:0 10px 4px 12px; padding:0 0 2px 0;
  border-bottom:1px dashed #888888;
}
.hdate { /* dates under H2 headings (articles, etc) */
  position:relative; display:block; color:#000099;
  margin:0 10px 4px 12px; padding:0 0 2px 0;
}

.norm {color:#555555; font-weight:normal;}

.sm {position:relative; top:-4px; font-size:9px; font-weight:normal;} /* service mark (sm) */
.super {position:relative; top:-4px; font-size:10px;} /* superscript */

.xbig {  
  font-size:18px; color:#000099;
}
.xdash {border:1px dashed #000000;} 

.xline {
  position:relative; display:block; line-height:4px;
  margin:0 2px 8px 12px; padding:0;
  border-bottom:1px solid #888888;
}
.xred {color:#ff0000;} /* form errors */
.xword {font-weight:bold; color:#dddddd;}

.xgo {color:#429a00;} /* confirmation messages */
.xgo2 {  /* accent text */
  color:#429a00; font-weight:bold;
}

.nbox {  /* remaining characters field, add.php */ 
  text-align:right; width:250px;
  border:0; color:#000000; background:transparent;
}

/* 
   Containers for this layout
   -----------------------------------------------------------------------------
   For this site, #container needs a fixed width so all of the backgrounds and other
   divs inside it line up. Otherwise there are some 1px rounding issues depending on the 
   size of the browser window.
*/

#container {
  position:relative; width:796px;
  text-align:center; margin:0 auto 0 auto; padding:4px 0 0 0;
}
  /* Page Header, full width of container */
  #pagehead {
    position:relative; height:230px;
    text-align:left; margin:0; padding:0;
    background:transparent url(images/topbg.gif) top center no-repeat;
  }
    #pagehead div.navbar {  /* width and height necessary for image replacement */
      position:absolute; top:6px; left:9px; width:778px; height:212px;
      text-align:left; margin:0; padding:0;
    }
  /* DIVs for navigation links */
  div.navlinks {
    display:none;
  }
  div.navlinks2 {
    position:absolute; top:100px; left:10px; width:120px; height:100px;
    text-align:left; margin:0; padding:0;
  }
  div.navlinks3 {
    position:absolute; top:100px; left:140px; width:120px; height:100px;
    text-align:left; margin:0; padding:0;
  }
    div.navlinks2 p, div.navlinks3 p {
      line-height:150%; margin:0; padding:0;
    }

  /* Page body, full width of container */
  #pagebody {
    position:relative;
    text-align:left; margin:0; padding:0;
    background:transparent url(images/bodybg01.gif) center repeat-y;
  }
    /* Titlebar, content above content box */
    #titlebar {
      position:relative;
      text-align:left; margin:0 13px 0 5px; line-height:1px; /* removes 2px space under leaf.jpg */
      background:#cccccc;
    }
    
    /* Outer content box, defines outer width of content (use width:??px ), NO MARGINS */
    #contentbg {
      position:relative; width:783px;
      text-align:left; margin:0; padding:0;
    }
      /* Inner content box for MARGINS and a second background (do NOT define a width) */
      #contentbox {
        position:relative;
        color:#555555; line-height:normal;
        text-align:left; margin:0 0 0 5px; padding:0;
      }
        /* Content above columns */
        #contenthead {
          position:relative; margin:0; padding:0;
        }
          /* Columns, Total width must be <= 760px */
          
          /* LEFT columns */
          div.L_xxsmall,
          div.L_xsmall,
          div.L_small,
          div.L_large,
          div.L_xlarge,
          div.L_xxlarge,
          div.L_full {
            position:relative; float:left; margin:0; padding:0;
          }
          
          /* RIGHT columns */
          div.R_xxsmall,
          div.R_xsmall,
          div.R_small,
          div.R_large,
          div.R_xlarge,
          div.R_xxlarge {
            position:relative; float:right; margin:0; padding:0;
          }
          
          /* Column width combinations:  xxs+xxl, xs+xl, xs+xs+xs, s+l, full */
          div.L_xxsmall,div.R_xxsmall {width:170px;}
          div.L_xsmall {width:220px;}
          div.R_xsmall {width:250px;}
          div.L_small,div.R_small {width:300px;}
          div.L_large,div.R_large {width:370px;}
          div.L_xlarge {width:500px;}
          div.R_xlarge {width:530px;}
          div.L_xxlarge,div.R_xxlarge {width:580px;}
          div.L_full {width:750px;}
          
          /* exceptions */
          
          
      /* Bottom of content box, no bottom margin */
      #endcap {
        position:relative; width:720px; height:20px;
        clear:both; margin:0 0 0 12px;
      }

    /* Footer, extends to bottom edge of window */
    #footer {
      position:relative;
      margin:0; padding:0; text-align:center; 
      background:#3B3E44 url(images/footerbg.gif) top center no-repeat;
    }

    
/* 
   Page specific styles
   -----------------------------------------------------------------------------
   Define styles and style groups that are only used on certain pages
*/

/* links.php */
div.linkgroup {
  display:none;
}
    
/* table on feedback form */
table.t1 {width:450px;}
table.t1 td {padding:0 4px 2px 0;}

form h2 {margin:0 0 4px 0;}

/* user homepage, javascript links */
div#zlinks {
  position:relative;
}

/* user homepage, html links */
div#xurls {
  position:relative;
  display:none;
}

/* Design215 Drop Menu, v02.04.06 */
#xtooltip {text-align:left;}
#xtooltip table {margin:0; padding:0;}
td.tt1 {color:#ffffff; background:#132A47; text-align:left;}
td.tt2 {color:#000000; background:#cccccc; text-align:left;}
td.tt3 {font-weight:bold; color:#ffffff; cursor:pointer;}
.ttbg1 {background:#7FCFFF;}
.ttbg2 {background:#7FCFFF;}
.ttbg3 {background:#7FCFFF;}

/* replace or resize images */

.rp50 { /* small footer logo */
  position:absolute;
  width:50px; height:25px;
  background:transparent url(images/design215_50dhy.gif) no-repeat;
}
.rp50 b {display:none;}

