@charset "UTF-8";
/*!
 * Blackbird Visual Merchandiser Module
 *
 * NOTICE OF LICENSE
 * if you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to support@bird.eu so we can send you a copy immediately.
 *
 * @category  Blackbird
 * @package   Blackbird_VisualMerchandiser
 * @copyright Copyright (c) 2021 Blackbird (https://black.bird.eu)
 * @author    Blackbird Team
 */
.vm-flex-parent.vm-reverse {
    flex-direction: row-reverse;
}

#visualmerchandiser {
    font-family: Arial;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    width: 35vw;
    max-width: 100vw;
    min-width: 25vw;
    overflow: hidden;
    resize: horizontal;
    background: #FFFFFF;
    border-left: 1px #000 solid;
    border-right: 1px #000 solid;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .resize-handle {
        position: absolute;
        top: 0;
        width: 8px;
        height: 100%;
        cursor: ew-resize;
        z-index: 10;
        user-select: none;
    }

    .resize-handle-left {
        left: -4px;
    }

    .resize-handle-right {
        right: -4px;
    }
}


/* Overlay background */
#vm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

/* Modal container */
#vm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: #fff;
    padding: 25px 30px;
    max-width: 480px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    font-family: "Helvetica Neue", Arial, sans-serif;
    animation: fadeIn 0.3s ease-out;


    /* Smooth fade-in */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }

    /* Title */

    .vm-modal-title {
        font-size: 20px;
        font-weight: 600;
        color: #222;
        margin: 0 0 15px;
        text-align: center;
    }

    /* Content */

    .vm-modal-content {
        font-size: 15px;
        color: #555;
        line-height: 1.6;
        text-align: left;
    }

    .vm-modal-content p {
        margin: 10px 0;
    }

    .vm-modal-content .vm-success {
        color: #2b8a3e;
        font-weight: 600;
        margin-bottom: 10px;
    }

    /* Close button */

    .action-close {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 22px;
        font-weight: bold;
        cursor: pointer;
        color: #888;
        transition: color 0.2s ease-in-out;
    }

    .action-close:hover {
        color: #000;
    }
}

.product-item.hovered {
    border: thick solid black;
}

.sortable-selected,
.sortable-ghost {
    position: relative;
}

.sortable-selected:after,
.sortable-ghost:after {
    content: "✓";
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1px solid #bbb;
    line-height: 30px;
    text-align: center;
    font-family: Arial;
    z-index: 10;
    border-radius: 5px;
    background: #fff;
    font-size: 24px;
}

#vm-stat {
    position: fixed;
    display: block;
    font-family: Arial;
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 20px;
    text-align: left;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px #ddd solid;
    background: #fff url(../img/logo-blackbird.gif) no-repeat 10px 10px;
    background-size: 24px 24px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.2);
}

#vm-stat h3 {
    margin: 0 0 10px;
    margin-left: 30px;
    font-weight: bold;
    color: #000;
    font-size: 18px;
    line-height: 24px;
}

#vm-stat ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

#vm-stat ul li {
    margin: 0;
}

#vm-stat ul li:before {
    content: "- ";
}

.vm-float-left {
    float: left;
    right: initial;
    left: 0;
}

.vm-float-right {
    float: right;
    left: initial;
    right: 0;
}

.vm-loader {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    opacity: 0.6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vm-loader .vm-loading-box {
    display: inline-block;
    position: relative;
    width: 100px;
    padding-top: 70px;
    height: 100px;
    line-height: 16px;
    border-radius: 8px;
    background: #fff url(../img/logo-blackbird.gif) no-repeat 50% 10px;
    background-size: 50px 50px;
    font-family: arial;
    box-sizing: border-box;
}

.vm-loader .vm-loading-box p {
    font-family: arial;
    text-align: center;
    color: #333;
    line-height: 16px;
    font-size: 14px;
}

.vm-loading-empty-category {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    justify-content: center;
    align-items: center;
}

@font-face {
    font-family: "vm-icons";
    src: url("../fonts/vm-icons.woff2") format("woff2");
}

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

#visualmerchandiser-header #title-header {
    height: 50px;
    line-height: 50px;
    flex-shrink: 0;
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

#visualmerchandiser-header #title-header label {
    display: inline-block;
}

