﻿@import url(font/animation.css);
@import url(font/font-awesome.css);
@import url(font/fontello.css);

@font-face {
  font-family: 'Darskin';
  src: url('font/DARSKIN_.ttf') format('truetype');
}

html, body {
	font-family: 'Oxygen', sans-serif; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	-ms-text-size-adjust: 100%; /* 2 */

	 font-size: 1em;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

[data-icon]:before {
  font-family: FontAwesome;
  content: attr(data-icon);
}

.clear {
	clear:both;
}

.icon {
	font-family: 'fontello';
}

.icon-gamepad, .icon-gamepad:before {
  font-family: FontAwesome;	
  border-bottom-color: rgba(255, 106, 0, 0);
}

.icon-gamepad.transition {
	-webkit-animation: pulsateBorder 1s ease-out;
	-webkit-animation-iteration-count: infinite; 
    border-bottom:  5px SOLID rgba(255, 216, 0, 1.0);
}

li {
  list-style-type: none;
}

ul {
	padding: 0;
	margin: 0;
}

/* poi type list */

#poiList {
	display: none;
	background-color: #006dca;
	width: 200px;
	border: 1px solid  rgba(255, 255, 255, .3);
	z-index: 102;
	position: absolute;
	top: 56px;
	width: 250px;
	padding: 10px;
	color: #fff;
	padding: 0 0 0 20px;
	margin: 0 0 0 -10px;
}

#poiList li {
	border-bottom: 1px solid  rgba(255, 255, 255, .3);
	padding: 5px 0 5px 0;
}

#poiList div {
	display: inline-block;
}

[data-poiTypeListIcon] {
	width: 35px;
}

[data-poiTypeListIcon]:before {
  font-family: FontAwesome;
  content: attr(data-poiTypeListIcon);
  font-size: 30px;
}

.pioListActive {
	color: #ff6a00;
}



/* Main UI Container */
#crocpad {
	position: relative;
}

#header {
	top:0;
	left:0;
	width: 100%;
	opacity: 1;
	padding: 0;
	margin: 0;
	height: 56px;
	overflow: hidden;
	background-color: #006dca;
}

#header.defaultColour {
	background-color: #006dca;
}

#header.red {
	background-color: #cc0000;
}

#header.green {
	background-color: #00cc00;
}

#title {
	_font-family: Darskin;
	display: inline;
	color: #fff;
	margin: 10px 0 0 20px;
	padding-top: 10px;
	font-size: 45px;
	font-family: 'Geneva', 'Tahoma', 'Verdana', 'sans-serif';
}

#title:before {
	font-family: Darskin;
	display: inline;
	color: #fff;
	margin: 10px 0 0 20px;
	padding-top: 10px;
	font-size: 50px;
	content: 'C';
}

/* NAVBAR */

#navbar {
	color: #fff;
	margin: 0;
	padding: 0;
	height: 100%;
}

#navbar ul {
	height: 100%;
	margin: 0;
	padding: 0;
}

#navbar li {
	color:#fff;
	display: inline-block;
	position: relative;
	padding: 10px 10px 10px 10px;
	text-decoration: none;
	float:right;
	font-size: 30px;
	border-left: 1px solid  rgba(255, 255, 255, .3);
}

#navbar .active {
	border-bottom: 5px solid #ff6a00;

}

.clearBefore:before {
	content: ''
}

input#progress {
	display:none;
}

div#progressIcon {
	font-family: FontAwesome;
	font-size: 20px;
	position: absolute;
	top: 15px;
	left: 17px;
}

.right{
  float:right;
}

#tool-Sync > div {
	position: absolute;
	top: 1px;
	left: 2px;
}


/*  map */
#map {
	position: absolute;
	top: 56px;
	bottom: 0px;
	width: 100%;
}

#leafletMap {
	width: 100%;
	height: 100%;
}

.leaflet-control-attribution {
	display: none !important;
}

#currentPosition {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 100;
	color: #fff;
	font-size: 20px;
	background-color: rgba(0,0,0,0.3);
	border: 1px solid rgba(255,255,255,0.6);
	padding: 5px;

}

