@font-face {
    font-family: 'Avenir Next';
    src: url('./fonts/avenirNext/AvenirNextLTPro-Demi.eot'),
        url('./fonts/avenirNext/AvenirNextLTPro-Demi.eot?#iefix')
            format('embedded-opentype'),
        url('./fonts/avenirNext/AvenirNextLTPro-Demi.woff') format('woff'),
        url('./fonts/avenirNext/AvenirNextLTPro-Demi.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir Next Bold';
    src: url('./fonts/avenirNext/AvenirNextLTPro-Bold.otf') format('truetype');
}

@font-face {
    font-family: 'Avenir Next Regular';
    src: url('./fonts/avenirNext/AvenirNextLTPro-Regular.eot'),
        url('./fonts/avenirNext/AvenirNextLTPro-Regular.eot?#iefix')
            format('embedded-opentype'),
        url('./fonts/avenirNext/AvenirNextLTPro-Regular.woff') format('woff'),
        url('./fonts/avenirNext/AvenirNextLTPro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir Next Medium';
    src: url('./fonts/Avenir/AvenirNextCyr-Medium.eot'),
        url('./fonts/Avenir/AvenirNextCyr-Medium.eot?#iefix')
            format('embedded-opentype'),
        url('./fonts/Avenir/AvenirNextCyr-Medium.woff') format('woff'),
        url('./fonts/Avenir/AvenirNextCyr-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.checkoutPage {
    width: 100%;
    height: auto;
    min-height: 100vh;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif !important;
    user-select: none;
}

.checkoutPage-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif !important;
}

.image {
    width: 100%;
    display: flex;
}

.image-content > img {
    max-width: 100%;
}

/* left side */
.checkoutPage-left {
    width: 100%;
    max-width: 550px;

    overflow: hidden;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;

    padding: 40px 54px;
}

.bullets-content {
    width: 100%;
    border: 1px solid;
    border-radius: 12px;
}

.bullet-content {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 16px;
}

.bullet:not(:last-child) {
    border-bottom: 1px solid #131f1e;
}

label {
    width: 100%;
}

.pricings_list {
    width: 100%;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 24px 0;
}

.pricing_item {
    width: 100%;
    cursor: pointer;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #a1a5a5;
    background-color: var(--not-chosen-back-color);
}

.active.pricing_item {
    border: 1px solid #131f1e;
    background-color: var(--selected-back-color);
}

.pricing_name {
    word-wrap: break-word;
}

.row-between {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
}

.promo_code_row {
    gap: 20px;
}

.gap-16 {
    gap: 16px;
}

.price_bedge {
    height: 32px;
    padding: 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.price_bedge > .price__number {
    font-size: 16px;
    font-weight: bold;
    color: #131f1e;
}
.price_bedge > .price__year {
    font-size: 16px;
    color: #131f1e;
    font-weight: bold;
}

.pricings_list > .payment-credit-title {
    width: 100%;
    margin-bottom: 0 !important;
}

.radio__wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio__wrapper > input {
    width: 20px;
    height: 20px;
    accent-color: #24554e;
}

/* right side */
.checkoutPage-right {
    width: 100%;
    max-width: 550px;
    height: 100%;
    padding: 48px;
    border-radius: 8px !important;
}

.miestro-form-field {
    width: 100%;
    height: 46px;
    font-size: 18px;
    font-family: Inter, sans-serif;
    color: black;
    background-color: #ffffff;
    padding: 16px;
    border-radius: 5px;
    border: 1px solid #a1a5a5;
}

.inputs__wrapper {
    display: flex;
    flex-direction: column;
}

.inputs__wrapper .miestro-form-field {
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02) !important;
}

.inputs__wrapper span {
    font-size: 14px;
    color: #131f1e;
}

.add__promo {
    border: 1px solid #a1a5a5;
}

.due__today {
    font-weight: bold;
    font-size: 24px;
    color: #131f1e;
}

.terms__wrapper {
    display: flex;
    margin-left: 21px;
}

.terms__wrapper p {
    font-size: 14px;
    color: #131f1e;
}

.terms__wrapper span {
    color: #36796f;
}

.order__icon svg {
    width: 20px;
    height: 16px;
}

.template7__button {
    border-radius: 5px !important;
    padding: 16px 32px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

.miestro-form-field:focus {
    outline: none;
    box-shadow: 0px 0px 4px #54938b;
}

.miestro-form-field::-webkit-outer-spin-button,
.miestro-form-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.miestro-form-field[type='number'] {
    -moz-appearance: textfield;
}

.input_with_label_wrapper {
    position: relative;
    width: 100%;
}

.input_with_label_wrapper > .input_label {
    margin-bottom: 8px;
    margin-top: 24px;
    font-weight: 400;
    font-size: 14px;
}

.input_with_label_wrapper > .right_label {
    position: absolute;
    top: 24px;
    right: 0;
    font-weight: 400;
    font-size: 12px;
    color: #727978;
}

.account_info {
    margin-top: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
}

.account_info > div {
    display: flex;
    gap: 8px;
}

.payment_details_wrapper {
    padding-bottom: 12px;
}

/* payment section */

.paymentCreditsBlock-strypepaypal {
    display: flex;
    background-color: #f0f2f2;
    height: 32px;
    align-items: center;
    border-radius: 12px;
    width: max-content;
    margin-top: 10px;
}

.paymentCredits {
    height: 100%;
    padding: 4px 12px;
    cursor: pointer;
}

.checkbox__wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.label__and__checkbox__wrapper {
    padding: 18px 16px;
    background-color: transparent !important;
    border: 1px solid #e7e9e9 !important;

    border-radius: 5px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 264px;
    height: 56px;
}

.label__and__checkbox__wrapper.paymentListItem__label__stripe__link__active {
    border: 1px solid #36796f !important;
    background-color: #f7fcfc !important;
}

.label__and__checkbox__wrapper.paymentListItem__label__stripe__link__active
    span {
    color: #131f1e !important;
}

.label__and__checkbox__wrapper input {
    accent-color: #24554e;
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.svg__wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.svg__wrapper span {
    font-size: 16px;
    font-weight: bold;
    color: #727978 !important;
}

.paymentListWrapper > .paymentList {
    display: flex;
    background-color: #f0f2f2;
    height: 32px;
    align-items: center;
    border-radius: 12px;
    width: max-content;
}

.paymentListWrapper > .paymentList > .paymentListItem {
    height: 100%;
}

.paymentListWrapper
    > .paymentList
    > .paymentListItem
    > .paymentListItem__label {
    padding: 0 16px;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.paymentListWrapper
    > .paymentList
    > .paymentListItem
    > .paymentListItem__label.paymentListItem__label__active {
    background-color: #36796f;
    color: #ffffff;
}
.paymentListItem__label__stripe__link__active {
    background-color: #36796f;
    color: #ffffff;
    border-radius: 12px;
}

.price_block_wrapper {
    width: 100%;
    margin-top: 32px;
    border: 1px solid #e7e9e9;
    border-radius: 5px;
    overflow: hidden;
}

.price_block {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order_summary {
    font-size: 18px;
    color: #131f1e;
}

.course_name_and_price {
    flex-wrap: wrap;
}

.course_name_and_price > span {
    font-size: 14px;
    line-height: 24px;
    color: #131f1e;
}

.final_price_block span {
    font-size: 18px;
    color: #131f1e;
}

.divider {
    width: 100%;
    height: 0;
    border-top: 1px solid #e7e9e9;
}

.aditional_info {
    color: #727978;
    font-size: 12px;
}

.guarante_block {
    width: 100%;
    padding: 16px 24px;
    background-color: #f0f2f2;
    border-top: 1px solid #e7e9e9;
}

.guarante_block span {
    color: #444c4b;
    font-size: 14px;
}

.order-description-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-description-left .order__icon {
    width: 31px;
    height: 20px;
}

.order-description-left .text {
    text-wrap: nowrap;
}

.privacy__policy__wraper {
    margin-top: 16px;
}

.braintree_button_wrapper {
    max-width: 100%;
    width: 100%;
}

.checkout-button {
    margin-top: 16px;
}

.checkout-button button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
}

.couponContent {
    display: block !important;
}

#submit_coupon {
    height: 45px;
    background-color: #ffffff;
}

.CheckBox {
    margin-top: 32px;
}

.open_modal {
    color: #36796f;
}

@media all and (max-width: 1024px) {
    .checkoutPage-content {
        flex-direction: column;
        align-items: center;
    }

    .checkoutPage-left {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 12px;
    }

    .checkoutPage-right {
        border-bottom-left-radius: 12px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 12px;
    }
}

@media all and (max-width: 701px) {
    .checkoutPage {
        padding: 16px;
    }

    .checkoutPage-left {
        padding: 16px;
    }

    .checkoutPage-right {
        padding: 16px;
    }
}

/*modal */

#modals-root {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modalContent {
    background-color: transparent;
    display: flex;
    width: 100%;
    height: 100%;
}

.modalContent .modalContent_pos_center {
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: min(540px, 100%);
    height: 100vh;
    position: relative;
}

.addCouponPopup {
    max-height: 90%;
    color: #fff;
    padding: 40px 32px;
    border-radius: 5px;
    background-color: rgb(39, 39, 39);
    box-shadow: 0 16px 32px rgb(69 90 100 / 40%);
    overflow-y: auto;
    position: relative;
}

.addCouponPopup::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.addCouponPopup::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.addCouponPopup::-webkit-scrollbar-thumb {
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(119, 119, 119, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(119, 119, 119, 0.3);
    background-color: rgb(226, 226, 226);
}

.addCoupon__close {
    display: flex;
    justify-content: flex-end;
    margin-right: -24px;
    cursor: pointer;
}

/* footer */
.footer_wrapper {
    width: 100%;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer_wrapper span {
    color: #fff;
}

.footer_wrapper > div {
    display: flex;
    gap: 32px;
}

#free_button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    margin-top: 16px;
}

.accordionWrapper {
    display: flex;
    flex-direction: column;
    user-select: none;
    border: 1px solid;
}

.accordionWrapper__title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordionWrapper__title p {
    margin-bottom: 0;
}

.accordionWrapper__title svg {
    min-width: 24px;
    width: 24px;
    height: 25px;
}

.accordionWrapper__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    height: 0;
}

.accordionWrapper__content.show {
    opacity: 1;
    pointer-events: all;
    height: auto;
}

.accordionWrapper__tooltip {
    animation: showContent 600ms;
}

.triangleSvg_isOpen_true {
    transform: rotate(90deg);
    transition: 200ms all ease;
}

.triangleSvg_isOpen_false {
    transition: 200ms all ease;
}

.accordionWrapper__hasShadow {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

@keyframes showContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.my_btn_size {
    font-size: 18px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif !important;
}

#button_price {
    font-size: 18px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif !important;
}

.my_btn_size span {
    font-size: 18px ;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif !important;
}

@media only screen and (max-width: 600px) {
    .order-summary-modern {
        width: 100% !important;
        height: fit-content;
        position: relative !important;
        display: flex;
        flex-direction: column;
        margin: auto !important;
        margin-bottom: 50px !important;
    }
    .checkoutPage-right {
        padding: 16px !important;
    }
    #button_price span {
        font-size: 12px !important;
    }
}
