@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Caption&display=swap');
@import url("home.css");

.navbar {
    position: static;
    border-bottom: 0;
}

.navbar_content {
    justify-content: center;
}

body {
    padding: 0;
}

.donp {
    display: none;
}

@media (max-width: 970px) {
    .navbar .home_url {
        height: 28px;
        width: 140px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url("../../img/text-logo.svg");
    }
}

.mt-32 {
    margin-top: 32px;
}

.ml-15 {
    margin-left: 15px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-5 {
    margin-left: 5px;
}

.buy_btn {
    min-width: 290px;
}

.bc {
    background-color: var(--secondary_background);
}

.normal_weight {
    font-weight: 400;
}

/* COMBO PACKAGE */

.plan_selection {
    margin: 0;
    padding: 0;
    min-height: calc(100vh - var(--nav_height));
    display: flex;
    flex-direction: column;
}

.plus_back {
    padding: 48px 0;
    flex-grow: 1;
    background: var(--plus_back_grad);
}

.adv_back {
    background-color: var(--white);
    padding-bottom: 48px;
}

.prices {
    min-height: 331px;
}

#combo_prices {
    align-items: end;
}

.price_box {
    border-radius: var(--radius);
    background-color: var(--white);
    width: 100%;
    max-width: 490px;
    padding: 32px;
    border: 2px solid var(--secondary_background_2);
    border-bottom-width: 4px;
    min-width: calc(33.33% - 24px);
    max-width: calc(33.3% - 24px);
}

.price_box .head {
    font-size: 23px;
}

.price_box .discount {
    font-size: 22px;
}

.price {
    font-size: 30px;
}

.ot {
    font-size: 22px;
    margin-right: 6px;
}

.plan_desc {
    font-size: 18px;
}

.plan_desc_sub {
    min-width: calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
}

.plan_desc_sub span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}



.old_price {
    font-weight: 400;
    font-size: 16px;
    color: var(--secondary);
    position: relative;
}

.old_price .in_time {
    font-weight: 400;
    font-size: 15px;
    margin-left: 3px;
}

.old_price::before {
    content: "";
    height: 1px;
    background-color: var(--secondary);
    left: 0;
    right: 0;
    margin-top: 1px;
    position: absolute;
}


.full_price {
    font-size: 20px;
    margin-left: 10px;
    font-weight: 400;
}

.in_time {
    font-size: 22px;
    margin-left: 6px;
}

*[data-time] {
    display: none;
}

*[data-time-active="year"] *[data-time="year"],
*[data-time-active="halfyear"] *[data-time="halfyear"],
*[data-time-active="month"] *[data-time="month"],
*[data-time-active="lifetime"] *[data-time="lifetime"] {
    display: flex;
}

/* CONTRUCT PACKAGE */

#choose_subjects .subject {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
}

#choose_subjects .btn {
    text-transform: none;
    font-weight: var(--main_weight);
    font-size: 16px;
}

#choose_subjects .choose_sub_name {
    font-size: 19px;
}

#choose_subjects .price {
    font-size: 24px;
}

#choose_subjects .in_time {
    font-size: 19px;
}

.choose_subject {
    min-width: 50px;
    min-height: 50px;
    border-radius: var(--radius);
    background-color: var(--lightblue);
}

.in_time {
    text-transform: none;
}

.btn:not(.checked) .check,
.checked .shop {
    display: none;
}

.construct_full_price {
    font-weight: var(--main_weight);
    margin-top: 3px;
    text-transform: none;
}

#buy_footer {
    width: 100%;
    z-index: 100;
    position: fixed;
    bottom: 0;
    padding: 24px 0;
    background-color: var(--lightblue);
}

.blue {
    color: var(--accent);
}


.old_price.blue::before {
    background-color: var(--accent);
}

/* COMP TABLE */

.comp_table {
    max-width: 1000px;
    font-size: 18px;
    flex-grow: 1;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -24px;
}

.expand_comp {
    background-color: var(--white);
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    display: flex;
    margin-right: 20px;
}

.comp_row {
    background-color: var(--secondary_background);
    border-radius: var(--radius);
    cursor: pointer;
}

.comp_row_inner {
    padding: 15px 0 15px 24px;
}

.comp_row_more {
    display: none;
}

.comp_row_more_inner {
    padding: 9px 24px 24px;
    text-align: left;
}

.comp_row.opened .comp_row_more {
    display: block;
}

