/*html {
	background-color: #ffffff;
	height: 100%;
	width: 100%;
	margin: 0; 
	padding: 0;
	overflow: hidden;
	color: #000000;
}
*/
.mapContainer img {
	vertical-align: middle;
}

.mapContainer { 
	position:relative; 
	z-index: 0; 
	margin: 0 auto;  
	overflow: hidden;	
	color: #000000; 
	display:none; 
}
#mapLayer
{
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 750;
}
#map {
    top: 60px;
    left: 70px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#menuB
{
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;    
    font-size:15px;
    font-weight:bold;  
}

.mapContainer #menu
{
    background-color: #6196bf;
    font-size:12px;
    color: #080848;
    filter: alpha(opacity=85);
    -moz-opacity:0.85;
    -khtml-opacity: 0.85;
    opacity: 0.85;
    border-radius: 5px;
    border:1px solid #2B2E57;
    display: none;
    z-index: 999;
    position: absolute;
    line-height:25px;
    font-family:Verdana;
    padding-left:10px;
    padding-right:10px;
	right:70px;
	top:10px;
}
.mapContainer #menu ul{
	padding-left:0px;
	list-style-type:none;
}
.mapContainer #menu ul li{
	font-weight:700;
	line-height:initial;
	margin-bottom:10px;
}
.mapContainer #menu  ul li input{
	vertical-align:top;
	display:inline-block;
	margin:0px;
	margin-right:3px;
	height:15px;
	width:15px;
}
.mapContainer #menu ul li label{
	display:inline-block;
	vertical-align:top;
	font-weight:700;
	line-height:initial;
}

.mapContainer #menu #close-button {
width: 29px;
height: 29px;
background: url(images/close-button.png) no-repeat;
float: right;
top: 0;
cursor: pointer;
}

.mapContainer #menu h5
{
    font-family:Verdana;
    text-align: center;
    height:29px;
    line-height:29px;
    color: #080848;
    width:200px;
    font-weight:bold;
    padding:0;
    }

#distDisp
{
    background-color:#6196bf;
    font-family:Verdana;
    text-align: center;
    height:29px;
    line-height:29px;
    padding-left:5px;
    padding-right:5px;
    font-weight:bold;
    color: #080848;
    filter: alpha(opacity=85);
    -moz-opacity:0.85;
    -khtml-opacity: 0.85;
    opacity: 0.85;
    border: 1px solid #000080;
    border-radius: 5px;
    bottom:28px;
    left:1px;
    z-index: 999;
    position: absolute;
    display:none;
    width:200px;
    }
 #mLegend1
 {
  background-color:#6196bf;
  font-family:Verdana;
   font-size:15px;
  text-align: center;
  padding:10px;
  max-width:62%;
  font-weight:bold;
  color: #080848;
  filter:alpha(opacity=85);
  -moz-opacity:0.85;
  -khtml-opacity: 0.85;
  opacity: 0.85;
  border: 1px solid #000080;
  border-radius: 5px;
  bottom:28px;
  left:10px;
  z-index: 999;
  position: absolute;
  visibility:hidden;
 }
 #mLegend2
 {
 background-color: #6196bf;
 max-width:62%;
 font-size:15px;
 font-family:Verdana;
 text-align: center;
 padding:10px;
 font-weight:bold;
 color: #080848;
 filter: alpha(opacity=85);
 -moz-opacity:0.85;
 -khtml-opacity: 0.85;
 opacity: 0.85;
 border: 1px solid #000080;
 border-radius: 5px;
 bottom:28px;
 left:10px;
 z-index: 999;
 position: absolute;
 visibility:hidden;    
 }
 
 #mLegend3
 {
 background-color: #6196bf;
 width:540px;
 font-family:Verdana;
 text-align: center;
 line-height:15px;
 padding-left:5px;
 padding-right:5px;
 font-weight:bold;
 color: #080848;
 filter: alpha(opacity=85);
 -moz-opacity:0.85;
 -khtml-opacity: 0.85;
 opacity: 0.85;
 border: 1px solid #000080;
 border-radius: 5px;
 bottom:28px;
 left:1px;
 z-index: 999;
 position: absolute;
 visibility:hidden;    
 }       
    

.mapContainer #menu input[type="checkbox"]
{  
   width:15px;
   height:15px;
   background:white;
   border-radius:5px;
   border:2px solid #555;
}


.mapContainer #menu input[disabled]{
 color:#666 !important; 
 opacity: .3;
}
    
.mapContainer #menu input:disabled
{
    background:#2B2E57;
}
 
#osm {
	font-size: 0.7em;
	font-style: italic;
	margin-bottom: 20px;
}

