:root {
  --color-bds-blue: #1D2F3D;
  --color-bds-blue-highlight: #4492CE;
  --color-bds-cream: #F7F2EB;
  --color-bds-green: #537930;
  --color-bds-green-highlight: #65AE21;
  --color-bds-offwhite: #F7F3EC;
  --color-bds-red: #A32A34;

  --color-bds-red-highlight: #E34343;
  --color-bds-sand: #E49963;
  --color-bds-yellow: #FFBF00;

  --color-black: #000000;
  --color-cta-blue: #334350;

  --color-cta-blue-highlight: #569CD2;
  --color-grey15: #262626;

  --color-grey20: #333333;
  --color-grey30: #4D4D4D;
  --color-grey40: #666666;
  --color-grey50: #808080;
  --color-grey60: #999999;
  --color-grey70: #B3B3B3;
  --color-grey80: #CCCCCC;
  --color-grey90: #E6E6E6;
  --color-grey95: #F2F2F2;
  --padding-h: 2rem;

  --spacing-lg: 2rem;
  --spacing-md: 1rem;
  --spacing-sm: 0.5rem;

  --padding-v: 1rem;
  --color-white: #FFFFFF;

  --content-width: 740px;

  @media (max-width: 900px) {
    --padding-h: 1rem;
  }

}

@font-face {
  font-family: 'Droid Sans';
  src: url('https://staging.bdsnederland.nl/wp-content/themes/bds/assets/fonts/droid-sans/droid-sans.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Droid Sans';
  src: url('https://staging.bdsnederland.nl/wp-content/themes/bds/assets/fonts/droid-sans/droid-sans.bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  background-color: var(--color-white);
  color: var(--color-dark-grey);
  /*background-color: var(--color-bds-cream);*/
  font-family: Droid Sans, Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
}

#civicrm-menu-nav,
#intro_text,
#onBehalfOfOrg,
.section-pricesetTotal,
.cms_user-section,
.premium_block-section,
.custom_pre_profile-group,
.custom_post_profile-group,
.payment_options-group,
#bootstrap-theme,
#billing-payment-block {
  display: none !important;
}

.standalone-page-padding {
  padding: 0;
}

.crm-page-title-wrapper {
  display: none;
}

form#Main > a {
  margin-top: -30px;
  visibility: hidden;
}

.checkbox-wrapper {
  padding: 20px;
}

.uk-radio,
.uk-checkbox {
  height: 18px;
  width: 18px;
}

.uk-input {
  border-radius: var(--border-radius);
  width: 100%;
}

.other_amount-content input {
  width: 80px;
}

.crm-contribution-main-form-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}

.price_set-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.contribution_amount-section,
.other_amount-section,
.is_recur-section,
.email-5-section {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;
}

.contribution_amount-section {
  align-items: flex-start;
}

.contribution_amount-section .label {
  margin-top: 0.35em;
}

.crm-option-label-pair {
  align-items: center;
  display: flex;
  flex-direction: row;
}

.contribution_amount-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.price_set-section .label,
.is_recur-section .label,
.email-5-section .label {
  font-weight: bold;
  text-align: right;
  width: 30%;
}

.price-set-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;
}

span.price-set-option-content,
.is_recur-section .content {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.crm-submit-buttons {
  left: calc(30% + 12px);
  position: relative;
}

input, textarea {
  border-color: var(--color-grey70);
  border-style: solid;
  font-family: 'Droid Sans', sans-serif;
  font-size: 1rem;
  padding: 0.2em 0.4em;
}

input:hover, input:focus, textarea:hover, textarea:focus {
  border-color: var(--color-bds-blue-highlight);
  border-style: solid;
  outline: none;
}

input[type="radio"] {
  border-radius: 0.5rem;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--color-white);
  border: 2px solid var(--color-grey70);
  cursor: pointer;
  height: 1rem;
  margin: 0.4em 0;
  transition: all 0.2s;
  width: 1rem;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--color-bds-blue-highlight);
  border-color: var(--color-bds-blue-highlight);
}

.crm-form-submit {
  background-color: var(--color-bds-green);
  border: none;
  border-radius: 5px;
  color: var(--color-white);
  cursor: pointer;
  display: inline-block;
  font-family: 'Droid Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: bold;
  margin-top: 1rem;
  outline: none;
  padding: 0.75rem 1.25rem;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.crm-form-submit:hover {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.75) 0.25rem 0.25rem;
  outline: none;
  transform: translate(-0.25rem, -0.25rem);
}

.crm-form-submit i {
  display: none;
}

.crm-marker {
  color: var(--color-bds-red);
}

.clear,
.hiddenElement {
  display: none;
}

.price-set-row label {
  margin-left: 8px;
}

.bds--newsletter-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: bold;
}

.bds--newsletter-form-option {
  display: flex;
  flex-direction: row;
  gap: 0.6em;
}

.bds--newsletter-form-text {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.bds--newsletter-form-text span:first-child {
  font-weight: bold;
  margin-top: 0.15em;
}

.bds--h-accent-1 {
  margin-top: 2em;
}

.bds--h-accent-1 span {
  background-color: var(--color-bds-yellow);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--color-bds-blue);
  display: inline;
  padding-block: 0.1em;
  padding-inline: 0.2em;
}

@media (max-width: 480px) {
  .standalone-page-padding {
    padding: 0 1rem
  }

  .contribution_amount-section,
  .other_amount-section,
  .is_recur-section,
  .email-5-section {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
  }

  .price_set-section .label,
  .is_recur-section .label,
  .email-5-section .label {
    font-weight: bold;
    text-align: left;
    width: 100%;
  }

  .email-5-section .content,
  .contribution_amount-content,
  .crm-submit-buttons,
  .crm-form-submit {
    width: 100%;
  }

  .other_amount-content {
    left: 30px;
    position: relative;
  }

  .is_recur-section .content {
    justify-content: center;
  }

  .crm-submit-buttons {
    left: initial;
    position: initial;
  }

  .other_amount-section .label,
  .is_recur-section .label {
    display: none;
  }

}
