/* --------------------
 Form
-------------------- */
.form__hero {
    align-items: center;
    background-image: url(../images/commons/com-hero-blue.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

@media (min-width: 768px) {
    .form__hero {
        height: 390px;
        padding-bottom: 0;
    }
}

.form__hero-container {
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-direction: column;
        flex-direction: column;
    flex-grow: 1;
    -ms-flex-negative: 1;
    -ms-flex-pack: center;
    -ms-flex-positive: 1;
    flex-shrink: 1;
    height: auto;
    justify-content: center;
    margin: 0 auto;
    padding: 50px 15px 90px;
    width: 100%;
}

@media (min-width: 768px) {
    .form__hero-container {
        padding: 15px 30px;
    }
}

.form__hero__title {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    margin: 0 0 15px;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .form__hero__title {
        font-size: 3.2rem;
    }
}

.form__hero__desc {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: .1em;
    line-height: 2.2;
    margin: 0;
    text-align: center;
    width: 100%;
}

.form__hero:after {
    background-color: rgba(255, 255, 255, .7);
    bottom: 0;
    content: '';
    display: block;
    height: 60px;
    left: 0;
    margin: 0;
    position: absolute;
    right: 0;
    z-index: 0;
}

.form__main {
    padding: 30px 0 60px;
}

@media (min-width: 768px) {
    .form__main {
        padding-bottom: 120px;
        padding-top: 50px;
    }
}

.form__main-container {
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .form__main-container {
        max-width: 1060px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.form__main__step {
    margin: 0 0 50px;
}

.form__main__step__item {
    background-color: #ffe641;
    color: #abaaaa;
    display: inline-block;
    font-size: 1.2rem;
    height: 34px;
    margin: 0 5px 0 0;
    padding: 8px 8px 8px 16px;
    position: relative;
    text-align: center;
}

@media (min-width: 768px) {
    .form__main__step__item {
        font-size: 1.6rem;
        height: 40px;
        padding: 8px 10px;
        width: 200px;
    }
}

.form__main__step__item:before {
    border-bottom: 17px solid transparent;
    border-left: 12px solid #ffffff;
    border-right: none;
    border-top: 17px solid transparent;
    bottom: 0;
    content: '';
    display: block;
    height: 34px;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    width: 12px;
}

@media (min-width: 768px) {
    .form__main__step__item:before {
        border-bottom-width: 20px;
        border-left-width: 20px;
        border-top-width: 20px;
        height: 40px;
        width: 20px;
    }
}

.form__main__step__item:after {
    border-bottom: 17px solid transparent;
    border-left: 12px solid #ffe641;
    border-right: none;
    border-top: 17px solid transparent;
    bottom: 0;
    content: '';
    display: block;
    height: 34px;
    left: auto;
    position: absolute;
    right: -12px;
    top: 0;
    width: 12px;
}

@media (min-width: 768px) {
    .form__main__step__item:after {
        border-bottom-width: 20px;
        border-left-width: 20px;
        border-top-width: 20px;
        height: 40px;
        width: 20px;
    }
}

.form__main__step__item.is-active {
    background-color: #33aaff;
    color: #ffffff;
}

.form__main__step__item.is-active:after {
    border-left-color: #33aaff;
}

.form__main__step__item:first-child:before {
    display: none;
}

.form__main__step__item:nth-child(1) {
    z-index: 10;
}

.form__main__step__item:nth-child(2) {
    z-index: 9;
}

.form__main__step__item:nth-child(3) {
    z-index: 8;
}

.form__main__title {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 50px;
    text-align: center;
}

@media (min-width: 768px) {
    .form__main__title {
        font-size: 2.6rem;
        text-align: left;
    }
}

.form__main__title__text {
    display: inline-block;
    padding: 0 0 0 40px;
    position: relative;
}

@media (min-width: 992px) {
    .form__main__title__text {
        padding-left: 55px;
    }
}

.form__main__title__text:before {
    background-image: url(../images/commons/com-title-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    content: '';
    display: block;
    height: 30px;
    left: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
}

@media (min-width: 992px) {
    .form__main__title__text:before {
        background-size: 45px 45px;
        height: 45px;
        width: 45px;
    }
}

.form__main__complete {
    font-size: 1.6rem;
    margin: 0 0 50px;
    letter-spacing: .08em;
    line-height: 2.2;
    text-align: justify;
}

.form__main__table {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto 30px;
    max-width: 860px;
    width: 100%;
}

@media (max-width: 767px) {
    .form__main__table {
        display: block;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .form__main__table-wrapper {
        white-space: nowrap;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .form__main__table > tbody {
        display: block;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .form__main__table > tbody > tr {
        display: block;
        width: 100%;
    }
}

.form__main__table > tbody > tr > th, .form__main__table > tbody > tr > td {
    border-bottom: 1px solid #33abff;
    font-size: 1.4rem;
    text-align: left;
}

@media (max-width: 767px) {
    .form__main__table > tbody > tr > th, .form__main__table > tbody > tr > td {
        display: block;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .form__main__table > tbody > tr > th, .form__main__table > tbody > tr > td {
        font-size: 1.6rem;
    }
}

.form__main__table > tbody > tr > th {
    background-color: rgba(51, 171, 255, .3);
    font-weight: 400;
    padding: 10px 15px;
}

@media (min-width: 768px) {
    .form__main__table > tbody > tr > th {
        padding: 15px 30px;
        width: 250px;
    }
}

.form__main__table > tbody > tr > td {
    background-color: rgba(51, 171, 255, .1);
    padding: 12px 15px 40px;
}

@media (min-width: 768px) {
    .form__main__table > tbody > tr > td {
        padding: 15px 30px;
    }
}

.form__main__table__radio {
    margin: 10px 0;
}

@media (min-width: 768px) {
    .form__main__table__radio {
        margin: 5px 0;
    }
}

.form__main__action {
    margin: 0 auto;
    max-height: 380px;
}

.form__main__action__item {
    margin: 0 0 30px;
    text-align: center;
}

.form__main__action__item:last-child {
    margin-bottom: 0;
}

.form__main__action__item__submit {
    -webkit-appearance: none;
    background-color: #33acff;
    border: none;
    color: #ffffff;
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .15;
    list-style: 1.2;
    margin: 0 auto;
    max-width: 380px;
    padding: 15px 10px;
    text-align: center;
    -webkit-transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
            transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
    width: 100%;
}

.form__main__action__item__submit:hover, .form__main__action__item__submit:focus {
    color: #ffffff;
    opacity: .75;
}

.form__main__action__item__back {
    -webkit-appearance: none;
    background-color: #595757;
    border: none;
    color: #ffffff;
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .15;
    list-style: 1.2;
    margin: 0 auto;
    max-width: 380px;
    padding: 15px 10px;
    text-align: center;
    -webkit-transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
            transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
    width: 100%;
}

.form__main__action__item__back:hover, .form__main__action__item__back:focus {
    color: #ffffff;
    opacity: .75;
}




.form__main__action__item__button {
    color: #33acff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto;
    text-decoration: underline;
    -webkit-transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
            transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
}

.form__main__action__item__button:hover, .form__main__action__item__button:focus {
    color: #33acff;
    text-decoration: none;
    opacity: .75;
}

.form__main .required {
    background-color: #e20000;
    color: #ffffff;
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0 0 0 5px;
    padding: 3px 5px;
}

.form__main input[type='text'], .form__main input[type='email'] {
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #a7a5a5;
    border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    font-size: 1.6rem;
    padding: 8px 10px;
    width: 100%;
}

.form__main textarea {
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #a7a5a5;
    border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    font-size: 1.6rem;
    height: 250px;
    padding: 8px 10px;
    width: 100%;
}

.gnav {
    bottom: 80px;
}

.error-message {
    color: red;
    font-weight: bold;
}
