*:focus {
    outline: none
}

html,
body {
    display: block;
    width: 100%;
    color: #000;
    margin: 0
}

a {
    text-decoration: none;
    color: unset
}

ul {
    list-style: none;
    padding: 0
}

.wrapper {
    overflow-x: hidden
}

@media screen and (max-width: 1024px){
    .container {
        width: 97%!important;
    }
}

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

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

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

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

small {
    font-size: 80%
}

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

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: 0.35em 0.75em 0.625em
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

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

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

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

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

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}

@font-face {
    font-family: 'Avenir Next Cyr Regular';
    src: url("../fonts/AvenirNextCyr-Regular.eot");
    src: url("../fonts/AvenirNextCyr-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/AvenirNextCyr-Regular.woff") format("woff"), url("../fonts/AvenirNextCyr-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Avenir Next Cyr Medium';
    src: url("../fonts/AvenirNextCyr-Medium.eot");
    src: url("../fonts/AvenirNextCyr-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/AvenirNextCyr-Medium.woff") format("woff"), url("../fonts/AvenirNextCyr-Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Avenir Next Cyr Demi';
    src: url("../fonts/AvenirNextCyr-Demi.eot");
    src: url("../fonts/AvenirNextCyr-Demi.eot?#iefix") format("embedded-opentype"), url("../fonts/AvenirNextCyr-Demi.woff") format("woff"), url("../fonts/AvenirNextCyr-Demi.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Avenir Next Cyr Bold';
    src: url("../fonts/AvenirNextCyr-Bold.eot");
    src: url("../fonts/AvenirNextCyr-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/AvenirNextCyr-Bold.woff") format("woff"), url("../fonts/AvenirNextCyr-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Circe Regular';
    src: url("../fonts/Circe-Regular.eot");
    src: url("../fonts/Circe-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Circe-Regular.woff") format("woff"), url("../fonts/Circe-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Circe Bold';
    src: url("../fonts/Circe-Bold.eot");
    src: url("../fonts/Circe-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Circe-Bold.woff") format("woff"), url("../fonts/Circe-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

.calc-main-top {
    margin: 0 20px;
    padding-bottom: 35px;
    border-bottom: 1px solid #999999
}

.calc-main-top__title {
    font-family: 'Avenir Next Cyr Demi';
    text-align: center;
    font-size: 36px
}

.calc-main-top__text {
    margin: 30px auto 0;
    max-width: 570px;
    font-family: 'Avenir Next Cyr Regular';
    font-size: 18px;
    text-align: center;
    color: #797979
}

.calc-main-top-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 870px;
    margin: 40px auto 0
}

.calc-main-top-info-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.calc-main-top-info-item__title {
    font-family: 'Avenir Next Cyr Medium';
    font-size: 14px;
    color: #797979;
    margin-bottom: 15px
}

.calc-main-top-info-item__value {
    font-family: 'Avenir Next Cyr Medium';
    font-size: 36px;
    margin-top: 12px
}

.calc-main-mortgage {
    max-width: 1200px;
    width: 100%;
    margin: 35px auto 0;
    padding: 0 20px
}

.calc-main-mortgage__title {
    font-family: 'Avenir Next Cyr Medium';
    font-size: 24px;
    margin-bottom: 40px
}

.calc-main-mortgage-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 35px
}

.calc-main-mortgage-content-item {
    width: 370px;
    margin: 0 30px;
    position: relative
}

.calc-main-mortgage-content-item:first-child {
    margin-left: 0
}

.calc-main-mortgage-content-item:last-child {
    margin-right: 0
}

.calc-main-mortgage-content-item__title {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 14px;
    text-transform: uppercase;
    color: #8A8A8A;
    margin-bottom: 20px;
    white-space: nowrap;
}

.calc-main-mortgage-content-item__percent {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 14px;
    text-transform: uppercase;
    color: #8A8A8A;
    position: absolute;
    top: 37px;
    right: 13px
}

.calc-main-mortgage-content-item input:first-of-type {
    border: none;
    font-family: 'Avenir Next Cyr Demi';
    font-size: 18px;
    color: #373737
}

.calc-main-mortgage-content-item .irs .irs-line {
    height: 3px;
    background-color: #999;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-right: 13px;
    top: 15px
}

.calc-main-mortgage-content-item .irs .irs-bar {
    height: 3px;
    background-color: #00B160;
    top: 15px
}

.calc-main-mortgage-content-item .irs .irs-handle {
    top: 15px;
    background: url("../images/input-handle.svg") center no-repeat;
    -webkit-background-size: 60% 60%;
    background-size: 60%;
    width: 26px;
    height: 26px
}

.calc-main-mortgage-content-item .irs .irs-handle i:first-child {
    display: none
}

.calc-main-mortgage-btn {
    background: #00B160;
    -webkit-box-shadow: 0px 4px 30px rgba(0, 177, 96, 0.5);
    box-shadow: 0px 4px 30px rgba(0, 177, 96, 0.5);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 216px;
    height: 49px;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Avenir Next Cyr Medium';
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 35px
}

.calc-main-mortgage-bankList {
    margin-bottom: 50px
}

.calc-main-mortgage-bankList__title {
    font-size: 24px;
    font-family: 'Avenir Next Cyr Medium';
    margin-bottom: 35px
}

.calc-main-mortgage-bankList-table {
    border-collapse: collapse;
    width: 100%
}

.calc-main-mortgage-bankList-table th {
    text-align: left;
    font-family: 'Avenir Next Cyr Regular';
    font-size: 14px;
    text-transform: uppercase;
    color: #8A8A8A;
    font-weight: normal;
    padding-bottom: 30px
}

.calc-main-mortgage-bankList-table tbody tr {
    border-bottom: 1px solid #d1d1d1
}

.calc-main-mortgage-bankList-table tbody tr td {
    font-family: 'Avenir Next Cyr Medium';
    padding: 20px 0;
    font-size: 18px;
    color: #000000
}

.calc-main-mortgage-bankList-partner .more {
    display: none
}

.calc-main-mortgage-bankList-partner-logo img {
    width: 200px
}

.calc-main-mortgage-bankList-partner .b-bank__label {
    display: none
}

.calc-main-mortgage-bankList-nothing {
    font-family: 'Avenir Next Cyr Medium';
    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;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    color: #00B160
}

.calc-main-mortgage-bankList-nothing svg {
    margin-right: 20px
}

.fancybox-container .popup-form-mortage {
    padding: 55px 100px!important;
    -webkit-border-radius: 10px;
    border-radius: 10px
}

.popup-form__title {
    font-family: 'Avenir Next Cyr Medium';
    font-size: 24px;
    text-align: center;
    color: #000000;
    margin-bottom: 20px
}

.popup-form-pair {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 20px
}

.popup-form-pair label {
    font-family: 'Avenir Next Cyr Medium';
    font-size: 12px;
    color: #2F2F2F;
    margin-left: 20px;
    margin-bottom: 10px
}

.popup-form-pair input {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 12px;
    color: #8A8A8A;
    width: 100%;
    height: 42px;
    border: 1px solid #ACACAC;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding-left: 20px;
    box-sizing: border-box;
}

.popup-form-pair input::-webkit-input-placeholder {
    color: #B9BED1
}

.popup-form-pair input:-ms-input-placeholder {
    color: #B9BED1
}

.popup-form-pair input::-ms-input-placeholder {
    color: #B9BED1
}

.popup-form-pair input::placeholder {
    color: #B9BED1
}

.popup-form-main {
    margin-top: 20px;
    margin-bottom: 15px
}

.popup-form-main-row {
    border-bottom: 0.5px solid #CECECE;
    padding: 10px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.popup-form-main-row:last-child {
    border-bottom: none
}

.popup-form-main-row__text {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 10px;
    text-transform: uppercase;
    color: #8A8A8A
}

.popup-form-main-row__value {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 10px;
    color: #171717
}

.popup-form-row {
    margin-bottom: 30px
}

.popup-form-row label {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end
}

.popup-form-row input {
    display: none
}

.popup-form-row__checkbox {
    display: inline-block;
    width: 17px;
    height: 17px;
    background: #00B160;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-right: 15px;
    position: relative
}

.popup-form-row input[type="checkbox"]:checked+.popup-form-row__checkbox::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 3px;
    width: 10px;
    height: 8px;
    background: url("../images/check.svg") center no-repeat;
    -webkit-border-radius: 2px;
    border-radius: 2px
}

.popup-form-row span {
    font-family: 'Avenir Next Cyr Regular';
    font-size: 12px;
    color: #3A405B
}

.popup-form-row span a {
    display: inline-block;
    border-bottom: 1px solid #424D7E;
    color: #424D7E
}

.popup-form__btn {
    cursor: pointer;
    margin: 0 auto;
    width: 196px;
    height: 42px;
    background: #00B160;
    -webkit-box-shadow: 0px 4px 30px rgba(0, 177, 96, 0.5);
    box-shadow: 0px 4px 30px rgba(0, 177, 96, 0.5);
    border: none;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Avenir Next Cyr Medium';
    font-size: 16px;
    text-align: center;
    color: #FFFFFF
}

@media screen and (max-width: 1023px) {
    .calc-main-mortgage-content-item {
        width: 370px;
        margin: 0 15px
    }
    .calc-main-mortgage-content-item__title {
        white-space: nowrap
    }
    .calc-main-mortgage-bankList-partner-logo img {
        width: 150px
    }
}

@media screen and (max-width: 767px) {
    .calc-main-top {
        margin: 0;
        padding: 0 20px 0
    }
    .calc-main-top__title {
        font-size: 24px
    }
    .calc-main-top__text {
        font-size: 14px
    }
    .calc-main-top-info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .calc-main-top-info-item {
        margin-bottom: 30px
    }
    .calc-main-top-info-item__title {
        font-size: 12px
    }
    .calc-main-top-info-item__value {
        font-size: 24px
    }
    .calc-main-mortgage {
        padding: 0
    }
    .calc-main-mortgage__title {
        font-size: 18px;
        margin-bottom: 30px;
        padding: 0 20px
    }
    .calc-main-mortgage-content {
        padding: 0 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .calc-main-mortgage-content-item {
        margin: 0;
        margin-bottom: 45px;
        width: 100%
    }
    .calc-main-mortgage-content-item:last-child {
        margin-bottom: 0
    }
    .calc-main-mortgage-content-item__title {
        font-size: 12px
    }
    .calc-main-mortgage-bankList__title {
        padding: 0 20px
    }
    .calc-main-mortgage-bankList-table thead tr {
        width: -webkit-calc( 100vw - 20px);
        width: calc( 100vw - 20px);
        padding-left: 20px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex
    }
    .calc-main-mortgage-bankList-table thead tr th {
        width: 49%;
        font-size: 12px;
        white-space: nowrap
    }
    .calc-main-mortgage-bankList-table thead tr th:nth-child(3),
    .calc-main-mortgage-bankList-table thead tr th:nth-child(4),
    .calc-main-mortgage-bankList-table thead tr th:nth-child(5) {
        display: none
    }
    .calc-main-mortgage-bankList-table tbody {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .calc-main-mortgage-bankList-table tbody tr {
        display: table-cell
    }
    .calc-main-mortgage-bankList-table tbody tr td:nth-child(1) {
        padding-left: 20px
    }
    .calc-main-mortgage-bankList-table tbody tr td:nth-child(1),
    .calc-main-mortgage-bankList-table tbody tr td:nth-child(2) {
        width: 46%;
        display: inline-block;
        margin: 0;
        font-size: 12px;
        white-space: nowrap
    }
    .calc-main-mortgage-bankList-table tbody tr .bet,
    .calc-main-mortgage-bankList-table tbody tr .fee-min,
    .calc-main-mortgage-bankList-table tbody tr .time-max {
        display: inline-block;
        width: 32%;
        text-align: center;
        margin-bottom: 30px;
        font-family: 'Avenir Next Cyr Medium';
        font-size: 10px;
        color: #000000
    }
    .calc-main-mortgage-bankList-table tbody .b-bank__label {
        font-family: 'Avenir Next Cyr Medium';
        text-transform: uppercase;
        font-size: 10px;
        color: #8A8A8A;
        display: inline-block;
        margin-right: 3px
    }
    .calc-main-mortgage-bankList-partner .more {
        font-family: 'Avenir Next Cyr Medium';
        display: inline-block;
        font-size: 10px;
        color: #00B160;
        margin-left: 10px;
        position: relative;
        cursor: pointer;
        width: 70px
    }
    .calc-main-mortgage-bankList-partner .more.out:after {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg)
    }
    .calc-main-mortgage-bankList-partner .more:after {
        content: '';
        display: block;
        width: 6px;
        height: 3px;
        background: url("../images/more-down.svg") center no-repeat;
        -webkit-background-size: contain;
        background-size: contain;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 7px
    }
    .calc-main-mortgage-bankList-partner-wrap {
        width: 100%
    }
    .calc-main-mortgage-bankList-partner-logo img {
        width: 100px
    }
    .calc-main-mortgage-bankList-nothing {
        padding: 0 20px
    }
    .fancybox-container .popup-form-mortage {
        padding: 25px 20px!important
    }
    .popup-form-pair input {
        width: 100%
    }
    .popup-form-row span {
        font-size: 10px
    }
}