﻿/* Setup */
#sidebar {
    background-color:#ddd;
    margin-top:-8px;
}
#header > .navbar-collapse > ul.navbar-center > li > a {
    /* Bootstrap primary button */
    color: #fff;
    background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
    background-image:      -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
    background-image:         linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #3e8f3e;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    border-radius:4px;
    /* Padding */
    margin-top:8px;
    padding-top:7px;
    padding-bottom:7px;
    margin-right:10px;
}
#header > .navbar-collapse > ul.navbar-center > li > a:hover {
    background-color: #419641;
    background-position: 0 -15px;
}
#header > .navbar-collapse > ul.navbar-right {
    margin-right:15px;
}

@media screen and  (max-width: 768px) {
    #content{
        padding:20px 0px 5px 0px;
        width:99%;
    }
}

@media (min-width: 768px) {
    /* Sidebar/Content Layout */
    form.bwh-inside {
        width:99%;
    }
    #content {
        padding-left:0px;
        padding-right:0px;
        width:auto;
        margin-left:65px;
        margin-right:0px;
        display:block;
    }
    #sidebar {
        top:50px;
        width:62px;
        margin-top:0px;
        margin-left:0px;
        padding:5px 0px 0px 0px;
        float:left;
        position:static;
        background-color:#337ab7;
    }
    /* Enabling Manual Glyphicons */
    #sidebar > ul.nav > li > a {
        position: relative;
        top: 1px;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        font-style: normal;
        font-weight: normal;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow:hidden;
        font-size:32px;
        color:white;
        padding:15px 16px 15px 14px;
    }
    #sidebar > ul.nav > li > a:hover {
        background-color:#eee;
        color:#a94442;
    }
    #sidebar > ul.nav > li.active > a{
        background-color:#fcf8e3;
        color:#8a6d3b;
    }
    #sidebar > ul.nav > li > a > span.glyphicon-replacement {
        display:none;
    }
    #sidebar > ul.nav > li > a:before {/*Default*/
        content: "\e144";
    }
    #sidebar > ul.nav > li.li-admin-dashboard > a:before {/*Dashboard*/
        content: "\e141";
    }
    #sidebar > ul.nav > li.li-admin-status > a:before {/*Tasks*/
        content: "\e137";
    }
    #sidebar > ul.nav > li.li-admin-company > a:before {/*Company*/
        content: "\e139";
    }
    #sidebar > ul.nav > li.li-admin-stock-level > a:before {/*Stock Level*/
        content: "\e185";
    }
    #sidebar > ul.nav > li.li-admin-product > a:before {/*Product*/
        content: "\e039";
    }
    #sidebar > ul.nav > li.li-admin-sales-quotes > a:before {/*Sales Quotes*/
        content: "\e161";
    }
    #sidebar > ul.nav > li.li-admin-sales-order > a:before {/*Sales Orders*/
        content: "\e163";
    }
    #sidebar > ul.nav > li.li-admin-purchase-orders > a:before {/*Purchase Orders*/
        content: "\e164";
    }
    #sidebar > ul.nav > li.li-admin-import-job > a:before {/*Import Job*/
        content: "\e169";
    }
    #sidebar > ul.nav > li.li-admin-picking-tickets > a:before {/*Picking Ticket*/
        content: "\e170";
    }
    #sidebar > ul.nav > li.li-admin-breakdown-adjusts > a:before {/*Breakdown Adjust*/
        content: "\e167";
    }
    #sidebar > ul.nav > li.li-admin-manual-adjusts > a:before {/*Manual Adjust*/
        content: "\e166";
    }
    #sidebar > ul.nav > li.li-admin-management > a:before {/*Management*/
        content: "\e218";
    }
    #sidebar > ul.nav > li.li-admin-cross-billing > a:before {/*Cross Billing*/
        content: "\e224";
    }
    #sidebar > ul.nav > li.li-admin-store > a:before {/*Store*/
        content: "\e040";
    }
    #sidebar > ul.nav > li.li-admin-billing > a:before {/*Billing*/
        content: "\e177";
    }
    #sidebar > ul.nav > li.li-admin-workflow > a:before {/*Workflow*/
        content: "\e178";
    }
    #sidebar > ul.nav > li.li-admin-accounts > a:before {/*Accounts*/
        content: "\e008";
    }
    #sidebar > ul.nav > li.li-admin-config > a:before {/*Config*/
        content: "\e210";
    }
	#sidebar > ul.nav > li.li-admin-certificate > a:before { /*Certificates*/
        content: "\e032";
    }
    /* Drop Down Menu */
    #sidebar > ul.navbar-nav > li {
        padding-left:0;
        margin-top:-6px;
    }
    #sidebar .navbar-nav > li.active > a{
        background:none;
    }
    #sidebar .navbar-nav > li > .dropdown-menu{
        left:62px;
        top:15px;
        min-width:200px;
        text-align:left;
        border:none;
        box-shadow:none;
        border-top-left-radius:0px;
        border-bottom-left-radius:0px;
        border-top-right-radius:3px;
        border-bottom-right-radius:3px;
        background-color:#d9edf7;
    }
    #sidebar .navbar-nav > li:hover > .dropdown-menu{
        display:block;
        padding:0;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li > a{
        border-radius:0px;
        border-right:solid 1px #337ab7;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li:first-of-type > a{
        border-top:solid 1px #337ab7;
        border-top-right-radius:3px;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li:last-of-type > a{
        border-bottom-right-radius:3px;
        border-bottom:solid 1px #337ab7;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li > a, 
    #sidebar .navbar-nav > li > .dropdown-menu > li > a:visited{
        color:#333;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li > a{
        padding:8px 15px;
    }
    #sidebar .navbar-nav > li > .dropdown-menu > li > a:hover{
        background-color:#eee;
        color:#a94442;
        text-indent:5px;
    }
    #sidebar .navbar-nav > li.li-admin-management > .dropdown-menu,
    #sidebar .navbar-nav > li:last-of-type > .dropdown-menu{
        top:auto;
        bottom:15px;
    }
}
/* General */
@media screen and (min-width: 775px){
    .navbar-form.navbar-right.navbar-always-right {
        float: right!important;
        margin-right: -15px;
    }
}

@media screen and (max-width: 767px){
    .navbar-form.navbar-right.navbar-always-right .input-group {
        display: inline-table;
        vertical-align: middle;
    }
    .navbar-form.navbar-right.navbar-always-right .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
}
.table > tbody > tr > td.data-grid-empty-row {
    text-align: center;
}

/* Reference Button */
.btn-reference {
  color: #555;
  background-color: #eee;
  border-color: #ccc;
}
.btn-reference:focus,
.btn-reference.focus {
  color: #000;
  background-color: #e6e6e6;
  border-color: #c4c4c4;
}
.btn-reference:hover {
  color: #000;
  background-color: #e6e6e6;
  border-color: #c4c4c4;
}
.btn-reference:active,
.btn-reference.active,
.open > .dropdown-toggle.btn-reference {
  color: #000;
  background-color: #a8aaa8;
  border-color: #606060;
}
.btn-reference:active:hover,
.btn-reference.active:hover,
.open > .dropdown-toggle.btn-reference:hover,
.btn-reference:active:focus,
.btn-reference.active:focus,
.open > .dropdown-toggle.btn-reference:focus,
.btn-reference:active.focus,
.btn-reference.active.focus,
.open > .dropdown-toggle.btn-reference.focus {
  color: #000;
  background-color: #a8aaa8;
  border-color: #606060;
}
.btn-reference:active,
.btn-reference.active,
.open > .dropdown-toggle.btn-reference {
  background-image: none;
}
.btn-reference.disabled:hover,
.btn-reference[disabled]:hover,
fieldset[disabled] .btn-reference:hover,
.btn-reference.disabled:focus,
.btn-reference[disabled]:focus,
fieldset[disabled] .btn-reference:focus,
.btn-reference.disabled.focus,
.btn-reference[disabled].focus,
fieldset[disabled] .btn-reference.focus {
  background-color: #a8aaa8;
  border-color: #606060;
}
.btn-reference .badge {
  color: #b5b6b5;
  background-color: #fff;
}

