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;
}
#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;
}

select {
	max-width: 130px;
}

.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;
}
.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: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 */
.ecb-reb {display: none;}
.mpt-type {display: none;}
.construction-year {display: none;}
.structure-type {display: none;}
.lntp3 {display: none;}
.ntp3 {display: none;}
.mobility {display: none;}
.in-traffic {display: none;}
.open-traffic {display: none;}
.ppc {display: none;}
.sub-comp {display: none;}
.final-acceptance {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;
}
.vis-today {
	color: yellow;
}
.vis-item.vis-background.timeline-active-construction {
	background-color: rgba(201,145,13,0.3);
	color: #C9910D;
	box-shadow: none;
}
.vis-item.vis-background.timeline-inactive-construction {
	background-color: rgba(0,31,91,0.3);
	box-shadow: none;
}






/*TYPEAHEAD*/
#typeahead {
	position: absolute;
	top: 60px;
	right: 15px;
	z-index: 500;
	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 {
  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);
  z-index: 1000;
}

.tt-suggestion {
  padding: 3px 10px;
  font-size: 1.3em;
}

.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*/



/*PRINT*/
.print-only {visibility: hidden;display:none;}
#print-container {display: none; position:absolute; top:0; bottom:0; z-index: 9999; width: 8.1in;
    height: 6.1in;
    border-right: 1500px solid rgba(0,0,0,0.5);
    border-bottom: 1300px solid rgba(0,0,0,0.5);
	}
#print-bounds {border: thick solid red; width: 8in; height: 6in; }

/*Print Style Sheets */
@media print {
  #topbar, #typeahead, .leaflet-control-container, #close-popup, .button-popup-controls, #print-container {display:none !important;}
  @page {size: 8.5in 11in; margin: 0.5cm;}
  body { font: 12pt Georgia, "Times New Roman", Times, serif;
		line-height: 1.3;
		}
	#map {position: relative; width: 8in; height: 6in;    margin: 0; border: thin solid black;
   }
	.legend {position: relative; display:block !important; top: 0; left: 0; 
			background: white; box-shadow: none; page-break-after: always; border-radius:0; padding:0; margin:1em; max-width: 8in; }
	#P3-logo {position: relative; display:inline; top: 0; right: 0; height: 3em; box-shadow: none; margin-bottom: 1em;}
	
	#bridgeInfoBox {
		position:relative; top:0; left: 0; box-shadow: none; background: none;
	}
	#timeline {
		visibility: hidden !important; display:none;
	}
	
	/*#content1 {margin-bottom: 1em;}
	#utility-table-container {position:relative; top:0; left: 0; box-shadow: none; background: none;}
	
	#pop-up-container, #status-block {visibility: hidden !important; display:none;}*/
	.print-only {visibility: visible; display: inherit;}
	
	.jv-title {
		font-size: 1.8em;
	}
	h3 {
		margin-bottom: 0;
	}
}
/*PRINT*/