.table_head {
    background-color: transparent;
}

.text_cell {
    text-align: left;
    flex-grow: 1;
}

.comp_cell {
    max-width: 125px;
    min-width: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mark_wrapper {
    height: 50px;
    width: 70px;
    background-color: var(--white);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_text {
    max-width: 600px;
}

.alb {
    align-items: baseline;
}

.video_choose {
    background-color: var(--secondary_background1);
}

.p-24 {
    padding: 24px;
}

.discount_wrapper {
    margin: 0 !important;
    background-color: var(--green);
}

.time_left {
    padding: 15px 24px;
    border-radius: 50vh;
    background-color: #fff;
    display: flex;
    font-size: 20px;
    font-weight: var(--main_boldest_weight);
}

.discount_wrapper img {
    width: 100%;
    max-width: 250px;
}

.discount {
    color: #fff;
    font-size: 90%;
    font-weight: var(--main_boldest_weight);
    padding: 4px 5px;
    background-color: var(--green);
    border-radius: 10px;
}

.play_review {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: -40px;
    right: 20px;
}

.flex_start {
    display: flex;
    align-items: flex-start;
}

.intro-banner {
    background-color: var(--darker_accent);
    padding: 40px 0;
    border-bottom: var(--border);
}

.intro-banner .container {
    text-align: center;
}

.intro-banner h1 {
    color: #fff !important;
    font-size: 24px;
    margin: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.7em;
    color: var(--secondary);
    text-decoration: line-through;
    margin: 0 10px;
}

.discount_additional {
    font-size: 16px;
    align-self: baseline;
    background-color: var(--progress) !important;
}

/* CHILD COUNT */

.child_count_wrap {
    padding: 24px;
    border-radius: var(--radius);
    font-size: 17px;
    background-color: var(--secondary_background);
}

.child_counter {
    border-radius: var(--radius);
    overflow: hidden;
}

.child_count_btn {
    transition: 0.2s linear all;
}

.child_count_btn:hover {
    background-color: var(--accent);
    color: #fff;
}

.child_counter div {
    cursor: pointer;
    padding: 15px 24px;
    background-color: var(--white);
}

@media (max-width: 1160px) {
    .comp_row {
        border-radius: 0;
    }
}

@media (max-width: 912px) {
    #combo_prices {
        flex-direction: column;
        align-items: center;
    }

    .price_box {
        min-width: 0;
        width: 350px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .price_box .head {
        font-size: 20px;
    }

    .price {
        font-size: 32px;
    }

    .plan_desc {
        font-size: 16px;
    }

    .price_box {
        padding: 32px;
    }

    .comp_table {
        font-size: 17px;
    }

    .comp_cell {
        max-width: 90px;
        min-width: 90px;
    }

    .comp_row_inner {
        padding: 15px 0 15px 15px;
    }
}

@media (max-width: 600px) {
    .choose_subject_wrap {
        flex-direction: column;
        align-items: baseline;
        gap: 5px;
    }

    .choose_subject_price_wrap {
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 13px;
    }

    #choose_subjects .old_price {
        font-size: 13px;
    }

    #choose_subjects .price {
        font-size: 20px;
    }

    #choose_subjects .in_time {
        font-size: 16px;
    }

    #choose_subjects .choose_sub_name {
        font-size: 17px;
    }

    #footer_course_text {
        display: none;
    }

    .footer_price_wrap {
        flex-grow: 1;
        justify-content: space-between;
    }

    #buy_footer .price {
        font-size: 25px;
    }
}

@media (max-width: 560px) {
    .comp_table {
        font-size: 15px;
    }

    .comp_cell {
        max-width: 75px;
        min-width: 75px;
    }

    .mark_wrapper {
        width: 50px;
    }

    .plan_desc_sub {
        gap: 9px;
    }

    .plan_desc_sub {
        font-size: 13px;
    }

    .plan_desc_sub img {
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        border-radius: 10px;
    }
}

@media (max-width: 450px) {
    .price_box {
        padding: 24px;
    }

    .buy_btn {
        min-width: 240px;
    }

    .choose_subject_price_wrap {
        flex-direction: column;
        gap: 1px;
        align-items: baseline;
    }
    #buy_footer .price {
        font-size: 21px;
    }
}

@media (min-width:768px) {
    .plan_selection .grade_choose {
        font-size: 20px;
    }
}