@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700);

body {
	background: #faf9f9;
	margin:0;
	padding:0;
	font-family: 'Source Sans Pro', 'sans-serif';
	font-size: 1.2em;
	color: #0F1011; /* font colour */
	font-weight: 300;
}

header {
	padding: 0;
	z-index: 9999; /* specifies the order of stacked elements, larger number is placed in front, only works on position elements */
	border-radius: 0px; /* non-zero for rounded corners */
	opacity: 0.97;
	margin: 0px auto 0;
	position: relative;
	text-align: left;
	background-color: #DA6634;
}

header h1 {
	margin: 0;
	float: left;
}

header h1 a {
    color: #FEFAF8;
    padding: 10px 15px;
    font-size: 0.80em;
    border-bottom: none;
    display: block;
    font-weight: 400;
}
header a {
  color: #FEFAF8;
  font-size: 1.1em;
  font-weight: 400;
  text-decoration: none;
}
 header a:hover {
	text-decoration: underline;
	color: #fff;
}

header table {
  width: 100%;
}

.page-heading {
  color: #306EB6;
	font-size: 1.9em;
	font-weight: 600;
	margin: 10px;
	letter-spacing: -1px;
}

.sub-heading {
  font-size: 1.0em;
  position: relative;
  padding-left: 50px;
  color: #4A7DB9;
  margin-bottom: 10px;
  line-height: 1.1em;

}

.sub-heading h1 {
	font-size: 1.1em;
  color: #4A7DB9;
  margin-bottom: 0px;
}

.description p {
  line-height: 1.1em;
  margin: 10px;
	margin-bottom: 25px;
}

.page-navigation {
  font-size: 1.0em;
  margin-bottom: 20px;
  background-color: #FFDAA2;
}

.page-navigation a {
  color: #89919d;
	text-decoration: none;
}

.page-navigation a:hover {
  border-bottom-color: #5DA1C3;
	color: #5DA1C3;
}

.page-navigation ul {
  font-size: 1.0em;
  position: relative;
  left: 25px;
}

ul.grid {
  display: grid;
    gap: 5px 8px;
    grid-template-columns:repeat(auto-fit, minmax(max-content, 180px))
}

.detail {
  margin: 10px;
}

* { /* specifies that size dimensions include padding and borders, needed for table alignment (to stack multiples beside each other)*/
  box-sizing: border-box;
}

.row {
  margin-left:-5px;
  margin-right:-5px;
}

.column4 {
  float: left;
  width: 25%;
  padding: 5px;
}

.column3 {
  float: left;
  width: 33%;
  padding: 5px;
}

.column2 {
  float: left;
  max-width: 50%;
  padding: 5px;
}

.column1 {
  float: left;
  max-width: 100%;
  padding: 5px;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

h1 { /* used for header */
	color: #eee;
	font-size: 2.7em;
	margin-bottom: 10px;
}

h2 { /* used as titles for tables */
	color: #4773A7;
	font-size: 1.4em;
	font-weight: 800;
	margin-bottom: 10px;
	letter-spacing: -1px;
  text-align: left;
}

.toplink {
  position: relative;
  left: 50px;
  display: inline;
  font-size: 0.7em;
  color: #B4542B;
}

h2 a {
  color: #4773A7;
  text-decoration: none;
}
h2 a:hover {
  color: #68A8F4;
	text-decoration: underline;
}

h3 { /* used as sub-title for tables */
	padding-bottom: 5px;
	font-size: 1.0em;
	color: #B4542B;
  text-align: left;
}

h3 a {
  color: #B4542B;
  text-decoration: none;
}
h3 a:hover {
  color: #FF773D;
	text-decoration: underline;
}

b {
  font-weight: 600;
}

table {
	text-align: center;
  border-spacing: 0;
  /*width: 100%; /* fills up entire div */
 /* table-layout: fixed;  equal column widths */
}

th, td {
	padding: 8px 8px;
}

th {
	color: #FEFAF8;
	background: #B4542B none repeat-x scroll left top;
  vertical-align: middle;
  position: sticky;
  top: 0;
}

table .sectionbreak {
  color: #FEFAF8;
	background: #4773A7 none repeat-x scroll left top;
  vertical-align: middle;
  /*position: sticky;
  top: 34px; */
}

td {
	border-bottom: 1px solid #1F2023;
  vertical-align: middle;
}

tr:nth-child(even) { /* alternate row colours */
  background-color: #DEDEDE;
}

.detail table a {
  color: #063E76;
  text-decoration: underline;
}

.detail table {
  margin-bottom: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


/** keep these? **/
.allowscroll {
  overflow-x: auto;
  min-width: 100%;
}

.equalwidth table {
  width: 100%;
}


.clear { /* the element is pushed below left and right floated items */
	clear: both;
}

footer {
	margin:50px auto 0;
	background: #1E2124;
  padding: 10px;
	text-align: center;
	background-color: #131416;
  color: #ccc;
	font-size: 0.9em;
  font-weight: bold;
}

footer a {
	color: #89919d;
	text-decoration: none;
}

footer a:hover {
	border-bottom-color: #5DA1C3;
	color: #5DA1C3;
}

footer a:focus {
	outline: none;
}


/* @media rules for responsive design */

@media screen and (max-width: 740px) {

	body { font-size: 0.8em; }


	header { text-align: center; }

	header h1 { float: none; text-align: center;  }

	header h1 a, header h1 a:hover { float: none; padding: 5px; }

	nav { float: none; }

	nav ul li a { padding: 20px 10px; }

	nav ul li li a { padding: 7px 0 7px 7px; }

	.sf-menu li:hover ul, .sf-menu li.sfHover ul { top: 23px; }

	div#container { width: auto; }

	footer .footer-content ul { margin-bottom: 15px; }

	footer .footer-content ul.endfooter { margin-bottom: 0px; }

	.width { width:auto; padding-left: 10px; padding-right: 10px; }

	#content, aside.sidebar { float: none; width: auto; }

	#content { padding: 10px; }

	footer .footer-content ul { width: auto; float: none; }

  .column4 {width: 100%}
}


@media screen and (max-width: 540px) {


	body { font-size: 0.8em; }

	header { text-align: center; padding: 10px 0 5px; }

	header h1 a, header h1 a:hover { text-align: center;  padding: 10px; font-size: 1.1em; }

	header h1, nav { float: none; }

	nav { height: auto; position: relative; }

	nav ul { margin: 0; }

	.sf-menu ul { position: relative; width: auto; display: block; margin-top: 0; }

	nav ul ul { margin: 0px; border-top-right-radius: 0; }

	nav ul li { margin: 5px 0; padding: 0; float: none; }

	nav ul li a { background-color: #D1333B; padding: 5px 7px; }

	nav ul li li a { padding: 2px 0 2px 10px; }

	nav ul li a, .sf-menu li { float: none; }

	nav ul li li { margin: 0; }

	div#intro .intro-content { padding: 20px 5px; }

	div#intro div.intro-content-short { padding: 20px 5px 10px; }

	div#body { margin-top: 10px; }


	.sf-menu li:hover ul, .sf-menu li.sfHover ul { top: 0; }

  .column4 {width: 100%}


}
