﻿#quote .overview {
    padding: 0;
    width: 995px;
}

.condensed-lookup {
    position: relative;
}

    .condensed-lookup > div {
        padding-right: 29px;
    }

#quote .under-target {
    background-color: #FFE0A3;
}

#quote #od {
    padding: 5px;
}

    #quote #od #DeliveryAddress {
        height: 141px;
    }

    #quote #od #InvoiceAddress {
        height: 141px;
    }

#quote .form-group.showAll {
    margin: 0px;
}

#quote #CustomerID-lookup label {
    font-size: 10px;
}

#quote .customer-details input {
    padding: 1px 2px;
    font-size: 12px;
    width: 620px;
    display: block;
}

#quote .product-lookup .remove {
    margin-top: 5px;
    position: absolute;
    right: 34px;
}

#quote #detail .tab-content #productStock {
    height: 166px;
}

#quote #lines tbody tr.active {
    background-color: #d8e6ff;
}

#quote #standardEditor .tab-content {
    border: 1px solid #ddd;
}

#quote #header .tab-pane {
    height: 176px;
}

#quote #line-info .form-control,
#quote #od .form-control,
#quote #customerDetails .form-control,
#quote #overview .form-control{
    font-size: 12px;
    height: 20px;
    padding: 1px 3px;
}

#quote .lookup .li-remove {
    position: absolute;
    right: 33px;
    top: 2px;
}

#quote .form-group .col-sm-8 {
    padding-right: 29px;
}

#quote .lookup .lookup-button {
    height: 20px;
    width: 25px;
    font-size: 28px;
    padding: 0px 3px;
    line-height: 15px;
    right: 5px;
}

#quote #con {
    width: 1024px;
    height: 100%;
    padding: 10px;
}

#quote .con.input-group .input-group-addon {
    padding: 0 3px;
    font-size: 10px;
}

#quote #header {
    width: 100%;
}

    #quote #header #customerDetails {
        border: 1px solid #ddd;
        margin-bottom: 5px;
        height: 82px;
    }

        #quote #header #customerDetails > div {
            float: left;
        }

            #quote #header #customerDetails > div:first-child {
                width: 290px;
                border-right: 1px solid #ddd;
                height: 100%;
            }

            #quote #header #customerDetails > div:last-child {
                padding: 5px;
            }

                #quote #header #customerDetails > div:last-child label {
                    font-weight: normal;
                    float: left;
                    clear: both;
                    font-size: 12px;
                }

    #quote #header h2 {
        font-size: 14px;
    }

    #quote #header .left-details {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

        #quote #header .left-details #CustomerID-lookup {
            width: 100%;
        }

            #quote #header .left-details #CustomerID-lookup i.glyphicon-remove {
                background-color: #f5f5f5;
            }

        #quote #header .left-details .agency-order {
            width: 100%;
            margin: 0;
            top: -4px;
            position: relative;
        }

            #quote #header .left-details .agency-order label {
                font-size: 10px;
                /*padding-right: 5px;*/
                padding-top: 6px;
            }

#quote #lines {
    width: 100%;
    height: 200px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid lightgray;
    box-sizing: border-box;
}

    #quote #lines .so-table {
        width: 1200px;
    }

    #quote #lines #tScroll {
        overflow-x: auto;
        height: 177px;
    }

    #quote #lines table {
        table-layout: fixed;
        width: 100%;
        font-size: 12px;
    }

    #quote #lines #tHead td {
        background-color: aliceblue;
    }

    #quote #lines #tHead td {
        border-right: 1px solid lightgray;
        padding: 2px 5px;
    }

    #quote #lines #tBody td {
        border: 1px solid lightgray;
        padding: 1px 4px;
    }

#quote #detail {
    width: 100%;
    border: 1px solid #e3e3e3;
    border-top-color: #e3e3e3;
    border-top-color: transparent;
}

    #quote #detail .tab-content {
        border: none;
        padding: 0;
    }

    #quote #detail .nav-tabs > li.active:first-child > a {
        border: none;
        border-right: 1px solid #ddd;
    }

    #quote #detail .nav-tabs > li.active > a {
        border: none;
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }

    #quote #detail hr {
        margin-top: 2px;
        margin-bottom: 2px;
    }

#quote .imp {
    margin-left: 5px;
    float: left;
    height: 45px;
}

    #quote .imp label {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 0;
    }

#quote #detail #p {
    width: 200px;
}

    #quote #detail #p .lookup .li-remove {
        position: initial;
    }

#quote #detail #d {
    width: 140px;
    float: left;
}

#quote #detail #mf {
    width: 120px;
}

#quote #detail #q {
    width: 60px;
}

#quote #detail #u {
    width: 80px;
}

#quote #detail #ic {
    width: 70px;
}

#quote #detail #transferCost {
    width: 125px;
}

#quote #detail #transferCurrency {
    width: 110px;
}

#quote #detail #transferRef {
    width: 110px;
}

#quote #detail #sbp {
    width: 110px;
}

#quote #detail #sbpr {
    width: 125px;
}

