@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/GothamPro-Light.woff") format("woff"), url("../fonts/GothamPro-Light.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: italic;
    font-weight: 300;
    src: url("../fonts/GothamPro-LightItalic.woff") format("woff"), url("../fonts/GothamPro-LightItalic.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/GothamPro.woff") format("woff"), url("../fonts/GothamPro.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/GothamPro-Italic.woff") format("woff"), url("../fonts/GothamPro-Italic.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/GothamPro-Medium.woff") format("woff"), url("../fonts/GothamPro-Medium.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: italic;
    font-weight: 500;
    src: url("../fonts/GothamPro-MediumItalic.woff") format("woff"), url("../fonts/GothamPro-MediumItalic.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/GothamPro-Bold.woff") format("woff"), url("../fonts/GothamPro-Bold.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: italic;
    font-weight: 700;
    src: url("../fonts/GothamPro-BoldItalic.woff") format("woff"), url("../fonts/GothamPro-BoldItalic.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/GothamPro-Black.woff") format("woff"), url("../fonts/GothamPro-Black.woff2") format("woff2");
}
@font-face {
    font-family: "GothamPro";
    font-style: italic;
    font-weight: 900;
    src: url("../fonts/GothamPro-BlackItalic.woff") format("woff"), url("../fonts/GothamPro-BlackItalic.woff2") format("woff2");
}
/* == BASE RULES AND VARIABLES== */
*:focus {
    outline: none;
}

*:invalid {
    -webkit-box-shadow: none;
    box-shadow: none;
}

body {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 320px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font: normal normal 16px/1.5 GothamPro, sans-serif, sans-serif;
    color: #2B3359;
}

/* == text elements == */
h1, h2, h3, h4, h5, h6 {
    margin: 1em 0;
    line-height: 1.2;
    font-weight: 500;
}

h1, h2 {
    font-size: 48px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 1em;
}

p {
    margin: 0 0 0.75em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    text-decoration: none;
    background-color: transparent;
}

/* == media elements == */
img {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}

img,
iframe,
video {
    max-width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a img {
    border: none;
}

svg use {
    width: 100%;
    height: 100%;
}

/* == form elements == */
input, textarea, button, select {
    font: inherit;
    color: inherit;
}

input, textarea {
    outline: none;
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration {
    display: none;
}

input[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

input:-moz-placeholder {
    opacity: 1;
}

input::-moz-placeholder {
    opacity: 1;
}

input:focus:-moz-placeholder {
    opacity: 1;
}

input:focus::-moz-placeholder {
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: var(--text-secondary);
    opacity: 1;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

[type=text],
[type=email],
[type=tel],
[type=url],
[type=number],
[type=password],
[type=search] {
    padding: 0 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 42px;
    background-color: #F7F8FC;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #5E6278;
    -webkit-transition: border-color 0.25s ease-out;
    transition: border-color 0.25s ease-out;
}

[type=text]:focus,
[type=email]:focus,
[type=tel]:focus,
[type=url]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=search]:focus {
    border-color: var(--accent);
}

.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0 10px 24px;
    position: relative;
    width: 223px;
}

.form-item-half {
    width: calc(50% - 20px);
}

textarea {
    resize: none;
    overflow: auto;
    width: 100%;
    height: 100px;
    padding: 11px 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #F7F8FC;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #5E6278;
    -webkit-transition: border-color 0.25s ease-out;
    transition: border-color 0.25s ease-out;
}

textarea:focus {
    border-color: var(--accent);
}

select::-ms-expand {
    display: none;
}

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

.field-name {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.field-name em {
    color: #FF4B55;
}

button {
    cursor: pointer;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

.form-btn {
    margin: 0 10px;
}

.btn {
    padding: 0 18px;
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    max-width: 100%;
    min-width: 105px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    border: 1px solid transparent;
    border-radius: 6px;
    white-space: nowrap;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.btn-accent {
    background-color: #2B3359;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #282f52;
    color: #ffffff;
}

.btn-gray {
    background-color: #E8E9ED;
    border-color: #E8E9ED;
    color: #2B3359;
}

.btn-gray:hover {
    background-color: #e2e4e9;
    color: #2B3359;
}

.btn-green {
    background-color: #1DC894;
    color: #ffffff;
}

.btn-green:hover {
    background-color: #0BB783;
    color: #ffffff;
}

/* == table elements == */
table {
    width: 100%;
}

.lang {
    font-weight: 500;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
    background: url("../../landing/img/chevron-down.svg") no-repeat right center/11px auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.lang.is-open {
    background-image: url("../../landing/img/chevron-top.svg");
}

.lang-output {
    padding: 0 20px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1;
}

.lang-list {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    right: 0;
    margin: 0;
    padding: 0 0 2px 0;
    border-radius: 5px;
    list-style-type: none;
    min-width: calc(100% + 10px);
    text-align: right;
    white-space: nowrap;
    background: #fff;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
}

.lang.is-open .lang-list {
    opacity: 1;
    pointer-events: auto;
}

.lang-list a {
    padding: 4px 12px;
    display: block;
    color: inherit;
}

.lang-list a:hover {
    text-decoration: none;
}

/*~ header ~*/
.header {
    padding: 40px 0;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-logo {
    margin: 0 auto 0 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.header-logo img {
    height: 48px;
}

.login-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.header-login-btn {
    margin: 5px 10px;
}

.header-lang {
    margin: 0 40px 0 15px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

/*~ skeleton ~*/
.container {
    max-width: 1590px;
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
}

.box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/*intro section*/
.intro-section {
    min-height: 100vh;
    padding: calc(var(--h-height) + 40px) 0 var(--h-height);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.intro-section > .container {
    margin: auto;
}

.intro {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.intro-content {
    max-width: 924px;
    margin: 0 150px 0 0;
    width: 100%;
}

.intro-text {
    font-size: 20px;
    margin: 0 0 32px;
}

.intro-text p {
    padding-right: 190px;
}

.intro-text ul li {
    margin: 0 0 10px 0;
}

.intro-text ul li:last-child {
    margin-bottom: 0;
}

.advantages-box {
    margin: 0 -10px 12px;
}

.advantages-item {
    margin: 0 10px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #025EF9;
}

.advantages-item-icon {
    width: 27px;
    max-height: 30px;
    margin: 0 8px 0 0;
    fill: currentColor;
}

.intro-image {
    max-width: 420px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.intro-image img {
    max-height: 100%;
}

/*~ footer ~*/
.footer {
    background-color: #171F45;
    color: #fff;
    padding: 30px 0;
}

.footer-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.footer-menu {
    margin: 0 -50px 0 auto;
    padding: 0;
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.footer-menu li {
    margin: 0 50px;
}

.footer-menu p a {
    margin: 0 5px;
}

.footer-menu a:hover {
    opacity: 0.5;
}

/*iti*/
.iti__country-list {
    min-width: 300px;
    white-space: normal;
}

.iti__flag.iti__fr {
    height: 14px;
}

/*fancybox*/
.fancybox-is-open .fancybox-bg {
    opacity: 0.3;
}

.modal {
    display: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    -webkit-box-shadow: 0px 57px 77px rgba(26, 26, 38, 0.0209047), 0px 17.1838px 23.2132px rgba(26, 26, 38, 0.03), 0px 7.13728px 9.64159px rgba(26, 26, 38, 0.0390953), 0px 2.58142px 3.48718px rgba(26, 26, 38, 0.06);
    box-shadow: 0px 57px 77px rgba(26, 26, 38, 0.0209047), 0px 17.1838px 23.2132px rgba(26, 26, 38, 0.03), 0px 7.13728px 9.64159px rgba(26, 26, 38, 0.0390953), 0px 2.58142px 3.48718px rgba(26, 26, 38, 0.06);
    border-radius: 12px;
}

.modal-head {
    margin: 0 0 24px;
}

.modal-head > h3 {
    margin: 0 0 12px;
}

/* ~~ MEDIA QUERIES ALWAYS AT THE END ~~ */
@media (max-width: 1579px) {
    h1, h2 {
        font-size: 36px;
    }
    .container {
        padding: 0 80px;
    }
    .intro-section {
        padding: calc(var(--h-height) + 70px) 0 var(--h-height);
    }
    .intro-text {
        font-size: 18px;
    }
    .intro-text p {
        padding-right: 0;
    }
    .intro-content {
        margin-right: 40px;
        max-width: 720px;
    }
}
@media (max-width: 1369px) {
    h1, h2 {
        font-size: 34px;
    }
    .intro-text {
        font-size: 17px;
    }
}
@media (max-width: 1279px) {
    h1, h2 {
        font-size: 30px;
    }
    .header {
        padding: 30px 0;
    }
    .container {
        padding: 0 30px;
    }
    .intro-image {
        max-width: 360px;
    }
    .intro-text {
        font-size: 16px;
    }
    .footer {
        font-size: 14px;
    }
    .footer-menu {
        margin: 0 -15px 0 auto;
    }
    .footer-menu li {
        margin: 0 15px;
    }
}
@media (max-width: 991px) {
    .intro {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .intro-image {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        margin: 0 0 20px;
    }
    .intro-content {
        margin: 0;
    }
    .footer-menu {
        display: block;
        text-align: right;
    }
    .footer-menu li {
        margin: 0 15px 10px;
    }
    .footer-menu li:last-child {
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
    h1, h2 {
        font-size: 28px;
    }
    .btn {
        min-width: 80px;
    }
    .lang {
        font-size: 15px;
    }
    .intro-text {
        font-size: 15px;
    }
    .header-logo img {
        height: 44px;
    }
    .header-lang {
        margin: 0 25px 0 15px;
    }
}
@media (max-width: 575px) {
    h1, h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 21px;
    }
    .header {
        padding: 15px 0;
    }
    .container {
        padding: 0 15px;
    }
    .form-item {
        width: calc(100% - 20px);
    }
    .intro-section {
        padding: var(--h-height) 0;
    }
    .login-buttons {
        margin: 0 -7.5px;
    }
    .header-login-btn {
        background: 0;
        font-size: 0;
        padding: 0;
        margin: 0 7.5px;
        line-height: 1;
        border: 0;
        min-width: 30px;
        position: relative;
    }
    .header-login-btn::after {
        content: "";
        display: inline-block;
        width: 30px;
        height: 30px;
    }
    .login-btn::after {
        background: url("../img/login.svg") no-repeat center/cover;
    }
    .registration-btn::after {
        background: url("../img/register.svg") no-repeat center/cover;
    }
    .modal-head {
        font-size: 14px;
    }
    .advantages-box {
        margin-bottom: 0;
    }
    .header-login-btn:hover {
        background: 0;
    }
}
@media (max-width: 475px) {
    .footer .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .footer-copy {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
    .footer-menu {
        margin: 0 -15px 25px;
        text-align: left;
    }
    .form-btn {
        display: block;
        width: 100%;
    }
}
@media (max-width: 374px) {
    body {
        font-size: 15px;
    }
    h3 {
        font-size: 19px;
    }
    .header-logo img {
        height: 38px;
    }
    .header-lang {
        margin: 0 15px;
    }
    .btn:not(.header-login-btn) {
        font-size: 13px;
    }
}
