body,html {
    height: 100%!important;
}

h1 {
  font-size: 2rem;
}

h2 {
	margin: 0px 0px 42px 0px;
}

div#header, div#footer {
  background: lightblue;
  padding: 1em;
}

div#maincontent {
  padding-top: 1em;
  padding-bottom: 4em;
}

div#header img {
  height: 32px;
  width: 32px;
}

div#map_container {
	/*border: solid 1px #000000;*/
	position: relative;
}
/*div#map_list {
	float: left;
	max-width: 80%;
	width: 800px;
	position: relative;
}*/

div#map_formatting {
    border: solid 1px #c0c0c0a0;
    background-color: #eeeeeef0;
    position:absolute;
    right: 0;
    z-index:100;
    /* width: 8em; */
    width: 100%;
    position: sticky;
    bottom: 6px;
    padding: 0.25em 1em;
    display: table;
    margin-bottom: 1em;
    /* -webkit-box-shadow: 6px 6px 6px 0px rgba(191,187,191,1);
    -moz-box-shadow: 6px 6px 6px 0px rgba(191,187,191,1);
    box-shadow: 6px 6px 6px 0px rgba(191,187,191,1); */
}

div#map_formatting table {
	/*border: solid 1px #000000;*/
}

div#map_formatting td {
	text-align: right;
    padding: 0.2rem 0.5rem;
}

div#map_formatting tr {
	border-bottom: solid 1px #ffffff;
}
div#map_formatting tr:last-child {
	border-bottom: none;
}

div#map_formatting td+td {
	text-align: center;

}

div#map_formatting p {
	margin-bottom: 0.25rem;
}

/*this from https://www.w3schools.com/howto/howto_css_custom_checkbox.asp*/

/* Create a custom checkbox */
span.checkmark {
  position: absolute;
  top: 0px;
  left: -4px;
  height: 22px;
  width: 22px;
  background-color: #eee;
  border: solid 1px #000000;
}

/* On mouse-over, add a grey background color */
span input[type="checkbox"] ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
span input[type="checkbox"]:checked ~ .checkmark {
  background-color: #007bff;
}

/* When the checkbox is disabled, add orange background */
span input[type="checkbox"]:disabled ~ .checkmark {
  background-color: #ff8d30;
}

/* Create the checkmark/indicator (hidden when not checked) */
span .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
span input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
span .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

span label {
    margin-left: -10px;
}

/* special delete entry icon */

span.deleteicon {
  background-color: #ffffff;
  
}

span.deleteicon input[type="checkbox"] {
  display: none;
}

span.deleteicon span.checkmark {
  position: absolute;
  top: 6px;
  left: -12px;
  height: 24px;
  width: 24px;
  background: none;
  background: url('/images/delete-icon-24.png') 0 0px no-repeat;
  border: none;
}

span.deleteicon input[type="checkbox"]:checked ~ .checkmark {
  background: none;
  background: url('/images/delete-icon-24-sel.png') 0 0px no-repeat;
  border: none;
}

span.deleteicon span .checkmark:after {
/*  position: absolute;
  height: 24px;
  width: 24px;
  background: none;
  background: url('/images/delete-icon-24.png') 0 0px no-repeat;
  border: none;
*/  display: none;
}

/* On mouse-over, add a grey background color */
span.deleteicon input[type="checkbox"] ~ .checkmark:after {
/*  background: none;
  background: url('/images/delete-icon-24.png') 0 0px no-repeat;
  border: none;
*/  display: none;
}

/* When the checkbox is checked, add a blue background */
span.deleteicon input[type="checkbox"]:checked ~ .checkmark:after {
/*  background: none;
  background: url('/images/delete-icon-24-sel.png') 0 0px no-repeat;
  border: none;
*/  display: none;
}

table.edit-houses th+th, table.edit-houses td+td {
  width: 4rem;
  vertical-align: middle;
}

tr.newrange {
  border-top: solid 2px #ff8d30;
}