/*
 * CSS
 * 
 * $Author: bruce $
 * $Date: 2018-07-26 14:37:41 -0400 (Thu, 26 Jul 2018) $
 * 
 */


* {
	margin:0;
	padding:0;
	font-size:medium;
	font-family: Arial,Helvetica,Univers,Tahoma,sans-serif;
}

/* General Style Info */
body {
	background: #E8E8E8;
	color: #000;
	text-align:center;
}
a {
	color: #2B3856;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	color: #2B3856;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	color: #003d4c;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 200%;
	margin: 0;
	text-align: center;
}
h2 {
	color: #c10;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 170%;
	margin: 0.3em 0;
	text-align: center;
}
h3 {
	color: #660;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 140%;
	text-align: center;
	margin: 0.4em 0 0.2em 0;
	background: #f5f5f5;
}
ul, li {
	margin: 6px 6px;
}

acronym, .ultooltip {
	border-bottom: #000 1px dotted
}

.hanging-indent {
    padding-left: 1.5em;
    text-indent:-1.5em;
}

/* Layout */
#container {
	width: 970px;
	margin: 0 auto;
	text-align: left;
	background: #fff;
}

#header{
	padding: 2px 15px;
}
#header table {
	margin-bottom: 0;
}
#header table tr td {
	padding: 0;
}
#content{
	clear: both;
	color: #333;
	padding: 0 10px;
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	/*width: 100%;*/
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
    background-image: url("data:image/gif;base64,R0lGODlhFQAJAIABAAAAAAAA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gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQBAAABACwAAAAAFQAJAAACF4yPgMsJ2mJ4VDKKrd4GVz5lYPeMiVUAADs=");
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 21px;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
    background-image: url("data:image/gif;base64,R0lGODlhFQAJAIABAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwL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lYPeMiVUAADs=");
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 21px;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
div#header table {
	border: 0;
}
div#header table tr td {
	border: 0;
	text-align: left;
}
div#footer table {
	border: 0;
}
div#footer table tr td {
	border: 0;
	vertical-align: bottom;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.tabnoborder {
	border: 0;
}
.tabnoborder tr td {
	border: 0;
}

table.railtable {
	border-collapse: collapse;
}

table.railtable > * > tr > td {
	padding: 0.2em;
}

.rail-popup.leaflet-tooltip {
	padding: 0px;
	font-size: small;
	line-height: 1;
}

.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

.advsrch_field {
	float:left;
	clear:none;
	padding-bottom: 0;
}

/* Sortable wikitable */

table.wikitable {
	margin: 1em 1em 1em 0;
	background-color: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
	color: black;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
	border: 1px #aaa solid;
	padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
	background-color: #f2f2f2;
	text-align: center;
}
table.wikitable > caption {
	font-weight: bold;
}

table.wikitable th.header { 
    background-image: url(../img/ts_bg.gif);
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 20px;
    border-right: 1px solid #dad9c7;
    margin-left: -1px;
}

table.wikitable th.headerSortUp {
    background-image: url(../img/ts_desc.gif);
    background-color: #d2d2d2;
}

table.wikitable th.headerSortDown {
    background-image: url(../img/ts_asc.gif);
    background-color: #d2d2d2;
}

table.tablesorter th.header { 
    background-image: url(../img/ts_bg.gif);
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 20px;
    border-right: 1px solid #dad9c7;
    margin-left: -1px;
}

table.tablesorter th.headerSortUp {
    background-image: url(../img/ts_desc.gif);
    background-color: #d2d2d2;
}

table.tablesorter th.headerSortDown {
    background-image: url(../img/ts_asc.gif);
    background-color: #d2d2d2;
}

/* Menu */

#mainmenu {
	background: #736AFF;
	color: #fff;
	padding: 0 350px; /* Modify to center menu */
	height: 24px;
}
div#mainmenu a {
	background: #736AFF;
	color: #fff;
	text-decoration: none;
	padding: 4px 0;
}
div#mainmenu a:hover {
	background:#5E5A80;
	color: #fff;
	text-decoration: none;
}


/* Nav menu */
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index: 100;
}

#nav a {
	display: block;
	width: 7em;
}

#nav li { /* all list items */
	float: left;
	width: 7em; /* width needed or else Opera goes nuts */
	margin: 0;
}

