/******************************************/
/*         General Page Layout            */
/******************************************/

body, #map_container {
	font-size: 100%;
	height: 100%;
	width:100%;
	margin:0px;
}

table {
	font-family: 'Century Gothic';
	color:#011258;
}

table thead {
    font-size: 20px;
}

td input[type="checkbox"] {
    margin: 0 auto;
    width: 100%;
}

#header {
	width:100%;
	height:100px;
	background-repeat:repeat-x;
	background-color: #164C68;
	height:100%
	/*border-style:solid;
	border-width:1px;*/
}

#main {
	width: 95%;
	/*border-style:solid;
	border-width:1px;*/
	margin:auto;
	position: relative;
	margin-bottom: 10px;
	height: 100%;
}

#headerText {
	font-family: 'Century Gothic';
	font-size: 26px;
	font-weight:bold;
	color: #011258;
	position:absolute;
	bottom:0px;
	left:0px;
	z-index:2;
	display:block;
}

.headerTextHome {
	font-family: 'Century Gothic';
	font-size: 26px;
	font-weight:bold;
	color: #011258;

/*	position:absolute;
	bottom:0px;
	left:0px;
	z-index:2;
	display:block;*/
}

#backgroundHeader {
	position:relative;
}

/******************************************/
/*        Page Objects Properties         */
/******************************************/

a.export, a.export:visited {
    text-decoration: none;
    color:#000;
    background-color:#ddd;
    border: 1px solid #ccc;
    padding:8px;
}

/*change this so it uses a single class (footerlink, or summat)*/
a:link {
	text-decoration: none;
	color: #011258;
}

a:visited {
	text-decoration: none;
	color: #011258;
}

a:hover {
	text-decoration: none;
	color:#011258;
	cursor:pointer;
}

a:active {
	text-decoration: none;
	color: #011258;
}

a.sysNameLink {
	text-decoration: none;
	color: #011258;
	font-size: 15px;
	/*padding-left: 1px;
	padding-right: 1px;*/
}

.cookiesBox {
    width: 98%;
    height: auto;
    padding: 20px;
    background-color: #007399;
    -moz-box-shadow: 0 0 2px 2px #888;
    -webkit-box-shadow: 0 0 2px 2px#888;
    box-shadow: 0 0 2px 2px #888;
    margin-left: 10px;
    color: white;
    font-family: 'Century Gothic';
    font-size: large;
    position:fixed;
    top: 80%;
    box-sizing: border-box;

}

.cookiesBox button {
    width: 100px;
    height: 100%;
    background: #0080c0;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #76b3ef;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Century Gothic';
    outline: none;
    cursor: pointer;
    margin-left: 80%;
    padding: 10px;
}

.cookiesBox button:hover {
    background: #07a0dc;
}

/******************************************/
/*          headersFooters.html           */
/******************************************/

#headerLogo {
	/*background-image: url('../assets/N-light-CONNECT-COLOURv1.png');*/
	width:30%;

	display:block;
	position:relative;
	margin:auto;

	/*background-size:100%;	/*only works in browsers that support css3*/
	background-repeat:no-repeat;
	background-color: transparent;
	/*border-style:solid;
	border-width:1px;*/
}

/******************************************/
/*              login.html                */
/******************************************/

#loginDiv {
    display: -webkit-flex;
    -webkit-justify-content: center;
    display: flex;
    justify-content: center;
	max-height: 5000px;
	max-width: 400px;
	margin: auto;
    -webkit-align-items: center;
    align-items: center;
    /*border: 1px solid black;*/
}

#loginDiv div {
    -webkit-flex: 1;  /* Safari 6.1+ */
    -ms-flex: 1; /*IE 10*/
    flex: 1;
    /*border: 1px solid blue;*/
}

.loginBox img {
    width: 100px;
    height: 100px;
}

.loginImg img {
    width: 90%;
    height: 100%;
    max-width: 301px;
    max-height: 456px;
}

/*Style of the text on the banner*/
.loginHeader {
	color: white;
	font-family: 'Century Gothic';
	font-size: xx-large;
	height: 90px;
  	line-height: 90px;
  	width: 100%;
}


