html, body {
 font-family: var(--font-sc);
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, p, label {
 margin: 0;
 padding: 0;
}

h1 {
 font-size: var(--h1);
}

h2 {
 border-top: 2px solid var(--border-color);
 font-size: var(--h2);
 padding: 30px 0;
}
p {
 font-size: var(--p);
    font-family: var(--font-p);
 line-height: var(--text-p-height);
}

h3 {
 font-size: var(--h3);
    line-height: 30px;
    text-transform: uppercase;
    font-weight: 500;
}

label {
    font-weight: 500;
}

.wrapper {
 width: 800px;
 margin: 0 auto;
}

.header {
 padding: 30px 0;
 text-align: center;
}

.header {
    text-indent: -9999px;
    background: var(--sc-logo) no-repeat center center;
    height: 160px;
}

.block__description {
 border-top: 2px solid var(--border-color);
 padding: 30px 0;
}

.block__description.center {
    text-align: center;
}

.block__description h2 {
 font-weight: 300;
 padding: 20px 0;
 border: 0;
}

.block__fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.block__fieldset-row {
    display: flex;
    flex-wrap: wrap;
}

.block__fieldset-row.center {
    justify-content: center;
}

.label__title {
    display: block;
    text-transform: uppercase;
    font-size: var(--h3);
    line-height: 20px;
    margin-bottom: 5px;
}

.label__title span {
    color: var(--red);
}

.block__fieldset-item {
    margin-right: 15px;
    margin-bottom: 25px;
    position: relative;
}

.select-box, .input-text {
    font-family: var(--font-sc);
    width: 300px;
    height: 40px;
    border: 1px solid var(--input-border);
    font-size: var(--regular-text);
    padding: 0 5px;
}

.select-box {
 -webkit-appearance: none;
}

.block__fieldset-item.error .label__title {
    color: var(--red);
}

.block__fieldset-item.error .input-text {
    border-color: var(--red);
}

label.error {
    position: absolute;
    left: 0;
    bottom: -18px;
    font-size: 14px;
    color: var(--red);
}

.block__fieldset-item input[type="radio"],
.block__fieldset-item input[type="checkbox"] {
    display: none;
}

.block__fieldset.checkbox {
    margin-top: 30px;
}

.block__fieldset.save {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 50px;
}

.block__fieldset-item input[type="radio"] + label span.check_mark {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: -2px 6px 0 0;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid var(--input-border);
    border-radius: 50%;
    position: relative;
}

.block__fieldset-item span.check_mark:after {
    display: block;
    content: "";
    height: 30px;
    width: 24px;
}

.block__fieldset-item input[type="radio"]:checked + label span.check_mark:after {
    background: var(--black);
    margin-top: 4px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    left: 4px;
}

.block__fieldset-item input[type="checkbox"] + label span.check_mark {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: -2px 6px 0 0;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid var(--input-border);
    position: relative;
}

.block__fieldset-item.checkbox span.check_mark:after {
    display: none;
    content: '';
    height: 30px;
    width: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55 55' x='0px' y='0px'%3E%3Cpath d='M20.687,38.332c-2.072,2.072-5.434,2.072-7.505,0L1.554,26.704c-2.072-2.071-2.072-5.433,0-7.504 c2.071-2.072,5.433-2.072,7.505,0l6.928,6.927c0.523,0.522,1.372,0.522,1.896,0L36.642,7.368c2.071-2.072,5.433-2.072,7.505,0 c0.995,0.995,1.554,2.345,1.554,3.752c0,1.407-0.559,2.757-1.554,3.752L20.687,38.332z'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: 2px 2px;
}

.block__fieldset-item input[type="checkbox"]:checked + label span.check_mark:after {
    display: block;
}

.block__fieldset-item.radio {
    margin-top: 15px;
}

.block__fieldset-item.checkbox {
    flex: 1 1 250px;
}

.block__fieldset-item.radio .label__title,
.block__fieldset-item.checkbox .label__title {
    display: inline-block;
    position: relative;
    top: 3px;
    font-weight: 400;
    cursor: pointer;
}

.button {
    background: var(--red);
    display: inline-block;
    text-decoration: none;
    height: 45px;
    margin-top: 15px;
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
    line-height: 45px;
    text-align: center;
    font-family: var(--font-sc);
    cursor: pointer;
    padding:0 30px;
    border: 0;
}

.button-green {
    background: var(--apply-green);
}

@media only screen and (max-width: 480px) {
    .wrapper {
        width: 100%;
    }
    .content {
        padding: 0 20px;
    }
    h1 {
        font-size: var(--h1-mobile);
    }
    .block__fieldset.subscribe .block__fieldset-item.checkbox {
        margin-right: 0;
    }
    .block__fieldset.subscribe .label__title {
        width: 270px;
        white-space: normal;
        top: 16px;
    }
}

@media only screen and (max-width: 768px) {
 .wrapper {
        width: 100%;
    }
    .content {
        padding: 0 20px;
    }
}
