
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.flex {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.psd2-body {
    font-family: Lexend, sans-serif;
    font-size: 16px;
    color: #1e2534;
    font-weight: 400;
    margin: 0 auto;
    max-width: 991px;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (max-height: 586px) {
    .psd2-body {
        height: auto;
    }
}

.psd2-wrapper {
    padding: 32px 16px;
    line-height: 24px;
    /*height: 66%;*/
    height: 100%;
    min-height: 586px;
    max-height: 646px;
}

.psd2{
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.psd2-img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.psd2-title{
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin: 20px 20px 16px;
    display: block;
}

.psd2-title p{
    margin: 0;
}

.psd2-form__input label{
    opacity: 0.7;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.psd2-form__input input {
    font-family: Lexend, sans-serif;
    height: 60px;
    border-radius: 16px;
    background-color: #F2F4F5;
    border: none;
    outline: none;
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    padding: 0 16px;
}

.psd2-form__input input::-webkit-input-placeholder{
    color: #A6A0A6;
}

.psd2-form__input input::-moz-placeholder{
    color: #A6A0A6;
}

.psd2-form__input input:-ms-input-placeholder{
    color: #A6A0A6;
}

.psd2-form__input input::-ms-input-placeholder{
    color: #A6A0A6;
}

.psd2-form__input input::placeholder{
    color: #A6A0A6;
}

.psd2-form__input + .psd2-form__input {
    margin-top: 16px;
}

.psd2 a{
    color: #6DA587;
    font-size: 14px;
    margin-top: 24px;
    margin-bottom: 24px;
    display: block;
}

.psd2 a:hover {
    -webkit-transition: color 300ms ease;
    -o-transition: color 300ms ease;
    transition: color 300ms ease;
    color: #A6A0A6;
}

.psd2-error{
    font-size: 14px;
    color: #E44040;
    margin-top: 16px;
}

.psd2-wrapper.error .psd2-form__input input{
    border: 1px solid #E44040;
    background-color: rgba(228, 64, 64, 0.03);
}

.psd2-form__submit {
    background-color: #CAC8CA;
    height: 60px;
    width: 100%;
    display: block;
    border-radius: 16px;
    border: none;
    outline: none;
    font-weight: 600;
    font-size: 16px;
    font-family: Lexend, sans-serif;
    color: rgba(30, 37, 52, 0.5);
    pointer-events: none;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.psd2-wrapper:not(.error) .psd2-form__submit.valid {
    pointer-events: auto;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(109, 165, 135, 1)), to(rgba(165, 179, 127, 1)));
    background-image: -o-linear-gradient(rgba(109, 165, 135, 1) 0%, rgba(165, 179, 127, 1) 100%);
    background-image: linear-gradient(rgba(109, 165, 135, 1) 0%, rgba(165, 179, 127, 1) 100%);
    color: white;
}
