@font-face 
{
    font-family: 'Nimbus';
    src: url('font/nimbus.eot');
    src: url('font/nimbus.eot?#iefix') format('embedded-opentype'),
         url('font/nimbus.woff') format('woff'),
         url('font/nimbus.ttf') format('truetype'),
         url('font/nimbus.svg#wf') format('svg');
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
    outline: none !important;
}

/* Remove default margin */
body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl,dd { margin: 0; font-weight:normal; font-smooth: never;  }

/* Set core body defaults */
body { min-height: 100vh; scroll-behavior: smooth; text-rendering: optimizeSpeed; line-height: 1.5; }

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] { list-style: none; }

/* A elements that don't have a class get default styles */
a:not([class]) { text-decoration-skip-ink: auto; }

/* Make images easier to work with */
img { max-width: 100%; display: block; }

/* Inherit fonts for inputs and buttons */
input, button, textarea, select { font: inherit; }

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a { text-decoration:none; -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: transparent; }

html, body, main { height:100%; font-family:Arial, sans-serif; font-size:12px; }

main { position:relative; height:100%; }
main #map { position:relative; height:100%; width:100%; z-index: 1; height:-webkit-fill-available;  height: 100vh; width: 100%; min-height: 100%; max-height: none; }

p { display:block; padding:5px 0px 5px 0px; }

label { display:block; padding:0px 0px 5px 0px; }

button { cursor:pointer; }

h1, h2, h3 { font-family: Nimbus, Arial, sans-serif; font-size:24px; display:block; }
h1 { font-size:32px; height:32px; line-height:32px; margin-top:20px; margin-bottom:10px; }
h2 { font-size:16px; margin-bottom:10px; }

#gui { position:fixed; bottom:50px; left:50px; width:90%; max-width:400px; z-index:9999; background:url("images/tile.png") 0px 0px repeat-x; border-top:5px solid rgba(112,177,0,0.8);  -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;  }
#gui a { color: #007b20; cursor:pointer; text-transform:uppercase; }

#gui a[data-toggle] { color:#007b20; display:block; padding:5px 0px 5px 24px; background: url("images/up.svg") 5px 10px no-repeat; -webkit-transition: color 0.5s; transition: color 0.5s;   }
#gui a[data-toggle]:hover { color:#000; }
#gui a[data-toggle].shown { background: url("images/down.svg") 5px 10px no-repeat; color:#000; }

#gui a[data-toggle="location"],
#gui a[data-toggle="location"].shown { background: url("images/location.svg") 4px 5px no-repeat; } 
#gui a[data-toggle="location"] span { color:#686868; margin-left:5px; }

#gui a[data-toggle=panel] { position:absolute; background:rgba(112,177,0,0.8)url("images/up.white.svg") 50% 13px no-repeat; top:0px; left:50%; margin-left:-20px; margin-top:-35px; height:30px; width:40px; text-align:right; z-index:9999;  color:#fff; -webkit-border-top-left-radius: 2px; -webkit-border-top-right-radius: 2px; -moz-border-radius-topleft: 2px; -moz-border-radius-topright: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px; }
#gui a[data-toggle=panel].shown { background:rgba(112,177,0,0.8) url("images/down.white.svg") 50% 13px no-repeat; }
#gui a[data-toggle=panel].loading { background:rgba(112,177,0,0.8) url("images/loader.svg") 50% 8px no-repeat; }
#gui a[data-toggle=panel].shown.loading { background:rgba(112,177,0,0.8) url("images/loader.svg") 50% 8px no-repeat; }

#gui div[data-toggle] { position:relative; display:none; z-index:1; padding:0px 20px 20px 20px; }
#gui div[data-toggle] div[data-toggle] { padding:5px 25px 5px 25px; }
#gui div[data-toggle] div[data-toggle] div[data-toggle] { padding:5px 0px 5px 0px; }
#gui div[data-toggle-show] { display:block; }
#gui div[data-toggle="current-location"] { padding:5px 0px 5px 0px; }


#gui form label { display:block; margin-top:10px; }
#gui form label span { margin-left:10px; color:#c70000; }
#gui form input[type=text] { display:block; padding:10px; border:1px solid #ffcc00; width:98%; }
#gui form textarea { display:block; padding:10px; border:1px solid #ffcc00; width:98%; height:100px; }
#gui form select { width:98%; padding:10px;  border:1px solid #ffcc00; background:none; }
#gui form button { display:block; padding:10px; background:#ffcb3b; border:none; margin-top:10px; width:100px; color:#000; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
#gui form button[data-action=locate] { background:#fb3f26; color:#fff; }

#gui form[data-locate] { content: ""; display: table;  clear: both; }
#gui form[data-locate] button { float:left; margin-right:20px; margin-bottom:10px; }

#gui .success { background:#ffcc00; text-transform:uppercase; margin-top:20px; }
#gui .success span { display:block; padding:10px; color:#000; text-align:center; }

#gui a.current_route span { color:#000; padding-right:5px; }

#gui .location-signal { margin-top:5px; }

#gui .links { }
#gui .links a { display:block; padding:2px 0px 2px 0px; }
#gui .links a:hover { color:#000; }

