* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #000;
}

.form__wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #FBFBFB;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.form__wrapper:before {
    display: none;
    content: '';
    background-color: rgb(41, 34, 28);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

form {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.form__title {
    font-size: 42px;
    line-height: 1.23;
    text-align: center;
    font-weight: 600;
}

.form__subtitle {
    font-size: 20px;
    line-height: 1.55;
    text-align: center;
    font-weight: 300;
    margin: 40px auto;
}

label {
    max-width: 560px;
    display: block;
    margin: 14px auto 0;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.55;
}

input,
select,
button {
    width: 100%;
    display: block;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    padding: 10px;
    border: none;
    outline: none;
    color: #000;
    font-size: 16px;
}

input:not([type="submit"]), select {
    border: 1px solid #3E3E3E;
}

select {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
}

.for_select {
    position: relative;
}

.for_select::after {
    content: ' ';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    position: absolute;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}

input[type=submit],
input[type=button] {
    background-color: #8ad3ff;
    text-align: center;
    max-width: 560px;
    font-weight: 500;
    margin: 15px auto;
    color: #000;
    cursor: pointer;
}

input[type=submit]:disabled,
input[type=button]:disabled {
    filter: brightness(0.7);
    cursor: no-drop;
}

input[type=submit].red {
    background-color: #ffab2e;
    color: #fff;
}

label[for=agree] {
    font-size: 15px;
    cursor: pointer;
}

label[for=agree] input {
    opacity: 0;
    position: absolute;
    width: 1px;
}

.checkbox {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    width: 20px;
    border: 2px solid #000;
    box-sizing: border-box;
    margin-right: 10px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

#agree:checked + .checkbox:after {
    display: block;
}

.checkbox:after {
    display: none;
    content: ' ';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    user-select: none;
}

a {
    display: block;
    text-align: center;
    font-weight: 300;
    text-decoration: none;
}


#registration_form #registration_form-agree_button {
    display: inline-block;
}

#registration_form #registration_form-agree_text {
    margin-top: 10px;
    display: block;
    height: 150px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    padding: 0 5px;
}

option,
option[selected]{
    color: #000;
}


.modal_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
    display: none;
}

.modal {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
}

.close_button {
    padding: 10px 30px;
    background-color: #62c584;
    margin: 25px auto 0;
    width: 200px;
}

.message {
    color: #000;
}

.form-errors {
    text-align: center;
}

.error {
    color: #f00;
}

.ui-button-text {
    color: #2e6e9e;
}