﻿[draggable="true"] {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.special-offers-page-container {
    margin: auto;
    max-width: 1300px;
    width: 100%;
    padding: 0 10px;
    overflow-x: auto;
    margin-bottom: 40px;
}

.special-offers-page-container,
.special-offers-page-container * {
    box-sizing: border-box;
}

.special-offer-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 850px;
}

    .special-offer-buttons-container .edit-modes {
        display: flex;
        align-items: center;
    }

        .special-offer-buttons-container .edit-modes > *:not(:first-child) {
            margin-left: 8px;
        }

.special-offer-container {
    width: 100%;
    min-height: 400px;
    /*border: 1px solid black;*/
    margin: auto;
    min-width: 850px;
}

.daily-offer-wrapper {
    width: 100%;
    /*padding: 10px;*/
    height: 100%;
}

.offer-tile {
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
}

.daily-offer-wrapper > .row {
    min-height: 40px;
    margin-left: unset;
    margin-right: unset;
}
.daily-offer-wrapper > .row:nth-child(2) .delete-button {
    display: none;
}
.daily-offer-wrapper > .row:nth-child(2) .offer-tile-action-container {
    min-width: 162px;
}
    .row.drag-above {
        padding-top: 20px;
        transition: 0.2s ease-in-out;
    }

        .row.drag-above .offer-tile:nth-child(n) > * {
            border-top-color: crimson;
            border-top-width: 3px;
            /* box-shadow: 0 -10px 10px -10px red; */
        }

    .row.drag-over,
    .row.drag-over .offer-tile:nth-child(n) > * {
        background-color: rgba(102, 228, 238, 0.3);
        transition: 0.2s ease-in-out;
    }

    .row.drag-origin,
    .row.drag-origin .offer-tile:nth-child(n) > * {
        background-color: rgba(221, 221, 66, 0.21);
    }

    .row:first-of-type .offer-tile {
        color: gray;
    }

    .row:not(:last-of-type) {
        margin-bottom: 2px;
    }

    .row:not(:first-of-type):nth-child(-n+8) .offer-tile .offer-tile-lp {
        /* border-left-color: crimson;
        background-color: rgba(220, 20, 60, 0.15); */
    }

    .row:not(:first-of-type):nth-child(2) .offer-tile .offer-tile-lp {
        border-left-color: #005066;
        background-color: rgba(102, 228, 238, 0.3);
    }


.offer-tile > * {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 4px;
    border-top: 1px solid #A8ADB3;
}

.row:nth-child(odd) .offer-tile > * {
    background-color: #F2F2F2;
}

.row:first-of-type .offer-tile > * {
    border-top: 2px solid #005066;
}

.offer-tile > div:not(:last-of-type) {
    margin-right: 4px;
}

.offer-tile-lp {
    justify-content: center;
    border-left: 2px solid transparent;
    width: 40px;
}

.offer-tile-name {
    width: 100%;
}

.offer-tile-status {
    width: 200px;
    line-height: normal;
}

.offer-tile-action-container {
    width: 300px;
}

    .offer-tile-action-container .recover-button {
        display: none;
    }

    .offer-tile-action-container.deleted .recover-button {
        display: block;
    }

    .offer-tile-action-container.deleted .delete-button {
        display: none;
    }

.offer-tile-discount{
    width: 70px;
}
.offer-tile-comments{
    width: 100%;
    max-width: 200px;
}

.offer-tile-discount input{
    border: none;
    background: transparent;
    outline: none;
    width: 70px;
}
.offer-tile-comments input{
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
}

.row:not(:first-of-type) .offer-tile .offer-tile-action-container > .offer-tile-button:not(:last-child) {
    margin-right: 8px;
}

.special-offers-page-container .offer-tile-button {
    background-color: #66E4EE;
    color: #005066;
    padding: 4px 10px;
    border: none;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.special-offers-page-container .offer-tile-button.large {
    padding: 0 60px;
    height: 30px;
    font-weight: bold;
}

.special-offers-page-container .offer-tile-button:hover {
    background-color: #69f1fb;
}
