@font-face {
  font-family: 'SZoSans-Black';
  src:
    url('/fonts/sz/SZoSans2017-Web-Black.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sz/SZoSans2017-Web-Black.woff2') format('woff2'),
    url('/fonts/sz/SZoSans2017-Web-Black.woff') format('woff'),
    url('/fonts/sz/SZoSans2017-Web-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SZoSans-Regular';
  src:
    url('/fonts/sz/SZoSans2017-Web-Regular.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sz/SZoSans2017-Web-Regular.woff2') format('woff2'),
    url('/fonts/sz/SZoSans2017-Web-Regular.woff') format('woff'),
    url('/fonts/sz/SZoSans2017-Web-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SZoSans-Regular';
  src:
    url('/fonts/sz/SZoSans2017-Web-Light.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sz/SZoSans2017-Web-Light.woff2') format('woff2'),
    url('/fonts/sz/SZoSans2017-Web-Light.woff') format('woff'),
    url('/fonts/sz/SZoSans2017-Web-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SZoSans-Bold';
  src:
    url('/fonts/sz/SZoSans2017-Web-Bold150.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sz/SZoSans2017-Web-Bold150.woff2') format('woff2'),
    url('/fonts/sz/SZoSans2017-Web-Bold150.woff') format('woff'),
    url('/fonts/sz/SZoSans2017-Web-Bold150.ttf') format('truetype');
  font-weight: 150;
  font-style: normal;
}

@font-face {
  font-family: 'SZoSerif-Italic';
  src:
    url('/fonts/sz/SZoSerif-MediumItal-Web.woff2') format('woff2'),
    url('/fonts/sz/SZoSerif-MediumItal-Web.woff') format('woff'),
    url('/fonts/sz/SZoSerif-MediumItal-Web.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* Adapted from https://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes */
.control {
  font-size: 18px;
  position: relative;
  display: block;
  margin-bottom: 15px;
  padding-left: 32px;
  cursor: pointer;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.control__indicator {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid #29293a;
  text-align: center;
  transition: background-color 0.3s linear;
  line-height: initial;
}

.control--radio .control__indicator {
  border-radius: 50%;
}

/* Hover and focus states
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
}
*/

/* Checked state
.control input:checked ~ .control__indicator {
}
*/

/* Hover state whilst checked
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
}
*/

/* Disabled state */
.control input:disabled ~ .control__indicator {
  pointer-events: none;
  opacity: 0.6;
  background-color: #e6e6e6;
}

/* Check mark */
.control__indicator::after {
  position: absolute;
  display: none;
  content: '';
}

/* Checkbox tick */
.control--checkbox .control__indicator::after {
  top: -50%;
  left: 0;
  width: 12px;
  height: 12px;
  font-size: 18px;
  content: '×';
}

/* Radio button inner circle */
.control--radio .control__indicator::after {
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #29293a;
}

/* Show check mark */
.control input:checked ~ .control__indicator::after {
  display: block;
}

/* Disabled tick colour */
.control--checkbox input:disabled ~ .control__indicator::after {
  border-color: #7b7b7b;
}

/* Disabled circle colour */
.control--radio input:disabled ~ .control__indicator::after {
  background-color: #7b7b7b;
}

body {
  color: #29293a;
  font-family: 'SZoSans-Regular', sans-serif;
}

body#sz.newsletter-system.multi {
  background-color: #fff;
}

a,
a:link,
a:visited,
a:focus {
  color: #29293a;
}

#sz .pure-g [class*=pure-u] {
  font-family: 'SZoSans-Regular', sans-serif;
}

h1 {
  color: #29293a;
  font-family: 'SZoSans-Black', sans-serif;
  font-size: 1.375em;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

h2.group {
  font-family: 'SZoSans-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.93;
  letter-spacing: 1.5px;
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e3;
  margin-bottom: 30px;
  color: #71737f;
  font-weight: normal;
}

h2.group:first-child {
  margin-top: 0;
}

fieldset.primary,
fieldset.actions {
  position: relative;
  padding: 0 0 0 10px;
}

fieldset.actions {
  padding-bottom: 10px;
}

.pure-form label,
.pure-form .pure-radio,
.pure-form .pure-checkbox {
  margin: 0;
}

::placeholder {
  font-family: 'SZoSans-Light', sans-serif;
  color: #71737f;
  letter-spacing: 1px;
}

input[type=email].is-invalid::placeholder {
  font-size: 12px;
}

input[type=email].is-invalid::-webkit-input-placeholder {
  font-size: 12px;
}

input[type=email].is-invalid:-ms-input-placeholder {
  font-size: 12px;
}

::-webkit-input-placeholder {
  font-family: 'SZoSans-Light', sans-serif;
  color: #71737f;
  letter-spacing: 1px;
}

:-ms-input-placeholder {
  font-family: 'SZoSans-Light', sans-serif;
  color: #71737f !important;
  letter-spacing: 1px;
}

/*
 * NOTE: The -webkit-* selectors must not be mixed with the regular ones,
 * see https://stackoverflow.com/a/9705712 for details.
*/
.error-message,
.is-invalid,
#sz .is-invalid ~ .control__indicator {
  opacity: 1;
  color: #cd5155 !important;
  border-color: #cd5155 !important;
}

.is-invalid::placeholder {
  opacity: 1;
  color: #cd5155 !important;
  border-color: #cd5155 !important;
}

.is-invalid::-webkit-input-placeholder {
  opacity: 1;
  color: #cd5155 !important;
  border-color: #cd5155 !important;
}

.is-invalid:-ms-input-placeholder {
  opacity: 1;
  color: #cd5155 !important;
  border-color: #cd5155 !important;
}

.error-message {
  margin-top: 0;
  margin-bottom: 2px;
  padding-left: 32px;
  font-size: 0.75em;
  line-height: 16px;
}

.error-message.hidden + .action-container {
  padding-top: 18px;
}

.wrapper {
  border-width: 1px 0;
  border-color: #e0e0e3;
  border-style: solid;
  padding: 50px 0;
}

.subscriptions,
.preference-request {
  padding: 0 40px;
}

body.single .wrapper {
  position: relative;
  min-height: 100px;
  padding: 40px 40px 20px;
  background-color: #f2f2f3;
  border-width: 0;
}

fieldset.newsletter-list {
  position: relative;
  min-height: 100px;
  margin-bottom: 50px;
}

.newsletter-logo {
  position: absolute;
  top: 40px;
  right: 40px;
  max-height: 50px;
  max-width: 100%;
}

#sz input,
#sz button,
#sz label,
#sz select {
  font-size: 0.875em;
}

#sz [type=email],
#sz [type=text],
#sz select {
  border: 0;
  border-bottom: 1.5px solid #000;
  border-radius: 0;
  box-shadow: none;
  margin-right: 30px;
  margin-bottom: 20px;
  padding: 0.35em 0.4em;
}

#sz [type=email] {
  margin-right: 0;
  width: 310px;
}

#sz select {
  background-color: transparent;
  height: auto;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
}

