/*
*Select2
*/

#rememberme {
  accent-color: var(--e-global-color-accent); /* colore checkbox */
}

span.select2-selection.select2-selection--single {
  padding: 0;
}

.select2-selection__rendered {
  line-height: 10px !important;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.woocommerce-form-register
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 38px !important;
}

.woocommerce-form-register
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border: 0;
  height: 16px;
  width: 16px;
  margin: 0;
  margin: -8px 0 0;
  left: 0;
}

.woocommerce
  form
  .form-row.woocommerce-validated
  .select2-container:not(.select2-container--open)
  .select2-selection {
  border-color: var(--wc-green);
  border-color: black;
}

span.select2-selection.select2-selection--single {
  border-radius: 50px;
  border-color: black;
  height: 35px;
}

.woocommerce-account
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered,
span#select2-b2bking_registration_roles_dropdown-container {
  line-height: 16px !important;
}

.select2-container--open span.select2-selection.select2-selection--single {
  border-radius: 0px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
  background-color: black;
  color: white;
}

/*
*B2b King
*/

.select2-container--default {
  border: 0 !important;
}

.b2bking_custom_registration_container
  span.select2-selection.select2-selection--single {
  height: 37px !important;
}

form.woocommerce-form.woocommerce-form-register.register {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 10px;
}

.form-row.form-row-wide {
  width: 100% !important;
}

.b2bking_custom_registration_field {
  width: 100% !important;
}

.b2bking_custom_registration_container {
  flex: 45%;
}

.b2bking_custom_registration_container.b2bking_custom_registration_container_field_1795.b2bking_custom_registration_role_2355.b2bking_custom_registration_role_617 {
  /* width: 100% !important; */
  flex: 100%;
}

select#b2bking_registration_roles_dropdown {
  min-height: 40px;
}

.form-row.b2bking_custom_registration_field {
  padding-top: 0 !important;
}

.b2bking_custom_registration_container.b2bking_custom_registration_container_field_1795.b2bking_custom_registration_role_2355.b2bking_custom_registration_role_617 {
  /* width: 100% !important; */
  flex: 100%;
}

input[readonly] {
  background-color: #f0f0f0;
  color: #666;
  cursor: not-allowed;
}

/*
Privacy Policy
*/

#rememberme {
  accent-color: var(--e-global-color-accent);
}

.b2bking_custom_registration_container.b2bking_custom_registration_container_field_88777 {
  margin-top: 20px;
}

.b2bking_custom_registration_container.b2bking_custom_registration_container_field_88777,
.b2bking_custom_registration_container.b2bking_custom_registration_container_field_88781 {
  flex: 100%;
  display: flex !important;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.b2bking_custom_registration_container.b2bking_custom_registration_container_field_88777
  .form-row,
.b2bking_custom_registration_container.b2bking_custom_registration_container_field_88781
  .form-row {
  flex-basis: content;
}

input[name="b2bking_custom_field_88777_option_1"] + span,
input[name="b2bking_custom_field_88781_option_1"] + span {
  display: none;
}

.b2bking_custom_registration_container p {
  margin: 0 !important;
}

.b2bking_custom_registration_container
  .form-row
  label
  .b2bking_checkbox_registration_field {
  width: 16px !important;
  accent-color: var(--e-global-color-accent);
}

.b2bking_custom_registration_container_field_88777 label input,
.b2bking_custom_registration_container_field_88781 label input {
  height: 20px;
  margin-right: 10px;
}

/*Form checkout*/
div#b2bking_checkout_registration_main_container_fields
  .b2bking_custom_registration_container.b2bking_custom_registration_allroles {
  display: flex !important;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

div#b2bking_checkout_registration_main_container_fields {
  margin-top: 30px;
}
