/* Tags */

html, body {
	margin: 0;
	height: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
	font-family: Verdana;
}
body {
	background-color: #272b32; /*#4f4f4f*/
	color: #e7e7e7;
}
h1 {
	font-weight: 600;
	font-size: 24px;
}
h4 {
	margin: 0;
	text-align: left;
	font-weight: 600;
}

iframe {
	border: 1px solid #474f5b;
	border-radius: 8px;
	background: #1c1f24;
	width: 100%;
	height: 100%;
}

/* Scrollbars */

.scrollable		{overflow: auto;}
.scrollable-x	{overflow-x: auto;}
.scrollable-y	{overflow-y: auto;}

/* The emerging W3C standard
   that is currently Firefox-only */
.scrollable,.scrollable-x,.scrollable-y {
	scrollbar-width: 15px;
	scrollbar-height: 15px;
	scrollbar-color: grey #1c1f24;
}

/* Works on Chrome/Edge/Safari */
*::-webkit-scrollbar {
	height: 15px;
	width: 15px;
}
*::-webkit-scrollbar-track {
	background: #1c1f24;
	border: 1px solid #474f5b;
}
*::-webkit-scrollbar-thumb {
	background-color: grey;
	border-radius: 5px;
	border: 2px solid grey;
}
*::-webkit-scrollbar-corner {
	background: #1c1f24;
	border: 1px solid #474f5b;
}
/* Value classes */

.mobile-latest {
	white-space: nowrap;
}

.mobile-latest.scrollable-y {
	padding-bottom: 25px;
}

.HW {
	color: #80ff80 !important;
}
.LW {
	color: #ff0000 !important;
}

.latest-frame {
	width: 100%;
	height: 100%;
}

.custom-table {
	border: 1px solid #fff;
}

.PLG-scroll .latest-table {
	height:95%;
	width:100%;
}

.scrollable-y > .latest-table,
.latest-table.scrollable-y {
	width:100%;
}

.PLG-columns .latest-table {
	max-width:95%;
	margin-left: 2%;
	margin-right: 2%;
	margin-bottom: 50px;
}

.PLG-columns .latest-table tr{
	-webkit-column-break-inside: avoid;
	          page-break-inside: avoid;
	               break-inside: avoid;
}

.frame-panel .latest-table {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
}

.table-grid-layout .latest-table {
	margin-top: 25px;
	margin-bottom: 25px;
}

.custom-table {
	margin-left: auto;
	margin-right: auto;
}

.custom-table th,
.latest-table th {
	color: #fff;
	border: #fff solid 2px;
	background: #1c1f24;
	white-space: nowrap;
	text-align: right;
	padding: 5px 5px;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}
.custom-table td,
.latest-table td {
	color: #80ff80;
	border: #fff solid 2px;
	background: #1c1f24;
	white-space: nowrap;
	text-align: center;
	padding: 5px 5px;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	vertical-align: middle;
}

.latest-table tr,
.latest-table th,
.latest-table td {
	min-width: 5em;
	height: 60px;
}

.custom-table tr,
.custom-table th,
.custom-table td {
	min-width: 20%;
}

.custom-table .custom-table-spacer,
.latest-table .latest-table-spacer {
	height: 10px;
}

div.table-scroll {
	overflow-y: auto;
	position: absolute;
	top: 50px;
	left: 35px;
	right: 20px;
	bottom: 35px;
	padding-right: 15px;
}

div.PLG-scroll {
	top: 25px;
}

div.custom-table-spacer,
div.latest-table-spacer {
	height: 50px;
}

a.latest-station,
 .latest-station {
	font-weight: 600;
	font-size: 24px;
	color: #fff;
}
.latest-value {
	font-weight: 600;
	font-size: 24px;
	color: #80ff80;
}