/* Product Search Modal */
.product-search-modal-dialog{
    width:820px;
}
.product-search-modal-dialog > .modal-content > .data-parts-load-container > .alert{
    margin:15px;
}
.product-search-modal-dialog > .modal-content > div:not(.hide) > .data-parts-container{
    width:820px;
    margin:5px 0px 0px -5px;
}
.product-search-modal-dialog > .modal-content > .data-parts-load-container > .data-parts-container > div > .product-level-placeholder-container{
    display:none;
}
.product-search-container {
    padding:8px;
    width:456px;
    text-align:right;
    margin:0px auto 0px auto;
}
.product-search-container .form-group{
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

/* Utilities Container */
.utilities-container
{
    display: inline-table;
    vertical-align: middle;
}
.utilities-container .form-group:first-of-type
{
    margin-left:10px;
}
.utilities-container .form-group
{
    padding:0px 5px;
}
.utilities-container .form-group:last-of-type
{
    margin-right:10px;
}
.tab-content-hide-panel-top-active .tab-pane.active .panel
{
    border-top:0px;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
}

/* Order Edit */
.order-details-overview-left-column
{
    padding-top:28px;
}
/* Select 2 Modifications */
.select2-results ul li[aria-disabled="true"]
{
    display:none;
}
/* Order Item Edit Table */
.panel > .panel-body > div > div > .order-standalone-btn {
    display:none;
}
.order-item-table > thead > tr > th {
    border-bottom: 1px solid #ddd;
}
.order-item-table  > tbody > tr > td > div.row > div > .form-horizontal{
    margin-top:6px;
}
.order-item-table tr td:nth-last-child(1)/*Line Controls*/
{
    width:90px;
    text-align:center;
}
.order-item-table tr td:nth-last-child(2),/*Price*/
.order-item-table tr td:nth-last-child(2) div.input-group
{
    width:160px;
}
.order-item-table tr td:nth-last-child(3)/*Quantity*/
{
    width:100px;
}
.order-item-table tr td:nth-of-type(1)/*Product*/
{
    width:auto;
}
.order-item-table tr td:nth-of-type(2)/*Manufacturer*/
{
    width:100px;
}
.order-item-table tr td:nth-of-type(3)/*Reference*/
{
    width:230px;
}
.order-item-table tr.stock-view td > .table
{
    text-align:left;
}
.input-group.order-item-currency > .input-group-addon{
    width:20px;
}
.order-item-currency{
    width:150px;
    margin-left:5px;
}
.product-search-code,
.order-item-search-number
{
    float:right;
}
.manufacturer-selection-code {
    display:block;
}
.product-level-search-name,
.product-level-selection-name{
    width:auto;
    padding-right:10px;
}
.product-level-search-code,
.product-level-selection-code{
    color:#3c763d;
}
.product-level-search-in-stock,
.product-level-selection-in-stock{
    color:#a94442;
    float:right;
}
.product-level-selection-in-stock{
    padding-right:10px;
}
.select2-results__option--highlighted > .product-level-search-item{
    background-color:#d9edf7;
    padding:6px;
    margin:-6px;
    overflow:hidden;
}
.select2-results__option--highlighted > .product-level-search-item > .product-level-search-name{
    color:#333;
}
.select2-results__option--highlighted > .product-level-search-item > .product-level-search-code{
    color:#31708f;
}
.product-level-search-code::before,
.product-level-selection-code::before{
    content:"(";
}
.product-level-search-code::after,
.product-level-selection-code::after{
    content:")";
}
.manufacturer-selection-code,
.order-item-search-number,
.order-item-selection-number,
.manufacturer-code
{
    color:#3c763d;
}
.currency-drop-down
{
    min-width:120px;
}
@media (min-width: 1200px)
{
    .manufacturer-search-name
    {
        display:initial;
    }
    .manufacturer-search-code
    {
        color:#3c763d;
    }
}
.order-item-table > tbody > tr > td > div.modal{
    text-align:left;
}
.order-item-table > tbody > tr:not(.data-parts-row) > td > div.row {
    text-align: left;
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom: -15px;
}
.order-item-table > tbody > tr.data-parts-row > td > div.row {
    margin-left: 0px;
    margin-right: 0px;
}
.order-item-table > tbody > tr.data-parts-row > td > .alert{
    margin-bottom:0px;
}
.order-item-table tr.data-parts-row > td{
    padding:0;
}
.order-item-table tr.data-parts-row > td{
    padding:8px;
}
.order-item-table tr.data-parts-row{
    background-color:#f5f5f5;
}
.order-item-table tr.data-parts-row > td > .data-parts-container > div {
    padding:5px;
    margin:8px 8px 0px 0px;
    background-color:#e7e7e7;
}
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-placeholder-container,
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-level-placeholder-container{
    display:none;
}
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th:nth-of-type(2),
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(2):not(.data-grid-empty-row),
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-level-table > thead > tr > th:nth-of-type(1),
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-level-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(1):not(.data-grid-empty-row) {
    display:none;
}
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th:nth-of-type(1),
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(1):not(.data-grid-empty-row){
    width:50px;
}
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table,
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-level-table,
.order-item-table tr.data-parts-row > td > .data-parts-container .order-item-pick-table{
    margin-bottom:0px;
}
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th,
.order-item-table tr.data-parts-row > td > .data-parts-container .stock-level-table > thead > tr > th{
    background-color:#fff;
}
.panel-body-table-only .order-item-table tr.data-parts-row > td > .data-parts-container .order-item-pick-table{
    margin-top:0px;
}

.data-parts-container > div > table > thead > tr > th,
.data-parts-container > div > table > tbody > tr:first-child > th {
    background-color:#d9edf7;
}
.data-parts-container > div > table.stock-level-table > thead > tr > th,
.data-parts-container > div > table.stock-level-table > tbody > tr:first-child > th {
    background-color:#fcf8e3;
}
/* Order Panel & Invoice Panel*/
.order-panel > .panel-heading,
.invoice-panel > .panel-heading{
    padding:0;
}
.order-panel > .panel-heading > .panel-title,
.invoice-panel > .panel-heading > .panel-title {
    padding:9px 15px 0px;
}
.order-panel > .panel-heading > .form-inline,
.invoice-panel > .panel-heading > .form-inline {
    text-align:right;
}
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:first-child,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:first-child{
    border-top-left-radius:0px;
    border-bottom-left-radius:0px;
}
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control{
    border-top:0px;
    border-bottom:0px;
}
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control:last-child,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon,
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .form-control:last-child{
    border-right:0px;
}
.order-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:not(:first-child),
.invoice-panel > .panel-heading > .form-inline > .form-group > .input-group > .input-group-addon:not(:first-child){
    border-left:0px;
}
.panel.order-panel > .panel-body.panel-body-table-only{
    margin-top: 0px;
}
.panel.order-panel > .panel-body > .row:first-of-type{
    margin-left:-8px;
}
.panel.order-panel > .panel-body > .row:last-of-type{
    margin-top:6px;
    margin-bottom:6px;
}

.panel.order-panel > .panel-body > .row:first-of-type .input-group > .select2-container:nth-last-of-type(1) > .selection > .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* Stock Received & Issued Table */
.panel > .panel-body > .stock-adjust-issued-commands,
.panel > .panel-body > .stock-adjust-received-commands {
    margin-top: -49px;
    margin-right: 5px;
}
.panel > .panel-body > .stock-adjust-issued-commands > .btn,
.panel > .panel-body > .stock-adjust-received-commands > .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}
.panel > .panel-body > .stock-adjust-issued-commands > .btn:first-of-type,
.panel > .panel-body > .stock-adjust-received-commands > .btn:first-of-type{
    border-top-right-radius:3px;
    border-bottom-right-radius:3px;
}
.panel > .panel-body > .stock-adjust-issued-commands > .stock-adjust-standalone-btn,
.panel > .panel-body > .stock-adjust-received-commands > .stock-adjust-standalone-btn {
    display:none;
}
.stock-received-table > thead > tr > th,
.stock-issued-table > thead > tr > th {
    border-bottom: 1px solid #ddd;
}
.stock-received-table > tbody > tr > td > div.row,
.stock-issued-table > tbody > tr > td > div.row{
    text-align: left;
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom:-15px;
}