.pulse-point {

	border-radius: 50%;
	background: #2c87ff;
	border: 2px solid #eee;
	box-shadow: 0 0 50px rgba(58, 137, 255, 0.4);
	-webkit-box-shadow: 0 0 50px rgba(58, 137, 255, 0.4);
	-moz-box-shadow: 0 0 50px rgba(58, 137, 255, 0.4);
	animation: pulse 2s infinite;
	height: 20px;
	width: 20px;

	
}

#latlng {
	display: none;
	margin-right: 15px;
}



.poiDropper {
	cursor:crosshair !important;
}

.poiListIcon {
	height: 50%;
    width: 50%;
}

/* map markers */
.marker-active {
	-webkit-transition: all 0.1s;
	width: 60px !important;
	height: 80px !important;
	margin: -80px auto auto -30px !important;
	opacity: 0.7;
	font-size: 32px !important;
}

.leaflet-marker-textIcon {
	color: #fff;
	text-align: center;
	font-family: 'FontAwesome';
	font-size: 16px;
}

.leaflet-marker-textIcon-inner {
	padding-top: 10%;
}

.historicalCluster {
	zpadding-top: 2px !important;
	font-family: Arial !important;
	color: #262C32;
	font-size: 14px;
}

.nestCluster, poiCluster {
	zpadding-top: 2px !important;
	font-family: Arial !important;
	font-size: 10px;
}



.markerIcon-green > div:after {
	content: "\f111";
}

.markerIcon-red > div:after {
	content: "\f10c";
}

[data-markerIcon]:after {
  content: attr(data-markerIcon);

}

.mapboxgl-ctrl-group {
    opacity: 0.4;
}

button.mapboxgl-ctrl-icon {
	width: 120px;
	height: 120px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.7;
}

.mapboxgl-ctrl-pitchtoggle-3d {     
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+ICAgIDx0ZXh0IHg9IjUwJSIgeT0iNTAlIiBkeT0iLjM1ZW0iIHN0eWxlPSJmb250LXNpemU6IDE0cHg7IGZvbnQtZmFtaWx5OiAnSGVsdmV0aWNhIE5ldWUnLEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBmb250LXdlaWdodDogYm9sZDsgdGV4dC1hbmNob3I6IG1pZGRsZTsiPjNEPC90ZXh0Pjwvc3ZnPg==); 
}  
.mapboxgl-ctrl-pitchtoggle-2d {     
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+ICAgIDx0ZXh0IHg9IjUwJSIgeT0iNTAlIiBkeT0iLjM1ZW0iIHN0eWxlPSJmb250LXNpemU6IDE0cHg7IGZvbnQtZmFtaWx5OiAnSGVsdmV0aWNhIE5ldWUnLEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBmb250LXdlaWdodDogYm9sZDsgdGV4dC1hbmNob3I6IG1pZGRsZTsiPjJEPC90ZXh0Pjwvc3ZnPg==); 
}

.mapboxgl-ctrl-compass.locked {
	background-color: #dddddd;
}

.mapboxgl-ctrl-compass.locked :active {
	background-color: #dddddd;
}

/* ddWindow*/
.ddWindow {
	display:none;
	position: absolute;
	top: 56px;
	right: 0px;
	width: 250px;
	padding: 10px;
	color: #fff;
	-webkit-border-radius: 10px;
	border: 2px SOLID #ffffff;
	background-color: rgba(0,0,0,0.5);
	box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
	z-index: 101;
}

/*  config */
#config {
	
}

#config-close {
	font-size: 50px;
	float: right;
}

#config h3 {
	display: inline;
}

#adminSettings {
	display: none;
}

#adminSettings input[type="button"] {
	background: none;
	width: 90%;
	padding: 9px;
	letter-spacing: 1px;
	border: 1px solid #262C32;
	_color: #FFFFFF;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-webkit-appearance: none;
	 display: inline-block;
	 margin: 15px 0 0 0;
}



/* layers */
#layers {
	
}

#layer-list-close {
	font-size: 50px;
	float: right;
}

#layers h3 {
	display: inline;
}

.layerName {
	display: inline-block;
}

.layerName:before {
	font-family: FontAwesome;
	content: "\f06e";
	font-size: 14px;
	padding-right: 10px;
	color: #fff;
	opacity:0;
}

.layerVisible:before {
	opacity:1;
}

.baseLayerTools {
	display: inline-block;
	padding: 0 10px 0 10px;
	float:right;
	font-size: 14px;
}