option:first-child {
  font-family: 'SZoSans-Light', sans-serif;
  color: #71737f;
  letter-spacing: 1px;
}

#sz [type=submit] {
  position: absolute;
  bottom: -2.5em;
  right: 0;
  font-family: 'SZoSans-Bold', sans-serif;
  letter-spacing: 1.3px;
  height: 35px;
  min-width: 230px;
  background-image: none;
  background-color: #29293a;
  padding: 0.6em 1em;
}

#sz [type=submit]:hover,
#sz [type=submit]:focus {
  background-color: #34344d;
}

#sz .privacy-confirmation {
  max-width: 755px;
  font-size: 0.625em;
  line-height: 1.6;
}

#sz .privacy-confirmation .mandatory {
  line-height: 1.875;
  font-size: 16px;
  margin-left: -32px;
  margin-bottom: 0;
}

#sz .primary [type=email],
#sz .primary [type=text],
#sz .primary select {
  margin-bottom: 8px;
}

#sz input:disabled {
  background-color: transparent;
  color: #71737f;
}

.description {
  line-height: 25px;
  max-width: 600px;
}

.salutation-choices {
  display: flex;
  margin-bottom: 15px;
}

.salutation-choices .pure-radio {
  margin-right: 20px;
  padding-left: 25px;
}

.newsletter-choice {
  margin-top: 0;
  margin-bottom: 40px;
}

.newsletter-choice:last-child {
  margin-bottom: 0;
}

.newsletter-choice .heading {
  font-family: 'SZoSans-Bold', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.3px;
  letter-spacing: normal;
}

.newsletter-choice .description {
  font-size: 16px;
  line-height: 1.69;
  letter-spacing: 0.4px;
}

.newsletter-choice:hover .heading {
  text-decoration: underline;
}

.preview img {
  width: 142px;
  height: 110px;
}

hr.stub {
  width: 33px;
  border: 2px solid #29293a;
  margin: 0;
  text-align: left; /* IE fix */
}

hr.divider {
  width: 100%;
  height: 1px;
  margin: 60px 0 50px;
  color: #e0e0e3;
  background-color: #e0e0e3;
  border: 0;
}

p.intro {
  font-family: 'SZoSerif-Italic', serif;
  font-style: italic;
  font-size: 22px;
  margin-top: 24px;
  margin-bottom: 40px;
}

p.more {
  text-align: right;
  font-family: 'SZoSans-Bold', sans-serif;
  letter-spacing: 1.2px;
  font-size: 0.875em;
}

p.more a {
  text-decoration: none;
  border-bottom: 1.5px solid;
  padding-bottom: 3px;
}

