/* =============================================
    Audi Iframe layout style
================================================*/

/* Hide mobile container */
.container__mobile {
  display: none;
}

/* Fonts */

@font-face {
  font-family: 'Audi Type';
  src: url('../fonts/AudiType-Bold.woff2') format('woff2'), url('../fonts/AudiType-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Audi Type';
  src: url('../fonts/AudiType-Normal.woff2') format('woff2'), url('../fonts/AudiType-Normal.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Audi Type Extended';
  src: url('../fonts/AudiType-ExtendedNormal.woff2') format('woff2'),
    url('../fonts/AudiType-ExtendedNormal.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Audi Type Extended';
  src: url('../fonts/AudiType-ExtendedBold.woff2') format('woff2'),
    url('../fonts/AudiType-ExtendedBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

h1 {
  font-family: 'Audi Type Extended', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
  padding: 16px 0;
}

h3 {
  font-family: 'Audi Type Extended', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  padding-bottom: 8px;
  margin-top: 16px;
}

p {
  font-family: 'Audi Type', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  color: #333333;
}

/* Containers */
.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100%;
  justify-content: space-between;
}

.container__desktop--img {
  width: 50%;
}
.container__desktop--form {
  width: 50%;
  padding: 0;
}

/* Form */
form {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.form__content {
  height: calc(100vh - 85px);
  padding: 0 20px 0 55px;
  overflow-x: hidden;
  overflow-y: scroll;
  background:
  /* Shadow Cover TOP */ linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top,
    /* Shadow Cover BOTTOM */ linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom,
    /* Shadow BOTTOM */ radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;

  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}

.form__footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 25px 40px 0 40px;
}

.introduction {
  padding-bottom: 40px;
}

.radiobutton_space {
  margin-top: 40px;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.fw {
  width: 100%;
}

.hw {
  width: 49%;
}

#gdpr_text_consent_form_container p {
  padding-bottom: 15px;
}

#gdpr_text_consent_form_container {
  border-top: 1px solid #d7d7d7;
  margin-top: 35px;
  padding-top: 30px;
  font-size: 12px;
  line-height: 20px;
}

.gdpr__text a {
  color: #333333;
  font-weight: 700;
}

/* ---------------------------------------------------- */
/* Thank You page styling */
/* ---------------------------------------------------- */

.submitted {
  text-align: center;
  margin: 0 55px 0 55px;
}
.submitted > h1 {
  margin: 70px 0 0;
}

/* Medias */

/* Mobile ------------------------------- */
@media only screen and (max-width: 950px) {
  .container__desktop--img {
    display: none;
  }

  form {
    height: calc(100vh - 96px);
  }

  .form__content {
    padding-left: 20px;
  }

  .container__mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .container__mobile--logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 46px;
  }

  .submitted {
    text-align: center;
    margin: 0;
  }

  .submitted > h1 {
    margin: 55px 0 0;
    padding: 0 0 16px 0;
  }

  h1 {
    padding-bottom: 16px;
  }

  .container__desktop--form {
    width: 100%;
  }

  .row {
    flex-direction: column;
  }

  .hw {
    width: 100%;
  }
}
