html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.form-group,
.form-checkbox {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.form-label {
  display: block;
  width: 100%;
  font-weight: bold;
}
.form-control {}
.form-help-text {
  display: block;
  margin-top: 2.5px;
  color: #777;
}

/* checkbox radio styles */
.form-group-checkbox {
  display: flex;
  margin: 2px 0;
  align-items: center;
}
.form-group-checkbox > input[type="radio"],
.form-group-checkbox > input[type="checkbox"] {
  margin: 0 5px 0 0;
}
.form-group-checkbox label:hover,
.form-group-checkbox input:hover {
  cursor: pointer;
}


.autocomplete {
  background: white;
  z-index: 1000;
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid #000;
  max-height: 220px !important;
}
.autocomplete * {
  font: inherit;
}
.autocomplete > div {
  padding: 5px;
}
.autocomplete .group {
  background: #eee;
}
.autocomplete > div:hover:not(.group),
.autocomplete > div.selected {
  background: #ddd;
  cursor: pointer;
}


/* modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 0; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* modal header (use heading h4) */
.modal-header {
  margin: -14px 0px 30px 0px
}

/* modal container */
.modal-container {
  position: relative;
  background-color: #fff;
  margin: auto;
  width: 420px;
  margin: 40px auto;
}

@media (max-width: 575px) {
  .modal-container {
    width: 90%;
    max-width: 400px;
    margin: 5% auto;
  }
}

.modal-content {
  padding: 20px;
}

.modal-close {
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 10px;
}

.modal-header {
  margin: 0 65px 20px 0;
}