body {
    padding-top: 50px;
}

.starter-template {
    padding: 40px 15px;
    text-align: center;
}

.container {
    /*margin-top: 35px;*/
}

ul.pagination {
    float: right;
}

table th.gkth, th.gkth a {
    color: #202d3b;
}

#gkcart:hover {
    background-color: #18bc9c;
    color: #2c3e50;
}

.badge-error {
    background-color: #b94a48;
}

.badge-error:hover {
    background-color: #953b39;
}

.badge-warning {
    background-color: #f89406;
}

.badge-warning:hover {
    background-color: #c67605;
}

.badge-success {
    background-color: #468847;
}

.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-inverse:hover {
    background-color: #1a1a1a;
}

.file-uploader .thumbnail .caption {
    float: left;
    width: 420px;
}

.file-uploader .thumbnail {
    height: 50px;
}

.file-uploader .thumbnail > img {
    height: 40px;
    float: left;
    width: 40px;
}

.file-uploader span.filename {
    margin-left: 5px;
}

.file-uploader ul.thumbnails {
    padding-left: 0px;
}

.file-uploader .file-control {

}

.cursor-hand {
    cursor: pointer;
}

.gkscrollable-table {
    width: 100%;
}

.gkscrollable-table thead, .gkscrollable-table tbody, .gkscrollable-table tr, .gkscrollable-table td, .gkscrollable-table th {
    display: block;
}

.gkscrollable-table tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.gkscrollable-table thead th {
    height: 30px;
    /*text-align: left;*/
}

.gkscrollable-table .gkcol {
    width: 10%;
}

.gkscrollable-table tbody {
    height: 340px;
    overflow-y: auto;
}

.gkscrollable-table thead {
    /* fallback */
}

.gkscrollable-table tbody td, .gkscrollable-table thead th {
    width: 24%;
    float: left;
}

.popover {
    z-index: 2010; /* A value higher than 1010 that solves the problem */
}

.hiddenRow {
    padding: 0 !important;
}

.gkpriceoffer {
    margin-bottom: 0px;
    font-size: 90%;
}

.popover-product-details {
    display: none;
}

.offer-row td, .offer-row th {
    background-color: #fbf9ee;
}

#price_list {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Not implemented yet */
    -o-user-select: none;
    user-select: none;
}

.glyphicon-spin-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spin .7s infinite linear;
    -moz-animation: spin .7s infinite linear;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/********* TABLE LAYOUT SECTION **********/
table.table-layout {
    width: 100%;
}

table.table-layout > tr > td,
table.table-layout > tbody > tr > td,
table.table-layout > tr > th,
table.table-layout > thead > tr > th {
    padding: 5px 8px;
}

table.table-layout > thead > tr > th,
table.table-layout > tr > th {
    /*background: #ddd;*/
}

table.table-product td.col-name,
table.table-product th.col-name {
    width: 50%;
}

table.table-product td.col-desc,
table.table-product th.col-desc {
    width: 35%;
}

table.table-product td.col-category,
table.table-product th.col-category {
    width: 10%;
}

table.table-product td.col-stand,
table.table-product th.col-stand {
    width: 20%;
}

table.table-product td.col-unit,
table.table-product th.col-unit {
    width: 10%;
}

table.table-product th.col-stock,
table.table-product td.col-stock {
    width: 10%;
    text-align: right;
}

table.table-product td.col-ordering,
table.table-product td.col-new-stk,
table.table-product td.col-upd-stk,
table.table-product td.col-wastes,
table.table-product th.col-ordering,
table.table-product th.col-new-stk,
table.table-product th.col-upd-stk,
table.table-product th.col-wastes {
    width: 10%;
}

.up-to-top {
    display: none;
}

.label-cart-qty {
    width: 30px;
    text-align: center;
}

#stk-upd-sticky.stick {
    position: fixed;
    top: 60px;
    z-index: 10000;
}

input.ipt-new-stk, textarea {
    background-color: lightblue;
}

input.ipt-upd-stk, textarea {
    background-color: lightgreen;
}

input.ipt-waste-stk, textarea {
    background-color: lightgoldenrodyellow;
}

