/* global classes */
div.inline-block {
	display: inline-block;
}

body, html {
	width: 100%;
	height: 100%;
}

body {
	/*overflow: hidden;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	background-color: #E3E4E5;
}

/* ############### Header ############### */
header {
	width: 100%;
	height: auto;
	background-color: #464c59;
}

/* DELETE THIS AFTER MOVING TO ALL RESOLUTION STYLE SHEETS */
/* container for image and customer text */
#customer-container {
	height:64px;
	padding: 5px;
}

/* page heading text in header */
h1 {
	display: inline-block;
    position: relative;
	font-size: 1.6rem;
	color: #FFF;
	
}

img.customer-logo-right {
	position:absolute;
	top:0;
	right:0;
}

/* ############### Navigation Menu ############### */

/* whole navigation bar, i.e. sites, stations, moblie */
nav {
	/*height: 28px;*/
	font-size: 0.8rem;
}

/* all navigation elements in <nav> */
nav a {
    float: left;
	white-space: nowrap;
	/*border-right: 1px solid #3A3A3A;*/
	text-decoration: none;
	display: inline-block;
	padding: 5px 5px 0px 5px;
}

/* sites navigation bar */
#nav-sites {
	/*display: none;*/
	width: 100%;
	height: 28px;
	background-color: #464c59;
}

/* sites navigation elements */
#nav-sites a {
    height: 23px;
    color: #FFF;
}

/* stations navigation bar */
#nav-stations {
	display: none;
	width: 100%;
	height: 28px;
	/*background-color: #585d69;*/
	background-color: #6a6f7a;
	
	
	/*background-color: #757575;*/
	/**background-color: #b6b6b7;*/
}

/* station navigation elements */
#nav-stations a {
	height: 23px;
	color: #FFF;
}

/* current selected link in both sites and stations nav menu's*/
#nav-sites a.selected-link, #nav-stations a.selected-link {
	background-color: #fff;
	color: #B63694;
}

/* hover */
#nav-sites a:hover, #nav-stations a:hover, #nav-sites a.selected-link:hover, #nav-stations a.selected-link:hover {
	/*background-color: #3A3A3A;*/
	background-color: #fff;
	color: #B63694;
}


/* div container navigation bar for navigation menu drop down <select> element */
#mobile-nav-container {
	width: 100%;
	background-color: #464c59;
}

/* <select> drop down mobile navigation*/
#mobile-nav-container select {
	background-color: #FFF;
}

/* each option in mobile navigation, only applied on non-mobile devices */
option.mobile-station {
	/*margin-left: 20px;*/
	/*font-style: italic;*/
}

/* data-container, global container for all data, maps, reports etc */
/*#data-container {
//	width: 100%;
//	height: calc(100% - 152px); /* temp whilst working on stations link */
/*height: calc(100% - 150px); / px must be addition of all non data-container elemnents 
	/*margin-bottom: 50px;
	/*background-color: #E3E4E5;
}*/

#sidebar {
	overflow-y: auto;
}

/* ############### map page status table ############## */
table.map-status-table {
	margin-top: 8px;
	width: 100%;
}

/* odd rows in table tbody */
table.map-status-table tbody tr:nth-child(odd) {
	background-color: #F4F5F5;
}

/* even rows in table tbody */
table.map-status-table tbody tr:nth-child(even) {
	background-color: #FFF;
}

/* site name header */
table.map-status-table thead tr {
	color: #464c59;
	background-color: #E3E4E5;
	padding: 2px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75rem;
}

table.map-status-table thead tr th {
	position: relative;
}

/* whole table settings */
table.map-status-table tbody td {
	color: #485156;
	font-size: 0.8rem;
	padding: 2px;
	border: 0;
	/*border: 1px solid #3B4145;*/
	/*background-color: #FFF;*/
}

/* station value column only */
table.map-status-table tbody td.value {
	font-family: "Courier New", Courier, monospace;
	text-align:right;
	/*background-color: white;*/
	color: #485156;
}

/* trafic like status indicator */
div.data-status-indicator {
	display: inline-block;
	position: absolute;
	bottom: 2px;
	right: 2px;
	background-repeat: no-repeat;
	background-size: contain;
}

div.green-data-status {
	background-image: url(../images/green-status.png);
}

div.yellow-data-status {
	background-image: url(../images/yellow-status.png);
}

div.red-data-status {
	background-image: url(../images/red-status.png);
}


