/* Icons */

@font-face {
    font-family: 'uc-ico';
    src: url('/App_Plugins/UmbracoCommerce/backoffice/assets/fonts/umbraco-commerce.woff2') format('woff2'), 
        url('/App_Plugins/UmbracoCommerce/backoffice/assets/fonts/umbraco-commerce.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

[class*=" icon-uc-"],
[class^=icon-uc-] {
    font-family: 'uc-ico';
}

.icon-uc-discount:before {
    content: "\e900";
}

/*.icon-uc-gift-card-1:before {
    content: "\e901";
}*/

.icon-uc-gift-card:before {
    content: "\e902";
}

.umbraco-commerce .icon--overlay {
    color: #2e8aea;
    width: 20px;
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    font-size: 12px;
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: white;
    border-radius: 50%;
}

.uc-progress-bar {
    background-color: #e9e9eb;
    display: block;
    border-radius: 100px;
    height: 2px;
}

.uc-progress-bar__bar {
    background-color: #4caf50;
    display: block;
    border-radius: 100px;
    height: 2px;
}

.umbraco-commerce .btn-refresh {
    float: right;
    font-size: 20px;
    color: #ccc;
    padding: 10px;
}

.umbraco-commerce .btn-refresh:hover {
    color: #333;
}

.umbraco-commerce .btn-filter {
    background: 0 0;
    box-sizing: border-box;
    border: 1px solid #bbbabf;
    color: #1b264f;
    cursor: pointer;
    height: 30px;
    width: 30px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.umbraco-commerce .btn-filter:hover,
.umbraco-commerce .btn-filter:focus {
    border-color: #2152a3;
    color: #2152a3;
}

.umbraco-commerce .btn-filter--has-filter {
    background: #1B264E;
    color: white;
    border-color: #1b264f;
}

.umbraco-commerce .btn-filter--has-filter:hover,
.umbraco-commerce .btn-filter--has-filter:focus {
    border-color: #2152a3;
    background-color: #2152a3;
    color: white;
}

.uc-badge {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

/* Overrides */
/*.umb-property[data-element="property-variants"] {
    display: none !important;
}*/

[data-element="group-uc_variants"],
[data-element="tab-uc_variants"],
[data-element="tab-content-uc_variants"],
[href="#group-22514418"] {
    display: none !important;
}

.umbraco-commerce .umb-table-cell > span {
    display: block;
    width: 100%;
}

.umbraco-commerce .umb-table-cell > span > .umb-table-cell__value {
    display: inline-block;
    max-width: 100%;
}

.umb-tree-item.unselectable > .umb-tree-item__inner {
    background-color: transparent !important;
}

/*.umbraco-commerce .umb-editor-sub-header {
    background-color: #f6f4f4;
}

.umbraco-commerce .umb-editor-sub-header.--state-selection {
    background-color: #f5c1bc;
}*/

.umbraco-commerce.umb-dialog .confirm .umb-pane {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
}

.umbraco-commerce .control-group--sub-group {
    margin-top: -25px;
    background-color: white;
}

.umbraco-commerce .control-group--sub-group .control-label span {
    position: relative;
    padding-left: 22px !important;
}

.umbraco-commerce .control-group--sub-group .control-label span:before {
    content: "\2014";
    margin-left: 2px;
    position: absolute;
    left: 0;
    opacity: .1;
}

.umbraco-commerce .umb-box-content > *:last-child, 
.umbraco-commerce .history .history-item:last-child {
    margin-bottom: 0;
}

.umbraco-commerce .history .history-line {
    margin-top: 20px;
    height: calc(100% - 40px);
}

.umbraco-commerce .history .history-line--s {
    margin-left: 19px;
}

.umbraco-commerce.umb-dashboard-grid {
    font-family: 'Open Sans', sans-serif;
}

.umbraco-commerce.umb-dashboard-grid .title {
    font-size: 30px;
    color: #363636;
    line-height: 1.3em;
    text-align: center;
    max-width: 750px;
    font-weight: bold;
    margin: 10px auto;
}

.umbraco-commerce.umb-dashboard-grid .intro-text {
    font-size: 18px;
    color: #666666;
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6em;
}

div [ng-controller*=MemberGroupPickerController] .umb-box-content > .umb-tree {
    padding-bottom: 0;
}

.umbraco-commerce .umb-actions-child .umb-action-link {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box;
}

.umbraco-commerce .block-form .controls {
    margin-left: 0;
    padding-top: 0;
}

.umb-property-actions__right {
    position: relative;
    display: inline-block;
}

.umb-property-actions__right .umb-property-actions__menu,
.umb-property-actions__right .umb-property-actions__menu-open-toggle {
    right: 0;
}

.umb-table-body .uc-table-cell--actions,
.umb-table-body .uc-table-cell--actions > span {
    overflow: visible;
}

.uc-table-cell--actions {
    flex: 0 0 25px;
}

/* Layouts */
.uc-layout,
.uc-layout {
    display: flex;
    flex-direction: column;
}

.uc-layout .uc-layout__right {
    margin-top: 20px;
}

.uc-layout.uc-layout--reverse .uc-layout__right {
    margin-top: 0;
    margin-bottom: 20px;
}

.uc-layout__left > *:last-child,
.uc-layout__right > *:last-child {
    margin-bottom: 0 !important;
}

@media screen and (min-width: 1350px) {
    .uc-layout {
        flex-direction: row;
    }

    .uc-layout.uc-layout--reverse {
        flex-direction: row-reverse;
    }

    .uc-layout--layout1 .uc-layout__left {
        flex: 1 1 auto;
        margin-right: 20px;
        width: calc(100% - 370px);
    }

    .uc-layout--layout1 .uc-layout__right {
        flex: 0 0 350px;
        margin-top: 0;
        align-self: start;
    }

    .uc-layout--layout2 .uc-layout__left {
        flex: 1 1 auto;
        margin-right: 20px;
        width: 50%;
    }

    .uc-layout--layout2 .uc-layout__right {
        flex: 1 1 auto;
        margin-top: 0;
        width: 50%;
    }
}

/* Inputs */
.uc-input {
    display: flex;
    height: 32px;
    line-height: 32px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #303033;
    border-radius: 0;
    vertical-align: middle;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #d8d7d9;
    transition: border .2s linear,box-shadow .2s linear;
    width: 100%;
}

@media screen and (min-width: 800px) {
    .uc-input {
        width: 10%;
        min-width: 66.66%;
    }
}

.uc-input:last-child {
    margin-bottom: 0;
}

.uc-input > span {
    flex: 0;
    padding: 0 5px;
    font-size: 13px;
    color: #68676b;
}

.uc-input > input {
    flex: 1;
    padding: 4px 6px;
    line-height: 20px;
    border: 0;
    height: 30px;
    background-color: transparent;
    width: auto;
    min-width: 0;
}

.uc-input > .uc-input--prefix {
    padding-left: 10px;
}

.uc-input > .uc-input--postfix,
.uc-input > .uc-input--suffix {
    padding-right: 10px;
}

.uc-input > .uc-input--action {
    width: 32px;
    text-align: center;
    cursor: pointer;
}

.uc-input > .uc-input--action:hover,
.uc-input > .uc-input--action:focus {
    color: #2152a3;
    text-decoration: none;
}

.uc-input > .uc-input--action:first-child {
    border-right: 1px solid #d8d7d9;
}

.uc-input > .uc-input--action:last-child {
    border-left: 1px solid #d8d7d9;
}

.uc-input > .uc-input--action .icon {
    font-size: 20px;
    vertical-align: middle;
}

.uc-input--right > input {
    text-align: right;
}

.uc-input--short {
    min-width: 33.33%;
}

.uc--narrow-view .uc-input--short {
    width: 100%;
}

.uc-input--shorter {
    min-width: 20%;
}

.uc--narrow-view .uc-input--shorter {
    width: 100%;
}

.uc-input--wide {
    min-width: 100%;
}

.uc-btn--clear.uc-btn--clear {
    margin-left: -2px;
    border: 1px solid #d8d7d9;
    padding: 4px 10px;
}

.uc-btn--clear > .icon {
    line-height: 20px;
}

.uc-btn--table-action {
    background: transparent;
    padding-left: 8px;
    padding-right: 8px;
}

.uc-inline-button {
    border: 0;
    padding: 0;
    background-color: transparent;
}

/* Vertical Forms */
.umbraco-commerce .form-vertical .umb-control-group .control-label, 
.umbraco-commerce .form-vertical .umb-control-group label.control-label {
    display: block;
    padding-bottom: 5px;
}

.umbraco-commerce .form-vertical .umb-control-group .controls-row {
    margin-left: 0;
}

/* Horizontal Form */
/* 
    In Umbraco 8.7 .umb-property becames wrapping in a umb-property tag which
    broke all the 'last-of-type' rules because they were all now last of type.
    To make work, we now use a not rule to make sure that the .umb-property is
    not wrapped in a umb-property tag, thus maintaining backwards compat.
    Thankfully it appears things look ok in 8.7 without these rules so I don't
    think we need any special alternatives.
*/
.umbraco-commerce .form-horizontal *:not([property="setting"]) > .umb-property:last-of-type .control-group *:not([property="setting"]) > .umb-property:not(:last-of-type) .control-group {
    margin-bottom: 20px !important;
}

.umbraco-commerce *:not([property="setting"]) > .umb-property:last-of-type .umb-control-group *:not([property="setting"]) > .umb-property .umb-control-group {
    border-bottom: 1px solid #f6f6f7;
    padding-bottom: 20px;
}

.umbraco-commerce *:not([property="setting"]) > .umb-property:last-of-type .umb-control-group,
.umbraco-commerce *:not([property="setting"]) > .umb-property:last-of-type .umb-control-group *:not([property="setting"]) > .umb-property:last-of-type .umb-control-group {
    border: none;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.umbraco-commerce *:not([property="setting"]) > .umb-property:last-of-type .umb-control-group:after {
    margin-top: 0;
    background-color: transparent;
}

/* Action List */
.uc-action-list {
    background-color: white;
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 0 15px;
    border-radius: 5px;
    border: solid 1px #ddd;
}

.uc-action-list > li {
    display: block;
    padding: 0;
    margin: 0;
    border-bottom: solid 1px #ddd;
}

.uc-action-list > li:nth-last-child(2) {
    border-bottom: 0;
}

.uc-action-list > li:last-child {
    border-bottom: 0;
    display: none;
}

.uc-action-list > li:last-child:only-child {
    display: block;
}

.uc-action-list a,
.uc-action-list > li > span {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    padding: 12px 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.uc-action-list a span,
.uc-action-list > li > span span {
    padding-right: 20px;
}

.uc-action-list a:after {
    content: "\203A";
    display: flex;
    position: absolute;
    align-items: center;
    top: 15px;
    right: 15px;
    bottom: 15px;
    font-size: 30px;
    line-height: 1;
    color: #ddd;
}

.uc-action-list a:focus,
.uc-action-list a:hover {
    background-color: #f9f7f5;
}

.uc-action-list > li:first-child a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.uc-action-list > li:last-child a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.uc-action-list__icon {
    color: #3544b1;
    width: 20px;
    height: 20px;
    font-size: 20px;
    margin-right: 15px;
    vertical-align: middle;
}


.uc-activity-list__pill {
    display: inline-block;
    font-size: 12px;
    line-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-weight: 700;
    box-sizing: border-box;
    background-color: #e2e2e2;
}

.uc-activity-list {
    position: relative;
    margin: 0;
}

.uc-activity-list td {
    position: relative;
    padding-bottom: 15px;
}

.uc-activity-list td:first-child {
    text-align: right;
    padding-right: 20px
}

.uc-activity-list tr:last-child td {
    padding-bottom: 0;
}

/* Toggle */
.uc-toggle--indented {
    margin-left: 40px;
}

.uc-toggle.uc-toggle--center {
    display: block;
}

.uc-toggle.uc-toggle--center > .umb-toggle {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.uc-toggle {
    display: flex;
    border-bottom: 1px solid #e9e9eb;
    padding: 7px 0;
}

.uc-toggle:last-of-type {
    border-bottom: none;
}

.uc-toggle .umb-toggle {
    padding: 2px 20px 2px 0;
    cursor: pointer;
}

.uc-toggle__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    cursor: pointer;
}

.uc-toggle__description {
    font-size: 13px;
    color: #68676b;
}

.uc-toggle__action {
    padding-left: 20px;
    align-self: center;
    margin-top: -2px;
    margin-bottom: -2px;
}

.uc-toggle__action-btn {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 32px;
}

.uc-toggle-list {
    position: relative;
}


/* Overrides */
.umbraco-commerce .umb-box {
    margin-bottom: 20px;
}

.icon-indicator{
    position: relative;
}

.icon-indicator:after {
    content: "";
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: black;
    right: -2px;
    bottom: 0;
}

.icon-indicator--success:after {
    background-color: #39d38b;
}
.icon-indicator--error:after {
    background-color: #d42054;
}

a.no-underline,
a.no-underline:hover,
a.no-underline:focus {
    text-decoration: none;
}

.umb-dialog-footer .confirm .umb-pane {
    margin: 0 !important;
}
.umb-dialog-footer .confirm .control-group {
    margin: 0 !important;
}

/* Autocomplete */
.uc-auto-complete-item-selected,
.uc-auto-complete-item-selected:hover,
.uc-auto-complete-item-selected:focus {
    background: #f5c1bc;
    color: #1b264f;
}

/* Box Header Label */
.uc-box-header-label {
    display: flex;
    align-items: center;
    color: #a2a1a6;
    cursor: pointer !important;
    margin-bottom: 0;
}

.uc-box-header-label .umb-toggle {
    margin-left: 10px;
}

/* Tables */
.uc-table-cell strong {
    color: #000;
}

.uc-table-cell--center {
    text-align: center;
    justify-content: center;
}

.uc-table-cell--right {
    text-align: right;
    justify-content: flex-end;
}

.uc-table-cell-value--multiline {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
}

.uc-table-cell-label {
    font-weight: normal;
    color: #817f85;
}

.uc-table--keyvalue.uc-table--keyvalue {
    border: 0;
}
.uc-table--keyvalue.uc-table--keyvalue th {
    padding-right: 10px;
}
.uc-table--keyvalue.uc-table--keyvalue th:after {
    content: ":";
}

.uc-table-cell span[data-placeholder]:empty:after {
    content: attr(data-placeholder);
    color: #ddd;
}

.uc-table-cell a:hover span[data-placeholder]:empty:after {
    color: #aaa;
}

/* Color Swatches */
.uc-color-swatch {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.15);
}

/* BG Colors */
.uc-bg--grey,
.uc-badge--initialized,
.uc-badge--canceled,
.uc-badge--cancelled,
.uc-badge--inconsistentcanceled,
.uc-header--payment-status-initialized .umb-panel-header-name:after,
.uc-header--payment-status-canceled .umb-panel-header-name:after,
.uc-header--payment-status-cancelled .umb-panel-header-name:after,
.uc-header--payment-status-inconsistentcanceled .umb-panel-header-name:after,
.uc-header--order-status-grey .umb-panel-header-name:before {
    color: #68676b;
    background-color: #d8d7d9;
}

.uc-bg--dark-grey {
    color: white;
    background-color: #667684;
}

.uc-bg--red,
.uc-badge--inconsistentcaptured,
.uc-badge--error,
.uc-header--payment-status-inconsistentcaptured .umb-panel-header-name:after,
.uc-header--payment-status-error .umb-panel-header-name:after,
.uc-header--order-status-red .umb-panel-header-name:before {
    color: white;
    background-color: #d42054;
}
.uc-bg--orange,
.uc-badge--refunded,
.uc-header--payment-status-refunded .umb-panel-header-name:after,
.uc-header--order-status-orange .umb-panel-header-name:before {
    color: white;
    background-color: #ff9800;
}
.uc-bg--deep-orange,
.uc-header--order-status-deep-orange .umb-panel-header-name:before {
    color: white;
    background-color: #ff5722;
}
.uc-bg--yellow,
.uc-header--order-status-yellow .umb-panel-header-name:before {
    color: #655b12;
    background-color: #ffeb3b;
}
.uc-bg--amber,
.uc-header--order-status-amber .umb-panel-header-name:before {
    color: #544c0f;
    background-color: #ffc107;
}
.uc-bg--green,
.uc-badge--captured,
.uc-header--payment-status-captured .umb-panel-header-name:after,
.uc-header--order-status-green .umb-panel-header-name:before {
    color: white;
    background-color: #4caf50; /* #2bc37c; */
}
.uc-bg--light-green,
.uc-header--order-status-light-green .umb-panel-header-name:before {
    color: white;
    background-color: #8bc34a;
}
.uc-bg--lime,
.uc-header--order-status-lime .umb-panel-header-name:before {
    color: white;
    background-color: #cddc39;
}
.uc-bg--blue,
.uc-header--order-status-blue .umb-panel-header-name:before {
    color: white;
    background-color: #2196f3;
}
.uc-bg--light-blue,
.uc-badge--authorized,
.uc-badge--inconsistentauthorized,
.uc-header--payment-status-authorized .umb-panel-header-name:after,
.uc-header--payment-status-inconsistentauthorized .umb-panel-header-name:after,
.uc-header--order-status-light-blue .umb-panel-header-name:before {
    color: white;
    background-color: #03a9f4;
}
.uc-bg--indigo,
.uc-header--order-status-indigo .umb-panel-header-name:before {
    color: white;
    background-color: #3f51b5
}
.uc-bg--pink,
.uc-header--order-status-pink .umb-panel-header-name:before {
    color: white;
    background-color: #e91e63;
}
.uc-bg--purple,
.uc-header--order-status-purple .umb-panel-header-name:before {
    color: white;
    background-color: #9c27b0;
}
.uc-bg--deep-purple,
.uc-badge--pendingexternalsystem,
.uc-header--payment-status-pendingexternalsystem .umb-panel-header-name:after,
.uc-header--order-status-deep-purble .umb-panel-header-name:before {
    color: white;
    background-color: #673ab7;
}
.uc-bg--cyan,
.uc-header--order-status-cyan .umb-panel-header-name:before {
    color: white;
    background-color: #00bcd4;
}
.uc-bg--brown,
.uc-header--order-status-brown .umb-panel-header-name:before {
    color: white;
    background-color: #795548;
}

/* Header */
.uc-header--order .umb-panel-header-name {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin: 0;
    line-height: 20px;
}

.uc-header--order .umb-panel-header-locked-description {
    color: #817f85;
    font-size: 12px;
    line-height: 12px;
    height: auto;
    margin: 6px 0 0;
}

.uc-header--order-status .umb-panel-header-name:before,
.uc-header--payment-status .umb-panel-header-name:after {
    font-size: 13px;
    font-weight: normal;
    padding: 1px 10px;
    display: inline-block;
    border-radius: 100px;
    margin-left: 10px;
    vertical-align: bottom;
}
.uc-header--order-status .umb-panel-header-name:before {
    order: 5;
}
.uc-header--payment-status .umb-panel-header-name:after {
    margin-left: 5px;
    order: 10;
}

/* Order Table 2 */
.uc-order-table2 {
    width: 100%;
    border-collapse: separate;
}

.uc-order-table2 td {
    border: solid white 0;
}

.uc-order-table2 tr:first-child > td {
    border-top-width: 10px;
}

.uc-order-table2 tfoot > tr:last-child > td {
    border-bottom-width: 10px;
    border-bottom-color: transparent;
}

.uc-order-table2 tr > td:first-child {
    border-left-width: 10px;
}

.uc-order-table2 tr > td:last-child {
    border-right-width: 10px;
}

.uc-order-table2 tbody tr
{
    position: relative;
}

.uc-order-table2 tbody tr:after
{
    content: "";
    height: 1px;
    width: calc(100% - 40px);
    border-bottom: solid #f3f3f5 1px;
    position: absolute;
    left: 20px;
    bottom: 0;
}

.uc-order-table2 td
{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.uc-order-table2 tbody td
{
    padding-top: 10px;
}

.uc-order-table2 tfoot tr:first-child td
{
    padding-top: 10px;
}

.uc-order-table2 .uc-order-table2__line-item--bundle {
    font-size: 14px;
    color: #777;
}

.uc-order-table2 .uc-order-table2__line-item--bundle td {
    background-color: #f6f4f4;
    border-color: #f6f4f4;
}

.uc-order-table2 .uc-order-table2__line-item--bundle:after {
    border-color: white;
}

.uc-order-table2 .divide {
    position: relative;
}

.uc-order-table2 .divide td {
    padding-top: 30px;
}

.uc-order-table2 .divide:after {
    content: "";
    height: 1px;
    position: absolute;
    width: 35%;
    top: 10px;
    right: 20px;
    border-top: solid #f3f3f5 1px;
}

/* Order Table */
.uc-order-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.uc-order-table__line-item,
.uc-order-table__subtotal,
.uc-order-table__total {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.uc-order-table__line-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f3f5;
}

.uc-order-table__line-item > *,
.uc-order-table__subtotal > *,
.uc-order-table__total > * {
    width: 20%;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-order-table__line-item > *:first-child,
.uc-order-table__subtotal > *:first-child,
.uc-order-table__total > *:first-child {
    flex: 1 0 auto;
    width: 60%;
    text-align: left;
    white-space: normal;
}

.uc-order-table__subtotal > *:first-child,
.uc-order-table__total > *:first-child {
    text-align: right;
}

.uc-order-table__line-item + hr,
.uc-order-table__subtotal + hr,
.uc-order-table__total + hr {
    margin-top: 10px;
}

.uc-order-table__total,
.uc-order-table__line-item > *:last-child{
    font-weight: bold;
}

.uc-order-table__bundle-toggle {
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
    line-height: 20px;
}

.uc-order-table__bundle-toggle:hover {
    color: #9e9e9e;
}

.uc-order-table__bundle {
    background-color: #f3f3f5;
    margin: -20px;
    margin-top: -21px;
    margin-bottom: 20px;
}

.uc-order-table__bundle--inner {
    margin: 0 20px;
    padding-top: 10px;
}

.uc-order-table__bundle--inner > *:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.uc-order-table__bundle .uc-order-table__line-item {
    border: 0;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
    align-items: stretch;
}

.uc-order-table__bundle .uc-order-table__line-item > * {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    justify-content: center;
}

.uc-order-table__bundle .uc-order-table__line-item > *:first-child {
    padding-left: 40px;
    box-sizing: border-box;
}

.uc-order-table__label {
}

.uc-order-table--editable .uc-order-table__line-item > *:first-child,
.uc-order-table--editable .uc-order-table__subtotal > *:first-child,
.uc-order-table--editable .uc-order-table__total > *:first-child {
    width: calc(60% - 35px);
}

.uc-order-table--editable .uc-order-table__line-item,
.uc-order-table--editable .uc-order-table__subtotal,
.uc-order-table--editable .uc-order-table__total {
    padding-right: 35px;
    position: relative;
}

.uc-order-table--editable .uc-order-table__line-item > *:last-child {
    position: absolute;
    right: 0;
    width: 35px;
}

/* License check */
.uc-message {
    position: relative;
    overflow: hidden;
    padding: 10px 20px 10px 50px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.uc-message__heading {
    font-weight: bold;
    position: relative;
}

.uc-message__icon {
    position: absolute;
    left: -30px;
}

.uc-message__icon-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    opacity: .1;
    z-index: 0;
}

.uc-message__body {
    position: relative;
    z-index: 1;
}

.uc-message a {
    text-decoration: underline;
}

.uc-message--warn {
    border: solid 1px #ff9800;
    background-color: #ffeacc;
}

.uc-message--warn .uc-message__icon,
.uc-message--warn .uc-message__icon-watermark {
    color: #ff9800;
}

.uc-message--info {
    border: solid 1px #2196f3;
    background-color: #e9f5fe;
}

.uc-message--info .uc-message__icon,
.uc-message--info .uc-message__icon-watermark {
    color: #2196f3;
}

/* Customer details editor */
.uc--customer-details-editor .umb-control-group {
    padding-bottom: 0;
}

.uc--customer-details-editor .umb-property:last-child .umb-property-editor {
    margin-bottom: 0;
}

/* Advanced toggle */
.uc-advanced-toggle {
    display: block;
    text-align: center;
    position: relative;
    color: #999;
}

.uc-advanced-toggle:hover,
.uc-advanced-toggle:focus {
    text-decoration: none;
    color: black;
}

.uc-advanced-toggle:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    border-bottom: solid 1px #f6f6f7;
    z-index: 0;
}

.uc-advanced-toggle span {
    position: relative;
    background-color: white;
    padding: 0 10px;
    z-index: 5;
}

/* Multi Field Table */
.uc-multi-field-table thead th {
    text-align: left;
    font-size: 14px;
    padding-bottom: 2px;
}

.uc-multi-field-table th,
.uc-multi-field-table td {
    padding-left: 10px;
}

.uc-multi-field-table th:first-child,
.uc-multi-field-table td:first-child {
    padding-left: 0;
}

.uc-multi-field-table tbody tr + tr td {
    padding-top: 10px;
}

.uc-multi-field-table__divide-right {
    border-right: solid 1px #e9e9eb;
    padding-right: 10px;
}

/* Rule / Reward Builder */
.uc-rule-builder,
.uc-reward-builder {
    width: 100%;
    max-width: 800px;
}

.uc-rule-builder__group {
    background-color: #e9e9eb;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.uc-rule-builder__group-header {
    vertical-align: middle;
}

.uc-rule-builder__group-inner {
    background-color: white;
    padding: 8px;
    border: solid 4px #e9e9eb;
    border-top: 0;
}

.uc-rule-builder__group-item,
.uc-reward-builder__item {
    padding-bottom: 8px;
}

.uc-rule-builder > .uc-rule-builder__group-item {
    padding-bottom: 0;
}

.uc-rule-builder__rule,
.uc-reward-builder__reward {
    border: solid 2px #e9e9eb;
    padding: 8px;
    background-color: white;
}

.umbraco-commerce .handle {
    cursor: move;
}

.uc-comma-separate:after {
    content: ", "
}

.uc-comma-separate:last-of-type:after {
    content: ""
}

.uc-or-separate:after {
    content: " or "
}

.uc-or-separate:last-of-type:after {
    content: ""
}

.uc-and-separate:after {
    content: " and "
}

.uc-and-separate:last-of-type:after {
    content: ""
}

.umbraco-commerce .dropdown-menu--analytics select,
.umbraco-commerce .dropdown-menu--analytics input {
    width: 300px;
}

/* Welcome Dashboard */
.umbraco-commerce .store-list {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}

.umbraco-commerce .store {
    border: 0;
    border-radius: 5px;
    color: #333;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16);
    padding: 40px;
    text-align: center;
    transition: background-color 0.25s ease;
}

.umbraco-commerce .store:hover {
    text-decoration: none;
    background-color: #f5c1bc;
    color: #1b264f;
}

.umbraco-commerce .store__icon {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #e2e2e2;
    display: inline-block;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.umbraco-commerce .store:hover .store__icon {
    background-color: #1b264f;
    color: white;
}

.umbraco-commerce .store__heading {
    margin: 20px 0 0;
    line-height: 1;
    text-align: center;
    font-size: 20px;
}

.umbraco-commerce .store__description,
.umbraco-commerce .store__stats {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.umbraco-commerce .store:hover .store__description,
.umbraco-commerce .store:hover .store__stats {
    color: #1b264f;
}

.umbraco-commerce .store__stats {
    margin-top: 20px;
}

/* Store Dashboard */
.uc--store-dashboard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.uc-colcade-grid-col {
    float: left;
    width: 50%;
}

.uc-analytics-widget-grid {
    display: block;
    margin: -10px;
}

.uc-masonry-grid {
    position: relative;
}

.uc-masonry-grid-item {
    position: absolute;
    box-sizing: border-box;
    padding: 10px;
}

    /*
.uc-analytics-widget-grid .uc-colcade-grid-col--2,
.uc-analytics-widget-grid .uc-colcade-grid-col--3 {
    display: none;
}

.uc-analytics-widget-grid .uc-colcade-grid-col {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

@media screen and (min-width: 700px) {
    .uc-analytics-widget-grid .uc-colcade-grid-col--2 {
        display: block;
    }
    .uc-analytics-widget-grid .uc-colcade-grid-col {
        width: 50%;
    }
}

@media screen and (min-width: 1400px) {
    .uc-analytics-widget-grid .uc-colcade-grid-col--3 {
        display: block;
    }

    .uc-analytics-widget-grid .uc-colcade-grid-col {
        width: 33.333%;
    }
}
*/
.uc-search {
    background-color: white;
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;
    border-radius: 5px;
    border: solid 1px #ddd;
    position: relative;
    display: flex;
    align-items: center;
}

.uc-search__icon {
    width: 20px;
    height: 20px;
    font-size: 16px;
    margin-right: 10px;
}

.uc-search__input-wrapper {
    flex: 1 0 0%;
    position: relative;
}

.uc-search__input-wrapper .tt-hint.tt-hint {
    margin-top: 0 !important;
    border-radius: 5px !important;
}

.uc-search__input-wrapper .tt-menu.tt-menu {
    margin-top: -5px;
    width: auto;
    right: 10px;
    left: -35px !important;
}

.uc-search__input-wrapper .twitter-typeahead {
    width: 100%;
}

.uc-search__input.uc-search__input {
    margin: 0;
    width: 100%;
    border: 0;
    height: 44px;
    line-height: 44px;
    background-color: transparent !important;
}

.uc-search__result {
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

.uc-search__result:hover {
    background-color: #2152a3;
    color: white;
}

.uc-search__result > span:first-child {
    font-size: 24px;
    margin-right: 10px;
}

.uc-search__result .uc-search__result__sub-heading {
    color: #9e9e9e;
}

.uc-search__result:hover .uc-search__result__sub-heading,
.uc-search__result.tt-cursor .uc-search__result__sub-heading {
    color: white;
}

/* Checkbox Tree */
.uc-checkbox-tree .icon {
    font-size: 24px;
    min-width: 24px;
    line-height: 24px;
}

.uc-checkbox-tree .uc-checkbox-tree__toggle {
    font-size: 15px;
    margin-right: 5px;
    margin-left: -5px;
    cursor: pointer !important;
    color: black !important;
    opacity: 1 !important;
}

.uc-checkbox-tree .uc-checkbox-tree__item--level-2 .uc-checkbox-tree__link {
    padding-left: 70px;
}

.uc-checkbox-tree .uc-checkbox-tree__label {
    margin-left: 0;
}

.uc-checkbox-tree .uc-checkbox-tree__item--level-1 {
    border-top: solid 1px #f6f4f4;
}
.uc-checkbox-tree .uc-checkbox-tree__item--level-1:first-child {
    border: 0;
}
.uc-checkbox-tree .uc-checkbox-tree__item--level-1 .uc-checkbox-tree__label span {
    font-weight: bold;
}
.uc-checkbox-tree .uc-checkbox-tree__item--level-1 .uc-checkbox-tree__link {
    align-items: start;
    padding-top: 12px;
    padding-bottom: 12px;
}
.uc-checkbox-tree .uc-checkbox-tree__item--level-1.uc-checkbox-tree__item--more .uc-checkbox-tree__label span {
    font-weight: normal;
}

/*.uc-checkbox-tree__item--more {
    margin-bottom: 5px;
}

.uc-checkbox-tree__item--more.uc-checkbox-tree__item--level-2 .uc-checkbox-tree__link  {
    padding-left: 15px;
    margin-left: 60px;
    width: auto;
}

.uc-checkbox-tree__item--more .uc-checkbox-tree__link {
    border: 1px dashed #bbbabf;
    padding: 5px 15px;
}

.uc-checkbox-tree__item--more .uc-checkbox-tree__link:hover {
    background-color: transparent;
    color: #2152a3;
    border-color: #2152a3;
    text-decoration: none;
}

.uc-checkbox-tree__item--more .uc-checkbox-tree__label {
    padding: 0;
    text-align: center;
    font-weight: bold;
    width: 100%;
}*/
.uc-checkbox {
    width: 20px;
    height: 20px;
    border: solid 2px #ccc;
    border-radius: 3px;
    position: relative;
    display: flex;
}

.uc-checkbox--checked .uc-checkbox__state {
    font-family: icomoon;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #2bc37c;
    text-align: center;
    text-decoration: inherit;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.uc-checkbox--checked .uc-checkbox__state::before {
    content: "\e165";
    text-decoration: inherit;
    display: inline-block;
    speak: none;
}

.uc-checkbox--mixed .uc-checkbox__state {
    background-color: #2bc37c;
    width: 12px;
    height: 12px;
    margin: 4px;
    border-radius: 1px;

    /*background-color: #2bc37c;
    width: 12px;
    height: 4px;
    margin: 8px 4px;*/
}

.uc-checkbox-tree__item--disabled * {
    color: black !important;
}

.uc-checkbox-tree__item--disabled .uc-checkbox-tree__link > * {
    opacity: 0.4;
}

.uc-checkbox-tree__item--disabled .uc-checkbox-tree__link {
    cursor: no-drop;
}

.uc-checkbox-tree__item--disabled .uc-checkbox-tree__link:hover {
    background-color: transparent;
}

/* Nested List */
.uc-nested-list,
.uc-nested-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uc-nested-list .uc-nested-list__item {
    display: flex;
    align-items: center;
    background-color: #f6f4f4;
    padding: 8px 15px;
    margin-bottom: 5px;
}

.uc-nested-list .uc-nested-list__item .icon {
    font-size: 18px;
    width: 18px;
}

.uc-nested-list .uc-nested-list__name {
    flex: 1 0 0%;
}

.uc-nested-list .uc-nested-list__icon {
    margin-right: 8px;
}

.uc-nested-list .uc-nested-list__remove {
    cursor: pointer;
}

.uc-nested-list .uc-nested-list__item--level-2 {
    margin-left: 27px;
}

/* Multi-Variants */

*[data-element^="property-uc-variant-attribute-"] .control-group {
    margin-bottom: 0;
}

*[data-element^="property-uc-variant-attribute-"] .control-group::after {
    margin: 0;
    height: 0;
    background-color: transparent;
}

/* Page Size */
.uc-page-size {
    border-radius: 3px;
    width: 70px;
    height: 30px;
    margin: 20px 0 20px 15px;
}

/* Tags Input */
.uc-tags-editor {
    border: 1px solid #d8d7d9;
    padding: 5px;
    font-size: 13px;
    text-shadow: none;
    box-sizing: border-box;
}

.uc-tags-editor .uc-tags-editor__container input {
    border: none;
    background: #fff;
    padding: 0;
    margin: 0;
}

.uc-tags-editor .uc-tags-editor__container > input {
    margin: 5px;
    max-width: calc(100% - 10px);
}

.uc-tags-editor .uc-tags-editor__container > .twitter-typeahead {
    max-width: calc(100% - 10px);
    margin: 5px;
}

.uc-tags-editor .uc-tags-editor__container > .twitter-typeahead > input {
    max-width: 100%;
}

/* Measurements */
.uc-measurements {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 800px;
}

.uc-measurements__icon {
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 30px;
  justify-content: center;
  margin-right: -6px;
  font-size: 20px;
  border: 1px solid #d8d7d9;
}

.uc-measurements__input {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* Shipping Rates */
.uc-shipping-rates-builder {
  border: solid #e9e9eb 2px;
  width: 100%;
  margin: 10px 0;
  font-size: 14px;
}

.uc-shipping-rates-builder thead th {
  background-color: #e9e9eb;
  font-weight: bold;
  padding: 6px 10px;
  text-align: left;
}

.uc-shipping-rates-builder tbody td {
    border-bottom: solid 2px #e9e9eb;
    padding: 10px;
    vertical-align: top;
}

.uc-shipping-rates-builder__range {
  position: relative;
  display: flex;
  gap: 10px;
}

.uc-shipping-rates-builder__range > * {
    flex: 1;
}

.uc-shipping-rates-builder__rates {
  position: relative;
}

.uc-shipping-rates-builder__range--to:after,
.uc-shipping-rates-builder__rates:before {
  content: '';
  position: absolute;
  background-color: #e9e9eb;
  width: 2px;
  height: 100%;
}

.uc-shipping-rates-builder__range--to:after {
    right: -11px;
}

.uc-shipping-rates-builder__rates:before {
  left: -11px;
}

.uc-shipping-rates-builder__actions {
    width: 1px;
    white-space: nowrap;
}

.uc-shipping-rates-builder .handle {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
}

/* Range */
.uc-range {
    display: flex;
    gap: 10px;
}

.uc-range > div {
    flex: 1;
    min-width: 0;
}

.uc-range .uc-input--short,
.uc-range .uc-input {
    min-width: 0;
}

/* Split */
.uc-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.uc-icon--24 {
    vertical-align: middle;
    font-size: 24px;
}

.umbraco-commerce .text-base {
    font-size: 15px;
}

.umbraco-commerce .text-lg {
    font-size: 18px;
    line-height: 1.6em;
}
.umbraco-commerce .text-right {
    text-align: right;
}

.umbraco-commerce .align-top {
    vertical-align: top;
}
.umbraco-commerce .align-middle {
    vertical-align: middle;
}
.umbraco-commerce .align-bottom {
    vertical-align: bottom;
}

.umbraco-commerce .row-spacing-10 {
    border-spacing: 0 10px;
    border-collapse: separate;
    margin-top: -10px;
    margin-bottom: -10px;
}

.umbraco-commerce .-mr-5 {
    margin-right: -5px;
}

.umbraco-commerce .text-xl {
    font-size: 30px;
    line-height: 1.3em;
}

.umbraco-commerce .color-darkgrey {
    color: #363636;
}

.umbraco-commerce .color-midgrey {
    color: #666666;
}

.umbraco-commerce .font-heading {
    font-family: 'Open Sans', sans-serif;
}

.umbraco-commerce .font-light {
    font-weight: 400;
}

.umbraco-commerce .font-bold {
    font-weight: bold;
}

.umbraco-commerce .leading-none {
    line-height: 1;
}

.umbraco-commerce .mb-0.mb-0 {
    margin-bottom: 0;
}

.umbraco-commerce .mt-0.mt-0 {
    margin-top: 0;
}

.umbraco-commerce .m-0.m-0 {
    margin: 0;
}

.umbraco-commerce .mr-5.mr-5 {
    margin-right: 5px;
}

.umbraco-commerce .mr-10.mr-10 {
    margin-right: 10px;
}

.umbraco-commerce .mr-20.mr-20 {
    margin-right: 20px;
}
.umbraco-commerce .mb-20.mb-20 {
    margin-bottom: 20px;
}

.umbraco-commerce .mr-40.mr-40 {
    margin-right: 40px;
}

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

.umbraco-commerce .mt-40.mt-40 {
    margin-top: 40px;
}
.umbraco-commerce .mb-40.mb-40 {
    margin-bottom: 40px;
}

.umbraco-commerce .-mb-10.-mb-10 {
    margin-bottom: -10px;
}

.umbraco-commerce .mt-5.mt-5 {
    margin-top: 5px;
}

.umbraco-commerce .mt-10.mt-10 {
    margin-top: 10px;
}

.umbraco-commerce .mt-15.mt-15 {
    margin-top: 15px;
}

.umbraco-commerce .mb-5.mb-5 {
    margin-bottom: 5px;
}

.umbraco-commerce .mb-10.mb-10 {
    margin-bottom: 10px;
}

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

.umbraco-commerce .-ml-10.-ml-10 {
    margin-left: -10px;
}
.umbraco-commerce .ml-10.ml-10 {
    margin-left: 10px;
}
.umbraco-commerce .mx-10.mx-10 {
    margin-left: 10px;
    margin-right: 10px;
}
.umbraco-commerce .-mx-10.-mx-10 {
  margin-left: -10px;
  margin-right: -10px;
}

.umbraco-commerce .mt-20 {
    margin-top: 20px;
}

.umbraco-commerce .pl-5 {
    padding-left: 5px;
}

.umbraco-commerce .pl-10 {
    padding-left: 10px;
}

.umbraco-commerce .py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.umbraco-commerce .px-0 {
    padding-left: 0;
    padding-right: 0;
}

.umbraco-commerce .pr-0.pr-0 {
  padding-right: 0;
}

.umbraco-commerce .pl-0.pl-0 {
  padding-left: 0;
}

.umbraco-commerce .pr-5.pr-5 {
    padding-right: 5px;
}

.umbraco-commerce .pr-10.pr-10 {
    padding-right: 10px;
}

.umbraco-commerce .py-5.py-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.umbraco-commerce .py-10.py-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.umbraco-commerce .px-5.px-5 {
    padding-left: 5px;
    padding-right: 5px;
}

.umbraco-commerce .px-10.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.umbraco-commerce .p-0.p-0 {
    padding: 0;
}

.umbraco-commerce .p-20.p-20 {
    padding: 20px;
}

.umbraco-commerce .p-40.p-40 {
    padding: 40px;
}

.umbraco-commerce .pb-0.pb-0 {
    padding-bottom: 0;
}

.umbraco-commerce .nowrap {
    white-space: nowrap;
}

.umbraco-commerce .flex {
    display: flex;
}

.umbraco-commerce .flex--column {
    flex-direction: column;
}

.umbraco-commerce .justify-end {
    justify-content: flex-end;
}

.umbraco-commerce .justify-end {
    justify-content: flex-end;
}

.umbraco-commerce .items-end {
    align-items: flex-end;
}

.umbraco-commerce .self-end {
    align-self: flex-end;
}

.umbraco-commerce .items-start {
    align-items: flex-start;
}

.umbraco-commerce .items-baseline {
    align-items: baseline;
}

.umbraco-commerce .flex-1 {
    flex: 1 0 0%;
}

.umbraco-commerce umb-date-time-picker.flex-1 input {
    width: 100%;
}

.umbraco-commerce .text-12 {
    font-size: 12px;
}

.umbraco-commerce .text-16 {
    font-size: 16px;
}

.umbraco-commerce .block {
    display: block;
}

.umbraco-commerce .inline-block {
    display: block;
}

.umbraco-commerce .relative {
    position: relative;
}

.umbraco-commerce .strikethrough {
    text-decoration: line-through;
}

.umbraco-commerce .border-0 {
    border-width: 0;
}

.umbraco-commerce .w-1\/2 {
    width: 50%;
}
.umbraco-commerce .w-1\/3 {
    width: 33.33%;
}
.umbraco-commerce .w-1\/4 {
    width: 25%;
}
.umbraco-commerce .w-1\/5 {
    width: 20%;
}
.umbraco-commerce .w-2\/5 {
    width: 40%;
}
.umbraco-commerce .w-3\/4 {
    width: 75%;
}
.umbraco-commerce .w-full {
    width: 100%;
}

.umbraco-commerce .max-w-none.max-w-none {
    max-width: none;
}

.copy-box {
    position: relative;
}

.copy-box .copy-box__copy {
    float: right;
    display: none;
}

.copy-box:hover .copy-box__copy {
    display: block;
}

.text-light-blue {
    color: #03a9f4 !important;
}

.hover\:text-green:hover {
    color: #2bc37c !important;
}

.hover\:text-light-blue:hover {
    color: #03a9f4 !important;
}

.umbraco-commerce .hidden {
    display: none !important;
}

.umbraco-commerce .only-child\:block:only-child {
    display: block !important;
}
