/* Global Colour Scheme */ 
body {
	color: #353535; //#0042A8;
}

h1, h2, h3, h4, a, .star, p b {
	color: #B52129;
}

hr {
	background-color: #B52129;
}

span.resize_box span:hover {
	color: #B52129;
} 
.header_caption { 
	color: #ffffff;
	background-color: #cf5200;
}
/* General Document Styles */

html {
  scroll-behavior: smooth;
}
body {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 100%;
	position: relative;
	margin: 0px;
} 

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

hr {
	border-width: 0px;
	height: 1px;
	clear: both;
	margin-top: 10px;
}

/* 	heading styles */

h1 {
	font-size: 180%;
	margin-top: 0;
}

h2 {
	font-size: 140%;
	margin-bottom: 10px;
}

h3 {
	font-size: 120%;
	margin-bottom: 10px;
}

h4 {
	font-size: 110%;
	margin-bottom: 10px;
}

.first {
	margin: 0;
}

/* 	images, logos & icons */

img {
	border: none;
}

img.border {
	border: 1px solid #000000;
}

img.icon {
	width: 28px;
	padding: 5px 0;
}

/* formats used in main page header area */ 

div.page_header { 
	margin: 10px 0 20px 0;
}

div.page_header img.logo { 
	height: 100px;
	float: left;
}

div.page_header img.logo_tmc { 
	margin: 10px 0;
	height: 40px;
	float: right;
	clear: right;
}

div.page_title { 
	text-align: left;
	padding-left: 20px;
	height: 100px;
	width: 100%;
	display: table-cell;
	vertical-align: bottom;
}

/* 	text resize box */ 
span.resize_box { 
	border: solid #999999 1px;
	padding: 2px 5px;
	margin: 1px 0px;
	float: right;
}

span.resize_box span { 
	cursor: pointer;
}

/* 	heading styles 1 & 2 */ 
div.page_title h1 { 
	font-family: Georgia, "Book Antiqua", "Times New Roman", "Bookman Old Style";
	font-size: 240%;
	font-weight: bold;
	margin-bottom: 5px;
	border: 0px; padding: 0px;
}

div.page_title h2 { 
	font-family: Georgia, "Book Antiqua", "Times New Roman", "Bookman Old Style";
	font-size: 200%; 
	line-height: 100%; 
//	font-style: italic;
	font-weight: bold;
	margin: 0px;
	margin-bottom: 10px;
}

/* Main menu */

img#main_menu_arrow, img#main_menu_head {
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 16px;
}
/* Main content containers */

/* 	left box */

.leftbox {
	text-align: left;
	padding: 0 15px 0 0;
	vertical-align: top;
	background-color: #ffffff;
	width: 240px;
	float: left; clear: left;
}

.leftbox ul {
	margin: 1em;
	padding: 0px;
}

.leftbox hr {
//	width: 210px;
}
.leftbox p {clear:both;}

/* 	main box */

.mainbox {
//	color: #555555;
	padding: 0 0 0 15px; 
	text-align: left;
	vertical-align: text-top;
	background-color: #ffffff;
	border-left: 1px solid #882222;
	width: 100%;
	max-width: 716px;
	float: right;
}

.mainbox p, .info_panel p {
	line-height: 180%;
}

/* Footer area */
div#footer_area {
	clear: both;
	padding: 10px 0;
	text-align: right;
	font-size: 80%;
	background-color: #ffffff;
	border-top: 1px solid #882222;
}
/* Containers */
#header_area, #content_area, #footer_area {
	margin: 0 10px;
}
div.wrapper {
	max-width: 1009px;
	min-width: 620px; // 795px;
	margin: 10px; // auto;
//	text-align: left;
	padding: 0px;
	clear: both;

//	position: relative;
//	background-color: #ffffff;
	width: 100%; 
}

div.inset {
	width: 150px;
	margin-top: 10px;
	padding: 5px;
	border: 1px solid #882222;
}

div.right {
	float:right;
	margin-left: 10px;
}

div.left {
	float:left;
	margin-right: 10px;
}

.extra-margin {
	margin-top: 20px;
	margin-bottom: 25px;
}

.more {
	display: none;
}

/*	inset box/table */
span.inset-box {
	margin: 20px 0 10px 10px;
	padding: 5px;
	float: right;
	clear: right;
	border: solid #727272 1px;
	box-shadow: 2px 2px #bbbbbb;
	max-width: min(260px, 50%);
}

span.inset-box table {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 5px;
}

span.inset-box td:last-child {
	text-align: right;
}

/*	page date */
div.page_date {
	clear: both;
	margin: 20px 0 5px;
	text-align: right;
	font-size: 80%;
}
/* REST Poster */

.rest_poster {
	text-align: center;

	margin: 0px 40px 0px 40px;

	width: 650px;

}

.lg {
	font-size: 125%;

}

.vlg {
	font-size: 175%;

}

/* hidden blocks & jsonclick */

.hidden {
	display: none;
	clear: both;
}

.visible { 
	display: block;
	clear: both;
}

.jsonclick {
	font-size:70%;
	float: right;
	text-align: right;
	margin: 0px;
	clear: both;
	color: #000000;
}

