
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

html { height: 100%; }
body {
	background: #fff;
	color: #2d2e2e;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	text-align: center;
	height: 100%;
	font-family: BlinkMacSystemFont,-apple-system,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue","Helvetica","Arial",sans-serif;
	font-weight: normal;
	font-style: normal;
	position: relative;
	cursor: auto;
}

img {
  display: inline-block;
  vertical-align: middle;
}

a { color: #4481e4; text-decoration: none;}
a:hover, a:focus {
  color: #254881;
  text-decoration: none;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#embed-content {
	height: 100%; position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

#embed-header {
	height: 20px;
	background: #254881;
	border-bottom: 1px solid #2a4053;
}

.config__error {
	background: rgba(255, 0, 0, 0.75);
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	will-change: transform;
	z-index: 2000;
	transform: translateY(0);
	opacity: 1;
	transition: transform 0.3s linear, opacity 0.3s linear;
}

.config__error h2 { color: #fff; font-size: 24px; margin: 0.875rem 0; text-align: center; }
.config__error p { color: #fff; font-size: 16px; text-align: center; }
.config__error a { color: #fff; }
.config__error a:hover { color: #fff; text-decoration: underline; }

.is-hidden {
	transform: translateY(-200px);
	opacity: 0;
	transition: transform 0.3s linear;
}

.embed-logo a {padding:0 5px 0; font-size:14px; line-height: 20px; font-weight: bold; color:#fff; text-decoration:none;}
.embed-logo a:hover {text-decoration:underline;}
.navbar:after {
	clear: both;
}

#map {
	background-color: #b4ceec;
	z-index: 100;
	overflow: hidden;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.shipname_popup {color:#254881}

#ShipsCountHolder {
	float: left;
	font-size: 14px;
	padding: 3px 4px 0 0px;
}
#TotalShips { float:left; padding: 3px 0px 0 0;}

#vesselfinder-tm {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 12000;
	height: 25px;
}

#vesselfinder-tm a {
	line-height: 25px;
	font-size: 11px; font-weight:bold;
	color: #065785;
}

.embed-logo {
	float:left;margin:0 2px;
}

.embed-menu { float: right; line-height:14px;}
.embed-menu a, .embed-menu span { font-size:14px; color: #fff; text-shadow: 0 1px 0 #000000; display: block; float: left; padding: 3px 5px 0; text-decoration: none; }
.embed-menu a:hover { text-decoration: underline; }
.embed-menu a span {display:inline-block;}

.mobile { margin-left:10px; margin-right: 5px; float: left; }
.brand { float: left; }

a.btn, a.btn:visited {
	display:block; float: left; margin-right: 10px;

	text-decoration: none;
	background-color: #33af2c;
	background-image: none;
	filter: none;
	box-shadow: none;
	padding: 6px 13px;
	text-shadow: none;
	font-weight: normal;
	color: #fff;
	font-size: 14px;
	cursor: pointer;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	z-index: 1;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

a.btn:hover {background-color: #38bd30; text-decoration: none; }

.map_label {
	position: relative; left: 10px; top: -10px;
	font-size: 9px; white-space: nowrap;
	padding: 0px; text-transform: uppercase;
}

.old_ship {
	position: relative; left:21px; top: -10px;
	text-align: left;
	font-weight: bold;
	font-size: 9px; white-space: nowrap;
	padding: 0px; text-transform: uppercase;
	color: #f44040;
}

.track-label {
	position: relative; left: 10px; top: -10px;
	font-size: 10px; white-space: nowrap;
	padding: 3px;
	border: 1px solid rgb(200, 200, 200);
	background-color: rgb(255, 255, 255);
	text-transform: uppercase; text-align: left;
	z-index: 30000;
}

#popup-template { display: none; }

.popup-info {
	color: #333;
	font-size: 11px;
	font-weight: normal !important;
	/*text-transform: uppercase;*/
	background: none;
	margin-bottom: 0;
	padding-bottom: 0px;
	border: 0px;
	overflow: hidden;
}

.popup-info table {
	font-size: 12px;
	font-weight: normal;
	margin-bottom: 0;
	padding: 0;
	border-spacing: 2px;
	line-height: 1em;
}
.popup-info table tr td { border-spacing: 0 !important; border-collapse: collapse !important; }
.popup-info #vessel_type {font-size:12px;}
.popup-info #picture_link { display: block; width:180px; max-height:120px; }
.popup-info #vessel_picture { width:100%; max-height:120px; border:0; }

.vv {
	color: #333;
	font-size: 12px;
	font-weight: bold;
	line-height: 13px;
}
.nn {
	color:#8a8a8a;
}

.btn {
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.2s ease-out;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	padding: 4px 15px;
	font-size: 12px;
	border: 0;
	line-height: 1;
}

.popup-info .button-row { vertical-align: bottom; }

.ml1{color:#eee!important;text-shadow: 1px 1px #111;}
.ml2{color: #FFFFFF!important;text-shadow: 1px 1px #111;}


.ol-attribution{position:absolute;text-align:right;bottom:5px;left:0;padding:0 22px 0 4px;color:#000;color:rgba(238,238,238,1);background:rgba(0,60,136,0.3)}
.ol-attribution a{text-decoration:none;color:#7b98bc;color:rgba(255,255,255,1)}
.ol-attribution ul{margin:0;padding:0;font-size:10px;line-height:12px}
.ol-attribution li{display:inline;list-style:none;line-height:inherit}
.ol-attribution li:not(:last-child):after{content:"\002003"}
.ol-attribution button{display:none;}
.ol-attribution a img {width:20px;height:20px;}
.ol-attribution-bing-tos{float:right;padding-top:2px;white-space:nowrap}
.ol-logo{bottom:0;left:0;padding:2px;position:absolute}
.ol-logo ul{margin:0;padding:0}.ol-logo ul li{display:inline;list-style:none}

.ol-mouse-position {
	bottom: 28px;
	left:0;
	position: absolute;
	font-size: 10px;
	font-weight: bold;
	line-height: 1.2;
	background: #95b9e6;
	background: rgba(0,60,136,0.3);
	border-radius: 0;
	color: #eee;
	pointer-events: none;
}

.ol-mouse-position-inner {
	width: 210px;
	padding: 2px 4px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

table td, table th {
	text-align: left;
	vertical-align: top;
}

.ol-mouse-position-inner>table {
	width: 100%;
	border: 0!important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 10px !important;
	font-family: monospace !important;
}

.ol-mouse-position-inner>table>tbody {
	border: none;
	background-color: transparent;
}

.ol-mouse-position-inner>table>tbody>tr {
	background-color: transparent;
}

.ol-mouse-position-inner>table>tbody>tr>td {
	background-color: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.ol-mouse-position-inner>table>tbody td.llbl {
	width: 25px;
	color: rgba(255,255,255,0.85);
}

.ol-mouse-position-inner>table>tbody td.coordinate {
	font-weight: bold;
	color: #fff;
}

.ol-mouse-position-inner>table>tbody td.coordinate.lat, .ol-mouse-position-inner>table>tbody td.coordinate.lon {
	width: 80px;
}

.mp-bright {color: #fff!important;text-shadow: 1px 1px #111;font-weight:500;}
.ol-scale-line{line-height:1.2;background:#95b9e6;background:rgba(0,60,136,0.3);border-radius:4px;top:5px;left:6px;padding:2px;position:absolute}
.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;font-weight:bold; text-align:center;margin:1px;padding:0 2px;}
.ol-unsupported{display:none}
.ol-viewport .ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}
.ol-zoom,.ol-zoom-extent,.ol-full-screen{position:absolute;background-color:#eee;background-color:rgba(255,255,255,0.4);border-radius:4px;padding:2px}
.ol-zoom:hover,.ol-zoom-extent:hover,.ol-full-screen:hover{background-color:rgba(255,255,255,0.6)}.ol-zoom{top:4.5em;right:1.5em}
.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}
@media print{.ol-zoom,.ol-zoom-extent,.ol-full-screen{display:none}}
.ol-zoom button,.ol-zoom-extent button,.ol-full-screen button{display:block;margin:1px;padding:0;color:white;font-size:14px!important;font-weight:bold;text-decoration:none;text-align:center;height:2.375em;width:2.375em;line-height:.4em;background-color:#7b98bc;background-color:rgba(0,60,136,0.5);border:none}
.ol-zoom button::-moz-focus-inner,.ol-zoom-extent button::-moz-focus-inner,.ol-full-screen button::-moz-focus-inner{border:none;padding:0}
.ol-zoom-extent button{line-height:1.4em}.ol-touch .ol-zoom button,.ol-touch .ol-full-screen button,.ol-touch .ol-zoom-extent button{font-size:1.5em}
.ol-touch .ol-zoom-extent{top:5.5em}.ol-zoom button:hover,.ol-zoom button:focus,.ol-zoom-extent button:hover,.ol-zoom-extent button:focus,.ol-full-screen button:hover,.ol-full-screen button:focus{text-decoration:none;background-color:#4c6079;background-color:rgba(0,60,136,0.7)}
.ol-zoom-extent button:after{content:"E"}.ol-zoom-in{border-radius:2px 2px 0 0}
.ol-zoom-out{border-radius:0 0 2px 2px}button.ol-full-screen-false:after{content:"\002194"}
button.ol-full-screen-true:after{content:"\0000d7"}.ol-has-tooltip [role=tooltip]{display:none;}
.ol-has-tooltip:hover [role=tooltip],.ol-has-tooltip:focus [role=tooltip]{display:none;}
.ol-touch .ol-has-tooltip:hover [role=tooltip],.ol-touch .ol-has-tooltip:focus [role=tooltip]{display:none}
.ol-zoom .ol-has-tooltip:hover [role=tooltip],.ol-zoom .ol-has-tooltip:focus [role=tooltip]{top:1.1em}
.ol-full-screen .ol-has-tooltip:hover [role=tooltip],.ol-full-screen .ol-has-tooltip:focus [role=tooltip]{right:2.2em;left:auto;border-radius:4px 0 0 4px}
.ol-zoomslider{position:absolute;top:4.5em;left:.5em;background:#eee;background:rgba(255,255,255,0.4);border-radius:4px;outline:none;overflow:hidden;width:1.5675em;height:200px;padding:3px;margin:0}
.ol-zoomslider-thumb{position:absolute;display:block;background:#7b98bc;background:rgba(0,60,136,0.5);border-radius:2px;outline:none;overflow:hidden;cursor:pointer;font-size:1.14em;height:1em;width:1.375em;margin:3px;padding:0}
.ol-touch .ol-zoomslider{top:5.5em;width:2.052em}
.ol-touch .ol-zoomslider-thumb{width:1.8em}

.ol-popup {
	display: none;
	position: absolute;
	background-color: white;
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	padding: 10px;
	border-radius: 4px;
	border: 1px solid #cccccc;
	bottom: 18px;
	left: -50px;
}


.ol-popup:after, .ol-popup:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.ol-popup:after {
	border-top-color: white;
	border-width: 15px;
	left: 44px;
	margin-left: -10px;
}
.ol-popup:before {
	border-top-color: #cccccc;
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}
.ol-popup-closer {
	text-decoration: none;
	position: absolute;
	top: 2px;
	right: 8px;
	line-height: 1;
}
.ol-popup-closer:after {
	content: "x";
	font-weight:bold;
}

#ship-info-popup {
	display: none; background: #fff;
	padding: 4px; border: 1px solid #ccc;
	z-index: 20000;
	width: 390px;
}

#old-ship-popup h3, h3.last-reported {font-size: 15px;margin: 0; line-height:1.6; }
#old-ship-popup .time, div.time.last-reported {font-size: 12px;font-weight: bold;color: #e02020;line-height:1.4 ; border-bottom: 1px solid #ccc; padding-bottom: 4px; margin-bottom:4px;}
.adv1 {font-size: 15px;text-align: center; line-height:1.6;}

.popup-panel {
	position: absolute;
	top: 0; left: 0; width:100%; height: 76px;
	background: rgba(255, 255, 255, 0.9); display:none;
	padding: 0;
	z-index:22000;
	box-shadow: 0px 1px 4px rgba(0,0,0,.25);
}
.popup-panel .ol-popup-closer {
	right: 20px;
	font-size: 20px;
	display: block;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 28px;
}
#mapad {
	right:10px;bottom:7px;width:320px;height:50px;position:absolute;
	/*background-color:#fff; padding: 4px; border: 1px solid #065785; */
}
