﻿.strategy .sidebarinfo {
    text-align: center;
    background-color: rgba(200, 200, 200, 0.5);
    font-size: 80%;
    width: 100%;
}

.strategy #strategyGrid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25em;
    height: 80vh;
}

.strategy .usergrid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.25em;
}

.strategy .sidebar {
    max-width: 12em;
    background-color: #f4f4f4;
    box-sizing: border-box;
}

.strategy .sidebar .summary {
    font-size: 90%;
}

.strategy .sidebar .summary svg {
    margin: 0 0.5em;
}
.strategy .sidebar .summary svg.first {
    margin-left: 0;
}

    .strategy .sidebar .summarytotal, .strategy .sidebar .summaryavailable, .strategy .sidebar .summaryclaimed, .strategy .sidebar .summarystarted {
        font-weight: bold;
        color: #2fc2a9;
    }

.strategy .sidebar .standout {
    color:#1d20b9
}

.strategy .content {
    background-color: #fff;
    box-sizing: border-box;
    overflow-y: auto;
}

.strategy .content .warning {
    background-color: #c19e5c;
    padding: 0.25em;
    color: white;
}

.strategy .strategyitem {
    border: 1px groove rgba(0, 0, 0, 0.2);
    background-color: #d7e9f4;
    color: #486680;
    padding: 0.5em;
    max-width: 20em;
    border-radius: 0.25em;
    border-style: groove;
    height: fit-content;
    cursor: pointer;
}

.strategy .strategyitem:hover {
    background-color: #ffff4a;
}

.strategyitem .strategygoal {
    opacity: 0.7;
    font-size: 80%;
    padding-top: 0.5em;
    display: none;
}

.strategy .strategyitem.selected {
    background-color: #486680;
    color: #d7e9f4;
}

.strategy .strategyitem.selected .strategygoal {
    display: block;
}

.strategy .usergrid .strategyuser {
    border: 2px solid white;
    width: 100%;
    padding: 0.25em;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 0.5em;
    font-size: 90%;
    grid-template-areas: "a a a";
}

    .strategy .usergrid .strategyuser.expired {
        background-color: #ffebc9
    }

.strategy .usergrid .strategyuser.available {
    border: 2px groove grey;
    background-color: #fff593
}

.strategy .usergrid .strategyuser.claimed {
    border: 2px groove lime;
    background-color: #dcf5e3;
}

.strategy .usergrid .strategyuser.started {
    border: 2px groove lime;
    background-color: #dcffc9
}

.strategy .usergrid .strategyuser.finished, .strategy .usergrid .strategyuser.paused, .strategy .usergrid .strategyuser.lost, .strategy .usergrid .strategyuser.redeemed {
    border: 2px groove #98e9f7;
    background-color: #c9fff9
}

.strategy .usergrid .strategyuser .action {
    display: inline-block;
    width: 8em;
    height: 5em;
    border: 1px dashed grey;
    vertical-align: top;
    background-color: white;
    padding: 0.1em;
    border-radius: 0.5em;
    text-align: center;
    font-size: 80%;
    min-height: 5em;
    min-height: -webkit-fill-available;
}

    .strategy .usergrid .strategyuser .action.btn {
        border: 2px groove grey;
        min-width: initial;
    }

        .strategy .usergrid .strategyuser .action.cannotsend {
            background-color: rgba(223,215,215,0.6);
        }

        .strategy .usergrid .strategyuser .action.dollar {
            width: fit-content;
            text-align: right;
            padding: 0 1em;
            background-color: rgba(55,155,253,0.5);
        }

.strategy .usergrid .strategyuser .currency {
    width: 100%;
}
    .strategy .usergrid .strategyuser .currency img {
        width: 2em;
        height: 2em;
    }

    .strategy .usergrid .strategyuser .action .big {
        font-size: 190%;
        font-weight: bold;
        color: white;
        text-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px;
        margin: -0.25em;
        margin-top: -0.4em;
    }

    .strategy .usergrid .strategyuser .action.dollar svg {
        margin-bottom: 0.5em;
    }

.strategy .usergrid .strategyuser .action .big.promovalue {
    color: yellow;
}
            .strategyuser_date {
                font-weight: bold;
            }

.strategy .usergrid .strategyuser .action .table {
    display: table;
    height: 100%;
}

