/*******************************************************************************
 * Basic page layout allows for a header and footer and a columned content.
 *
 * Version	2.6
 *
 * The main body can be split up into three columns, with narrow left and right
 * columns and a wide central section section. Alternatively the left or right
 * columns can be set up on their own with a wider main body.
 *
 * Modified:
 *					Colin Finnis				04-Nov-2021
 *
 *		2.6	Added general widths, added space-around, space-bwteen and space-bottom
 *
 *					Colin Finnis				04-Aug-2020
 *
 *		2.5	Removed the nth definitions for half-column and quarter column to a
 *			separate file layout-addtionsions as they were causing problems with
 *			the service	layaouts.
 *
 *					Colin Finnis				22-Sep-2019
 *
 *		2.4 Changes to header background so that it dosnt affect the positioning
 *			the header itself. Changed column variations to use nth type margins.
 *
 *					Colin Finnis				13-Jun-2018
 *
 *		2.3	Removed certain site specific header definitions to site.css and add
 *			full-width.
 *
 *					Colin Finnis				09-Jun-2018
 *
 *		2.2	Added centre-it.
 *
 *					Colin Finnis				28-Dec-2017
 *
 *		2.1 Modified button-bar to be a class rather than and ID and use flex-box
 *			combined with ul to create row of equally distanced buttons. Also
 *			added definitions for button. Changed box size so they are exact
 *			without margins.
 *
 *					Colin Finnis				25-Sep-2016
 *
 *		2.0 Conversion to use flexbox abd other changes to names.
 *
 *					Colin Finnis				19-Sep-2016
 *
 *		1.3 Added header phone number and and changed logo to hdr_logo.
 *
 *					Colin Finnis				23-Feb-2015
 *
 *		1.2 Commented out top boarder from main container not certane of its original
 *			intention. It left a line at the top which didnt join up with anything
 *			and just looked odd. Also aded hidden class.
 *
 *					Colin Finnis				14-Feb-2015
 *
 *		1.1 Added active headings and button bar.
 *
 *******************************************************************************/
.flex-box {
	display: -webkit-flex;			/* OLD - Chrome 21, Safari 6.1 */
	display: -ms-flexbox;      		/* OLD - IE 10 (Tweener) */
	display: -moz-box;         		/* OLD - Firefox 18 (buggy but mostly works) */
	display: flex;             		/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */
}
.box-row {
	-webkit-flex-flow: row wrap;	/* OLD - Chrome 21, Safari 6.1 */
	-moz-flex-flow: row wrap;		/* OLD - Firefox 18 (buggy but mostly works) */
	flex-flow: row wrap;			/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */

}
.box-col {
	-webkit-flex-flow: column;		/* OLD - Chrome 21, Safari 6.1 */
	-moz-flex-flow: column;			/* OLD - Firefox 18 (buggy but mostly works) */
	flex-flow: column;				/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */

}

.set-container {
	-webkit-flex: 0 1 1100px;
	-moz-flex: 0 1 1100px;
	-ms-flex: 0 1 1100px;
	flex: 0 1 1100px;
	margin: 0 auto;
}
body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	padding: 0px;
	color: #000000;
	margin: 0px;
}
#header-bkgrd {
	width: 100%;
	min-height: 200px;
	background-color: transparent;
/*	background-color: #9F9A9A; */
	margin-bottom:-200px;
}
#main-container {
/*	background-color: #e1e1e1; */
/*	margin-top: -200px; */
}
#header {
	width: 100%;
	background-color: #A6A6A6;
	min-height: 150px;
}
#content {
	width: 100%;
	background-color: #EBEBEB;
}
#footer-bkgrd {
	width: 100%;
/*	height: 200px; */
	min-height: 200px;
	background-color: #555757;
}
#footer-container {
	color: #ffffff;
	background-color: #B0B2B4;
	font-size: 10px;
	align-self: baseline;
}
#footer-main {
	width: 100%;
	padding: 10px;
}
.qtr-column, .qtr-width {
	-webkit-flex: 1 1 23%;
	-moz-flex: 1 1 23%;
	-ms-flex: 1 1 23%;
	flex: 1 1 23%;
}
/*.qtr-column div:nth-of-type(1n+2){
	margin-left: 1%;	
} */
.half-column, .half-width {
	-webkit-flex: 1 1 42%;
	-moz-flex: 1 1 42%;
	-ms-flex: 1 1 42%;
	flex: 1 1 42%;
}
/*.half-column div:nth-of-type(1n+2){
	margin-left: 1%;
} */
.three-qtr-column {
	-webkit-flex: 1 1 74%;
	-moz-flex: 1 1 74%;
	-ms-flex: 1 1 74%;
	flex: 1 1 74%;
	margin-left: 1%;
}
.single-column, .full-width {
	-webkit-flex: 1 1 100%;
	-moz-flex: 1 1 100%;
	-ms-flex: 1 1 100%;
	flex: 1 1 100%;
}
.one-third-column {
	-webkit-flex: 1 1 32%;
	-moz-flex: 1 1 32%;
	-ms-flex: 1 1 32%;
	flex: 1 1 32%;
}
.one-third-column div:nth-of-type(1n+2){
	margin-left: 1%;	
}
.two-thirds-column {
	-webkit-flex: 1 1 65%;
	-moz-flex: 1 1 65%;
	-ms-flex: 1 1 65%;
	flex: 1 1 65%;
	margin-left: 1%;
}
/* full-width {
	width: 100%;
}*/

