/* ****************************** */
/* Location request form */
* {
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  box-sizing: border-box;
}

section>span {
  position: relative;
  display: block;
  background: #0872b4;
  
  width: 50px;
  height: 50px;
  font-size: 40px;
  text-align: center;
  margin: 8px auto 16px auto;
  border: none;
  color: white;
}

section>span:hover {
  
  cursor:pointer;
  
}

section>span>i {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

section>div>form>label {
  position: relative;
  display: block;
  max-width: 500px;
  margin: 16px auto;
  border: gray solid 2px;
  line-height: 50px;
  height: 50px;
  text-align: left;
}

section>div>form input {
  width: 100%;
  height: 100%;
  line-height: 100%;
  font-size: 20px;
  text-align: left;
  padding: 0 8px 0 50px;
  border: none;
}

section>div>form input:focus {
  outline: none;
  background: #eee;
}

section .checkbox {
  padding: 0 8px 0 50px;
}

section .checkbox>input {
  display: none;
}

section .checkbox input~.checked {
  display: none;
}

section .checkbox input:checked~.checked {
  display: inherit;
}

section .checkbox input:checked~.unchecked {
  display: none;
}

section .checkbox>span {
  position: absolute;
  font-size: 30px;
  height: 100%;
  width: 50px;
  text-align: center;
  margin: 0;
  transform: translate(-50px, 0);
}

section .checkbox>span>img {
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

section>div>form>label>i {
  position: absolute;
  font-size: 22px;
  z-index: 2;
  left: 27px;
  top: 50%;
  transform: translate(-50%, -50%);
}

section>div>form input[type="submit"] {
  position: relative;
  display: block;
  padding: 0;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 50px;
  height: 50px;
  max-width: 500px;
  margin: 16px auto;
  background: #0872b4;
  color: white;
}

@media only screen and (max-width: 250px) {
  section>div>form>label>.fas {
    display: none;
  }
  section>div>form input {
    padding: 0 8px;
  }
  section .checkbox {
    padding: 0 8px 0 48px;
  }
}