:root {
  --text-color: #333;
  --primary-color: #003f5d;
  --primary-hover-color: #67a2be;
  --error-color: #f8e8ed;
  --border-hover-color: #67a2be;
  --border-active-color: #003f5d;
  --border-error-color: #c01953;
}

@font-face {
  font-family: OpenSans;
  src: local(OpenSans-Light),
    url(/path/to/OpenSans-Light.woff2) format("woff2"),
    url(/path/to/OpenSans-Light.woff) format("woff"),
    url(/path/to/OpenSans-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: OpenSans;
  src: local(OpenSans-Regular),
    url(/path/to/OpenSans-Regular.woff2) format("woff2"),
    url(/path/to/OpenSans-Regular.woff) format("woff"),
    url(/path/to/OpenSans-Regular.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: OpenSans;
  src: local(OpenSans-SemiBoldItalic),
    url(/path/to/OpenSans-SemiBoldItalic.woff2) format("woff2"),
    url(/path/to/OpenSans-SemiBoldItalic.woff) format("woff"),
    url(/path/to/OpenSans-SemiBoldItalic.ttf) format("truetype");
  font-weight: 600;
  font-style: italic;
  font-stretch: normal;
}

@font-face {
  font-family: OpenSans;
  src: local(OpenSans-SemiBold),
    url(/path/to/OpenSans-SemiBold.woff2) format("woff2"),
    url(/path/to/OpenSans-SemiBold.woff) format("woff"),
    url(/path/to/OpenSans-SemiBold.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: OpenSans;
  src: local(OpenSans-Bold),
    url(/path/to/OpenSans-Bold.woff2) format("woff2"),
    url(/path/to/OpenSans-Bold.woff) format("woff"),
    url(/path/to/OpenSans-Bold.ttf) format("truetype");
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  font-size: 20px;
  font-family: OpenSans, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--primary-color);
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
}



/* GRID */
.row {
  display: flex;
  gap: 20px;
}

@media only screen and (max-width: 670px) {
  .row {
    flex-direction: column;
    gap: 0;
  }
}

.column,
.columns {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.columns.two {
  width: 16.5%;
}

.columns.three {
  width: 25%;
}

.columns.four {
  width: 33%;
}

.columns.five {
  width: 41.5%;
}

.columns.six {
  width: 50%;
}

.columns.nine {
  width: 75%;
}

.columns.twelve {
  width: 100%;
}

@media only screen and (max-width: 670px) {
  .columns.two,
  .columns.three,
  .columns.four,
  .columns.five,
  .columns.six,
  .columns.nine,
  .columns.twelve {
    width: 100%;
  }
}



/* MAIN SITE */
.site {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 20px;
  padding: 0 40px;
  overflow: hidden;
}

.personal-info {
  background: #d1e1e7;
  border-radius: 15px;
  padding: 10px 30px;
  color: var(--primary-color);
}

.legal-info {
  position: relative;
  margin-bottom: 30px;
}

.disclaimer label {
  font-size: 14px;
}

.mandatory-label {
  font-size: 14px;
  color: var(--primary-color);
}

@media only screen and (max-width: 570px) {
  .mandatory-label {
    display: block;
    margin-bottom: 20px;
  }
}

button[type="submit"] {
  float: right;
  background-color: var(--primary-color);
  border: none;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  min-width: 200px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: var(--primary-hover-color);
}

@media only screen and (max-width: 570px) {
  button[type="submit"] {
    float: none;
  }
}




/* FLOW */
.flow-container {
  margin: 40px 0;
}

.flow {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  align-items: end;
  font-size: 16px;
}

.flow img {
  max-width: 65px;
}

.flow img.next {
  max-height: 20px;
}

.flow .step {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  /* width: 25%; */
  font-weight: bold;
}

.flow .step span {
  margin-top: 20px;
  text-align: center;
}

@media only screen and (max-width: 670px) {
  .flow {
    font-size: 11px;
  }

  .flow img {
    max-width: 45px;
  }

  .flow img.next {
    max-height: 15px;
  }
}

@media only screen and (max-width: 570px) {
  .flow {
    flex-wrap: wrap;
  }
  
  .flow img.next.desktop {
    display: none;
  }

  .flow .step {
    width: 40%;
  }
}



/* FORMS */
form {
  font-size: 18px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 4px;
}

input:hover {
  border: 1px solid var(--border-hover-color);
}

input:not(:placeholder-shown),
input:active,
input:focus {
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--border-active-color);
}

label {
  display: inline-block;
  margin-bottom: 5px;
}

.column label,
.columns label {
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radios {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 18px;
}

@media only screen and (max-width: 570px) {
  .radios {
    flex-direction: column;
    gap: 0;
    align-items: start;
  }
}



/* FORM ERRORS */
.error-message {
  position: absolute;
  display: none;
  top: 34px;
  right: 7px;
  font-size: 10px;
  color: var(--border-error-color);
  text-align: left;
  overflow: hidden;
  transition: all 0.3s ease-in;
}

.error-message.static{
  position: relative;
  left: 30px;
  top: 0;
  margin-top: 10px;
}

.error-message.show {
  display: block;
}

input[type="text"].error,
input[type="email"].error,
input[type="select"].error,
input[type="checkbox"].error,
textarea.error,
select.error {
  border: 1px solid var(--border-error-color) !important;
  background: var(--error-color)
}
