﻿
#purchaseOrder #con {
    width: 1024px;
    height: 100%;
    padding: 10px;
}

#purchaseOrder #supplierDetails .form-control,
#purchaseOrder #od .form-control,
#purchaseOrder #line-info input.form-control,
#purchaseOrder #overview .form-control {
    font-size: 12px;
    height: 20px;
    padding: 1px 3px;
}

#purchaseOrder .lookup .li-remove {
    position: absolute;
    right: 33px;
    top: 2px;
}

#purchaseOrder .form-group .col-sm-8 {
    padding-right: 29px;
}

#purchaseOrder .lookup .lookup-button {
    height: 20px;
    width: 25px;
    font-size: 28px;
    padding: 0px 3px;
    line-height: 15px;
    right: 5px;
}
#purchaseOrder #SupplierID-lookup label {
    font-size: 10px;
}

#purchaseOrder #header {
    width: 100%;
}

#purchaseOrder #header .tab-pane {
    height:180px;
}

#purchaseOrder #header #supplierDetails{
    border:1px solid #ddd;
    margin-bottom:5px;
    height:52px;
}
    #purchaseOrder #header #supplierDetails > div{
        float:left;
    }

    #purchaseOrder #header #supplierDetails > div:first-child {
        width: 290px;
        padding-top:10px;
        border-right:1px solid #ddd;
        height:100%;
    }

    #purchaseOrder #header #supplierDetails > div:last-child{
        padding:5px;
    }

    #purchaseOrder #header #supplierDetails > div:last-child label{
        font-weight:normal;
        float:left;
        clear:both;
        font-size:12px;
    }

#purchaseOrder .supplier-details input {
    padding: 1px 2px;
    font-size: 12px;
    width: 700px;
    display: block;
}

#purchaseOrder #od {
    padding: 5px;
}

#purchaseOrder #od #DeliveryAddress {
    height: 141px;
}

#purchaseOrder #od #InvoiceAddress {
    height: 141px;
}

#purchaseOrder .po-group {
    width: 300px;
    float: left;
}


    #purchaseOrder .po-group label {
        font-size: 10px;
    }
#purchaseOrder #standardEditor .tab-content {
    border: 1px solid #ddd;
}

#purchaseOrder #lines {
    width: 100%;
    height: 270px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid lightgray;
    box-sizing: border-box;
}

#purchaseOrder #detail {
    width: 100%;
    border: 1px solid #e3e3e3;
    border-top-color: #e3e3e3;
    border-top-color: transparent;
}
    #purchaseOrder #detail .tab-content {
        border: none;
        padding: 0;
    }
        #purchaseOrder #detail .tab-content > div {
            height: 136px;
        }
    #purchaseOrder #detail .nav-tabs > li.active:first-child > a {
        border: none;
        border-right: 1px solid #ddd;
    }

    #purchaseOrder #detail .nav-tabs > li.active > a {
        border: none;
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }

    #purchaseOrder #detail hr {
        margin-top: 2px;
        margin-bottom: 2px;
    }

#purchaseOrder .imp {
    margin-left: 5px;
    float: left;
    height: 45px;
}

    #purchaseOrder .imp label {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 0;
    }
#purchaseOrder .con.input-group .input-group-addon{
    padding:0 3px;
    font-size: 10px;
}

#purchaseOrder #detail #line {
    border-bottom: 1px solid #ddd;
}

#purchaseOrder #detail #p {
    width: 200px;
}

#purchaseOrder #detail #p .lookup .li-remove {
    position: initial;
}

#purchaseOrder #detail #d {
    width: 140px;
    float: left;
}

#purchaseOrder #detail #mf {
    width: 120px;
}

#purchaseOrder #detail #conRef {
    width: 108px;
}

#purchaseOrder #detail #cr {
    width: 115px;
}

#purchaseOrder #detail #q {
    width: 60px;
}

#purchaseOrder #detail #u {
    width: 80px;
}

#purchaseOrder #detail #pa input {
    padding: 0;
    margin: 1px 0;
}

#purchaseOrder #detail #ro input {
    padding: 0;
    margin: 1px 0;
}

#purchaseOrder #detail #notes {
    float: left;
    height: 92px;
    /*width: 295px;*/
    width: 260px;
    border-right: 1px solid #ddd;
    padding-right: 5px;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #purchaseOrder #detail #notes.torex-only {
        width: 225px;
    }

    #purchaseOrder #detail #notes textarea {
        height: 67px;
        resize: none;
    }
#purchaseOrder #detail #drop {
    float: left;
    margin-right: 5px;
}

    #purchaseOrder #detail #drop > div {
        width: 71px;
    }
