﻿table {
    empty-cells: show;
    border-collapse: collapse;
}

#controls input[type="text"] {
    vertical-align: middle;
    width: 20em;
}

#controls table {
    width: 38em;
    margin: 0 auto;
}

#controls input[type="text"].inError {
    background-color: #fca8a8;
    border: solid 1px red;
}

#controls button, .buttons button {
    height: 2em;
    font-weight: normal;
    background-color: #c5e5f8;
    border: 1px solid #448fbb;
    cursor: pointer;
    color: #0567a1;
    text-decoration: none;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
    vertical-align: middle;
}

    #controls button:hover, .buttons button:hover {
        background-color: #eee87d;
        color: black;
    }

.closeDlg {
    width: 2em;
    color: white;
    font-weight: bold;
    float: right;
    text-align: center;
}

    .closeDlg:hover {
        background-color: red;
    }

    .closeDlg span {
        cursor: default;
    }

.linkButtons {
    text-align: center;
    font-size: small;
    border-top: 1px solid #bbbbbb;
    padding-top: 1em;
}
/*********************************************************************************
    General dialog box/popup div styles.
 *********************************************************************************/
.dialogBack {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.125);
    display: none;
}

.show {
    display: block;
}

.dialogBase {
    border: solid 1px #1972b4;
    background-color: white;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
}

.bar {
    background-color: #1972b4;
    color: white;
    padding-left: 0.5em;
    position: relative;
}

.buttons {
    text-align: center;
    margin-bottom: 1em;
    border-top: 1px solid #bbbbbb;
    padding-top: 1em;
}


/**************************************************************************
 * Alert/Message/Confirm/Loading Dialog Styles
 **************************************************************************/
.___dialogBack {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.125);
    display: none;
}

.___show {
    display: block;
}

.___dialogBase {
    border: solid 1px #1972b4;
    background-color: white;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
}

.___bar {
    background-color: #1972b4;
    color: white;
    padding-left: 0.5em;
    position: relative;
}

.___buttons {
    text-align: center;
    margin-bottom: 10px;
}

    .___buttons input[type="button"] {
        font-weight: normal;
        background-color: #d3ecfb;
        border: 1px solid #448fbb;
        cursor: pointer;
        padding: 0.5em;
        color: #0567a1;
        text-decoration: none;
        -moz-border-radius: 0.3em;
        -webkit-border-radius: 0.3em;
        border-radius: 0.3em;
        min-width: 5em;
        margin-left: 1em;
    }

        .___buttons input[type="button"]:hover {
            background-color: #eee87d;
            color: black;
        }

/**************************************************************************
 * Type specific classes and styles
 **************************************************************************/

.___messageBox {
    width: 30em;
    min-height: 4em;
    margin-left: -15em;
    margin-top: -2em;
    z-index: 25;
}

.___content {
    padding: 1em;
    text-align: center;
}

.___confirmBox {
    width: 30em;
    min-height: 4em;
    margin-left: -15em;
    margin-top: -2em;
    z-index: 10;
}

.___loadingBox {
    position: fixed;
    width: 20em;
    height: 4.5em;
    margin-top: -1.5em;
    margin-left: -10em;
}

    .___loadingBox table {
        border-collapse: collapse;
        border-spacing: 0;
        empty-cells: show;
        border: none;
        height: 4.5em;
        width: 20em;
    }

        .___loadingBox table td.___spinner {
            border: none;
        }

        .___loadingBox table img {
            height: 2em;
        }

        .___loadingBox table td.___loadingLabel {
            vertical-align: middle;
            text-align: center;
            border: none;
        }

/**************************************************************************
**************************************************************************/
.popup /*popup tooltip div*/ {
    line-height: 100%;
    border: solid 1px #404040;
    background: #C9EFFF;
    -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, .9);
    -moz-box-shadow: 2px 2px 3px rgba(0, 0, 0, .9);
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .9);
    position: absolute;
    z-index: 50;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    display: none;
    max-width: 450px;
    vertical-align: middle;
    padding: 3px 3px 3px 3px;
    width: 430px;
}

.content td {
    border: 1px solid darkgrey;
}

.gridrow {
    font-size: small;
    background-color: white;
}

.gridrow2 {   
    background-color: white;
}

.alt {
    font-size: small;
    background-color: lightgray;
}

.tdCell {
    Border: solid 1px #BBBBBB;
    padding: 0px;
    font-size: small;
}

.tdCell2 {
    border-collapse: collapse !important;
    border-style: hidden;
    border-spacing: 0px;
    padding: 0px;
    font-size: small;
}

