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

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #626669 !important;
}

@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-Bold.woff2") format("woff2"),url("../font/PorscheNext-Bold.woff") format("woff"),url("../font/PorscheNext-Bold.otf") format("opentype");
    font-style:normal;font-weight:700;
}
@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-BoldItalic.woff2") format("woff2"),url("../font/PorscheNext-BoldItalic.woff") format("woff"),url("../font/PorscheNext-BoldItalic.otf") format("opentype");
    font-style:italic;font-weight:700;
}
@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-Italic.woff2") format("woff2"),url("../font/PorscheNext-Italic.woff") format("woff"),url("../font/PorscheNext-Italic.otf") format("opentype");
    font-style:italic;font-weight:400;
}
@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-Regular.woff2") format("woff2"),url("../font/PorscheNext-Regular.woff") format("woff"),url("../font/PorscheNext-Regular.otf") format("opentype");
    font-style:normal;font-weight:400;
}       
@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-Thin.woff2") format("woff2"),url("../font/PorscheNext-Thin.woff") format("woff"),url("../font/PorscheNext-Thin.otf") format("opentype");
    font-style:normal;font-weight:300;
}        
@font-face {
    font-family:"PorscheNext";
    src:url("../font/PorscheNext-ThinItalic.woff2") format("woff2"),url("../font/PorscheNext-ThinItalic.woff") format("woff"),url("../font/PorscheNext-ThinItalic.otf") format("opentype");
    font-style:italic;font-weight:300;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: rgba(0,0,0,.01) 0 0 1px;
}

body {
  width: 100%;
  font-family: 'PorscheNext', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
}

a {
  color: #000000;
  text-decoration: none;
}

h3 {
  font-weight: 700;
  padding-bottom: 6px;
  font-size: 24px;
  line-height: 1.5;
}

.title {
  font-size: 36px;
  line-height: 1.3;
  padding: 32px 0 1px;
  font-weight: 700;
}

.thankyou-message {
  padding: 0 0 32px 0;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  padding: 36px 0 8px;
}

h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

h3 {
  font-weight: 700;
  padding-bottom: 6px;
  font-size: 24px;
  line-height: 1.5;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.body-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.container {
  max-width: 666px;
  margin: 0 80px;
}

.fw {
  width: 100%;
}

.hw {
  width: 48.5%;
}

.tw {
  width: auto;
}

.input-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 11px;
}

.error {
  color: #AE0D0A;
  font-size: 12px;
  line-height: 1.4;
  padding-top: 8px;
  opacity: 0;
  transition: all 0.2s ease;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 450px;
  background-image: url("../img/hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

form {
  padding:  31px 0 61px;
}

.form-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.interest-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.center-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 25px;
}

.center-container .checkboxContainer {
  padding-left: 20px;
  padding-right: 20px;
}

.center-container .checkboxContainer:first-of-type {
  padding-left: 0;
  padding-right: 0;
}

.center-container span{
  padding-top: 0;  
}

.interest-container span{
  padding-top: 0;  
}

.submit-area {
  padding-top: 40px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  outline: none;
  max-width: 350px;
  border-radius: 0;
  border-color: #323639;
  background: #323639;
  color: #FFFFFF;
  line-height: 1.4;
  font-size: 16px;
  padding: 13px 54px 13px 11px;
  /* background-image: url('PATH TO IMAGE'); */
  background-repeat: no-repeat;
  background-size: 18px 10px;
  background-position: center right 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

select::-ms-expand {
  display: none;
}


input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  outline: none;
  border: 1px solid #626669;
  padding: 13px 11px 13px 11px;
  font-size: 16px;
  color: #000000;
  transition: border-color 0.2s ease;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  background: #323639;
  border: 1px solid #323639;
  padding: 11px 24px 11px 48px;
  background-image: url('../img/chevron.svg');
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: 24px 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

label {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 12px;
}

.invalid > .error {
  opacity: 1;
}

.invalid > input {
  border-color: #AE0D0A;
}

.legal {
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  padding: 42px 0;
  border-top: 1px solid #323639;
}

.bold {
  font-weight: 700;
}

/* =============================================
    Checkboxes
================================================*/

.checkboxContainer{
  padding:10px 0;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.check{
  display: none;
  
}

.check + label{
  border: 1px solid #323639;
  height: 24px;
  width: 24px;
  text-indent: -9999px;
  overflow: hidden;
  padding-bottom: 0;
}

.check + label:hover{
  cursor: pointer;
  border: 1px solid #323639;
}

.invalid > .check + label {
 border-color: #950014 !important;
}

.check:checked + label{
  border: 1px solid #323639;
  background-color: #323639;
  background-image: url('../img/checkmark.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

.text {
  padding-left: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}


/* =============================================
    Media Queries
================================================*/
@media screen and (max-width: 826px) {
  .body-container{
    align-items: center;
  }

  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 20px;
  }
}


@media screen and (min-width: 686px) {
  input:hover {
    border-color: #626669;
  }
  input:focus{
    border-color: #626669;
    outline: 1px solid #626669;
    outline-offset: 2px;
  }
  
  button:hover {
    background-color: #AE0D0A;
    border-color: #AE0D0A;
  }
}

@media screen and (max-width: 686px) {
  .hero {
    background-image: url("../img/hero-mobile.png");
    height: 225px;
  }

  .center-container .checkboxContainer {
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    margin: 0;
    padding: 0 20px
  }

  .title {
    font-size: 32px;
  }

  .hw,
  .tw{
    width: 100%;
  }

  select {
    max-width: 100%;
  }

  input:focus,
  input:hover {
    border-color: #626669;
  }

  button:hover {
    background-color: #323639;
    border-color: #323639;
  }
}