html, body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    background: #053;
    font-family: Helvetica, Arial, Sans-Serif;
}

*, *:before, *:after {
    box-sizing: inherit;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="number"],
textarea,
select {
    margin: 0px 1px 1px 0px;
    padding: 1px 2px;
    border-radius: 2px;
    border: 1px solid #34749b;
    outline: none;
}
input[type="text"]:hover,
input[type="password"]:hover,
input[type="date"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover {
    box-shadow: 1px 1px 0px 0px #34749b;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: transparent;
    box-shadow: 0px 0px 0px 3px rgba(11,115,226,0.5);
}
input[type="text"][readonly=readonly],
input[type="password"][readonly=readonly],
input[type="date"][readonly=readonly],
input[type="email"][readonly=readonly],
input[type="number"][readonly=readonly],
textarea[readonly=readonly],
select[readonly=readonly],
input[type="text"][readonly=readonly]:hover,
input[type="password"][readonly=readonly]:hover,
input[type="date"][readonly=readonly]:hover,
input[type="email"][readonly=readonly]:hover,
input[type="number"][readonly=readonly]:hover,
textarea[readonly=readonly]:hover,
select[readonly=readonly]:hover {
	background: #558aaa;
	color: #f4f4f4;
	text-align: center;
	box-shadow: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: not-allowed;
}
input[type="text"][disabled=disabled],
input[type="password"][disabled=disabled],
input[type="date"][disabled=disabled],
input[type="email"][disabled=disabled],
input[type="number"][disabled=disabled],
textarea[disabled=disabled],
select[disabled=disabled],
input[type="text"][disabled=disabled]:hover,
input[type="password"][disabled=disabled]:hover,
input[type="date"][disabled=disabled]:hover,
input[type="email"][disabled=disabled]:hover,
input[type="number"][disabled=disabled]:hover,
textarea[disabled=disabled]:hover,
select[disabled=disabled]:hover {
	background: #a8a8a8;
	color: #f4f4f4;
	text-align: center;
	box-shadow: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: not-allowed;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
button {
    margin: 0px 1px 1px 0px;
    padding: 2px 5px;
    border: 1px solid #34749b;
    border-radius: 3px;
    background: #34749b;
    color: #fff;
	font-size: 1em;
    cursor: pointer;
}
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:hover {
    background: #fff;
    box-shadow: 2px 2px 0px 0px #34749b;
    color: #34749b;
}
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
button:active {
    box-shadow: 0px 0px 0px 0px transparent;
}
.pointer {
    cursor : pointer;
}
.pointer:hover{
    font-weight: bold;
}
#header {
    padding: 10px 20px 3px 20px;
}

#header #main-menu-container {
    display: block;
    margin: 10px 0px 0px 0px;
}
#header #main-menu-container ul {
    list-style-type: none;
}
#header #main-menu-container ul li {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    border-right: 1px solid #053;
}
#header #main-menu-container ul.menu li a:link,
#header #main-menu-container ul.menu li a:visited {
    display: block;
	margin: 1px;
    padding: 10px 20px;
    border: 1px solid #fff;
    background: #fff;
    color: #053;
    cursor: pointer;
    text-decoration: none;
}
#header #main-menu-container ul.menu li:first-child a:link,
#header #main-menu-container ul.menu li:first-child a:visited {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
#header #main-menu-container ul.menu li:last-child a:link,
#header #main-menu-container ul.menu li:last-child a:visited {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
#header #main-menu-container ul.menu li a:hover {
    background: #053;
    color: #fff;
    box-shadow: -3px -3px 0px 0px #fff inset;
}
#header #main-menu-container ul.menu li a:active {
    box-shadow: 0px 0px 0px 0px transparent;
}
#header #main-menu-container ul.menu li a img {
    display: inline-block;
    width: auto;
    height: 13px;
    margin: 0px 5px 0px 0px;
}

#header a#logout-link:link,
#header a#logout-link:visited {
    display: inline-block;
    padding: 5px 10px;
    float: right;
    border-radius: 3px;
    border: 1px solid transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
#header a#logout-link:hover {
    border-color: #fff;
    box-shadow: 2px 2px 0px 0px #fff;
}
#header a#logout-link:active {
    background: #fff;
    color: #053;
}
#header a#logout-link img {
    display: inline-block;
    width: auto;
    height: 14px;
    margin: 0px 5px 0px 0px;
}

#body {
    padding: 20px;
    background: #fff;
    min-height: 480px;
}
#datadisplay{
    text-align: center;
}

#footer {
    padding: 10px 20px;
    text-align: center;
    color: #fff;
}

#footer #copyright {
    display: inline-block;
    text-align: left;
    font-size: 0.85em;
}

#debug-container {
    display: block;
    margin: 20px 0px;
    padding: 5px 10px;
    border-radius: 3px;
    background: #f2f2f2;
    box-shadow: 2px 2px 0px 2px rgba(0,0,0,0.3);
    text-align: left;
    color: #333;
    font-size: 0.85em;
    white-space: pre-wrap;
}

.inlineBlock {
    display: inline-block;
}
.indent {
    padding-left: 20px;
}

.clear-both {
    clear: both;
}
.graph-containers {
    display: inline-block;
    margin: 0px 20px 20px 0px;
    float: left;
}

/** tables **/
td{padding: 2px 3px 3px 2px;}
.tdtitle{text-align:center;font-weight:bolder;}
.tdmenu{padding: 3px 5px 5px 5px; font-size: 105%; font-weight: bold; background-color: #053; color: #eee; text-align:center;}
td.tdmenu,th{border:1px solid #053;}
.tdlistfirst{border-left: black solid 1px;border-bottom: black solid 1px;border-right: black solid 1px;}
.tdlist{border-bottom: black solid 1px;border-right: black solid 1px;}

/** alignment **/
.left,.align-left,.alignleft{ text-align: left;}
.right,.align-right,.alignright{ text-align: right;}
.center,.align-center,.aligncenter{ text-align: center; margin: 0 auto;}

h1,h2,h3,h4,h5,h6{
	margin: 0px 0px 10px 0px;
	font-weight: bold;
}
h1 { font-size: 180%;}
h2 { font-size: 150%;}
h3 { font-size: 120%;}
h4 { font-size: 110%;}
h5 { font-size: 90%;}
h6 { font-size: 80%;}

.font8{font-size:80%;}
.font12{font-size:120%;}

ol, ul {
	margin-bottom: 10px;
}

a:link,
a:visited {
	text-decoration: none;
	color: #164ae5;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: underline;
}