#quote #detail #pa input {
    padding: 0;
    margin: 1px 0;
}

#quote #detail #conRef {
    width: 105px;
}

#quote #detail #cr {
    width: 105px;
}

#quote #detail #line {
    border-bottom: 1px solid #ddd;
}

#quote #detail #notes {
    float: left;
    height: 90px;
    width: 300px;
    border-right: 1px solid #ddd;
    padding-right: 5px;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #quote #detail #notes textarea {
        height: 67px;
        resize: none;
    }

#quote #detail #controls {
    width: 158px;
    float: left;
    height: 45px;
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #quote #detail #controls > div > div {
        float: left;
    }

        #quote #detail #controls > div > div[data-disabled="true"] i {
            background-color: #f2f2f2;
            color: #848484 !important;
            cursor: not-allowed;
        }

    #quote #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;
    }

        #quote #detail #controls i:hover {
            background-color: #efefef;
        }

    #quote #detail #controls > div:last-child i {
        border-right-color: #ddd;
    }

#quote #detail #stats {
    height: 45px;
    border-top: 1px solid #ddd;
    float: left;
    width: 383px;
    padding-right: 10px;
    display: table;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #quote #detail #stats > div {
        font-size: 12px;
        display: table-cell;
        text-align: center;
        vertical-align: middle;
    }

        #quote #detail #stats > div > div {
            float: left;
            width: 25%;
        }

    #quote #detail #stats label {
        font-weight: normal;
        margin: 0;
        clear: both;
        width: 100%;
    }

    #quote #detail #stats > div:first-child > div label:first-child {
        font-weight: bold;
    }

#quote #detail #drop {
    float: left;
    height: 45px;
}

    #quote #detail #drop input[readonly]:not([disabled="disabled"]) {
        background-color: #fff;
    }

    #quote #detail #drop > div {
        width: 71px;
    }

#quote #detail #leadtime-container {
    width: 112px;
    border-right: 1px solid #ddd;
}

#quote #detail #leadtime-container #leadtime {
    float: left;
    width: 32px;
    margin-right: 2px;
}

#quote #detail #leadtime-container .leadtimeperiod-lookup {
    float: left;
    width: 77px;
}

#quote #detail #totals {
    border-left: 1px solid #ddd;
    float: left;
    height: 45px;
}

    #quote #detail #totals > div {
        width: 75px;
    }

#quote #detail #transfer {
    height: 45px;
    border-top: 1px solid #ddd;
    float: left;
    margin-right: 5px;
}

#quote #detail #end {
    height: 45px;
    border-top: 1px solid #ddd;
    float: left;
    border-left: 1px solid #ddd;
}

#quote #overview {
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

    #quote #overview #delivery {
        clear: both;
    }

    #quote #overview > div {
        border-bottom: 1px solid #ddd;
    }

        #quote #overview > div:last-child {
            border-bottom: none;
        }

        #quote #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;
        }

        #quote #overview > div > div {
            float: left;
        }

    #quote #overview #del #dm {
        width: 128px;
    }


        #quote #overview #del #dm .condensed-lookup > div {
            padding-right: 24px;
        }

        #quote #overview #del #dm .lookup .lookup-button {
            right: 0;
        }

        #quote #overview #del #dm .lookup .li-remove {
            right: 29px;
        }

    #quote #overview #del #cost {
        width: 80px;
    }

    #quote #overview #margins {
        clear: both;
    }

    #quote #overview #totals > label {
        font-weight: bold;
    }

#quote .so-group {
    width: 300px;
    float: left;
}


    #quote .so-group label {
        font-size: 10px;
    }

#quote #overview {
    margin-top: 10px;
}

/* Tabs */

#quote #detail .tab-content #priceHistoryTab {
    height: 166px;
}

/* Price Breaks Tab */

#quote .priceBreaksHeader {
    float: left;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: normal;
}

#quote label.priceBreaksHeader:hover {
    cursor: pointer;
}

#quote #priceBreaksTab .it-cont {
    border: 1px solid #ccc;
    height: 107px;
}

#quote .priceBreaksContainer:first-child {
    margin-left: 5px;
}

#quote .priceBreaksContainer {
    width: 200px;
    height: 136px;
    float: left;
    margin-left: 10px;
}

#quote .priceBreaksHeader input {
    float: left;
    margin: 2px 5px 0 0;
}

/* Order History */

#quote #cph {
    height: 168px;
}

/* Order Details */

#quote #detail #state {
    float: left;
    border-top: 1px solid #ddd;
    height: 45px;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
}

    #quote #detail #state > div {
        width: 70px;
    }

#quote #detail #statecontrols {
    width: 81px;
    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;
}

    #quote #detail #statecontrols > div > div {
        float: left;
    }

        #quote #detail #statecontrols > div > div[data-disabled="true"] i {
            background-color: #f2f2f2;
            color: #848484 !important;
            cursor: not-allowed;
        }

    #quote #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;
    }

        #quote #detail #statecontrols i:hover {
            background-color: #efefef;
        }

    #quote #detail #statecontrols > div:last-child i {
        border-right-color: #ddd;
    }

    #quote #detail #statecontrols .state-cancel i {
        font-weight: bold;
        font-family: Verdana;
    }

    #quote #detail #statecontrols .state-reinstate i {
        font-weight: bold;
        font-family: Verdana;
    }

