
* {
  box-sizing: border-box;
  }

/* text and font styles */
body {
   font: 1em/1.5 "Segoe UI", 'Trebuchet MS', sans-serif;
}

p {
   margin: 0em 0em 0.5em 0em;
}

h1 {
  font: 1.5em "Segoe UI Semibold", 'Trebuchet MS', sans-serif;
  margin: 0.5em 0em 0em 0em;
}

h2 {
  font: italic 1.2em "Segoe UI Semibold", 'Trebuchet MS', sans-serif;
  margin: 0.5em 0em 0em 0em;
}

h3 {
  font: 1em "Segoe UI Semibold", 'Trebuchet MS', sans-serif;
  margin: 0.5em 0em 0em 0em;
   }
   
/* Page Title */
header, .banner {
	margin: 10px;
	padding: 5px 0px;
	background-color: #8580b3;
	color: white;
	border-radius: 10px;
	text-align: center;
}

header h1.title a, .banner h1.title a {
    color: white;
    text-decoration: none;
    }

.header-photo {
	text-align: center;
}

.header-photo img {
    border: 5px solid #8580b3;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
	background-color: white;
}

.title {
	font: italic 2.5em/1.5 'Segoe UI', 'Trebuchet MS', sans-serif; 
	margin: 0px;
	}

.subtitle {
	font: italic 1.5em/1.5 'Segoe UI', 'Trebuchet MS', sans-serif; 
	margin: 0px;
	}	
	
/* footer <a> inline */
footer, .footer {
  background-color: #dfcffc;
  color: darkslateblue;
  font:  1.2em/0.8 'Segoe UI Semibold', 'Trebuchet MS', sans-serif;
  text-align: center;
  margin: 0 10px;
  padding: 0;
  border-radius: 10px;
}
footer a:last-child, .footer a:last-child {
  border-right: 1px solid whitesmoke;
  }
footer a, .footer a {
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  color: darkslateblue;
  padding: 10px 16px;
  border-left: 1px solid whitesmoke;
}
footer a:hover, .footer a:hover  {
  color: #dfcffc;
  background-color: darkslateblue;
}

#err_msg {
	color: red;
}

/* new navigation drop-down top menu */
.navbar {
  background-color: #dfcffc;
  color: darkslateblue;
  font:  1.2em 'Segoe UI Semibold', 'Trebuchet MS', sans-serif;
  margin: 0 10px;
}
.navbar ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
  background-color: #dfcffc;
}
.navbar ul li {
  display: inline;
  float: left;
  border-right: 1px solid whitesmoke;
}
.navbar ul li a {
  display: block;
  text-decoration: none;
  color: darkslateblue;
  text-align: left;
  padding: 10px 16px;
}
.navbar ul li a:hover {
  color: #dfcffc;
  background-color: darkslateblue;
}
.navbar ul li.dropdown {  
  display: inline-block;
}
.navbar .dropdown-content {
  display: none;
  position: absolute;
  background-color: #dfcffc;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.navbar .dropdown-content a {
  font-size: 0.8em;
  color: darkslateblue;
  text-decoration: none;
  display: block;
  padding: 3px 16px;
}
.navbar .dropdown:hover .dropdown-content {
  display: block;
}

/* old navigation bar */  
.breadcrumb {
  margin: 10px;
  padding: 10px;
  background-color: #dfcffc;
  color: darkslateblue;
  font:  1.2em 'Segoe UI Semibold', 'Trebuchet MS', sans-serif;
  border-radius: 10px;
   }

.breadcrumb a {
   text-decoration: none;
   color: darkslateblue;
   }

.breadcrumb a:hover {
   color: white;
   }
  
/* Responsive layout - makes up to 12 columns stack on top of each other instead of next to each other */

@media only screen and (max-width: 800px) {
  .navbar ul li {float: none; border: none;}
  .navbar ul li a {padding: 2px 16px; font-size: 1em;}
}

/* Main Page Contents: enclose all columns in either mainwrap or row ('mainwrap' was my original coding but 'row' is more usual */
.mainwrap::after {
  content: "";
  clear: both;
  display: table;
  }
  
.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

/* For desktop: */
@media only screen and (min-width: 800px) {
.col-1 {width: 8%;}
.col-2 {width: 17%;}
.col-3 {width: 25%;}
.col-4 {width: 33%;}
.col-5 {width: 42%;}
.col-6 {width: 50%;}
.col-7 {width: 58%;}
.col-8 {width: 67%;}
.col-9 {width: 75%;}
.col-10 {width: 83%;}
.col-11 {width: 92%;}
.col-12 {width: 100%;}
}
  
/* .menubox {
  background-color: #dfcffc;
  color: darkslateblue;
  padding: 10px;
  border-radius: 10px;
}
 */
 
/* list menu usually applied to left column */
.menu ul {
  font-family: "Segoe UI Semibold", 'Trebuchet MS', sans-serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 5px 8px;
  margin-bottom: 5px;
  color: darkslateblue;
  background-color: #dfcffc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: darkslateblue;
  color: #dfcffc;
}

.menu a {
  display: block;
  text-decoration: none;
  }
  
.menu a:hover {
  background-color: darkslateblue;
  color: #dfcffc;
}