.custom-table .latest-value,
.latest-table .latest-value {
	position: relative;
}
.custom-table .latest-value span,
.latest-table .latest-value span {
	display: inline;
}
.custom-table .trend,
.latest-table .trend {
	position:absolute;
	top:5px;
	right:5px;
}
.mobile-latest .latest-value {
	font-size: 32px;
}

.latest-speed-value,
.latest-direction-value {
	width: 45%;
	margin: 0px 5px;
	float: left;
}
.latest-speed-scale,
.latest-direction-text {
	width: 45%;
	margin: 0px 5px;
	font-size: 0.6em;
}
td span.latest-speed-scale,
td span.latest-direction-text {
	position: relative;
	top: 0.4em;
}
.latest-alert {
	color: #ff0000 !important;
}
.latest-warning {
	color: #ffa500 !important;
}
.latest-threshold-1 {	/* green */
	background: #80ff80 !important;
	color: black !important;
}
.latest-threshold-2 {	/* amber */
	background: #ffa500 !important;
	color: black !important;
}
.latest-threshold-3 {	/* red */
	background: #ff0000 !important;
	color: black !important;
}
.latest-blink span {
	animation-duration: 750ms;
	animation-name: blink;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

@keyframes blink {
	0%		{	opacity: 0;	}
	49.99%	{	opacity: 0;	}
	50%		{	opacity: 1;	}
	99.99%	{	opacity: 1;	}
	100%	{	opacity: 0;	}
}
.alignLeft {
	text-align: left	!important;
}
.alignCenter {
	text-align: center	!important;
}
.alignRight {
	text-align: right	!important;
}
.no-data {
	color: #d9534f	!important;
}

.latest-tooltip {
	white-space: nowrap;
	color: #fff;
}

.latest-tooltip th{
	text-align: right;
	padding: 2px 5px;
}

.latest-tooltip td{
	text-align: left;
	padding: 2px 5px;
}

h1.latest-value,
h4.latest-value {
	position: relative;
	white-space: nowrap;
}

.value-trend.pull-right {
	position: absolute;
	top: 2px;
	right: 0px;
}

h4 .value-trend .glyphicon {
	margin-top: 2px;
	font-size: 16px;
}

td .value-trend .glyphicon {
	margin-top: 4px;
	font-size: 24px;
}

.latest-minPeriod {
	display: none;
}

/* Chart/Frame classes */

.chart-frame {
	height: 400px;			/* Height of frame will be set here by jQuery */
	page-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
}
.gauge-frame iFrame,
.chart-frame iFrame {
	border: none;
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 1;
}
.chart-frame .chart-header {
	color: #FFF;
	font-size: 24pt;
	width: 98%;
	z-index: 2;
}
.chart-frame .chart-header {
	position: absolute;
	top: 0px;
	left: 5px;
	right: 5px;
	display: none;
}
.chart-frame .chart-header .latest-station {
	padding: 0px 10px 0px 5px;
	opacity: 0.9;
	font-size: 20px;
	font-weight: 600;
}
.chart-frame .chart-header .latest-value {
	padding: 0px 5px;
	opacity: 0.9;
	font-size: 24px;
	font-weight: 800;
}
.chart-header span.pull-left {
	border-radius: 8px 0px;
}
.chart-header span.pull-right {
	border-radius: 0px 8px;
	position: absolute;
	top: 0px;
	right: 5px;
	white-space: nowrap;
}
.chart-footer {
	font-weight: bold;
	text-align: center;
	width: 98%;
	z-index: 3;
}
.chart-frame .chart-footer {
	position: absolute;
	bottom: 5px;
	display: none;
}

.chart-columnbox {
	padding-top: 18px;
	padding-bottom: 15px;
	min-width: 500px;
	column-fill: auto;
}

/* Bootstrap classes */
.row {
	margin-left: 0px;
	margin-right: 0px;
}
.container-fluid {
	padding: 0px;
}
.nav {
	height: 50px;
}
.navbar {
	border-radius: 0px;
	border: 0px;
	font-weight: 600;
}
.navbar-collapse {
	padding: 0px;
}
.navbar-brand {
	padding: 5px;
	padding-right: 0px;
}
.navbar-default .navbar-nav>li>a {
	color: #e7e7e7;
	background-color: #1c1f24;
}
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
	background-color: #e7e7e7;
	color: #1c1f24;
}

