﻿.list_how_to {
    margin-bottom: 30px;
    font-family: Cabin, sans-serif;
    font-size: 16.5px;
    color: var(--Fonts-Dark-Grey, #404463);
}

.list_how_to__title {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    color: var(--fonts-headline, #102C3D);
    margin-bottom: 0;
    padding-bottom: 16px;
}

.list_how_to__description {
    margin-bottom: 24px;
    letter-spacing: 0.165px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--Fonts-Dark-Grey, #404463);
}

.list_how_to__list_wrapper {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--brand-colours-divider, #E4E4EE);
}

.page-template-2021-review-layout .list_how_to__list_wrapper {
    background: none;
    box-shadow: none;
}

.list_how_to__list {
    color: var(--Fonts-Dark-Grey, #404463);
    counter-reset: item;
    margin-left: 0;
}

.list_how_to__item {
    display: block;
    position: relative;
    margin-bottom: 24px;
    padding-left: 0 !important;
    color: var(--Fonts-Dark-Grey, #404463);
}

.list_how_to__item:last-child {
    margin-bottom: 0;
}

.list_how_to__item::before {
    display: inline-block;
    content: counter(item);
    counter-increment: item;
    position: absolute;
    border-radius: 6px 0px;
    background: var(--brand-colours-accent, #0C5BF3);
    width: 24px;
    height: 24px;
    text-align: center;
    font-family: Cabin, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: var(--base-white, #FFF) !important;
    text-align: center;
    top: 0;
    left: 0;
}

.list_how_to__item_title {
    color: var(--fonts-headline, #102C3D);
    font-family: Cabin, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    margin-top: 0;
    margin-bottom: 8px;
    padding-left: 40px;
}

.list_how_to__item_title span {
    display: block;
}

.list_how_to__item_text {
    font-size: 16px;
    line-height: 24px;
    padding-left: 40px;
}

.list_how_to__item_image_wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-top: 16px;
}

.list_how_to__item_image {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.list_how_to__item_image_switcher {
    position: absolute;
    top: 32px;
    right: 8px;
    cursor: pointer;

}

.how_to__item_image_switcher_button_desktop {
    display: inline;
    padding: 8px;
    background: rgba(16, 44, 61, 0.65);
    box-shadow: none;
    border-radius: 0px 0px 0px 7px;
}

.how_to__item_image_switcher_button_desktop.active {
    background: var(--Fonts-Dark-Grey, #404463);
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.40), 0px 1px 4px 0px rgba(0, 0, 0, 0.24);;
}

.how_to__item_image_switcher_button_mobile {
    display: inline;
    padding: 8px 13px;
    background: rgba(16, 44, 61, 0.65);
    border-radius: 0px 7px 0px 0px;
    box-shadow: none;
}

.how_to__item_image_switcher_button_mobile.active {
    background: var(--Fonts-Dark-Grey, #404463);
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.40), 0px 1px 4px 0px rgba(0, 0, 0, 0.24);
}

.list_how_to__button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    width: fit-content;
    height: 44px;
    background: #DA2A5F;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.01em;
    color: var(--base-white, #FFF) !important;
    text-decoration: none !important;
    margin: 16px auto 16px auto;
}

#app .pages-outer .list_how_to__button:hover {
    color: var(--base-white, #FFF) !important;
    text-decoration: none !important;
    background: #C42655;
}

@media screen and (max-width: 991px) {
    .list_how_to {
        margin-bottom: 24px;
    }

    .list_how_to__title {
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        margin-bottom: 16px;
        margin-top: 24px;
        padding-bottom: 0;
    }

    .list_how_to__description {
        margin-bottom: 24px;
    }

    .list_how_to__list_wrapper {
        padding: 20px;
    }

    .list_how_to__item_text {
        padding-left: 32px;
    }

    .list_how_to__item_title {
        font-size: 18px;
        padding-bottom: 4px;
        margin-bottom: 0;
        padding-left: 32px;
    }

    .list_how_to__button {
        padding: 10px 58px;
    }

    .list_how_to__item_image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 16px;
    }
}
