﻿
:root {
    --color-and: #00C853;
    --color-or: #FCC419;
    --color-error: #fe7271;
}

/* Base */

body {
    height: 100vh;
    overflow: hidden;
    //font-family: 'Raleway', sans-serif;
    //background: rgba(0,0,0,0.08);
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

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

.pa-25 {
    padding: 25px !important;
}

.total-height {
    height: calc(100vh - 64px);
    overflow-y: auto;
    width: calc(100% + 13px);
    margin-top: -4px;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100% !important;
}

.full-height-y {
    height: 100% !important;
    overflow-y: auto;
}

.full-height-y-toolbar {
    height: calc(100% - 64px) !important;
    overflow-y: auto;
}

.full-height.h-fix .mud-table-container {
    height: calc(100% - 64px) !important;
}

.full-height-vh {
    height: calc(100vh - 64px);
    overflow-y: auto;
    margin-top: 2px;
}

    .min-height-40 {
        min-height: 40vh;
    }

.mt-n-4 {
    margin-top: -4px;
}

.bg-transparent {
    background: transparent !important;
}

.no-box-shadow {
    box-shadow: none !important;
}

.page-bottom-toolbar {
    height: calc(100vh - 116px);
    overflow-y: auto;
}

.footer-toolbar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
    box-shadow: 0 1px rgba(0,0,0,0.2) inset;
    background: #fff;
    z-index: 5;
}

/* Layout */

.main-bar.main-bar-404 {
    background: transparent;
    border: 0;
}

    .main-bar.main-bar-404 h5 {
        display: none;
    }

.mud-layout:has(.main-bar-404) .main-sidebar {
    display: none;
}

.mud-layout:has(.main-bar-404) .mud-main-content {
    width: 100% !important;
    margin: 0 !important;
    height: 100vh;
    padding: 0 !important;
}

.login-btn,
.logout-btn {
    margin-right: 15px;
    height: 42px;
    margin-top: 1px;
    padding-block: 0;
    line-height: 42px;
}

.logout-btn {
    margin-left: 25px;
    color: #fff;
    border-color: #fff;
}

.logged-user {
    background: var(--mud-palette-primary);
    border-radius: 15px;
    color: #fff;
    padding-right: 20px;
}

.logged-user svg {
    color: #fff;
}

.main-bar .mud-select {
    flex-grow: unset;
}

.lang-selector {
    min-width: 80px;
    color: #fff;
    flex-grow: unset;
    float: right;
}

    .lang-selector .mud-input-outlined-border {
        display: none !important;
    }

    .lang-selector .mud-input {
        color: #fff;
        border: 1px solid #fff;
        border-radius: 5px;
        background: rgba(255,255,255,0.1);
    }

    .lang-selector svg {
        color: #fff;
    }

.redirect-msg-box {
    padding: 20px 30px;
    font-weight: bold;
    //color: var(--mud-palette-primary);
    width: 100%;
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.6);
}

    .redirect-msg-box.perform-test-indicator {
        border-radius: 5px;
        width: calc(100% - 14px);
        margin-left: 7px;
    }

    .redirect-msg-box.success {
        background: #c1f1e9;
        color: #003124;
    }

    .redirect-msg-box.fail {
        background: #ffc6db;
        color: #4f011d;
    }

    .redirect-msg-box svg {
        vertical-align: middle;
        margin-top: -4px;
        margin-right: 5px;
    }

/* Lookup */

.lookup-filter-panel .mud-input input,
.lookup-filter-panel .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: 14px;
    line-height: 14px;
}

/* Wizard */
.custom-carousel {
    height: calc(100vh - 70px);    
    //padding-inline: 25px;
}

.mud-carousel-swipe {
    width: 100%;
}

.custom-carousel .mud-grid,
.organization-carousel .mud-grid {
    align-content: flex-start !important;
}

    .organization-carousel .mud-carousel-item {
        padding-bottom: 0;
    }

.leave-confirm-msg {
    padding: 25px 0;
}

.slider-nav-btn {
    width: 150px;
    margin-right: 4px;
}

.wizard-progress {
    position: absolute;
    height: 36px;
    top: 77px;
    left: 50%;
    transform: translateX(-50%);
    user-select: none;
}

