/* 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: black !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: underline;
}

h3 {
  font-weight: 700;
  padding-bottom: 10px;
  font-size: 18px;
}

.title {
  font-size: 30px;
  padding: 30px 0;
  font-weight: 700;
}

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

.thankyou-message h1{
  font-size: 21px;
  font-weight: 700;
  padding-bottom: 10px;
}

.thankyou-message h2{
  font-size: 16px;
}

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

.container {
  max-width: 600px;
}

.fw {
  width: 100%;
}

.hw {
  width: 48.5%;
}

.tw {
  width: 25%
}

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

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

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;
    justify-content: space-between;
    align-items: center;
}

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

.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-end;
}

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: #3F4147;
  background: #3F4147;
  color: #FFFFFF;
  line-height: 1.4;
  font-size: 16px;
  padding: 13px 54px 13px 11px;
  background-image: url('../img/select-arrow.png');
  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 #979797;
  padding: 13px 11px 13px 11px;
  font-size: 16px;
  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: 15px;
  line-height: 1.4;
  color: #ffffff;
  background: #3F4147;
  border: 1px solid #3F4147;
  padding: 13px 30px 13px 42px;
  text-transform: uppercase;
  background-image: url('../img/submit-arrow.png');
  background-repeat: no-repeat;
  background-size: 8px 12px;
  background-position: center left 25px;
  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: #9C0100;
}

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

.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;
  
}
@media screen and (min-width: 520px){
  .check + label:hover{
    cursor: pointer;
    border: 1px solid #950014;
  }
}

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

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

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

.text {
  padding-left: 20px;
}


/* =============================================
    Media Queries
================================================*/

@media screen and (min-width: 640px) {
  input:focus,
  input:hover {
    border-color: #000000;
  }
  
  button:hover {
    background-color: #9C0100;
    border-color: #9C0100;
  }
}

@media screen and (max-width: 640px) {
  .hw,
  .tw{
    width: 100%;
  }

  .body-container {
    padding: 0 20px;
  }

  select {
    max-width: 100%;
  }

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

  button:hover {
    background-color: #3F4147;
    border-color: #3F4147;
  }
}