/* ############### station data pages status table ############### */

#sidebar-table {
	margin: 0 auto;
	width: 97%;
	background-color: #E3E4E5;
}

#sidebar-table thead {
	margin: 0;
	padding: 0;
	width: 100%;
}

#sidebar-table thead th {
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
}

#table-date {
	background-color: #F4F5F5;
	font-weight: normal;
	font-size: 0.9rem;
}

#table-body tr th {
	padding-top: 5px;
	padding-bottom: 1px;
	font-size: 0.8rem;
	font-weight: bold;
	color: #464c59;
	background-color: #E3E4E5;
}

#table-body tr td {
	/*border: 1px solid black;*/
	padding: 3px 0;
	text-align: center;
	background-color: #FFF;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.8rem;
	color: #000;
}
/* ############### data content ############### */
div.large-split-map-data-content, div.small-split-map-data {
	height: 100%;
	display: inline-block;
	float: left;
	position: relative;
	overflow: hidden;
}

#homepage-map {
	background-image: url(../site-background.jpg);
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
}

/*div.map-data-content {
	width: calc(100% - 355px);
}*/

/* DELETE ??? */
#iframe-container {
	width: 100%;
	height: 100%;
}

/* DELETE ??? */
#iframe-content {
	width: 100%;
	height: 100%;
	border: none;
}

/* ############### Slider Elements ############### */
div.slideshow-element {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

div#control-container {
	width: 240px;
	margin: 0 auto;
	/*background-color: red;*/
}

input.playback-controls {
	width: 50px;
	height: 25px;
	margin-left: 5px;
	margin-right: 5px;
	color: black;
	background-color: #009FE3;
	border: 1px solid #009FE3;
	border-radius: 5px;
}

input.playback-controls-selected {
	width: 50px;
	height: 25px;
	margin-left: 5px;
	margin-right: 5px;
	color: black;
	background-color: grey;
	border: 1px solid grey;
	border-radius: 5px;
}

/* ############### date range selection ############## */

/* CHECK IF ANY OF THIS IS REQUIRED AFTER RESPONSIVE DESIGN */
#custom-range {
	/*width: calc(100% - 290px);*/
	/*padding: 10px 0px 0px 10px;*/
	display: none;
	position: absolute;
	top: 3px;
	left: 3px;
	background-color: white;
	z-index: 1;
}

.dateInput {
	width: 75px;
}

.timeInput {
	width: 50px;
}

#minFrom {
	margin-right: 20px;
}

/* submit button for date range change */
#button {
	background-color: #485156;
	color: #FFF;
	border: 1px solid #485156;
	border-radius: 3px;
}

#button:hover {
	background-color: #B63694;
	border: 1px solid #B63694;
}

/* ############### download button ############## */
#download-button-container {
	position: absolute;
	z-index: 2;
}

#download-button {
	background-color: #485156;
	color: #FFF;
	border: 1px solid #485156;
	border-radius: 3px;
}

#download-button:hover {
	background-color: #B63694;
	border: 1px solid #B63694;
}

/* ############### map pins ############## */
span.map-pins {
	position: absolute;
	/*bottom: 0;*/
	display: inline-block;
	background-image: url('../images/pin.png');
	background-repeat: no-repeat;
	height: 22px;
}

span.map-pins a {
	text-decoration: none;
	color: black;
	font-weight: bold;
	font-size: 0.9rem;
	height: 100%;
	white-space: nowrap;
	float: none;
}

/* ############### Footer ############### */
footer {
	width: 100%;
	height: 50px;
	background-color: #464c59;
	bottom: 0;
	position: fixed;
	/*border-top: 1px solid #3B4145;*/
	z-index: 2;
}

/* POTENTIALLY DELETE THIS AS MAY BE MOVED INTO INDIVIDUAL STYLE SHEETS FOR RESPONSIVE DESIGN */
#ecotech-logo {
	margin: 10px;
	width: 150px;
	height: 100%;
	display: inline-block;
	float: left;
}

#airodis-logo {
	margin: 10px;
	width: 150px;
	display: inline-block;
	float: right;
}

span#copyright {
	margin: 10px;
	height: 32px;
	line-height: 32px;
	position: fixed;
	bottom: 0;
	left: 150px;
	right: 150px;
	text-align: center;
	vertical-align: middle;
	color: #D1D3D4;
	font-size: 0.7rem;
}