/* pencildave_main.css */

/* default rules for the whole document */

html,
body {
    height:100%;
    font-size: 12pt;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: black;
    background-color: white;
    line-height: 1.2em;
   }

/* paragraphs */


p {
  margin-bottom: 0 
  }

p + p {
  text-indent: 2em;
  margin-top: 20px; 
  }

p.firstParagraph
  {
  text-indent: 0;
  margin-top: 0; 
  }
   
/* not currently used */
  .centeredImage
    {
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
    padding:0px;
    }

/* header navigation - not used in new version of default.html */
#headernav {
  background-color:#000000;
  line-height: 45px;
  text-align: center;
  font-size: 24pt;
  font-weight: bold;
  font-style: normal;
  font-variant: small-caps;
  color: white;
  width: 100%;
  padding: 0;
  margin-left:0;
  margin-right:auto;
}

/* for header navigation - not used in new version of default.html */
#linkspace  {
  word-spacing: 30px;
}

/* headings */
h1 {
    font-size: 200%;
    font-weight: bold;
    font-style: normal;
    font-variant: small-caps;
    text-align: center;
    padding: 0;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
   }
h2 {
    font-size: 150%;
    font-weight: bold;
    font-style: normal;
    padding: 0;
    margin-top: 1.5em;
    margin-bottom: 1.1em;
   }
h3 {
    font-size: 130%;
    font-weight: bold;
    font-style: normal;
    padding: 0;
    margin-top: 0em;
    margin-bottom: 1.1em;
   }
h4 {
    font-size: 110%;
    font-weight: bold;
    font-style: normal;
    padding: 0;
    margin-top: 1.1em;
    margin-bottom: 1.1em;
   }
h5 {
    font-size: 100%;
    font-weight: bold;
    font-style: italic;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
   }
h6 {
    font-size: 100%;
    font-weight: normal;
    font-style: italic;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
   }

/* divisions */
div {
    padding: 0;
    margin-top: 0em;
    margin-bottom: 0em;
   }

/* lists */
ul, ol {
    padding: 0 0 0 0;
    margin-top: 1em;
    margin-bottom: 1em;
   }
ul ul, ol ol, ul ol, ol ul {
    margin-top: 1em;
    margin-bottom: 1em;
   }

ul {
  list-style-type: none;
  width: 380px;
   }

li img {
  float: left;
  margin: 0 15px 0 0;
   }

li p {
  padding: 0px;
  margin-bottom: 2em;
   }

li {
  padding: 0px;
  overflow: auto;
   }
 
li:hover {
  background: #eee;
  cursor: pointer;
   }

dl {
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
   }
dl dl {
    margin-top: 0em;
    margin-bottom: 0em;
   }
dt {
    padding: 0;
    font-weight: bold;
    margin-top: .3em;
    margin-bottom: .3em;
   }
dd {
    padding: 0;
    margin-top: .3em;
    margin-left: 3em;
    margin-bottom: .3em;
   }
dl p {
    margin-top: .3em;
    margin-bottom: .3em;
   }

/* inline */
strong {
    font-weight: bold;
   }
em {
    font-style: italic;
   }
code {
    font-family: Courier New, Courier, monospace;
   }
ins {
    background-color: yellow;
    text-decoration: underline;
   }
del {
    text-decoration: line-through;
   }

/* anchors */
a[href] {
    color: blue;
    text-decoration: underline;
   }

/* columns */

#tr_content {
  float: right ;
  width: 80% ;
}
#tr_navbar {
  float: right;
  width: 20%;
}

#pagecontainer {
  min-height:100%;
  position:relative;
}

/* header, footer */
#header {
   background:#ff0;
   padding:10px;
}
#body {
   padding:10px;
   padding-bottom:60px;   /* Height of the footer */
}
#footer {
   position:absolute;
   bottom:0;
   width:100%;
   height:60px;   /* Height of the footer */
   background:#6cf;
}
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* for device width up to 600 */

#container {
  width: 100%;
  margin-left: 0; 
  margin-right: auto; 
}

/* for device width up to 600 */
#leftbox {
     font-style: italic;	 
     font-weight: bold;
     width: 100%;
     margin-right:  auto;
}
/* 
     font-weight: bold;
     margin-right:  20px; */
/* for device width up to 600 */	 
#centercontent { 
     text-align: left;
     width: 100%;
     margin-left: 0;      
     margin-right: auto;
}
/* for device width up to 600 */
  #rightcontent {
  margin-left:  0px;
}

/* for device width up to 600 */
.logo3 #headerimage3 { 
    display: block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(http://pencildave.com/images/get_the_lead_out_7_crop1_600_pd5.jpg); 
}
/* for device width up to 600 */
.logo3 #headerimage3 .inner3 {
    display: block;
    height: 0;
    padding-top: 19%; /* = height 114 / width 600 * 100 */
}

/* for device width up to 600 */
.sheppard_book #cover1 { 
    display: block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(http://pencildave.com/images/bob_sheppard_book_cover_200.jpg);
}
/* for device width up to 600 */
.sheppard_book #cover1 .inner1 {
    display: block;
    height: 0;
    padding-top: 160%; /* = height 320 / width 200 * 100 */
}

    /* for device width up to 600 */
  .alan_book #cover2 { 
    display: block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(http://pencildave.com/images/chixoy_dam_quetzal_blood1_200.jpg);
}
/* for device width up to 600 */
  .alan_book #cover2 .inner2 {
    display: block;
    height: 0;
    padding-top: 145%; /* = height 290 / width 200 * 100 */
}

/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* for 600px and over */
@media only screen and (min-width: 600px)
{

#container {
  width: 100%;
  margin-left: 1em; 
  margin-right: 2em; 
}

#leftbox {
float: left;
font-style: italic;	 
font-weight: bold;
width: 400px;
margin-right:  20px;
}

#centercontent {
  text-align: left;
  width: 100%;
  margin-right: 2em; 
}
/*   margin-left: auto;   */

#rightcontent {
    text-align: left;
    width: 100%;
    margin-left:  0px;
    margin-right: 2em; 
}

  /* for header navigation - not used in new version of default */
    #linkspace { 
    word-spacing: 60px; 
  }
 
  /* for device 600 and over */
  .logo3 #headerimage3 {
      display: block;
      width: 100%;
      font-size: 0;
      line-height: 0;
      vertical-align: middle;
      background-size: 100%;
      background-position: 50% 50%;
      background-repeat: no-repeat;
      background-image: url(http://pencildave.com/images/get_the_lead_out_7_crop1_1260_pd5.jpg); 
  }

    /* for device 600 and over */
  .logo3 #headerimage3 .inner3 {
      display: block;
      height: 0;
      padding-top: 19.05%; /* = height 240 / width 1260 * 100 */
  }
  
    /* for device 600 and over */
  .sheppard_book #cover1 { 
    display: block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(http://pencildave.com/images/bob_sheppard_book_cover_400.jpg);
}
    /* for device 600 and over */
  .sheppard_book #cover1 .inner1 {
    display: block;
    height: 0;
    padding-top: 160%; /* = height 640 / width 400 * 100 */
  }
  
    /* for device 600 and over */
  .alan_book #cover2 { 
    display: block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url(http://pencildave.com/images/chixoy_dam_quetzal_blood1_400.jpg);
}
    /* for device 600 and over */
  .alan_book #cover2 .inner2 {
    display: block;
    height: 0;
    padding-top: 145%; /* = height 580 / width 400 * 100 */
}

}
/* end @media only screen and (min-width: 600px) */

/* end */