/* Stock Issued Table */
.input-group.stock-issued-default-sales-order > .input-group-addon {
    width: 20px;
}
.stock-issued-default-sales-order {
    width: 200px;
    margin-right: 15px;
}
.stock-received-table > thead > tr > th {
    border-bottom: 1px solid #ddd;
}
.stock-issued-table > thead > tr.core-details > th:nth-of-type(7),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(7),
.stock-issued-table > thead > tr.core-details > th:nth-of-type(6),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(6),
.stock-issued-table > thead > tr.core-details > th:nth-of-type(1),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(1)
{
    width:60px;
    text-align:center;
}
.stock-issued-table > thead > tr.core-details > th:nth-of-type(4),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(4),
.stock-issued-table > thead > tr.core-details > th:nth-of-type(3),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(3)
{
    width:195px;
}
.stock-issued-table > thead > tr.core-details > th:nth-of-type(5),
.stock-issued-table > tbody > tr.core-details > td:nth-of-type(5)
{
    width:110px;
}

/* Stock Recieved Table */
/*.input-group.stock-received-default-organisation > .input-group-addon,
.input-group.stock-received-default-location > .input-group-addon,
.input-group.stock-received-default-purchase-order > .input-group-addon,
.input-group.stock-received-default-country > .input-group-addon {
    width: 20px;
}
.stock-received-default-organisation,
.stock-received-default-location,
.stock-received-default-purchase-order,
.stock-received-default-country {
    width: 200px;
    margin-right: 15px;
}*/
.stock-received-table > thead > tr.core-details > th:nth-of-type(6),
.stock-received-table > tbody > tr.core-details > td:nth-of-type(6)
{
    width:55px;
    text-align:center;
}
.stock-received-table > thead > tr.core-details > th:nth-of-type(5),
.stock-received-table > tbody > tr.core-details > td:nth-of-type(5)
{
    width:185px;
    text-align:center;
}
.stock-received-table > thead > tr.core-details > th:nth-of-type(4),
.stock-received-table > tbody > tr.core-details > td:nth-of-type(4)
{
    width:160px;
    text-align:center;
}
.stock-received-table tr.core-details td:nth-of-type(1)
{
    width:450px;
}
.stock-received-table tr.core-details td:nth-of-type(2)
{
    width:80px;
}
.default-drop-down
{
    min-width:120px;
}

/* Stock Received Media Table */
.stock-received-media-table tr.core-details td:nth-last-child(1),
.stock-received-media-table tr.core-details td:nth-last-child(2),
.stock-received-media-table tr.core-details td:nth-of-type(1)
{
    width:60px;
    text-align:center;
}

.stock-received-media-table tr.core-details td:nth-last-child(3),
.stock-received-media-table tr.core-details td:nth-last-child(4)
{
    width:150px;
}
.input-group-dropdown-currency
{
    width:75px;
}
#media div[data-place-holder="command-placeholder"]
{
    display:none;
}

