.form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 39px 24px;
    background-color: rgba(255, 255, 255, 0.92);
}

.form .inputs-wrapper label {
    position: relative;
    width: 100%;
    display: inline-block;
}

.form .section-title strong,
.form .form-success .success-message strong {
    font-weight: 700;
}

.form .inputs-wrapper {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    font-size: 1.125rem;
}

.form .inputs-wrapper .form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0 11px 5px;
    border: none;
    border-bottom: 1px solid #0F0F0F;
    background-color: transparent;
    margin-bottom: 40px;
}

.form .inputs-wrapper .form-input::-moz-placeholder {
    color: #00000000;
    opacity: 0;
}

.form .inputs-wrapper .form-input:-ms-input-placeholder {
    color: #00000000;
    opacity: 0;
}

.form .inputs-wrapper .form-input::placeholder {
    color: #00000000;
    opacity: 0;
}

.form .inputs-wrapper .form-input.user-invalid {
    border-bottom: 1px solid #EA1E2D;
}

.form .inputs-wrapper .form-alert-msg {
    position: absolute;
    left: 0;
    top: 30px;
    text-align: right;
    color: #515151;
}

.form .inputs-wrapper .submit-input {
    display: inline-block;
    margin: 0 auto;
}

.form .form-error {
    position: absolute;
    max-width: 50%;
}

.form .form-error .error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #515151;
    margin-top: 5px;
    text-align: left;
    font-weight: 500;
    margin-top: 14px;
    transform: translateX(50px);
}

.form .form-error svg {
    height: 15px;
    width: 15px;
    margin-right: 5px;
}

.form .form-success {
    width: 100%;
    font-weight: 500;
    margin-top: 14px;
}

.form .form-success .success-description {
    text-align: center;
}


.form .form-success .success-message,
.form .submit-wrapper {
    text-align: center;
}

.form .radio-wrapper {
    display: inline-block;
}

.form .radio-wrapper:not(:last-of-type) {
    margin-right: 80px;
}

.form .radio-wrapper input[type='radio'] {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-color: transparent;
    cursor: pointer;
}

.form .text-radio-button {
    margin-bottom: 5px;
}

.form .radio-wrapper label {
    transform: translateY(-5px);
    display: inline-block;
    width: unset;
}

.form .radio-input {
    margin-bottom: 25px;
    color: #515151;
}

.form .checkbox-input {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: relative;
}

.form .checkbox-input .form-alert-msg {
    top: 60px;
    font-size: 1rem;
}

.form .checkbox-input a {
    color: #000;
}

.form .checkbox-input ~ .checkbox-input {
    margin-top: -20px;
}

.form .checkbox-input::before {
    content: "";
    margin: 0 -7px 25px;
    width: 100%;
    padding: 0 7px;
    height: 1px;
    background-color: #C4C4C4;
}

.form .checkbox-input ~ .checkbox-input::before {
    content: none;
}


.form .checkbox-input label {
    width: calc(100% - 23px);
    color: #515151;
    transform: translateY(-4px);
    font-size: 1rem;
    line-height: 1.5;
}

.form .checkbox-input input {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    cursor: pointer;
}

.form .cta-button {
    cursor: pointer;
}

.lightbox-modal .form-modal .form .cta-button:hover {
    background-color: #000; 
}

.form .inputs-wrapper label .input-label {
	position: absolute;
	left: 11px;
	top: 0px;
	display: inline-block;
	font-size: 1.125rem;
	color: #7E7E7E;
	transition: transform 0.3s ease-out;
	pointer-events: none;
}

.form .inputs-wrapper .form-input:focus + .input-label,
.form .inputs-wrapper label .input-label.taped {
    transform: translateY(-20px);
	color: #008df4;
}

.form .inputs-wrapper .form-input.user-invalid:focus + .input-label,
.form .inputs-wrapper .form-input.user-invalid + .input-label {
    color: #ea1e2d;
}

@media(min-width: 768px) {
    .form {
        padding: 46px 59px;
    }

    .form .checkbox-input label {
        max-width: 430px;
    }

    .form .checkbox-input .form-alert-msg {
        top: 42px;
    }

    .form .checkbox-input::before {
        margin: 0 -15px 25px;
        padding: 0 15px;
    }
}

@media(min-width: 1366px) {
    .form {
        padding: 50px 79px;
    }

    .form .checkbox-input::before {
        margin: 0 -26px 17px;
        padding: 0 26px;
    }

    .form .checkbox-input label {
        max-width: 470px;
    }
}