.navbar-default .navbar-nav>li>.dropdown-menu>.active>a,
.navbar-default .navbar-nav>li>.dropdown-menu>.active>a:hover {
	color: #e7e7e7;
	background-color: #1c1f24;
}

.tooltip-inner {
	max-width: none;
	padding: 10px;
}

/* Authentication Elements */

.PLG-auth-body {
	color: white;
	height: 100%;
	font-weight: 800;
}

.PLG-auth-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
	padding: 5px;
	font-size: 24px;
}

.PLG-auth-container {
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	bottom: 50px;
	font-size: 24px;
	padding: 50px;
}
.PLG-auth-login {
	display: flex;
	justify-content: center;
	align-items: center;
}
.PLG-auth-login-panel {
	text-align: center;
}
.PLG-auth-container-panel * {
	margin: 20px 0px 20px 20px;
}

.PLG-auth-container-logo {
	background: white;
	padding: 20px;
}

.PLG-auth-container-buttons {
	white-space: nowrap;
}
.PLG-auth-input {
	background: white;
	color: black;
}
.PLG-auth-input-pin {
	background: white;
	color: black;
	width: 40px;
	margin: 5px;
	text-align: center;
}
.PLG-auth-input-submit {
	background: white;
	color: black;
	padding: 5px 20px;
}

.PLG-auth-table {
	font-size: 24px;
}
.PLG-auth-table th {
	text-align: right;
}

.PLG-auth-table input[name="description"] {
	width: 500px;
}

.PLG-auth-error,
.PLG-auth-error2 {
	color: #F00;
	text-align: center;
}

.PLG-auth-required {
	border-color:	#F00;
	color:	#F00;
}

span.PLG-auth-required {
	margin: 0px;
	display: none;
}

.PLG-auth-footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50px;
	padding: 5px;
}
.PLG-auth-footer-text {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	white-space: nowrap;
	height: 100%;
}

/* Custom elements */

#PLG-Mobile-Indicator {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 5px;
	border: 1px solid #fff;
}
.PLG-Header,
#PLG-Header-Left,
#PLG-Header-Right {
	position: absolute;
	top: 0;
	height: 50px;
	background: #272b32;
	color: white;
}
#PLG-Header-Site,
#PLG-Header-Left,
#PLG-Header-Right {
	overflow: hidden;
}
#PLG-Header-Left {
	left: 0;
	z-index: 9;
}
#PLG-Header-Right {
	right: 0;
	z-index: 12;
}
#PLG-Menu,
#PLG-NavBar{
	background: #1c1f24;
	color: #e7e7e7;
	z-index: 11;
}
#PLG-NavBar{
	height: 50px;
	padding: 0px 30px;
}

#PLG-Footer-Instructions,
#PLG-Footer-TurningPoints {
	position: absolute;
	left: 0;
	bottom: 30px;
	height: 30px;
	width: 100%;
	padding: 0px 30px;
	font-weight: 600;
	line-height: 30px;
	background: #1c1f24;
	z-index: 11;
}
.PLG-TurningPoints {
	font-size: 28px;
}
.PLG-Footer {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 30px;
	line-height: 30px;
	font-weight: 600;
	background: #1c1f24;
	width: 100%;
	padding: 0px 30px;
	z-index: 12;
	overflow: hidden;
}
#PLG-Container {
	position: absolute;
	top: 50;
	left: 0;
	width: 100%;
	bottom: 30;
}
#PLG-Header-Site {
	height: 50px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 30px;
	font-weight: 600;
	line-height: 50px;
	padding: 0px 5px;
}
#PLG-Header-Site-Button {
	width: 45px;
	padding: 10px;
	margin-left: 15px;
	z-index: 10;
}
#PLG-Header-Site-Left {
	z-index: 9;
	padding: 0px 10px;
}
#PLG-Header-Site-Right {
	padding: 0px 10px;
	z-index: 12;
}
#PLG-Header-Site-Logo {
	padding: 5px;
	z-index: 13;
}
#PLG-latest-date {
	padding: 0px 10px;
}

