body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, img { margin: 0; padding: 0; font-size: 1.0em; font-weight: normal; }

div#page { position: fixed; height: 100%; width: 100%; min-width: unset; font-family: Verdana, Arial, Trebuchet MS, Helvetiva, Lucida Grande, Courier; font-size: 0.7em; }
div#background { position: fixed; height: 100%; width: 100%; background-image: url(/img/cover-icon.png); background-size: 40%; background-repeat: no-repeat; background-position: center; opacity: 0.4; }

.shadow { -webkit-filter: drop-shadow(3px 3px 3px rgba(0,0,0,.5)); }

#loading { position: absolute; top: 62%; left: 10%; width: 80%; height: 35px; border: solid 0px #000; background: #fff; opacity: 0.8;  }
progress[value]::-webkit-progress-value {
  background-image:
	   -webkit-linear-gradient(-45deg, 
	                           transparent 33%, rgba(0, 0, 0, .1) 33%, 
	                           rgba(0,0, 0, .1) 66%, transparent 66%),
	   -webkit-linear-gradient(top, 
	                           rgba(255, 255, 255, .25), 
	                           rgba(0, 0, 0, .25)),
	   -webkit-linear-gradient(left, #09c, #f44);
    background-size: 200px 75px, 100% 100%, 100% 100%;
}
::-webkit-progress-value { transition: width 2s; }


div#toolbar { width: 65%; position: relative; }

div#searchbar { top: 0px; background: #62bbe8; z-index: 1000; opacity: 0.6; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px; }
div#searchbar:hover { opacity: 1.0; }
input#service_search_address { margin: 5px; font-size: 200%; font-family: Roboto, "Helvetica Neue",Helvetica,Arial,sans-serif; width: 96%; padding: 2px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -webkit-filter: drop-shadow(3px 3px 3px rgba(0,0,0,.5)); border-bottom-left-radius: 16px; padding-left: 5px; }

#google_address { background: #000; color: #fff; border: 0px; width: 100%; }

#editgeojson { position: absolute; top: 7px; right: -15px; -webkit-filter: drop-shadow(3px 3px 3px rgba(0,0,0,.5)); z-index: 1001; }
#editgeojson:hover { top: 8px; }

div#info {
	font-size: 125%;
    background: #000;
    color: #fff;
    opacity: 0.8;
    padding: 2px 8px;
    width: 30%;
    top: -5px;
    left: 15px;
    position: relative;
    opacity: 0.5;
    border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;
    z-index: 1001;
}
div#info:hover { opacity: 1.0; }

div#log { font-family: monospace; font-size: 115%; max-height: 35%; overflow-x: auto; float: right; background: #000; color: #fff; opacity: 0.6; padding: 10px; top: 0px; right: 24px; position: fixed; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; z-index: 1000; }
div#log .messages { display: none; }
div#log:hover { opacity: 1.0; }
div#log hr { border: dotted 1px green; }
div#log span.timing { color: #ccc; opacity: 0.4; min-width: 50px; display: inline-block; text-align: right; }
div#log span.ms { color: #666; opacity: 0.7; }
button#togglelog { background: #666; position: fixed; top: 0px; right: 25px; width: 25px; height: 25px; cursor: pointer; z-index: 1001; }
.log { width: 100px; height: 100px; }

div#logout { position: fixed; right: 0px; }
div#logout img { width: 24px; }

div#address { float: left; }

div#legend { position: fixed; bottom: 17px; right: 5px; z-index: 1001; border: dotted 2px #23bcef; background: #00395d; color: #fff; font-size: 16px; padding: 5px; opacity: 0.7; border-radius: 10px; user-select: none; -webkit-filter: drop-shadow(13px 13px 13px rgba(0,0,0,.5)); zoom: 1.2; }
div#legend:hover { border: double 2px #23bcef; opacity: 1.0; }
div#legend img#toggleDrawTools { cursor: pointer; float: right; opacity: 0.7; }
div#legend img#toggleDrawTools:hover { opacity: 1.0; zoom: 1.1; }
div#legend div.item { margin: 2px 5px; height: 20px; vertical-align: middle; transition: all .3s ease-out; }
div#legend div.item:hover { /*transform: translate(0, -1px);*/ -webkit-filter: drop-shadow(3px 3px 3px rgba(0,0,0,.5)); }
div#legend div.item div.check { display: inline-block; height: 16px; vertical-align: middle; margin-right: 3px; }
div#legend div.item div.check input { width: 1.2em; height: 1.2em; cursor: pointer; }
div#legend div.item label.name { display: inline-block; line-height: 14px; vertical-align: bottom; cursor: pointer; opacity: 0.9; }
div#legend div.item label.name:hover { opacity: 1.0; }
div#legend div.item label.name img { width: 16px; vertical-align: bottom; margin-right: 3px; }

div#coordinates { position: fixed; bottom: 10px; right: 160px; background: center; padding: 10px; opacity: 0.5; z-index: 1000; }
div#coordinates:hover { opacity: 1.0; }
div#coordinates input { margin: 0px; padding: 0px; border-radius: 10px; width: 115px; text-align: center; }

div#adminmap>div { overflow: hidden; }

/* Google Map */
.gmnoprint { font-size: 75%; }
.gm-style-iw-d>div:first-child { font-weight: bold; font-size: 125%; }
.gm-style-iw-d div.techno { /*border: dotted 1px blue;*/ clear: both; position: relative; }
.gm-style-iw-d div.techno img { height: 20px; width: 20px; float: left; }
.gm-style-iw-d div.techno img.not { position: absolute; opacity: 0.8; }
.gm-style-iw-d div.techno span.name { float: left; vertical-align: middle; line-height: 20px; padding-left: 4px; }
button[title='Toggle fullscreen view'] { display: none; }


#searching { display: none; position: absolute; top: 5px; right: 32px; z-index: 1005; float: right; }

/* loading.io */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  margin: 6px;
  border: 6px solid #00395d;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #00395d transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Firefox form padding */
@-moz-document url-prefix() { 
	input, button { border-width: 2px; }
	input[type=checkbox] { -moz-transform: scale(0.8); }
	select { border-width: 1px; }
}


/* Hide log on mobile */
@media only screen and (max-width: 600px) {
	div#log .messages { display: none; }
	div#toolbar { width: 90%; }
	div#info { width: 60%; }
}
