div, * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body, html {
  margin: 0;
  padding: 0;
}
body {
  font-family: Karbon, 'Arial', sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #646567;
}

/** HEADER **/
.header {
  position: relative;
  width: 100%;
  background: #daedee;
  overflow: hidden;
  text-align: center;
  line-height: 0;
}
.header  img {
  width: 100%;
  max-width: 2100px;
  height: auto;
}

/** WRAPPER **/
.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 0;
}

/** CONTENT **/
.content {
  width: 920px;
  padding: 20px 0;
}

/** FORM **/
form {
  width: 920px;
  padding: 20px 0;
  transition: 0.5s;
  position: relative;
}
form.sending .form__row {
  pointer-events: none;
  opacity: 0.5;
}
h3 {
  margin: 15px 0px 5px 0px;
  font-size: 20px;
  line-height: 25px;
  font-weight: bold;
}
@keyframes sending-icon {
  0% { opacity: 0; width: 20px; transform: translate(calc(-50% - 30px), -50%); }
  30% { opacity: 1; width: 40px; }
  60% { transform: translate(calc(-50% + 30px), -50%); width: 20px; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + 30px), -50%); width: 20px; }
}
#sending-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: #f5821f;
  box-shadow: 6px 6px 12px rgba(0,0,0,0.25);
  display: none;
}
form.sending #sending-icon {
  animation-name: sending-icon;
  display: block;
}
form #message {
  padding-top: 10px;
  width: 100%;
  text-align: right;
}
.form__row {
  width: 100%;
  display: flex;
  padding: 4px 0;
}
.form__row > label {
  width: 30%;
}
.form__row input, .form__row textarea {
  padding: 5px 5px;
  padding-top: 7px;
  padding-bottom: 3px;
  width: 100%;
  border: 1px solid #f5821f;
  border-radius: 0;
  outline: none;
  font-family: Karbon;
  font-size: 18px;
  color: #646567;
  line-height: 1;
}
.form__row.form__row--submit {
  justify-content: flex-end;
}
.form__row.form__row--submit input {
  width: 200px;
  background: #f5821f;
  color: white;
  font-weight: bold;
  font-size: 26px;
  padding: 8px;
  padding-top: 12px;
  cursor: pointer;
}
.form__row.form__row--submit input:active {
  opacity: 0.5;
}
.form__row.form__row--checkbox label {
  width: 100%;
  padding-top: 5px;
  font-weight: bolder;
}
.form__row.form__row--checkbox [name='marketing'] {
  opacity: 0;
  height: 30px;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
}

.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.medium {
  height: 60px;
}
.large {
  height: 100px;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/** CHECKBOX */
.checkbox {
  position: relative;
  width: 26px;
  height: 26px;
  margin-right: 15px;
  display: inline-block;
  border: 2px solid #f5821f;
  border-radius: 100%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox .checkbox__inner {
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background: #f5821f;
  transform: translate(calc(-50% + 0.5px), calc(-50% - 0.5pxs));
  transition: opacity 0.3s;
}
.checkbox:not(.checked) .checkbox__inner {
  opacity: 0;
}
.form__row.form__row--submit input:active {
  opacity: 0.5;
}
.form__row.form__row--checkbox {
  margin-bottom: 25px;
}
.form__row.form__row--checkbox label {
  width: 100%;
}
.checkbox input {
  opacity: 0;
  height: 30px;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
}

/** RADIO CHECKBOX */
.radio-checkbox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.radio-checkbox .checkbox {
  margin-right: 5px;
}
.radio-checkbox label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 5px;
  flex: 1;
}
.radio-checkbox input {
  width: 55%;
}
.radio-checkbox input:disabled {
  opacity: 0.5;
}

/** FOOTER **/
.footer {
  width: 920px;
  font-size: 14px;
  padding: 20px 0;
}
.immunology {
  text-align: center;
}
.immunology img {
  width: 100%;
  margin-top: 30px;
  max-width: 250px;
}

/** RESPONSIVE **/

@media screen and (max-width:920px) {
  form, .content, .footer {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .checkbox {
    margin-right: 32px;
  }

  .form__row label {
    width: 25%;
  }
}
