/* 
   IMPORTANT NOTICE
   This HTML5 and CSS layout is COPYRIGHT 2015-2018 Design215 Inc. 
   
   It MAY NOT be copied or used for any other web site without the express
   written permission of Design215 Inc. 954-630-3695 www.design215.com

   Design215.com CSS/115 stylesheet, v02.14.2015 
   for DavidHaylock.com V2 07.28.2019 
   
   Container layout of each page:

   body
     #pagehead
       #headerbox
         .navbar
         .navlinks
         .navlinks2
     #container
       #pagebody
         .contentbg
           .contentbox
             .C_med, .C_small, etc.
           .contentbox2
             .C_med, .C_small, etc.
     #footer
      
   -----------------------------------------------------------------------------

   
   Page Defaults and CSS Fixes
   ----------------------------------------------------------------------------- 
*/
html {
  line-height: 1.15; 
  -webkit-text-size-adjust: 100%; 
}
html,body {
  text-align:center; margin:0; padding:0; height:100%;
  box-sizing:border-box;
}

::-moz-selection {
  background: #ffffcc; color:#000;
  text-shadow: none;
}
::selection {
  background: #ffffcc; color:#000;
  text-shadow: none;
}

/*
   Fonts
   ----------------------------------------------------------------------------- 
   Define all fonts for the entire site in this section. 

*/
body {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:12px; color:#ccc;
  background:#3B3E44;
}
p,dl,ul,ol,table td,pre.p2,.xtitle,div.navlinks {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#aaa;
}
p {
  font-family:'PT Sans',verdana,helvetica,sans-serif; line-height:120%;
  margin:0 10px 0 0; padding:0; max-width:800px;
}
p.p1 {
  margin:4px; font-size:12px; color:#aaa;
  line-height:130%;
}
p.p2,
p.r2,
p.poem {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#ccc; 
  line-height:140%;
  margin:4px; padding:0;
}
  p.poem {
    margin:4px 4px 4px 80px;
  }
  p.r2 {
    text-align:right;
  }
p.p4,ul.blist li {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#ccc;
  line-height:130%; letter-spacing:1px; 
  margin:2px 2px 2px 4px;
}  
p.p5,
.blogpost p {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#ccc;
  line-height:140%; letter-spacing:1px;
  margin:2px 2px 2px 4px; padding:0;
}

/* sidebar navigation */
p.m1 {
  margin:20px 2px 0 8px; padding:0;
}

/* date and author under each story */
p.t1 {
  position:relative; text-align:center;
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#ddd;
  margin:0; padding:8px 0 4px 0; letter-spacing:3px; line-height:110%;
}
 
h3 {
  position:relative;
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; font-weight:bold; color:#fff;
  margin:4px; padding:0;
}
  h3 a:link,
  h3 a:visited,
  h3 a:hover {
    font-weight:normal;
  }
    
h2 {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:20px; font-weight:bold; 
  color:#dddddd; letter-spacing:2px;
  margin:2px 2px 2px 2px; padding:0;
}
  #menu h2 {
    font-size:30px; color:#e4701e; margin:2px 2px 2px 0;
    font-variant:small-caps;
  }
  #projTitle h2 {
    font-size:32px;
    text-transform:none;
  }
  
h1 {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:24px; 
  color:#ddd; letter-spacing:2px;
  margin:16px 4px 2px 2px; padding:0;
}
  /* titles of stories in text.php */
  h1.t1 {
    position:relative; text-align:center;
    font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:24px; color:#ddd;
    margin:2px 0 0 0; padding:0; letter-spacing:2px;
  }   
  h1 span {
    font-size:16px;
  }
  .center {
    text-align:center;
  }

  
pre,code,.ckBox,.formula {
  font-family:'Courier New',courier,monospace; font-size:12px; color:#009900;
}
.code {
  font-family:'Courier New',courier,monospace; font-size:13px; color:#ccff66;
}
.counter {
  font-size:12px; color:#ccc; 
}
  pre.p2 {
    font-family:verdana,helvetica,sans-serif; font-size:12px; color:#aaaaaa; line-height:150%;
    margin:4px 4px 0 12px; padding:0;
  }
  pre.cite {
    font-size:12px; color:#ffbf11; line-height:normal;
    margin:4px 4px 0 12px; padding:0;
  }