.loginBox {
    width: 100%;
    height: auto;
    min-width: 200px;
    max-height: 5000px;
    padding: 20px;
    background-color: #E6EBED;
    box-shadow: 0px 2px 3px #888888;
    border-radius: 5px;
    border-top: 5px solid #76b3ef;
    margin: 0 auto;
    position: relative;
}

.loginBox input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Century Gothic';
    padding: 0 20px 0 50px;
    outline: none;
}

.loginBox p {
	color: red;
	font-size: 20px;
    font-family: 'Century Gothic';
    display: none;
}

.loginBox input#username {
    background: #fff url(/assets/homeIcon.png) 10px no-repeat;
    background-size: 27px 22px;
}

.loginBox input#username:focus {
    background: #fff url('/assets/home-blue.png') 10px no-repeat;
    background-size: 30px 25px;
}

.loginBox input#password {
    background: #fff url('/assets/pwd.png') 10px no-repeat;
    background-size: 25px 25px;
}

.loginBox input#password:focus {
    background: #fff url('/assets/pwd-blue.jpg') 10px no-repeat;
    background-size: 30px 30px;
}

.loginBox input:active, .loginBox input:focus {
    border: 1px solid #76b3ef;
}

.loginBox button {
    width: 100%;
    height: 40px;
    background: #0080c0;
    box-sizing: border-box;
    border-radius: 5px;
	border: 1px solid #76b3ef;
	margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Century Gothic';
    outline: none;
    cursor: pointer;
}

.loginBox button:hover {
    background: #07a0dc;
}

/******************************************/
/*              admin.html                */
/******************************************/

#backgroundHeaderText {
	font-family: 'Century Gothic';
	font-size: 60px;
	font-weight:bold;
	color: rgb(7,160,220);
	/*border-style:solid;
	border-width:1px;*/
	z-index:2;
	opacity:0.15; /*firefox*/
	filter:alpha(opacity=15); /*IE*/
}

#adminTable td {background-color: #f2f2f2}
#featureTable td:nth-child(odd) {background-color: #f2f2f2}

#featureTable {
/*	text-align: center;
	vertical-align: middle;
	border-collapse: collapse;*/
	float: right;
}

/*#featureTable td {
	background: #f2f2f2;
    font-size: 30px;
    border-bottom: 1px solid #ddd;
}*/

.admin-site {
/*	text-align: center;
	border-collapse: collapse;
	border: 1px solid black;
	vertical-align: center;*/
	float: left;
	width: 50%;
}

#adminTable td, #featureTable td {
	padding: 18px;
/*	border: 1px solid black;*/
	width: 13em;
	text-align: center;
}

#drop-down, #user-role {
    /*width: 170px;*/
    /*height: 30px;*/
    font-size: 15pt;
    padding:8px;
    margin: 0;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    background: #f2f2f2;
    color:#07a0dc;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}

/******************************************/
/*               user.html                */
/******************************************/

#listTable tr:nth-child(even) {background-color: #f2f2f2}

#map_container {
    width: 100%;
    height: 800px;
    position: relative;
}

#map {
/*    width: 1000px;
    height: 800px;*/
    height: 100%;
    width: 100%;
    min-width: 100px;
    display: block;
    position: absolute;
    background-color: #CCC;
}

#dev {
    color: #0080c0;
    font-size: x-large;
}

/******************************************/
/*               site.html                */
/******************************************/

#connectTable tr:nth-child(even) {background-color: #f2f2f2}

#ecTable tr:nth-child(even) {background-color: #f2f2f2}

#old-report-table {
    width: 75%;
    text-align: center;
    padding: 10px 10px 10px 10px;
}

/*for future use*/
/*#originTable tr:nth-child(even) {background-color: #f2f2f2}*/

/******************************************/
/*              panel.html                */
/******************************************/

#deviceTable tr:nth-child(even) {background-color: #f2f2f2}

/******************************************/
/*             device.html                */
/******************************************/

#deviceMain {
    margin-left: 50px;
}

#devicePageImage {

	height: 160px;
	overflow: hidden;
