/* Based on '.crm-form-radio + label' from styles.css */
/* alas, symbioticux.css has 'important' statements in them.. */
.crm-container .symbiocrm-form-radios-as-buttons .crm-radio-wrapper {
  border-radius: 30px !important;
  border: 1px solid #92c25a !important;
  margin-bottom: 1em;
  font-weight: 700 !important;
}
.crm-container .symbiocrm-form-radios-as-buttons .crm-radio-wrapper.selected {
  background-color: #92c25a !important;
}
.crm-container .symbiocrm-form-radios-as-buttons .crm-radio-wrapper label {
  padding: 10px 20px !important;
}

/* [ML] Override core CSS, otherwise the radios are too small */
.crm-container .crm-multiple-checkbox-radio-options {
  display: inline-block;
}
.crm-container .crm-multiple-checkbox-radio-options .crm-option-label-pair {
  /* grid-template-columns: inherit; */
  display: inline-block;
}

/* Submit button */
#crm-submit-buttons input.btn-primary {
  background-color: #92c25a;
  color: white !important;
}

.crm-mfdc-step-container fieldset {
  border: none;
}
.crm-mfdc-step-container fieldset legend {
  color: #92c25a;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  border: none;
}

/* Jquery steps theming */
/* Hide titles in general, we use the fieldset legends instead */
.crm-mfdc-step-container .title {
  display: none;
}

.crm-mfdc-step-container .steps ul {
  text-align: center;
  font-size: 20px;
  margin: 0 0 3.5em 0;
}

.crm-mfdc-step-container .steps li {
  display: inline-block;
  position: relative;
}

.crm-mfdc-step-container .steps li .current-info {
  display: none;
}

.crm-mfdc-step-container .steps li a {
  text-decoration: none;
}

.crm-mfdc-step-container .steps li .number {
  background: $body-background;
  border-radius: 50%;
  border: 1px solid #ccc;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  font-size: 20px;
  line-height: 1.5em;
  color: #ccc;
  margin-right: 50px;
}

.crm-mfdc-step-container .steps li:last-child .number {
  margin-right: 0;
}

 .crm-mfdc-step-container .steps li.done .number {
  background: #ccc;
  color: white;
}

/* FIXME ? */
.crm-mfdc-step-container .steps li.current .number {
  background: black;
  color: white;
}

.crm-mfdc-step-container .steps li::after {
  content: '';
  position: absolute;
  left: 0;
  border-bottom: 1px #ccc solid;
  height: 1px;
  width: 85px;
  transform: translateY(-17px);
  z-index: -500;
}

.crm-mfdc-step-container .steps li.last::after {
  display: none;
}

.crm-mfdc-step-container > .actions {
  margin: 3em auto;
  text-align: center;
}

.crm-mfdc-step-container > .actions ul {
  margin: 0;
}

.crm-mfdc-step-container > .actions li {
  display: inline-block;
  padding-bottom: 1em;
}

.crm-mfdc-step-container > .actions a,
.crm-mfdc-step-container > .actions input {
  display: inline-block;
  list-style-type: none;
  border: 1px solid black;
  border-radius: 50px;
  padding: 1em 3em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
  color: black;
  line-height: inherit; /* important for the button */
  cursor: pointer;
}

.crm-mfdc-step-container > .actions li.last,
.crm-mfdc-step-container > .actions li:last-child {
  padding-right: 0;
}

.crm-mfdc-step-container > .actions li.last a,
.crm-mfdc-step-container > .actions li:last-child a,
.crm-mfdc-step-container > .actions li.last input,
.crm-mfdc-step-container > .actions li:last-child input {
  background: black;
  margin-right: 0;
  color: white;
}

.crm-mfdc-step-container > .actions li.disabled {
  display: none;
}

/* Tax popup theming */
#crm-cdntaxcalculator-province-popup {
  /* A bootstrap conflict is disabling these events */
  pointer-events: inherit !important;
}

/* Hide Billing Middle Name */
#crm-container #billing-payment-block .billing_middle_name-section {
    display: none;
}

/*
#editrow-custom_131 label,
#editrow-custom_110 label {
    display: inline-block;
    padding-left: 100px;
}
*/

/* mfdc/civicrm#106 */
.crm-container .messages {
    background-color: #F1F8EB !important;
    border: 1px solid #B0D730 !important;
    color: #3E3E3E !important;
    /* font-size: 13px; */
}

.crm-container .messages .inform-icon {
    display: none;
}

.crm-not-you-message {
    display: none;
}

.crm-container #crm-ajax-dialog-0 .action-link {
    display: none;
}

.crm-container .green,
.crm-container .green a {
  color: rgb(146, 194, 90);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* mfdc/civicrm#102 */
.CRM_Profile_Form_Edit .crm-profile-name-name_and_address_Copy_id_28 .cms_user_help-section {
    display: none;
}

/* mfdc/civicrm#121 : view event info page permission not respected so keep info page but hide info */
.civicrm-event-info .crm-event-info-form-block {
    display: none;
}

/* on event thank you page, hide link to event info page */
.CRM_Event_Form_Registration_ThankYou .event_info_link-section {
  display: none;
}

/* mfdc/wordpress#53 hide status messages because rewritten in form config */
.CRM_Event_Form_Registration_Confirm .help,
.CRM_Event_Form_Registration_Confirm .continue_message-section {
  display: none;
}

/* mfdc/wordpress#53 hide share because form config not respected */
.CRM_Event_Form_Registration_ThankYou .iCal_links-section,
.CRM_Event_Form_Registration_ThankYou .crm-socialnetwork {
  display: none;
}
