﻿
div.Window {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
}

div div.WindowFrame {
    position: relative;
    background: white;
    border: 2px solid black;
    justify-content: center;
    align-items: center;
    top: 80px;
    width: 700px;
    margin: auto;
    opacity: 1;
    font-size: small;
}

div div.WindowFrameContingentOrders{
    width: 1050px;
    bottom: 20px;
    top: 30px;
}

div.WindowFrame div.windowDataDiv {
    padding-left: 4px;
    padding-right: 4px;
    margin-top: 0px;
    margin-bottom: 0px;
    min-height: 16px;
}


div.WindowFrame div.SaveButtonRow, div.ClientNameRow {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 6px;
    font-size: small;
    padding-left: 6px;
    text-align: right;
}

div.ClientNameRow {
    text-align: left;
    margin-bottom: -32px;
    font-size: medium;
}

div.ClientNameRow img{
    height: 24px;
}

div.Window div.StockHoldingGrids {
    margin-top: 4px;
    margin-right: 6px;
    margin-left: 6px;
    font-size: small;
    height: 330px;
    border: 1px solid black;
}

div.Window div.StockHoldingGridsAll {
    height: 639px;
}


div.Window div.StockHoldingGrids a:hover {
    text-decoration: none;
}

div.StockHoldingGridControlButtons {
    font-size: small;
    text-align: center;
}

    div.StockHoldingGridControlButtons a {
        border: 1px solid transparent;
        padding: 1px;
        padding-left: 4px;
        padding-right: 4px;
        display: inline-block;
        margin: 2px;
    }

        div.StockHoldingGridControlButtons a:hover,
        div.StockHoldingGridControlButtons a.StockHoldingGridControlButtonSelected {
            border: 1px solid darkgray;
            background-color: #ebebeb;
            text-decoration: none;
        }

div.SaveButtonRow a {
    border: 1px solid transparent;
    padding: 4px;
}

    div .SaveButtonRow a:hover {
        border: 1px solid black;
        border-top: 1px solid #2e2e2e;
        border-left: 1px solid #2e2e2e;
        background-color: lightgray;
        text-decoration: none;
        padding: 4px;
    }

div.SaveButtonRow a img {
    height: 18px;
}

span.WindowHeading {
    display: inline-block;
    width: 100%;
    background-color: gray;
    color: white;
    border-bottom: 1px solid black;
    background-image: url(/Content/headerBG.png);
    background-size: 32px;
    text-align: center;
}

div.closeButton {
    position: absolute;
    top: 0;
    right: 0;
    color: maroon;
    width: 24px;
}

    div.closeButton a {
        color: red;
    }

        div.closeButton a img {
            width: 22px;
            margin: 0px;
            margin-top: -5px;
            margin-right: 5px;
            display: inline-block;
            padding-right: 4px;
        }

div.windowBG {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

span.windowLabel {
    display: inline-block;
    width: 120px;
    text-align: right;
    padding-right: 2px;
    color: black;
    font-weight: 600;
    font-size: small;
    vertical-align: top;
}

.windowData {
    width: 110px;
    display: inline-block;
    font-size: small;
    vertical-align: top;
}

    .windowData input[type="checkbox" i] {
        position: relative;
        top: 2px;
        left: -3px;
        z-index: 0;
    }


.windowInput {
    width: 120px;
    height: 20px;
    font-size: smaller;
}

div.WorkingWindow {
    position: absolute;
    bottom: 36px;
    font-size: small;
    right: 10px;
    z-index: 9000;
    border: 1px solid black;
}

    div.WorkingWindow img {
        height: 50px;
    }


div.HelpWindow {
    position: absolute;
    bottom: 36px;
    font-size: small;
    right: 10px;
    z-index: 9000;
    border: 1px solid black;
    width: 260px;
    background-color: lightgrey;
    padding: 4px;
    line-height: 15px;
}

    div.HelpWindow img {
        height: 20px;
        vertical-align: middle;
    }

div.WindowHeading {
    font-weight: bold;
}

div.WindowInformation {
    border-bottom: 1px solid darkgray;
}

div.ConfirmationWindowButtons {
    padding: 6px;
    text-align: right;
}

    div.ConfirmationWindowButtons a {
        display: inline-block;
        border: 1px solid lightgray;
        padding: 2px;
        padding-right: 6px;
        font-size: small;
    }

        div.ConfirmationWindowButtons a:hover {
            border: 1px solid black;
            background-color: #CCCCCC;
            text-decoration: none;
        }

        div.ConfirmationWindowButtons a img {
            height: 24px;
        }

div .ConfirmationWindowInfo {
    border-bottom: 1px solid darkgray;
    font-size: small;
}

.ElementRightAlign{
    text-align: right;
}

.PortfolioControlsPopout{
    padding: 0px !important;
    border: 1px solid black;
    margin: 4px;
    background: #ebebeb;
    border-radius: 10px;
}