.block-tariff-card .element-benefits ul {
    list-style: none;
    padding: 0px;
}

.block-tariff-card .element-benefits ul li {
    margin: 12px auto;
    font-weight: 400;
    color: black;
}

.block-tariff-card .element-benefits ul li:before {
    content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector.svg);
    padding-right: 12px;
}

.block-tariff-card .element-benefits {
    width: 83%;
}

.block-tariff-card .element-benefits ul li {
    display: flex;
}

.tariffs-card-message {
    color: black;
    font-size: 20px;
    padding-bottom: 50px;
}

.tariffs-card__wrapper {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    align-content: stretch;
    flex-wrap: wrap;
}

#availability-check_tariffs-card__wrapper{
    display: none;
}

.fancybox__content {
    max-width: 1440px;
    width: 80%;
    padding: 20px;
}

.popup {
    max-width: 620px;
}

.popup__tariffs-card {
    max-width: 1300px;
    padding: 60px 90px;
}

.block-tariff-card {
    position: relative!important;
    width: 100%!important;
    height: 100%!important;
    max-width: 406px!important;
    border-bottom-left-radius: 16px!important;
    border-bottom-right-radius: 16px!important;
    display: flex!important;
    flex-direction: column!important;
    align-items: center!important;
    background:white!important;
}

.card-wrapper {
    width: 31%;
    max-width: 400px;
}

.text-above-tariff-card {
    /*font-family: 'Ubuntu_Mono_700';*/
    text-align: center;
    color: black;
    font-weight: 700;
    font-size: 18px;
    width: 100%;
    background: #ffcf00;
    border-radius: 16px 16px 0px 0px;
    border: 2px solid #ffcf00;
}

.block-tariff-card:nth-child(2):before {
    all: unset !important;
}

.card-wrapper:nth-child(2) .block-tariff-card {
    background:white;
}

.block-tariff-card .element-h4,
.block-tariff-card .element-month-price {
    width: 85%;
    text-align: left;
}

.block-tariff-card .element-h4 {
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
    margin-top: 30px;
    min-height: 100px;
}

.block-tariff-card:nth-child(2) .element-h4 {
    margin-top: 65px;
}

.block-tariff-card .element-month-price {
    color: #0f00d4;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    margin-bottom: 10px;
}

.block-tariff-card .element-span {
    font-weight: 600;
    font-size: 16px;
    position: relative;
    text-align: left;
    width: 85%;
}

.block-button {
    height: 51px!important;
    background: #ffcf00!important;
    border-radius: 16px!important;
    color: white!important;
    font-size: 16px!important;
    line-height: 120%!important;
    letter-spacing: 0.03em!important;
    border: none!important;
    font-weight: unset!important;
}

/*.block-button:hover {*/
/*    border: 2px solid black;*/
/*    background: white;*/
/*    color: black;*/
/*}*/

.block-tariff-card .element-button {
    max-width: 342px;
    width: 90%;
    text-align: center;
    min-height: 51px;
}

a.block-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-button a {
    color: white;
}

.block-tariff-card .element-links {
    display: flex;
    margin: 30px 0;
    flex-direction: column;
    align-items: center;
}

.block-tariff-card .element-a {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-decoration-line: underline;
}

.block-tariff-card .popup__element-h4 {
    width: 100%;
    margin: 0px 0px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
}

.popup__description {
    font-weight: 400;
}

@media screen and (max-width: 1300px) {

    .tariffs-card__wrapper .card-wrapper {
        width: 30%;
    }

    .block-tariff-card .element-h4 {
        width: 90%;
        margin: 40px 0 20px 0px;
        min-height: 11%;
    }

    .block-tariff-card:nth-child(2) .element-h4 {
        margin-top: 55px;
    }

    .block-tariff-card .element-month-price {
        font-size: 30px;
        height: 30px;
        width: 85%;
    }

    .fancybox__content {
        width: 92%;
    }

}

@media screen and (max-width: 767px) {

    /* .block-tariff-card .element-month-price .element-span::after {
        content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Group-8436.svg);
        position: absolute;
        top: -5px;
        right: -15px;
    } */

    .tariffs-card__wrapper {
        flex-wrap: wrap;
    }

    .tariffs-card__wrapper .card-wrapper {
        width: 100%;
        margin-bottom:auto;
    }

    .block-tariff-card {
        width: 100%;
    }

    .block-tariff-card .element-h4 {
        font-size: 18px;
        margin: 24px 0px 10px 0px;
        width: 90%;
    }
    

    .block-tariff-card .element-month-price {
        font-size: 36px;
        height: 100%;
        margin-bottom: 10px;
    }

    .block-tariff-card .element-benefits ul li:before {
        content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector-2.svg);
    }

    .block-tariff-card .element-benefits {
        height: 100%;
    }

    .block-tariff-card .element-benefits ul li {
        font-size: 16px;
    }

    .block-tariff-card:nth-child(2) .element-h4 {
        margin-top: 55px;
    }

}