a.jsonclick {
	text-decoration: underline;
	cursor: pointer;
}

/* popups */
.popup {
	display: none;
	position: absolute;
	z-index: 1;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 4px 4px #B52129;
	background-color: white;
	padding: 5px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.popup-parent {
	position: relative;
	display: inline-block;
}
.popup-parent:hover .popup {
	display: block;
}

/* general table styles */ 
table.default {  
	margin-top: 20px;
	border: 1px solid #999999;
}

table.full_width { 
	table-layout: fixed;
	font-size: 90%;
}

table.default th { 
	padding: 3px 6px;
	background-color: #999999;
	color: #ffffff;
}

table.default caption { 
	padding: 3px 6px;
	background-color: #999999;
	color: #ffffff;
	font-weight: bold;
}

caption.bottom { 
	caption-side: bottom;
}

table.default td { 
	word-wrap: break-word;
	padding: 3px 6px;
	vertical-align: top;
}

table.default tr.shaded { 
	background-color: #eeeeee;
}

/* fieldset & form styles */

fieldset {
	border: solid #999999 1px;

	padding-top: 0px;

	padding-bottom: 15px;

	padding-left: 15px;

	padding-right: 15px;

	margin-bottom: 3px;

//	color: #000000;

	clear: both;	

}

legend {
	background-color: #ffffff;

	font-weight: bold;

//	color: #009999;	

	padding-left: 2px;

	padding-right: 4px;

}

textarea {
	width: 100%;

	height: 310px;

//	margin-bottom: 10px;

	border: solid #009999 1px;

}

input {
	border: solid #009999 1px;

}

div.input_area p {
//	padding: 5px;

	margin-top: 5px; margin-bottom: 0;

	font-weight: bold;

}

div.input_area input {
	width: 100%;

}

div.input_area textarea {
	width: 100%;

	height: 100px;

}

div.checkboxes {
	margin: 20px 0px 20px 10px;

	clear: both;

}

div.checkboxes input {
	border: 0px;

}

div.buttons {
	clear: both;

	text-align: center;

	margin-top: 10px;

}

/* image & object positioning & text wrapping */ 
.wrap_right { 
	float: right;
	margin: 0px 0px 3px 10px;
}

.wrap_left { 
	float: left;
	margin: 0px 10px 3px 0px;
}

.no_wrap {
	clear:both;
	padding-top:1px;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.full_width { 
	width: 100%;
}

.limit_600 {
	max-width: 600px;
}

.border { 
	border: solid #727272 1px;
}
.top_right { 
	float: right;
	clear: right;
}
.top_left { 
	float: left;
}

.banner_img {
	position: relative;
	min-width: 640px;
	max-height: 450px;
	overflow: hidden;
}

/*	page header image styles */

.header_image { 
	clear:both;
	position: relative;
	z-index: 1;
	overflow: hidden;
// relative position to allow use of absolute positioning of child objects (.header_caption)
}

.header_image img { 
	width: 100%;
}

.header_caption { 
	position: absolute;
	bottom: 12%; // top: 350px;
	left: -1em; // -5px;
	font-size: 200%;
	font-size: min(2.7vw, 200%);
	font-weight: bold;
	padding: 2px 20px 8px 1.5em;
	box-shadow: 5px 5px #ffffff;
	transform: skew(-20deg);
}

/* system message styles */

.msg {
	border: solid #B52129 2px;
	padding: 10px;
	background-color: #ffffdd;
	color: #ff0000;
	margin-bottom: 5px;
	margin-top: 5px;
	border-radius: 4px;
	font-size: 110%;
	line-height: 180%;
}

.msg p {
	color: #B52129;
}

.success {
	border: solid #00aa00 1px;
	color: #00aa00;
}

.msgclose {
	float: right;
	font-size: 14pt;
	font-weight: bold;
	margin: -5px 0 0 20px;
	cursor: pointer;
	padding: 0;
}

div.download {
	margin: 20px 10px;
	padding: 10px;
	border: solid #ffcc72 1px;
	background-color: #ffffdd;
	width: 30em;
}

/* bulleted list of links */
.links {
	list-style-position: inside;
	margin-bottom: 15px;
}

.links a {
	display: list-item;
//	padding-top: 3px;
//	padding-bottom: 3px;
	margin-left: 10px;
}

.links a:visited {
}

/* window resizing */
@media screen and (max-width: 1020px) 
{
	div.page_title {font-size: 70%;}
	body {font-size: 140%;}
	div.page_header img.logo, div.page_title {height: 70px;}
	.header_caption {font-size: 100%; font-size: min(6vw, 100%);}
	span.more {display: inline-block;}
	div.more {display: block;}
	img.logo_tmc {display: none;}
	img.icon {width: 42px;}
	img#main_menu_arrow, img#main_menu_head {width: 32px;}
	.mainbox {float: none; max-width: 100%; border-left: 0; padding: 0 15px 0 0;}
	.leftbox {float: none; width: 100%;}
   	div.wrapper {max-width: 800px; margin-right: 10px;}
}