p.more a::after {
  position: relative;
  left: 0;
  padding-left: 5px;
  content: '→';
  transition: left 0.5s linear;
}

p.more a:hover::after {
  left: 5px;
}

.newsletter-choice .preview a {
  text-decoration: none;
}

.newsletter-choice .preview span {
  display: inline-block;
  font-family: 'SZoSans-Bold', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #29293a;
}

.newsletter-choice .preview img + span {
  margin-top: 5.5px;
}

#sz .preference-request button {
  margin-top: 0;
  bottom: auto;
}

fieldset.newsletter-list,
.personal-data-fieldset-wrapper,
#preference-request-form {
  padding: 0 70px;
  max-width: 640px;
}

.personal-data-fieldset-wrapper fieldset.primary,
.personal-data-fieldset-wrapper fieldset.actions,
#preference-request-form fieldset.actions {
  padding-left: 0;
}

.newsletter-choice .preview {
  align-items: flex-end;
}

.newsletter-list .control--checkbox {
  position: relative;
  top: 2px;
}

#sz .newsletter-list .control__indicator {
  width: 18px;
  height: 18px;
  background-color: #f2f2f3;
  border-width: 1.5px;
}

#sz .newsletter-list .control--checkbox .control__indicator::after {
  width: 18px;
  height: 18px;
  font-size: 24px;
  top: -38%;
}

#messages h1 {
  line-height: 1.4;
  max-width: 640px;
  font-weight: normal;
  font-family: 'SZoSerif-Italic', serif;
  font-style: italic;
  margin-top: 30px;
}

#messages p {
  line-height: 1.875;
  max-width: 640px;
  font-size: 1.0625em;
}

/* override for non-scaling png */
img[src$="familie.png"].newsletter-logo {
  height: 23px;
}

img[src$="alles-liebe.png"].newsletter-logo {
  height: 85px;
  max-height: 85px;
  top: 20px;
  right: 20px;
}

img[src$="das-rezept.png"].newsletter-logo {
  height: 75px;
  max-height: 85px;
  top: 20px;
  right: 20px;
}

@media screen and (min-width: 860px) {
  .submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
  }

  .submit-container .error-message {
    margin-right: 32px;
  }

  #sz .submit-container [type=submit] {
    display: block;
    position: static;
    left: auto;
    margin-top: 0;
  }

  #sz [type=text],
  #sz select {
    width: 150px;
  }

  #sz [type=email] {
    width: 280px;
  }
}

@media screen and (max-width: 768px) {
  #preference-request-form [type=email] {
    width: 40%;
  }
}

@media screen and (max-width: 586px) {
  .newsletter-logo {
    display: none;
  }

  .newsletter-choice .preview img,
  .extra-information {
    display: none !important;
  }

  #sz.single .wrapper {
    margin: 5px;
    padding: 25px 25px 65px;
  }

  .subscriptions,
  .preference-request {
    padding: 0 20px;
  }

  .newsletter-choice .preview img + span {
    margin-top: 0;
  }

  .newsletter-choice .preview {
    margin-left: 12.5%;
  }

  .submit-container .error-message {
    margin-top: 10px;
  }

  .error-message.hidden + .action-container {
    padding-top: 34px;
  }

  #sz .submit-container .error-message,
  #sz .privacy-confirmation {
    max-width: 225px;
  }

  #messages h1 {
    margin-top: 0;
  }

  #messages p {
    margin-top: 30px;
  }

  #sz .wrapper p {
    max-width: 100%;
  }

  p.intro {
    font-size: 18px;
    line-height: 26px;
  }

  p.description {
    margin-bottom: 30px;
  }

  #preference-request-form,
  .personal-data-fieldset-wrapper,
  fieldset.newsletter-list,
  fieldset.actions,
  fieldset.primary {
    padding: 0;
  }

  #sz [type=email],
  fieldset.actions {
    width: 100%;
  }

  #sz select {
    width: 157.188px;
  }

  fieldset.actions {
    margin-bottom: 20px;
  }

  #sz [type=submit] {
    bottom: -4.5em;
    right: auto;
    left: 50%;
    margin-left: -115px;
  }

  #sz.multi [type=submit] {
    display: block;
    position: static;
    left: auto;
    margin: 20px auto 0;
  }

  img[src$="plan-w.svg"].newsletter-logo {
    height: 28px;
  }

  img[src$="das-rezept.png"].newsletter-logo {
    height: 55px;
  }

  img[src$="jetzt-de.svg"].newsletter-logo {
    height: 30px;
  }

  img[src$="familie.png"].newsletter-logo {
    height: 18px;
  }

  img[src$="alles-liebe.png"].newsletter-logo {
    height: 70px;
    max-height: 70px;
    top: 20px;
    right: 20px;
  }
}

.g-recaptcha {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
