body { margin:0; padding:0; font-family: Arial, Helvetica, sans-serif; color: #001F5B;}
#map { position: absolute; top:0; bottom:0; width:100%;}


#topbar {
	background-color: rgba(124,173,211,0.95);
	position: fixed;
	height: 45px;
	width: 100%;
	z-index:1000;
}
.title {
	font-size: 1.7em;
	font-weight: bold;
	padding-left: 10px;
	padding-top: 3px;
	line-height: 70%;
}
.leaflet-control-layers {
	position: relative;
	top: 52px;
	right: 205px;
}
.leaflet-control-locate {
	position: relative;
	top: 45px;
}

#P3-logo {
	position:absolute;
	background: rgba(255,255,255,0.9);
	bottom: 10px;
	left: 10px;
	z-index: 500;
	border-radius: 6px;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
}
.logo-main {
	height: 40px;
	padding: 5px 8px;
}

.legend {
	position: absolute;
	top: 55px;
	left: 10px;
	background-color: rgba(124,173,211,0.95);
	padding: 7px;
	border-radius: 6px;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
	z-index: 500;
	/*max-width: 600px;*/
}
.legend .legend-title {
	margin-bottom: 5px;
	font-weight: bold;
}
.switch-legend {
	position: absolute;
	top: 55px;
	left: 10px;
	background-color: rgba(124,173,211,0.95);
	padding: 7px;
	border-radius: 6px;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
	z-index: 500;
	display: none;
}
.just-the-tip{
	font-weight: bold;
	border: 1px solid #001F5B;
	background-color: #7CADD3;
	color: #001F5B;
	font-size: 1.2em;
}
.leaflet-tooltip-right:before {
	border: none;
}

#group-drop-down {
	position: absolute;
	top: 10px;
	right: 10px;
}

#bridgeInfoBox {
	position: absolute;
	left: 10px;
	right:10px;
	bottom: 10px;
	z-index: 501;
	background-color: rgba(124,173,211,0.95);
	padding: 8px 10px; 
	border-radius: 6px;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
	display: none;
}

.button-popup-controls {
	background-color: #fff;
    border: 1px solid #001F5B;
    color: #001F5B;
    box-shadow: 0 0 5px gray;
    float: right;
	margin-right: 8px;
	padding: 2px 6px;
	text-decoration: none;
	cursor: pointer;
}
.button-popup-controls-mobile {
	background-color: #fff;
    border: 1px solid #001F5B;
    color: #001F5B;
    box-shadow: 0 0 5px gray;
	margin: 4px;
	padding: 1px 4px;
	text-decoration: none;
	cursor: pointer;
}
.button-popup-controls:hover {
	background-color: #eee;
}

.small-italic {
	font-size: 0.8em;
	margin-top: 4px;
	font-style: italic;
}

#legend-total {
	margin-top: 6px;
}
.bold {
	font-weight: bold;
}
.titlebar-button {
	border: 1px solid #001F5B;
	background-color: #C9910D;
	padding: 5px 8px; 
	cursor: pointer;
	font-weight: bold;
}
.titlebar-button:hover {
	background-color: #DEA82C;
}
.box-jv {
	font-size: 1.4em;
	font-weight: bold;
}
#close-popup {
	float: right;
	cursor: pointer;
	font-size: 2.4em;
	margin-top: -13px;	
}
#browser-edge{
	display: none; 
	position: fixed; 
	z-index: 1000; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%; 
	overflow: auto; 
	background-color: rgba(0,0,0,0.8);
	color: #fff;
	text-align: center;
}

.modal {
	position: fixed; /* Stay in place */
	z-index: 1000; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
	display: none;
}
.modal-content {
	background-color: #eee;
	margin: 100px auto; /* 15% from the top and centered */
	padding: 20px;
	width: 500px; /* Could be more or less, depending on screen size */
	border-radius: 6px;
}
.modal-content p:first-child {
	margin-top: 0;
}
.modal-button {
	border: 1px solid #001F5B;
	background-color: #C9910D;
	padding: 8px 12px; 
	font-size: 20px;
	font-weight: bold;
	border-radius: 6px;
	margin-top: 20px;
}
.modal-button:hover,
.modal-button:focus {
	background-color: #DEA82C;
	cursor: pointer;
}
#modal-password {
	display: block; /*block or none*/
}
#passcode-error {
	display: none;
	color: #B3272D;
}



/* Counters */
.mpt-type {display: none;}
.status {display: none;}
.structure-type {display: none;}
.completion-year {display: none;}
/* Counters End */


/* Timeline */
.vis-timeline {
  background: #fff;
  border: 1px solid #001F5B;
}
.vis-time-axis .vis-grid.vis-odd {
  background: #f4f4f4;
}
.vis-time-axis .vis-grid.vis-even {
  background: #fff;
}
.vis-time-axis .vis-text {
  color: #001F5B;
  font-weight: bold;
}
.vis-item {
  background-color: #C9910D;
  border: 1px solid #001F5B;
  color: #001F5B;
  box-shadow: 0 0 5px gray;
  font-weight: bold;
  cursor: default;
}

/*TYPEAHEAD*/
#typeahead {
	position: absolute;
	top: 60px;
	right: 15px;
	z-index: 1000;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
}

.typeahead,
.tt-query,
.tt-hint {
  padding: 6px;
  border: 2px solid #001F5B;
  border-radius: 4px;
  outline: none;
}
.typeahead:focus {
  border: 2px solid #C9910D;
}

.tt-menu {
  min-width: 98%;
  margin: 8px 0;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  
  left: auto !important;
  right: 0 !important;
  overflow: hidden;
  white-space: nowrap;
}


.tt-suggestion {
  padding: 3px 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.tt-suggestion-invalid {
  padding: 3px 10px;
  cursor: default;
  text-align: center;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #C9910D;
}
.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #C9910D;

}

.tt-suggestion p {
  margin: 0;
}
/*TYPEAHEAD END*/


/*TOOL TIP*/
.tooltip .tooltiptext {
    visibility: hidden;
    width: 95%;
    background-color: #1C1C1C;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
	box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    top: 105%;
    margin-left: -5px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #1C1C1C transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
/*TOOL TIP*/
/*MEDIA QUERIES*/
@media only screen and (max-width: 560px) {
	#typeahead {
		position: absolute;
		top: 6px;
		right: 8px;
		box-shadow: none;
	}
	.title {
		font-size: 1.4em;
		padding-left: 6px;
		padding-top: 6px;
	}
	.tt-menu {
	  width: 100%;
	  white-space: normal;
	  max-height: 200px;
	  overflow-y: auto;
	}
	.tt-suggestion {
	  border-bottom: 1px solid #C9910D;
	}
	.tt-suggestion:last-child {
	  border-bottom: none;
	}
}
/*MEDIA QUERIES*/



