.modal-backdrop.show {
    opacity: 0.8;
}

.modal {
    justify-content: center;
    align-items: center;
}

.modal-content {
    border-radius: 10px;
}

.modal-content {
    padding: 20px;

    p {
        padding: 10px;
        font-weight: 500;
        font-size: 30px;
        line-height: 130%;
        text-align: center;
        color: #000000;

        a {
            color: #329F58;
        }
    }

    .modal-close {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: #FFF;
        color: #329F58;;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border: 2px solid #329F58;
        cursor: pointer;
    }

    .modal-close:before {
        content: '×';
        height: 30px;
    }
;
}


h2.hide-xs {
    display: none;
}

.panel-white {
    h2 {
        margin-bottom: 20px;
    }

    ul.pagination {
        margin: auto;
        margin-bottom: 0;
        margin-top: 40px;
        display: flex;
        justify-content: center;
        gap: 5px;

        li {
            .page-link {
                width: 41px;
                height: 41px;
                background: #FFFFFF;
                border: 1px solid #EBEAFF;
                border-radius: 8px;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 16px;
                font-weight: 500;

            }
        }

        li.page-item.active {
            .page-link {
                border: none;
                background: #329F58;
            }
        }

        li.page-item.arrow {
            .page-link {
                color: #329F58;
            }
        }

        li.page-item[rel="prev"] {
            margin-right: 10px;
        }

        li.page-item[rel="next"] {
            margin-left: 10px;
        }
    }

}

.tarif.disabled {
    opacity: 0.2;
    user-input: none;
    pointer-events: none;
    display: none;
}

.align-bottom {
    display: flex !important;
    justify-content: flex-end;
    flex-flow: column;

    p {
        font-weight: 500;
        font-size: 20px;
        line-height: 130%;
        text-align: right;
        color: #329F58;
        margin-bottom: 0;
    }
}


@media (min-width: 768px) {
    .tarif.disabled {
        display: block;
    }
}