/* Stock Level & Product Level Table Shared */
.stock-level-table > thead > tr > th,
.stock-order-table > thead > tr > th,
.product-level-table > thead > tr > th {
    border-bottom: 1px solid #ddd;
}
.stock-level-table tr td,
.stock-level-table tr th,
.stock-order-table tr td,
.stock-order-table tr th,
.product-level-table tr th,
.product-level-table tr td {
    text-align: center;
}
.stock-level-table .product-code,
.stock-level-table .manufacturer-code,
.stock-order-table .product-code,
.stock-order-table .manufacturer-code,
.product-level-table .product-code,
.product-level-table .manufacturer-code {
    color: #3c763d;
}
.stock-level-table tr:not(.data-parts-row) > td > div.row,
.stock-order-table tr:not(.data-parts-row) > td > div.row,
.product-level-table tr:not(.data-parts-row) > td > div.row {
    text-align: left;
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom:-15px;
}
.stock-level-table tr.data-parts-row > td > div.row,
.stock-order-table tr.data-parts-row > td > div.row,
.product-level-table tr.data-parts-row > td > div.row{
    margin-left:5px;
    margin-right:5px;
}
.stock-level-table tr > td > .row > div > .form-group > .input-group > input.form-control:focus,
.stock-order-table tr > td > .row > div > .form-group > .input-group > input.form-control:focus,
.product-level-table tr > td > .row > div > .form-group > .input-group > input.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Stock Level Table */
.stock-level-table > thead > tr > th:nth-of-type(1),
.stock-level-table > tbody > tr:not([data-toggle-row="additional-row"]) > td:nth-of-type(1):not(.data-grid-empty-row) {
    width: 360px;
}
.stock-level-table > thead > tr > th:nth-of-type(1),
.stock-level-table > tbody > tr > td:nth-of-type(1) {/*Product*/
    text-align: left;
}
.stock-level-table > thead > tr > th:nth-of-type(2),
.stock-level-table > tbody > tr > td:nth-of-type(2) {/*Manufacturer*/
    width: 120px;
    text-align: left;
}
.stock-level-table > thead > tr > th:nth-of-type(3),
.stock-level-table > tbody > tr > td:nth-of-type(3) {/*Reference*/
    width: auto;
    text-align: left;
}
.stock-level-table > thead > tr > th:nth-of-type(4),
.stock-level-table > tbody > tr > td:nth-of-type(4) {/*Prefix*/
    width: 80px;
    text-align: left;
}
.stock-level-table > thead > tr > th:nth-of-type(5),
.stock-level-table > tbody > tr > td:nth-of-type(5) {/*Suffix*/
    width: 130px;
    text-align: left;
}
.stock-level-table > thead > tr > th:nth-of-type(6),
.stock-level-table > tbody > tr > td:nth-of-type(6) {/*GD*/
    width: 60px;
}
.stock-level-table > thead > tr > th:nth-of-type(7),
.stock-level-table > tbody > tr > td:nth-of-type(7) {/*AISI*/
    width: 60px;
}
.stock-level-table > thead > tr > th:nth-of-type(8),
.stock-level-table > tbody > tr > td:nth-of-type(8) {/*Quantity*/
    width: 120px;
}
.stock-level-table > thead > tr > th:nth-of-type(9),
.stock-level-table > tbody > tr > td:nth-of-type(9) {/*More Info Buttons*/
    width: 145px;
}
.input-group > .form-group > input[type='text'].form-control.stock-level-search {
    width: 180px;
}
.input-group > .form-group > input[type='text'].form-control.stock-level-exclude {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 180px;
}
.input-group > .input-group-dropdown.stock-level-search-dropdown {
    width: 110px;
}
.input-group > .input-group-dropdown.stock-level-search-dropdown > .select2-container > .selection > .select2-container--default,
.input-group > .input-group-dropdown.stock-level-search-dropdown > .select2-container > .selection > .select2-selection--single {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
.stock-level-manufacturer-search-code, .stock-level-manufacturer-selection-code {
    color: #3c763d;
}

/* Stock Sale Table */
.stock-order-table > thead > tr > th:nth-of-type(1),
.stock-order-table > tbody > tr > td:nth-of-type(1),
.stock-order-table > thead > tr > th:nth-of-type(9),
.stock-order-table > tbody > tr > td:nth-of-type(9){/*Link Buttons*/
    width: 50px;
}
.stock-order-table > thead > tr > th:nth-of-type(2),
.stock-order-table > tbody > tr > td:nth-of-type(2),
.stock-order-table > thead > tr > th:nth-of-type(3),
.stock-order-table > tbody > tr > td:nth-of-type(3),
.stock-order-table > thead > tr > th:nth-of-type(4),
.stock-order-table > tbody > tr > td:nth-of-type(4),
.stock-order-table > thead > tr > th:nth-of-type(5),
.stock-order-table > tbody > tr > td:nth-of-type(5){/*General Text*/
    text-align:left;
}
.stock-order-table > thead > tr > th:nth-of-type(3),
.stock-order-table > tbody > tr > td:nth-of-type(3){/*Manufacturer*/
    width: 100px;
}
.stock-order-table > thead > tr > th:nth-of-type(5),
.stock-order-table > tbody > tr > td:nth-of-type(5){/*Reference*/
    width: 150px;
}
.stock-order-table > thead > tr > th:nth-of-type(6),
.stock-order-table > tbody > tr > td:nth-of-type(6){/*Quantity*/
    width: 110px;
}
.stock-order-table > thead > tr > th:nth-of-type(7),
.stock-order-table > tbody > tr > td:nth-of-type(7){/*Price*/
    width: 100px;
}
.stock-order-table > thead > tr > th:nth-of-type(8),
.stock-order-table > tbody > tr > td:nth-of-type(8){/*Date*/
    width: 120px;
}
.input-group > .form-group > input[type='text'].form-control.stock-order-search {
    width: 180px;
}
.input-group > .form-group > input[type='text'].form-control.stock-order-exclude {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 180px;
}

/* Product Level Table */
.product-level-table > thead > tr > th:nth-of-type(1),
.product-level-table > tbody > tr > td:nth-of-type(1),
.product-level-table > thead > tr > th:nth-of-type(5),
.product-level-table > tbody > tr > td:nth-of-type(5){/*Link Buttons*/
    width: 50px;
}
.product-level-table > thead > tr > th:nth-of-type(6),
.product-level-table > tbody > tr > td:nth-of-type(6) {/*Command Buttons*/
    width:180px;
}
.product-level-table > thead > tr > th:nth-of-type(3),
.product-level-table > tbody > tr > td:nth-of-type(3),
.product-level-table > thead > tr > th:nth-of-type(4),
.product-level-table > tbody > tr > td:nth-of-type(4) {/*Type & In Stock*/
    width: 100px;
}
.product-level-table > thead > tr > th:nth-of-type(2),
.product-level-table > tbody > tr > td:nth-of-type(2) {/*Product*/
    text-align: left;
}
.input-group > .form-group > input[type='text'].form-control.product-level-search {
    width: 200px;
}
.input-group > .form-group > input[type='text'].form-control.product-level-exclude {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 200px;
}
.product-level-table tr.data-parts-row > td{
    padding:0;
}
.product-level-table tr.data-parts-row > td{
    padding:8px;
}
.product-level-table tr.data-parts-row{
    background-color:#f5f5f5;
}
.product-level-table tr.data-parts-row.data-parts-row-stock-sale-order {
    background-color: #eaf8fc;
}
.product-level-table tr.data-parts-row.data-parts-row-stock-purchase-order {
    background-color: #f7ebea;
}
.product-level-table tr.data-parts-row.data-parts-row-stock-level {
    background-color: #f9f1e5;
}
.product-level-table tr.data-parts-row > td > .data-parts-container > div {
    padding:5px;
    margin:8px 8px 0px 0px;
    background-color:#e7e7e7;
}
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-placeholder-container,
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-level-placeholder-container{
    display:none;
}
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th:nth-of-type(2),
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(2):not(.data-grid-empty-row),
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-level-table > thead > tr > th:nth-of-type(1),
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-level-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(1):not(.data-grid-empty-row) {
    display:none;
}
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th:nth-of-type(1),
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table > tbody > tr:not([data-toggle-row]) > td:nth-of-type(1):not(.data-grid-empty-row){
    width:50px;
}
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table,
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-level-table{
    margin-bottom:0px;
}
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-order-table > thead > tr > th,
.product-level-table tr.data-parts-row > td > .data-parts-container .stock-level-table > thead > tr > th{
    background-color:#fff;
}

/* Product View */
.product-view-tab-content > #overview[role="tabpanel"] > .panel > .panel-body-table-only > div[data-place-holder="search-placeholder"]{
    margin:-34px 15px 18px auto;
    width:250px;
}
.product-view-tab-content > #overview[role="tabpanel"] > .panel > .panel-body-table-only > div[data-place-holder="search-placeholder"] > .form-control{
    height:30px;
    font-size:12px;
}
.product-view-tab-content > #overview[role="tabpanel"] > .panel > .panel-body-table-only > div[data-place-holder="search-placeholder"] > .input-group-btn > .btn{
    font-size:10px;
    padding-top:7px;
    padding-bottom:7px;
}
.product-view-tab-content > #stocklevel[role="tabpanel"] > div > div[data-parts-container="loaded"] > div[data-parts="content"] > div.stock-level-placeholder-container,
.product-view-tab-content > #stocksale[role="tabpanel"] > div > div[data-parts-container="loaded"] > div[data-parts="content"] > div.stock-order-placeholder-container{
    display:none;
}
/* Invoice Items */
#invoiceItems > .panel-body > div[data-place-holder] {
    display: none;
}
#invoiceItems > .panel-body > table > tbody > tr > td:nth-last-child(1) {/*Delete*/
    width:60px;
}
#invoiceItems > .panel-body > table > tbody > tr > td:nth-last-child(2),
#invoiceItems > .panel-body > table > tbody > tr > td:nth-last-child(3) {/*Price & Tax*/
    width:160px;
}
#invoiceItems > .panel-body > table > tbody > tr > td:nth-last-child(4) {
    width:140px;
}
#invoiceItems > .panel-body > table > tbody > tr > td:nth-child(1) {
    width:auto;
}
#invoiceItems > .panel-body > table > tbody > tr > td:nth-child(1) > input[type="text"] {
    width:100%;
}

