/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  3. Allow percentage-based heights in the application
*/
html,
body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  6. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
  7. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}

/*
  8. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  overflow-wrap: break-word;
  color: #2C2C2C;
}

p {
  margin-bottom: 20px;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 30px 30px 34px;
}

header img {
  max-width: 398px;
  width: 100%;
  margin-bottom: 24px;
}

header h1 {
  color: #3D9BE9;
}

main {
  padding: 0px 30px 34px;
}

main p {
  font-weight: bold;
  font-size: 14px;
}

main p:last-of-type {
  margin-bottom: 0px;
}

main,
section {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
}

section {
  padding: 0px 30px 94px;
}

section .inputWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

section .inputWrapper:last-of-type {
  margin-bottom: 0px;
}

section .inputWrapper .form-group {
  width: 100%;
}

section .inputWrapper input[type=text] {
  width: 100%;
  color: #2C2C2C;
  border: 1px solid #2C2C2C;
  outline: none;
  padding: 3px;
  font-family: 'Montserrat', sans-serif;
  color: #2c2c2c;
  font-size: 14px;
}
section .inputWrapper input[type=text]::placeholder {
  font-family: 'Montserrat', sans-serif;
  color: #2c2c2c;
  font-size: 14px;
}

.iti,
#phone {
  width: 100%;
}

section .inputWrapper input[type=text]:first-of-type {
  margin-bottom: 16px;
}

section .inputWrapper label {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  color: #2c2c2c;
  font-size: 14px;
  line-height: 1;
}

section .inputWrapper input[type=checkbox] {
  outline: none;
  width: 14px;
  height: 14px;
  margin-right: 10px;
}

section button {
  all: unset;
  background-color: #3D9BE9;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  display: block;
  max-width: 286px;
  width: 100%;
  margin: 20px auto 0 auto;
  text-align: center;
  padding: 7px;
}

section a {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  color: #2C2C2C;
  outline: none;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  background-color: #3D9BE9;
  padding: 6px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

footer a {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  color: #FFFFFF;
  outline: none;
}

footer .show-on-md {
  display: none;
}

.help-block {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: red;
}

.form-group.field-phone input,
.form-group.field-phone input::placeholder {
  font-family: 'Montserrat', sans-serif;
  color: #2c2c2c;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  section .inputWrapper {
    flex-direction: row;
  }

  section .inputWrapper input[type=text]:first-of-type {
    margin-bottom: 0px;
    margin-right: 24px;
  }



  section .inputWrapper.cb {
    justify-content: flex-start;
  }

  section .inputWrapper .form-group:first-of-type {
    margin-right: 24px;
  }

  section .inputWrapper .field-club-address {
    margin-bottom: 0px;
    margin-right: 0px !important;
  }

  footer {
    flex-direction: row;
  }

  footer .show-on-md {
    display: block;
    margin: 0 10px;
  }

}