/* mobile */
@media (max-width: 768px) {
    table.table-product td.col-name,
    table.table-product th.col-name {
        width: 75%;
    }

    table.table-product td.col-desc,
    table.table-product th.col-desc {
        display: none;
    }

    table.table-product td.col-category,
    table.table-product th.col-category {
        display: none;
    }

    /*table.table-product td.col-unit,*/
    /*table.table-product th.col-unit{*/
    /*display:none;*/
    /*}*/
    table.table-product td.col-ordering,
    table.table-product td.col-new-stk,
    table.table-product td.col-upd-stk,
    table.table-product td.col-wastes,
    table.table-product th.col-ordering,
    table.table-product th.col-new-stk,
    table.table-product th.col-upd-stk,
    table.table-product th.col-wastes {
        width: 25%;
    }

    #stk-upd-sticky.stick {
        position: fixed;
        top: 60px;
        z-index: 10000;
    }

    input.ipt-new-stk, textarea {
        background-color: lightblue;
    }

    input.ipt-upd-stk, textarea {
        background-color: lightgreen;
    }

    input.ipt-waste-stk, textarea {
        background-color: lightgoldenrodyellow;
    }

    .up-to-top {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 9999;
        display: block;
    }

    a.mobile-nav {
        padding: 5px 8px;
        height: 34px;
    }

    a.mobile-nav .badge {
        background: #496785;
        font-size: 10px;
    }

    a.mobile-nav:hover,
    a.mobile-nav:link,
    a.mobile-nav:active {
        text-decoration: none;
    }
}

/* tablet & pc */
@media (max-width: 992px) {

}

/* large pc */
@media (min-width: 1200px) {

}

.navbar-brand {
    float: left;
    padding: 9.5px 10px;
    font-size: 19px;
    line-height: 21px;
    height: 60px;
}

.jumbotron {
    padding: 30px 15px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #FFFFFF;
    border: 1px solid #CCC;
    text-align: center;
}

.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