#PLG-debug-panel {
	font-size: 16px;
	background-color: black;
	color: white;
	border: 5px solid #474f5b;
	border-radius: 20px;
	padding: 10px;
	margin: 10px;
	position: absolute;
	top: 250px;
	left: 250px;
	right: 250px;
	bottom: 250px;
	z-index: 5;
	overflow: auto;
}

.clear {
	clear: both;
	line-height: 0;
}

/* === page styles === */

.panel-L, .panel-R {
	height: 100%;
	--display: inline-flex;
}

/* PLG-grid4 pages with 4 layout frames */
.PLG-grid4 .col-lg-12.bottom {
	margin: 0px;
	padding: 30px;
	padding-top: 0px;
	height: 100%;
}
.PLG-grid4 .bottom .col-lg-8 {
	margin: 0px;
	padding: 0px;
	padding-right: 30px;
	width: 67.2%;
}
.PLG-grid4 .bottom .col-lg-4 {
	margin: 0px;
	padding: 0px;
	width: 32.8%;
}
.PLG-grid4 .col-lg-8 .row {
	margin-bottom: 8px;
}
.PLG-grid4 .col-lg-8 iframe {
	width: 100%;
	height: 100%;
}
.PLG-grid4 .col-lg-4 > .row {
	width: 100%;
	margin: 0px;
	--padding: 30px;
	--padding-top: 0px;
}
.PLG-grid4 .col-lg-4 iframe {
	width: 100%;
}
.PLG-grid4 h4 {
	margin-left: 0px;
	margin-right: 10px;
	margin-bottom: 4px;
}
.PLG-grid4 span.pull-right h4 {
	display: inline-block;
}
.PLG-grid4 .frame-panel {
	border: 1px solid #474f5b;
	border-radius: 8px;
	overflow: hidden;
	min-height: 310px;
	min-width: 430px;
	background: #1c1f24;
}
.PLG-grid4 .frame-panel .table-header {
	height: 35px;
}
.PLG-grid4 .frame-panel .frame-header,
.PLG-grid4 .frame-panel .chart-header {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	height: 40px;
	z-index: 10;
}

.PLG-grid4 .frame-panel .panel-LR {
	display: inline-flex;
	position: absolute;
	top: 40px;
	left: 20px;
	right: 20px;
	bottom: 20px;
}

.PLG-grid4 .frame-panel .panel-TL4 {		/*	Aligned Top-Left width 40%	*/
	display: inline-flex;
	position: absolute;
	left: 20px;
	width: 39%;
}
.PLG-grid4 .frame-panel .panel-TL5 {		/*	Aligned Top-Left width 50%	*/
	display: inline-flex;
	position: absolute;
	left: 20px;
	width: 49%;
}
.PLG-grid4 .frame-panel .panel-TL6 {		/*	Aligned Top-Left width 60%	*/
	display: inline-flex;
	position: absolute;
	left: 20px;
	width: 59%;
}
.PLG-grid4 .frame-panel .panel-TL4,		/*	Aligned Top-Left width 40%	*/
.PLG-grid4 .frame-panel .panel-TL5,		/*	Aligned Top-Left width 50%	*/
.PLG-grid4 .frame-panel .panel-TL6 {		/*	Aligned Top-Left width 60%	*/
	display: inline-flex;
	position: absolute;
	top: 40px;
	bottom: 40%;
}

