html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.calcite-nav-bottom .calcite-map .leaflet-control-zoom {
    margin-top: 28px;
}

.calcite-navbar-search {
    margin-top: 0;
    margin-right: 5px;
    padding: 5px 0;
}

.geocoder-control .geocoder-control-input {
    padding: 5px;
}

.calcite-nav-bottom .panel-body .geocoder-control-suggestions.leaflet-bar {
    top: 25px;
    bottom: auto;
}

.calcite-maps .esri-truncated-attribution {
    max-width: 100% !important;
    width: 100%;
}

.leaflet-touch .leaflet-bar {
    border: none;
}

.leaflet-popup-scrolled {
    overflow: hidden !important;
    border-bottom: 0px;
    border-top: 0px;
}

@media screen and (min-width: 769px) {
    .calcite-layout-small-title.calcite-nav-hidden.calcite-nav-top .calcite-panels,
    .calcite-layout-small-title.calcite-nav-top .calcite-panels {
        top: 75px;
    }
}

.bg-green {
    background-color: #8bc34a !important;
    color: white !important;
}

.bg-yellow {
    background-color: #fbc02d !important;
    color: white !important;
}

.bg-orange {
    background-color: #ef6c00 !important;
    color: white !important;
}

.bg-red {
    background-color: #f44336 !important;
    color: white !important;
}

.bg-black {
    background-color: #333 !important;
    color: white !important;
}

.text-bold {
    font-weight: bold;
}

.text-white {
    color: white;
}

.text-green {
    color: #8bc34a !important;
}

.text-yellow {
    color: #ffeb3b !important;
}

.text-orange {
    color: #ff9800 !important;
}

.text-red {
    color: #f44336 !important;
}

.no-border {
    border: 0;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    color: white;
    background-color: #333;
}

.geocoder-control .geocoder-control-input {
    border: 0px;
}

.geocoder-control .geocoder-control-input {
    background: transparent;
    color: white;
    border-bottom: 1px solid white;
}

.leaflet-control-defaultextent-toggle {
	border-radius: 0px !important;
	height: 30px !important;
	width: 30px !important;
}

.loading,
.loading:before,
.loading:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loading {
  color: #ffffff;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loading:before,
.loading:after {
  position: absolute;
  top: 0;
  content: '';
}
.loading:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loading:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 25px;
}

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 0px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.calcite-title-sub a {
    color: #f8f8f8;
}

.leaflet-container {
	font: 14px/1.5 "Avenir Next W00", "Avenir Next", Avenir;
}

.legend {
    text-align: left;
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.leaflet-pane {
	margin-top: 45px;
}

@keyframes fade { 
    from { opacity: 0.2; } 
}

.gb-blinking {
	animation: fade 0.75s linear alternate infinite;
}

.padding-magma-xs {
    padding: .25em;
}

.padding-magma-sm {
    padding: .5em;
}

.leaflet-usermarker,
.leaflet-usermarker-small {
    width: 42px !important;
    height: 42px !important;
    background: url(../icon/here.png);
    background-size: 100%;
}

.leaflet-usermarker i.pulse,
.leaflet-usermarker-small i.pulse {
    display: block;

    -moz-animation: leaflet-usermarker-pulsate 1.5s ease-in-out infinite;
    -webkit-animation: leaflet-usermarker-pulsate 1.5s ease-in-out infinite;
    animation: leaflet-usermarker-pulsate 1.5s ease-in-out infinite;
    border:1pt solid #fff;
    /* make a circle */
    -moz-border-radius:71px;
    -webkit-border-radius:71px;
    border-radius:71px;
    /* multiply the shadows, inside and outside the circle */
    -moz-box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
    -webkit-box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
    box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
    /* set the ring's new dimension and re-center it */
    height:80px!important;
    margin:-20px 0 0 -20px;
    width:80px!important;
}

.leaflet-usermarker-small i.pulse {
    height: 42px !important;
    width: 42px !important;
    margin: -7px 0 0 -7px;
}

/* For Firefox */
input[type='number'] {
    -moz-appearance:textfield;
}

/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.glyphicon.normal-right-spinner {
    -webkit-animation: glyphicon-spin-r 2s infinite linear;
    animation: glyphicon-spin-r 2s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}