#visualmerchandiser-header #title-header .maintitle {
    padding-left: 15px;
    font-weight: 700;
    font-size: 12px;
    color: #202020;
    background: url(../img/logo.svg) no-repeat left center;
    background-size: 24px 24px;
    padding-left: 25px;
}

#visualmerchandiser-header #title-header .brand {
    font-style: italic;
    font-weight: 300;
    font-size: 12px;
    color: #808080;
    margin-left: 5px;
}

#visualmerchandiser-header #vm-toolbar {
    height: 50px;
    border-bottom: 1px #C4C4C4 solid;
    display: flex;
}

#visualmerchandiser-header #vm-toolbar .box-changes {
    cursor: not-allowed;
    display: flex;
    align-content: center;
    justify-content: flex-end;
    width: 150px;
    color: #202020;
    border-right: 1px #C4C4C4 solid;
    display: none;
}

#visualmerchandiser-header #vm-toolbar .box-changes .label-changes {
    cursor: inherit;
    padding-top: 15px;
    padding-right: 5px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16.34px;
}

#visualmerchandiser-header #vm-toolbar .box-changes .icon-changes {
    cursor: inherit;
    padding-top: 3px;
    padding-right: 11px;
    font-size: 30px;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-header #vm-toolbar .box-rollback {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    border-right: 1px #C4C4C4 solid;
}

#visualmerchandiser-header #vm-toolbar .box-rollback .rollback {
    cursor: inherit;
    font-size: 30px;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-header #vm-toolbar #box-switch {
    display: flex;
    justify-content: flex-end;
}

#visualmerchandiser-header #vm-toolbar #box-switch .label-switch {
    display: none;
    padding: 15px 10px 0 0;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    color: #202020;
}

#visualmerchandiser-header #vm-toolbar #box-switch .phone-switch {
    display: none;
    padding: 8px 10px 0 0;
    font-size: 25px;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-header #vm-toolbar #box-switch .toggle-control {
    align-self: center;
    display: block;
    position: relative;
    height: 49px;
    width: 49px;
    border-left: 1px #C4C4C4 solid;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    padding: 0;
    margin: 0;
}

#visualmerchandiser-header #vm-toolbar #box-switch .toggle-control input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#visualmerchandiser-header #vm-toolbar #box-switch .toggle-control input:checked ~ .control {
    background-color: white;
}

#visualmerchandiser-header #vm-toolbar #box-switch .toggle-control input:checked ~ .control:after {
    left: 19px;
}

#visualmerchandiser-header #vm-toolbar #box-switch .control {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    float: end;
    position: absolute;
    top: 21px;
    left: 11px;
    height: 7px;
    width: 25px;
    border-radius: 3.5px;
    background-color: white;
    transition: background-color 0.15s ease-in;
}

#visualmerchandiser-header #vm-toolbar #box-switch .control:after {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 5px;
    height: 5px;
    border-radius: 3.5px;
    background: #7C7C7C;
    transition: left 0.15s ease-in;
}

#visualmerchandiser-header #vm-toolbar .desktop-switch {
    display: none;
    padding: 8px 10px 0 0;
    font-size: 25px;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-header .box-power {
    cursor: pointer;
    right: 0;
    top: 0;
    width: 50px;
    border-left: 1px #C4C4C4 solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

#visualmerchandiser-header .box-power #vm-button-power {
    cursor: inherit;
    font-size: 30px;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    flex: 1 3 auto;
    max-height: 775px;
    overflow-y: auto;
    overflow-x: hidden;
}

#visualmerchandiser-content .vm-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
}

#visualmerchandiser-content .vm-tab-margin {
    width: 30px;
    border-bottom: 1px solid #C4C4C4;
    box-shadow: inset 0 -3px 5px -3px rgba(0, 0, 0, 0.25);
}

#visualmerchandiser-content .vm-tab {
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-grow: 50;
    display: flex;
    justify-content: center;
    color: #202020;
    border-bottom: 1px solid #C4C4C4;
    box-shadow: inset 0 -3px 5px -3px rgba(0, 0, 0, 0.25);
}

#visualmerchandiser-content .vm-panels {
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 30px;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