#footer p,.xsmall {
  font-family:arial,sans-serif; font-size:14px; color:#ccc;
  max-width:100%;
}
a.w3 {
  font-family:arial,sans-serif; font-size:14px;
}
div.navlinks {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:16px; color:#ccc;
}
div.navlinks2 {
  font-family:'PT Sans',verdana,helvetica,san-serif; font-size:16px; color:#ccc;
}

span.req,
span.req2 {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:12px; font-weight:bold; color:#ff0000;
}

span.divider {
  display:block; background:#333; color:#ccff66;
  font-family:'Josefin Sans',arial,helvetica,sans-serif; 
  font-size:18px; font-weight:normal;
  padding:10px 4px 8px 8px;
  text-align:left;
}

span.hdate { /* dates under H2 headings (articles, etc) */
  position:relative; display:inline-block;
  font-family:'PT Sans',verdana,helvetica,sans-serif; text-transform:uppercase; font-size:14px; color:#ccff66;
  margin:0 10px 4px 2px; padding:2px;
}
span.active {color:#ccff66;}

span.result {
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:18px; color:#ccff66;
}

.boxBlur,
.boxBlurDisable,
.boxBlur:focus,.boxFocus,
.boxBlurR,
.boxBlurR:focus,.boxFocusR,
.boxError,.boxErrorR,
.boxRequired,.boxRequiredR,
.boxRequired:focus,.boxRequiredR:focus,
.boxClear { 
  font-family:'Courier New',courier,monospace; font-size:14px;
  padding:4px 6px 4px 6px;
}

a.m1,
a.del,
a.btn2,
a.btnfade {
  line-height:20px;
  font-size:16px; font-weight:400;
  vertical-align:middle;
}

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

.xred {color:#ffaa00;}
.xhlight {color:#ffcc00;}
.xgo {color:#008000;} /* confirmation messages */
.xword {font-weight:bold; color:#dddddd;}

.xcourier {font-family:'Courier New',courier; font-size:11px;}

/* 
  "font-family" should not be used below this line. 
  Of course, there may be exceptions. 


   HTML Element Defaults
   ----------------------------------------------------------------------------- 
*/

a {color:#8aaeff; cursor:pointer;}

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

h1 a:hover {text-decoration:none;}

blockquote {
  font-size:14px; color:#aaaaaa; line-height:150%;
  margin:4px 32px 0 32px; padding:0;
}

dd {
  padding:0 0 8px 0;
}

form {
  margin:0; padding:2px 0 0 4px;
}
img {
  margin:0; padding:0; border:0;
}
ol li {
  padding:2px 0 4px 0;
}
p {
  margin:2px 6px 2px 0; padding:0;  /* default is no left margin */
}
pre {
  margin:0; padding:0;
}

/* defaults for tables */  
table {
  margin:2px 6px 2px 4px; padding:0;
}
table td {  /* eliminates the need for valign="top" */
  font-size:14px; line-height:130%;
  vertical-align:top;
  padding:2px 2px 2px 0; margin:0;
}
table td.rt {  /* eliminates the need for align="right" */
  text-align:right;
}
table td.ct {  /* eliminates the need for align="center" */
  text-align:center;
}
.nwrap {
  white-space:nowrap;
}

table.navorder td {
  vertical-align:middle;
}

/* Fix Internet Explorer 11 word wrap */
textarea {
  white-space:pre-wrap;
}

ul {
  list-style:none;
  margin:4px 0 0 4px; padding:0;
}
ul li {
  margin:2px 0 10px 0; padding:1px 0 0 18px; width:98%;
  background:transparent url(images/bullet.png) 0 4px no-repeat;
}
  
iframe {
  border:0; margin:4px;
}
label {
  white-space:nowrap;
}
option {
  padding:2px;
}

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


/* 
   Custom Styles
   ----------------------------------------------------------------------------- 
*/


/* menu links */
a.a1 {
  display:block;
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:18px; letter-spacing:3px;
  margin:4px 0 4px 0; padding:0 0 0 18px; width:130px; line-height:120%;
}
a.a1:link,
a.a1:visited {
  text-decoration:none; font-weight:bold; color:#888888;
  background:transparent; 
}  
a.a1:hover {
  text-decoration:none; font-weight:bold; color:#ffbf11;
  background:transparent url(images/bulletpoe.gif) 1px 6px no-repeat; 
}

/* Selected menu link */
a.a2 {
  display:block;
  font-family:'PT Sans',verdana,helvetica,sans-serif; font-size:18px; letter-spacing:3px;
  margin:4px 0 4px 0; padding:0 0 0 18px; width:130px; line-height:120%;
}
a.a2:link,
a.a2:visited {
  text-decoration:none; font-weight:bold; color:#ffbf11;
  background:transparent url(images/bulletpoe.gif) 1px 6px no-repeat; 
}
a.a2:hover {
  text-decoration:none; font-weight:bold; color:#ffbf11;
  background:transparent url(images/bulletpoe.gif) 1px 6px no-repeat; 
}

/* Mobile Menu button */
a.mobile {
  display:block; line-height:20px; margin:0; padding:0 6px 0 0; 
  width:40px; height:40px; font-size:10px; color:#000;
  background:transparent url(images/mobilemenu.png) 1px 0px no-repeat;
  cursor:pointer;
}
a.mobile:link,
a.mobile:visited {text-decoration:none; font-weight:bold; color:#000;}
a.mobile:hover {text-decoration:none; font-weight:bold; color:#000;}

a.mobile span {visibility:hidden;}


/* footer links */
#footer a:link,
#footer a:visited {text-decoration:none; color:#8aaeff;}
#footer a:hover {text-decoration:underline; color:#8aaeff;}
  
/* W3C validation links */
#footer a.w3:link,
#footer a.w3:visited {text-decoration:none; color:#555;}
#footer a.w3:hover {text-decoration:none; color:#000;}


  /* Style for link "buttons" like "New", etc */
  a.m1 {
    margin:0 8px 0 0; padding:10px 14px 10px 14px; background:#111;
    border-radius:4px;
    cursor:pointer;
  }
  a.m1:link,
  a.m1:visited {text-decoration:none; font-weight:400; color:#fefefe;}
  a.m1:hover   {
    text-decoration:none; font-weight:400; color:#000; background:#eee;
  }

  /* Style for link "buttons" like "Delete", etc */
  a.del {
    margin:0 20px 0 0; padding:10px 24px 10px 24px;
    background:#111 url('images/trash-icon.png') center center no-repeat;
    border-radius:4px;
    cursor:pointer;
  }
  a.del:link,
  a.del:visited {text-decoration:none; font-weight:400; color:#fefefe;}
  a.del:hover   {
    text-decoration:none; font-weight:400; color:#fff; 
    background:#aa0000 url('images/trash-icon.png') center center no-repeat;
  }
  a.del span {display:none;}

  /* Style for link "buttons" like "Save", "Go", etc */
  input.btn2 {
    line-height:20px; vertical-align:middle;
    letter-spacing:1px; color:#fff; font-weight:400;
    margin:0 1px 0 4px; padding:10px 14px 10px 14px; background:#0088ed;
    border-radius:4px; border:0;
    cursor:pointer;
  }

  a.btn2 {
    letter-spacing:1px; color:#fff;
    margin:0 1px -4px 4px; padding:10px 14px 10px 14px; background:#0088ed;
    border-radius:4px;
    cursor:pointer;
  }
  a.btn2:link,
  a.btn2:visited {text-decoration:none; font-weight:400; color:#fdfdfd;}
  a.btn2:hover   {
    text-decoration:none; font-weight:400; color:#fff; background:#00cc00;
  }

  /* Style for button once submitted */
  a.btnfade {
    letter-spacing:1px; color:#444;
    margin:0 1px 0 4px; padding:10px 14px 10px 14px; background:#2c2c2c;
    border-radius:4px;
  }
  a.btnfade:link,
  a.btnfade:visited {text-decoration:none; font-weight:400; color:#444;}
  a.btnfade:hover   {
    text-decoration:none; font-weight:400; color:#444; background:#2c2c2c;
  }

  a.copybtn {
    margin:0 0 0 40px;
  }
    
br.clr {
  clear:both;
}
br.nb { /* use on mobile */
  display:none; 
}
  
/* Separators to clear column floats */
div.xclear {
  position:relative; clear:both; height:1px; line-height:1px; 
  margin:0; padding:0;
}
div.xclearline { /* content under columns */
  position:relative; clear:both; width:90%; line-height:3px;
  margin:0; padding:0;
}

div.postlink {
  position:relative; width:95%;
  padding:12px 10px 12px 10px; margin:4px 0 6px 2px;
  background:rgba(0,0,0,0.3);
  border-radius:4px;
}

    
img.xpic {
  margin:0; padding:0;
}
img.npic {
  width:80%; border:6px solid #fff;
  margin:4px 0 0 15%; padding:0;
}
img.xthumb {
  margin:8px 5px 15px 20px; padding:10px;
  background:#fff; border:solid 1px #fff;
}
img.menu {
  width:300px; border:4px solid #fff;
  margin:10px 0 0 12px; padding:0;
}
img.xleft {  /* left aligned image */
  float:left; margin:2px 10px 2px 0;
}
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.social {
  margin:4px 10px 0 0;
}
img.avatar {
  float:left; margin:2px 10px 20px 4px;
  width:64px; height:64px;
}
img.tinyimg {
  display:inline-block;
  height:45px; margin:0 8px 0 0;
  cursor:pointer;
}
.blogpost img {
  max-width:100%;
}

div.photo_main {
  position:absolute;
  left:304px; top:38px;
}
div.img_border {
  position:absolute;
  left:12px; top:4px;
  z-index:95;
}
  

label.noshow,
h1.noshow,
h2.noshow,
span.tt,
span.noshow {display:none;}


#pagehead h1,#pagehead h2 {
  display:none;
}

ul.alist {
  margin:4px 0 0 2px; padding:0;
}
ul.alist li {
  margin:2px 0 6px 0; padding:1px 0 4px 26px; width:90%;
  background:transparent url(images/bullet-df.png) no-repeat;
}
  
ul.blist {
}
ul.blist li {
  margin:2px 0 10px 0; padding:1px 0 0 28px; width:90%;
  background:transparent url(images/bullet-df.png) 0 2px no-repeat;
}

  
/* Form fields */
.ckBox { /* checkboxes */
  margin:1px; padding:0;
}
  
.boxBlur {
  border:1px solid #555; color:#ccff66; background:#212121;
}
.boxBlurDisable {
  border:1px solid #555; color:#aaa; background:#303030;
}
.boxBlur:focus,.boxFocus {
  border:1px solid #ccff66; color:#fff; background:#000;
}
.boxBlurR {
  border:1px solid #555; color:#ccff66; background:#212121;
  text-align:right;
}
.boxBlurR:focus,.boxFocusR {
  border:1px solid #ccff66; color:#fff; background:#003300;
  text-align:right;
}
  .boxError,.boxErrorR {
    border:1px solid #ff0000; background:#ffcccc; 
  }
  .boxErrorR {
    text-align:right;
  }
  .boxRequired,.boxRequiredR {
    border:1px solid #ff0000; color:#fff; background:#212121; 
  }
  .boxRequiredR {
    text-align:right; 
  }
  .boxRequired:focus,.boxRequiredR:focus {
    border:1px solid #ff0000; color:#fff; background:#000; 
  }
  .boxRrequiredR:focus {
    text-align:right;
  }
  .boxDisable {
    display:none;
  }
  .boxHidden {
    visibility:hidden;
  }
  .boxClear {
    text-align:right;
    border:1px solid #000; color:#fff; background:#212121;
  }
  
  .projDesc,
  .projInfo,
  .profileImg {
    width:95%;
  }


/* hide "spinners" on input type="number" */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance:none;
  margin:0;
}
input[type=number] {
  -moz-appearance:textfield;
} 

/* Form fields generated by makeFormField()  */
div.formfield {
  position:relative; display:inline-block; vertical-align:top;
  text-align:left; min-width:50px;
  margin:0 10px 15px 0; padding:0;
}
div.formfield label,
div.formfield p,
div.formfield p b {
  font-weight:normal; color:#eee;
}
p.charcount {
  position:absolute; width:80px; top:0px; right:4px;
  text-align:right; margin:0; padding:0;
}

.dash2 {
  position:relative; display:block; color:#eee; 
  font-size:14px; font-weight:bold;
  margin:0 0 4px 4px; padding:0 0 2px 0;
  border-bottom:1px dotted #555;
}
.dash3 {  /* paragraph separator */
  position:relative; display:block; line-height:4px;
  margin:0 40px 4px 40px; padding:0;
  border-bottom:1px dotted #555;
}

.xline {
  position:relative; display:block; line-height:4px;
  margin:0 4px 8px 4px; padding:0;
  border-bottom:1px solid #888;
}

span.st2 {
  display:none;
}


/* 
   Containers for this layout
   -----------------------------------------------------------------------------
*/

#pagehead {
  position:relative; width:800px; height:230px;
  text-align:center; margin:0 auto 0 auto; 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:70px; width:420px; height:90px;
    text-align:left; margin:0; padding:0;
  }
  /* DIVs for navigation links */
  div.navlinks {
    position:absolute; bottom:16px; left:10px; width:95%; height:26px;
    background:transparent url(images/35mm-film-pattern.png) repeat-x;
    text-align:right; margin:0; padding:0;
  }
  div.navlinks2 {
    position:absolute; top:6px; right:20px; width:400px; height:210px;
    text-align:right; margin:0; padding:0;
  }
  div.mobilemenu {
    display:block;
    position:absolute; top:20px; left:22px; width:44px; height:44px; 
    margin:0; padding:0; overflow:hidden; display:block;
  }
  
#container {
  position:relative; display:flex; justify-content:center;
  text-align:center; margin:0; padding:0;
}

  /* Page body, full width of container */
  #pagebody {
    position:relative; width:800px;
    text-align:center; margin:0; padding:0;
    background:transparent url(images/bodybg01.gif) center repeat-y;
  }
    /* Full width container CLASS for full width backgrounds */
    div.contentbg {
      position:relative;
      text-align:left; margin:0; padding:0; /* bottom padding needed for flex mode?? */
    }
      /* Inner content box for centered, fixed width content */
      div.contentbox {
        position:relative; max-width:736px;
        text-align:left; margin:0 auto 0 auto; padding:0;
      }
      div.contentbox2 {
        display:flex; flex-flow:row wrap; justify-content:center;
      }

          /* Columns, Total width must be <= 750px */
          div.L_full {width:100%;}
          div.R_full {width:900px;}
          
          div.L_full2 {
            position:relative;
            width:100%; max-width:1000px; 
            margin:0 auto 60px auto; padding:0;
          }
           

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

div.ctitle,
div.ctitle2 {
  position:relative; text-align:center;
  margin:0 4px 0 4px; padding:0 0 20px 0; overflow:hidden;
}
  div.ctitle img {max-width:100%; height:auto;}
  
div.C_inline,
div.C_small,
div.C_small2,
div.C_small3,
div.C_med { /* centered column that wraps @ min-width */
  position:relative; display:inline-block; vertical-align:top;
  text-align:left; max-width:620px; min-width:460px;
  margin:0 4px 0 4px; padding:0; overflow:hidden;
}
div.C_small {
  max-width:500px; min-width:500px;
  min-height:640px;
  overflow:visible; 
}
div.C_inline {
  max-width:440px; min-width:440px;
  margin:0;
}
div.C_small2 {
  max-width:540px; min-width:540px;
  min-height:640px;
  overflow:visible; 
}
div.C_small3 {
  max-width:200px; min-width:200px;
}
div.C_large {
  position:relative; text-align:left;
  width:100%; max-width:1520px; margin:0 6px 2px 6px;
}
div.C_flex {
  position:relative; flex:0 1 470px; align-self:flex-start;
}
div.C_flex2 {
  position:relative; flex:70%; align-self:flex-start;
  max-width:540px; margin:0;
}
div.C_flex3 {
  position:relative; flex:20%; align-self:flex-start;
  max-width:170px; margin:0;
}

 
/* Content Backgrounds */

#sidebar {
  background:transparent url(images/menubg.gif) top left no-repeat;
}

.orange {
  color:#fff;
  background:#e4701e;
}
.orange p {color:#000;}

.green {
  background:#c3cd4e;
}
.green div p {color:#fff;}

.black {
  background:#111;
}
.about1 {
  background:#222;
}
.bg-cover { 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.fullpic img {
  width:100%; margin:0; padding:0; 
  vertical-align:top; /* gets rid of "mystery space" */
}


/* Design215 Guestbook/Comments v01.27.06 */
.xguest {  /* outside table */
  width:640px; margin:0;
}
table.xguest table {
  margin:0;
}
table.xtopics {
  width:95%; 
  margin:0;
}
table.xtopics td {
  width:auto;
  margin:0 10px 0 0;
}
table.xtopics td p {
  margin:0 4px 0 0; padding:0 0 4px 0;
  color:#fff; font-weight:bold;
  border-bottom:1px solid #555;
} 

/* Articles page */
table.topics {
  width:95%; margin:0;
}
  table.topics td {
    text-align:left;
    margin:0 4px 0 0; padding:2px 0 2px 0;
  }
  table.topics td.t1 {
    border-bottom:1px solid #555;
  }


p.gb1 {
  font-family:verdana,helvetica,sans-serif; font-size:11px;  color:#ffdf4d;
  margin:2px 2px 0 12px; padding:0;
}

.gbox {  /* remaining characters field, guestbook */ 
  text-align:right; width:320px;
  border:0; color:#aaaaaa; background:transparent;
}
.cbox {  /* remaining characters field, comments */ 
  width:250px;
  border:0; color:#aaaaaa; background:transparent;
}
.guestErr {
  font-weight:bold; color:#ff8800; 
}
.gline { /* user entries separator */
  position:relative; display:block; line-height:4px;
  margin:0 20px 4px 20px; padding:0;
  border-bottom:1px dashed #888888;
}
.xquote1 {
  font-family:serif; font-size:12px; color:#274627;
  background:transparent url(/images/quote1.gif) no-repeat;
  padding:0 0 0 8px;
}
.xquote2 {
  font-family:serif; font-size:12px; color:#274627;
  background:transparent url(/images/quote2.gif) no-repeat;
  padding:0 0 0 8px; margin:0 0 0 2px;
}
p.gst1 {margin:4px 0 8px 12px; font-size:14px; color:#aaa; line-height:120%;}
p.gst2 {margin:4px 60px 0 12px; font-size:14px; color:#aaa; line-height:130%;}


/* Design215 Drop Menu, v11.22.2012 */
#xtooltip {
  position:absolute; left:-200px; z-index:98;
  margin:0; padding:0 0 7px 0;
}
#xtooltip p.tt1,
#xtooltip p.tt2 {
  color:#ddd; text-align:left; margin:0; padding:6px 8px 8px 8px;
  font-family:verdana,helvetica,sans-serif; font-size:12px;
  background:#2f3238;
  border-radius:4px; border:2px solid #ffbf11;
}

#menu1 {  /* mobile menu */
  position:absolute; visibility:hidden; z-index:99;
  width:320px; top:-999em; /* removes the extra vertical space from the long menu */
  text-align:left; background:#000; color:#fff; padding:4px;
  border-radius:2px; border:1px solid #666;
  box-shadow:8px 8px 24px rgba(0,0,0,0.5);
}
  #menu1 p {
    font-size:18px;
    width:100%; /* necessary for IE7 or menu height bug */
    margin:0; padding:4px 4px 2px 4px; 
  }
  #menu1 p span {
    display:none;
  }
  #menu1 a {
    font-family:'PT Sans',arial,sans-serif; font-size:22px; 
    position:relative; display:block; height:22px;
    font-weight:bold; color:#fff; text-transform:uppercase;
    margin:0 16px 0 6px; padding:14px 3px 14px 12px;
    border-bottom:1px solid #333;
  }
  #menu1 a:link,
  #menu1 a:visited {text-decoration:none; color:#ccc;}
  #menu1 a:hover {text-decoration:none; color:#000; background:#ddd;}

div.dropx {
  position:absolute; visibility:hidden; z-index:99;
  left:-999em; /* removes the extra vertical space from the long menu */
  padding:0; margin:0;
}
  /* Fix 2px whitespace under images, 04.14.2015 */
  div.dropx img,div.dropz img {
    vertical-align:top;
  }

  div.dropx a {
    position:relative; display:block; height:22px;
    font-family:'PT Sans',arial,sans-serif; font-size:18px; 
    font-weight:400; color:#fff;
    margin:0; padding:14px 3px 14px 12px;
    border-bottom:1px solid #333;
    cursor:pointer;
  }
  div.dropx a:link,
  div.dropx a:visited {text-decoration:none; color:#ccc;}
  div.dropx a:hover {text-decoration:none; color:#000; background:#ddd;}
    
  
div.xclearmenu { /* content under columns */
  position:relative; clear:both; width:400px; 
  margin:0; padding:0;
}
    
/* replace or resize images */
img.rp50 { /* small footer logo v12.29.2009 */
  position:relative; margin:-12px 0 0 0; top:12px;
}



@media only screen and (max-width:840px) {
  /* Style adjustments for viewports that meet the condition */
  body {
    background:#20252a;
  }

  h1 {font-size:24px;}
  p.p2 {font-size:18px;}
  
  .boxBlur,
  .boxBlurDisable,
  .boxBlur:focus,.boxFocus,
  .boxBlurR,
  .boxBlurR:focus,.boxFocusR,
  .boxError,.boxErrorR,boxErrorR:focus,
  .boxRequired,.boxRequiredR,
  .boxRequired:focus,.boxRequiredR:focus,
  .boxClear {
    font-size:20px;
    font-family:'PT Sans',arial,helvetica,sans-serif !important;
  }

  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  select:focus,
  textarea {
    font-size:20px;
  }
      
  a.m1,
  a.del,
  a.btn2,
  a.btnfade {
    font-size:16px;
    margin-right:10px;
  }
  textarea,
  .projDesc {
    width:98%;
    font-family:'PT Sans',arial,helvetica,sans-serif !important;
  }
  iframe.youtube {
    max-width:100%; margin:0; padding:0;
  }

  div.formfield {
    max-width:95%;
  }
  
  #pagehead {
    width:100%; height:180px; background:transparent;
  }
    div.navlinks {
      width:98%;
    }
    div.navlinks2 {
      height:130px; top:0px; right:0px; 
    }
    div.navlinks2 img {
      height:100%; max-width:400px;
    }
  div.mobilemenu {
    display:block;
    position:absolute; top:20px; left:16px; width:44px; height:44px; 
    margin:0; padding:0; overflow:hidden; display:block;
  }
  
  #pagebody,
  div.contentbg {
    width:100%; min-width:480px; max-width:780px;
    background:transparent;
  }
  body.about #pagebody {
    margin-top:110px;
  }

  #container {  /* let content expand container down to height of page, not just the window */
    height:auto; 
  }

  div.contentbox {
    margin:0; text-align:left;
  }
  div.contentbox2 {
    /* flex-flow:column nowrap; justify-content:center; */
  }
  div.C_small,
  div.C_flex2,
  div.C_flex3 {
    width:80%;
    min-width:470px; max-width:760px;
  } 
  div.C_small2 {
    max-width:540px; min-width:470px;
    min-height:420px;
  }
  div.C_small3 {
  }
  #sidebar {
    display:none;
  }
  
  #footer {
    width:100%; background:transparent;
  }
    #footer img#ftr {
      display:none;
    }
    
  div.pthumb {
    width:200px;
  }
    div.pthumb img {
      max-width:192px; height:auto; max-height:96px;
    }
  img.zthumb {
    width:138px;
  }
  div.art img {
    background:none; padding:0;
  }
  
  br.nb {display:block;}
}
@media all and (orientation:landscape) and (max-width:640px) {
  #pagehead,#menu1 {
    position:absolute;
  }
}