/* Invoice Transaction Items */
.invoice-transaction-table > tbody > tr > th:nth-last-child(1),
.invoice-transaction-table > tbody > tr > td:nth-last-child(1),
.invoice-transaction-table > tbody > tr > th:nth-last-child(2),
.invoice-transaction-table > tbody > tr > td:nth-last-child(2) {/*Status & Currency*/
    width:100px;
}
.invoice-transaction-table > tbody > tr > th:nth-last-child(3),
.invoice-transaction-table > tbody > tr > td:nth-last-child(3) {/*Value*/
    width:140px;
    text-align:center;
}
.invoice-transaction-table > tbody > tr > th:nth-last-child(4),
.invoice-transaction-table > tbody > tr > td:nth-last-child(4) {/*Payment Method*/
    width:140px;
}
.invoice-transaction-table > tbody > tr > th:nth-last-child(5),
.invoice-transaction-table > tbody > tr > td:nth-last-child(5) {/*Timestamp*/
    width:auto;
}
/* Transaction Manage Control */
.transaction-invoice-allocation-amount{
    float:right;
    width:230px;
}
.transaction-invoice-allocation-amount > .form-control{
    text-align:right;
}
/* Search Control */
.search-control-options
{
    width:150px;
}
/* Review Controls */
.table-review td:last-of-type
{
    width:90px;
    text-align:center;
}

/* Badge Customisations */
.badge.badge-warning
{
    background-color:#f0ad4e;
}
.badge.badge-default
{
    background-color:#777;
}
.badge.badge-lg{
    padding:5px 9px;
    border-radius:15px;
}

/* Step Overview Table */
.table.table-step-overview > tbody > tr > td {
    border-top: none;
    border-bottom: solid 1px rgb(221, 221, 221);
}
.table.table-step-overview > tbody > tr > td:nth-of-type(2),
.table.table-step-overview > tbody > tr > td:nth-of-type(5),
.table.table-step-overview > tbody > tr > td:nth-of-type(8) {
    text-align: right;
    width: 50px;
}
.table.table-step-overview > tbody > tr > td:nth-of-type(3),
.table.table-step-overview > tbody > tr > td:nth-of-type(6),
.table.table-step-overview > tbody > tr > td:nth-of-type(9) {
    text-align: center;
    width: 54px;
}
.table.table-step-overview > tbody > tr > td:nth-of-type(3),
.table.table-step-overview > tbody > tr > td:nth-of-type(6) {
    border-right: solid 1px rgb(221, 221, 221);
}
.table.table-step-overview > tbody > tr:first-of-type > td {
    border-top: solid 1px rgb(221, 221, 221);
}
.table.table-step-overview > tbody > tr:last-of-type > td {
    border-bottom: none;
}

/* Panel Dashboard */
.list-dashboard > .list-group-item > .panel-dashboard
{
    margin:-10px -15px -10px -15px;
    border:none;
}
.list-dashboard > .list-group-item > .panel-dashboard > .panel-heading > .badge
{
    margin-left:5px;
}
.panel-dashboard
{
    margin-left:-4px;
    margin-right:4px;
}
.panel-dashboard .panel-heading
{
    border-bottom:none;
}
.panel-dashboard table
{
    margin-bottom:0px;
    border:none;
}
.panel-dashboard table tr, .panel-dashboard table td, .panel-dashboard table th
{
    border:none;
}
.panel-dashboard .table-view-command tr td a[aria-label="Action"]
{
    margin-top:8px;
}
.panel-dashboard .table-view-command tr td a[aria-label="Action"]:nth-of-type(1)
{
    margin-top:0;
}
/* Input Group with Select 2 Dropdown */
.input-group-width-fix
{
    width:100%;
}
.input-group-dropdown
{
    display:table-cell;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group .input-group-dropdown > select
{
    display:none;
}
.input-group-dropdown .select2-container
{
    min-width:75px;
    background-color:#eee;
}

.input-group-dropdown .select2-container .select2-selection--single
{
    border-left:solid 1px #eee;
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    background-color:#eee;
}

/* Input Group Select 2 Support */
.input-group-square > .select2-container > .selection > .select2-selection--single{
    border-top-left-radius:0;
    border-bottom-left-radius:0;
}
.input-group-square > .select2-container:nth-child(2) > .selection > .select2-selection--single{
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
}


/* Table */
.table-view-command > tbody > tr > td:last-child
{
    width:52px;
    text-align:center;
}

/* Span Fixed Control Fix */
.form-horizontal.form-horizontal-static .form-group
{
    margin-bottom:0px;
}
span.form-control-static
{
    display:block;
}

/* Panel Tab Table Fix */
.panel > .panel-body.panel-body-table-only
{
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom:-15px;
}
.panel > .panel-body.panel-body-table-only .table:first-child
{
    margin-top:-15px;
}
.panel > .panel-body.panel-body-table-only > .row
{
    margin-left:0px;
    margin-right:0px;
}
.panel > .panel-body > .table,
.panel > .panel-body > .table-responsive > .table,
.panel > .panel-body > .panel-collapse > .table,
.panel > .panel-body > div > .table,
.panel > .panel-body > .table-responsive > div > .table,
.panel > .panel-body > .panel-collapse > div > .table {
  margin-bottom: 0;
}
.panel > .panel-body > .table caption,
.panel > .panel-body > .table-responsive > .table caption,
.panel > .panel-body > .panel-collapse > .table caption,
.panel > .panel-body > div > .table caption,
.panel > .panel-body > .table-responsive > div > .table caption,
.panel > .panel-body > .panel-collapse > div > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > .panel-body > div > .table:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child,
.panel > .panel-body > div > .table:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .panel-body > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .panel-body > div > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .panel-body > .table-responsive:first-child > div > .table:first-child > tbody:first-child > tr:first-child th:last-child
 {
  border-top-right-radius: 3px;
}
.panel > .panel-body > .table:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child,
.panel > .panel-body > div > .table:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .panel-body > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .panel-body > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .panel-body > .table-responsive:last-child > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > .panel-body > .panel-body + .table,
.panel > .panel-body > .panel-body + .table-responsive,
.panel > .panel-body > .table + .panel-body,
.panel > .panel-body > .table-responsive + .panel-body,
.panel > .panel-body > .panel-body + div > .table,
.panel > .panel-body > .panel-body + .table-responsive,
.panel > .panel-body > div > .table + .panel-body,
.panel > .panel-body > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > .panel-body > .table > tbody:first-child > tr:first-child th,
.panel > .panel-body > .table > tbody:first-child > tr:first-child td,
.panel > .panel-body > div > .table > tbody:first-child > tr:first-child th,
.panel > .panel-body > div > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > .panel-body > .table-bordered,
.panel > .panel-body > .table-responsive > .table-bordered,
.panel > .panel-body > div > .table-bordered,
.panel > .panel-body > .table-responsive > div > .table-bordered {
  border: 0;
}
.panel > .panel-body > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > .table-responsive > .div > .table-bordered > thead > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > th:first-child,
.panel > .panel-body > div > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > td:first-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > td:first-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > .panel-body > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > div > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > .table-responsive > .div > .table-bordered > tbody > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > th:last-child,
.panel > .panel-body > div > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr > td:last-child,
.panel > .panel-body > div > .table-bordered> tbody > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr > td:last-child,
.panel > .panel-body > div > .table-bordered > tfoot > tr > td:last-child,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > .panel-body > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > div > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > .table-responsive > .div > .table-bordered > thead > tr:first-child > td,
.panel > .panel-body > div > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:first-child > td,
.panel > .panel-body > div > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > thead > tr:first-child > th,
.panel > .panel-body > div > .table-bordered > tbody > tr:first-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > .panel-body > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > .table-responsive > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > div > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:last-child > td,
.panel > .panel-body > div > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr:last-child > td,
.panel > .panel-body > div > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tbody > tr:last-child > th,
.panel > .panel-body > div > .table-bordered > tfoot > tr:last-child > th,
.panel > .panel-body > .table-responsive > div > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}
.panel > .panel-body > .table-responsive {
  margin-bottom: 0;
  border: 0;
}
/* Table Bordered Fix */
.table-bordered > thead > tr > th
{
    border-bottom:0px;
}

