@import url('../fonts/fonts.css');

:root {

    --backgroundColor: rgb(255, 255, 255);
    --backgroundTransparentColor: rgba(255, 255, 255, .8);
    --sheetBackgroundColor: rgba(240, 240, 240, .8);

    --foregroundColor: #001c17;
    --thinRuleColor: rgba(107, 122, 118, .12);

    --headingsColor: #001c17;
    --headingsUnderlineColor: rgba(0, 0, 0, .12);
    --boldColor: var(--headingsColor);
    --boldUnderlineColor: var(--headingsUnderlineColor);
    --linkColor: rgb(0, 136, 71);
    --linkUnderlineColor: rgba(0, 136, 71, 0.25);
    --linkColorVisited: rgba(0, 136, 71, 0.75);
    --linkUnderlineColorVisited: rgba(0, 136, 71, 0.25);
    --hoverColor: rgb(0, 136, 71);
    --hoverUnderlineColor: rgb(0, 136, 71);
    --tagColor: rgb(0, 0, 0);
    --tagUnderlineColor: rgba(0, 0, 0, .12);
    --adminColor: rgb(33, 160, 170);
    --adminUnderlineColor: rgba(33, 160, 170, .12);
    --engineTextColor: var(--foregroundColor);
    --engineTextUnderlineColor: var(--thinRuleColor);

    --markedTextBackground: rgb(255, 242, 128);
    --markedImageBorderColor: rgb(255, 242, 128);

    --inputBackgroundColor: #f0f2f2;
    --inputTextColor: #000;
    --color-dark: #051F1C;
    --color-gray: #C0C7C6;
    --text-dark-gray: #445755;
    --accent-color-green: #00AD5A;
    /* --imageBorderColor */
    /* --disabledColor */
    /* --activeColor */
    /* --errorColor */
    /* --currentItemBackgroundColor */
    /* --windowBackgroundColor */
    /* --unsavedIndicatorColor */

    /* to match .likely */
    /* --subscribeButtonBackground: rgba(231,231,231,.8); */
    /* --subscribeButtonHoverBackground: rgba(212,212,212,.8); */
    /* --subscribeButtonTextColor: #000; */

    /* to match .likely-light */
    /* --subscribeButtonBackground: rgba(236,236,236,.16); */
    /* --subscribeButtonHoverBackground: rgba(255,255,255,.48); */
    /* --subscribeButtonTextColor: #fff; */

    --marginTop: 48px;
    --marginLeft: 6%;
    --marginRight: 6%;
    --marginTopCompact: 14px;
    --marginLeftCompact: 3%;
    --marginRightCompact: 3%;

    --displayLogoMarginal: none;
    --displayLogo: block;
    --displayLogoCompact: block;

    /* --columnSpacing */

    --logoTop: -8px;
    --blogTitleFontSize: 20px;
    --blogTitleLineHeight: 150%;
    --pageHeadingFontSize: 36px;
    --pageHeadingLineHeight: 42px;
    --noteTitleFontSize: calc(28px + 1vw);
    --noteTitleLineHeight: 125%;
    --noteTitleFavouriteFontSize: calc(28px + 2vw);
    --noteTitleFavouriteLineHeight: 125%;
    --noteTextFontSize: 18px;
    --noteTextLineHeight: 150%;

    --mainFontFamily: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    /* --noteMainFontFamily: Georgia, serif; */
    /* --smallFontFamily */

    /* --time */

}

.e2-note {
    margin: 0 auto 50px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 50px;
}

.e2-note h1 {
    max-width: 1200px;
    font-weight: 900;
}


.e2-text h2 {
    margin: 56px 0 16px;
    font-size: calc(22px + 0.5vw);
    line-height: var(--noteTitleLineHeight);
    font-style: normal;
    font-weight: 900;
}

.e2-text h3 {
    margin: 40px 0 8px;
    font-size: calc(18px + 0.25vw);
    line-height: var(--noteTitleLineHeight);
    font-style: normal;
    font-weight: 600;
}

.e2-text p {
    margin: 0 0 20px;
}