/* import excel csv */

#quote .import-left-section {
    float: left;
    overflow: hidden;
}

    #quote .import-left-section .remove-file {
        background-color: #fff;
        font-size: 12px;
        position: absolute;
        right: 0;
        top: 4px;
    }

    #quote .import-left-section .fileupload-container {
        width: 270px;
    }

    #quote .import-left-section .fileupload {
        position: relative;
        margin: 10px;
    }

#quote .mappings-container {
    width: 270px;
}

    #quote .mappings-container .required-asterisk {
        color: #d11414;
    }

    #quote .mappings-container label {
        font-weight: bold;
    }

    #quote .mappings-container .import-database-fields {
        padding-top: 3px;
    }

#quote .import-chevron-bar {
    background-color: #6aa6b5;
    float: left;
    height: 416px;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    width: 1px;
}

    #quote .import-chevron-bar .import-chevron {
        background-color: #ffffff;
        color: #6aa6b5;
        font-size: 30px;
        left: -9px;
        line-height: 14px;
        margin-top: 200px;
        position: relative;
    }

        #quote .import-chevron-bar .import-chevron:hover {
            color: #2482d9;
            cursor: pointer;
        }

#quote .errors .table-container-fullwidth {
    max-height: 83px;
}

#quote .data table {
    max-height: 409px;
}

#quote .data tbody input {
    height: auto;
    padding: 3px 5px;
}

#quote .data .data-rowid {
    width: 50px;
}

#quote .data input.mapping-error {
    background-color: #fff0bc;
}

#quote .data .actions {
    margin-top: 4px;
}

    #quote .data .actions input {
        margin: 0 5px;
    }

/* extra */

#quote #lines .it-head-select label {
    color: transparent;
}

#quote #lines .line-select {
    margin-left: 3px;
}

#quote #lines .line-select-all {
    margin-left: 3px;
}

/*despatch*/
#quote .despatch-quote {
    width: 110px;
    margin-right: 5px;
}

    #quote .despatch-quote > button {
        height: 28px;
        background-color: #5bc0de;
        border-color: #46b8da;
    }

        #quote .despatch-quote > button:hover {
            background-color: #31b0d5;
            border-color: #269abc;
        }

        #quote .despatch-quote > button > span.filter-option {
            text-align: center;
            font-size: 14px;
            color: #fff;
        }

        #quote .despatch-quote > button > span.bs-caret .caret {
            color: #fff;
        }

    #quote .despatch-quote .dropdown-menu li[data-original-index="0"] {
        display: none;
    }

#quote .document-config .sub-title {
    padding-left: 10px;
    padding-bottom: 4px;
}

#quote .document-config textarea {
    height: 143px;
}

#quote .despatch-quote .set-internal-highlight {
    background-color: #d9ffce;
}


#quote #cus_add span, #quote #cus_tel span {
    float: left;
    margin: 2px 10px 0 0px;
    display: block;
    width: 63px;
    border-right: 1px solid #ddd;
    text-align: center;
}

#quote #cus_add input, #quote #cus_tel input {
    float: left;
}

#quote #deliveries > div {
    float: left;
}

#quote #deliveries #delt {
    width: 63px;
    border-right: 1px solid #ddd;
    text-align: center;
    margin-right: 10px;
    height: 30px;
    padding-top: 0px;
    font-size: 11px;
}

#quote .dd {
    margin-right: 5px;
    width: 40px;
    float: left;
}

    #quote .dd > span {
        display: block;
        text-align: center;
        font-size: 9px;
    }


    #quote .dd path {
        fill: #f2f2f2;
        stroke: #939393;
    }

    #quote .dd.am .am-p {
        fill: #63bce4;
        stroke: #a2d5ed;
    }

    #quote .dd.pm .pm-p {
        fill: #f39e31;
        stroke: #d48c31;
    }

    #quote .dd.am .am-t {
        fill: #fff;
        font-weight: bold;
    }

    #quote .dd.pm .pm-t {
        font-weight: bold;
    }

/*stock*/
#quote #stock {
    float: left;
    padding: 0px 5px;
    margin-top: 4px;
    margin-left: 5px;
}

    #quote #stock > div {
        line-height: initial;
    }

    #quote #stock label.stock-header {
        font-weight: normal;
        border-bottom: 1px solid #ccc;
        display: block;
        font-size: 12px;
        margin-top: 2px;
        padding-bottom: 2px;
        margin-bottom: 0px;
    }

    #quote #stock > div label {
        font-weight: normal;
        margin-bottom: 0px;
        font-size: 11px;
        padding: 2px 0;
    }

    #quote #stock .stock-type {
        font-style: italic;
        width: 50px;
        margin-right: 4px;
    }

    #quote #stock .stock-free {
        width: 26px;
    }

    #quote #stock .stock-value {
        width: 35px;
    }