@font-face {
  font-family: segoeui;
  src: url(SEGOEUI.TTF);
}
@font-face {
  font-family: seguibl;
  src: url(seguibl.ttf);
}

body {
  width: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 1300px;
}

body, input {
  font-family: segoeui;
}
b {font-weight: bold}
a {color: black}

.contentbg {
  position: relative;
  top: -2em;
  background-repeat: no-repeat;
  margin: 0 auto 2em;
  background-size: contain;
}

.content {
  position: relative;
  padding: 20px;
}

.background {
  background-color: rgba(255, 255, 255, .9);
  padding: 20px;
}

.success .background {
  padding: 17em 1em;
}

h1, h2, h3 {
  text-align: center;
  margin: auto;
}
h1 {
  font-family: seguibl;
  text-transform: uppercase;
  width: 80%;
  font-weight: bold;
  font-size: 18px;
}
h2, h3 {
  width: 85%;
  margin: 0 auto .5em;
  font-size: 12px;
}
h2 {
  font-weight: normal;
}

form p {
  margin-left: auto;
  margin-right: auto;
}

.user .text label, .user .gender label {
  font-size: 13px;
  font-weight: bold;
  display: block;
  margin-bottom: 3px;
}
.user .text input {
  background-color: transparent;
  border-radius: 0;
}

.user .gender label.radio {
  display: inline;
  font-weight: normal;
  margin-right: 10px;
}
.user .gender input {
}

.user .gender input {
  margin: 0 3px 0 0;
}
.user .text input {
  border-width: 0 0 1px 0;
  border-color: black;
  padding-bottom: 5px;
  width: 95%;
  display: block;
}

.optin {
  margin: 0 auto;
}
.optin label {
  font-size: 12px;
  vertical-align: middle;
}
.optin input {
  margin: 0;
}
.optin span {
  text-decoration: underline;
  cursor: pointer;
}

.required {
  font-size: 12px;
  margin-top: 5px;
}

.button {
  display: block;
  border: none;
  background-color: black;
  color: white;
  text-transform: uppercase;
  margin: 1em auto .5em;
  font-size: 14px;
  line-height: 35px;
  padding: 0 1em;
  font-weight: normal;
}

#submit {
  width: 100%;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
}
.button:hover {
  background-color: #c9365d;
}
.end {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #c9365d;
  text-transform: uppercase;
  font-family: seguibl;
}

.calvifornia {
  width: 80px;
  margin: 0 auto 5px;
  display: block;
}

.hashtag {
  text-align: center;
  color: #c9365d;
  font-size: 12px;
  font-weight: bold;
  font-family: seguibl;
}

.g-recaptcha {
  margin-top: .5em;
}

.capsule {
  position: relative;
  padding: 0;
  text-align: center;
}

.capsule h1 {
  margin: 0;
  width: 100%;
  position: relative;
}
.capsule div {
  margin: 0 auto;
  width: 100%;
  position: absolute;
}

.capsule .button {
  display: inline-block;
  cursor: pointer;
  padding: 0 1.5em;
}

@media (min-width: 751px) {
  body {
    background-image: url("../img/img_bc_desktop_tablette.jpg");
  }
  .content {
    top: .5em;
    margin: 20px;
  }
  h1 {
    margin: 10px auto;
  }
  .contentbg {
    background-image: url("../img/content_bc.jpg");
  }
  .contentbg, .capsule {
    width: 590px;
  }
  .capsule {
    height: 390px;
  }
  .capsule h1 {
    top: 25px;
  }
  .capsule div {
    bottom: 42px;
  }
  form {
    margin-top: 1em;
  }
  .capsule img {
    display: none;
  }
}

@media (max-width: 750px) {
  body {
    background-image: url("../img/img_bc_desktop_tablette.jpg");
  }
  .content {
    top: .5em;
    margin: 20px;
  }
  h1 {
    margin: .5em auto;
  }
  .contentbg {
    background-image: url("../img/content_bc_mobile.jpg");
  }
  .contentbg, .capsule {
    width: 540px;
  }
  .capsule {
    height: 390px;
  }
  .capsule h1 {
    top: 20px;
  }
  .capsule div {
    bottom: 70px;
  }
  .capsule img {
    display: none;
  }
}

@media (max-width: 540px) {
  body {
    background-image: url("../img/Img_bc_formulaire_M.jpg");
  }
  .content {
    margin: 20px 0 0;
    padding: 20px 0;
  }
  .contentbg {
    max-width: 95%;
    background-image: none;
  }
  .capsule {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
  }
  .capsule img {
    display: block;
    width: 100%;
    height: auto;
    z-index: -1;
  }
  .capsule h1 {
    position: absolute;
    top: 15px;
  }
  .capsule div {
    bottom: 0px;
  }
  .capsule .button {
    margin: 0;
  }
}