.e2-text h2, .e2-text h3, .e2-text p, .e2-text ul, .e2-text ol, .e2-text li, .e2-text blockquote, .e2-text-audio, .e2-text-calliope-formatted {
    max-width: 700px;
}

.e2-text .lead,
.e2-note-favourite .e2-text .lead {
    margin: 20px 0 24px;
    max-width: 860px;
    font-family: var(--mainFontFamily);
    font-size: calc(18px + 0.25vw);
    font-weight: 400;
    line-height: var(--noteTextLineHeight);
}

.e2-text .loud {
    font-family: var(--mainFontFamily);
    font-weight: normal;
    font-size: 40px;
    color: var(--boldColor);
    line-height: 44px;
    max-width: 720px;
    border: none;
    padding: 0;
    margin: 20px 0 40px;
}

.e2-text .map {
    border: 0;
    width: 100%;
    min-height: 320px;
    height: 50vh;
}

.e2-text .photo {
    max-width: 100%;
    max-height: 75vh;
}

.e2-text .small {
    margin: 6px 0 12px 0;
    font-size: 12px;
    line-height: 125%;
}

.e2-subscribe-element {
    width: 80px;
}


/* Transfer CTA button */

.button-transfer {
    display: inline-block;
    margin: 12px 0 36px;
    padding: 12px 20px 16px 50px;
    min-width: 100px;
    border: none;
    text-decoration: none;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: var(--linkColor);
    background-color: #F0F2F2;
    box-shadow: inset 0px -1px 0px rgba(0, 28, 23, 0.125);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease 0s !important;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAxNSI+CiAgPHBhdGggZmlsbD0iIzAwYWQ1YSIgZD0iTTIyIDUuODQ0QzIyIDUgMjIgNSAxOS41NjggNWMtLjQwNyAwLS4zNjIuNjk0LS4zMjguOTdsLTIuMTI2LTMuODQxQzE2LjgwNyAxLjYzNSAxNi42NzcuNiAxMSAuNlM1LjI0NSAxLjYzNiA0LjkzOSAyLjEyOUwyLjc1NiA1Ljk5N0MyLjc5IDUuNzQzIDIuODUzIDUgMi40MzIgNSAwIDUgMCA1IDAgNS44NDRjMCAuNzk3LjQ1Ni44MjUgMi4yMjQgMS4wOThsLS4wNTUuMDk3Yy0uMDQ2LjA3Mi0uMDczLjE0MS0uMDgyLjIwM0EuODcyMS44NzIxIDAgMDAyIDcuNjI1djQuNTQ4YzAgLjQ1OC4zNDQuODI3Ljc2OC44MjdIM3YuNDk5QzMgMTQuMzIxIDMuNjcyIDE1IDQuNSAxNWMuODM0IDAgMS41LS42NzIgMS41LTEuNTAxVjEzaDEwdi40OTljMCAuODIyLjY3MiAxLjUwMSAxLjUgMS41MDEuODM0IDAgMS41LS42NzIgMS41LTEuNTAxVjEzaC4yMzJjLjQyNCAwIC43NjgtLjM3Ljc2OC0uODI3VjcuNjI1YS44NjkuODY5IDAgMDAtLjA4Ny0uMzgzYy0uMDA5LS4wNjItLjAzNi0uMTMxLS4wODEtLjIwM2wtLjA1NC0uMDk4QzIxLjU0NCA2LjY2OSAyMiA2LjY0MSAyMiA1Ljg0NHpNNi43NDIgMTBIMy45MDZTMyAxMCAzIDkuMTE1QzMgOC42NjIgMi45NzcgOCAzLjUzOCA4YzMuNTQ0IDAgMy40ODggMS42ODggMy40ODggMS42ODguMDMxLjE3Mi0uMDk4LjMxMi0uMjg0LjMxMnptNC4yNDktNC4wMDNDNy4zIDYuMDA0IDQgNS45OTcgNCA1Ljk5N2wxLjYtMi44MThjLjI4OS0uNTE1LjkyNS0uOTYyIDEuNDItLjk5NiAwIDAgMi4zMzQtLjE4MyAzLjk3MS0uMTgzIDEuNjA2IDAgMy45NzIuMTgzIDMuOTcyLjE4My40OTUuMDM1IDEuMTMuNDggMS40MTguOTk2TDE4IDUuOTk3cy0zLjYzMi0uMDA2LTcuMDA5IDB6TTE4LjA5NCAxMGgtMi44MzZjLS4xODcgMC0uMzE1LS4xNC0uMjg0LS4zMTMgMCAwLS4wNTUtMS42ODggMy40ODgtMS42ODguNTYxLjAwMS41MzguNjYzLjUzOCAxLjExNiAwIC44ODUtLjkwNi44ODUtLjkwNi44ODV6Ii8+Cjwvc3ZnPgo=');
    background-position: 16px 45%;
    background-repeat: no-repeat;
    background-size: 22px;
}