#actionDialog {
	position:absolute; 
	top:50px; 
	left:60px; 
	visibility:hidden;
	border: 2px solid #000080;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px 6px 6px 6px;
	background-color: #FFF;
	padding: 5px;
}

#routeEditPanel {
	float: left;
	display:block;
	position: relative;
	width: 102px;
}

.olControlMousePositionDM {
	bottom: 10px;
    right: 10px;
    background-color: white;
    padding: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid rgb(49, 129, 183);
    font-size: 13px;
	font-family: monospace;
	
}

.mapContainer .olMap .olControlScaleLine
{
    right:520px;
    
    }

.olControlPermalink {
	padding: 10px;
}


/**
 * -----------------------------------------------------------------------------
 * AIS layer
 * -----------------------------------------------------------------------------
 */

.ais h2 {
    font-size:16px;
    border-bottom:1px solid #484848;
}

.ais div {
    padding:2px;
    font-size:13px;
}

.ais td:first-child {
    font-size:14px;
    font-weight:normal;
    /*text-align:right;*/
    color:#808080;
    padding-right:10px;
}

.ais td {
    font-size:14px;
    font-weight:bold;
    color:#484848;
    height:18px;
}

.ais ul {
    padding:2px;
    font-size:14px;
    list-style-type:disc;
    list-style-position:inside;
    margin-top:13px;
}

.ais table {
    margin-top:13px;
}

.ais img {
    margin-right:6px;
    margin-bottom:2px;
    border:1px solid #484848;
    padding:1px;
}

div.olControlZoom
{
    position:absolute;
           
    left:8px;
    height:65px;
    border-radius:6px 6px 6px 6px;;
    top:10px;
    padding:2px;
    z-index:998 !important;
    }

div.olControlZoom a:hover
{
    background:none repeat scroll 0 0 rgba(0, 60, 136, 0.5);
    
    }
div.olControlZoom a {
    background: none repeat scroll 0 0 rgba(0, 60, 136, 0.5);
    border-radius:4px 4px 4px 4px;
    color: White;
    display: block;
    font-family: Verdana;
    font-size: 30px;
    font-weight: bold;
    height: 30px;
    line-height: 25px;
    padding-bottom:5px;
    margin-top: 1px;
    margin-bottom:2px;
    text-align: center;
    text-decoration: none !important; 
    width: 30px;
    z-index:998 !important;
}    

    
    


    

/**
* Don't display the pink image
**/
.olImageLoadError
{
    display: none !important;
}

tspan, tref, text{cursor:pointer; fill:#032c31; background-color:White; font-weight:normal; opacity: 0.9;}


.menuPopup{ vertical-align:baseline;}
.menuPopup td{ width:33%; font-weight:bold; }
.radiohead td{ border-top: 1px solid #080848; line-height:20px;padding-top:5px;}
.aboveradio td{ padding-bottom:29px;}

/*tspan:hover,tref:hover,text:hover{ z-index:90909;font-size:16px; font-weight:900;fill:black; opacity: 1;}*/

/*.olMap image{border:1px solid #b52412!important;}*/


/* map */
#distDisp #close-button1{
    width:29px;
    float:right;
    z-index:999;
    height:29px;
    background: url(images/close-button.png) no-repeat;
    cursor:pointer;
    }
.checkbox + .styled[disabled=""] + label {
    opacity: 0.6;
} 
.mapContainer #menu #close-button
{
    width:29px;
    height:29px;
    background:url(images/close-button.png) no-repeat;
    float:right;
    margin-top:6px; 
    cursor:pointer;
}
.mapContainer #menu .checkbox, .mapContainer .radio {
	width: 26px;
	height: 25px;
	padding: 0 5px 0 0;
	background: url(images/checkbox1.png) no-repeat;
	display: block;
	clear: left;
	float: left;
}
.mapContainer #menu .radio {
	background: url("images/radio1.png") no-repeat;
}
#menu .select {
	position: absolute;
	width: 158px; /* With the padding included, the width is 190 pixels: the actual width of the image. */
	height: 21px;
	padding: 0 24px 0 8px;
	color: #fff;
	font: 12px/21px arial,sans-serif;
	background: url(images/select.png) no-repeat;
	overflow: hidden;
}

div.olMap {
    z-index: 0;
    padding: 0 !important;
    margin: 0 !important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
    -ms-touch-action: none;
}

div.olLayerDiv {
   -moz-user-select: none;
   -khtml-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;
}
.olLayerGoogleV3.olLayerGoogleCopyright {
    right: auto !important;
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;
}
.olLayerGoogleV3.olLayerGooglePoweredBy {
    bottom: 15px !important;
}
/* GMaps should not set styles on its container */
.olForeignContainer {
    opacity: 1 !important;
}
.olControlAttribution {
    font-size: smaller;
    right: 3px;
    bottom: 4.5em;
    position: absolute;
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   display: block;
   position: absolute;
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
}

