html, body {
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background-color: black;
  font-family: 'Source Sans Pro', sans-serif;
}
#loadingGif {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  width: 100vh;
  background #356685;
  opacity: .3;
}
#sidebar {
  height: 100%;
  max-width: 100%;
  min-width: 400px;
  max-width: 400px;
  min-height: 100vh;
  background: #FFF;
  position: fixed;
  top:0;
  bottom: 0;
  left: 0;
  z-index: 100;
}
#info {
  padding-left: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #637381;
  height: 120px;
}
#links {
  padding-left: 6px;
  padding-bottom: 3px;
  height:60px;
}
#measures {
  background: #F8F8F8;
  height: 22vh;
}
#leaderboard {
  height: calc(100% - 351px);
}
#stats {
  padding-left: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 11px;
  color: #637381;
}
#challengeTitle {
  font-size: 32px;
  color: black;
}
#leaderboardTitle {
  font-size: 24px;
  color: black;
  padding-left: 1vw;
  padding-top: 5px;
  height: 5%;
}
#top3 {
  padding-left: 6px;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 165px;
}
.topscore {
  text-align: center;
}
.topuser {
  font-weight: bold;
  text-align: center;
}
.topavatar {
  margin-top: 1vh;
  margin-bottom: 1vh;
}
#scoreTable {
  height: calc(100% - 171px);;
  padding-left: 20px;
}
#layerSwitch {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 130px;
  right: 10px;
  z-index: 5;
  background: #FFF;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 2px rgba(0,0,0,0.1);
  z-index: 100;
}
#layerSwitch:hover {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 130px;
  right: 10px;
  cursor: pointer;
  cursor: hand;
  z-index: 5;
  background: #f2f2f2;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 2px rgba(0,0,0,0.1);
  z-index: 100;
}
#layerIcon {
  margin: 5px 0 0 5px;
  width: var(--icon-size);
  height: var(--icon-size);
}
.triangle {
  position: absolute;
  right: -17px;
  bottom: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17.3px;
  border-color: transparent transparent transparent #f8f8f8;
}
.layerBubble{
  width: 10vw;
  background-color: #f8f8f8;
  border-radius: 5px;
  box-shadow: 0 20px 30px -16px rgba(0,0,0,.25);
  display: inline-block;
  padding: 10px 18px;
  position: absolute;
  z-index: 5000;
  right: 40px;
  bottom: 105px;
  font-size: 14px;
  clear:both;
}
.right {
    float: right;
    margin: 20px 20px 20px 45px;
    display: none;
}
.right::before {
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,.1);
    right: -9px;
    z-index: -7;
}
.activeChallenge {
  background: #00BCFF;
  color: #F8F8F8;
  height: 40px;
  width: 85px;
  border: 0px;
  border-radius: 4px;
  padding: 5px;
  margin-right: 1vh;
  cursor: default;
}
.inactiveChallenge {
  background: #356685;
  color: #F8F8F8;
  height: 40px;
  width: 85px;
  border: 0px;
  border-radius: 4px;
  padding: 5px;
  margin-right: 1vh;
  cursor: default;
}
.howToJoin {
  background: #05Cb63;
  color: #F8F8F8;
  height: 40px;
  width: 85px;
  border: 0px;
  padding: 5px;
  border-radius: 4px;
  margin-right: 1vh;
}
.taskingManager {
  background: #FFF;
  color: #05Cb63;
  height: 40px;
  border-radius: 4px;
  padding-left: 5px;
  padding-right: 5px;
  margin-right: 1vh;
  border: 2px solid #05Cb63;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
.tablerow {
  height: 35px;
}
table {
  max-height: 30vh;
}
#map {
  width: 100%;
  height: 100%;
  position: fixed;
  padding-left: 400px;
}
#legend {
  height: 200px;
  width: 300px;
  position: absolute;
  left: 450px;
  top: 1vw;
  z-index: 2;
  border-radius: 5px;
  border: 1px solid #D7DADD;
  box-shadow: 1px 1px 1px 1px #D7DADD;
  background: #FFF;
}
#legend-top {
  height: 17%;
  border-radius: 5px;
  font-weight: bold;
  background: #FFF;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
}
#legend-middle {
  height: 33%;
  font-size: 12px;
  color: #637381;
  background: #FFF;
  padding-top: 10px;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
}
#legend-bottom {
  height: 50%;
  font-size: 12px;
  border-radius: 5px;
  background: #FFF;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
  color: #637381;
}
#progress {

}
#timeSliderContainer {
  height: 70%;
  width: 90%;
  position: relative;
  left: 5%;
  top: 5%;
  z-index: 2;
  padding: 1vh;
  border-radius: 5px;
  border: 1px solid #D7DADD;
  box-shadow: 1px 1px 1px 1px #D7DADD;
  background: #FFF;
  font-size: 12px;
  float: left;
  color: #637381;
}
#tHead {
  overflow: hidden;
  z-index: 50;
  width: 100%;
}
#tBody {
  height: 87%;
  top: 35px;
  overflow-y: scroll;
  z-index: 50;
  width: 100%;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    input[type='range'] {
      overflow: hidden;
      -webkit-appearance: none;
      background-color: #F2F2F2;
    }
    input[type='range']::-webkit-slider-runnable-track {
      height: 10px;
      -webkit-appearance: none;
      color: #D7DADD;
      background-color: #F2F2F2;
    }
    input[type='range']::-webkit-slider-thumb {
      width: 10px;
      -webkit-appearance: none;
      height: 10px;
      border-radius: 50px;
      border: 2px solid #05CB63;
      cursor: ew-resize;
      background: #FFF;
      box-shadow: -180px 0 0 175px #05CB63;
    }
}
/** FF*/
input[type="range"]::-moz-range-progress {
  background-color: #05CB63;
}
input[type="range"]::-moz-range-track {
  background-color: #D7DADD;
}
/* IE*/
input[type="range"]::-ms-fill-lower {
  background-color: #05CB63;
}
input[type="range"]::-ms-fill-upper {
  background-color: #D7DADD;
}
.alt-grid [class*="col-"] {
  padding-left:0;
  padding-right:0;
}
.alt-grid .row {
  margin-left:0;
  margin-right:0;
}
.alt-grid .container {
  width:100%;
  max-width:none;
  padding:30;
}
.onoffswitch {
    position: relative; width: 30px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 0px solid #999999; border-radius: 10px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 14px; padding: 0; line-height: 14px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #05CB63; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #637381; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 14px; height: 14px; margin: 0px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 14px;
    border: 0px solid #05CB63; border-radius: 50px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 1px;
    background-color: #FFFFFF;
}
.dot {
    display: inline-block; width: 12px; height: 12px; margin: 0px;
    right: 12px;
    border: 1px solid #637381; border-radius: 50px;
    transition: all 0.3s ease-in 0s;
    opacity: .9;
}
.square {
    display: inline-block; width: 12px; height: 12px; margin: 0px;
    right: 12px;
    border: 1px solid #637381;
    transition: all 0.3s ease-in 0s;
    opacity: .9;
}
.tRank {
  width: 30px;
}
.tAvatar {
  width: 50px;
}
.tUser {
  width: 130px;
}
.tImages {
  width: 50px;
}
.tKm {
  width: 40px;
}
.tScore {
  width: 40px;
}
.thRank {
  width: 30px;
  font-weight: bold;
}
.thAvatar {
  width: 50px;
  font-weight: bold;
}
.thUser {
  width: 130px;
  font-weight: bold;
}
.thImages {
  width: 50px;
  font-weight: bold;
}
.thKm {
  width: 40px;
  font-weight: bold;
}
.thScore {
  width: 40px;
  font-weight: bold;
}
.radial-progress {
	@circle-size: 120px;
	@circle-background: #d6dadc;
	@circle-color: #97a71d;
	@inset-size: 90px;
	@inset-color: #fbfbfb;
	@transition-length: 1s;
	@shadow: 6px 6px 10px rgba(0,0,0,0.2);

	margin: 50px;
	width:  @circle-size;
	height: @circle-size;

	background-color: @circle-background;
	border-radius: 50%;
	.circle {
		.mask, .fill, .shadow {
			width:    @circle-size;
			height:   @circle-size;
			position: absolute;
			border-radius: 50%;
		}
		.shadow {
			box-shadow: @shadow inset;
		}
		.mask, .fill {
			-webkit-backface-visibility: hidden;
			transition: -webkit-transform @transition-length;
			transition: -ms-transform @transition-length;
			transition: transform @transition-length;
		}
		.mask {
			clip: rect(0px, @circle-size, @circle-size, @circle-size/2);
			.fill {
				clip: rect(0px, @circle-size/2, @circle-size, 0px);
				background-color: @circle-color;
			}
		}
	}
	.inset {
		width:       @inset-size;
		height:      @inset-size;
		position:    absolute;
		margin-left: (@circle-size - @inset-size)/2;
		margin-top:  (@circle-size - @inset-size)/2;

		background-color: @inset-color;
		border-radius: 50%;
		box-shadow: @shadow;
	}
}
.pieContainer {
    height: 50px;
    width: 50px;
    margin-left: 10px;
    text-align: center;
}
.circle {
    background: #F8F8F8;
    position: absolute;
    width: 40px;
    height: 40px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;
    vertical-align: middle;
    display: block;
    padding-top: 7px;
    margin-top: 5px;
    margin-left: 5px;
    padding-left: 5px;
}
.pie {
    position: absolute;
    width: 100px;
    height: 100px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;
    clip: rect(0px, 50px, 100px, 0px);
}
.hold {
      position: absolute;
      width: 100px;
      height: 100px;
      -moz-border-radius: 50px;
      -webkit-border-radius: 50px;
      -o-border-radius: 50px;
      border-radius: 50px;
      clip: rect(0px, 100px, 100px, 50px);
}
.modal {
  display:    block;
  position:   fixed;
  z-index:    1000;
  top:        0;
  left:       0;
  height:     100%;
  width:      100%;
  background: rgba( 0, 0, 0, .8 )
}
.prog {
  display:    block;
  z-index:    1001;
  position: absolute;
  width: 200px;
  top: 50%;
  left: 50%;
  margin: 0 0 0 -100px;
}
.progress-bar-mly {
      background-color: #00BCFF !important;
}
#grad {
  height: 15px;
  background-image: linear-gradient(to right, rgb(249,123,121),rgb(252,187,124),rgb(251,251,123),rgb(185,216,121),rgb(124,187,124));
  color:#888888;
  font-weight: bold;
  display: inline;
  float: left;
  padding-right: 5px;
}
.daterange {
  font-weight: bold;
  font-size: 14px;
}