.button-transfer:hover {
    outline: none;
    background-color: #e0e3e3;
    box-shadow: inset 0px -1px 0px rgba(0, 28, 23, 0.125), 0px 8px 16px rgba(0, 23, 28, 0.06);
}

.button-transfer:active {
    background-color: #C0C7C6;
    box-shadow: inset 0px 1px 0px rgba(5, 31, 28, 0.12);
}

.iway-header-menu-items {
    width:80%;
    display: flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media screen and (max-width: 768px){
    .iway-header-menu-items {
        width:100%;
        display: grid;
    }
}

.iway-header-logo {
    margin-right: 25px;
    cursor: pointer;
    color: transparent !important;
    border-bottom: transparent;
}

.iway-header-logo:hover {
    color: transparent;
    border-bottom: transparent;
}

.iway-header-menu-item {
    padding: 12px 4px;
    margin: 0 2px;
    color: var(--linkColor);
    cursor: pointer;
    border-bottom: 2px solid rgba(0,0,0,0);
}

.iway-header-menu-item:hover, .iway-header-menu-item:active {
    border-bottom: 2px solid var(--linkColor);
}

.iway-content-container {
    max-width: calc(100% - var(--marginRight) - var(--marginLeft));
    margin: 0 auto;
}

.footer {
    padding-block: 80px;
    background: var(--backgroundColor);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer__navigation-link:focus-visible,
.footer__social-icon:focus-visible {
    outline: none;
    border: 1px solid var(--color-dark);
    border-radius: 8px;
}

.footer ul {
    padding: 0;
}

.footer li {
    margin: 0;
    padding: 0;
}

.footer li::marker {
    content: none;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    color: var(--color-dark);
    font-size: 14px;
    line-height: 1.4;
}

.footer__promo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 32px;
    border: 1px solid var(--color-gray);
    border-radius: 32px;
    column-gap: 20px;
}

.footer__promo-title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-dark);
}

.footer__statistics {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 8px;
    min-width: fit-content;
}

.footer__statistics-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    column-gap: 8px;
    min-width: 92px;
    max-width: 174px;
}

.footer__statistics-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-dark-gray);
}

.footer__statistics-text span {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-dark);
}

.footer__apps {
    display: flex;
    flex-direction: row;
    border-radius: 32px;
}

.download-app-button {
    padding: 12px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: fit-content;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
    color: var(--backgroundColor);
    background: var(--accent-color-green);
    border: none;
    cursor: pointer;
    min-width: 235px;
}

.download-app-button:hover {
    color: var(--backgroundColor);
    background: color-mix(in srgb, var(--accent-color-green), white 5%);
    transition: background 0.15s ease;
}
.download-app-button:active {
    background: color-mix(in srgb, var(--accent-color-green), white 10%);
    transition: background 0.15s ease;
}

.download-app-button:focus-visible {
    outline: none;
    border: 2px solid var(--color-gray);
    transition: background 0.15s ease;
}

.download-app-button:visited {
    color: var(--backgroundColor);
}

.footer__apps-desktop {
    display: flex;
    flex-direction: row;
    border-radius: 32px;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
    padding: 10px 20px 20px 5%;
    justify-content: space-between;
}

.footer__apps-phone-img-wrapper {
    display: flex;
    align-items: flex-end;
    margin-bottom: -20px;
}

.footer__apps-phone-img-wrapper img {
    max-width: 200px;
    object-fit: contain;
}