/*	border-style: solid;
	border-width:1px;
	float: left;
	margin-right: 10px;
	display:table;*/
	position: relative;
	margin-left: 40%;
  	margin-right: auto;
}

#devicePageImage img {
	position: relative;
	top: 0%; /*position the topleft corner in the center of the parent*/
	left: 0%;

	margin: 0 0 0 0; /*set top and left margins to half the values set in the height and width values*/

	width: auto;
	height: auto;
	max-height: 150px;
	max-width: 300px;
/*	height:80%;
	width:80%;
/*	margin: -15% 0 0 -25%;*/ /*top, right, bottom, left
		height:80%; /*set the size of the image (percentage of the container's width/length)
	width:80%;*/
}

#devicePageStatus {
	width:50%;
	/*border-style:solid;
	border-width:1px;*/
	position: relative;
	clear:both;
/*	float:left;*/
	margin-left: auto;
  	margin-right: auto;
}

.devicePageStatusBar {
	font-family: 'Century Gothic';
	font-size: 16px;
	font-weight:bold;
	color: #011258;
	width: 100%;
	position: relative;
	/*border-style: solid;
	border-width:1px;*/
	margin-bottom: 10px;
}

.devicePageStatusBarError {
	font-family: 'Century Gothic';
	font-size: 16px;
	font-weight:bold;
	color: rgb(255,0,0);
	width: 100%;
	position: relative;
	/*border-style: solid;
	border-width:1px;*/
	margin-bottom: 10px;
}

.devicePageStatusContainer {
	font-family: 'Century Gothic';
	font-size: 10px;
	color: rgb(7,160,220);
	/*width: 310px;	*/
	width:100%;
	position: relative;
	/*border-style: solid;
	border-width:1px;*/
	padding-bottom: 10px;
}

.devicePageStatusHeader {
	font-family: 'Century Gothic';
	font-size: 14px;
	font-weight:bold;
	background-color: rgb(7,160,220);
	color: white;
	width:100%;
	position: relative;
	/*border-style: solid;
	border-width:1px;*/
	padding-bottom: 2px;
}

.devicePageStatusTable {
	font-family: 'Century Gothic';
	font-size: 10px;
	color: rgb(7,160,220);
	/*width: 300px;*/
	width:100%;
	/*height: 180px; had to give this a height value in order to accom the absolute positioned help tips*/
	position: relative;
	/*border-style: solid;
	border-width:1px;*/
	padding-bottom: 10px;
}

.devPageStatusHeading {
	width:100%;
}

#pagination {
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    padding: 1px 2px 4px 2px;
    /* border-top: 1px solid #AEAEAE; */
    border-bottom: 1px solid #FFFFFF;
    background-color: #DADADA;
    background-image: -webkit-linear-gradient(top, #ffffff, #E2E2E2);
    background-image:    -moz-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:     -ms-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:      -o-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:         linear-gradient(top, #DBDBDB, #E2E2E2);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}
#pagination a, #pagination i {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    color: #7D7D7D;
    text-align: center;
    font-size: 10px;
    padding: 3px 0 2px 0;
    -webkit-user-select:none;
       -moz-user-select:none;
        -ms-user-select:none;
         -o-user-select:none;
            user-select:none;
}

#pagination a {
    margin: 0 2px 0 2px;
    border-radius: 4px;
    border: 1px solid #E3E3E3;
    cursor: pointer;
    box-shadow: inset 0 1px 0 0 #FFF, 0 1px 2px #666;
    text-shadow: 0 1px 1px #FFF;
    background-color: #E6E6E6;
    background-image: -webkit-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:    -moz-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:     -ms-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:      -o-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:         linear-gradient(top, #F3F3F3, #D7D7D7);
}
#pagination i {
    margin: 0 3px 0 3px;
}
#pagination a.current {
    border: 1px solid #E9E9E9;
    box-shadow: 0 1px 1px #999;
    background-color: #DFDFDF;
    background-image: -webkit-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:    -moz-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:     -ms-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:      -o-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:         linear-gradient(top, #D0D0D0, #EBEBEB);
}