#nav li.downarrow {
	width: 1em;
	padding: 4px 0;
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: #736AFF;
	width: 8em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li a {
	border-top: 1px solid black;
	width: 8em;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	margin-left: -7em;
}
#nav li li:hover ul, #nav li li.sfhover ul {
	margin-left: 8em;
}

/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul { margin-left: 0; }
#nav li li a:focus + ul { margin-left: 1007em; }
#nav li li a:focus { margin-left:1000em; width:8em; background: #1ccb4e; }
#nav li li li a:focus {margin-left: 2007em; width: 8em; background: #1ccb4e; }
#nav li:hover a:focus, #nav li.sfhover a.sffocus { margin-left: 0; }
#nav li li:hover a:focus + ul, #nav li li.sfhover a.sffocus + ul { margin-left: 7em; }

#SearchForm {
	background: transparent;
}

#SearchForm div {
	display: inline;
	margin-top: 0;
	font-size: 80%;
}


#SearchForm a {
	font-size: 80%;
}

#SearchForm label {
	padding-right: 0;
	width: auto;
	font-size: 100%;
}


#SearchForm input, #RestSearchForm input {
	font-size: 80%;
}

#SearchForm input[type=image], #RestSearchForm input[type=image] {
	vertical-align: middle;
}

.subdivheading {
	font-weight: bold;
	color: green;
	margin-top: 5px;
	position: relative;
	left: -8px;
}

.validation_red {
	color: #e00;
}

.validation_green {
	color: #0c0;
}

.roundcorner {
	border-radius: 10px;
}

.tracks.view p, .tracks.view span {
	margin: 4px 0px;
	font-size: 18px;
}

.bridges p, .bridges span {
	margin: 4px 0px 0px 0px;
	font-size: 18px;
}

.nbistatistics td {
	padding: 0;
}

.featureinfobox {
	background: #ffc;
    padding: 5px;
    text-align: left;
    width: 75px;
    border: 1px solid #000;
    border-radius: 10px;
    color: #00f;
	transform: translate(-50%, -100%);
}
.featureinfobox a {
	text-decoration: none;
    font-weight: normal;
    font: 12px sans-serif;
}
.featureinfobox a:hover {
	text-decoration: underline;
}

.feature-marker-icon {
	background: transparent;
}

.osm-label {
	background-color:rgba(255,255,255,0.75);
	float: left;
    min-width: 100%;
    line-height: normal;
}

/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 1em;
}
div.paging li {
	display:inline;
}
div.paging li.disabled a {
	color: #ddd;
	display: inline;
	text-decoration: none;
}
div.paging li.active a {
	color: #000;
	text-decoration: none;
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	padding: 0;
	background:#ffc;
}
fieldset {
	border: 1px solid #ccc;
	margin: 0 0 10px 10px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset legend {
	background:#ffc;
	color: #000;
	font-size: 120%;
	font-weight: normal;
}
fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	padding: .5em;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	display: inline;
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	padding-right: 20px;
	float: left;
	width: 10em;
}
input, textarea {
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
}
select {
	clear: both;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	padding: 0 3px;
}
input[type=radio] {
	float:left;
	margin: 2px 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 0;
	padding: 0 20px 0 0;
	width: auto;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}
.filter_form {
	background: #ffc;
	border-radius: 10px;
}	

.filter_form div {
	display: inline;
}

.filter_form label {
	padding-right: 5px;
	float: none;
	width: inherit;
}

.filter_form input[type=radio] {
	float: none;
}

div.filter_form table {
	background: transparent;
	margin: 0;
}

div.filter_form table td {
	background: transparent;
}

.filter_form div.submit input {
	vertical-align: middle;
}

.filter_form div.radio {
	margin: 0;
	padding-top: 0;
	vertical-align: middle;
}

/* Notices and Errors */
.alttext {
	border-bottom: .1em dashed;
}

div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}
table.admin_menu {
	border: 0 none;
}

table.admin_menu th {
	padding: 4px;
}

table.admin_menu a {
	text-decoration: none;
}	

table.admin_menu a:hover {
	text-decoration: underline;
}	

table.admin_menu td {
	text-align: left;
	padding: 2px 4px;
	border: 0 none;
}

table.admin_menu td p {
	padding: 1px;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

div#content a.external {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC") no-repeat scroll right center transparent;
    padding-right: 13px;
}

div#content a.external:visited {
	color: #6B7896;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}