#purchaseOrder #detail #stock {
    float: left;
    border-left: 1px solid #ddd;
    margin-right: 5px;
}

    #purchaseOrder #detail #stock > div {
        width: 57px;
    }

#purchaseOrder #detail #totals {
    border-left: 1px solid #ddd;
    float: left;
}

#purchaseOrder #detail #totals > div{
    width: 66px;
}

#purchaseOrder #detail #controls {
    width: 186px;
    float: left;
    height: 47px;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #purchaseOrder #detail #controls.torex-only {
        width: 221px;
    }

    #purchaseOrder #detail #controls > div > div {
        float: left;
    }

    #purchaseOrder #detail #controls > div > div[data-disabled="true"] i {
        background-color: #f2f2f2;
        color: #848484 !important;
        cursor: not-allowed;
    }

#purchaseOrder #detail #controls i {
    background-color: #fcfcfc;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

    #purchaseOrder #detail #controls i:hover {
        background-color: #efefef;
    }

/*#purchaseOrder #detail #stocksummary {
    width: 45px;
    float: left;
    height: 45px;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

#purchaseOrder #detail #stocksummary > div > div {
    float: left;
}
    */
    #purchaseOrder #detail #othercontrols #stocksummary > div > div[data-disabled="true"] i {
        background-color: #f2f2f2;
        color: #848484 !important;
        cursor: not-allowed;
    }
    /*
#purchaseOrder #detail #stocksummary i {
    background-color: #fcfcfc;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

    #purchaseOrder #detail #stocksummary i:hover {
        background-color: #efefef;
    }

#purchaseOrder #detail #stocksummary > div:last-child i {
    border-right-color: #ddd;
}*/

/*#purchaseOrder #detail #allocations {
    width: 45px;
    float: left;
    height: 45px;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #purchaseOrder #detail #allocations > div > div {
        float: left;
    }
    */
        #purchaseOrder #detail #othercontrols #allocations > div > div[data-disabled="true"] i {
            background-color: #f2f2f2;
            color: #848484 !important;
            cursor: not-allowed;
        }
        /*
#purchaseOrder #detail #allocations i {
    background-color: #fcfcfc;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

    #purchaseOrder #detail #allocations i:hover {
        background-color: #efefef;
    }

#purchaseOrder #detail #allocations > div:last-child i {
    border-right-color: #ddd;
}*/

#purchaseOrder #detail #controls > div:last-child i {
    border-right-color: #ddd;
}

#purchaseOrder #detail #stats {
    height: 47px;
    border-top: 1px solid #ddd;
    float: left;
    /*width: 347px;*/
    width: 310px;
    /*padding-right: 3px;*/
    display: table;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #purchaseOrder #detail #stats > div {
        /*margin-right: 10px;*/
        font-size: 12px;
        display: table-cell;
        text-align: center;
        vertical-align:middle;
    }

        #purchaseOrder #detail #stats > div > div {
            float: left;
            width: 25%;
        }

    #purchaseOrder #detail #stats label {
        font-weight: normal;
        margin: 0;
        /*float: left;*/
        clear: both;
        width: 100%;
    }

    #purchaseOrder #detail #stats > div:first-child > div label:first-child {
        font-weight:bold;
        font-size:10px;
    }

#purchaseOrder #overview {
    border: 1px solid #ddd;
    margin-bottom:20px;
    margin-top: 10px;
}

#purchaseOrder #overview > div{
    border-bottom:1px solid #ddd;
}
#purchaseOrder #overview > div:last-child{
    border-bottom:none;
}

#purchaseOrder #overview > div > label{
    float:left;
    height:45px;
    margin:0;
    line-height:40px;
    width:100px;
    text-align:right;
    border-right:1px solid #ddd;
    padding:5px;
    box-sizing:border-box;
    font-weight:normal;
    background-color:#f8f8f8;
}

    #purchaseOrder #overview > div > div {
        float:left;
    }

    #purchaseOrder #overview #del #dm {
        width: 128px;
    }


    #purchaseOrder #overview #del #dm .condensed-lookup > div {
        padding-right: 24px;
    }

    #purchaseOrder #overview #del #dm .lookup .lookup-button  {
        right: 0;
    }

    #purchaseOrder #overview #del #dm .lookup .li-remove {
        right: 29px;
    }


    #purchaseOrder #overview #del #cost {
        width: 80px;
    }

    #purchaseOrder #overview #totals > label{
        font-weight:bold;
    }

    /* Order History */
#purchaseOrder #sph {
    height: 168px;
}


