.gfield {
  position: relative;
  margin: 2.5rem 0 0;
}

.gfield:not(.gfield--type-radio, .gfield--type-fileupload, .gfield--type-consent) label,
.woocommerce-checkout .checkout-inputs label:not(.checkbox),
.woocommerce-MyAccount-content form p label:not(.checkbox),
form.login label {
	position: absolute;
	top: 1.4rem;
	left: 1.4rem;
    color: rgb(117, 117, 117);
	transition: .1s all linear;
	cursor: text;
    font-size: 1.6rem;
    line-height: 1.9rem;
	/* background-color: #fff; */
	padding: 0 0.5rem;
	margin-top: 0;
	padding: 0;
}

.gfield:not(.gfield--type-radio, .gfield--type-fileupload, .gfield--type-consent).active label,
.gfield.gfield--type-date label,
fieldset.gfield--type-password span:has(span.active) > label, 
fieldset.gfield span.active label,
.gform_wrapper.gravity-theme .gfield div span:has(input.active) label,
/* .gfield .active > span:has(input.active) label, */
.woocommerce-checkout .checkout-inputs p.active label:not(.checkbox),
.woocommerce-MyAccount-content form p.active label:not(.checkbox),
form.login p.active label,
form.login p:has(span.password-input.active) label{
	top: -1.1rem;
    font-size: 1.3rem!important;
    line-height: 1.6rem;
	z-index: 9;
	left: 0;
}

.ui-datepicker {
    background-color: #fff;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
	z-index: 99!important;
}

.gfield_checkbox label, #gappointments_calendar_slots label.time_slot{
	position: relative!important;
	top: unset!important;
	left: unset!important;
}

input, textarea, select, .select2-container--default .select2-selection--single {
	background-color: unset;
    border-bottom: var(--border1);
	border-left: 0px solid #dedede;
	border-right: 0px solid #dedede;
	border-top: 0px solid #dedede;
	border-radius: var(--radius1);
	padding: 1.4rem;
	clear: both;
	font-family: inherit;
	cursor: pointer;
	font-size: var(--fontsize_p);
	/* min-width: 50rem; */
    max-width: 100%;
}
:focus-visible {
    outline: 0px;
}
button.gform_show_password {
    border: 0;
    background: transparent;
    position: absolute;
    right: 1rem;
    top: -0.3rem;
}
input[type="radio"], .quantity input {
	min-width: 0;
}
.select2-container--default .select2-selection--single {
   height: calc(2px + 1.4rem + 1.4rem + var(--fontsize_p) * var(--lineh_p));
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: var(--lineh_p);
    padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 97%;
    right: 1rem;
}
.gfield_password_strength.blank {
	display: none;
}
.ginput_complex {
    display: flex;
	justify-content: space-between;
}
.ginput_complex input {
    width: 100%;
}
.ginput_complex > span {
    width: 48%;
    position: relative;
}
.gf_clear.gf_clear_complex {
    display: none;
}
fieldset {
    border: 0;
    padding: 0;
}
fieldset legend {
	display: none;
}
.gform_footer {
    margin-top: 2rem;
}
.gform_submission_error {
	margin-top: 1rem;
	margin-bottom: 1rem;
    font-size: var(--fontsize_p);
}
.gfield_validation_message {
    font-size: var(--fontsize_s);
    color: red;
}
.password_input_container {
    position: relative;
}
form label {
    width: auto!important;
	display: block;
    margin-top: 1rem;
}
textarea {
    /* min-height: 15rem; */
    height: 15rem;
}
.gchoice, #shipping_method li, #payment li {
	line-height: 1;
	margin-bottom: 1rem!important;
    margin-top: 1rem!important;
}
select {
	-webkit-appearance: none;
 	-moz-appearance: none;
	    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='19.566' height='11.216' viewBox='0 0 19.566 11.216'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%23000000;%7D svg%7Btransform: rotate(180deg);%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='19.566' height='11.216'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Cpath class='c' d='M19.566,9.781l-1.435,1.435L9.783,2.868,1.435,11.216,0,9.781,9.781,0Z'/%3E%3C/g%3E%3C/svg%3E");
       background-repeat: no-repeat;
    background-position: right 2rem top 50%;
    background-size: 1.3rem auto, 100%;
}
input[type="checkbox"] {
    display: block;
    opacity: 0;
    position: absolute;
    width: 2.2rem;
    height: 2.2rem;
    z-index: 99;
    cursor: pointer;
	margin: 0;
}
label.checkbox{
	background: transparent;
    border: 0;
}
form .required, label a, .woocommerce-privacy-policy-text a, .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--textclr1)!important;
	text-decoration: none;
}
.checkbox {
    height: 2.2rem;
    width: 2.2rem;
	background: white;
    border-radius: 0.3rem;
	border: 1px solid var(--clr1);
	position: relative;
}
.checkbox-block {
    float: left;
    margin-right: 1rem!important;
}
.checboxlabel {
    margin-left: 1rem;
    width: auto;
    cursor: pointer;
}
.checkbox-block.active .checkbox:after {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.2rem;
    left: 0.3rem;
    top: 0.3rem;
    content: "";
    background: var(--clr2);
    display: block;
    position: absolute;
	z-index: 2;
	cursor: pointer;
}
.select2-dropdown, .select2-container--default .select2-search--dropdown .select2-search__field {
	border:var(--border1);
}
.select2-container .select2-selection--single {
	margin: 0;
}
input[type="file"] {
	background: transparent;
	border:var(--border2);
    display: block;
    width: 100%;
    padding: 0 3rem;
    height: 42px;
    overflow: visible;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3rem;
    max-width: calc(320px + 4rem);
    padding-top: 42px;
	cursor: pointer;
	position: relative;
}
input[type="file"]:after {
    content: attr(aria-label);
    position: absolute;
    font-size: 1.4rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
input[type="file"]:hover {
    background: var(--clr2);
	border-color: var(--clr2);
}
input[type="file"]:hover:after {
    color: white;
}
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  font: inherit;
  color: var(--clr1);
  width: 1.15em;
  height: 1.15em;
  border: 1px solid var(--clr1);
  border-radius: 50%;
  display: grid;
  place-content: center;
  float: left;
  margin-right: 1rem;
  padding: 1rem;
}
input[type="radio"]::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--clr2);
  background-color: CanvasText;
}
input[type="radio"]:checked::before {
  transform: scale(1);
}
input[type="radio"]:focus {
  outline: max(2px, 0.15em) solid transparent;
  outline-offset: max(2px, 0.15em);
}