/*
	global-ui.css

	Basic color pallet for UI element

	Background Grey:rgb(247,247,247)
	Text Colour:	rgb(87,87,87);
	Fibonacci Teal:	rgb(0, 168, 168);
	BoxShadow gray: rgb(164,164,164);
	Error Red: 		rgb(219,0,0);
	Warn' Yellow:	rgb(255, 136, 0);

*/

html, body {
	background-color: rgb(247,247,247) !important;
	color: rgb(87,87,87) !important;
	font-family: Calibri;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	margin-bottom: 0.75em;
	font-weight: normal;
}

h2	{
	font-size: x-large;
	font-size: xx-large;
	font-weight: bold;
	border-bottom: 2px solid rgb(0, 168, 168);
	padding-bottom: 0.2em;
	margin-bottom: 0.75em;
}

a {
	text-decoration: none;
	color: rgb(0, 168, 168);
}

.popup #header {
    padding: 5px;
    margin-bottom: 1em;
}
.popup #header .heading {
    font-size: medium;
}
.popup #header #site-logo {
    height: 16px;
}
.popup #header .heading a {
    line-height: 1em;
}
.popup #header #header-tools {
    right: 5px;
    top: 5px;
}
.popup #header #header-tools .tool {
    width: 16px;
    height: 16px;
    line-height: 16px;
}
.popup #content {
    margin: 0 1em 1em 1em;
}


#header {
	margin-bottom: 2.0em;
	padding: 10px 10px;
	background-color: rgb(0, 168, 168);
	font-weight: normal;
	position: relative;
	box-shadow: 1px 1px 1px rgb(164,164,164);
}
	#header.fixed {
	    position: fixed;
	    top:0; left:0;
	    width: 100%;
	    z-index: 10;
	}
	.heading {
		margin: 0;
		border: none;
		font-weight: normal;
		font-size: x-large;
		color: white;	
	}
	.heading a {
		text-decoration: none;
		color: white;
		line-height: 32px;
	}
	.heading #parentMenuToggle {
		margin-right: 20px;
		box-shadow: 1px 1px 1px rgb(87,87,87);
		padding: 4px;
		display: block;
		float: left;
		cursor: pointer;
	}
	.heading #parentMenuToggle:active {
		box-shadow: inset 1px 1px 1px rgb(87,87,87);
	}
	.heading #parentMenuToggle:hover {
		box-shadow: none;
	}
	.heading #site-logo {
		border: none;
		background-color: white;
		vertical-align: top;
		height: 32px;
		margin-right: 0.4em;
	}
#header-tools {
		position: absolute;
		right: 10px;
		top: 10px;
	}
		#header-tools ul li {
			float: left;
			margin-left: 0.2em;
		}
		#header-tools a.tool {
			border: 1px solid white;
			border-radius: 16px;
			display: block;
			width: 32px;
			height: 32px;
			float: left;
			margin-left: 10px;
			text-align: center;
			line-height: 32px;
		}
		#header-tools a.tool span {
			display: none;
		}
		#header-tools a.tool#help {
			background-image: url('../Images/Icons16/Help.png');
			background-repeat: no-repeat;
			background-size: initial;
			background-position: 50%;
		}

		#header-tools ul li a.icon {
			background-repeat: no-repeat;
			width: 15px;
			height: 15px;
			display: inline-block;
		}
		#header-tools ul li a.icon span {
			display: none;
		}


.subheading {
	font-weight: normal;
	color: inherit;
}

#content {
	margin: 0 2em;
	margin-bottom: 1em;
}

#forgotten-tools {
	border-top: 1px solid rgb(219, 219, 219);
	margin-top: 2em;
	padding-top: 1.5em;
	margin-bottom: 0;
	position: relative;
}
	.forgot {
		position: absolute;
		bottom: 0;
	}
	#forgot-username {
		left: 0;
	}
	#forgot-password {
		right: 0;
	}


