*, :after, :before {
    box-sizing: border-box
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0
}

body {
    margin: 0;
    padding: 0
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, picture, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

hr {
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button:focus, input[type=button]:focus, input[type=reset]:focus, input[type=submit]:focus {
    outline: 1px dotted
}

button[disabled], input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -webkit-appearance: none
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

img {
    vertical-align: top
}

label {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

dd {
    margin-left: auto
}

img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Heavy.otf) format('opentype'), url(fonts/SFUIDisplay-Heavy.ttf) format('truetype'), url(fonts/SFUIDisplay-Heavy.woff) format('woff');
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(../fonts/FUIDisplay-Black.otf) format('opentype'), url(fonts/SFUIDisplay-Black.ttf) format('truetype'), url(../fonts/FUIDisplay-Black.woff) format('woff');
    font-weight: 800;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Bold.otf) format('opentype'), url(fonts/SFUIDisplay-Bold.woff) format('woff');
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Semibold.otf) format('opentype'), url(fonts/SFUIDisplay-Semibold.ttf) format('truetype'), url(fonts/SFUIDisplay-Semibold.woff) format('woff');
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Medium.otf) format('opentype'), url(fonts/SFUIDisplay-Medium.ttf) format('truetype'), url(fonts/SFUIDisplay-Medium.woff) format('woff');
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Regular.otf) format('opentype'), url(fonts/SFUIDisplay-Regular.ttf) format('truetype'), url(fonts/SFUIDisplay-Regular.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Light.otf) format('opentype'), url(fonts/SFUIDisplay-Light.ttf) format('truetype'), url(fonts/SFUIDisplay-Light.woff) format('woff');
    font-weight: 200;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Ultralight.otf) format('opentype'), url(fonts/SFUIDisplay-Ultralight.ttf) format('truetype'), url(fonts/SFUIDisplay-Ultralight.woff) format('woff');
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: SFUIDisplay;
    src: url(fonts/SFUIDisplay-Thin.otf) format('opentype'), url(fonts/SFUIDisplay-Thin.ttf) format('truetype'), url(fonts/SFUIDisplay-Thin.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: als;
    src: url(fonts/als.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

::-moz-selection {
    background: rgba(51, 51, 51, .8);
    color: #fff
}

::selection {
    background: rgba(51, 51, 51, .8);
    color: #fff
}

html {
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -moz-font-feature-settings: "liga" on;
    font-size-adjust: .5;
    font-family: SST, Helvetica, sans-serif;
    font-weight: 500
}

body {
    color: #333;
    font-size: 18px;
    line-height: 1.333333333333333
}

@media (min-width: 1024px) {
    body {
        font-size: 20px;
        line-height: 1.4
    }
}

.wrapper {
    overflow: hidden
}

.wrapper h1, .wrapper h2, .wrapper h3, .wrapper h4, .wrapper h5, .wrapper h6 {
    font-family: SST, Helvetica, sans-serif;
    font-weight: 700
}

.wrapper h1 {
    font-weight: 900;
    font-size: 28px;
    line-height: 1.2;
    margin: 0
}

@media (min-width: 1024px) {
    .wrapper h1 {
        font-size: 64px
    }
}

.wrapper h2 {
    font-family: als, serif;
    font-size: 48px;
    line-height: 1.2;
    margin: 0;
    font-weight: 400
}

@media (min-width: 1024px) {
    .wrapper h2 {
        font-size: 74px;
        margin-bottom: 25px;
    }
}

.wrapper h3 {
    font-size: 44px;
    line-height: 1.2;
    margin: 0;
    font-weight: 700
}

.button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 20px;
    height: 48px;
    padding: 0 40px;
    border: none;
    color: #fff;
    -webkit-transition: background-color .15s, color .15s;
    -o-transition: background-color .15s, color .15s;
    transition: background-color .15s, color .15s;
    background-color: #5887f5;
    text-transform: uppercase;
    font-weight: 600
}

.button:hover {
    background-color: #83a8ff
}

.button_red {
    background-color: #f2552a
}

.button_red:hover {
    background-color: #fa6b44
}

.button:disabled {
    background-color: #ccc;
    color: #000
}

.input {
    width: 100%
}

.input__label {
    width: 100%
}

.input__required {
    color: red
}

.input__field {
    width: 100%;
    height: 40px;
    background-color: #f9f9f9;
    padding: 0 10px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.input__field:focus {
    outline: 0
}

.input__box {
    position: relative
}

@media (min-width: 640px) {
    .input__box {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center
    }
}

.input_select .input__box:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none
}

.input__desc {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.25;
    margin: 10px 0 0
}

@media (min-width: 640px) {
    .input__desc {
        width: 50%;
        margin: 0 0 0 20px
    }
}

.input__error {
    display: none
}

.input.has-error .input__error {
    display: block;
    color: red
}

body.is-show-popup {
    overflow: hidden
}

.popup {
    font-weight: 200;
    font-size: 17px;
    position: fixed;
    top: -200px;
    left: 0;
    width: 0;
    height: 0;
    overflow-y: scroll;
    z-index: 1000;
    background: 0 0;
    text-align: center;
    vertical-align: middle
}

.popup.is-active {
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(51, 51, 51, .5)
}

@media (min-width: 1024px) {
    .popup:before {
        content: "";
        display: inline-block;
        height: 100%;
        width: 0;
        vertical-align: middle
    }
}

.popup__inner {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    opacity: 0;
    border-radius: 3px;
    width: 100%;
    max-width: 720px
}

@media (min-width: 1024px) {
    .popup__inner {
        margin: 30px 0
    }
}

.popup_info .popup__inner {
    max-width: 960px
}

.popup_info .popup__inner h2 {
    margin: 0 0 30px
}

.popup.is-active .popup__inner {
    opacity: 1
}

.popup__close {
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 16px;
    right: 16px
}

.popup__close:after, .popup__close:before {
    content: "";
    width: 24px;
    height: 2px;
    background: #ccc;
    position: absolute;
    top: 50%;
    margin-bottom: -1px;
    left: 50%;
    margin-left: -8px
}

.popup__close:after {
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.popup__close:before {
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}

.popup__close:hover::before, .popup__close:hover:after {
    background: #333
}

.popup__body {
    background-color: #fff;
    min-height: 100vh;
    padding: 60px 15px 15px
}

@media (min-width: 1024px) {
    .popup__body {
        padding: 40px;
        border-radius: 5px;
        min-height: auto
    }
}
