/* The Style Sheet for the Web Page for Wyvern Choir */
/* Creative Common Licence Non-Commercial, No-Derivatives (CC BY-NC-ND 4.0) 767px */

root{

  /*--white: #faf0e6;*/
  --white: #ffffff;

}

body {
  background-color: lightgrey; 
  /* width:95%;   
  */
  padding-top: 3.5em;
}

/* --- EVERYTHING BELOW HERE IS COMMON TO SMALL DEVICES --- */

a,p {
  font-family: Arial,Times New Roman;  
}

p.hidden {
	background-color:#ffffff;
	border: 0px;
    border-radius: 0px;
}
  

/* --- FONT SIZES --- */

a {
  font-size: 1.0em;
}

p,p.np {
	font-size: 1em;
}

p.hidden {
	font-size:0em;
}

p.toc {
	font-size: 1.8em;
}

p.intro {
	font-size: 1.5em;
}

p.title {
	font-size: 2em;
}

p.smallnote{
	font-size: 0.9em; /* 40px/16=2.5em */
}

p.footer, td {
	font-size: 0.8em;
}

/* fonts */

/* --- GENERAL --- */

/*line-height:  1.3em; USE 1 for single spacing, 1.8em for double spaced*/s

p,p.np {
	line-height: 1.1em;
}

p.hidden {
	line-height: 0em;
}

a.footer,p.footer,p.list,a.list,p.numlist {
	line-height:1em;
}

p.title, p.intro {
	line-height:1em;
}

p.Quote {
	line-height: 1.2em;
}

p.code, p.example, p.scene {
    line-height:  1.3em;
}

p.pagelink, p.toc, p.link,a.link,p.keywords {
  line-height: 1.5em;
}

p.caption,p.figcaption {
  line-height: 1.5em;
}

p {
  text-align: justify;  /* justification requires two elements */
  text-justify: inter-word;
  }
  

/* for bullet point style list items, always modify */
p.list,a.list,p.numlist {
  display: list-item; /* This has to be "list-item"  */    
  list-style-type: disc; /* (default) square */
  list-style-position: outside; /* (default) or inside ok if single line? */ 
  padding-left: 1cm;
  padding-right:1cm;
}

/* lesser indent on numbered lists cf footnote? */
p.numlist {
  list-style-type: none; /* (default) square */
  padding-left: 0.3cm;
  padding-right:0.3cm;
}

p.footnote {
  padding-left: 0.3cm;
  padding-right:0.3cm;
}


p.keywords {
  margin-left: 10px;
  font-weight: bold; 
  font-weight: 500;
}

/* Max width */

p.code, p.example, p.scene,p.Quote,p.concepts {
    max-width: 85%;
}

p.title,p.related {
    max-width: 90%;
}

p.list,a.list,p.numlist,p.divider {
  max-width: 95%;
}

/* Bold headings above paragraphs 'bold' can be a font weight too*/

p,p.np {
  font-weight: 300;
}

p.intro,p.title,p.header,p.keywords,p.pagelink,p.toc,p.date,p.file,p.author,p.authorref,a.sitemaplink {
  font-weight: 660;
}

/*It's the paragraph wrapping the anchor that sets alignment */

p.header,p.footer,a.footer,p.caption, p.figcaption {
  text-align: center;
}

/* Colours */

h1 {
  color: navy;
}

p,p.np {
  color: black; 
}

p.title {
	color: darkgreen;
}

p.footer,a.footer,p.caption, p.figcaption,p.audio {
  color: red;
}

p.link,a.link {
  color: blue
}

/* This is the colour of each paragraph in a cell, not the cell itself */

p.col1 {
  background: lightgrey;
}
    

/* Margins */

body {
  margin-left :5%;
  margin-right: 5%; 
}

/*
p,p.np {
  margin-left :10%;
  margin-right: 10%; 
}
*/

/* metadata at top of page */
p.caption, p.authorref,p.date,p.file,p.author {
  margin-left: 10px;
}

p.Quote,p.list,p.numlist {
	margin-left:  28px;
 }

/* metadata sections */
p.updated {
  margin-left: 5%;
}

p.figcaption {
    margin-left: 40px;
}

/* description section in page metadata?*/
p.concept {
    right: 10%;
    left: 10%;
    
    /*
      display: grid;
      grid-template-columns: 600px auto;
	  column-gap: 20px;
    */
    margin-bottom: 20px;
    margin-right: 20%;
    padding: 20px;
    border: 1px solid #edf2f5;
    border-radius: 10px;
    background-color:#f1f5f7;
}

/* hidden break */

p.divider {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


p.image {
  font-style: italic;
}




/*
p.revlist {
  font-family: Monaco,Menlo,monospace;
  line-height: 1.5;
  margin-left:  105px;
}
*/

/* code blocks and example inserts */
p.code, p.example, p.scene {
    text-align: left;
    /*
     grid-template-columns: 600px auto;
    column-gap: 20px;
    */
    margin-bottom: 15px;
    padding: 20%;
    border: 1px solid #edf2f5;
    border-radius: 10px;
    background-color:#f1f5f7;
    font-family: Monaco,Menlo,monospace /* option: sans-serif */
}

p.code {
	color:white;
	background-color: black;
}

/* a green background and blue text */
p.Quote {
  background-color: fafcf1; 
  border-radius: 20px;
  border: 1px solid #edf2f5;
  padding: 1em 2em; 
  / *font-style: italic; */
}

/* images */

img.intext,img.small {
  /* style="width:100%;max-width:400px" */
  max-width:30%;
}

img.medium{
  /* style="width:100%;max-width:400px" */
  margin-left:  10px;
  margin-right: auto;
  max-width: 60%;
  border: 1px solid black
}

img.medlge{
  /* style="width:100%;max-width:400px" */
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  border: 1px solid black
}

img.fullwidth,img.large {
  /* style="width:100%;max-width:400px" */
  max-width:95%;
  border: 1px solid black; 
}

/* Tables etc */


 /* This makes the outside perimeter of table grey on screen, invisible on printer
  border-color: #96D4D4;
  border-collapse: separate;
  */

table,th {
  border: 2px solid black;
  border-collapse: collapse; 
  /* This is enough to determine the entire table as collapsed borders*/
  margin:0;
  table-layout: fixed;
  max-width: 95%; 
  /*empty-cells: show;*/

}

table.glossary {
  background-color:  lightgrey;
  align-self: center;
  position: relative;
  left: 20%;
}

td {
  border: 2px solid black;
  text-align: left;  /* text-align: center; */
  color: black; /* green */
  font-weight: normal;
}

tr.glossterm {
  align-self: center;
}


