/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: 'Cupra';
  src: url('../fonts/eot/Cupra-Light.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/eot/Cupra-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/woff/Cupra-Light.woff') format('woff'),
    url('../fonts/ttf/Cupra-Light.ttf') format('truetype');
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Cupra';
  src: url('../fonts/eot/Cupra-Book.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/eot/Cupra-Book.eot?#iefix') format('embedded-opentype'),
    url('../fonts/woff/Cupra-Book.woff') format('woff'),
    url('../fonts/ttf/Cupra-Book.ttf') format('truetype');
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Cupra';
  src: url('../fonts/eot/Cupra-Medium.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/eot/Cupra-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/woff/Cupra-Medium.woff') format('woff'),
    url('../fonts/ttf/Cupra-Medium.ttf') format('truetype');
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: 500;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Cupra';
  font-weight: 300;
  letter-spacing: 0.5px;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
}

html {
  height: 100%;
  background: #f5f5f5;
  padding: 20px;
}

.main-container {
  max-width: 500px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

.logo {
  text-align: center;
  padding-bottom: 50px;
}
.logo img {
  display: block;
  margin: 0 auto;
}

h1 {
  font-size: 32px;
  font-weight: 300;
}

.terms {
  font-size: 16px;
  font-weight: 400;
  color: #12100f;
}
.terms.input-container {
  padding-top: 20px;
}
.terms.input-container label {
  font-size: 12px;
  font-weight: 500;
}

.submit-area .terms {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #d5d5d5;
}

a {
  color: #242221;
  text-decoration: underline;
}

form {
  padding: 40px 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.input-container {
  margin: 0 0 30px;
  position: relative;
}
.input-container input,
.input-container textarea {
  width: 100%;
  background-color: transparent;
  border: 0px;
  border-bottom: 1px solid #d5d5d5;
  padding: 10px 0 20px;
  outline: 0px;
  font-size: 20px;
  font-weight: 300;
}
.input-container textarea {
  height: 150px;
  resize: none;
}
.input-container label {
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  bottom: 0;
  z-index: -1;
}
.input-container label.mandatory:after {
  content: '*';
  font-size: 12px;
  position: relative;
  left: 2px;
  top: -2px;
}
.input-container ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  font-weight: 300;
  color: #bebbb9;
}
.input-container ::-moz-placeholder {
  /* Firefox 19+ */
  font-weight: 300;
  color: #bebbb9;
}
.input-container :-ms-input-placeholder {
  /* IE 10+ */
  font-weight: 300;
  color: #bebbb9;
}
.input-container :-moz-placeholder {
  /* Firefox 18- */
  font-weight: 300;
  color: #bebbb9;
}
.input-container :-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #f5f5f5 inset;
}
.input-container .error {
  font-size: 16px;
  color: #ff7d7d;
  padding-top: 2px;
  display: none;
}
.input-container.invalid input,
.input-container.invalid textarea {
  border-color: #ff7d7d;
}
.input-container.invalid .error {
  display: block;
}
.input-container.placeholder-label label {
  bottom: -35px;
  font-weight: 300;
  font-size: 16px;
}

.button {
  display: flex;
  flex-direction: row-reverse;
}

button {
  border: 2px solid #242221;
  background-color: transparent;
  padding: 10px 34px;
  font-family: 'Cupra';
  font-size: 16px;
  font-weight: 500;
  transition: all 0.25s ease;
  outline: none;
}
button:focus,
button:hover,
button:active {
  color: #fff;
  background-color: #242221;
  cursor: pointer;
}
button:disabled {
  border: 2px solid #242221 !important;
  background-color: transparent !important;
  color: #242221 !important;
  opacity: 0.35;
  cursor: not-allowed;
}

/* =============================================
    Checkboxes
================================================*/
.checkbox {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

input[type='checkbox'] {
  left: 0;
  position: absolute;
  margin: 0;
  padding: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
  width: auto;
}
input[type='checkbox'] ~ span {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  border: 1px solid #d5d5d5;
  border-radius: 0px;
  height: 34px;
  width: 34px;
  transition: background 0.25s ease, border 0.25s ease, opacity 0.25s ease;
}
input[type='checkbox'] + label {
  position: relative;
  padding: 3px 0 0 54px;
  display: block;
  z-index: 2;
  cursor: pointer;
}
input[type='checkbox']:hover ~ span {
  border: 1px solid #bcbcbc;
}
input[type='checkbox']:checked ~ span {
  background: #242221;
  border: 1px solid #242221;
}
input[type='checkbox']:checked ~ span:after {
  content: '';
  content: '';
  height: 7px;
  width: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  position: absolute;
  top: 9px;
  left: 8px;
  transform: rotate(135deg);
}