#visualmerchandiser-content .vm-panels .vm-panel {
    display: none;
    animation: fadein .8s;
    flex-flow: row wrap;
    flex: 2 1 auto;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#visualmerchandiser-content .vm-panels .vm-panel .panel-title {
    font-size: 1.5em;
    font-weight: bold;
}

#visualmerchandiser-content .vm-panels .vm-panel .vm-stack-ol {
    min-height: 50vh;
    width: 100%;
}

#visualmerchandiser-content .vm-panels .vm-panel .vm-trash-ol {
    min-height: 50vh;
    width: 100%;
}

#visualmerchandiser-content .vm-panels .vm-panel .vm-stack-ol:empty,
#visualmerchandiser-content .vm-panels .vm-panel .vm-trash-ol:empty {
    background: url(../img/drag-n-drop.png) no-repeat center center;
    background-size: 140px 140px;
}

#visualmerchandiser-content .vm-panels .vm-panel .vm-search-ol {
    min-height: 50vh;
    width: 100%;
}

#visualmerchandiser-content .vm-panels .vm-panel .vm-search-ol .vm-panel-product {
    height: fit-content;
}

#visualmerchandiser-content .vm-radio {
    display: none;
}

#visualmerchandiser-content #vm-stack:checked ~ .vm-panels #vm-stack-panel,
#visualmerchandiser-content #vm-search:checked ~ .vm-panels #vm-search-panel,
#visualmerchandiser-content #vm-trash:checked ~ .vm-panels #vm-trash-panel {
    display: block;
}

#visualmerchandiser-content #vm-stack:checked ~ .vm-tabs #vm-stack-tab,
#visualmerchandiser-content #vm-search:checked ~ .vm-tabs #vm-search-tab,
#visualmerchandiser-content #vm-trash:checked ~ .vm-tabs #vm-trash-tab {
    background: white;
    color: #202020;
    border-left: 1px solid #C4C4C4;
    border-right: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
    border-bottom: 0;
    box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.25);
    clip-path: inset(-3px -3px 0px -3px);
}

#visualmerchandiser-content #vm-stack:checked ~ .vm-tabs #vm-stack-tab.hovered,
#visualmerchandiser-content #vm-trash:checked ~ .vm-tabs #vm-trash-tab.hovered {
    border: medium solid black;
}

#visualmerchandiser-content #vm-stack-tab {
    background: #EFEFEF;
}

#visualmerchandiser-content #vm-stack-tab span.qty:not(:empty) {
    font-size: 10px;
    color: #fff;
    background: #222;
    display: inline-block;
    width: 16px;
    height: 16px;
    top: 5px;
    margin-left: 5px;
    position: relative;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
}

#visualmerchandiser-content #vm-trash-tab {
    background: #D8D8D8;
}

#visualmerchandiser-content #vm-trash-tab span.qty:not(:empty) {
    font-size: 10px;
    color: #fff;
    background: #222;
    display: inline-block;
    width: 16px;
    height: 16px;
    top: 5px;
    margin-left: 5px;
    position: relative;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
}

#visualmerchandiser-content #vm-stack:checked ~ .vm-tabs #vm-search-tab {
    background: #EFEFEF;
}

#visualmerchandiser-content #vm-trash:checked ~ .vm-tabs #vm-search-tab {
    background: #D8D8D8;
}

#visualmerchandiser-content .vm-stack-container .vm-stack-ol {
    display: flex;
    padding: 0 15px 0 15px;
    min-height: 400px;
}

#visualmerchandiser-content .vm-search-container {
    padding: 10px 10px 10px 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#visualmerchandiser-content .vm-search-container .vm-search-bar {
    display: flex;
    justify-content: center;
    border-bottom: 1px #202020 solid;
    width: 300px;
}

#visualmerchandiser-content .vm-search-container .vm-search-bar .vm-search-field {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    clip-path: inset(0px 0px 0px 0px);
    stroke: #202020;
}

#visualmerchandiser-content .vm-search-container .vm-search-bar .vm-search-button {
    font-family: vm-icons, fantasy;
    font-size: 20px;
    background: none;
    border: none;
    outline: none;
}

#visualmerchandiser-content .vm-search-container #vm-search-filter-display {
    cursor: pointer;
    color: #202020;
    font-size: 15px;
}