body.offline #gui { border-top:5px solid #fb3f26; }
body.offline #gui a[data-toggle=panel] { background-color: #fb3f26; }
body.offline #gui a[data-toggle=panel].loading,
body.offline #gui a[data-toggle=panel].shown.loading { background-color:#fb3f26; }

body.offline #gui [data-toggle="subscribe"], 
body.offline #gui [data-toggle="tools"] { display:none; } 

body.tracking #gui { border-top:5px solid #ffcb3b; }
body.tracking #gui a[data-toggle=panel] { background-color: #ffcb3b; }
body.tracking #gui a[data-toggle=panel].loading,
body.tracking #gui a[data-toggle=panel].shown.loading { background-color:#ffcb3b; }

body.offline.tracking #gui { border-top:5px solid #ffcb3b; }
body.offline.tracking #gui a[data-toggle=panel] { background-color: #ffcb3b; }
body.offline.tracking #gui a[data-toggle=panel].loading,
body.offline.tracking #gui a[data-toggle=panel].shown.loading { background-color:#ffcb3b; }

body.online.tracking #gui { border-top:5px solid #ffcb3b; }
body.online.tracking #gui a[data-toggle=panel] { background-color: #ffcb3b; }
body.online.tracking #gui a[data-toggle=panel].loading,
body.online.tracking #gui a[data-toggle=panel].shown.loading { background-color:#ffcb3b; }


#gui div[data-toggle="expand"] { position:absolute; bottom:0px; left:100%; width:0px; height:100%; background:rgba(112,177,0,0.8);  display:block; overflow:hidden; padding:0px; -webkit-border-top-right-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-topright: 2px; -moz-border-radius-bottomright: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; }
#gui div[data-toggle="expand"] > div { position:absolute; top:-5px; right:0px; height:100%; padding:20px; min-width:300px; border-top:5px solid #000; }

.gallery { position:relative; height:400px; margin:0px -20px 0px -20px; overflow:hidden; }
.gallery img { position:absolute; left:0; top:0px; -webkit-transition: opacity 1s ease-in-out; -moz-transition: opacity 1s ease-in-out; -o-transition: opacity 1s ease-in-out; transition: opacity 1s ease-in-out; }

.gallery.crossfade img 
{
  -webkit-animation-name: crossfade; -webkit-animation-timing-function: ease-in-out; -webkit-animation-iteration-count: infinite; -webkit-animation-duration: 20s;
  -moz-animation-name: crossfade; -moz-animation-timing-function: ease-in-out; -moz-animation-iteration-count: infinite; -moz-animation-duration: 20s;
  -o-animation-name: crossfade; -o-animation-timing-function: ease-in-out; -o-animation-iteration-count: infinite; -o-animation-duration: 20s;
  animation-name: crossfade; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-duration: 20s;
}

.gallery img:nth-of-type(1) { animation-delay: 16s; }
.gallery img:nth-of-type(2) { animation-delay: 12s; }
.gallery img:nth-of-type(3) { animation-delay: 8s; }
.gallery img:nth-of-type(4) { animation-delay: 4s; }
.gallery img:nth-of-type(5) { animation-delay: 0; }

@keyframes crossfade 
{
  0% {
    opacity:1;
  }
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

.grecaptcha-badge {
    visibility: hidden;
}

.popup { z-index:9999; }
.popup p { padding:0px 0px 15px 0px; }
.popup-bubble { position: absolute; top: 0;left: 0;transform: translate(-50%, -100%); background:url("images/tile.png") 0px 0px repeat-x; padding:20px; overflow-y: auto; font-family:Arial, sans-serif; font-size:12px;  -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
.popup-bubble-anchor { position: absolute; width:100%;bottom:8px;left: 0; }
.popup-bubble-anchor::after {content: "";position: absolute;top: 0;left: 0;transform: translate(-50%, 0);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;border-top: 8px solid white;}
.popup-container { cursor: auto; height:0; position: absolute; width: 420px; }

.popup-bubble table { border-collapse: collapse; width:100%; }
.popup-bubble table td {  padding:5px;   margin: 0px; vertical-align:top; width:50%; }

p.radio { display:block; background:url('images/radio.png') 0 0 no-repeat; padding-left:64px; min-height:64px; padding-top:30px; }

.tools { padding:10px 0px 10px 0px; }
.tools:after { content: ""; display: table;  clear: both; }
.tools img { float:left; margin-right:10px; }

.tools-wrapper { background:#f6f6f6; padding:20px 20px 20px 20px; margin:5px -20px 20px -20px; }

/* Landscape phones and down */
@media (max-width: 485px), (max-width: 768px)
{
	#gui { width:93%; left:10px; bottom:10px; }
	#gui  .logo { display:none; }
	#gui div[data-toggle] { padding:20px 20px 20px 20px; }
	#gui div[data-toggle=expand] { padding:0px; }
	
	.tools-wrapper { background:#f6f6f6; padding:5px; margin:5px -5px 20px -5px; }
	
	.popup-bubble { padding:5px; }
	.popup-bubble p { padding:2px; }
	.popup-container { width:320px; }
}