/* import excel csv*/
#purchaseOrder .import-left-section {
    float: left;
    overflow: hidden;
}

    #purchaseOrder .import-left-section .remove-file {
        background-color: #fff;
        font-size: 12px;
        position: absolute;
        right: 0;
        top: 4px;
    }

    #purchaseOrder .import-left-section .fileupload-container {
        width: 270px;
    }

    #purchaseOrder .import-left-section .fileupload {
        position: relative;
        margin: 10px;
    }

#purchaseOrder .mappings-container {
    width: 270px;
}

    #purchaseOrder .mappings-container .required-asterisk {
        color: #d11414;
    }

    #purchaseOrder .mappings-container label {
        font-weight: bold;
    }

    #purchaseOrder .mappings-container .import-database-fields {
        padding-top: 3px;
    }

#purchaseOrder .import-chevron-bar {
    background-color: #6aa6b5;
    float: left;
    height: 416px;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    width: 1px;
}

    #purchaseOrder .import-chevron-bar .import-chevron {
        background-color: #ffffff;
        color: #6aa6b5;
        font-size: 30px;
        left: -9px;
        line-height: 14px;
        margin-top: 200px;
        position: relative;
    }

        #purchaseOrder .import-chevron-bar .import-chevron:hover {
            color: #2482d9;
            cursor: pointer;
        }
#purchaseOrder .errors .table-container-fullwidth {
    max-height: 83px;
}

#purchaseOrder .data table {
    max-height: 409px;
}

#purchaseOrder .data tbody input {
    height: auto;
    padding: 3px 5px;
}

#purchaseOrder .data .data-rowid {
    width: 50px;
}

#purchaseOrder .data input.mapping-error {
    background-color: #fff0bc;
}

#purchaseOrder .data .actions {
    margin-top: 4px;
}

    #purchaseOrder .data .actions input {
        margin: 0 5px;
    }





#purchaseOrder #detail #state {
    float: left;
    border-top: 1px solid #ddd;
}

    #purchaseOrder #detail #state > div {
        width: 73px;
    }




#purchaseOrder #detail #statecontrols {
    width: 81px;
    float: left;
    height: 45px;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

    #purchaseOrder #detail #statecontrols > div > div {
        float: left;
    }

    #purchaseOrder #detail #statecontrols > div > div[data-disabled="true"] i {
        background-color: #f2f2f2;
        color: #848484 !important;
        cursor: not-allowed;
    }

#purchaseOrder #detail #statecontrols i {
    background-color: #fcfcfc;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

    #purchaseOrder #detail #statecontrols i:hover {
        background-color: #efefef;
    }

#purchaseOrder #detail #statecontrols > div:last-child i {
    border-right-color: #ddd;
}

#purchaseOrder #detail #othercontrols {
    /*width: 81px;*/
    width: 80px;
    float: left;
    height: 45px;
    padding: 5px;
    padding-left: 3px;
    padding-right: 3px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

    #purchaseOrder #detail #othercontrols > div > div {
        float: left;
    }

        #purchaseOrder #detail #othercontrols > div > div[data-disabled="true"] i {
            background-color: #f2f2f2;
            color: #848484 !important;
            cursor: not-allowed;
        }

    #purchaseOrder #detail #othercontrols i {
        background-color: #fcfcfc;
        width: 35px;
        height: 35px;
        text-align: center;
        line-height: 35px;
        font-size: 20px;
        border: 1px solid #ddd;
        border-right-color: transparent;
    }

        #purchaseOrder #detail #othercontrols i:hover {
            background-color: #efefef;
        }

    #purchaseOrder #detail #othercontrols > div:last-child i {
        border-right-color: #ddd;
    }

/*despatch*/
#purchaseOrder .despatch-purchase-order {
    width: 110px;
    margin-right: 5px;
}

    #purchaseOrder .despatch-purchase-order > button {
        height: 28px;
        background-color: #5bc0de;
        border-color: #46b8da;
    }

        #purchaseOrder .despatch-purchase-order > button:hover {
            background-color: #31b0d5;
            border-color: #269abc;
        }

        #purchaseOrder .despatch-purchase-order > button > span.filter-option {
            text-align: center;
            font-size: 14px;
            color: #fff;
        }

        #purchaseOrder .despatch-purchase-order > button > span.bs-caret .caret {
            color: #fff;
        }

    #purchaseOrder .despatch-purchase-order .dropdown-menu li[data-original-index="0"] {
        display: none;
    }

#purchaseOrder .document-config .sub-title {
    padding-left: 10px;
    padding-bottom: 4px;
}

#purchaseOrder .document-config textarea {
    height: 143px;
}

/* Tabs */

#purchaseOrder #detail .tab-content #priceHistoryTab {
    height: 166px;
}


