* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--background-color);
    font-family: "Proxima Nova", sans-serif;
    font-size: 16px;
    line-height: normal;
    font-style: normal;
    font-weight: normal;
    overflow-x: clip;
}

html, button, input, select, textarea {
    font-family: "Proxima Nova", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

h1 {
    text-align: center;
    margin: 30px 15px;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: var(--wrapper-width);
    padding-left: 16px;
    padding-right: 16px;
}

.wrapper--big {
    max-width: var(--wrapper-big-width);
}

/* TODO Add test for media query in js */
.full-width-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

@media screen and (max-width: 1202px) {
    .full-width-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media screen and (min-width: 1202px) {
    .full-width-wrapper-calc {
        margin-left: calc((-100vw - var(--scrollbar-width)) / 2 + var(--wrapper-width) / 2);
        margin-right: calc((-100vw - var(--scrollbar-width)) / 2 + var(--wrapper-width) / 2);
    }
}

a {
    color: #1b65c0;
    cursor: pointer;
    text-decoration: none;
}

ol, ul {
    padding: 0;
}

b {
    display: contents;
}

.bold {
    font-weight: 600;
}

.big-bold {
    font-weight: 700;
    font-size: 18px;
}

.semi-bold {
    font-weight: 400;
}

.white-background {
    background-color: #ffffff;
}

.grey-background {
    background-color: #f7f7f7;
}

.white-container {
    background-color: var(--site-white);
    padding: 24px;
}

.white-container--big {
    padding: 40px;
}

.container2 {
    max-width: 1170px;
    margin: 0 auto;
    font-weight: 400;
}

.blue {
    color: #1A65C0;
}

.red {
    color: #c83636;
}

.red-line {
    display: flex;
    justify-content: center;
}

.title-block {
    margin-bottom: 48px;
    text-align: center;
}

.title-block .under-title-red-line {
    display: flex;
    justify-content: center;
}

.title-block__left {
    text-align: left;
}

.title-block__left .under-title-red-line {
    justify-content: left;
}

.title-block__right {
    text-align: right;
}

.title-block__right .under-title-red-line {
    justify-content: right;
}

.btn {
    padding: 16px 28px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.btn--red {
    background-color: var(--site-red);
    color: var(--site-white);
}

.red-button {
    width: 250px;
    height: 50px;
    background-color: #c83636;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.heading1 {
    font-size: 36px;
    font-weight: 700;
}

.heading2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 24px;
}

.heading3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.heading4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.heading5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.text {
    line-height: 24px; /* 150% */
}

.text:not(.text:last-of-type) {
    margin-bottom: 20px;
}

.text--small {
    font-size: 14px;
    line-height: 20px;
}

.text--super-small {
    font-size: 12px;
    line-height: 14px;
}

.text--dim {
    color: var(--site-grey);
}

.text--2column {
    columns: 2;
}

.text--3column {
    columns: 3;
}

.font-grey {
    color: var(--site-dark-grey);
}

.flex-table__row {
    display: flex;
    align-items: center;
    padding: 16px;
}

.flex-table__row:nth-child(odd) {
    background-color: var(--table-odd-row-color);
}

.flex-table__row:nth-child(even) {
    background-color: var(--table-even-row-color);
    border-top: 1px solid var(--site-light-grey);
    border-bottom: 1px solid var(--site-light-grey);
}

.flex-table__field:not(.flex-table__field:last-of-type) {
    margin-right: 16px;
}

.flex-table--2-column .flex-table__row .flex-table__field:nth-child(1) {
    width: 35%;
    font-weight: 700;
    opacity: 0.8;
}

.flex-table--2-column .flex-table__row .flex-table__field:nth-child(2) {
    width: 60%;
    opacity: 0.8;
}

.table {
    width: 100%;
    border: none;
    margin-bottom: 20px;
}

.table thead th {
    font-weight: bold;
    text-align: left;
    border: none;
    padding: 10px 15px;
    background: #d8d8d8;
    font-size: 14px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.table tbody td {
    text-align: left;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
    vertical-align: top;
}

.table thead tr th:first-child, .table tbody tr td:first-child {
    border-left: none;
}

.table thead tr th:last-child, .table tbody tr td:last-child {
    border-right: none;
}

.table tbody tr:nth-child(even) {
    background: #f3f3f3;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .heading1 {
        font-size: 30px;
        font-weight: 700;
    }

    .heading2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .heading3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .heading4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .heading5 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .text {
        font-size: 14px;
        line-height: 20px;
    }

    .text:not(.text:last-of-type) {
        margin-bottom: 14px;
    }

    .big-bold {
        font-size: 14px;
    }

    .red-button {
        width: 200px;
        align-self: center;
    }

    .flex-table__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .flex-table--2-column .flex-table__row .flex-table__field:nth-child(n) {
        width: 100%;
    }

    .flex-table--2-column .flex-table__row .flex-table__field:nth-child(1) {
        margin-bottom: 8px;
    }
}