.footer-text {
	color: #363636;
}
/*******************************************************************************
 * Active headings.
 *
 * Used for a list linked command word such as login, logout, change password
 * etc. Items with float to the top right of the container.
 *******************************************************************************/
 
.act-hdg {
	font-size: 11px;
	float: right;
	margin-top: 10px;
	margin-right: 10px;
}
.act-hdg a:link {
	color: #333;
	text-decoration: none;
}
.act-hdg a:hover {
	text-decoration: underline;
}
.act-hdg a:visited {
	color: #333;
}
/*******************************************************************************
 * Button bar
 *
 * Used to produce a bar of buttons or other data items which will sit as a row
 * equally spaced across the page. Each entity should be comtained in an li
 * element of a ul list.
 *******************************************************************************/

.button-bar {
	display: -webkit-flex;			/* OLD - Chrome 21, Safari 6.1 */
	display: -ms-flexbox;      		/* OLD - IE 10 (Tweener) */
	display: -moz-box;         		/* OLD - Firefox 18 (buggy but mostly works) */
	display: flex;             		/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */
	
	-webkit-flex-flow: row wrap;	/* OLD - Chrome 21, Safari 6.1 */
	-moz-flex-flow: row wrap;		/* OLD - Firefox 18 (buggy but mostly works) */
	flex-flow: row wrap;			/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */

	-webkit-justify-content: space-around;
	-moz-justify-content: space-around;
	justify-content: space-around;

	width: 100%;
	list-style-type: none;
	margin: 10px 0px 0px 0px;
	padding: 0px 0px 10px 0px;
}
.button-bar li {
	font-size: 12px;
}
button {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	padding: 5px;
	border-radius: 5px;
	border: 1px outset #9F9E9E;
}
/*******************************************************************************
 * Checkbox list
 *
 * Can be used to create a check box list. Labels and input have to be seperate
 * entities but contained in a single li element of a ul list. Adding bos-row or
 * box-col will produce a vertical or horizontal list.
 *******************************************************************************/

.checkbox-list {
	display: -webkit-flex;			/* OLD - Chrome 21, Safari 6.1 */
	display: -ms-flexbox;      		/* OLD - IE 10 (Tweener) */
	display: -moz-box;         		/* OLD - Firefox 18 (buggy but mostly works) */
	display: flex;             		/* NEW, Spec - Chrome 29, IE 11, Firefox 28, Safari 9, Opera 17 */
	
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	justify-content: flex-start;

	width: 100%;
	list-style-type: none;
	margin: 10px 0px 0px 0px;
	padding: 0px 0px 10px 0px;
}
.checkboc-list {
	padding-left: 5px;
}
.checkbox-list input{
	float: left;
	padding: 0px;
}
.checkbox-list label {
	float: left;
	padding-top: 6px;
}
/*******************************************************************************
 * Message display settings.
 *******************************************************************************/
.msg-text, .err-text {
	padding: 5px;
	border-radius: 3px;
	font-size: 14px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	margin-bottom: 5px;
} 
.msg-text {
	color: #325e1c;
	border-left: 6px solid #77b259;
	border-right: 1px solid #77b259;
	border-bottom: 1px solid #77b259;
	border-top: 1px solid #77b259;
	background-color: #f3faef;
}
.err-text {
	color: #a51b00;
	border-left: 6px solid #E62600;
	border-right: 1px solid #E62600;
	border-bottom: 1px solid #E62600;
	border-top: 1px solid #E62600;
	background-color: #fcf4f2;
}
.err-text p {
	margin: 0px;
	padding: 0px;
}
/*******************************************************************************
 * Other
 *******************************************************************************/

/*
 * Will centre a box horizonatally within another.
 */
.centre-it {
	display: table;
	margin-left: auto;
	margin-right: auto;
}
.space-bottom {
	margin-bottom: 5px;
}
.space-around {
	justify-content: space-around;
}
.space-between {
	justify-content: space-between;
}

.hidden {
	display: none;
}

/*
 * General proportional width settings.
 */
.gen-width5 {
	width: 5%;
}
.gen-width10 {
	width: 10%;
}
.gen-width15 {
	width: 15%;
}
.gen-width20 {
	width: 20%;
}
.gen-width25 {
	width: 25%;
}
.gen-width30 {
	width: 30%;
}
.gen-width35 {
	width: 35%;
}
.gen-width40 {
	width: 40%;
}
.gen-width45 {
	width: 45%;
}
.gen-width50 {
	width: 50%;
}
.gen-width60 {
	width: 60%;
}
.gen-width70 {
	width: 70%;
}
.gen-width75 {
	width: 75%;
}
.gen-width80 {
	width: 80%;
}
.gen-width90 {
	width: 90%;
}
.gen-width100 {
	width: 100%;
}