/*стили админки*/
.section-discount-system .widget-table-body .volume-table,
.section-discount-system .widget-table-body .cumulative-table {
    width: 100%;
}

.section-discount-system .widget-table-body .cumulative-table {
    margin: 0 0 15px 0;
}

.opt-prop {
    width: 600px;
}

li {
    list-style-type: none;
}

.section-discount-system .widget-table-body .volume-table tr td,
.section-discount-system .widget-table-body .cumulative-table tr td {
    text-align: center;
    border: none;
    color: #333;
    font-size: 13px;
    vertical-align: middle;
    padding: 5px;
    background: #fff;
}

.section-discount-system .widget-table-body .volume-table tr th:first-child,
.section-discount-system .widget-table-body .cumulative-table tr th:first-child {
    width: 60%;
}

.section-discount-system .widget-table-body .volume-table tr th,
.section-discount-system .widget-table-body .cumulative-table tr th {
    width: 100%;
    color: #fff;
    font-size: 12px;
    padding: 9px;
}

.mg-discount-system .link-result,
.mg-plugin-notify,
.section-discount-system .widget-table-body .link-result {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 10px 0 10px 0;
    background: #fff6ae;
    border: 1px solid #ffde00;
    border-radius: .25rem;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #222
}

.section-discount-system .widget-table-body .link-result {
    width: 100%;
    height: auto;
}

.section-discount-system .widget-table-body {
    padding: 0;
}

.section-discount-system .widget-table-body h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    margin: 0 0 10px 0;
}

.section-discount-system .percent-input {
    width: 50px;
    float: left;
    margin-bottom: 0!important;
}

.section-discount-system .price-input {
    width: 50px;
    float: left;
}

ul.price-list li {
    display: inline;
}

.section-discount-system .table-block .price-input {
    margin-bottom: 0!important;
    width: 60%;
}

.section-discount-system .widget-table-body .table-block {
    margin: 15px 0 0 0;
    width: 49%;
    float: left;
    border: 1px solid #e6e6e6;
    padding: 15px;
}

.section-discount-system .widget-table-body .table-block+.table-block {
    float: right;
}

.price-d div:nth-child(2) {
    flex-grow: 0;
    padding: 0 7px;
}

.section-discount-system .widget-table-action .show-property-order {
    margin: 0;
}

.section-discount-system .actions .change {
    display: block;
    font-size: 11px;
    line-height: 11px;
    text-align: center;
    white-space: nowrap;
}

.section-discount-system .actions .change.error {
    color: red;
}

.section-discount-system .actions .change.success {
    color: green;
}

.mg-plugin-notify span {
    display: flex;
    justify-content: center;
    text-align: center;
}

.mg-plugin-notify span+span {
    margin: 5px 0 0 0;
}

.mg-plugin-notify strong {
    color: #5a5a5a;
}

.mg-discount-system {
    margin: 20px 0 0;
    background-color: #f4f4f4;
    border-radius: .25rem;
    padding: 20px 12px;
    color: #515151;
    margin: 20px auto;
    min-width: 340px;
    width: 100%;
    max-width: calc(100% - 30px);
}

.mg-discount-system h2 {
    font-size: 16px;
    line-height: 14px;
    font-weight: 600;
    padding: 0;
    margin: 0 0 15px 0;
    text-align: center;
}

.mg-discount-system ul {
    padding: 0;
    margin: 10px 0;
}

.mg-discount-system ul li {
    margin: 0 0 5px 0;
}

.mg-discount-system .link-info {
    padding: 10px;
    text-align: center;
    line-height: 1;
    color: #004085;
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    border-radius: .25rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    max-width: 400px;
    margin: 15px auto 0;
}

.mg-discount-system .link-info p:last-child {
    margin-bottom: 0;
}

.mg-discount-system .link-info span {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.section-discount-system ul {
    list-style: none;
    padding: 0 0 0 10px;
    margin-bottom: 0 0 20px 0;
}

.section-discount-system [name='max'] {
    display: inline-block;
    width: 575px;
    margin-left: 10px;
}

.section-discount-system .save-row {
    cursor: pointer;
}

td>span {
    float: left;
    margin: 5px 0 0 5px;
}

.price-d {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.price-d>div:first-child {
    width: 60% !important;
}

.price-d .price-input {
    width: 100% !important;
}

button.add-new-line .fa {
    margin-right: 7px;
}

.payment-option .mg-discount-system>p {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.discount-system-container {
    border-radius: .25rem;
    font-size: 18px;
    margin-bottom: 20px
}

.mg-discount-system__title {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.mg-discount-system__title_size {
    font-size: 18px!important
}

.mg-discount-system strong {
    color: var(--accent-color, #2879fe);
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
}

.mg-plugin-notify {
    background-color: #d9edf7;
    border: none;
    color: var(--alt-accent-color)
}

.mg-plugin-notify strong {
    color: var(--accent-color)
}

.mg-discount-system-condition {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
}

.mg-discount-system__discount {
    display: flex
}

@media (max-width: 800px) {
    .section-discount-system .widget-table-body .table-block {
        width: 100%;
    }
}