input[type=date].form-control,
input[type=number].form-control,
input[type=email].form-control,
input[type=tel].form-control,
input[type=text].form-control,
input[type=file].form-control,
div.form-control,
select.form-control,
textarea.form-control{
  border: 1px solid #d8d8d8;
  background-color: var(--background);
  border-radius: 0.7rem;
}

input:focus{
  box-shadow: none !important;
}

.customForm{
  border-radius: 1rem;
  background-color: var(--neutral100);
  padding: 2rem;
}

.customForm .customBtn{
  padding-top: 0.75rem;
  padding-bottom: 0.4rem;
}

.customForm .customBtn.btn-sm{
  padding: 0.3rem 1rem;
  min-height: 2.5rem;
  border-radius: 1rem !important;
  font-weight: 400 !important;
}

.inlineForm{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #A3B8B8;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: #FFFFFF;
}

.inlineForm input[type="text"].form-control{
  border-width: 0;
  background: transparent;
}

.inlineForm .popupLabel{
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  background-color: var(--cream200);
  transition: all 0.3s linear;
}

.inlineForm:hover .popupLabel,
.inlineForm input:focus + .popupLabel,
.inlineForm input:valid + .popupLabel{
  top: 0;
}

/* CHECKBOX */

.customCheckbox input + label > .fakeCheck::after{
  content: "";
  position: absolute;  
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: transparent;
  cursor: pointer;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  background-image: url("/wp-content/themes/beehome/assets/images/form-white-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% auto;
}

.customCheckbox input + label{
  padding-left: 1.4em;
  position: relative;
  cursor: pointer;
}

.customCheckbox input + label > .fakeCheck{
  display: block;
  position: absolute;
  font-size: calc(1em - 4px);
  margin-left: 2px;
  height: 1em;
  width: 1em;
  left: 0;
  top: 0.2em;
  cursor: pointer;
  outline: 1px solid var(--tertiary500);
  padding: 2px;
  border-radius: 2px;
}

/*.customCheckbox input[type=radio] + label > .fakeCheck{
  border-radius: 100px;
}

.customCheckbox input:not(:checked) + label:hover > .fakeCheck,
.customCheckbox input:not(:checked) + label > .fakeCheck:hover{
  outline-color: var(--tertiary500);
}

.customCheckbox input:checked + label > .fakeCheck{
  outline-color: var(--tertiary500);
}*/

.customCheckbox input:checked + label > .fakeCheck::after{
  background-color: var(--tertiary500);
}

/* END CHECKBOX */

@media (max-width: 1023px){
  .customForm{
    padding: 1.5rem;
  }
}