﻿
div.Controls {
    border: 1px solid transparent;
    border-right: 1px solid black;
    border-top: 1px solid black;
    position: fixed;
    top: 32px;
    height: 320px;
    right: 0px;
    width: 40%;
    overflow-x: auto;
    overflow-y: auto;
    padding: 2px;
    font-size: small;
}

div.Controls div{
    margin-top: 7px;
    padding: 4px;
}

    div.Controls a {
        display: inline-block;
        border: 1px solid transparent;
        padding: 3px;
    }

        div.Controls a:hover {
            text-decoration: none;
            background: lightgray;
            border: 1px solid black;
        }

        div .Controls a img {
            height: 18px;
            display: inline-block;
            margin-top: -4px;
        }


div.Actions {
    border: 1px solid transparent;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
    position: fixed;
    left: 0px;
    top: 32px;
    right: 40%;
    overflow-y: auto;
    bottom: 27px;
    font-size: small;
}

div.Actions a img {
    height: 14px;
}

    div.Actions table {
        border-spacing: 0px;
        border-collapse: separate; /* Don't collapse */
        user-select: none;
        width: 100%;
    }

        div.Actions table thead {
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 1;
        }

        div.Actions table tr:nth-child(even) {
            background: #CCC;
        }

        div.Actions table tr:nth-child(odd) {
            background: #FFF;
        }

div.QuarterlyActions table tbody tr{
    cursor: pointer;
}

div.Actions table tbody tr.GridDataRowSelected td {
    background: #636363;
    color: #C1DDFB;
    border-left: none !important;
}

            div.Actions table tbody tr.GridDataRow:hover td a,
            div.Actions table tbody  tr.GridDataRowSelected td a {
                color: white;
            }

    div.Actions th {
        border-bottom: 1px solid black;
        padding-right: 2px;
        font-weight: 600;
        color: black;
        font-size: small;
        background-color: #e1e9ff;
        white-space: nowrap;
        z-index: 200;
        font-size: small;
    }

div.Actions::-webkit-scrollbar-thumb:vertical {
    border-right: none;
}

    div.Actions::-webkit-scrollbar-track:vertical {
        border-top: none;
        border-right: none;
        border-bottom: none;
    }


    div.Actions tbody tr td {
        font-size: small;
        border-bottom: 1px solid;
        vertical-align: top;
    }

        div.Actions tbody tr td span.StockDetail {
            display: inline-block;
            width: 49%;
            vertical-align: top;
        }

        div.Actions tbody tr td span.StockName {
            font-weight: bold;
        }

    div.Actions table tbody tr.GridDataRowSelected td span.StockName {
        color: #FFF5B5;
    }
    div.Actions table tbody tr.GridDataRowSelected td span.StockCode {
        color: #C1DDFB;
    }

        div.Actions tbody tr td span.StockCode {
            font-weight: normal;
        }

        div.Actions tbody tr td.Action {
            white-space: nowrap;
        }

    div.Actions tbody tr td span.Description {
        display: inline-block;
        width: 50%;
    }

div.WeeklyOrders {
    border: 1px solid transparent;
    border-right: 1px solid black;
    border-top: 1px solid black;
    position: fixed;
    top: 207px;
    right: 0px;
    width: 40%;
    overflow-x: auto;
    overflow-y: auto;
    padding: 2px;
    bottom: 28px;
    font-size: small;
}

div.WeeklyOrders img{
    height: 18px;
    vertical-align: middle;
    display: inline-block;
    margin-top: -4px;
}

iframe.WeeklyFileUploaderIfdrame {
    height: 84px;
    overflow: hidden;
    overflow-x: hidden;
    margin: 0px;
    width: 440px;
}

div.ValidActionsGrid, div.InvalidActionsGrid {
    overflow: auto;
    border: 1px solid black;
}
    div.ValidActionsGrid{
    height: 340px;
}
    div.ValidActionsGrid table, div.InvalidActionsGrid table {
        width: 100%;
    }

    div.ValidActionsGrid tr, div.InvalidActionsGrid tr {
    }

    div.ValidActionsGrid tr td, div.InvalidActionsGrid tr td {
        padding-left: 4px;
    }



div.OrderList{
    padding: 2px;
    background-color: white;
}

div.InvalidActionsGrid{
    position: fixed;
    bottom: 30px;
    top: 600px;
    width: 39.7%;
}

table.Actions tr, table.InvalidActions tr {
    border-top: 1px solid lightgray;
}


    table.Actions tr, table.InvalidActions tr td {
        vertical-align: top;
    }

div.Controls div a{
    display: inline-block;
    margin-top: 1px;
}

div.EmailPanel {
    position: fixed;
    right: 10px;
    width: 480px;
    font-size: small;
    top: 120px;
    bottom: 38px;
    border-radius: 10px;
}

div.EmailPanelDetails {
    overflow: auto;
    position: fixed;
    top: 388px;
    bottom: 38px;
    border: 1px solid lightgray;
    border-radius: 10px;
    right: 10px;
    width: 480px;
    padding: 10px !important;
}

div.Controls div.MerleaRecEmailItem{
    border: none;
    padding: 0px;
    margin: 0px;
}

    div.Controls div.MerleaRecEmailItem a {
        padding: 0px;
        padding-left: 2px;
        padding-right: 2px;
    }

span.SendingEmails{
    color: red;
}

div.PanelSendingEmails{
    margin-top: -10px;
}

div.DevTestWarning {
    position: fixed;
    top: 342px;
}

span.MerleaRecEmailRecipient{
    display: inline-block;
    width: 360px;
}
span.MerleaRecEmailRecipient img {
    height: 16px;
    margin-top: -4px;
}

div.MerleaRecEmailItem:hover {
    background-color: #e1e9ff;
}