.cacheProgress {
	color: #fff;
	padding: 0;
}

.cacheView {
	opacity: 0.3;
}

.cacheView.layerVisible {
	opacity: 1;
}

.inProgressRed {
	-webkit-animation: pulsate 1s ease-out;
	-webkit-animation-iteration-count: infinite; 
	opacity: 0.1;
	color: #cc0000;
}

.inProgressBlue {
	-webkit-animation: pulsate 1s ease-out;
	-webkit-animation-iteration-count: infinite; 
	opacity: 0.1;
	color: #0094ff;
}

.inProgressOrange {
	-webkit-animation: pulsate 1s ease-out;
	-webkit-animation-iteration-count: infinite; 
	opacity: 0.1;
	color: #ff6a00;
}

.pulse {
	-webkit-animation: pulsate 1s ease-out;
	-webkit-animation-iteration-count: infinite; 
	opacity: 0.1;
}



/* Action Pads */
#actionPads {
	position: relative;
	position: absolute;
	bottom: 10px;
	height: 190px;
	width: 100%;
	pointer-events: none;
	z-index: 101;
}

.actionPadContainer {
	width: 100%;
	height: 100%;
}

.actionPad {
	width: 33%;
	float:left;
	height: 100%;
}

.actionPad > div {
	margin: 5px;
	opacity: 0.2;
	height: 100%;
	pointer-events: all;
	border: 1px solid #fff;
}

.actionPad > .solid {
	opacity: 1;
}



#actionPad-Search {
	font-family: 'fontello';
	vertical-align: middle;
	text-align:center;
	font-size: 170px;
}
#actionPad-Search:before { content: '🔍'; } /* '\1f50d' */

/* POI */
#poiEdit {
	
	display:box;
	position: absolute;
	top: 56px;
	right: 0px;
	width: 250px;
	padding: 10px;
	color: #000;
	-webkit-border-radius: 2px;
	border: 1px SOLID #ffffff;
	background-color: #fff;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
	z-index: 101;

}

.poiPopup > .buttons {
	position: relative;
}

.poiPopup > .buttons > div, #editDeletePoi {
	font-size: 30px;
	margin: 20px 20px 0 20px;
	float: right;
	display: inline-block;
}

#poiClose {
	font-size: 50px;
	float: right;
}

#poiEdit h3 {
	display: inline;
}

.poiPopup > h3 {
	font-size: 15px;
}


/* Form Elements*/
input[type="button"] {
	background: #262C32;
	width: 100px;
	padding: 9px;
	letter-spacing: 1px;
	border: none;
	color: #FFFFFF;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-webkit-appearance: none;
	 display: inline-block;
	 margin: 15px 0 0 0;
}

.delete {
	color:#bb0000;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="button"]), textarea {
	background: #FFFFFF;
	width: 90%;
	padding: 5px;
	color: #262C32;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-webkit-appearance: none;
}

textarea {
	height: 6em;	
}

#logOutput {
	z-index: 102;
}

/*
	Animations
*/

@-webkit-keyframes pulsate {
    0% {opacity: 0.1;}
    50% {opacity: 1.0;}
    100% {opacity: 0.1;}
}

@-webkit-keyframes pulsateBorder {
    0% { border-bottom-color:rgba(255, 216, 0, 0.1); }
    50% { border-bottom-color:  rgba(255, 216, 0, 1.0); }
    100% { border-bottom-color: rgba(255, 216, 0, 0.1); }
}

@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(58, 137, 255, 0.4);
	}
	70% {
		-webkit-box-shadow: 0 0 0 10px rgba(58, 137, 255, 0);
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 rgba(58, 137, 255, 0);
	}
}
@keyframes pulse {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(58, 137, 255, 0.4);
		box-shadow: 0 0 0 0 rgba(58, 137, 255, 0.4);
	}
	70% {
		-moz-box-shadow: 0 0 0 10px rgba(58, 137, 255, 0);
		box-shadow: 0 0 0 10px rgba(58, 137, 255, 0);
	}
	100% {
		-moz-box-shadow: 0 0 0 0 rgba(58, 137, 255, 0);
		box-shadow: 0 0 0 0 rgba(58, 137, 255, 0);
	}
}