.PLG-grid4 .frame-panel .panel-TR4 {		/*	Aligned Top-Right 40%	*/
	display: inline-flex;
	position: absolute;
	left: 61%;
	right: 20px;
	min-height: 150px;
}
.PLG-grid4 .frame-panel .panel-TR5 {		/*	Aligned Top-Right 50%	*/
	display: inline-flex;
	position: absolute;
	left: 51%;
	right: 20px;
	min-height: 150px;
}
.PLG-grid4 .frame-panel .panel-TR6 {		/*	Aligned Top-Right 60%	*/
	display: inline-flex;
	position: absolute;
	left: 41%;
	right: 20px;
	min-height: 150px;
}
.PLG-grid4 .frame-panel .panel-TR4,		/*	Aligned Top-Right 40%	*/
.PLG-grid4 .frame-panel .panel-TR5,		/*	Aligned Top-Right 50%	*/
.PLG-grid4 .frame-panel .panel-TR6 {		/*	Aligned Top-Right 60%	*/
	display: inline-flex;
	position: absolute;
	top: 40px;
	bottom: 40%;
	min-height: 150px;
}

.PLG-grid4 .frame-panel .panel-BL6 {		/*	Aligned Bottom-Left width 60%	*/
	padding: 5px;
	display: table;
	table-layout: fixed;
	position: absolute;
	left: 20px;
	width: 59%;
	min-width: 430px;
}
.PLG-grid4 .frame-panel .panel-BL6 {		/*	Aligned Bottom-Left width 60%	*/
	padding: 5px;
	display: table;
	table-layout: fixed;
	position: absolute;
	top: 60%;
	bottom: 20px;
	min-width: 430px;
}
.PLG-grid4 .frame-panel .panel-BL6 > .row {
	display: table-row;
	width: 100%;
	--vertical-align: middle;
}
.PLG-grid4 .frame-panel .panel-BL6 > .row > item {
	display: table-cell;
	width: 100%;
	vertical-align: middle;
}

/* PLG-grid6 pages with 6 layout frames */
.PLG-grid6 .col-md-6 .row {
	height: 27vh;
	margin-bottom: 8px;
	padding-bottom: 30px;
}
.PLG-grid6 .col-md-6 iframe {
	width: 100%;
	height: 100%;
}
.PLG-grid6 h4 {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 4px;
}

/* === iframe inards styles === */
.GetChart {
	margin: 0px;
}

/* === Custom Tables === */

.custom-frame,
.custom-table {
	margin: auto;
	width: 100%;
	height: 100%;
}
.custom-table thead td,
.custom-table tfoot td {
	width: 20%;
}
.custom-table thead th,
.custom-table tfoot th {
	max-width: 40%;
	word-wrap: break-word;
}

.custom-table,
.custom-table tr,
.custom-table th,
.custom-table td {
	border: none !important;
}

.custom-parameters,
.custom-parameters tr,
.custom-parameters th,
.custom-parameters td {
	height: 12px !important;
	font-size: 12px !important;
	text-align: center;
}

/* === Media Enquiries === */
@media only screen and (max-width: 1350px) {

	.navbar-header {
		float: none;
	}
	.navbar-toggle {
		display: block;
		float: left !important;
		margin: 8px 0px 8px 15px;
	}
	.navbar-collapse {
		border-top: 1px solid transparent;
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
	}
	.navbar-collapse.collapse {
		display: none!important;
	}
	.navbar-nav {
		float: none!important;
		margin: 7.5px 0px;
	}
	.navbar-nav>li {
		float: none;
	}
	.navbar-nav>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.navbar-text {
		float: none;
		margin: 15px 0;
	}

	/* since 3.1.0 */
	.navbar-collapse.collapse.in {
		display: block!important;
	}
	.collapsing {
		overflow: hidden!important;
	}
	.navbar-collapse.collapse.in {
		display: block!important;
	}
	.navbar-default .navbar-toggle {
		display: block;
	}

}