/* bootstrap-pager fix for List View */
tr.bootstrap-pager {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
 
tr.bootstrap-pager > td > span > a,
tr.bootstrap-pager > td > span > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #337ab7;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}
 
tr.bootstrap-pager > td > span > span {
    margin-left: -1px;
    z-index: 2;
    color: #aea79f;
    background-color: #f5f5f5;
    border-color: #dddddd;
    cursor: default;
}
 
tr.bootstrap-pager > td > span > a:first-child,
tr.bootstrap-pager > td > span > span:first-child {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
 
tr.bootstrap-pager > td > span > a:last-child,
tr.bootstrap-pager > td > span > span:last-child {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
 
tr.bootstrap-pager > td > span > a:hover,
tr.bootstrap-pager > td > span > span:hover,
tr.bootstrap-pager > td > span > a:focus,
tr.bootstrap-pager > td > span > span:focus {
    color: #97310e;
    background-color: #eeeeee;
    border-color: #dddddd;
}
/*
* Document Styles
*/
.pull-right {
    text-align: right;
}
#document-body{
    width: 210mm;
    margin-left: auto;
    margin-right: auto;
}

.header-row {
    width: 100%;
}

.document-logo-container, 
.document-header-text,
.picking-ticket-section .left-footer,
.picking-ticket-section .right-footer  {
    display: inline-block;
}

.document-header-text, .document-footer-text {
    color: blue;
}

.document-logo-container {
    vertical-align: middle;
}

.document-logo-container > img{
    width: 100px;
    height: auto;
    margin: 20px;
}

.document-header-text {
    text-align: center;
    margin-bottom: 20px;
    vertical-align: bottom;
    font-size: 15px;
}

.document-header-text > strong {
    font-size: 20px;
    color: black;
    padding-bottom: 5px;
}

.document-footer-text {
    text-align:left;
}

.row {
    display: flex;
}

.row .header-box {
    flex:1;
}

.document-section .header-box {
    border: 1px solid blue;
    padding: 0 10px;
    color: black;
    display: inline-block;
    font-size: 18px;
    vertical-align: bottom;
    margin: 20px 0;
    width: 97mm;
}

.document-section .header-box.left{
    margin-right: 5px;
}

.document-section .header-box.right {
    margin-left: 5px;
}

.document-section .header-box .header-box-heading {
    color: blue;
    font-size: 14px;
}

.document-section > table {
    border: 1px solid blue;
    color: blue;
    text-align: left;
    width: 100%;
    border-collapse: collapse;
}

.document-section .table-header {
    height: 40px;
}

.document-section table td,
.document-section table th{
    padding: 10px;
}

.document-section .table-header:first-of-type td:nth-of-type(2),
.document-section .table-header:nth-of-type(2) td:first-of-type,
.document-section .order-item td{
    border-right: 1px solid blue;
}

.document-section .table-header:nth-of-type(2) {
    border-bottom: 1px solid blue;
}

.document-section .table-sub-heading th {
    border: 1px solid blue;
}

.table-text,
.order-item {
    color: black;
}

.document-section .document-footer {
    margin-top:20px;
    margin-bottom: 20px;
}

.document-section .document-footer .left-footer {
    width: 60%;
}

.document-section .document-footer .right-footer {
    width: 40%;
}

.document-section .document-footer .left-footer,
.document-section .document-footer .right-footer{
    vertical-align: top;
    display: inline-block;
}

/* General Fix */
.tab-pane > div > .form-horizontal > .form-group > div > .row > div{
    top:0px;
}
.tab-pane > div > .form-horizontal > .form-group > div > .row > div > .input-group{
    margin-left:-4px;
    margin-right:4px;
}
/* Nav Tab Body */
.nav-tab-body
{
    border-left:solid 1px #eee;
    border-right:solid 1px #eee;
    border-bottom:solid 1px #eee;
    padding-top:25px;
    margin-bottom:20px;
}

/* Input Group with Select 2 Dropdown */
.input-group-width-fix
{
    width:100%;
}
.input-group-dropdown
{
    display:table-cell;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group .input-group-dropdown > select
{
    display:none;
}
.input-group-dropdown .select2-container
{
    min-width:75px;
    background-color:#eee;
}
.input-group-dropdown .select2-container .select2-selection--single
{
    border-left:solid 1px #eee;
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    background-color:#eee;
}
.select2-container > .selection > .select2-container--default:focus,
.select2-container > .selection > .select2-selection--single:focus{
    outline:0;
}
.input-group > .select2-container > .selection > .select2-container--default,
.input-group > .select2-container > .selection > .select2-selection--single {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
.input-group > select.form-control.select2-hidden-accessible{
    display:none;
}

/* Asp.net Disabled Button */
.btn.aspNetDisabled {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
}

a.btn.aspNetDisabled {
  pointer-events: none;
}

.btn-default.aspNetDisabled:hover,
.btn-default.aspNetDisabled:focus,
.btn-default.aspNetDisabled.focus {
    background-color: #fff;
    border-color: #ccc;
}

.btn-primary.aspNetDisabled:hover,
.btn-primary.aspNetDisabled:focus,
.btn-primary.aspNetDisabled.focus {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-success.aspNetDisabled:hover,
.btn-success.aspNetDisabled:focus,
.btn-success.aspNetDisabled.focus {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-info.aspNetDisabled:hover,
.btn-info.aspNetDisabled:focus,
.btn-info.aspNetDisabled.focus {
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-warning.aspNetDisabled:hover,
.btn-warning.aspNetDisabled:focus,
.btn-warning.aspNetDisabled.focus {
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-danger.aspNetDisabled:hover,
.btn-danger.aspNetDisabled:focus,
.btn-danger.aspNetDisabled.focus {
  background-color: #d9534f;
  border-color: #d43f3a;
}

.dropdown-menu > .aspNetDisabled > a,
.dropdown-menu > .aspNetDisabled > a:hover,
.dropdown-menu > .aspNetDisabled > a:focus {
  color: #777;
}

.dropdown-menu > .aspNetDisabled > a:hover,
.dropdown-menu > .aspNetDisabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.nav > li.aspNetDisabled > a {
  color: #777;
}

.nav > li.aspNetDisabled > a:hover,
.nav > li.aspNetDisabled > a:focus {
  color: #777;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}

.navbar-default .navbar-nav > .aspNetDisabled > a,
.navbar-default .navbar-nav > .aspNetDisabled > a:hover,
.navbar-default .navbar-nav > .aspNetDisabled > a:focus {
  color: #ccc;
  background-color: transparent;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
}

.navbar-inverse .navbar-nav > .aspNetDisabled > a,
.navbar-inverse .navbar-nav > .aspNetDisabled > a:hover,
.navbar-inverse .navbar-nav > .aspNetDisabled > a:focus {
  color: #444;
  background-color: transparent;
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .aspNetDisabled > a:focus {
    color: #444;
    background-color: transparent;
  }
}

.pagination > .aspNetDisabled > span,
.pagination > .aspNetDisabled > span:hover,
.pagination > .aspNetDisabled > span:focus,
.pagination > .aspNetDisabled > a,
.pagination > .aspNetDisabled > a:hover,
.pagination > .aspNetDisabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.pager .aspNetDisabled > a,
.pager .aspNetDisabled > a:hover,
.pager .aspNetDisabled > a:focus,
.pager .aspNetDisabled > span {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
}

.list-group-item.aspNetDisabled,
.list-group-item.aspNetDisabled:hover,
.list-group-item.aspNetDisabled:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #eee;
}

.list-group-item.aspNetDisabled .list-group-item-heading,
.list-group-item.aspNetDisabled:hover .list-group-item-heading,
.list-group-item.aspNetDisabled:focus .list-group-item-heading {
  color: inherit;
}

.list-group-item.aspNetDisabled .list-group-item-text,
.list-group-item.aspNetDisabled:hover .list-group-item-text,
.list-group-item.aspNetDisabled:focus .list-group-item-text {
  color: #777;
}

/* Panel Button */
.panel-heading > .panel-btn-group{
    float:right;
    margin-top:-6px;
}

/* Select 2 Capitalise */
.select2-capitalise{
    text-transform:capitalize;
}

/* Order Pick/Deposit Manage */
.order-item-pick-table > thead > tr,
.order-item-deposit-table > thead > tr{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.order-item-pick-table > tbody > tr > td:nth-child(1),
.order-item-deposit-table > tbody > tr > td:nth-child(1){/* Name */
    width:250px;
}
.order-item-pick-table > tbody > tr > td:nth-child(2),
.order-item-deposit-table > tbody > tr > td:nth-child(2){/* Manufacturer */
    width:110px;
}
.order-item-pick-table > tbody > tr > td:nth-child(3),
.order-item-deposit-table > tbody > tr > td:nth-child(3){/* Reference Code */
    width:auto;
}
.order-item-pick-table > tbody > tr > td:nth-child(4),
.order-item-deposit-table > tbody > tr > td:nth-child(4){/* Prefix */
    width:90px;
}
.order-item-pick-table > tbody > tr > td:nth-child(5),
.order-item-deposit-table > tbody > tr > td:nth-child(5){/* Suffix */
    width:150px;
}
.order-item-pick-table > tbody > tr > td:nth-child(6),
.order-item-deposit-table > tbody > tr > td:nth-child(6){/* GD */
    width:50px;
}
.order-item-pick-table > tbody > tr > td:nth-child(7),
.order-item-deposit-table > tbody > tr > td:nth-child(7){/* AISI */
    width:60px;
}
.order-item-pick-table > tbody > tr > td:nth-child(8),
.order-item-deposit-table > tbody > tr > td:nth-child(8){/* Tol */
    width:50px;
}
.order-item-pick-table > tbody > tr > td:nth-child(9),
.order-item-pick-table > tbody > tr > td:nth-child(10),
.order-item-deposit-table > tbody > tr > td:nth-child(9) { /* Quantity * Remaining */
    text-align:right;
    width: 100px;
}
.order-item-pick-table > thead > tr > td:nth-child(9),
.order-item-pick-table > thead > tr > td:nth-child(10),
.order-item-deposit-table > tbody > tr > td:nth-child(9) {
    text-align: right;
}
.order-item-pick-table > tbody > tr.order-item-pick-consignment-container-row > td,
.order-item-deposit-table > tbody > tr.order-item-deposit-consignment-container-row > td{
    padding:0px;
}
.order-item-pick-consignment-table,
.order-item-deposit-consignment-table{
    margin-bottom:0px;
}
.order-item-pick-consignment-table > thead > tr,
.order-item-deposit-consignment-table > thead > tr{
    color: #8a6d3b;
    background-color: #fcf8e3;
}
.order-item-pick-consignment-table > tbody > tr > td:nth-child(1){/* Department */
    width:250px;
}
.order-item-pick-consignment-table > tbody > tr > td:nth-child(2){/* Stock */
    width:auto;
}
.order-item-pick-consignment-table > tbody > tr > td:nth-child(3){/* Consignment No */
    width:120px;
}
.order-item-pick-consignment-table > tbody > tr > td:nth-child(4){/* Consignment Date */
    width:150px;
}
.order-item-pick-consignment-table > tbody > tr > td:nth-child(5){/* Quantity */
    width:200px;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(1){/* Department */
    width:250px;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(2){/* Location */
    width:auto;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(3){/* Country */
    width:auto;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(4){/* Consignment No */
    width:120px;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(5){/* Consignment Date */
    width:150px;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(6){/* Batch */
    width:200px;
}
.order-item-deposit-consignment-table > tbody > tr > td:nth-child(7){/* Quantity */
    width:230px;
}
.order-item-pick-consignment-table .select2-selection__rendered{
    display:table;
}
/* Order Shipping Tracking Table */
.order-shipping-tracking-table > thead > tr > td:nth-child(1),
.order-shipping-tracking-table > tbody > tr > td:nth-child(1) { /* Provider */
    width: 100px;
}
.order-shipping-tracking-table > thead > tr > td:nth-child(2),
.order-shipping-tracking-table > tbody > tr > td:nth-child(2) { /* Service */
    width: 120px;
}
.order-shipping-tracking-table > thead > tr > td:nth-child(3),
.order-shipping-tracking-table > tbody > tr > td:nth-child(3) { /* Zone */
    width: 60px;
}
.order-shipping-tracking-table > thead > tr > td:nth-child(4),
.order-shipping-tracking-table > tbody > tr > td:nth-child(4) { /* Weight */
    width: 80px;
}
.order-shipping-tracking-table > thead > tr > td:nth-child(5),
.order-shipping-tracking-table > tbody > tr > td:nth-child(5) { /* Price */
    width: 100px;
}

.stock-level-search-product-code,
.stock-level-selection-product-code {
    color: #a94442;
    padding-right: 10px;
}
.stock-level-search-manufacturer-code,
.stock-level-selection-manufacturer-code{
    color:#3c763d;
    width:50px;
    display:inline-block;
}
.stock-level-search-reference-code,
.stock-level-selection-reference-code{
    width:auto;
}
.stock-level-search-prefix,
.stock-level-selection-prefix{
    color:#777;
    padding-right:10px;
    width:auto;
}
.stock-level-search-suffix,
.stock-level-selection-suffix{
    color:#31708f;
    padding-left:10px;
    width:auto;
}
.stock-level-search-location-name,
.stock-level-selection-location-name{
    color:#8a6d3b;
    padding-left:10px;
}
.stock-level-search-in-stock,
.stock-level-selection-in-stock{
    color:#a94442;
    float:right;
}
.stock-level-selection-in-stock{
    padding-right:10px;
}
.select2-results__option--highlighted > .stock-level-search-item{
    background-color:#d9edf7;
    padding:6px;
    margin:-6px;
    overflow:hidden;
}
.select2-results__option--highlighted > .stock-level-search-item > .stock-level-search-reference-code{
    color:#31708f;
}
.select2-results__option--highlighted > .stock-level-search-item > .stock-level-search-suffix{
    color:#333;
}
.stock-level-search-prefix::before,
.stock-level-selection-prefix::before,
.stock-level-search-suffix::before,
.stock-level-selection-suffix::before{
    content:"(";
}
.stock-level-search-prefix::after,
.stock-level-selection-prefix::after,
.stock-level-search-suffix::after,
.stock-level-selection-suffix::after{
    content:")";
}
.stock-level-search-location-name::before,
.stock-level-selection-location-name::before{
    content:"[";
}
.stock-level-search-location-name::after,
.stock-level-selection-location-name::after{
    content:"]";
}
.stock-level-search-prefix:empty,
.stock-level-selection-prefix:empty,
.stock-level-search-suffix:empty,
.stock-level-selection-suffix:empty,
.stock-level-search-location-name:empty,
.stock-level-selection-location-name:empty
{
    display:none;
}
.order-item-pick-consignment-table >tbody > tr[data-toggle-row] > td > div.row{
    text-align: left;
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom: -15px;
}

/* Order & Invoice Table */
.table-order-manage td:last-child{
    width:120px;
    text-align:center;
}
.table-order-manage td:nth-of-type(1) {
    width: 45px;
    text-align: center;
}
.table-order-manage td:nth-of-type(8){
    text-align:right;
}
.table-invoice-manage td:last-child{
    width:60px;
    text-align:center;
}

/* Task Status Page */
.page-header-controls{
    float:right;
}
.page-header-controls > .input-group{
    width:300px;
}

/* Panel Footer Row */
.panel-footer > .row {
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom: -15px;
}

/* Ledger Tables  */
.table-ledger-credit tr td:nth-child(1),
.table-ledger-outstanding tr td:nth-child(1){/* Date */
    width: 100px;
    text-align: center;
}
.table-ledger-credit tr td:nth-last-child(3) {/* Amount */
    width: 80px;
    text-align: right;
}
.table-ledger-outstanding tr td:nth-last-child(1) { /* Allocation */
    width: 250px;
}
.table-ledger-credit tr td:nth-last-child(2) { /* Type */
    width: 100px;
}
.table-ledger-credit tr td:nth-last-child(1){/* Selection */
    width: 60px;
}
.table-ledger-items tr td:nth-child(1) {/* Date */
    width: 100px;
    text-align: center;
}
.table-ledger-items tr td:nth-child(2) {/* Type */
    width: 95px;
}
.table-ledger-items tr td:nth-child(3) {/* Value */
    width: 120px;
    text-align: right;
}
.table-ledger-items tr td:nth-last-child(3) {/* Issued By */
    width: 220px;
}
.table-ledger-items tr td:nth-last-child(2) {/* Actioned On */
    width: 140px;
}
.table-ledger-items tr td:nth-last-child(1) {/* Status */
    width: 80px;
}

/* Company Manage */
.table-company-manage tr td:nth-last-child(1) { /* Ledger Link */
    width: 52px;
    text-align:center;
}
/* Panel Command Button / Search */
.panel-command-button,
.panel-search {
    margin-top: -6px;
    margin-right: -6px;
}
.panel-search{
    width:200px;
}
/* Standard Grid View Panel Support */
.panel > div > .table,
.panel > div > div > .table-responsive > .table,
.panel > div > div > .panel-collapse > .table {
    margin-bottom: 0;
}
.panel > div > .table caption,
.panel > div > .table-responsive > .table caption,
.panel > div > .panel-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > div > .table:first-child,
.panel > div > .table-responsive:first-child > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > div > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > div > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > div > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > div > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > div > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px;
}
.panel > div > .table:last-child,
.panel > div > .table-responsive:last-child > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > div > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > div > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > div > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > div > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > div > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > div > .panel-body + .table,
.panel > div > .panel-body + .table-responsive,
.panel > div > .table + .panel-body,
.panel > div > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > div > .table > tbody:first-child > tr:first-child th,
.panel > div > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > div > .table-bordered,
.panel > div > .table-responsive > .table-bordered {
  border: 0;
}
.panel > div > .table-bordered > thead > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > div > .table-bordered > tbody > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > div > .table-bordered > tfoot > tr > th:first-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > div > .table-bordered > thead > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > div > .table-bordered > tbody > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > div > .table-bordered > tfoot > tr > td:first-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > div > .table-bordered > thead > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > div > .table-bordered > tbody > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > div > .table-bordered > tfoot > tr > th:last-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > div > .table-bordered > thead > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > div > .table-bordered > tbody > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > div > .table-bordered > tfoot > tr > td:last-child,
.panel > div > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > div > .table-bordered > thead > tr:first-child > td,
.panel > div > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > div > .table-bordered > tbody > tr:first-child > td,
.panel > div > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > div > .table-bordered > thead > tr:first-child > th,
.panel > div > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > div > .table-bordered > tbody > tr:first-child > th,
.panel > div > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > div > .table-bordered > tbody > tr:last-child > td,
.panel > div > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > div > .table-bordered > tfoot > tr:last-child > td,
.panel > div > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > div > .table-bordered > tbody > tr:last-child > th,
.panel > div > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > div > .table-bordered > tfoot > tr:last-child > th,
.panel > div > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}

/* Input Addon Button */
a.input-group-addon.btn-primary{
    color:#fff;
}

/* End of Year Table */
.table-end-of-year tr > td:last-of-type{
    width:50px;
    text-align:center;
}
/* Store Product Table */
.store-product-table > tbody > tr > td > div.row {
    text-align: left;
    margin-left: -8px;
    margin-right: 0px;
    margin-top: 9px;
    margin-bottom: -15px;
}
.store-product-table > thead > tr.core-details > th:nth-of-type(1),
.store-product-table > tbody > tr.core-details > td:nth-of-type(1) {
    width: 250px;
}
.store-product-table > thead > tr.core-details > th:nth-of-type(6),
.store-product-table > tbody > tr.core-details > td:nth-of-type(6) {
    width: 96px;
}
.store-product-table > thead > tr.core-details > th:nth-of-type(7),
.store-product-table > tbody > tr.core-details > td:nth-of-type(7) {
    width: 58px;
}
.store-product-table > thead > tr.core-details > th:nth-of-type(6),
.store-product-table > tbody > tr.core-details > td:nth-of-type(6),
.store-product-table > thead > tr.core-details > th:nth-of-type(7),
.store-product-table > tbody > tr.core-details > td:nth-of-type(7) {
    text-align:center;
}

/* Monthly Stats Table */
.table-monthly-stats td:nth-of-type(2),
.table-monthly-stats td:nth-of-type(3),
.table-monthly-stats td:nth-of-type(4){
    text-align:right;
    width:120px;
}

/* Panel Button */
.panel-body > .pull-right.panel-button-right{
    margin-top:-49px;
    margin-right:-10px;
}
/* Product Dimension Edit Table */
.table-product-dimension-edit > tbody > tr > td:nth-of-type(2) {
    width: 240px;
}
.table-product-dimension-edit > tbody > tr > td:nth-of-type(3) {
    width: 57px;
    text-align: center;
}