#visualmerchandiser-content .vm-search-container #vm-search-filter-display #vm-search-filters-span {
    cursor: pointer;
}

#visualmerchandiser-content .vm-search-container #vm-search-filter-display #vm-display-filters-label {
    cursor: pointer;
    font-family: vm-icons, fantasy;
}

#visualmerchandiser-content .vm-search-container #vm-display-filters {
    display: none;
}

#visualmerchandiser-content .vm-search-container #vm-display-filters:checked ~ #vm-search-filters {
    display: flex;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters {
    display: none;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-field-sku {
    display: none;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters .vm-search-filters-sku:checked ~ #vm-search-filters-select-name {
    display: none;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters .vm-search-filters-sku:checked ~ #vm-search-filters-select-sku {
    display: flex;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-name {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-content: baseline;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-name:before {
    display: none;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-name #vm-search-filters-select-name-span {
    padding-top: 4px;
    font-size: 1.2rem;
    line-height: 1.2;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-name #vm-search-filters-select-name-change {
    font-family: vm-icons, fantasy;
    font-size: 25px;
    padding-right: 5px;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-sku {
    display: none;
    cursor: pointer;
    justify-content: center;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-sku #vm-search-filters-select-sku-span {
    padding-top: 4px;
    font-size: 1.2rem;
    line-height: 1.2;
}

#visualmerchandiser-content .vm-search-container #vm-search-filters #vm-search-filters-select-sku #vm-search-filters-select-sku-change {
    font-family: vm-icons, fantasy;
    font-size: 25px;
    padding-right: 5px;
}

#visualmerchandiser-content .vm-search-container .vm-search-ol {
    display: flex;
    flex-flow: row wrap;
}

#visualmerchandiser-content .vm-search-container .vm-search-ol .vm-panel-product {
    display: block;
    padding: 0 15px 0 15px;
}

#visualmerchandiser-notice {
    font-family: Arial;
    position: absolute;
    bottom: 85px;
    padding: 7px 15px;
    background: #efefef;
    width: 100%;
    font-size: 12px;
    line-height: 120%;
}

#visualmerchandiser-notice .vm-notice-message {
    margin-left: 30px;
    display: inline-block;
}

#visualmerchandiser-notice .vm-warning-icon {
    background: #EED202;
    width: 16px;
    height: 16px;
    left: 15px;
    top: calc(50% - 8px);
    line-height: 16px;
    display: inline-block;
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
}

#visualmerchandiser-actions {
    display: block;
    box-sizing: border-box;
    border-top: 1px solid #C4C4C4;
    box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.25);
    clip-path: inset(-3px 0px 0px 0px);
    justify-content: center;
}

#visualmerchandiser-actions .vm-history {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    flex-flow: row wrap;
    padding: 15px 15px 15px 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

#visualmerchandiser-actions .vm-history .vm-labels-changes {
    padding-left: 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 3;
    margin-right: 5px;
    font-weight: 700;
}

#visualmerchandiser-actions .vm-history #vm-display-changes {
    font-family: vm-icons, fantasy;
    font-size: 25px;
    cursor: pointer;
    visibility: hidden;
}

#visualmerchandiser-actions .vm-history #vm-display {
    display: none;
}

#visualmerchandiser-actions .vm-history .vm-validate-changes {
    background-color: #202020;
    color: #FFFFFF;
    border: none;
    font-size: 12px;
    padding: 15px 50px 15px 50px;
}

#visualmerchandiser-actions .vm-history #vm-display:checked ~ #vm-history-changes {
    display: flex;
}

#visualmerchandiser-actions .vm-history #vm-history-changes {
    margin: 0 20px 0 20px;
    display: none;
    animation: fadein .5s;
    justify-content: space-between;
    align-content: center;
    flex-flow: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
}

#visualmerchandiser-actions .vm-history #vm-history-changes .history-change {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 5px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-content: space-between;
    align-content: center;
}

#visualmerchandiser-actions .vm-history #vm-history-changes .history-change .history-change-actions {
    font-family: vm-icons, fantasy;
    font-size: 20px;
    background: none;
    border: none;
    outline: none;
    padding: 0 10px 0 10px;
}
