* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: suisseintl,Arial,sans-serif;
}
:root {
    --primary: #333;
    --secondary: #333;
    --errorColor: red;
    --stepNumber: 6;
    --containerWidth: 600px;
    --bgColor: #fff;
    --inputBorderColor: lightgray;
    --inputBorderColorFocus: gray;
    --borderRadius: 2px;
    --buttonColor: #fff;
    --buttonColorHover: #fff;
    --buttonBackgroundColor: #000000;
    --buttonBackgroundColorHover: #5DDC88;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bgColor);
}
::selection {
    color: #fff;
    background: var(--primary);
}
.container {
    background: #fff;
    text-align: center;
    border-radius: var(--borderRadius);
    box-sizing: border-box;
    padding: 50px 35px 10px 35px;
    max-width: var(--containerWidth);
    width: 100%;
}
.container header {
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 30px 0;
}
.container .form-outer {
    width: 100%;
    overflow: hidden;
}
.container .form-outer form {
    display: flex;
    width: calc(100% * var(--stepNumber));
}
.form-outer form .page {
    width: calc(100% / var(--stepNumber));
    transition: margin-left 0.3s ease-in-out;
}
.form-outer form .page .title {
    text-align: left;
    font-size: 25px;
    font-weight: 500;
}
.form-outer form .page .field {
    width: auto;
    height: 45px;
    margin: 45px 0;
    display: flex;
    position: relative;
}
.form-outer form .page .field-checkbox-group,
.form-outer form .page .field-radio-button-group {
    width: auto;
    height: auto;
    margin: 45px 0;
    display: block;
    padding-line-start: 0.25em;
    position: relative;
    text-align: left;
}
.checkbox-group,
.radio-button-group {
  line-height: 1.5em;
  margin-top: 1em;
  padding-inline-start: 0.25em;
}
.checkbox-group .item,
.radio-button-group .item {
  display: block;
  margin-block-end: 1em;
}
.checkbox-group .label-inline-right,
.radio-button-group .label-inline-right {
  margin-inline-start: 0.5em;
}

form .page .field .label {
    position: absolute;
    top: -30px;
    font-weight: 500;
}
form .page .field input,
form .page .field textarea {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: 1px solid var(--inputBorderColor);
    border-radius: var(--borderRadius);
    padding-left: 15px;
    margin: 0 1px;
    font-size: 18px;
    transition: border-color 150ms ease;
}
form .page .field input[type="checkbox"],
form .page .field input[type="radio"] {
    height: 1em;
    margin-right: 1em;
    width: 1em;
}
form .page .field select:focus,
form .page .field textarea:focus,
form .page .field input:focus {
    border-color: var(--inputBorderColorFocus);
}
form .page .field select:focus:invalid,
form .page .field textarea:focus:invalid,
form .page .field input:focus:invalid {
    border-color: var(--errorColor) !important;
}
form .page .field input.invalid-input {
    border-color: var(--errorColor);
}
form .page .field select {
    width: 100%;
    padding-left: 10px;
    font-size: 17px;
    font-weight: 500;
  
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: white;  
  /*
  background-image: url(https://cloud.cm.salewa.com/dropdown-icon-black.svg);
  background-position: 95% 8px;
  background-repeat: no-repeat;
  background-size: 18px 10px;
  */
  border: 1px solid var(--inputBorderColor);
  color: var(--primaryColor);
}

form .page .field-select {
  position: relative;  
}

form .page .field-select::after {
  background-color: white;  
  /*
  background-image: url(https://cloud.cm.salewa.com/dropdown-icon-black.svg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 18px 10px;
  */
  content: '\25BC';
  position: absolute;
  bottom: 1px;
  right: 1px;
  top: 1px;
  width: auto;
  display: block;
  padding: 12px;
  pointer-events: none;
}


form .page .field button {
    width: 100%;
    height: calc(100% + 5px);
    border: none;
    background: var(--buttonBackgroundColor);
    margin-top: -20px;
    border-radius: 5px;
    color: var(--buttonColor);
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.5s ease;
}
form .page .field button:hover {
    background: #000;
}
form .page .btns button {
    margin-top: -20px !important;
}
form .page .btns button.prev {
    margin-right: 3px;
    font-size: 17px;
}
form .page .btns button.next {
    margin-left: 3px;
}
.container .progress-bar {
    display: flex;
    margin: 40px 0;
    user-select: none;
}
.container .progress-bar .step {
    text-align: center;
    width: 100%;
    position: relative;
}
.container .progress-bar .step p {
    font-weight: 500;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
}
.progress-bar .step .bullet {
    height: 25px;
    width: 25px;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    font-weight: 500;
    font-size: 17px;
    line-height: 25px;
}
.progress-bar .step .bullet.active {
    border-color: var(--primary);
    background: var(--primary);
}
.progress-bar .step .bullet span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.progress-bar .step .bullet.active span {
    display: none;
}
.progress-bar .step .bullet:before,
.progress-bar .step .bullet:after {
    position: absolute;
    content: "";
    bottom: 11px;
    right: -51px;
    height: 3px;
    width: 44px;
    background: #262626;
}
.progress-bar .step .bullet.active:after {
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 0.3s linear forwards;
}
@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}
.progress-bar .step:last-child .bullet:before,
.progress-bar .step:last-child .bullet:after {
    display: none;
}
.progress-bar .step p.active {
    color: var(--primary);
    transition: 0.2s linear;
}
.progress-bar .step .check {
    position: absolute;
    left: 50%;
    top: 70%;
    font-size: 15px;
    transform: translate(-50%, -50%);
    display: none;
}
.progress-bar .step .check.active {
    display: block;
    color: #fff;
}

@media screen and (max-width: 660px) {
    .progress-bar .step p {
        display: none;
    }
    .progress-bar .step .bullet::after,
    .progress-bar .step .bullet::before {
        display: none;
    }
    .progress-bar .step .bullet {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .progress-bar .step .check {
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 15px;
        transform: translate(-50%, -50%);
        display: none;
    }
    .step {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/*
@media screen and (max-width: 490px) {
    :root {
        --containerWidth: 100%;
    }
    .container {
        box-sizing: border-box;
        border-radius: 0;
    }
}
*/

/* added vito */
form .page .field select, 
form .page .field input[type="text"], 
form .page .field button {
  border-radius: var(--borderRadius);
}

.header-image {
  max-width: var(--containerWidth);
}

.header-image img {
  height: auto;
  max-width: 100%;
  object-position: center center;
  width: 100%;
}

.form-container {
    margin: auto;
    max-width: var(--containerWidth);
    overflow: hidden;
    width: 100%;
}

.stylingblock-content-wrapper {
  max-width: 100%;
}



@media (max-width: 600px) {
    :root,
    body {
      --containerWidth: 100%;
    }
    .container,
    .form-container,
    .header-image {
      max-width: 100%;
    }
}