.strategy .usergrid .strategyuser .action .cell {
    display: table-cell;
    vertical-align: middle;
}
.strategy .usergrid .strategyuser .action .cell svg {
    font-size: 150%;
}

    .strategyuser_date svg {
        font-size: 150%;
        padding-right: 0.25em;
        cursor: pointer;
    }

.strategyuser_date .time {
    font-size: 90%;
    font-weight: normal;
}

.strategyuser_promo {
    font-size: 90%;
}

.strategyuser_promo_restrictions {
    font-size: 80%;
    color: red;
}

#pnlContent {
    margin-top: 1em;
}

#pnlContent .disabled, .strategy .disabled:hover {
    opacity: 1;
    background-color: grey !important;
    color: white;
    cursor: initial;
}


    #pnlContent #pnlEmailControls button, #pnlContent #pnlSmsControls button, #pnlContent #pnlPushControls button {
        font-size: 200%;
        border: 0;
        box-shadow: 0 0 5px black;
        border-radius: 0.1em;
        width: 1.5em;
        height: 1.5em;
    }

        #pnlContent #pnlEmailControls button:hover, .strategy #pnlSmsControls button:hover, .strategy #pnlPushControls button:hover {
            background-color: #ffff4a;
        }

    #pnlContent #pnlEmailContent, #pnlContent #pnlEmailSubject, #pnlContent #pnlEmailControls, #pnlContent #pnlSmsControls, #pnlContent #pnlSmsContent, #pnlContent #pnlPushControls, #pnlContent #pnlPushContent {
        display: grid;
        grid-template-columns: 5em 1fr;
        grid-auto-columns: initial;
        grid-column-gap: 0.25em;
    }

        #pnlContent #pnlEmailSubject .richText-editor, #pnlContent #pnlSmsContent .richText-editor, #pnlContent #pnlPushContent .richText-editor {
            height: fit-content;
            overflow: hidden;
        }

#pnlContent .richText {
    background-color: rgba(211,229,255,0.15);
    border: none;
    margin: 0.25em 0;
}

#pnlContent .richText .richText-editor {
        padding: 0.25em;
        background-color: #fffdeb;
        border: #efefef solid 1px;
        border: rgba(0,0,0,0.5) solid 1px;
        margin: 0.25em 0;
    }

#pnlContent .richText .richText-toolbar ul li a {
        font-size: 80%;
        padding: 0.5em;
    }

#pnlContent .richText-toolbar {
    width: fit-content;
    min-height: initial;
}

#ContentModal {
    padding: 1em;
}

#alphaConfig.strategy.grid {
    grid-template-rows: 1fr;
    grid-template-areas: "a";
    width: 100%;
}

#alphaConfig.strategy .gridrow {
    width: 100%;
    text-align: left;
    padding-left: 0.25em;
}

    #alphaConfig.strategy .gridrow.new {
        border-style: solid none none none;
        border-width: 1px;
    }

#alphaConfig.strategy .gridrow.header {
    background-color: #979797;
    color: white;
    position: fixed;
    max-height: 2em;
    width: calc(100% - 25px);
}

#alphaConfig.strategy .gridscroll {
    overflow-y: scroll;
    max-height: 75vh;
    font-size: 90%;
    position: relative;
    top: 2em;
}

#alphaConfig.strategy .gridrow.grid.odd {
    background-color: #f5ffe3;
}

#alphaConfig.strategy .gridrow.grid.even {
    background-color: #e4f1f9;
}

    #alphaConfig.strategy .gridrow.grid.even .col.odd {
        background-color: #d7e8f1;
    }

#alphaConfig.strategy .gridrow.grid.odd .col.odd {
    background-color: #e7f5ce;
}

    #alphaConfig.strategy .gridrow.grid {
    grid-template-areas: "a a a a a";
    grid-template-columns: minmax(15em, 1fr) minmax(15em, 1fr) minmax(15em, 1fr) minmax(15em, 1fr) minmax(15em, 1fr);
}

#alphaConfig.strategy .gridrow .currency {
    width: 25px;
}

#alphaConfig.strategy .currency img {
    width: 20px;
    height: 20px;
}

.strategy .expand .contentbar {
    background-color: #628c8f;
    color: white;
    letter-spacing: 0.25px;
    padding-top: 0.25em;
}

.strategy .expand.closed .contentbar {
    background-color: #3faeb5;
}

.strategy .expand button {
    background-color: initial;
    border: 0;
}
.strategy .expand.closed .content {
    display: none;
}