/* roboto-slab-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  display: swap;
  src: url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/stn/roboto-slab-v24-latin-ext_latin-regular.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  display: swap;
  src: url('/fonts/stn/roboto-v30-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/stn/roboto-v30-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/stn/roboto-v30-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/stn/roboto-v30-latin-ext_latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  display: swap;
  src: url('/fonts/stn/roboto-v30-latin-ext_latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/stn/roboto-v30-latin-ext_latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/stn/roboto-v30-latin-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-500.woff') format('woff'), /* Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/stn/roboto-v30-latin-ext_latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  display: swap;
  src: url('/fonts/stn/roboto-v30-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/stn/roboto-v30-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/stn/roboto-v30-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
       url('/fonts/stn/roboto-v30-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/stn/roboto-v30-latin-ext_latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  display: swap;
  src: url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/stn/roboto-condensed-v25-latin-ext_latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}


@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;
}

body {
  color: #454545;
  font-family: 'Roboto Slab', serif;
}

* {
  letter-spacing: 0 !important;
}

.wrapper {
  color: #FFFFFF;
}

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

.pure-g [class*=pure-u] {
  font-family: 'Roboto Slab', serif;
}

h1 {
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
  padding: 10px 10px 5px;
}

h2.group {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.93;
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e3;
  margin-bottom: 30px;
  color: #454545;
  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: 'Roboto', sans-serif;
  color: #71737f;
}


input,
button,
label {
  font-size: 16px;
  font-family: 'Roboto Condensed', sans-serif;
  display: block;
  margin-bottom: 8px;
}

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: 'Roboto', sans-serif;
  color: #71737f;
}

:-ms-input-placeholder {
  font-family: 'Roboto', sans-serif;
  color: #71737f !important;
}

/* 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.privacyTextOnly {
  padding-left: 0;
}

.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 #454545;
  text-align: center;
  transition: background-color 0.3s linear;
  line-height: initial;
}

.control__indicator {
  border-color: #fff;
}

.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;
}

/*
 * NOTE: The -webkit-* selectors must not be mixed with the regular ones,
 * see https://stackoverflow.com/a/9705712 for details.
*/
.error-message,
.is-invalid,
.is-invalid ~ .control__indicator {
  opacity: 1;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #900 !important;
  border-color: #900 !important;
}

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

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

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

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

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

.wrapper {
  padding: 50px 0;
}

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

body.single .wrapper {
  position: relative;
  min-height: 100px;
  padding: 5px;
  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%;
}


[type=email],
[type=text] {
  background-color: #fff;
  border-radius: 0 !important;
  box-shadow: none;
  margin-right: 30px;
  margin-bottom: 20px;
  padding: 0.35em 0.4em;
  color: #454545;
}

[type=email] {
  margin-right: 0;
  width: 70%;
}

[type=submit] {
  display: block;
  float: left;
  bottom: -2.5em;
  right: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-image: none;
  background-color: #363636;
  color: #FFFFFF;
  padding: 0.6em 1em;
  margin: 0 8px 10px;
  width: 20%;
  min-width: 150px;
}

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

.privacy-confirmation,
.privacy-confirmation-text {
  font-family: 'Roboto', sans-serif;
  max-width: 755px;
  font-size: 0.625em;
  line-height: 1.6;
}

.primary [type=email],
.primary [type=text] {
  margin-bottom: 8px;
  display: inline;
  float: left;
  height: 38px;
  max-width: 2000px;
}

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;
}

.details {
  margin-right: 6%;
  width: 60.6667%;
}

p.intro {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 40px;
}

p.intro + ul {
  margin-top: -30px;
}

p.more {
  text-align: right;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 0.875em;
  padding: 0 10px;
}

p.more a {
  text-decoration: none;
  border-bottom: 0.094em 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: 'Roboto', sans-serif;
  font-weight: normal;
  font-size: 16px;
  border-bottom: 1px solid #918e83;
  color: #918e83;
}

.newsletter-choice .preview img + span {
  margin-top: 0.344em;
  float: right;
}

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

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

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

.success-message h1,
.success-message p {
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  max-width: 640px;
  padding: 0 10px;
}

.success-message h1 {
  line-height: 1.4;
  font-size: 1rem;
  margin-top: 30px;
}

.success-message p {
  line-height: 1.875;
  font-size: 0.625rem;
}

.error-message h1,
.error-message p {
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  max-width: 640px;
  
}

.error-message h1 {
  line-height: 1.4;
  font-size: 1rem;
  margin-top: 30px;
}

.error-message p {
  line-height: 1.875;
  font-size: 0.625rem;
}

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

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

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

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

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

@media screen and (max-width: 586px) {
  h1 {
    padding-left: 0;
  }

  .newsletter-logo {
    max-height: 38px;
  }

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

  #stz-familie.single .wrapper {
    margin: 5px;
    padding: 0px 0px 0px;
  }

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

  .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: 15px;
  }

  .submit-container .error-message,
  .privacy-confirmation,
  .privacy-confirmation-text {
    color: #ffffff;
  }

  #messages h1 {
    margin-top: 0;
  }

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

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

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

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

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

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

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

  .primary [type=email] {
    width: 100%;
  }
  [type=submit] {
    bottom: -4.5em;
    right: auto;
    left: 50%;
    width: 100%;
    margin: 8px 0;
  }
}

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