.menu h1, .menu h2 {
  padding: 0 10px 10px;
  margin: 0;
}

/* Images place either left or right with a caption */
.rightimgbox {
   float:right;
   }
.leftimgbox {
   float:left;
   }

/* imgbox was used to centre an image, but the caption spread outside the width of the image. imgbox has been changed to float left and a new centimgbox introduced where an image must be centred but without a caption */
.centimgbox {
   float:none;
   }

.imgbox {
   float:none;
   }

.rightimgbox img, .leftimgbox img, .imgbox img, .centimgbox img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  }

/* caption can be used with centimgbox because it has no background colour and although it will spread wider than the image the background won't show */  
.caption {
   font: 0.9em/1.2 'Segoe UI Semibold', 'Trebuchet MS', sans-serif;
   padding: 0px 0px 3px 0px;
   margin: 0px 0px 5px 0px;
   text-align: center;
    }

.rightimgbox p, .leftimgbox p, .imgbox p {
   font: 0.9em/1.2 'Segoe UI Semibold', 'Trebuchet MS', sans-serif;
   padding: 0px 0px 3px 0px;
   margin: 0px 0px 5px 0px;
   text-align: center;
   background-color: silver;
   }

/* styling of tables */

ul.cycbul {
   list-style-image: url("https://blakey.me.uk/images/cyclebullet4.gif");
   }

.tar {
  text-align: right;
}

.tal {
  text-align: left;
}

.tac {
  text-align: center;
}

table.artable {
   text-align: left;
   font: 0.9em 'Segoe UI', 'Trebuchet MS', sans-serif;
   }

table.artable caption {
   font: bold italic 1.5em 'Segoe UI', 'Trebuchet MS', sans-serif;
   color: darkslategray;
   background-color: transparent;
   }

table.artable thead {
   background-color: lightgrey; /* #768ecf; */
   color: darkslategray;
   vertical-align: top;
   }

table.artable tbody {
   background-color: transparent; /* #F5F5DC; */
   color: darkslategray; /* #555753; */
   vertical-align: top;
   }

.th1, .td1 {
   background-color: lightgrey; /* #768ecf; */
   color:darkslategray;
   font-weight: bold;
   }

.th2, .td2 {
   background-color: lightgrey; /* #768ecf; */
   color: darkslategray;
   font-weight: normal;
   }

table.artable td, table.artable th {
   font-size: 110%;
   padding: 5px;
   border: 1px solid lightgrey; /* #768ecf; */
   }

table.artable td.tar {
   text-align: right;
   }

table.artable td.tal {
   text-align: left;
   }

table.artable td.tac {
   text-align: center;
   }

.stripes {
  width: auto;
  border-collapse: collapse;
  text-align: left; 
  margin: 10px 0px;
}

.stripes thead th, .stripes thead td {
    border-bottom: 3px solid black;
}

.stripes tfoot th, .stripes tfoot td {
    border-top: 3px solid black;
}

.stripes td, .stripes th {
  padding: 2px 8px;
}

.stripes .tal, .stripes .tal {
    text-align: left;
}

.stripes .tac, .stripes .tac {
    text-align: center;
}

.stripes .tar, .stripes .tar {
    text-align: right;
}

.stripes tr:nth-child(even) {
  background-color: #dddddd;
}

form.inputform input, form.inputform select {
  font: 1em/1.5 "Segoe UI", 'Trebuchet MS', sans-serif;
  width: 300px;
}
form.inputform textarea {
  font: 1em/1.5 "Segoe UI", 'Trebuchet MS', sans-serif;
  width: 300px;
  height: 300px;
}
form.inputform fieldset {
  margin-bottom: 10px;
  border: 1px dashed grey;
}
form.inputform legend {
  padding: 0 2px;
  font-weight: bold;
}
form.inputform label {
  display: inline-block;
  line-height: 1.8;
  vertical-align: top;
}
form.inputform fieldset ol {
  margin: 0;
  padding: 0;
}
form.inputform fieldset li {
  list-style: none;
  padding: 5px;
  margin: 0;
}
form.inputform fieldset fieldset {
  border: none;
  margin: 3px 0 0;
}
form.inputform fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}
form.inputform fieldset fieldset label {
  display: block;
  width: auto;
}
form.inputform em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}
form.inputform label {
  width: 140px; /* Width of labels */
}
form.inputform fieldset fieldset label {
  margin-left: 143px; /* Width plus 3 (html space) */
}

#forum-login {
    width: 300px; 
    margin: 0px auto;
    }
#forum-login ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    }
#forum-login img {
    margin-left: 100px;
    border-radius: 10px;
    }
#forum-login fieldset {
    background-color: whitesmoke;
    color: black;
    border: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }
#forum-login label {
    font: italic 0.9em "Segoe UI", 'Trebuchet MS', sans-serif;
    }
#forum-login input {
    font: 1.1em "Segoe UI", 'Trebuchet MS', sans-serif;
    height: 30px;
    width: 300px;
    background-color: aliceblue;
    border: 1px solid midnightblue;
    }
#forum-login #submit {
    background-color: #8580b3;
    color: white;
    margin-top: 20px;
    }