.footer__apps-phone-img-wrapper img:first-of-type {
    position: relative;
    margin-right: -50px;
    z-index: 1;
}


.footer__apps-cta-content {
    display: flex;
    flex-direction: row;
    width: 540px;
    justify-content: space-between;
    margin-left: 20px;
    column-gap: 10px;
}

.footer__apps-text-link-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-top: 36px;
    width: 100%;
}

.footer__apps-text-link-wrapper::before {
    position: absolute;
    bottom: -20px;
    right: 10px;
    content: '';
    width: 98px;
    height: 126px;
    background: url("system/theme/images/arrow.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
    shape-rendering: geometricPrecision;
}

.footer__apps-download-instruction {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--backgroundColor);
}

.footer__apps-store-icons-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 8px;
}

.footer__apps-store-icon {
    height: 32px;
    text-decoration: none;
    border: none;
}
.footer__apps-store-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__apps-qr {
    width: 173px;
    height: 173px;
    border-radius: 16px;
    margin-top: 10px;
}

.footer__social-navigation-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer__navigation {
    display: flex;
    flex-direction: row;
    column-gap: 100px;
}

.footer__navigation-column {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.footer__navigation-column-title {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--color-dark);
}

.footer__navigation-column-list {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 0;
}

.footer__navigation-column-list li {
    padding: 0;
}

.footer__navigation-link {
    width: fit-content;
    color: var(--text-dark-gray);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: transparent;
    text-underline-offset: 2px;
    transition: text-decoration-color 0.15s ease;
    border: none;
}

.footer__navigation-link:hover {
    color: var(--text-dark-gray);
    text-decoration-color: var(--text-dark-gray);
    transition: text-decoration-color 0.15s ease;
}

.footer__navigation-link:visited {
    color: var(--text-dark-gray);
    text-decoration-color: var(--text-dark-gray);
}

.footer__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 46px;
    margin-left: auto;
}

.footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 8px;
}

.footer__social-icon {
    display: flex;
    border: none;
    height: fit-content;
}

.footer__bottom {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
    align-items: center;
}

.footer__download-app {
    display: none;
}

/* Small screen */
@media screen and (max-width: 575px) {
    .footer {
        padding-block: 20px;
    }

    .footer-container {
        row-gap: 20px;
    }

    .footer__promo {
        padding-inline: 16px;
    }

    .footer__apps {
        background-color: transparent;
    }

    .footer__apps-button {
        width: 100%;
    }

    .footer__apps-phone-img-wrapper {
        margin-bottom: -20px;
        display: none;
    }

    .download-app-button {
        width: 100%;
    }

    .footer__social-navigation-wrapper {
        flex-direction: column;
        row-gap: 16px;
    }

    .footer__navigation {
        flex-direction: column;
        row-gap: 16px;
    }

    .footer__download-app_desktop_mobile {
        display: block;
    }

    .footer__left {
        margin-left: 0;
    }
}

/* Middle screen */
@media screen and (min-width: 576px) and (max-width: 969px) {
    .footer {
        padding-block: 40px;
    }

    .footer-container {
        row-gap: 20px;
    }

    .footer__apps {
        overflow: hidden;
        justify-content: space-around;
        align-items: center;
        padding-block: 20px;
        background-color: var(--color-dark);
    }

    .footer__apps-phone-img-wrapper img {
        max-width: 128px;
    }

    .footer__apps-phone-img-wrapper img:first-of-type {
        margin-right: 0;
    }

    .footer__navigation {
        column-gap: 44px;
    }

    .footer__download-app_desktop_tablet {
        display: block;
        align-self: center;
    }
}

@media screen and (max-width: 969px) {
    .footer__container {
        row-gap: 20px;
    }

    .footer__promo {
        row-gap: 12px;
        flex-wrap: wrap;
    }

    .footer__statistics {
        flex-wrap: wrap;
    }

    .footer__apps-desktop {
        display: none;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        row-gap: 12px;
        text-align: center;
    }
}

/* Large screen */
@media screen and (min-width: 970px) {
    .footer__apps {
        display: none;
    }

    .footer__download-app_desktop {
        display: block;
    }
}
