@import url('normalize.css');

@font-face
{
   font-family: 'century';
   src: url('fonts/CenturyExpandedLTStd.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}
@font-face
{
   font-family: 'century-italic';
   src: url('fonts/CenturyExpandedLTStd-Italic.ttf') format('truetype');
   font-weight: normal;
   font-style: italic;
}

body
{
  background: white;
  color: rgb(196, 20, 196);
  /* font-family: Helvetica, Arial, sans-serif; */
  /* font-family: Palatino Linotype, Book Antiqua3, Palatino, serif; */
  font-family: century, 'Palatino Linotype', 'Book Antiqua3', Palatino, serif;
  font-size: 110%;
}

h1, h2, h3, h4, h5, h6
{
  font-family: sans-serif;
  margin: 20px 0 10px;
  text-align: center;
  color: rgb(131, 0, 0);
}

h1 { font-size: 150% }
h2 { font-size: 140% }
h3 { font-size: 130% }
h4 { font-size: 120%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }

  


/*
 * Overall page layout
 *   +------------wholepage-----------------------+
 *   | +--------------navheader-----------------+ |
 *   | |      +----------navmenu--------+       | |
 *   | |      |                         |       | |
 *   | |      +-------------------------+       | |
 *   | +----------------------------------------+ |
 *   | +---------------content------------------+ |
 *   | |                                        | |
 *   | +----------------------------------------+ |
 *   +--------------------------------------------+
 */

/* 
 * Set size limits and background for the whole page, both navigation
 * and content. Centred as a block if page is wide enough
 */
div.wholepage
{
  background: #fff8e0;
  color: black;
  width: 100%;
  margin: auto;
}

/* contains nav information, full width, colour background or images */
div.navheader
{
  background: #fd7;
}

div.navheader h1
{
  font-size: 150%;
}

img.banner 
{ 
  display:block;
  width: 100%;
;}

/* contains nav buttons or icon, set positioning */
div.navmenu
{
  width: max-content;
  margin: auto;
  padding: 5px;
  text-align: center;
}

/* under nav header, all page content */
div.content
{
  max-width: 1200px;
  margin: auto;
  padding: 5px;
  color: black;
}

@media screen and ( min-width: 500px )
{

}

/* buttons for wide screen menu */
a.navlink
{
  font-family: Helvetica, Arial, sans-serif;
  display: inline-block;
  vertical-align: top;
  font-size: 100%;
  text-decoration: none;
  margin: 5px 10px;
  width: max-content;
  padding: 2px 0;
  background: none;
  color: black;
  text-align: center;
}

a.navlink:hover
{
  background: #fa0;
  color: black;
}

a.selflink, a.selflink:hover
{
  color: black;
  border-bottom: 1px solid black;
}

/* hide small menu and icon for wide screen */
div.smallnavmenu { display: none }
div.menuicon { display: none }
div.menuiconcontainer { display: none }

/* Nav menu changes for small screen */

@media screen and ( max-width: 500px )
{
  div.navmenu { display: none }
  /* contains site name/logo and hamburger icon */
  div.smallnavmenu 
  { 
    display: block; 
    text-align: center;
    padding: 10px;
    min-height: 30px;
  }
  /* styles for dropdown menu */
  a.navlink 
  { 
    display: block;
    margin: 10px auto;
    width: 100%;
  }

  /* menu icon ("hamburger") and 'menu' text if shown */
  div.menuiconcontainer, div.menuiconcontainer a
  { 
    display: block; 
    float: right;
    color: black;
    text-decoration: none;
    font-size: 90%;
  }


  div.menuicon
  {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: 20px;
  }

  div.menuicon div.menuline
  {
    display: block;
    vertical-align: middle;
    margin: 3px;
    height: 3px;
    width: 18px;
    background: black;
  }
}

/* captioned images */
div.caption 
{ 
  /* font-family: 'Times New Roman', serif; */
  font-style: italic; 
  text-align: center;
  color: black;
  background: white;
}

/*********** message and error boxes ***********/
div.errorbox, div.msgbox
{
  width: max-content;
  max-width: 90%;
  padding: 10px;
  background: white;
}

div.errorbox
{
  border: 2px solid #900;
  color: #900;
}
div.msgbox
{
  border: 2px solid #090;
  color: #090;
}

/**** text boxes ****/


div.panel
{
  background: white;
  max-width: 600px;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
}

div.panel.centred
{
  margin: 10px auto;
}

div.contain { contain: content }

/* centre and limit width for text readbility; no border, colouring or other 
   decorations */
div.text
{
  width: 800px;
  margin: auto;
  padding: 10px;
  max-width: 95%;
  max-width: calc(100% - 20px);
  line-height: 150%;
}

div#gravestone
{
  float: right;
  width: calc(100px + 20%);
  background: white;
  margin-left: 10px;
}

div#gravestone img
{
  display: block;
  width: 100%;
  max-width: 100%;
}

div#firstpage
{
  background: white;
  margin-bottom: 10px;
}

div#firstpage img
{
  display: block;
  width: 100%;
}

div.thumb
{
  display: inline-block;
  vertical-align: top;
  width: 150px;
  min-height: 150px;
  background: white;
  margin: 10px;
  font-style: italic;
  font-size: 90%;
}

div.pic
{
  background: white;
  text-align: center;
}

div.pic img
{
  display: block;
  width: 100%;
}

@media screen and (max-width: 500px)
{
  div.text
  {
    font-size: 90%;
  }

  div#gravestone 
  { 
    width: 100%;
    margin-bottom: 10px;
  }
}



/*********** music.php *****************/

div.showabc
{
  margin: 10px  0;
  width: 800px;
  max-width: 95%;
  background: white;
}

div.showabc iframe
{
  width: 100%;
  height: 1000px;
  border: none;
}


table.file_list tr td, table.file_list tr th
{
  border: #dbb solid 1px;
  padding: 2px 5px;
  background: #ffe;
}

table.file_list tr td.pagenum
{
  text-align: right;
  padding-right: 10px;
}

table.file_list tr td.filename
{
  font-family: Lucida Console, Monaco, monospace;
  font-size: 90%;
}

img.svgimg
{
  width: 100%;
  max-width: 1000px;
  background: white;
}



@media screen and (max-width: 500px)
{
  table.file_list tr th.filename,
  table.file_list tr td.filename
  {
    display: none;
  }
}