/* mobile optimisation */
@media only screen and (max-width: 1200px) {

	/* PLG-grid4 pages with 4 layout frames */
	.PLG-grid4 {
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.PLG-grid4 .col-lg-8, .PLG-grid4 .col-lg-4, .PLG-grid4 .col-lg-12 {
		width: 100%;
	}
	.PLG-grid4 .bottom .col-lg-8 {
		width: 100%;
		padding-right: 0px;
	}
	.PLG-grid4 h4 {
		font-size: 24px;
	}
	.PLG-grid4 #single-panel {
		order: 2;
	}
	.PLG-grid4 .bottom {
		order: 3;
		padding-bottom: 60px !important;
	}
	.PLG-grid4 #data-bottom {
		display: none;
	}
	.PLG-grid4 #data-right #data-right-h1-top {
		margin-top: 0px;
	}
	.PLG-grid4 h1 span:not(.trend-icon) {
		margin: 0px 5px;
	}
	.PLG-grid4 h1, .PLG-grid4 h4 {
		text-align: left;
	}
	.PLG-grid4 .col-lg-8 .row {
		height: 50vh;
		margin-bottom: 28px;
	}

	#gauge-panel-right {
		padding-left: 30px !important;
		width: 100%;
		order: 1;
	}
	#gauge-panel-right > .row {
		margin: 0px 5px;
	}
	.bottom .col-lg-8 {
		width: 100%;
		padding-right: 0px;
	}
	.latest-value span:not(.trend-icon) {
		margin: 0px 5px;
	}

}

@media only screen and (max-width: 992px) {

	.PLG-grid6 h4 {
		font-size: 24px;
	}

}

@media only screen and (max-width: 850px) {

	#PLG-Header-Site {
		font-size: 24px;
	}
	/* PLG-grid4 pages with 4 layout frames */
	.PLG-grid4 #data-right #data-right-h1-top {
		margin-top: 20px;
	}
	.PLG-grid4 #panel4 {
		padding-right: 0px;
	}
	.PLG-grid4 h1 span {
		margin: 0px 5px;
	}
	.PLG-grid4 .col-lg-8 .row {
		height: 40vh;
	}

}

/* Marquee animations */
.marquee {
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.marquee .marquee-span {
	display: inline-block;
	text-indent: 0;
}

.marquee .marquee-span:hover {
	animation-play-state: paused
}

@keyframes marquee {
	0%   { transform: translate(  10%, 0); }
	100% { transform: translate(-100%, 0); }
}

/* ----------- Smart Phone Media Queries ----------- */

.mobile {display: none}
.mobile-portrait {display: none}
.mobile-landscape {display: none}


/* Portrait and Landscape */
@media
	screen and (max-width: 480px),
	screen and (max-height: 800px) {

	.mobile {display: inherit;}
	.PLG-TurningPoints {font-size: 14px;}

	.PLG-auth-container-panel * {margin: 10px 0px 10px 10px;}
	.PLG-auth-container-logo {max-width: 90%}
	.PLG-auth-error2 {font-size: 12px;}

	.value-trend.pull-right {
		position: relative;
		top: 0px;
		right: 10px;
	}
}

/* Portrait */
@media
	screen and (max-width: 480px) and (max-height: 800px) {		/* and (orientation: portrait)*/

	.mobile-portrait {display: inherit;}
	.marquee .marquee-span {padding-left: 100%;}
	#PLG-Footer-Instructions .marquee-span {animation: marquee 10s linear infinite;}
	#PLG-Footer-TurningPoints .marquee-span {animation: marquee 20s linear infinite;}

}

/* Landscape */
@media
	screen and (max-width: 800px) and (max-height: 480px) {		/* and (orientation: landscape)*/

	.mobile-landscape {display: inherit;}

}