.progress-checkpoint {
    width: 120px;
    height: 36px;
    line-height: 35px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid var(--mud-palette-primary);
    margin-right: 20px;
    position: relative;
    background: #fff;
    display: inline-block;
    padding: 0 15px;
    vertical-align: text-bottom;
    z-index: 10000;
}

    .progress-checkpoint:hover {
        cursor: pointer;
        background: rgba(0,0,0,0.04);
    }

    .progress-checkpoint.current-step {
        background: var(--mud-palette-primary);
        border-color: var(--mud-palette-primary);
        color: #fff;
    }

    .progress-checkpoint .connection {
        position: absolute;
        top: 16px;
        left: auto;
        border-top: 1px solid var(--mud-palette-primary);
        height: 30px;
        right: -26px;
        width: 25px;
    }

.new-promo-title {
    font-weight: 100;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

/* Calculation Trigger */

/*.custom-tree.mud-treeview {
    padding: 8px 12px;
}*/

.custom-tree .mud-treeview-group {
    margin-left: 0;
    padding: 0;
    overflow: visible;
}

/*.condition-block {
    width: 100%;
    background: #fff;
    display: inline-block;
    padding: 35px 0 0 0;
    position: relative;
    border: 1px solid var(--color-and);
    border-top-width: 2px;
    margin: 20px 0;
}

    .condition-block.block-or {
        border-color: var(--color-or);
    }*/

.mud-treeview-item {
    min-height: 0;
}

/*.custom-tree .condition-block .mud-treeview-item .mud-treeview-item-content {
    position: absolute;
    left: 6px;
    top: 38px;
    height: 40px;
    width: 40px;
    background: #fff;
    padding: 0;
    border-radius: 50%;
}

    .custom-tree .condition-block .mud-treeview-item .mud-treeview-item-content button {
        padding: 0;
        width: 40px;
        height: 40px;
    }*/

.custom-tree .condition-block .condition {
    overflow: hidden;
}

.block-logic {
    position: absolute;
    top: -18px;
    left: 20px;
    padding: 8px 20px;
    background: var(--color-and);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    width: 70px;
    height: 35px;
    text-align: center;
}

    .block-logic:hover {
        cursor: pointer;
    }

    .block-logic.logic-or {
        background: var(--color-or);
    }

/*.remove-block {
    position: absolute;
    top: 3px;
    right: 8px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    color: var(--color-error);
    font-size: 14px;
    text-align: center;
}*/

.block-or > .remove-block {
    border-color: var(--color-or);
}



.remove-block span {
    margin: 0;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
}

/*.condition-block-title {
    position: absolute;
    top: -18px;
    left: 108px;
    width: 80%;
    height: 35px;
}

    .condition-block-title > div:first-of-type {
        width: calc(100% - 220px);
    }

    .condition-block-title > * {
        float: left;
        margin-right: 5px !important;
    }

    .condition-block-title .mud-input-control,
    .condition-block-title .mud-select-input {
        background: #fff;
    }

    .condition-block-title .mud-input-control {
        margin: 0;
    }

    .condition-block-title .mud-input-label-inputcontrol {
        font-size: 14px !important;
        line-height: 14px !important;
    }

    .condition-block-title .mud-input-control input {
        font-size: 14px;
        height: 35px;
        padding-block: 0 !important;
    }

    .condition-block-title .mud-input.mud-input-outlined .mud-input-outlined-border {
        border-color: var(--color-and);
        border-width: 2px;
        border-radius: 0;
    }

.condition-block.block-or > .condition-block-title .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--color-or);
}*/

.condition {
    background: #fff;
    border-radius: 30px;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    box-shadow: 0 0 8px 4px rgba(0,0,0,0.08);
    position: relative;
    margin: 15px 0;
    overflow: hidden;
}

    .condition > * {
        user-select: none;
    }

.condition-block .condition {
    box-shadow: none;
    background: transparent;
    display: block;
    border-radius: 0;
    min-height: 54px;
    height: auto;
    margin: 0;
}

.condition > div {
    display: inline-block;
}

.condition-field .placeholder {
    font-weight: 100;
    color: #c5c5c5;
    display: none;
}

.condition-field.empty .placeholder {
    display: block;
}

.condition-data-field {
    padding: 0 10px;
    color: var(--mud-palette-primary);
    font-weight: 700;
    cursor: pointer;
}

.condition-operater {
    border: 1px solid rgba(0,0,0,0.6);
    border-radius: 5px;
    padding: 0 8px;
    line-height: 24px;
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

    .condition-operater:hover {
        cursor: pointer;
        background: rgba(0,0,0,0.04);
    }

.condition-value {
    padding: 0;
    color: #4169E1;
    font-weight: 700;
    cursor: pointer;
}

.condition-value-field .mud-input {
    margin-top: 0 !important;
    color: #4169E1;
    font-weight: 700;
    width: 100px;
}

    .condition-value-field .mud-input.mud-input-underline:before {
        display: none;
    }

.value-currency .mud-input-control,
.value-currency .mud-input-control-input-container,
.value-currency .mud-input-control input {
    margin: 0;
    height: 26px;
    padding: 0;
    text-align: right;
}

.value-currency .mud-input-numeric-spin span {
    color: var(--mud-palette-primary);
}



.aggregation-desc {
    color: var(--mud-palette-primary);
    font-size: 14px;
    width: 100%;
    margin-top: 15px;
}

.add-condition {
    float: right;
    margin-top: 5px;
    margin-right: 25px;
    background: #fff;
}

    .add-condition.main-add {
        float: none;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 15px 0;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

        .add-condition.main-add.undo {
            margin-right: 10px;
        }

        .add-condition.main-add span {
            margin: 0;
            font-size: 26px;
        }

.condition-block .add-condition,
.condition-block .add-condition:hover {
    border-width: 0 0 1px 0;
    border-radius: 0;
}

.condition-block .add-condition {
    padding-inline: 5px;
    margin-top: 15px;
    margin-right: 40px;
}

.aggregation-wrapper {
    border-top: 1px dashed rgba(0,0,0,0.1);
    position: relative;
    height: 70px;
}

    .aggregation-wrapper.dense {
        height: auto;
    }

.condition.collection-aggregation {
    background: rgba(0,0,0,0.04);
    padding: 8px 0 8px 60px;
    height: 70px;
    width: 100%;
    display: block;
    border-bottom: none;
    border-radius: 0;
}

    .condition.collection-aggregation.aggregation-empty {
        background: transparent;
    }

    /*.condition.collection-aggregation.benefit-block {
        background: #d9ffe9;
        height: auto;
        min-height: auto;
        padding: 10px 0 0 0;
    }*/

        /*.condition.collection-aggregation.benefit-block > div {
            display: block;
        }*/

        /*.condition.collection-aggregation.benefit-block .condition {
            background: transparent;
            width: 100%;
            border: 0;
            min-height: auto;
            border-bottom: 1px dashed rgba(0,0,0,0.08);
            padding-block: 8px;
            position: relative;
        }

            .condition.collection-aggregation.benefit-block .condition > div {
                float: left;
            }*/

.collection-aggregation .condition-data-field,
.collection-aggregation .condition-operater,
.collection-aggregation .condition-value {
    height: 26px;
    line-height: 26px;
    float: left;
}

.collection-aggregation-type {
    padding-left: 12px;
    font-size: 18px;
    width: 100%;
    display: block !important;
    height: 20px;
    line-height: 20px;
    color: #4169E1;
    font-weight: bold;
    margin-bottom: 4px;
}

    .collection-aggregation-type:hover {
        cursor: pointer;
    }

.new-condition {
    position: absolute;
    right: 96px;
    top: 10px;
    border-radius: 50%;
    z-index: 2;
}

    .new-condition .add-condition.main-add {
        margin: 0;
        padding: 0;
        border-radius: 50%;
        width: 45px;
        min-width: 45px;
        min-height: 45px;
        height: 44px;
        border-width: 1px !important;
    }



/*.condition.collection-aggregation.benefit-block .condition-toolbar {
    border-bottom: 0;
    padding-bottom: 0;
}*/

/*.condition-builder {
    width: 100%;
}*/

    /*.condition-builder header {
        padding-bottom: 10px;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
        min-height: 51px;
    }*/

/*.condition-builder-body {
    background: rgba(0,0,0,0.015);
    padding-top: 10px;
}*/



/*.condition-builder-body .condition-row {
    padding-bottom: 10px;
}*/

/*.condition-row > div {
    display: inline-block;
    vertical-align: text-bottom;
}*/

/*.condition-row > div,
.condition-row input,
.condition-row .mud-input-slot {
    font-size: 12px !important;
}*/

/*.condition-row .mud-input-control {
    width: 100%;
    margin: 0;
}*/

/*.condition-row .condition-value-field.mud-input-control {
    position: relative;
    //top: 3px;
}*/

/*.condition-row .mud-input {
    width: 100%;
}*/

/*.condition-row .condition-value-field input {
    text-align: right;
}

.condition-row.last {
    padding: 8px 0 20px 60px;
}*/



.condition-choice {
    //width: calc((100% - 180px) / 4);
    //line-height: 30px;
    //margin-left: 10px;
    //padding: 0 15px;
    //background: transparent;
}

    .condition-choice.dbl-field {
        //width: calc(100% / 3);
    }

    .condition-choice.triple-field {
        //width: calc((100% - 180px) / 2);
    }

.mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 10px;
    height: 28px;
    line-height: 17px;
}

.condition-choice .mud-input.mud-input-underline:before {
    border-bottom: 1px dashed var(--mud-palette-primary);
}

.condition-choice .mud-input:hover.mud-input-underline:before {
    border-bottom-style: solid;
    border-bottom-color: var(--mud-palette-primary) !important;
}

.condition-choice .condition-field {
    display: inline-block;
    border-bottom: 1px dashed var(--mud-palette-primary);
    width: 100%;
    min-width: calc(100% - 35px);
}

    .condition-choice .condition-field.prefix-fix {
        width: calc(100% - 50px);
    }

    .condition-choice .condition-field:hover {
        border-bottom-style: solid;
    }

    .condition-choice .condition-field.condition-operater {
        border-bottom: 1px solid var(--mud-palette-primary);
        text-align: center;
        padding: 2px 8px;
    }

    .condition-choice .condition-field .placeholder {
        font-weight: 400;
    }

/*.condition-builder .condition-field {
    width: 100%;
}*/

.condition-choice .condition-data-field {
    padding: 0;
}

.condition-choice input {
    color: var(--mud-palette-primary);
    font-weight: 700;
}

.condition-choice.empty input {
    color: #666;
    font-weight: 500;
}

.prefix-span {
    display: inline-block;
    width: 35px;
    float: left;
    font-weight: 500;
}

.simple-remove-wrapper {
    position: absolute;
    right: 20px;
    top: 2px;
}

.simple-remove,
.simple-confirm {
    border-radius: 50%;
    border: 0 !important;
    width: 30px;
    height: 30px;
    float: right;
    padding: 0;
    min-width: 30px;
    margin-right: 45px;
}

    .simple-remove .mud-button-icon-start,
    .simple-confirm .mud-button-icon-start {
        margin: 0 !important;
    }

.simple-logic {
    width: 100px;
}

    .simple-logic span.simple-logic-and,
    .simple-logic span.simple-logic-or {
        border: 1px solid var(--color-and);
        text-align: center;
        width: 30px;
    }

    .simple-logic span.simple-logic-or {
        border-color: var(--color-or);
    }

        .simple-logic span.simple-logic-and:hover,
        .simple-logic span.simple-logic-or:hover {
            cursor: pointer;
            background: #fff;
        }

    .simple-logic > span {
        display: block;
        width: 100%;
        height: 30px;
        line-height: 30px;
        font-weight: 500;
    }

.simple-logic-and {
    color: var(--color-and);
}

.simple-logic-or {
    color: var(--color-or);
}

.empty .value-field,
.empty .value-field input {
    color: #666 !important;
    font-weight: 500 !important;
}

.value-field,
.value-field input {
    color: #4169E1 !important;
    font-weight: 700 !important;
}

.condition-field .mud-input-text {
    margin-top: 0 !important;
}

.benefit-for-wrapper {
    border-top: 1px dashed rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.04);
}

.custom-result-wrapper {
    position: relative;
}

    .custom-result-wrapper input {
        padding-right: 90px !important;
        text-align: left !important;
        color: var(--mud-palette-primary) !important;
        font-weight: 700 !important;
    }

.add-custom-result,
.remove-custom-result {
    position: absolute;
    top: -2px;
    right: 0;
    padding: 0 15px;
    height: 26px;
    font-size: 10px;
    border-radius: 13px;
    //text-transform: lowercase;
}

.tenant-invitation-title {
    padding-top: 5px;
    margin-bottom: 20px;
}

.tenant-invitation-item {
    line-height: 38px;
}

/* Overwrite */
.mud-carousel-item {
    overflow-y: auto;
    overflow-x: hidden;
    //height: calc(100vh - 140px);
    //height: calc(-240px + 100vh);
    height: calc(100vh - 270px); /*-330*/
    padding-bottom: 1.8rem;
    padding-top: 50px;
}

.mud-main-content {
    position: relative;
    height: 100vh;
}

    .mud-main-content > .mud-container {
        padding: 0;
        //margin-top: 4px;
    }

.mud-table-container {
    height: 100%;
}

.mud-button-root:hover {
    //background: transparent;
}

.mud-list-item-text p {
    //font-size: 14px;
    font-size: 0.78rem;
}

.mud-data-grid .mud-table-cell .column-header {
    //color: var(--mud-palette-primary);
}

.mud-table-root .mud-table-head .mud-table-cell {
    border-bottom-color: var(--mud-palette-primary);
}

.promotion-test-item .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.promotion-test-item .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.promotion-test-item .mud-input-label {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promotion-test-item .mud-input-label {
    max-width: calc(100% - 15px);
}

/* Select Dialog */
.mud-dialog-title {
    background: rgba(0,0,0,0.04);
}

    .mud-dialog-title h6 {
        font-weight: 300;
    }

.select-item {
    width: 100%;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    box-shadow: 0 -1px rgba(0,0,0,0.04) inset;
    font-weight: 500;
    font-size: 12px;
}

.select-item-label {
    padding: 0 10px;
    width: 100%;
}

.select-item:hover {
    background: rgba(0,0,0,0.02);
    cursor: pointer;
}

.select-item.selected {
    color: var(--mud-palette-primary);
    box-shadow: 0 -1px var(--mud-palette-primary) inset;
}

    .select-item.selected .expander {
        color: var(--mud-palette-primary);
    }

.select-item.operator {
    width: calc(100% / 3);
    padding: 15px;
    text-align: center;
    border-right: 1px dotted rgba(0,0,0,0.06);
    line-height: normal;
    //height: auto;
    float: left;
    box-shadow: none;
    height: 120px;
}

.select-item.expanded {
    height: auto;
}

.select-item.sub-item {
    margin-left: 25px;
    box-shadow: 1px 0 rgba(0,0,0,0.06) inset, 0 1px rgba(0,0,0,0.06) inset;
}

    .select-item.sub-item .select-item-label {
        padding-left: 10px;
    }

/*.operator-sign {
    height: 40px;
    font-size: 38px;
    margin-bottom: 15px;
}*/

.search-input-wrap {
    width: 100%;
}

.clear-filter {
    position: absolute;
    right: 10px;
    top: 12px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

    .clear-filter:hover {
        cursor: pointer;
        background: rgba(0,0,0,0.04);
        border-radius: 50%;
        color: var(--color-error);
    }

.expander {
    float: right;
    margin-top: 5px;
    margin-right: 10px;
    height: 24px;
}

    .expander .rotated {
        transform: rotate(90deg);
    }

.condition-chk-box .mud-checkbox {
    height: 30px;
}

.dialog-item {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 10px 15px !important;
}

/*.dialog-selected-item {
    color: var(--mud-palette-primary);
}*/

.dialog-item .mud-chip {
    cursor: pointer;
}

/* Custom Data */
.custom-data-side-panel {
    box-shadow: -1px 0 var(--mud-palette-primary) inset;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 0 0 0 !important;
    background: rgba(0,0,0,0.06);
}

.custom-data-content {
    flex-basis: calc(83.333333% - 2px) !important;
}

.custom-data-phase-btn {
    width: 90%;
    text-align: left !important;
    font-size: var(--font-size-base);
    padding: 0;
    //margin-top: 5px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    float: right;
    margin-right: 4px;
}

    .custom-data-phase-btn .mud-button-label {
        display: block;
        text-align: center;
    }

    .custom-data-phase-btn div {
        width: 100%;
        height: 60px;
        line-height: 60px;
        background: transparent;
        color: rgba(0,0,0,0.6);
    }

        .custom-data-phase-btn div.selected-phase {
            background: #fff;
            color: var(--mud-palette-primary);
            border: 1px solid var(--mud-palette-primary);
            border-width: 1px 0 1px 1px;
        }

.collection-fields-wrap {
    margin-bottom: 10px;
    border: 1px dashed rgba(0,0,0,0.2);
    padding: 15px;
}

    .collection-fields-wrap h3 {
        font-weight: 500;
        color: var(--mud-palette-primary);
    }

    .collection-fields-wrap .simple-remove,
    .collection-fields-wrap .simple-confirm {
        margin-top: 8px;
        float: left;
        margin-right: 4px;
    }

.custom-data-action-btn {
    float: right;
    min-width: 100px;
}

.grid-fix-width {
    width: calc(100% + 24px);
}

.data-form {
    width: 100%;
}

/* Test */

.test-panel {
    //box-shadow: 1px 0 rgba(0,0,0,0.2) inset;
    //height: calc(100vh - 64px);
    //margin-top: 4px;
    //overflow-y: auto;
    padding: 15px 25px !important;
    //left 60
}

    /*.test-panel.result {
        border-top: 1px dashed rgba(0, 0, 0, 0.2);
        margin-top: 25px;
        padding-top: 40px !important;
    }*/

.selected-test {
    color: var(--mud-palette-primary);
    font-weight: bold;
}

.accordion-header-custom {
    cursor: pointer;
    padding: 25px !important;
}

.accordion-body-custom {
    padding: 4px 25px !important;
}

.custom-field-block {
    background: #fff;
    padding: 0 0 25px 0;
    //border-bottom: 1px dashed var(--mud-palette-primary);
    border: 1px solid var(--mud-palette-primary);
    max-height: 100vh;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    overflow: hidden;
}

    .custom-field-block.custom-field-block-collapsed {
        max-height: 70px;
        overflow: hidden;
    }

    .custom-field-block .collapse-item {
        margin-top: -10px;
    }

    .custom-field-block.last {
        //border-bottom: 0;
        padding-bottom: 15px;
    }

    .custom-field-block h3 {
        font-weight: 300;
        color: var(--mud-palette-primary);
        font-size: var(--font-size-base);
        margin-bottom: 15px;
    }

        .custom-field-block .mud-input.mud-input-underline:before {
            border-bottom: 0;
        }

.promotion-test-item,
.promotion-test-item-collapsed {
    padding: 20px !important;
    border: 1px dashed rgba(0,0,0,0.2);
    //background: #f9f9f9;
    margin-bottom: 5px;
    max-height: 100vh;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.promotion-test-item .mud-input-label {
    //background: #f9f9f9;
}

.promotion-test-item-collapsed {
    max-height: 85px;
    overflow: hidden;
}

    .promotion-test-item-collapsed .separator {
        //opacity: 0;
        display: none;
    }

.promotion-test-item .test-item-fields {
    padding: 6px 20px;
    background: #F7F7F7;
}

    .promotion-test-item .test-item-fields .mud-input-label {
        background: #F7F7F7;
    }

    .promotion-test-item-collapsed .test-item-fields,
    .promotion-test-item-collapsed .test-expected-item-result {
        display: none;
    }

.collapse-item {
    background: transparent !important;
    border: 0;
    //1px solid rgba(0,0,0,0.6);
    color: rgba(0,0,0,0.6);
    box-shadow: none !important;
    float: right;
}

    .collapse-item:hover {
        background: rgba(0,0,0,0.06) !important;
    }

.custom-field-block .promotion-test-item .collapse-item {
    margin-top: 3px;
}

.execute-btn {
    //position: absolute;
    //left: 50%;
    //transform: translateX(-50%);
    width: 100px;
    height: 100px;
    line-height: 123px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #00C853;
    font-size: 38px;
    text-align: center;
    //padding-top: 24px;
    //margin-top: 35px;
    //bottom: 100px;
    margin: 30px auto 0 auto;
}

    .execute-btn:hover {
        cursor: pointer;
        background: #efefef;
    }

    .execute-btn img {
        padding-left: 4px;
    }

/*.test-result-item-header {
    font-weight: 700;
    margin-top: 10px;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    font-size: 14px;
}*/

    .test-result-item-header .mud-grid-item,
    .test-result-item-row .mud-grid-item,
    .test-totals .mud-grid-item {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.test-result-item-row {
    //height: 40px;
    //line-height: 40px;
    //padding: 12px 0 !important;
}



/*.test-result-total div {
    text-align: right;
    height: 30px;
    line-height: 30px;
    padding: 0 !important;
}*/

.remove-test-item {
    position: relative;
    width: 100%;
    text-align: center;
}

.item-action-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.simple-remove.test-simple-copy,
.simple-remove.test-simple-remove {
    float: none;
    margin: 0 5px;
    vertical-align: middle;
}

.custom-field-block .mud-input.mud-disabled {
    color: var(--mud-palette-text-primary);
}

/* Responsive */
.main-trigger-container {
    width: 50% !important;
    max-width: 50%;
    flex-grow: unset;
    flex-basis: 50%;
}

.main-trigger-container-alt {
    padding: 0 12px !important;
}

.separator {
    width: 100%;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    padding-top: 8px;
    margin-bottom: 8px;
}

@media only screen and (max-width: 2200px) {
    .simple-remove.test-simple-copy {
        //right: -30px;
    }

    .simple-remove.test-simple-remove {
        //right: -70px;
    }
}

@media only screen and (max-width: 2000px) {
    .main-trigger-container {
        width: 60% !important;
        max-width: 60%;
        flex-grow: unset;
        flex-basis: 60%;
    }
}

@media only screen and (max-width: 1800px) {
    .main-trigger-container {
        width: 80% !important;
        max-width: 80%;
        flex-grow: unset;
        flex-basis: 80%;
    }
}

@media only screen and (max-width: 1600px) {
    .main-trigger-container {
        width: 100% !important;
        max-width: 100%;
        flex-grow: unset;
        flex-basis: 100%;
    }

    .wizard-progress {
        top: 125px;
    }

    .mud-carousel-item {
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100vh - 190px);
    }

    .custom-carousel {
        margin-top: 50px !important;
    }

    .condition-choice {
        width: calc((100% - 180px) / 3);
    }

        .condition-choice.condition-choice-shorter {
            width: calc((100% - 180px) / 4);
        }

        .condition-choice.triple-field {
            width: calc((100% - 180px) / 3);
        }

    .simple-remove,
    .simple-confirm {
        margin-right: 0;
    }
}

/* New Edit */

.promotion-info {
    box-shadow: -1px 0 rgba(0,0,0,0.2) inset;
    height: calc(100vh - 65px);
    padding: 30px !important;
}

/*.promotion-toolbar {
    box-shadow: 0 -1px rgba(0,0,0,0.2) inset;
    background: #fff;
}*/

.promotion-body .mud-tabs-toolbar-content {
    //background: rgba(0,0,0,0.06);
}

.promotion-body .mud-tab {
    text-transform: none;
}

    .promotion-body .mud-tab.mud-tab-active {
        //background: #fff;
    }

.promotion-body .mud-tabs-panels {
    padding-inline: 0 !important;
}

.promotion-body .calculation-toolbar {
    /*margin-top: -25px;
    //margin-bottom: 15px;
    //border-bottom: 1px dashed rgba(0,0,0,0.2);
    justify-content: center;
    //border: 1px solid var(--mud-palette-primary);
    //width: 300px;
    position: relative;
    margin: -15px auto 0 auto;
    border-radius: 30px;
    text-align: center;
    height: 55px;*/
}

.promotion-body .carousel-panel-title {
    /*font-size: 22px;
    margin: 0 10px 0 25px;
    color: var(--mud-palette-primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);*/
}

    .promotion-body .carousel-panel-title span {
        /*display: inline-block;
        padding: 4px 0;
        text-align: center;
        width: 150px;
        color: rgba(0,0,0,0.6);
        border-radius: 25px;*/
    }

        .promotion-body .carousel-panel-title span:hover {
            /*cursor: pointer;
            background: rgba(0,0,0,0.06);*/
        }

        .promotion-body .carousel-panel-title span.active {
            /*border: 1px solid var(--mud-palette-primary);
            color: var(--mud-palette-primary);*/
        }

/* Data Lists */

.data-list-dialog {
    overflow: hidden;
    padding-bottom: 52px;
}

    .data-list-dialog .outline-none {
        height: calc(100% - 115px);
        overflow-y: auto;
    }

    .grid-section {
        border-top: 1px dashed rgba(0,0,0,0.2);
        margin-top: 15px;
        padding-top: 15px;
        height: calc(100% - 200px);
    }

.data-list-dialog .mud-dialog-actions {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 52px;
    background: #fff;
    z-index: 10;
    box-shadow: 0 1px rgba(0,0,0,0.2) inset;
}

.flag-icon {
    position: relative;
    top: 1px;
}

/* 404 */

.error-page {
    background: var(--mud-palette-primary);
    color: #fff;
    border-radius: 0;
    position: relative;
    margin-top: -4px;
}

.error-page-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40%;
}

    .error-page-content h1 {
        font-size: 200px;
        opacity: 0.6;
        //margin-bottom: 40px;
        text-align: center;
        line-height: normal;
    }

    .error-page-content p {
        font-size: 18px;
    }

        .error-page-content p.error-lead-text {
            font-size: 24px;
            margin-bottom: 30px;
            text-align: center;
        }

.error-page-content-icon {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.6;
    z-index: -1;
    display: none;
}

    .error-page-content-icon svg {
        color: #fff;
        font-size: 380px;
    }

.error-page-content span {
    text-decoration: underline;
}

    .error-page-content span:hover {
        cursor: pointer;
        opacity: 0.8;
    }

.error-solutions {
    padding: 30px;
    border: 1px dashed #fff;
}

.error-page-content ul {
    padding-left: 30px;
    list-style: circle;
    margin-block: 10px;
    font-size: 18px;
}

/* Responsive */
.main-trigger-container {
    width: 50% !important;
    max-width: 50%;
    flex-grow: unset;
    flex-basis: 50%;
}

.separator {
    width: 100%;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    padding-top: 8px;
    margin-bottom: 8px;
}

@media only screen and (max-width: 2200px) {
    /*.simple-remove.test-simple-copy {
        right: -30px;
    }

    .simple-remove.test-simple-remove {
        right: -70px;
    }*/
}

@media only screen and (max-width: 2000px) {
    .main-trigger-container {
        width: 60% !important;
        max-width: 60%;
        flex-grow: unset;
        flex-basis: 60%;
    }

    .error-page-content {
        top: 30%;
    }
}

@media only screen and (max-width: 1800px) {
    .main-trigger-container {
        width: 80% !important;
        max-width: 80%;
        flex-grow: unset;
        flex-basis: 80%;
    }

    .error-page-content {
        width: 60%;
    }
}

@media only screen and (max-width: 1600px) {
    .main-trigger-container {
        width: 100% !important;
        max-width: 100%;
        flex-grow: unset;
        flex-basis: 100%;
    }

    .wizard-progress {
        top: 125px;
    }

    .mud-carousel-item {
        overflow-y: auto;
        overflow-x: hidden;
        //height: calc(100vh - 190px);
        height: calc(100vh - 290px);
    }

    .custom-carousel {
        margin-top: 50px !important;
    }

    .condition-choice {
        width: calc((100% - 180px) / 3);
    }

        .condition-choice.condition-choice-shorter {
            width: calc((100% - 180px) / 4);
        }

    .simple-remove,
    .simple-confirm {
        margin-right: 0;
    }

    .error-page-content {
        top: 40%;
        width: 80%;
    }
}