/** INVOICE TABLE LAYOUT **/
@media only print, only screen {

    .hidden-print {
        width: 670px;
    }

    .invoice-table-wrapper {
        padding: 10px;
        width: 210mm;
        max-width: 210mm;
        min-height: 297mm;
    }

    .heading-cell-th {
        width: 40%;
        max-width: 55%;
    }

    .abn-display {
        font-size: 16px;
    }

    table.invoice-table {
        font-size: 14px;
        font-family: inherit;
        width: 100%;
    }

    table.invoice-table > tbody > tr > th,
    table.invoice-table > tbody > tr > td,
    table.invoice-table > tr > th,
    table.invoice-table > tr > td {
        padding: 5px 8px;
    }

    table.invoice-table > tbody > tr.heading-cell-footer {
        border-bottom: 4px solid #dddddd;
        font-weight: bold;
    }

    table.invoice-table > thead > tr.heading-cell-footer {
        border-bottom: 2px solid #dddddd;
        font-weight: bold;
    }

    table.invoice-table > thead > tr.subheader {
        height: 25px;
    }

    table.invoice-table > tbody > tr > td.productname {
        text-transform: capitalize;
    }

    table.invoice-table .table-title {
    }

    table.invoice-table th.table-title {
        line-height: 42px;
    }

    table.invoice-table th.table-title p {
        line-height: 20px;
        text-align: left;
        font-weight: normal;
    }

    table.invoice-table th.table-title p span.company {
        font-weight: bold;
    }

    table.invoice-table th.heading-cell,
    table.invoice-table td.heading-cell,
    table.invoice-table tr.heading-cell th,
    table.invoice-table tr.heading-cell td {
        background-color: #000000 !important;
        color: #fff !important;
        text-transform: capitalize;
        font-weight: bold;
        padding: 5px 10px;
        -webkit-print-color-adjust: exact;
    }

    .printorderstyle {
        font-size: 12px !important;
    }

    .orderprint .panel-heading {
        background-color: #18bc9c !important;
        color: #fff !important;
        text-transform: capitalize;
        font-weight: bold;
        padding: 5px 10px;
        -webkit-print-color-adjust: exact;
    }

    table.invoice-table th.no-space,
    table.invoice-table td.no-space {
        padding: 0px;
        margin: 0px;
    }

    table.invoice-table.table > thead > tr > th,
    table.invoice-table.table > tbody > tr > th,
    table.invoice-table.table > tfoot > tr > th,
    table.invoice-table.table > thead > tr > td,
    table.invoice-table.table > tbody > tr > td,
    table.invoice-table.table > tfoot > tr > td {
        border: 0px none #fff;
        -webkit-print-color-adjust: exact;
    }

    table.invoice-table-footer > tbody > tr > td {
        border-top: none;
    }

    table.no-cell-border th,
    table.no-cell-border td {
        border: 0px;
    }

    table.invoice-table .small-cell {
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 0.8em;
    }

    table.invoice-table td.footercenter {
        text-align: center;
    }

    table.invoice-table .grey-cell {
        background: #F2F2F2;
    }

    table.invoice-table .orange-cell {
        background: #18bc9c;
    }

    table.invoice-table td.invoice-sum {
        padding: 0;
    }

    table.product-display-table {
        border-left: 1px solid #ddd;

    }

    table.product-display-table td,
    table.product-display-table th {
        /*border:1px solid #ddd;*/
        border-bottom: 1px solid #ddd;
    }

    table.product-display-table-noborder {
        border-left: none;

    }

    table.product-display-table-noborder td,
    table.product-display-table-noborder th {
        border-bottom: 1px solid #ddd;
    }

    table.product-display-table-noborder td.td-no-bottom {
        border-bottom: none;
    }

    table.table-invoice-summary {
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

    table.table-invoice-summary tr {
        border: none;
    }

    table.table-invoice-summary tr td {
        border: none;
    }

    table.table-invoice-summary tr td:first-child {
        font-weight: normal;
        text-transform: capitalize;
        font-size: 14px;
        text-align: left;
        padding: 3px 10px 3px 10px;
    }

    table.table-invoice-summary tr td:nth-child(2) {
        font-size: 14px;
        font-weight: bold;
        color: #000000 !important;
        width: 120px;
        text-align: center;
    }

    table.table-invoice-summary tr.invoice-sum-balance {
        background-color: #e2efda !important;
    }

    table.table-invoice-summary tr.invoice-sum-balance td {
        font-weight: bold;
        background-color: #f4f4f4 !important;
    }

    body.print {
        padding: 0px;
        margin: 0px;
    }

    body.print .container {
        margin-top: 0px;
        font-family: Helvetica, Arial, sans-serif;
    }

    .qtyhighlight {
        color: #ff1407 !important;
        text-decoration: none;
        font-weight: bolder;
        font-size: 14px !important;
    }

    .orderprint-companyname {
        font-size: 120%;
        color: red !important;
    }

    .columnright {
        text-align: right;
    }

    .darkred {
        color: #C70514 !important;
    }

    .btn-success {
        color: #ffffff !important;
        background-color: #18bc9c !important;
        border-color: #18bc9c !important;
    }

    .btn-danger {
        color: #ffffff !important;
        background-color: #e74c3c !important;
        border-color: #e74c3c !important;
    }

    .btn-default {
        color: #ffffff !important;
        background-color: #95a5a6 !important;
        border-color: #95a5a6 !important;
    }

    .stocklevel-note {
        font-size: 90%;
        color: #eb8000 !important;
    }

    .shlistprint {
        font-size: 12px !important;
    }

    .shlistprint table tr th {
        background-color: #0ebb9c !important;
        color: #fff !important;
        background: -webkit-linear-gradient(#0ebb9c, #0e8364) !important;
        background: -moz-linear-gradient(#0ebb9c, #0e8364) !important;
        background: linear-gradient(#0ebb9c, #0e8364) !important;
    }

    .shlistprint table tr td.leftalign {
        text-align: left;
    }

    .shlistprint table tr td.rightalign {
        text-align: right;
    }

    .shlistprint table tr td.highlightBuy {
        color: #ff1407 !important;
        font-weight: bolder;
        font-size: 14px;
        text-decoration: none;
    }

    .shlistprint table tr td.prodname {
        color: #1a3aff !important;
    }

    .shlistprint table tr td.standcl {
        padding-left: 5px;
    }

    .shlistprint table tr td.donerow {
        background-color: #c9dde1 !important;
    }

    .shlistprint table tr td.stkwarn {
        background-color: #f3ff86 !important;
    }

    .shlistprint table tr td, .shlistprint table tr th {
        padding: 0px;
    }

    .shlistprint table tr.streven td:not(.stkwarn) {
        background-color: #f9f9f9 !important;
    }

    .shlistprint fieldset legend {
        font-size: 12px;
    }

    .shlistprint fieldset legend {
        margin-bottom: 5px;
    }
}

.myGrid {
    width: 100%;
    height: auto;
}

.defaultCell, .highlightCell {
    text-align: right;
    font-weight: normal !important;
}

.defaultCellLeft {
    font-weight: normal !important;
    text-align: left;
}

.ui-grid-header-cell {
    background: #0ebb9c !important;
    color: #fff !important;
    background: -webkit-linear-gradient(#0ebb9c, #0e8364) !important;
    background: -moz-linear-gradient(#0ebb9c, #0e8364) !important;
    background: linear-gradient(#0ebb9c, #0e8364) !important;
}

.ui-grid-header-cell input {
    color: #000000 !important;
}

.rowpickcheck td {
    background-color: #fcffc6;
}

.blueCell {
    color: blue;
}

.greenCell {
    color: forestgreen;
}

.masterCell {
    text-decoration: underline;
}

.highlightCell, .picklistCell {
    background-color: #efff9e;
    color: #ff1407;
    text-decoration: none;
    font-weight: bolder;
    font-size: 18px;
}

.picklistCell {
    background: none;
    text-decoration: none;
    text-align: right;
}

.picklistCheckbox {
    text-align: center;
}

.moneyright {
    text-align: right;
}

table td.moneyright, table th.moneyright {
    text-align: right;
}

/*table td.amtsum {*/
    /*border-left: 1px solid #dddddd !important;*/
/*}*/

.editable-pre-wrapped {
    white-space: normal;
}

#watermark {
    position: fixed;
    top: 40%;
    right: 9%;
    z-index: 99;
    color: #dddddd !important;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    opacity: 0.5;
    font-size: 80px;
    font-family: Arial;
    font-weight: bolder;
    letter-spacing: 30px;
}

#watermark-cn {
    position: fixed;
    top: 45%;
    right: -10%;
    z-index: 99;
    color: #dddddd !important;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    opacity: 0.5;
    font-size: 70px;
    font-family: Arial;
    font-weight: bolder;
    letter-spacing: 25px;
}

p.billingname-left {
    padding-left: 20px;
    line-height: 25px;
    font-weight: bold;
}

table.billinginvoice-right {
    width: 100%;
    line-height: 25px;
    font-weight: bold;
    /*border-bottom: 4px solid #dddddd;*/
}

table.billinginvoice-right td.cent {
    text-align: right;
}

.topcoat-checkbox {
    position: relative;
    display: inline-block;
    line-height: 2rem;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.topcoat-checkbox__checkmark {
    display: inline-block;
    vertical-align: top;
    width: 2rem;
    height: 2rem;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pickinglist input[type=checkbox] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 2rem;
    margin: 0 -2rem -2rem 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 2rem;
    opacity: 0.001;
}

/* Background */
.topcoat-checkbox__checkmark:before {
    content: '';
    position: absolute;
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    background: #e5e9e9;
    border: 1px solid #a5a8a8;
    border-radius: 3px;
    cursor: pointer;

    -webkit-box-shadow: inset 0 1px #fff;
    box-shadow: inset 0 1px #fff;
}

/* Checkmark */
.topcoat-checkbox__checkmark:after {
    opacity: 0;
    content: '';
    position: absolute;
    /* Length of check tail */
    width: 28px;
    /* Lenght of check foot */
    height: 11px;
    background: transparent;
    border: 7px solid #666666;
    border-top: none;
    border-right: none;
    border-radius: 2px;

    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    -o-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

:checked + .topcoat-checkbox__checkmark:after {
    opacity: 1;
}

:focus + .topcoat-checkbox__checkmark:before {
    border: 1px solid #0940fd;
    -webkit-box-shadow: 0 0 0 2px #6fb5f1;
    box-shadow: 0 0 0 2px #6fb5f1;
}

:disabled + .topcoat-checkbox__checkmark:before {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

div.abnnumber {
    margin-left: 30%;
}

p.invoiceheader {
    font-weight: bold !important;
    font-size: 14px;
    color: #346d3a;
}

p.enquiriestext {
    margin-left: 20px;
    padding-top: 30px;
}

p.enquiriestext span.enquiry {
    font-size: 20px;
    font-weight: bold;
    color: #346d3a;
}

p.enquiriestext span.phoneno {
    padding-left: 3px;
    color: #346d3a;
}

p.enquiriestext span.emailadd {
    color: #346d3a;
}

.ui-grid-tree-header-row .ui-grid-cell-contents {
    front-weight: normal !important;
}

.capitalised {
    text-transform: capitalize;
}