@media (min-width: 768px) {
    .panel-white {
        h2 {
            display: none;
        }
    }

    h2.hide-xs {
        display: block;
    }
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn.disabled {
    color: white;
    background: rgba(50, 159, 88, 0.2);
    border: none;
}

.btn-slider-yellow {
    background-color: #F9E62D;
    border-color: #F9E62D;
    border-radius: 10px;
    padding: 10px 30px;
    color: #000;
}


.nav-back {
    display: block;
    color: #7F7D86;
    font-size: 14px;
    font-weight: 500;
    margin: 20px 0;

    span {
        color: #329F58;
        margin-right: 10px;
        font-weight: 400;
    }
}

.panel-white {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.balance {
    display: flex;
    flex-flow: column;

    .left {
        border-bottom: 1px solid #EBEAFF;
        padding-bottom: 15px;

        label {
            font-size: 16px;
            display: block;
            color: #7F7D86;
        }

        span {
            white-space: nowrap;
            font-style: normal;
            font-weight: 700;
            font-size: 36px;
            line-height: 130%;
            color: #000000;
        }
    }

    form {
        padding: 0;
    }

    .right {
        display: flex;
        flex-flow: column;
        padding-top: 20px;
        gap: 20px;

    }

    input {
        box-sizing: border-box;
        padding: 10px 20px;
        background: #F8FAFF;
        border: 1px solid #EBEAFF;
        border-radius: 10px;
        color: #7F7D86;
        height: 45px;
    }

    .btn {
        max-height: 45px !important;
    }
}

@media (min-width: 768px) {
    .balance {
        flex-flow: row;
        justify-content: space-between;

        .left {
            border-bottom: none;
        }

        .right {
            input {
                width: 200px;
            }

            button {
                width: 220px;
            }

            display: flex;
            flex-flow: row;
            align-items: center;
            padding-left: 20px;
        }
    }
}

.services {
    margin-top: 40px;

    .panel-white {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        gap: 20px;

        .service-row {
            display: flex;
            flex-flow: column;

            .left {
                display: flex;
                flex-flow: column;
                background: #F8FAFF;
                border-radius: 10px;
                padding: 10px 30px;

                label {
                    color: #000000;
                    font-weight: 500;
                    font-size: 14px;
                }

                .sum {
                    color: #000000;
                    font-weight: 500;
                    font-size: 14px;
                }
            }

            .right {
                a {
                    height: 35px;
                    margin-top: 10px;
                }
            }
        }
    }
}

@media (min-width: 768px) {
    .services {
        margin: 0;

        .panel-white {
            height: 174px;
            margin-top: 0;
            gap: 0;

            .service-row {
                flex-flow: row;
                justify-content: space-between;
                gap: 20px;
                align-items: center;

                .left {
                    padding: 10px 20px;
                    flex-grow: 1;
                    display: flex;
                    flex-flow: row;
                    justify-content: space-between;
                }

                .right {
                    a {
                        margin: 0;
                        width: 150px;
                    }
                }

            }
        }
    }
}

.buy-vacancy {
    .panel-white {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        gap: 20px;

        label {
            font-size: 14px;
            font-weight: 400;
            color: #7F7D86;
            white-space: nowrap;
        }

        .left {
            border-bottom: 1px solid #EBEAFF;
            padding-bottom: 15px;

            .sum {
                font-size: 24px;
                font-weight: 500;
                color: #000;
            }
            .sum.gray {
                color: #A5A8AF;
            }
            display: flex;
            flex-flow: row;
            gap: 20px;

            input {
                box-sizing: border-box;
                padding: 10px 20px;
                background: #F8FAFF;
                border: 1px solid #EBEAFF;
                border-radius: 10px;
                color: #7F7D86;
                height: 45px;
            }

            div {
                display: flex;
                flex-flow: column;
                width: 50%;
            }
        }

        .right {
            display: flex;
            flex-flow: row;
            gap: 20px;

            div {
                display: flex;
                flex-flow: column;
                width: 50%;
            }

            .sum {
                font-style: normal;
                font-weight: 500;
                font-size: 24px;
                color: #000000;
            }

            .green {
                color: #329F58;
            }

        }

        .btn {
            height: 45px;
        }
    }
}

@media (min-width: 768px) {
    .buy-vacancy {
        .panel-white {
            flex-flow: row;
            position: relative;

            .left {
                flex-grow: 1;
                display: flex;
                flex-flow: row;
                border-bottom: none;
                border-right: 1px solid #EBEAFF;
                padding-right: 20px;
                gap: 20px;

                input {
                    width: 150px;
                }

                .min {
                    font-size: 14px;
                    white-space: nowrap;
                }
            }

            .right {
                width: 30%;
                flex-flow: column;
            }

            .btn {
                position: absolute;
                bottom: 20px;
                left: 20px;
                width: 150px;
            }
        }
    }
}

.history {
    .theader {
        display: none;
    }

    .history-row {
        background: #F8FAFF;
        border-radius: 10px;
        padding: 10px 20px;
        margin-bottom: 10px;
        display: flex;
        flex-flow: row wrap;

        .col {
            display: flex;
            flex-flow: column;

            label {
                font-style: normal;
                font-weight: 400;
                font-size: 12px;
                line-height: 130%;
                color: #7F7D86;
            }

            .value {
                font-style: normal;
                font-weight: 500;
                font-size: 14px;
                line-height: 130%;
                color: #000000;
            }

            .plus {
                color: #329F58;
            }

            .minus {
                color: #E21919;
            }
        }

        .w2 {
            margin-bottom: 10px;
            flex: 0 0 100%;

            .value {
                display: block;
                min-height: 30px;
            }
        }
    }
}

@media (min-width: 768px) {
    .history {
        .theader {
            display: flex;
            flex-flow: row;
            justify-content: space-between;

            .col {
                font-size: 12px;
                flex: 0 0 20%;
            }

            .col.w2 {
                flex: 0 0 60%;
            }

            .col.right {
                text-align: right;
            }
        }

        .tbody {
            .history-row {
                align-items: center;

                label {
                    display: none;
                }

                .col {
                    font-size: 14px;
                    flex: 0 0 20%;

                    .value {
                        font-weight: normal;
                    }
                }

                .col.w2 {
                    flex: 0 0 60%;
                    margin-bottom: 0;

                    .value {
                        font-weight: 500;
                        min-height: auto;
                    }
                }

                .col.right {
                    text-align: right;
                    font-size: 12px;
                }
            }

        }
    }
}

.tarif {
    .content {
        display: flex;
        flex-flow: row wrap;

        div.col-6 >div {
            min-height: 100%;
        }
    }
}