.dialog {
	margin: 0 auto;
	margin-bottom: 1.5em;
	margin-bottom: 2.0em;
	padding: 20px;
	width: 365px;
	background-color: white !important;
	box-shadow: 1px 1px 1px rgb(164,164,164);
}
.dialog.fullwidth {
	width: inherit;
}
	.dialog h2 {
	  border-bottom: 2px solid rgb(0, 168, 168);
	  padding-bottom: 0.2em;
	  margin-bottom: 0.75em;
  	}
	.dialog-content {
		overflow: hidden;
	}
	.dialog label {
  		font-size: medium;
		line-height: 1.5;
		width: inherit;
	}


	.dialog	input[type="submit"], 
	.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-priority-primary,
	.ui-button.ui-priority-primary {
		float: right;
		background-color: rgb(0, 168, 168);
		color: white;
		text-shadow: 0px 1px rgb(87,87,87);
		border: 1px solid rgb(168,168,168);
	border: 1px solid rgb(112,112,112);

	}
	.ui-button.ui-priority-primary.ui-state-hover {
		text-shadow: 0px 1px rgb(87,87,87) !important;
	}
	.ui-button.ui-priority-primary.ui-state-active {
box-shadow: inset 0px 1px 5px rgb(87,87,87) !important;
	}

	.dialog	input[type="submit"]:active, .ui-priority-primary:active {
		background-color: rgb(0, 168, 168);
		color: white;
		text-shadow: none;
	}
	.dialog input[type="button"] {
		float: left;
	}
	.mandatory {
		color: rgb(219,0,0);
	}
	.mandatory input[type="text"] {
	}


.message {
	padding: 15px 18px;
	border: none;
	background-color: white;
	color: inherit;
	border-left: 4px rgb(0,168,168) solid;
}
	.message.info {
		border-left: 4px rgb(0, 168, 168) solid;
	}
	.message::before {
		font-weight: bold;
	}
	.message.info.label::before {
		content: "Information: ";
	}
	.message.warning {
		border-left: 4px rgb(255, 136, 0) solid;
	}
	.message.warning.label::before {
		content: "Warning: ";
	}
	.message.error {
		border-left: 4px rgb(219,0,0) solid;
		font-size: medium;
	}
	.message.error.label::before {
		content: "ERROR: ";
	}


