/* General Website Style rules */
body {
  font-family: Cochin,Times, "Times New Roman", Georgia, serif;
  background: rgb(169, 169, 169);
  /*   background-image: url(../images/bkgrnd2.jpg); */
  background-image: url(../images/background/bkgrnd2.jpg);
  background-repeat: repeat-y;
  /* The following causes the background image to be horizontally centred in the window */
  background-position: center;
  width: 700px;
  /* margin-left: 50px; */
  /* The following causes the body content to be horizontally centred in the window */
  margin-left:auto;
  margin-right:auto;
  font-size: 120%; /* was 120% */
}


h1 {
  font-weight: normal;
  color: rgb(85, 80, 80);
  font-size: 2em;   /* previously 2em */
  text-align: center;
  }

h2 {
  font-weight: normal;
  color: rgb(85, 80, 80);
  font-size: 2em;
  text-align: left;
}

h3 {
  color: rgb(85, 80, 80);
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
}

h4 {
  color: rgb(85, 80, 80);
  font-size: 1.25em;
  font-weight: bold;
  text-align: left;
}

h5 { /*Caption Text*/
  color: rgb(85, 80, 80);
  font-size: 1.125em;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: center;
}

h6 { 
  color: black;
  font-size: 1em;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

p {
  color: black;
  line-height: 1.4;   /* previously 1.6 */
  margin-top: 3px;
  margin-bottom: 10px; /* previously 8px */
  text-align: justify;
}

p.red {
color: #c9211e;
}

p.center {
  text-align: center
}

i { /*  Italics will override default style, to avoid cochin italics which look bizarre */
  font-family: Times, "Times New Roman", Georgia, serif;
}

sup {
  font-size: .7em;
}

sub {
  font-size: .7em;
}

code {
  color: rgb(0, 51, 102);
  line-height: 1.2;   /* seems to have no effect */
   /* margin-left: 2px; */
  white-space: pre;
  font-family: Courier, "Lucida Console", monospace;
  font-size: 0.8em;  /* was: 15px; */
}


ul {
  margin-top: 5px;
  margin-bottom: 5px;
}



ol {
  margin-top: 5px;
  margin-bottom: 5px;
}

li{
  line-height: 1.2;
}

/* Anchor should match size and spacing of paragraph */
a {
  font-size: inherit; /* was: 18px; */
  line-height: 1.6;
}


/* Misc. items */

iframe {
  margin-left: 0px;
}

hr {
  color: white;
  border: 1px solid;
}





/* For aligning text and pictures side by side */
table.pictext > tbody > tr > td{
  padding-top: 10px;
  padding-bottom: 20px;
}



table.thumbnail {
  border-spacing: 15px;  /*  was "0 15px" typo?  */
}


.fineprint {
  font-size: 0.8em;
  line-height: 120%;
}

.multiline { /* For multiline eqn */
  margin-left: 1.2em;
  text-indent: -1.2em;
}

table.spreadsheet { /* For inserted spreadsheet tables */
  font-family: Courier, "Lucida Console", monospace;
  background: rgb(202, 201, 201);
  padding: 10px;
  margin-left:auto;
  margin-right:auto;
  border: 8px solid white; 
  border-radius: 8px;
}
table.spreadsheet > tbody {
  border-width: 2;
  border-color: black;

}

/*
table.spreadsheet > tr {
  
  margin-top: 5;
  margin-bottom: 5;
}
table.spreadsheet > td {
  margin-left: 8;
  margin-right: 8;
}
*/


  /* Image formatting  */

.picthumb { /* For small thumbnails */
  border: 4px solid white; 
  border-radius: 4px;
}

.pic { /* For images that sit between paragraphs centred horizontally */
  display:block;
  margin-left:auto;
  margin-right:auto;
  border: 8px solid white; 
  /* box-shadow:  4px 4px #444444; */
  border-radius: 8px;
}


img.picctr { /* For images centred horizontally - no border */
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.picgroup { /* For group of images that sit on the same line between paragraphs */
  /* For horizontal centring, wrap the image links in <div align="center">  */
  margin-left:auto;
  margin-right:auto;
  border: 8px solid white; 
  /* box-shadow:  4px 4px #444444; */
  border-radius: 8px;
}



.picfl { /* For left floating images embedded in paragraphs */
  border: 8px solid white; 
  /* box-shadow:  4px 4px #444444; */
  border-radius: 8px;
  margin-right:12px;
  margin-top: 6px;
  margin-bottom: 6px;
  float: left;
}


.picfr { /* For right floating images embedded in paragraphs */
  border: 8px solid white; 
  /* box-shadow:  4px 4px #444444; */
  border-radius: 8px;
  margin-left: 12px;
  margin-top: 6px;
  margin-bottom: 6px;
  float: right;
}

.paleback { /* Pale cream background overrides corduroy background for special emphasis */
  border-radius: 10px;
  padding: 40px;
  margin:0px;
  margin-right:0px;
  margin-bottom: 0px;
  background-color: rgb(253, 250, 243);
}


.navbar {  /*  Currently not used  */
  color: white;
  /*width: 700px;*/
  font-size: 1em;
  font-family: Georgia, Times, "Times New Roman", serif;
  text-align: justify;
  text-justify: inter-word;
  margin-left: 0px;
}


.navlink { /* For navbar links */
  font-size: 0.8em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.navlink:hover{
  color: grey;
}