div.olControlMousePosition {
    bottom: 0;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0;
    right: 0;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton,
.olControlOverviewMapMaximizeButton {
    height: 18px;
    width: 18px;
    right: 0;
    bottom: 80px;
    cursor: pointer;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}

.olControlNavigationHistory {
   background-image: url("img/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive {
  background-position: 0 0;
}
.olControlNavigationHistoryPreviousItemInactive {
   background-position: 0 -24px;
}
.olControlNavigationHistoryNextItemActive {
   background-position: -24px 0;
}
.olControlNavigationHistoryNextItemInactive {
   background-position: -24px -24px;
}

div.olControlSaveFeaturesItemActive {
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}
div.olControlSaveFeaturesItemInactive {
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}

.olControlPanPanel {
    top: 10px;
    left: 5px;
}

.olControlPanPanel div {
    background-image: url(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0;
    left: 9px;
    background-position: 0 0;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0;
    background-position: 0 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
}

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0;
    left: 0;
    background-position: 0 0;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0;
    background-position: 0 -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0;
    background-position: 0 18px;
}

/*
 * When a potential text is bigger than the image it move the image
 * with some headers (closes #3154)
 */
.olControlPanZoomBar div {
    font-size: 1px;
}

.olPopupCloseBox {
  background: url("img/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
 -khtml-user-select: none;
}

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

/**
 * Layer switcher
 */
.olControlLayerSwitcher {
    position: absolute;
    top: 25px;
    right: 0;
    width: 20em;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    color: white;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    background-color: darkblue;
}

.olControlLayerSwitcher .layersDiv .baseLbl,
.olControlLayerSwitcher .layersDiv .dataLbl {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv,
.olControlLayerSwitcher .layersDiv .dataLayersDiv {
    padding-left: 10px;
}

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.olBingAttribution {
    color: #DDD;
}
.olBingAttribution.road {
    color: #333;
}

.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
    color: #EEE;
}
.olGoogleAttribution {
    color: #333;
}
span.olGoogleAttribution a {
    color: #77C;
}
span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
    color: #EEE;
}

/**
 * Editing and navigation icons.
 * (using the editing_tool_bar.png sprint image)
 */
.olControlNavToolbar ,
.olControlEditingToolbar {
    margin: 5px 5px 0 0;
}
.olControlNavToolbar div,
.olControlEditingToolbar div {
    background-image: url("img/editing_tool_bar.png");
    background-repeat: no-repeat;
    margin: 0 0 5px 5px;
    width: 24px;
    height: 22px;
    cursor: pointer
}
/* positions */
.olControlEditingToolbar {
    right: 0;
    top: 0;
}
.olControlNavToolbar {
    top: 295px;
    left: 9px;
}
/* layouts */
.olControlEditingToolbar div {
    float: right;
}
/* individual controls */
.olControlNavToolbar .olControlNavigationItemInactive,
.olControlEditingToolbar .olControlNavigationItemInactive {
    background-position: -103px -1px;
}
.olControlNavToolbar .olControlNavigationItemActive ,
.olControlEditingToolbar .olControlNavigationItemActive  {
    background-position: -103px -24px;
}
.olControlNavToolbar .olControlZoomBoxItemInactive {
    background-position: -128px -1px;
}
.olControlNavToolbar .olControlZoomBoxItemActive  {
    background-position: -128px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
    background-position: -77px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
    background-position: -77px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
    background-position: -51px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
    background-position: -51px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{
    background-position: -26px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
    background-position: -26px -24px;
}
/*
div.olControlZoom {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px;
}
div.olControlZoom a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 18px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 22px;
    width:22px;
    line-height: 19px;
    background: #130085;
    background: rgba(0, 60, 136, 0.5);
    filter: alpha(opacity=80);
}
div.olControlZoom a:hover {
    background: #130085;
    background: rgba(0, 60, 136, 0.7);
    filter: alpha(opacity=100);
}
@media only screen and (max-width: 600px) {
    div.olControlZoom a:hover {
        background: rgba(0, 60, 136, 0.5);
    }
}
a.olControlZoomIn {
    border-radius: 4px 4px 0 0;
}
a.olControlZoomOut {
    border-radius: 0 0 4px 4px;
}
*/

/**
 * Animations
 */

.olLayerGrid .olTileImage {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

/* Turn on GPU support where available */
.olTileImage {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}

/* when replacing tiles, do not show tile and backbuffer at the same time */
.olTileReplacing {
    display: none;
}

/* override any max-width image settings (e.g. bootstrap.css) */
img.olTileImage {
    max-width: none;
}