input[type="text"],
input[type="password"],
select,
textarea
{
	padding: 2px 4px;
	margin-right: 0.1em;
	border: 1px solid #ddd;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
	color: #32373c;
	outline: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus
{
	border-color: rgb(164,164,164);
	box-shadow: 0 0 2px rgb(164,164,164);
}


.panel-lw {
	display: inline-block;
	width: 206px; height: 206px;
	background-repeat: no-repeat;
	background-position: 50% 15%;
	text-align:center;
	position: relative;
	cursor: pointer;
	margin: 2px 2px;
	box-shadow: 2px 2px 1px rgb(164,164,164);
}
.panel-lw:hover {
	box-shadow: 1px 1px 1px rgb(164,164,164);
}
.panel-lw span {
	position: absolute; bottom: 0;
	display: block;
	width: 100%;
	font-size: 25px;
	color: white;
	line-height: 1em;
	margin-bottom: 15px;
}



/*
	jQuery UI dialog overrrides
	We're using the .ui-dialog class to override the specificity
*/

.ui-widget-overlay {}
.ui-dialog.ui-widget-content {
	border: none;
	box-shadow: 1px 1px 4px	rgb(164,164,164);
}
.ui-dialog .ui-dialog-titlebar {
	border-color: rgb(0, 168, 168);
	background-color: rgb(0, 168, 168);
	color: white;
	padding: 0.5em 0.75em;
}
.ui-dialog .ui-dialog-content {
	border-color: rgb(0, 168, 168);
	background-color: white !important;
	padding: 1em 0.75em;
}
.ui-dialog .ui-dialog-content fieldset {
	border: none;
}
.ui-dialog .ui-dialog-buttonpane {
	border-color: rgb(0, 168, 168) !important;
	background-color: rgb(247,247,247);
	padding: 0.5em 0.75em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: right;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button {
	margin-left: 0.5em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button,
input[type="submit"], input[type="button"] {
	background-color: rgb(247,247,247);
	border: 1px solid rgb(164,164,164);
	border-radius: 2px;
	box-shadow: 0px 1px 1px rgb(164,164,164);
	padding: 6px 14px;
	line-height: normal;
	font-size: small;
	vertical-align: middle;
	height: auto;

	color: rgb(41, 41, 41);
	text-shadow: 0px 1px rgb(244,244,244);
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button,
input[type="submit"]:active, input[type="button"]:active {
	background-color: rgb(207, 207, 207);
	outline: none;
	box-shadow: 0px 1px 1px rgb(164,164,164);
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover,
.ui-button.ui-state-hover {
	box-shadow: none;
	text-shadow: 0px 1px white;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-active,
.ui-button.ui-state-active {
	box-shadow: inset 0px 1px 5px rgb(164,164,164);
box-shadow: inset 0px 1px 5px rgb(120,120,120);
	text-shadow: 0px 1px white;

}
.ui-button.ui-state-focus {
	border-color: rgb(87,87,87) !important;
}




em.f {
	font-style: italic;
	letter-spacing: 0.05em;
}


.panel-container {
	margin: 0 auto;
}
.panel-container li {
	display: inline-block;
}
ul.panel-list {
	text-align: center;
}


.page-default h2 {
	text-align: center;
	margin-bottom: 1em;
	padding-bottom: 0.125em;
}


code {
	display: inline-block;
	background-color: white;
	padding: 0.5em 1em;
	border: 1px solid rgb(200,200,200);
	font-family: Consolas, "Lucida Console";
	color: blue;
	font-size: 1em;
}


form {}
form p, fieldset {
	margin-bottom: 0.75em;
}
form label {
	display: inline-block;
	clear: both;
	line-height: auto;
	width: 7em;
	font-size: medium;
	vertical-align: text-top;
}
form input {
	vertical-align: middle;
}
form .fDCalendar {
	vertical-align: text-bottom;
}
fieldset legend {
	margin-bottom: 0.35em;
}
fieldset ul {
	margin-left: 2em;
}



.fDCalendar-picker {
	vertical-align: middle;
}
#fDCalendarTableDate {
	box-shadow: 1px 1px 1px rgb(168,168,168);
	border: none;
	padding: 4px;
	margin-top:	4px;
}
#fDCalendarTableDate th, #fDCalendarTableDate td {
	text-align: center;
}
#fDCalendarHeadDate a {
	vertical-align: top;
}
form#fDCalendarTagDate table#fDCalendarTableDate tbody tr:nth-child(2) table {
	border-spacing: 2px;
}
form#fDCalendarTagDate table#fDCalendarTableDate tbody tr:nth-child(2) table td {
	padding: 2px 5px;
}
.fDCalendarWEndHead, .fDCalendarWDayHead,
.fDCalendarWEnd, .fDCalendarWDay,
.fDCalendarToday,
.fDCalendarNonMonth,
.fDCalendarCurrent {
	line-height: 1.5em;
	font-size: 14px !important;
}
tr#fDCalendarHeadDate td table tbody tr td table tbody tr td {
	font-size: 5pt;
}
tr#fDCalendarHeadDate td table tbody tr>td {
	vertical-align: top;
}
#fDCalTodayDate {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}
tr:nth-child(2) table {
	border-spacing: 2px;
}
A.fDCalendarNonMonth:link {
	font-size: 12px !important;
}

#format label {
    width: inherit;
    font-size:medium;
}


/* Login page */
.page-login .dialog-content label {
	width: 100%;
}
.page-login .dialog-content label input[type="text"],
.page-login .dialog-content label input[type="password"] {
	width: 100%;
	padding: 0.2em 0.3em;
	font-size: 1.4em;
}