input[type=checkbox] {
	/*display:none;*/
	width: 20px;
	height: 20px;
	padding: 0;
	padding-bottom:10px;
	padding-right:10px;
	margin:0;
	margin-right:5px;
	vertical-align: bottom;
	position: relative;
	top: -1px;
	overflow: hidden;
}

label {
    display: block;
		font-weight:normal;
    padding-left: 3em;
    text-indent: -3em;
		line-height: 1.5em;
}


.switch-field {
	display: flex;
	margin-bottom: 36px;
	overflow: hidden;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #e4e4e4;
	width:100%;
	line-height: 1;
	text-align: center;
	margin-right: -1px;
	border: 2px solid rgba(0, 0, 0, 1);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
}

.switch-field input:checked + label {
	background-color: #a5dc86;
	box-shadow: none;
}

body {
   font-weight: normal;
   font-size: 16px;
   height: 100%;
   background-color: #fff;
}

.ol-popup {
  position:absolute;
  top:-30px;
  left:15px;
  font-size:14px;
  line-height:1em;
  /* filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2)); */
}

.arrow_box {
  padding:5px;
  border-radius:5px;
  position: relative;
  background: #ffffff;
  border: 1.5px solid #999;
}

.arrow_box:after, .arrow_box:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #ffffff;
  border-width: 10px;
  margin-top: -10px;
}

.arrow_box:before {
  border-color: rgba(0, 0, 0, 0);
  border-right-color: #000000;
  border-width: 11px;
  margin-top: -11px;
}

.work_completed {
  width: 240px;
  padding:10px 5px 60px 10px;
}

.button_box {
  width: 210px;
  padding:5px 5px 60px 10px;
}

.button_box button, .work_completed button {
  position: absolute;
  bottom: 10px;
  border-radius:5px;
  width:80px;
  height:40px;
  border: 1.5px solid #999;
}

#worktypes {
  margin: 5px;
}

/* The max width is dependent on the container (more info below) */
.popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.container-xl {
    margin-left: 0px;
    height:100%;
}

.map{
	height:100vh;
	width:100%;
}

/* Hide default cursor when using custom OpenLayers drawing cursor */
.ol-viewport {
	cursor: none !important;
}

#map_status {
  position: relative;
  bottom: 2rem;
  right: 0.25rem;
  padding: 0rem 0.25rem;
  background-color:#e4e4e4;
  z-index: 99;
}

#map_status2 {
  position: absolute;
  top: 0.5em;
  left: 3em;
  padding: 0rem 0.25rem;
  background-color:#e4e4e499;
  border-radius: 4px;
  z-index: 99;
}

.ol-overviewmap,
.ol-overviewmap.ol-uncollapsible {
  bottom: auto;
  left: auto;
  right: 0;
  top: 0;
}

.ol-overviewmap .ol-overviewmap-map {
	height:150px;
	width:150px;
	margin:0px;
  margin-left: 10px;
}

.ol-custom-overviewmap .ol-overviewmap-box {
  border: 2px solid black;
}

.ol-scale-line {
 bottom: 10px;
 left: 10px;
 padding: 5px;
 opacity: 0.7;
}

.ol-scale-bar {
  bottom: 10px;
  left: 10px;
  padding: 5px;
  opacity: 0.7;
}

.ol-mycontrol {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 2px;
  position: absolute;
  width:300px;
  top: 5px;
  left:60px;
}

.qheader {
	font-size: 1.5em;
	margin-top: 5px;
	margin-bottom: 5px;
}

.tab-content>.tab-pane {
    padding: 5px;
    padding-left: 15px;
}

.nav {
    margin-bottom: 5px;
    margin-top: 15px;
}

.nav>li>a {
    padding: 5px 15px;
}

.nav-pills>li {
    float: left;
    padding-left: 10px;
    padding-right: 20px;
}

@media only screen and (max-device-width:640px) {

	.ol-overviewmap,
	.ol-overviewmap.ol-uncollapsible {
	  bottom: auto;
	  left: auto;
	  right: 0;
	  top: 0;
	  visibility: hidden;
	}
}

.hidden { display:none; }
.float-right {float:right;}
.pad-25 { padding: 25px; }

.sm-bold { font-size:10px; font-weight:bold; }
.md-bold { font-size:14px; font-weight:bold; }
.lg-bold { font-size:18px; font-weight:bold; }
.sm-reg { font-size:10px; font-weight:lighter; }
.md-reg { font-size:14px; font-weight:lighter; }
