.leaflet-magnifying-glass {
  border-radius: 50%;
  border: 1px solid gray;
  box-shadow: 0 0 5px gray;
  position: absolute;
  overflow: hidden;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.leaflet-magnifying-glass > .leaflet-container {
  height: 	100%;
  width: 	100%;
}

/* Webkit-only workaround for the border-radius clipping bug,
applied to the map container */
.leaflet-magnifying-glass-webkit {
  border-radius: 50%;
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}

.leaflet-control-magnifying-glass { 
    background-image: url(images/magnifying-glass-icon.png); 
}

.leaflet-control-magnifying-glass-IR { 
    background-image: url(images/magnifying-IR.png);
    width: 28px;
    height: 28px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8); 
    cursor: auto;
    text-align: center;
    background-color: #ffffff;
}

.leaflet-retina .leaflet-control-magnifying-glass-IR { 
    background-image: url(images/magnifying-IR-64.png);
    width: 64px;
    height: 64px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8);
    cursor: auto;
    text-align: center;
    background-color: #ffffff; 
}

.leaflet-control-magnifying-glass-UV { 
    background-image: url(images/magnifying-UV.png);
    width: 28px;
    height: 28px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8);
    cursor: auto;
    text-align: center;
    background-color: #ffffff; 
}

.leaflet-retina .leaflet-control-magnifying-glass-UV { 
    background-image: url(images/magnifying-UV-64.png);
    width: 64px;
    height: 64px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8);
    cursor: auto;
    text-align: center;
    background-color: #ffffff;
}


.leaflet-control-magnifying-glass-XRAY { 
    background-image: url(images/magnifying-XRAY.png);
    width: 28px;
    height: 28px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8); 
    cursor: auto;
    text-align: center;
    background-color: #ffffff;
}

.leaflet-retina .leaflet-control-magnifying-glass-XRAY { 
    background-image: url(images/magnifying-XRAY-64.png);
    width: 64px;
    height: 64px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    padding: 3px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75),inset 1px 1px 5px 1px rgba(0,0,0,0.8);
    cursor: auto;
    text-align: center;
    background-color: #ffffff; 
}


.leaflet-control-magnifying-glass-IR:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-control-magnifying-glass-IR:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-IR:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-IR:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}

.leaflet-control-magnifying-glass-UV:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-control-magnifying-glass-UV:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-UV:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-UV:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}

.leaflet-control-magnifying-glass-XRAY:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-control-magnifying-glass-XRAY:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-XRAY:hover {
	background-color: #f4f4f4;
    box-shadow: 5px 5px 10px 1px rgba(255,255,0,0.74),inset 1px 1px 5px 1px rgba(255,255,0,0.8);
}
.leaflet-retina .leaflet-control-magnifying-glass-XRAY:active {
	background-color: #f9fbc6;
    box-shadow: 5px 5px 10px 1px rgba(0, 255, 0, 0.74),inset 1px 1px 5px 1px rgba(0,255,0,0.8);
}

.onoffswitch {
    position: relative; width: min-content;
    -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: 2px solid #000000; border-radius: 0px;
}

.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 11px; padding: 0; line-height: 7px;
    font-size: 8px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 3px;
    background-color: #00FF00; color: #000000;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 3px;
    background-color: #FF0000; color: #000000;
    text-align: right;
}

.onoffswitch-switch {
    display: block; width: 5px; margin: 0px;
    background: #000000;
    position: absolute; top: 0; bottom: 0; right: inherit;
    -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; 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: 0px; 
}