.headcol {
    position: absolute;
    background-color: #c0d7e8;
    Border: solid 1px #BBBBBB;
   
}

.gridview td {
    border: solid 1px #BBBBBB;
}

.grid_header {
    background-color: #c0d7e8;
    border: solid 1px #c0d7e8;
}

.headerArea {
    overflow: hidden;
    width: 1200px;
    margin: auto;
}

.tblArea {
    overflow-x: scroll;
    overflow-y: scroll;
    height: 300px;
    width: 1200px;
    margin: auto;
}

.headerArea2 {
    overflow: hidden;
    width: 1220px;
    margin: auto;
}

.tblArea2 {
    overflow-x: scroll;
    overflow-y: scroll;
    height: 300px;
    width: 1220px;
    margin: auto;
}

table#storesLabelsTable {
    margin-left: 30px;
    border-collapse: collapse !important;
    border-style: hidden;
    border-spacing: 0px;
}

.headerArea3 {
    overflow: hidden;
    width: 125px;
    margin: auto;
}

.tblArea3 {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 150px;
    width: 125px;
    margin: auto;
}


.gridview_header {
    background-color: #F4FA98;
    font-size: small;
}

.results {
    table-layout: fixed;
}

.middleTable {
    vertical-align: middle;
}

table#phqVendorItems {
    font-size: small;
}

table#phqVendorItems tr {
    background-color: white;
    border: solid 1px #BBBBBB;
}

table#phqVendorItems tr.alternate {
    background-color: #ededed;
}

table#phqVendorItems tr:hover {
     background-color: #fffee1;
     cursor: pointer;
}

table#phqVendorItems td {
      border: 1px solid #565656;
      text-align: center;
}

#dlgStoresInfoBox {
    width: 1250px;
    height: 500px;
    margin-left: -550px;
    margin-top: -250px;
}

.tdLblCell1 {
    font-weight: bold;
    background-color: white;
    border-collapse: collapse !important;
    border-style: hidden;
    border-spacing: 0px;
}

.tdLblCell2 {
    color: red;
    background-color: white;
    border-collapse: collapse !important;
    border-style: hidden;
    border-spacing: 0px;
}

.tdLblCell3 {
    color: red;
    font-size: small;
    background-color: white;
    border-collapse: collapse !important;
    border-style: hidden;
    border-spacing: 0px;
}

table#StoresTable tr.alternate {
    background-color: #ededed;
}
/**************************************************************************
**************************************************************************/

#dlgMDVItemInfoBox {
    width: 240px;
    height: 280px;
    margin-left: -100px;
    margin-top: -200px;
}

table#itemLabelsTable {
    /*margin-left: 5px;*/
    border: solid 0px white;
}


#container {
    position: relative;
    height: 600px;  
}

#container div {
    display: inline-block;
    position: absolute;
}

#topleft {
    width: 150px;
    height: 20px;
    top: 0px;
    left: 0px;
    /*background-color: #e5e5d0;
    border: solid 1px red;*/
}

#topright {
    top: 0px;
    left: 150px;
    height: 20px;
    overflow: hidden;
    /*background-color: #c6a6d9;
    border: solid 1px purple;*/
}

#botleft {
    /*border: 1px solid red;*/
    height: 560px;
    width: 150px;
    top: 20px;
    left: 0px;
    overflow-y: hidden;
    overflow-x: hidden;
}

#botright {
    top: 20px;
    left: 150px;
    height: 580px;
    overflow: scroll;
    /*border: solid 1px purple;*/
}

#container table {
    empty-cells: show;
    border-collapse: collapse;
    border-spacing: 0px;
    font-size: small;
}

.logDate, .logDateHeader {
    height: 20px;
}

.logDateHeader th {
    background-color: #c5e3f9;
    font-weight: normal;
    border: solid 1px #808080;
    width: 200px;
    text-align: center;
}

.items td {
    background-color: white;
    border: solid 1px #808080;
    text-align: center;
    width: 200px;
}

.items .changed {
    background-color: lightyellow;
}

.logDate th {
    vertical-align: bottom;
    text-align: left;
    font-weight: normal;
    background-color: #56b6ff;
    border: solid 1px #808080;
    width: 150px;
}

.itemsHeader, .logDate {
    width: 150px;
}

.itemsHeader td {
    text-align: left;
    border: solid 1px #808080;
    background-color: #96d2ff;
}

.logDateHeader td.wasHidden, .logDateHeader th.wasHidden, .items td.wasHidden {
    background: white;
    background: repeating-linear-gradient(45deg, white, white 5px, #ff7d7d 1px, #ff7d7d 6px);
}

.items td.frozen {
    background-color: #dbf2ff;
}