﻿/*  HTML5 ✰ Boilerplate  */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, footer, header, hgroup,
menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

    nav ul {
        list-style: none;
    }

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}


body {
    font: 13px/1.231 sans-serif;
    *font-size: small;
}

select, input, textarea, button {
    font: 99% sans-serif;
}

pre, code, kbd, samp {
    font-family: monospace, sans-serif;
}

body, select, input, textarea {
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

html {
    overflow-y: scroll;
}

a:hover, a:active {
    outline: none;
}

a, a:active, a:visited {
    color: #607890;
}

    a:hover {
        color: #036;
    }

ul, ol {
    margin-left: 0px;
}

ol {
    list-style-type: decimal;
}

nav ul, nav li {
    margin: 0;
}

small {
    font-size: 85%;
}

strong, th {
    font-weight: bold;
}

td, td img {
    vertical-align: top;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

pre {
    padding: 15px;
    white-space: pre;
    white-space: pre-wrap;
    white-space: pre-line;
    word-wrap: break-word;
}

textarea {
    overflow: auto;
}

.ie6 legend, .ie7 legend {
    margin-left: -7px;
}

input[type="radio"] {
    vertical-align: text-bottom;
}

input[type="checkbox"] {
    vertical-align: bottom;
}

.ie7 input[type="checkbox"] {
    vertical-align: baseline;
}

.ie6 input {
    vertical-align: text-bottom;
}

label, input[type=button], input[type=submit], button {
    cursor: pointer;
}

button, input, select, textarea {
    margin: 0;
}

    input:valid, textarea:valid {
    }

    input:invalid, textarea:invalid {
        border-radius: 1px;
        -moz-box-shadow: 0px 0px 5px red;
        -webkit-box-shadow: 0px 0px 5px red;
        box-shadow: 0px 0px 5px red;
    }

.btn-item-quickview {
    border-radius: 50% !important;
    background-color: #000000;
    width: 15px !important;
    height: 15px !important;
    /*display: block;*/
    cursor: pointer;
    outline: none !important;
    padding: 0 !important;
}

.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid {
    background-color: #f0dddd;
}

::-moz-selection {
    background: #FF5E99;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #FF5E99;
    color: #fff;
    text-shadow: none;
}

a:link {
    -webkit-tap-highlight-color: #FF5E99;
}

button {
    width: auto;
    overflow: visible;
}

.ie7 img {
    -ms-interpolation-mode: bicubic;
}

.ir {
    display: block;
    text-indent: -999em;
    overflow: hidden;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
}

.hidden {
    display: none;
    visibility: hidden;
}

.visuallyhidden {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clear {
    clear: both;
}

.linethrough {
    text-decoration: line-through;
}

.bank-details {
    align-items: center;
    display: flex;
}
.bank-details > div > label {
    margin-left: 10px;
}


div#container { /*by melbert*/
    /* border:1px solid red;
    width:100%;
    box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;*/
}

#tblStockLengths > tbody > tr > td {
    padding-top: 10px;
    vertical-align: middle;
}
    #tblStockLengths > tbody > tr > td > span {
        margin-top: 30px;
   }

.modal-image-editor-custom {
    margin-top: 7% !important;
    width: 55%;
}
/**HELPER CLASSES - control component styles**/

.label-table {
    padding: 5px;
    font-size: 1.1em;
    font-weight: bold;
}

/*use this to alert actions only to allow disabling the control*/
.btn-alert-actions {
    background: none;
    border: none;
    /*cursor: not-allowed;*/
}
/*changes icon of the cursor to disabled state but not disabled entirely. You need to disable it in html attribute*/
.btn-disabled {
    cursor: not-allowed;
}
/*changes fontawesome color to gray, indicating that it's untoggled or not activated*/
.btn-untoggle {
    color: #BFBFBF;
}

.important-component {
    z-index: 100001 !important;
}

/*overrides styles from webui popover library*/
.webui-popover {
    z-index: 100 !important;
}

.control-disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/**REUSABLE MODAL COMPONENT**/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Modal Body */
.modal-body {
    /*padding: 2px 16px;*/
}

/* Modal Footer */
.modal-footer {
    margin-top: 20px;
    /*padding: 20px 15px;*/
    /*background-color: #5cb85c;*/
    /*color: white;*/
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    /*margin: auto;*/
    /*margin-top: 20%;*/
    padding: 20px;
    border: 1px solid #888;
    /*width: 50%;*/
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.3s;
    animation-name: animatetop;
    animation-duration: 0.3s;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: 0; opacity: 0} 
    to {top: 50%; opacity: 1}
}

@keyframes animatetop {
    from {top: 0; opacity: 0}
    to {top: 50%; opacity: 1}
}

.modal-alert-custom {
    /*margin-top: 7% !important;*/
    width: 30%;
}


/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/***END***/

/**predefined grid system structure**/
.div-row {
    /*margin-left:-15px;
    margin-right:-15px;*/
    clear: both;
    padding: 15px;
}
.div-row-nopadding {
    clear: both;
}
.div-row-nopaddingleft {
    clear: both;
    padding: 15px 15px 15px 0px;
}
.div-col-1 {
    width: 10.3333%; /*note: it should be 8.333% originally. But due to dropdown control considerations, it was made 10.3333%*/
}
.div-col-2 {
    width: 16.667%;
}
.div-col-3 {
    width: 25%;
}
.div-col-4 {
    width:33.3333%;
}
.div-col-5 {
    width: 41.667%;
}
.div-col-6 {
    width:50%;
}
.div-col-8 {
    width:66.667%;
}
.div-col-12 {
    width: 100%;
}
.div-col-4, .div-col-2, .div-col-3, .div-col-1, .div-col-5, .div-col-6, .div-col-12, .div-col-8 {
    float:left;
}
.div-col-4 > label, .div-col-2 > label, .div-col-3 > label,.div-col-1  > label, .div-col-6  > label, .div-col-12  > label, .div-col-8  > label {
    padding-top:10px;
    font-weight: bold;
}
/*END*/

.label-tag {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 2px 5px 2px 5px;
    font-size: 0.9em;
    margin-bottom: 3px;
}

.webui-popover-title {
    font-size: 16px;
}

.webui-popover-content {
    padding: 0 !important;
}

.dataTable ul {
    margin: 0;
    padding: 0;
}

    .dataTable ul li {
        list-style: none;
        padding: 9px 14px;
        border-bottom: 1px solid #eee;
    }

        .dataTable ul li a {
            text-decoration: none;
            color: #222;
            width: 100%;
            position: relative;
            display: block;
            padding: 4px 0;
            z-index: 100;
        }

        .dataTable ul li:hover {
            background: #dfdfdf;
        }

.calendar-notification-lists {
    display: block;
    overflow: auto;
}
.calendar-notification-desc {
    float: left;
    display: block !important;
    width: 160px !important;
}
.calendar-notification-action-buttons {
    position: relative;
    display: block;
    cursor: pointer;
    float: right;
    width: /*140px*/ 112px; /*return to 140px if they decided to include recurrence in alert list options*/
    padding-top: 3px;
}
.calendar-notification-action-buttons > i {
    padding: 0px 5px 0 5px;
}

.notification-calendar-alert-counts {
    background: #ED4337;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    position: absolute;
    left: 59%;
    color: white;
    font-size: 10px;
    padding: 7px 5px 5px 6px;
    text-align: center;
    /*z-index: 1000;*/
}
/**END**/

.tbl-default-import-values > tr > td {
    padding: 30px 0px 40px 30px !important;
}
.div-default-import-dropdown-section {
    padding:3px;
}

.div-popover-alert-frequency {
    margin-top: 16px;
}
.btnlist-alert-frequency {
    text-align:center;
}
.btnlist-alert-frequency > li {
    list-style:none;
    display:inline;
    padding:10px;
    border-radius:10%;
    cursor:pointer;
}
.btnlist-alert-frequency > li:hover, .btnlist-alert-recurring-selected {
    background: #E6E6E6;
}
.div-alert-settings > ul > li {
    /*list-style: none;*/
    padding:10px;
}
.div-alert-settings > ul {
    list-style: none;
}

.btn-purchaseorders-done {
    border: none;
    border-radius: 5%;
    padding: 10px;
    background: #93b129;
    color: white;
    font-size: 15px;
}
.btn-purchaseorders-sendAll {
    border: none;
    border-radius: 5%;
    padding: 10px;
    background: #93b129;
    color: white;
    font-size: 15px;
}

/* Primary Styles
	Author: Matthew Tew / i-Possible
 */

p > label {
    font-weight: bold;
}

img.loader {
    display: none;
    vertical-align: middle;
    border: none;
}

    img.loader.small {
        width: 24px;
        height: 24px;
    }
    img.loader.big {
        width: 48px;
    }

.show {
    display: inline-block !important;
}


body {
    /*background: #333333 url(../images/layout/background.jpg);  Replaced by customisation */
    background-color: #222 !important;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: .83em;
}

@media only print {
    body {
        background-color: white !important;
    }
}


fieldset legend {
    display: none;
}


.checkbox {
    border: none;
    width: 12px;
    height: 12px;
    background-color: #f0f0f0;
    display: inline-block;
    vertical-align: text-bottom;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

    .checkbox.checked {
        background-color: #3f3f3f;
    }

    .checkbox.unchecked {
    }

input[type='submit'] {
    background-color: #2e2e2e;
    background: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#444444));
    background: -moz-linear-gradient(top, #444444, #444444);
    border-style: none;
    -moz-border-radius: 0px;
    border-radius: 0px;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    padding: 7px 20px;
    vertical-align: middle;
}

input[type='button'] {
    background-color: #2e2e2e;
    background: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#444444));
    background: -moz-linear-gradient(top, #444444, #444444);
    border-style: none;
    -moz-border-radius: 0px;
    border-radius: 0px;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 7px 20px;
    vertical-align: middle;
}

.btn-iframer-standard {
    display: flex;
    align-items: center;
    background-color: #2e2e2e;
    background: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#444444));
    background: -moz-linear-gradient(top, #444444, #444444);
    border-style: none;
    -moz-border-radius: 0px;
    border-radius: 0px;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    padding: 7px 20px;
    vertical-align: middle;
    color: #fff !important;
    text-decoration: none !important;
    gap: 8px;
}

.btn-iframer-standard:disabled {
    background-color: #ccc; /* Gray background */
    color: #666; /* Darker text color */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
    opacity: 0.6; /* Make it slightly transparent */
}

input[type='submit']:disabled, input[type='button']:disabled {
    opacity: 0.4;
}

.btn {
    background-color: #2e2e2e;
    background: -webkit-gradient(linear, left top, left bottom, from(#434343), to(#1a1a1a));
    background: -moz-linear-gradient(top, #434343, #1a1a1a);
    border-style: none;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 7px 20px;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    border-radius: 0;
}

#main #workspace a.btn:link {
    color: #fff;
    text-decoration: none;
}

#main #workspace a.btn:active {
    color: #fff;
    text-decoration: none;
}

#main #workspace a.btn:hover {
    color: #fff;
    text-decoration: none;
}

#main #workspace a.btn:visited {
    color: #fff;
    text-decoration: none;
}

.ie7 input[type='button'], .ie7 input[type='submit'] {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#434343', endColorstr='#1a1a1a');
    padding: 5px 7px;
}

.buttoncollection > div {
    position: relative;
    margin-left: 5px;
}

.buttoncollection > input[type='submit'] {
    margin-left: 5px;
}

.buttoncollection ul { /*position: absolute;*/
    top: 32px;
    left: 0;
}

.buttoncollection .downarrow {
    background: #444444 url('../images/layout/icons/dropdown_white.png') top left no-repeat;
    border-style: none;
    -moz-border-top-right-radius: 0px;
    border-top-right-radius: 0px;
    -moz-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
    -moz-border-top-left-radius: 0px;
    border-top-left-radius: 0px;
    -moz-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-left: 1px black solid;
    margin-left: -5px;
    font: helvetica, HelveticaNeue, Arial, clean, sans-serif;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 7px 20px;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
}

.ie7 .buttoncollection .downarrow {
    padding: 5px 7px;
    border: 0;
    width: 40px;
    filter: none;
    background: #444444 url('../images/layout/icons/dropdown_white.png') center center no-repeat;
}


table td {
    vertical-align: top;
}

    table td.numeric {
        text-align: right;
        color: #000;
        text-decoration: none;
    }

table tr.odd {
    background-color: #FFFFFF;
}

table tr.even {
    background-color: #FFFFFF;
}

.validation {
    color: Red;
}



/* plugins */

.farbtastic {
    position: relative;
}

    .farbtastic * {
        position: absolute;
        cursor: crosshair;
    }

    .farbtastic, .farbtastic .wheel {
        width: 195px;
        height: 195px;
    }

        .farbtastic .color, .farbtastic .overlay {
            top: 47px;
            left: 47px;
            width: 101px;
            height: 101px;
        }

        .farbtastic .wheel {
            background: url(../images/plugins/farbtastic/wheel.png) no-repeat;
            width: 195px;
            height: 195px;
        }

        .farbtastic .overlay {
            background: url(../images/plugins/farbtastic/mask.png) no-repeat;
        }

        .farbtastic .marker {
            width: 17px;
            height: 17px;
            margin: -8px 0 0 -8px;
            overflow: hidden;
            background: url(../images/plugins/farbtastic/marker.png) no-repeat;
        }



/* login */

#login {
    margin-top: 150px;
}

    #login > #logo {
        /*display:block;*/
        display: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

#noaccess {
    margin-top: 150px;
}

    #noaccess > #logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

#register {
    margin-top: 200px;
}

.external > #panel {
    margin-left: auto;
    margin-right: auto;
    width: 330px;
    background-color: #fff;
    -moz-box-shadow: inset 1px 1px 4px #686868;
    -webkit-box-shadow: inset 1px 1px 4px #686868;
    box-shadow: inset 1px 1px 4px #686868;
    padding: 18px;
}

    .external > #panel.unsubscribe {
        width: 500px;
    }

    .external > #panel > form {
        width: 330px;
        -moz-box-shadow: inset 1px 1px 4px #686868;
        -webkit-box-shadow: inset 1px 1px 4px #686868;
        box-shadow: inset 1px 1px 4px #686868;
        background-color: #cecece;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ececec', endColorstr='#adacad');
        background: -webkit-gradient(linear, left top, left bottom, from(#ececec), to(#adacad));
        background: -moz-linear-gradient(top, #ececec, #adacad);
        text-align: center;
    }

        .external > #panel > form.unsubscribe {
            width: 500px;
        }

        .external > #panel > form svg {
            float: left;
            margin-right: 15px;
        }

        .external > #panel > form h2 {
            font-size: 1.9em;
            font-weight: bold;
            padding: 20px 0;
        }



.checkbox {
    width: 18px;
    height: 16px;
    background: url(../images/layout/checkbox.png);
}

    .checkbox.checked {
        background: url(../images/layout/checkbox_checked.png);
    }

select {
    width: 154px;
    height: 21px;
    padding: 2px;
}

.select {
    width: 154px;
    height: 21px;
    padding: 0px;
    background: url(../images/layout/workspace/select.png) top left no-repeat;
}

select.small {
    width: 97px;
    height: 21px;
    padding: 2px;
}

.select.small {
    width: 97px;
    height: 21px;
    padding: 0px;
    display: inline-block;
    background: url(../images/layout/workspace/select_small.png) top left no-repeat;
}

    .select.small select {
        width: 97px;
        height: 21px;
    }



.external > #panel > form > div {
    text-align: left;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 0;
}

.external > #panel > form.unsubscribe > div {
    width: 450px;
}

.external > #panel > form > div .editor-label {
    font-weight: bold;
    font-size: 15px;
    color: #3f3f3f;
    padding: 5px 0;
}

.external > #panel > form > div .editor-field input[type='text'], .external > #panel > form > div .editor-field input[type='password'] {
    font-weight: bold;
    font-size: 20px;
    color: #3f3f3f;
    width: 190px;
    height: 34px;
    padding: 0 4px;
    background: url(../images/layout/login/textbox.png) top left no-repeat;
    border: none;
}

.external > #panel > form.unsubscribe > div .editor-field input[type='text'] {
    width: 400px;
    background: url(../images/layout/login/textbox_large.png) top left no-repeat;
}

.external > #panel > form > div .editor-field input[type='text'].input-validation-error, .external > #panel > form > div .editor-field input[type='password'].input-validation-error {
    width: 156px;
    padding-right: 40px;
    background: url(../images/layout/login/textbox_error.png) top left no-repeat;
}

.external > #panel > form > div .editor-field span.field-validation-error {
    padding: 5px 0;
    color: #88000b;
    font-size: 11px;
}

.external > #panel > form > div .editor-label .checkbox {
    margin-right: 5px;
}

    .external > #panel > form > div .editor-label .checkbox.checked {
    }

.external > #panel > form > div .editor-label.rememberMe {
    margin-top: 10px;
    font-size: 11px;
    font-weight: normal;
}

.external > #panel > form > div p {
    text-align: center;
    margin-top: 10px;
}

.external > #panel .validation-summary-errors {
    color: #88000b;
    padding: 0 0 10px 0;
}

    .external > #panel .validation-summary-errors > span {
        font-weight: bold;
        font-size: 15px;
    }

    .external > #panel .validation-summary-errors > ul {
        padding-top: 10px;
    }

.input-moulding {
    border-radius: 50% !important;
    background-color: #000000 !important;
    cursor: pointer !important;
    outline: none;
    padding: 0 !important;
    width: 15px;
    height: 15px;
}

.inPlace {
    position: absolute;
}

    .inPlace > span {
        position: absolute;
        left: -20px;
        top: -11px;
        background: #fff;
        padding: 10px;
        border: solid 1px #999;
        -moz-box-shadow: 2px 2px 5px #686868;
        -webkit-box-shadow: 2px 2px 5px #686868;
        box-shadow: 2px 2px 5px #686868;
        z-index: 10;
    }


a.prominentLink {
    font-size: 1.2em;
}

span.sales-notification-count {
    position: absolute;
    margin-left: 21px;
    margin-top: -49px;
    border-radius: 50%;
    background: red;
    padding: 5px;
    width:15px;
    color: #ffffff;
}

.sales-notification-mark {
    border-radius: 50%; 
    background: red;
    width: 15px;
    color: #ffffff;
    height: 15px;
    display: inline-block;
}


/* Main Panel */


header {
    clear: both;
    color: #ddd;
    display: none;
}

    header a, header a:visited {
        color: #ddd;
        padding: 5px;
    }

        header a:hover, header a:active {
            color: #484848;
            background-color: #ddd;
            text-decoration: none;
        }

    header div#logo {
        float: left;
        display: block;
        height: 100px;
        width: 300px;
        margin-top: 20px;
    }

    header ul#menu {
        float: right;
        display: block;
        margin: 20px 5px 0 0;
    }

        header ul#menu li {
            padding: 0;
            margin: 0;
            list-style-type: none;
            font-weight: bold;
            display: inline;
        }

#main {
    clear: both;
    display: block;
}

    #main > ul#tabs {
        border-bottom: 1px solid black;
        background: #d0d0d0;
        display: table;
        vertical-align: middle;
        float: right;
        width: 100%;
        text-align: center;
        table-layout: fixed;
        position: fixed;
        z-index: 999;
    }

        #main > ul#tabs li {
            display: table-cell;
            padding: 0px;
            list-style-type: none;
            font-weight: bold;
            float: left;
            margin: 20px 0px 0 0;
            vertical-align: middle;
        }

            #main > ul#tabs li.space {
                float: right;
            }

            #main > ul#tabs li.support:hover .topnav-menu-mobile {
                display: block;
            }

            /*#main > ul#tabs li a {display:block; padding: 6px 15px 5px 10px; background:#ececec; text-decoration:none; margin:0; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; filter:alpha(opacity=75); -moz-opacity:0.75; -khtml-opacity: 0.75; opacity: 0.75; height: 63px; line-height: 63px; text-align: center;}*/
            #main > ul#tabs li a {
                font-weight: normal;
                border-right: 1px solid black;
                color: #f7f7f7;
                display: block;
                padding: 6px 15px 5px 10px;
                background: #999999;
                text-decoration: none;
                margin: 0;
                height: 63px;
                line-height: 63px;
                text-align: center;
            }

                #main > ul#tabs li a.active {
                    background: white;
                    color: black;
                    filter: alpha(opacity=100);
                    -moz-opacity: 1;
                    -khtml-opacity: 1;
                    opacity: 1;
                    vertical-align: middle;
                }

        #main > ul#tabs ul {
            padding: 0px;
            list-style-type: none;
            font-weight: bold;
            float: left;
            margin: 20px 1px 0 0;
            vertical-align: middle;
        }



#logo {
    height: 50px;
    line-height: 13.66;
    width: 206px;
    display: block;
    float: left;
}

#main #top {
    clear: both;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 95px;
    background-color: #d7d7d7;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ececec', endColorstr='#c6c6c6');
    background: -webkit-gradient(linear, left top, left bottom, from(#ececec), to(#c6c6c6));
    background: -moz-linear-gradient(top, #ececec, #c6c6c6);
}

#main #bottom {
    clear: both;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 0px;
    background-color: #d7d7d7;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ececec', endColorstr='#c6c6c6');
    background: -webkit-gradient(linear, left top, left bottom, from(#ececec), to(#c6c6c6));
    background: -moz-linear-gradient(top, #ececec, #c6c6c6);
}

/*#panels {background: #acacac url(../images/layout/panels_background.png) -48px 0 repeat-y; }*/

/*#panels #workspace {background:#333333}*/

#main #list {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    color: #484848;
    display: block;
    float: left;
    width: 206px;
    padding: 0px 0px;
    min-height: 600px; /* background: url(../images/layout/list-border-top.png) top left repeat-y */
}

    #main #list input[type=text], #main #list input[type=password] {
        width: 168px;
        background-color: #f7f7f7;
        -moz-box-shadow: inset 1px 1px 3px #686868;
        -webkit-box-shadow: inset 1px 1px 3px #686868;
        box-shadow: inset 1px 1px 3px #686868;
        border: none;
        font-size: 1.1em;
        font-weight: bold;
        padding: 5px;
        vertical-align: middle;
    }

.ie7 #main #list input[type=text], .ie7 #main #list input[type=password] {
    border: solid 2px #ccc;
}
/*#main #list input[type=submit] {margin-top:20px}*/
#main #list h1 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    display: block;
    width: auto;
    padding-left: 8px;
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: solid 1px #c3c3c3;
    margin-bottom: 10px;
}

#main #list form {
    margin-left: 8px;
    margin-bottom: 0px;
}

#main #list ul.links { /*margin:0 0 0px 10px;*/
    margin: 0;
    padding: 0;
}

    #main #list ul.links > li {
        padding: 0;
        margin: 0;
        list-style-type: none;
        font-weight: bold;
        font-size: 1.3em;
    }

        #main #list ul.links > li > a {
            display: block; /*width:217px;*/
            padding: 5px;
        }

            #main #list ul.links > li > a:hover {
                color: #f4f4f4;
                background-color: #484848;
                text-decoration: none;
            }

.tag-framer-item-copy {
    display: inline-block;
    background: #472727;
    padding: 3px;
    color: #fff !important;
    font-size: 12px;
    margin-left: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

#main #list #results {
    margin-top: 20px;
    width: auto; /*height:380px; overflow-x: hidden; overflow-y: auto;*/
    margin-bottom: 40px;
    background-color: #fff;
}

    #main #list #results > div {
        padding-bottom: 0px;
        border-bottom: solid 1px #000;
        margin-bottom: 0px;
        clear: both;
        margin-left: 0px;
    }

        #main #list #results > div span.type {
            float: left;
            display: block;
            font-size: 0.8em;
            width: 60px;
            padding: 3px;
            vertical-align: middle;
            font-weight: bold;
            background-color: #888;
            color: #fff;
            text-align: center;
        }

        #main #list #results > div > div.status {
            float: right;
            display: block;
            font-size: 0.8em;
            width: 60px;
            padding: 3px;
            vertical-align: middle;
            font-weight: bold;
            color: #7c7c7c;
        }

        #main #list #results > div > a {
            display: block;
            float: left; /*width:140px;*/
            padding-left: 10px;
        }

        #main #list #results > div > h2 {
            font-size: 1.2em;
            font-weight: bold;
            padding-bottom: 5px;
        }

            #main #list #results > div > h2 > a {
                text-decoration: none;
                color: #7c7c7c;
            }

                #main #list #results > div > h2 > a:hover {
                    color: #f4f4f4;
                    background-color: #484848;
                    text-decoration: none;
                }

        #main #list #results > div > div.details {
            font-size: 0.9em;
        }

            #main #list #results > div > div.details .detail {
                display: block;
            }

                #main #list #results > div > div.details .detail label {
                    font-size: 0.9em;
                }

        #main #list #results > div > div.actions {
            margin-top: 0px;
            font-size: 0.9em;
        }

#main #workspace {
    position: relative;
    display: block;
    padding: 15px 23px 23px 257px;
    border-width: 7px 0px 0px 0px;
}

    #main #workspace.fullwidth {
        padding: 1px 0px 0px 0px;
    }

    #main #workspace > h2 {
        color: #888;
        font-size: 50px;
        font-weight: bold;
        display: block;
        width: 600px;
        padding: 150px 0 10px 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #main #workspace > h3 {
        color: #888;
        font-size: 20px;
        font-weight: bold;
        display: block;
        width: 600px;
        padding: 0 0 20px 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #main #workspace > p {
        color: #888;
        font-size: 15px;
        font-weight: bold;
        display: block;
        width: 320px;
        padding: 0 0 10px 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #main #workspace > h3 a, #main #workspace a:link, #main #workspace > h3 a:visited {
        color: #888;
        text-decoration: underline;
    }

        #main #workspace > h3 a.btnShowPaymentsPopup, #main #workspace a:link.btnShowPaymentsPopup, #main #workspace > h3 a:visited.btnShowPaymentsPopup {
            color: #484848;
            text-decoration: none;
        }

        #main #workspace > h3 a:hover, #main #workspace > h3 a:active {
            color: #acacac;
            background: #888;
            text-decoration: none;
        }

.ie7 #main #workspace {
    padding: 15px 23px 23px 23px;
}

#main #workspace > div.deck {
    margin: 0 0 0 0;
    float: left;
    width: 100%;
    z-index: 10;
}

    #main #workspace > div.deck.slideout {
        width: 0px;
        display: none;
        float: left;
    }

    #main #workspace > div.deck > ul.tabs {
        height: 24px;
        display: block;
        position: static;
        list-style: none;
        white-space: nowrap;
        vertical-align: top;
        overflow: hidden;
    }

        #main #workspace > div.deck > ul.tabs li {
            display: none;
            height: 24px;
            width: 140px;
            margin: 0 2px 0 0;
            padding: 0;
            vertical-align: top;
            float: left;
        }

            #main #workspace > div.deck > ul.tabs li a {
                display: block;
                overflow: hidden;
                height: 14px;
                width: 124px;
                background-color: #c9c9c9;
                padding: 5px 10px 5px 6px;
                font-size: .85em;
                font-weight: bold;
                text-decoration: none;
                color: #484848;
                margin: 0;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
                -moz-border-radius-topleft: 5px;
                -moz-border-radius-topright: 5px;
            }

                #main #workspace > div.deck > ul.tabs li a span.customer {
                    font-weight: normal;
                }

            #main #workspace > div.deck > ul.tabs li.active a {
                background-color: #fff;
            }

            #main #workspace > div.deck > ul.tabs li.add {
                width: 26px;
            }

                #main #workspace > div.deck > ul.tabs li.add a {
                    width: 16px;
                    background: #c9c9c9;
                    padding: 4px 5px 6px 5px;
                }

    #main #workspace > div.deck div.card {
        height: auto !important;
        margin-left: 22px;
        background: #fff;
        color: #484848;
        padding: 23px;
        -moz-box-shadow: inset 1px 1px 4px #686868;
        -webkit-box-shadow: 2px 2px 4px #686868;
        box-shadow: 2px 2px 4px #686868;
        min-height: 480px;
    }

        #main #workspace > div.deck div.card > img.loader {
            float: right;
        }

    #main #workspace > div.deck div.card {
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

#main #workspace > div.page {
    background: #fff;
    color: #484848;
    margin: 23px;
    padding: 23px 23px 33px 23px;
    -moz-box-shadow: inset 1px 1px 4px #686868;
    -webkit-box-shadow: 2px 2px 4px #686868;
    box-shadow: 2px 2px 4px #686868;
    min-height: 480px;
    /*overflow: hidden;*/
    overflow: auto;
}

#main #workspace.fullwidth > div.page {
    margin: 0px;
}

#main #workspace > div.page p {
    margin-bottom: 10px;
}

.workspace > div h2 {
    font-size: 1.4em;
    display: block;
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-top: 20px;
}

    .workspace > div h2:first-child {
        margin-top: 0px;
    }

.workspace > div input[type=text], .workspace > div input[type=password] {
    width: 200px;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px;
    vertical-align: middle;
}

.workspace > div textarea {
    width: 200px;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px;
    vertical-align: middle;
}

.workspace > div .editor-label {
    font-weight: bold;
    font-size: 1.1em;
    color: #3f3f3f;
    padding: 10px 0 5px 0;
}

    .workspace > div .editor-label.dashboard {
        padding: 10px 0 5px 20px;
    }
    .workspace > div .editor-label.customer {
        padding: 10px 0 5px 20px;
    }
    .workspace > div .editor-label.dashboard1 {
        padding: 10px 0 5px 50px;
    }
.workspace > div .editor-field input[type='text'].input-validation-error, .workspace > div .editor-field input[type='password'].input-validation-error {
    width: 165px;
    padding-right: 40px;
    background: #f7f7f7 url(../images/layout/icons/alert_24x19.png) right center no-repeat;
}

.workspace > div .editor-field span.field-validation-error {
    padding: 0 0 0 10px;
    color: #88000b;
    font-size: 11px;
    display: inline-block;
    width: 300px;
    vertical-align: middle;
}

.workspace > div fieldset .check-box-list-item {
    margin-top: 5px;
    height: 17px;
}

.workspace > div .editor-label .checkbox {
    width: 18px;
    height: 17px;
    background: url(../images/layout/login/checkbox.png);
    margin-right: 5px;
}

    .workspace > div .editor-label .checkbox.checked {
        background: url(../images/layout/login/checkbox_checked.png);
    }

.workspace > div .editor-label.rememberMe {
    margin-top: 10px;
    font-size: 11px;
    font-weight: normal;
}

.workspace > div .validation-summary-errors {
    color: #88000b;
    padding: 0 0 10px 0;
}

    .workspace > div .validation-summary-errors > span {
        font-weight: bold;
        font-size: 15px;
    }

    .workspace > div .validation-summary-errors > ul {
        padding-top: 10px;
    }

.workspace > div fieldset p {
    margin-top: 20px;
}

    .workspace > div fieldset p .indent {
        margin-left: 40px;
    }


.workspace > div fieldset .display-label {
    font-weight: bold;
    font-size: 1.1em;
    color: #3f3f3f;
    padding: 10px 0 5px 0;
}

.workspace > div fieldset .display-field {
    font-size: 1.1em;
    color: #3f3f3f;
}


.workspace .imageEdit .image {
}

.workspace .imageEdit .thumb img {
    border: solid 3px #cccccc;
}

.workspace .imageEdit .upload {
    display: block;
    padding-top: 10px;
}

/* Settings - visual */
.workspace .logo-max .thumb {
    width: 120mm;
    height: 30mm;
    border: 2px solid #222;
    display: block;
}

    .workspace .logo-max .thumb img {
        border: none;
    }

.workspace span.note {
    font-size: 11px;
    color: #999;
}

.workspace .divider {
    list-style: none;
    width: 170px;
    display: block;
    float: right;
    padding: 0;
    margin: 0;
}

    .workspace .divider li {
        margin: 0 0 0 0;
        padding: 0;
        display: block;
        border-top: solid 1px #CCC;
    }

        .workspace .divider li:first-child {
            border-top: none;
        }

    .workspace .divider a {
        font-size: 1.1em;
        font-weight: bold;
        text-decoration: none;
        color: #3F3F3F;
        padding: 5px 0 5px 10px;
        display: block;
        width: 160px;
    }

        .workspace .divider a:hover {
            color: #f4f4f4;
            background-color: #888888;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            -moz-border-radius-topleft: 10px;
            -moz-border-radius-bottomleft: 10px;
        }

        .workspace .divider a.active {
            color: #f4f4f4;
            background-color: #484848;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            -moz-border-radius-topleft: 10px;
            -moz-border-radius-bottomleft: 10px;
        }

    .workspace .divider input[type=submit] {
        margin-top: 20px;
    }


#fancybox-content .workspace > div {
    margin-bottom: 23px;
}

#main.fullscreen {
    min-width: 50px;
    width: 50px;
    height: 50px;
    left: 45%;
    top: 500px;
    position: fixed;
    background-color: #fff; /*width: 97%; height: 95%;*/
    z-index: 100;
}

    #main.fullscreen #workspace {
        padding: 0px;
    }

    #main.fullscreen .deck {
        overflow: auto;
    }

    #main.fullscreen .card {
        height: 92% !important;
    }

    #main.fullscreen #workspace .sale {
        position: relative;
    }

        #main.fullscreen #workspace .sale .job {
            top: 0px;
            left: 0px; /* height: auto !important; */
        }

#main #workspace .sale .job div.linesContainer { /* height: 95% !important; */
}


.card .fullscreen {
    display: none;
    position: absolute;
    width: 23px;
    top: 10px;
    right: -14px;
    z-index: 101;
    padding: 2px 1px 0px 2px;
    background-color: #fff;
    border-radius: 2px;
    -moz-border-radius: 2px;
}

.card .unfullscreen {
    display: none;
    position: absolute;
    width: 23px;
    top: -10px;
    right: -10px;
    z-index: 101;
    padding: 2px 1px 0px 2px;
    background-color: #fff;
    border-radius: 2px;
    -moz-border-radius: 2px;
}

/* Sales */

#main #workspace .sale {
}
    #main #workspace .sale > form > .details {
        position: relative;
    }

    #main #workspace .sale > form > .details .lock {
        position: absolute;
        left: 50%;
        bottom: 0;
        font-size: 3em;
    }

    #main #workspace .sale > form > .details .options {
        float: right;
        width: 270px;
        display: block;
    }

        #main #workspace .sale > form > .details .options .select {
            float: right;
            margin-bottom: 6px;
        }

        #main #workspace .sale > form > .details .options span.number {
            clear: both;
            display: block;
            margin: 0 0 0 0;
            font-size: 1.4em;
            font-weight: normal;
            text-align: right;
            color: black;
        }

            #main #workspace .sale > form > .details .options span.number input[type="text"] {
                width: 80px;
                font-size: 1em;
                padding: 1px;
            }

            #main #workspace .sale > form > .details .options span.number input[value="auto"] {
                color: #cccccc;
            }

        #main #workspace .sale > form > .details .options span.due {
            display: block;
            margin: 3px 0 0 0;
            text-align: right;
        }

            #main #workspace .sale > form > .details .options span.due input[type="text"] {
                width: 80px;
                font-size: 1em;
                padding: 1px;
                vertical-align: baseline;
            }

        #main #workspace .sale > form > .details .options span.created {
            display: block;
            margin: 3px 0 0 0;
            text-align: right;
        }

            #main #workspace .sale > form > .details .options span.created input[type="text"] {
                width: 80px;
                font-size: 1em;
                padding: 1px;
                vertical-align: baseline;
            }

    #main #workspace .sale > form > .details .customer span.name {
        font-size: 1.2em;
        font-weight: bold;
        display: block;
    }

    #main #workspace .sale > form > .details .customer span input {
        width: 360px;
        border: 1px solid #ddd;
        padding: 10px;
        margin-bottom: 4px;
    }

    #main #workspace .sale > form > .details .customer span.company input {
        font-size: 0.85em;
        width: 360px;
    }

    #main #workspace .sale > form > .details .customer span.address {
        display: block;
    }

        #main #workspace .sale > form > .details .customer span.address input {
            font-size: 0.85em;
            width: 360px;
        }

    #main #workspace .sale > form > .details .customer .addressEdit > span {
        width: 390px;
    }

        #main #workspace .sale > form > .details .customer .addressEdit > span input {
            font-size: 0.85em;
            height: 14px;
        }

        #main #workspace .sale > form > .details .customer .addressEdit > span span.addressCity {
            float: left;
        }

            #main #workspace .sale > form > .details .customer .addressEdit > span span.addressCity input {
                width: 240px;
            }

        #main #workspace .sale > form > .details .customer .addressEdit > span span.addressState {
            float: left;
        }

            #main #workspace .sale > form > .details .customer .addressEdit > span span.addressState input {
                width: 50px;
            }

        #main #workspace .sale > form > .details .customer .addressEdit > span span.addressPostcode {
            float: left;
        }

            #main #workspace .sale > form > .details .customer .addressEdit > span span.addressPostcode input {
                width: 70px;
            }

    #main #workspace .sale > form > .details .customer span.contact {
        display: block;
    }

        #main #workspace .sale > form > .details .customer span.contact input {
            font-size: 0.85em;
            width: 80px;
        }

            #main #workspace .sale > form > .details .customer span.contact input#Customer_Person_EmailAddress {
                width: 170px;
            }

    #main #workspace .sale > form > .details .customer .addressEdit > span span.addressLine1 input {
        width: 240px;
    }

    #main #workspace .sale > form > .details .customer .addressEdit > span span.addressLine2 input {
        width: 240px;
    }



    #main #workspace .sale > form > .details .customer .addressEditB > span {
        width: 370px;
    }

        #main #workspace .sale > form > .details .customer .addressEditB > span input {
            font-size: 0.85em;
            height: 14px;
            width: 360px;
        }

    #main #workspace .sale > form > .details .customer .addressEditC > span input {
        font-size: 0.85em;
        height: 14px;
        width: 173px;
    }

    #main #workspace .sale > form > .details .customer .addressEditB > span span.addressCity {
        float: left;
    }

        #main #workspace .sale > form > .details .customer .addressEditB > span span.addressCity input {
            width: 240px;
        }

    #main #workspace .sale > form > .details .customer .addressEditB > span span.addressState {
        float: left;
    }

        #main #workspace .sale > form > .details .customer .addressEditB > span span.addressState input {
            width: 50px;
        }

    #main #workspace .sale > form > .details .customer .addressEditB > span span.addressPostcode {
        float: left;
    }

        #main #workspace .sale > form > .details .customer .addressEditB > span span.addressPostcode input {
            width: 50px;
        }

    #main #workspace .sale > form > .details .customer span.contactB {
        display: block;
    }

        #main #workspace .sale > form > .details .customer span.contactB input {
            font-size: 0.85em;
            width: 173px;
        }

            #main #workspace .sale > form > .details .customer span.contactB input#Customer_Person_EmailAddress {
                width: 360px;
            }


    #main #workspace .sale > form > table.lines {
        clear: both;
        margin: 20px 0;
        border-top: solid 1px #000;
        width: 98%;
    }

    #main #workspace .sale #Notes {
        width: 500px;
        height: 65px;
    }


#main #workspace .lines thead td {
    padding: 20px 3px 3px 3px;
    font-weight: bold;
    color: #000;
}

    #main #workspace .lines thead td.unit {
        width: 40px;
    }

    #main #workspace .lines thead td.type {
        width: 40px;
    }

    #main #workspace .lines thead td.name {
    }

    #main #workspace .lines thead td.usedQuantity {
        width: 45px;
    }

    #main #workspace .lines thead td.usedUnitPrice {
        width: 45px;
    }

    #main #workspace .lines thead td.wastedQuantity {
        width: 45px;
    }

    #main #workspace .lines thead td.wastedUnitPrice {
        width: 45px;
    }

    #main #workspace .lines thead td.total {
        width: 50px;
    }


#main #workspace .lines td.actions {
    width: 32px;
    line-break: none;
    padding-right: none;
    margin-right: none;
    position: absolute;
}

    #main #workspace .lines td.actions div.actions {
        width: 32px;
        line-break: none;
        display: none;
    }

#main #workspace .lines tr:hover td.actions div.actions {
    display: inherit;
}

#main #workspace .lines td.actions div.extras {
    position: absolute;
    left: -130px;
    top: 33px;
}

    #main #workspace .lines td.actions div.extras > span {
        width: 160px;
    }

        #main #workspace .lines td.actions div.extras > span .extrasOption {
            display: block;
            height: 20px;
            width: 160px;
        }

    #main #workspace .lines td.actions div.extras input[type='submit'] {
        padding: 5px 10px;
        font-size: 1em;
    }

    #main #workspace .lines td.actions div.extras input[type='text'] {
        width: 40px;
        float: right;
    }

    #main #workspace .lines td.actions div.extras > span .extrasClose {
        margin-top: 50px;
    }

        #main #workspace .lines td.actions div.extras > span .extrasClose input {
            margin-right: 10px;
        }

#main #workspace .lines tbody td {
    padding: 3px;
    font-size: 0.9em;
    vertical-align: middle;
    height: 16px;
    white-space: nowrap;
}

    #main #workspace .lines tbody td.type {
        font-weight: bold;
    }

#main #workspace .lines tbody tr.add td.numeric {
    padding-right: 0px;
    padding-left: 6px;
}

#main #workspace .lines tbody tr.add input:not(.item) {
    display: none;
}

#main #workspace .lines tbody td.usedQuantity {
    position: relative;
}

    #main #workspace .lines tbody td.usedQuantity .quantityTip {
        position: absolute;
        left: -11px;
        bottom: 32px;
        background: #fff;
        padding: 10px;
        border: solid 1px #999;
        -moz-box-shadow: 2px 2px 5px #686868;
        -webkit-box-shadow: 2px 2px 5px #686868;
        box-shadow: 2px 2px 5px #686868;
        z-index: 7;
    }

        #main #workspace .lines tbody td.usedQuantity .quantityTip:before {
            content: ' ';
            position: absolute;
            width: 0;
            height: 0;
            left: 48px;
            bottom: -12px;
            border-top: 12px solid;
            border-left: 7px solid;
            border-right: 7px solid;
            border-bottom: 0 solid;
            border-color: #999 transparent transparent transparent;
        }

        #main #workspace .lines tbody td.usedQuantity .quantityTip:after {
            content: ' ';
            position: absolute;
            width: 0;
            height: 0;
            left: 48px;
            bottom: -10px;
            border-top: 12px solid;
            border-left: 7px solid;
            border-right: 7px solid;
            border-bottom: 0 solid;
            border-color: #fff transparent transparent transparent;
        }

#main #workspace .job .lines tbody td input[type='text'] {
    font-size: 0.9em;
    padding: 3px;
    width: 120px;
}

#main #workspace .lines tbody td .checkbox {
}

#main #workspace .lines tbody td input#item {
    width: 120px;
}

#main #workspace .lines tbody td input.item {
    width: 120px;
}

#main #workspace .lines tbody td input.item {
    width: 120px;
}

#main #workspace .lines tbody a.searchfavourite {
    text-decoration: none;
}

#main #workspace .lines tbody td .field-validation-error {
    position: relative;
}

    #main #workspace .lines tbody td .field-validation-error > span {
        position: absolute;
        float: left;
        display: block;
        text-align: left;
        top: -60px;
        left: -80px;
        width: 120px;
        height: 50px;
        padding: 5px;
        border: solid 2px black;
        background-color: White;
        font-size: 0.8em;
    }

#main #workspace .lines tbody td.options input[type="text"] {
    width: 25px;
}

#main #workspace .lines tbody td.options img {
    margin: 1px 0 0 3px;
}

#main #workspace .lines tbody td.jobtags div.tagsinput {
    height: 12px;
    padding: 3px;
}

    #main #workspace .lines tbody td.jobtags div.tagsinput input {
        height: 12px;
        padding: 0px;
        width: 80px;
        background-color: #F7F7F7;
    }

#main #workspace .sale .lines tr.saleJob.highlight td {
    background-color: #F7F7F7;
}

#main #workspace .sale .lines td input[type='text'] {
    font-weight: normal;
    font-size: 1em;
    padding: 1px;
    width: 45px;
}

    #main #workspace .sale .lines td input[type='text'].item {
        width: 125px;
        height: 15px;
    }

#main #workspace .sale .lines tr:not(.current) td input[type='text']:not(.item) {
    background-color: transparent;
    border: none;
    color: #607890;
    text-decoration: underline;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#main #workspace .sale .lines td input[type='text']:not(.item) {
    text-align: right;
}

#main #workspace .sale .lines div.select {
    background: none !important;
    cursor: pointer;
    font: inherit !important;
    height: 15px !important;
}

    #main #workspace .sale .lines div.select .text {
        top: 0 !important;
        left: 0 !important;
        cursor: pointer;
        font-weight: normal;
        font-size: 1em;
        padding: 1px;
        background-color: transparent;
        border: none;
        color: #607890;
        text-decoration: underline;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

#main #workspace .barcodeLabels .optionsRow input[type='text'] {
    width: 30px;
}

#main #workspace .barcodeLabels .lines td.name {
    width: 400px;
}

#main #workspace .barcodeLabels .lines tr.saleJob.highlight td {
    background-color: #F7F7F7;
}

#main #workspace .barcodeLabels .lines td input[type='text'] {
    font-weight: normal;
    font-size: 1em;
    padding: 1px;
    width: 45px;
}

    #main #workspace .barcodeLabels .lines td input[type='text'].item {
        width: 120px;
    }

#main #workspace .barcodeLabels .lines tr:not(.current) td input[type='text']:not(.item) {
    background-color: transparent;
    border: none;
    color: #607890;
    text-decoration: underline;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#main #workspace .barcodeLabels .lines td input[type='text']:not(.item) {
    text-align: right;
}


#main #workspace .lines tbody td.name {
    position: relative;
    display: block;
}

#main #workspace .lines .favbutton {
    position: absolute;
    top: 1px;
    left: 132px;
    width: 18px;
    height: 22px;
}

    #main #workspace .lines .favbutton img {
        display: none;
        width: 16px;
    }

        #main #workspace .lines .favbutton img.down {
            float: left;
        }

        #main #workspace .lines .favbutton img.star {
            float: left;
        }

    #main #workspace .lines .favbutton:hover {
        background-color: #ccc;
        border: 1px outset #999;
        cursor: pointer;
    }

        #main #workspace .lines .favbutton:hover img {
            display: block;
        }

            #main #workspace .lines .favbutton:hover img.down {
                margin-left: 8px;
                margin-top: 2px;
            }

            #main #workspace .lines .favbutton:hover img.star {
                margin-left: 1px;
                margin-top: 2px;
            }

    #main #workspace .lines .favbutton.hover {
        background-color: #ccc;
        border: 1px outset #999;
        cursor: pointer;
    }

        #main #workspace .lines .favbutton.hover img {
            display: block;
        }

            #main #workspace .lines .favbutton.hover img.down {
                margin-left: 8px;
                margin-top: 2px;
            }

            #main #workspace .lines .favbutton.hover img.star {
                margin-left: 1px;
                margin-top: 2px;
            }

#main #workspace .lines ul.favdropdown {
    display: none;
    position: absolute;
    top: 0px;
    left: -20px;
    background-color: #fff;
    width: 135px;
    height: 78px;
    border: 1px solid #ccc;
    margin-top: 26px;
    z-index: 200;
}

    #main #workspace .lines ul.favdropdown li {
        list-style-type: none;
        font-size: 12px;
        height: 16px;
        padding: 5px 5px;
    }

        #main #workspace .lines ul.favdropdown li:hover {
            background-color: #ccc;
        }

        #main #workspace .lines ul.favdropdown li a {
            text-decoration: none;
        }
        /* #main #workspace .lines ul.favdropdown li:hover a { text-decoration:none; background-color: #ccc; color: White }*/
        #main #workspace .lines ul.favdropdown li:hover a:visited {
            color: white;
        }

#main #workspace .lines tbody td.options {
    position: relative;
}

#main #workspace .lines .sizetobutton {
    position: absolute;
    top: 0px;
    left: 0px;
    width: auto;
    height: 18px;
}

    #main #workspace .lines .sizetobutton .linktext {
        display: block;
        margin-top: 4px;
        overflow: visible;
        width: 150px;
    }

    #main #workspace .lines .sizetobutton img {
        display: none;
        width: 16px;
    }

        #main #workspace .lines .sizetobutton img.down {
            position: absolute;
            top: 0px;
            right: 4px;
        }

    #main #workspace .lines .sizetobutton:hover {
        background-color: #ccc;
        border: 1px outset #999;
        cursor: pointer;
    }

        #main #workspace .lines .sizetobutton:hover img {
            display: block;
        }

            #main #workspace .lines .sizetobutton:hover img.down {
                margin-left: 8px;
                margin-top: 2px;
            }

    #main #workspace .lines .sizetobutton.hover {
        background-color: #ccc;
        border: 1px outset #999;
        cursor: pointer;
    }

        #main #workspace .lines .sizetobutton.hover img {
            display: block;
        }

            #main #workspace .lines .sizetobutton.hover img.down {
                margin-left: 8px;
                margin-top: 2px;
            }


ul.sizetodropdown {
    display: none;
    position: absolute;
    top: 0px;
    left: -20px;
    background-color: #fff;
    width: 135px;
    border: 1px solid #ccc;
    margin-top: 26px;
    z-index: 200;
}

ul#sizetolengthdropdown {
}

ul.sizetodropdown li {
    list-style-type: none;
    font-size: 12px;
    height: 16px;
    padding: 5px 5px;
}

    ul.sizetodropdown li:hover {
        background-color: #ccc;
    }

    ul.sizetodropdown li a {
        text-decoration: none;
    }

    ul.sizetodropdown li:hover a {
        text-decoration: none;
        background-color: #ccc;
        color: White;
    }

        ul.sizetodropdown li:hover a:visited {
            color: white;
        }

#main #workspace .lines tfoot td {
    padding: 3px;
}

    #main #workspace .lines tfoot td.obsolete {
        text-decoration: line-through;
    }

#main #workspace .lines tfoot tr:first-child td {
    padding-top: 20px;
}

#main #workspace .sale .job {
    display: none;
    position: absolute;
    top: 43px;
    left: 23px;
    height: 480px;
    padding: 15px;
    border: solid 1px #ccc;
    background-color: #fff;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -moz-box-shadow: 4px 4px 4px #686868;
    -webkit-box-shadow: 2px 4px 4px #686868;
    box-shadow: 1px 1px 3px #686868;
    z-index: 100;
}

#main #workspace .sale .clone {
    display: none;
    position: absolute;
    top: 43px;
    left: 23px;
    height: 480px;
    padding: 15px;
    border: solid 1px #ccc;
    background-color: #fff;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -moz-box-shadow: 4px 4px 4px #686868;
    -webkit-box-shadow: 2px 4px 4px #686868;
    box-shadow: 1px 1px 3px #686868;
    z-index: 100;
}

#main #workspace .sale .job div.linesContainer {
    display: block;
    height: 150px;
    min-height: 150px;
    overflow: visible;
    padding-right: 8px;
    margin-bottom: 15px;
    width: 100%;
}

#main #workspace .sale .clone div.cloneContainer {
    display: block;
    height: 400px;
    min-height: 150px;
    overflow: auto;
    padding-right: 8px;
    margin-bottom: 15px;
    width: 100%;
}

.ui-autocomplete .name {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
}

.ui-autocomplete .details span {
    display: block;
}

#main #list #results .customer {
    width: 206px;
    display: block;
}

    #main #list #results .customer a.hideshowsale {
        display: none;
    }

    #main #list #results .customer:hover a.hideshowsale {
        display: block;
        float: right;
        width: 16px;
        padding: 0;
        margin: 0;
    }

#main #list #results h2 {
    display: block; /* width:205px*/
}



.popupPayments {
    width: 550px;
    border: 2px solid #cccccc;
    background-color: #fff;
    z-index: 200;
    padding: 20px 20px;
}

    .popupPayments h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .popupPayments table.paymentslist th {
        padding: 10px 10px;
        font-weight: bold;
    }

    .popupPayments table.paymentslist td {
        padding: 10px 10px;
    }

.job {
}


/* .job > div, .job > fieldset { border: solid 1px #ccc; overflow:hidden;} */

#main #workspace .job .details {
    display: block;
    width: 245px;
    height: 250px;
    float: left;
}

    #main #workspace .job .details input.action {
        margin: 20px 0 20px 0;
    }

    #main #workspace .job .details .completed, #main #workspace .job .details .collected {
        display: inline-block;
        padding-bottom: 5px;
    }

    #main #workspace .job .details .copies input[type="text"] {
        width: 30px;
        font-size: 1em;
        padding: 1px;
        vertical-align: baseline;
    }

#main #workspace .job .artwork {
    display: none;
    width: 250px;
    height: 250px;
    float: left;
}

#main #workspace .job iframe#artworkUpload {
    display: none;
}

#main #workspace div.jobNotes textarea#Notes {
    width: 95%;
}

.job .jobLoader {
    display: none;
    position: absolute;
    z-index: 100;
    width: 250px;
    height: 250px;
    background-color: #fff;
}

    .job .jobLoader > img {
        width: 64px;
        height: 64px;
        margin: 93px;
    }
/*.job .preview {display:table; width: 250px;height:250px; float:right; overflow:hidden}*/
.job .preview {
    display: table;
    float: right;
    overflow: hidden;
}

    .job .preview > div.image {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

/* Mods to sale lines for favourite icons */
.sale .lines td.name a.editLine {
    display: inline-block;
    width: 126px;
    white-space: nowrap;
    overflow: hidden;
}

.sale .lines td.name .nameholder {
    display: inline-block;
    width: 128px;
}
/*#main #workspace .sale .lines .favbutton { position: absolute; top: 1px; left: 163px; width: 45px; height: 22px }
    #main #workspace .sale .lines tbody td input#item {width:150px}
    /* end mods */

.job .lines {
    clear: right;
    width: 100%;
}

    .job .lines td {
    }

#main #workspace .job .lines tbody td {
    height: 20px;
}

.job .lines td.name a.editLine {
    display: inline-block;
    width: 126px;
    white-space: nowrap;
    overflow: hidden;
}

.job .lines td.name a.editLine {
    overflow: ellipsis;
}

#main #workspace .job .lines .unitareaoptions {
    margin-left: 20px;
    position: relative;
}

/*#main #workspace .job .lines td.actions {width:112px;white-space: nowrap;text-align: right; position:relative} */
#main #workspace .job .lines td.actions {
    width: auto !important;
    position: absolute;
    right: 32px;
    white-space: nowrap;
}

.job .lines td.price {
    display: none;
    width: 50px;
}

.job .lines td.waste {
    display: none;
    width: 50px;
}

.job .lines td.time {
    display: none;
    width: 50px;
    text-align: right;
}

.job .lines td.cost {
    display: none;
    width: 50px;
}

.job .lines td.materialpricing {
    display: none;
    width: 50px;
}


.job .jobTotal {
    display: block;
    float: right;
    padding-left: 15px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
}

#main #workspace tr.saleLine td {
    vertical-align: top;
    border-top: solid 1px #eee;
    height: 17px;
}

#main #workspace .job .lines tr.subTotal td.price {
    font-weight: bold;
    border-top: solid 1px #999;
}

#main #workspace .job .lines tr.subTotal td.time {
    border-top: solid 1px #999;
}

#main #workspace .job .lines tr.subTotal td.cost {
    border-top: solid 1px #999;
}

#main #workspace .job .staticTotal {
    width: 60px;
    height: 16px;
    font-size: 1em;
}


#main #workspace .microform > .editor-label {
    clear: both;
    display: block;
    width: 70px;
    float: left;
    margin: 7px 10px 5px 0;
    text-align: right;
    padding-top: 5px !important;
}

#main #workspace .microform > .editor-field {
    display: block;
    width: 160px;
    float: left;
    margin: 7px 10px 5px 0;
}

    #main #workspace .microform > .editor-field input[type="text"] {
        width: 50px !important;
        vertical-align: baseline !important;
    }

    #main #workspace .microform > .editor-field select, #main #workspace .microform > .editor-field .select {
        margin-top: 4px;
    }

    #main #workspace .microform > .editor-field input[type="upload"] {
        margin-top: 4px;
    }

#main #workspace .microform > input[type='submit'] {
    clear: both;
    display: block;
    width: 70px;
    float: left;
    margin: 7px 10px 5px 0;
    text-align: right;
    padding-top: 5px !important;
}

#main #workspace .microform h2 {
    margin-bottom: 5px;
    padding-bottom: 5px;
}

#main #workspace .microform p {
    margin-top: 5px;
}

#fancybox-content h2 {
    font-size: 1.4em;
    display: block;
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Supplier */

#products #productselect {
    margin-bottom: 20px;
}

    #products #productselect .item {
        padding: 5px 8px;
        background: #666666;
        color: #efefef;
        cursor: pointer;
        float: left;
    }

        #products #productselect .item:hover {
            background-color: #efefef;
            color: #666666;
        }

    #products #productselect .active {
        background-color: #efefef;
        color: #666666;
    }

#productselectlist {
    margin: 30px 0;
}

/* Items */

#main #workspace .itemTypeSelect {
}

    #main #workspace .itemTypeSelect ul.itemTypes {
        list-style-type: none;
        margin-top: 30px;
    }

        #main #workspace .itemTypeSelect ul.itemTypes li {
            display: block;
            float: left;
            width: 150px;
            height: 48px;
            margin: 0 40px 40px 0;
            padding: 0;
            vertical-align: middle;
        }

            #main #workspace .itemTypeSelect ul.itemTypes li img {
                vertical-align: middle;
                margin-right: 10px;
            }

            #main #workspace .itemTypeSelect ul.itemTypes li a {
                text-decoration: none;
                color: #484848;
                font-size: 1.2em;
                font-weight: bold;
            }


#main #workspace .item {
}

    #main #workspace .item .visual {
        display: block;
        float: right;
        width: 260px;
        margin: 0px 23px;
    }

footer {
    clear: both;
}




/* PriceModel */
#main #workspace div.priceModel {
}

    #main #workspace div.priceModel input[type='text'] {
        width: 55px;
        vertical-align: middle;
    }

    #main #workspace div.priceModel div.priceBreak thead td {
        font-weight: bold;
        font-size: 15px;
        color: #3f3f3f;
        border-bottom: solid 1px #CCC;
        padding: 10px 15px 5px 0;
        vertical-align: bottom;
    }

    #main #workspace div.priceModel div.priceBreak td {
        vertical-align: middle;
        padding: 5px 15px 5px 0;
    }

        #main #workspace div.priceModel div.priceBreak td.breakPoint {
            width: 70px;
        }

        #main #workspace div.priceModel div.priceBreak td.amount {
            width: 70px;
        }

        #main #workspace div.priceModel div.priceBreak td.type {
            width: 97px;
            padding-right: 5px;
        }

        #main #workspace div.priceModel div.priceBreak td.options {
            width: 32px;
            padding-right: 0;
        }

            #main #workspace div.priceModel div.priceBreak td.options a {
                text-decoration: none;
                color: Black;
                font-size: 1.5em;
                font-weight: bold;
            }

                #main #workspace div.priceModel div.priceBreak td.options a img {
                    vertical-align: baseline;
                }

    #main #workspace div.priceModel div.comboPricingComponent {
        border: solid 1px #CCC;
        padding: 5px;
        margin: 0 0 10px 0;
        width: 365px;
        overflow: auto;
    }

/* ScaleBreaks */
#main #workspace table.scaleBreaks {
}

    #main #workspace table.scaleBreaks input[type='text'] {
        width: 55px;
        vertical-align: middle;
    }

    #main #workspace table.scaleBreaks thead td {
        font-weight: bold;
        font-size: 15px;
        color: #3f3f3f;
        border-bottom: solid 1px #CCC;
        padding: 10px 15px 5px 0;
        vertical-align: bottom;
    }

    #main #workspace table.scaleBreaks td {
        vertical-align: middle;
        padding: 5px 15px 5px 0;
    }

        #main #workspace table.scaleBreaks td.breakPoint {
            width: 65px;
        }

        #main #workspace table.scaleBreaks td.amount {
            width: 65px;
        }

        #main #workspace table.scaleBreaks td.type {
            width: 97px;
            padding-right: 5px;
        }

        #main #workspace table.scaleBreaks td.options {
            width: 32px;
            padding-right: 0;
        }

            #main #workspace table.scaleBreaks td.options a {
                text-decoration: none;
                color: Black;
                font-size: 1.5em;
                font-weight: bold;
            }

                #main #workspace table.scaleBreaks td.options a img {
                    vertical-align: baseline;
                }

/* arrayList */
#main #workspace table.arrayList {
}

    #main #workspace table.arrayList thead td {
        font-weight: bold;
        font-size: 15px;
        color: #3f3f3f;
        border-bottom: solid 1px #CCC;
        padding: 10px 15px 5px 0;
        vertical-align: bottom;
    }

    #main #workspace table.arrayList td {
        vertical-align: middle;
        padding: 5px 15px 5px 0;
    }

        #main #workspace table.arrayList td.options {
            width: 32px;
            padding-right: 0;
        }

            #main #workspace table.arrayList td.options a {
                text-decoration: none;
                color: Black;
                font-size: 1.5em;
                font-weight: bold;
            }

                #main #workspace table.arrayList td.options a img {
                    vertical-align: baseline;
                }


/* SMS */

#main #workspace div.customer #sms {
    width: 365px;
    display: block;
}

    #main #workspace div.customer #sms textarea {
        width: 355px;
    }

    #main #workspace div.customer #sms #sendSmsButton {
        float: right;
        margin-top: 5px;
    }

#templatelist {
    margin-bottom: 10px;
    width: 300px;
    max-height: 300px;
    overflow-y: hidden;
    overflow: auto;
}

    #templatelist .actions {
        float: right;
        width: 40px;
    }


/* History */

#main #workspace div.customer #history {
    width: 365px;
    display: block;
}

    #main #workspace div.customer #history textarea {
        width: 355px;
    }

    #main #workspace div.customer #history #addNoteButton {
        float: right;
        margin-top: 6px;
    }

.history {
    clear: right;
    margin-top: -20px;
}

    .history span.type {
        float: left;
        display: block;
        font-size: 1em;
        width: 60px;
        vertical-align: middle;
        font-weight: bold;
        background-color: #888;
        color: #fff;
        text-align: center;
        margin-right: 5px;
    }

    .history span.entryDate {
        font-size: 1.2em;
        font-weight: bold;
        display: block;
    }

    .history span.by {
        display: block;
        font-size: 0.8em;
        color: #999;
    }

    .history span.excerpt {
        display: block;
        margin-top: 10px;
        overflow-wrap: break-word;
    }

    .history .noteContent {
    }

.historyPage .pager {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
}

.historyPage .history {
    margin-top: 0 !important;
}

/* Staff */

.staff.summary {
    margin-bottom: 20px;
}

.staff .name {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    padding: 3px 0 5px 0;
}

.staff .email {
    display: block;
    padding: 0 0 5px 0;
}

.staff .actions {
    display: block;
    padding: 0 0 5px 0;
}

    .staff .actions a {
        display: inline-block;
        margin-right: 5px;
    }

#main #workspace > div input[type=text].fromTime {
    width: 50px;
}

#main #workspace > div input[type=text].toTime {
    width: 50px;
}


/* Tags */

#main #workspace > div #tags {
    margin-top: 20px;
}

    #main #workspace > div #tags .tag a {
        font-size: 1.5em;
        display: block;
        float: left;
        background-color: #666;
        margin-right: 5px;
        margin-top: 5px;
        color: #fff;
        padding: 5px 10px;
        text-decoration: none;
    }


.ui-menu-item .tagResult {
    font-size: 1.3em;
    display: inline-block;
    background-color: #666;
    margin-right: 5px;
    color: #fff;
    padding: 3px 7px;
    text-decoration: none;
}

#main #workspace > div .tagResult {
    font-size: 1.3em;
    display: inline-block;
    background-color: #666;
    margin-right: 5px;
    color: #fff;
    padding: 3px 7px;
    text-decoration: none;
}

#main #workspace div.tagsinput {
    padding: 3px 0 0 5px;
    overflow: hidden;
    width: 500px;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px;
    vertical-align: middle;
}

#main #workspace .tagsinput .tag {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 2px 5px 2px 5px;
    font-size: 0.9em;
    margin-bottom: 3px;
}

    #main #workspace .tagsinput .tag a {
        color: #ccc;
        text-decoration: none;
    }


#main #workspace .tagsinput #TagsInputList_addTag {
    height: 19px;
    overflow: hidden;
}

#main #workspace .tagsinput #JobTagsInputList_addTag {
    height: 19px;
    overflow: hidden;
}

#main #workspace .tagsinput > div > input {
    padding: 2px 5px 2px 5px;
    font-size: 0.9em;
    margin-bottom: 3px;
}


/* Import */

#tableMatchTable {
    border-collapse: collapse;
    border: solid 2px #ccc;
    width: 100%;
}

    #tableMatchTable td, #tableMatchTable th {
        vertical-align: top;
        border: solid 2px #ccc;
        text-align: left;
        padding: 3px;
    }

        #tableMatchTable td.sampleData {
        }

#divImportErrorKey {
    position: relative;
    margin-top: 10px;
}

ul.importErrors {
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    ul.importErrors li {
        padding-top: 0px;
        margin: 0;
        padding: 0;
    }

        ul.importErrors li img {
            vertical-align: top;
        }

        ul.importErrors li .errorType {
            font-weight: bold;
        }

#divImportErrors {
    margin-top: 10px;
}

#divImportData {
    margin-top: 10px;
}

#divImportDataContainer {
    overflow: auto;
    height: 300px;
    border: 1px solid #e3e3e3;
    padding: 20px;
}

    #divImportDataContainer table#tableImportData thead tr th.imported {
        width: 60px;
    }

    #divImportDataContainer table#tableImportData thead tr th.mappedTo {
        width: 60px;
    }

    #divImportDataContainer table#tableImportData tr th.rowNumber {
        width: 20px;
    }

    #divImportDataContainer table#tableImportData tr th.errorLevel {
        width: 16px;
        text-align: center;
    }

    #divImportDataContainer table#tableImportData td.errorListCell_Error {
        background: #fadee3;
    }

    #divImportDataContainer table#tableImportData td.errorListCell_Warning {
        background: #faeede;
    }

    #divImportDataContainer table#tableImportData td.errorListCell_Information {
        background: #f4f4f4;
    }

#divFirstRowAsHeaders {
    margin: 20px 0;
}

#importConfirmation h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#tableImportData {
    border-collapse: collapse;
}

    #tableImportData td, #tableImportData th {
        text-align: left;
        padding: 5px;
    }

    #tableImportData th {
        white-space: nowrap;
    }


#importResults {
    border-collapse: collapse;
    border: solid 2px #ccc;
    width: 100%;
}

    #importResults td, #importResults th {
        vertical-align: top;
        border: solid 2px #ccc;
        text-align: left;
        padding: 3px;
    }


.progressBar {
    display: block;
    width: 300px;
    height: 15px;
    border: solid 2px #666;
}

    .progressBar > span {
        display: block;
        height: 15px;
        width: 0px;
        background-color: #ccc;
    }


div.reportOptions .optionsRow {
    margin-bottom: 10px;
}

    div.reportOptions .optionsRow.floatleft {
        overflow: hidden;
    }

        div.reportOptions .optionsRow.floatleft > * {
            float: left;
            margin-right: 7px;
        }

        div.reportOptions .optionsRow.floatleft > input {
            height: 31px;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
        }

div.reportOptions input[type="text"].selectdate {
    width: 100px;
}

div.reportFooter {
    margin-top: 20px;
}

div.reportActions {
    float: right;
}

div.reportPagination {
    float: left;
}

table.report {
    width: 100%;
    margin-bottom: 10px;
}

    table.report th {
        padding: 10px;
        border-bottom: solid 1px #e3e3e3;
        text-align: left;
    }

    table.report td {
        padding: 2px 10px;
    }

#jobsListing th.number {
    width: 70px;
}

#jobsListing th.collected {
    width: 70px;
}

#jobsListing th.completed {
    width: 70px;
}

#SuppliersItemsTable th.completed {
    width: 70px;
}


/* Administration Notifications */
#notificationhistory {
    margin: 50px auto;
}

.notificationitem {
    max-height: 18px;
}

    .notificationitem .date {
        width: 150px;
        display: block;
        float: left;
    }

    .notificationitem .content {
        width: 400px;
        display: block;
        float: left;
    }

    .notificationitem .includestaff {
        width: 90px;
        display: block;
        float: left;
    }

    .notificationitem .cancel {
        width: 50px;
        display: block;
        float: left;
    }

#notificationhistory .pager {
    display: block;
    margin-top: 20px;
}

/* purchase orders pages */
.blur-text {
    color: transparent;
    text-shadow: 0 0 10px rgba(0,0,0,1);
}

.prepareorderline {
    width: 100%;
    margin-bottom: 10px;
}
    .prepareorderline span.stocklevel {
        margin-left: 648px;
    }
    .prepareorderline span.stocklevel-new {
        margin-left: 627px;
    }
    
    .prepareorderline span.stocklevelchops {
        width: 100px;
        /*margin-left: 50px;*/
    }
    .prepareorderline span.unitgrouplast {
        padding-right: 50px;
    }

    /* 750px */
    .prepareorderline span {
        display: inline-block;
        vertical-align: top;
    }

        .prepareorderline span.action {
            width: 140px;
        }

        .prepareorderline span.code {
            width: 150px;
            padding-top: 5px;
        }

        .prepareorderline span.name {
            width: 190px;
            padding-top: 5px;
        }

        .prepareorderline span.sales {
            width: 60px;
            padding-top: 5px;
        }

        .prepareorderline span.quantityused {
            width: 65px;
            padding-top: 5px;
        }

        .prepareorderline span.quantityorder {
            width: 60px;
        }

            .prepareorderline span.quantityorder input {
                font-size: 0.9em;
                font-weight: normal;
            }

        .prepareorderline span.unit {
            width: 50px;
        }

            .prepareorderline span.unit input {
                font-size: 0.9em;
                font-weight: normal;
            }

    .prepareorderline .hiddensales {
        display: none;
    }

.adhocline {
    width: 100%;
    margin-bottom: 10px;
}

    .adhocline span {
        display: inline-block;
    }

        .adhocline span.actions {
            width: 140px;
        }

        .adhocline span.code {
            width: 150px;
        }

            .adhocline span.code input {
                width: 140px;
                font-size: 0.9em;
                font-weight: normal;
            }

        .adhocline span.name {
            width: 190px;
        }

            .adhocline span.name input {
                width: 180px;
                font-size: 0.9em;
                font-weight: normal;
            }

        .adhocline span.space {
            width: 128px;
        }

        .adhocline span.unit {
            margin-left: 5px;
            width: 50px;
        }

            .adhocline span.unit input {
                font-size: 0.9em;
                font-weight: normal;
            }

        .adhocline span.quantityorder {
            width: 55px;
        }

            .adhocline span.quantityorder input {
                font-size: 0.9em;
                font-weight: normal;
            }

#orderlines .purchaseorderline {
    width: 100%;
    margin-top: 10px;
}

.purchaseorderline span {
    display: inline-block;
    vertical-align: top;
}

    .purchaseorderline span.code {
        width: 150px;
    }

    .purchaseorderline span.warningsymbols {
        width: 150px;
    }

    .purchaseorderline span.name {
        width: 185px;
    }

    .purchaseorderline span.salescount {
        width: 50px;
    }

    .purchaseorderline span.quantity {
        width: 90px;
    }

/*.purchaseordersales {padding-bottom: 10px;  margin-bottom: 10px; clear: both; padding-left: 5px; }
.purchaseordersales a { text-decoration: none; color: #7C7C7C; }
.purchaseordersales a:hover {color: #f4f4f4; background-color:#484848; text-decoration:none;}
.purchaseordersales div.details {font-size: 0.9em;} */

.purchaseordersales #results {
    margin-top: 10px;
}

    .purchaseordersales #results > div {
        padding-bottom: 10px;
        border-bottom: solid 1px #c3c3c3;
        margin-bottom: 10px;
        clear: both;
        padding-left: 5px;
    }

        .purchaseordersales #results > div span.type {
            float: left;
            display: block;
            font-size: 0.8em;
            width: 60px;
            padding: 3px;
            vertical-align: middle;
            font-weight: bold;
            background-color: #888;
            color: #fff;
            text-align: center;
        }

        .purchaseordersales #results > div > a {
            display: block;
            float: left;
            width: 140px;
            padding-left: 10px;
        }

        .purchaseordersales #results > div > h2 {
            font-size: 1.2em;
            font-weight: bold;
            padding-bottom: 5px;
        }

            .purchaseordersales #results > div > h2 > a {
                text-decoration: none;
                color: #7c7c7c;
            }

                .purchaseordersales #results > div > h2 > a:hover {
                    color: #f4f4f4;
                    background-color: #484848;
                    text-decoration: none;
                }

        .purchaseordersales #results > div > div.details {
            font-size: 0.9em;
        }

            .purchaseordersales #results > div > div.details .detail {
                display: block;
            }

                .purchaseordersales #results > div > div.details .detail label {
                    font-size: 0.9em;
                }

        .purchaseordersales #results > div > div.actions {
            margin-top: 5px;
            font-size: 0.9em;
        }


/* end purchase orders */


/* Emails and Campaigns */

/* layouts page */

#layoutholder {
    width: 97%;
    float: left;
}

    #layoutholder > .layout {
        width: 250px;
        margin-right: 20px;
        margin-top: 20px;
        float: left;
        position: relative;
    }

        #layoutholder > .layout .delete {
            top: -7px;
            right: -7px;
            position: absolute;
            z-index: 100;
            width: 14px;
            height: 17px;
        }

            #layoutholder > .layout .delete img {
                display: none;
            }

        #layoutholder > .layout:hover .delete img {
            display: block;
        }

        #layoutholder > .layout .name {
            width: 250px;
            text-align: center;
        }

#uploadform {
    margin-top: 40px;
    width: 880px;
    float: left;
}

    #uploadform input {
        margin: 5px 0px;
    }

    #uploadform h3 {
        font-size: 16px;
    }


/* options page */

#options #Name {
    width: 500px;
}

#options #Subject {
    width: 500px;
}

#options #buttons {
    margin-top: 40px;
}

#options #Layout {
    width: 240px;
}

/* compose page */

#compose #MergeFields {
    width: 150px;
}

#compose #buttons {
    margin-top: 40px;
}

#compose #Content {
    margin-top: 80px;
    width: 97%;
    height: 390px;
    border: 3px solid #999999;
}

#alohaContainer {
    margin-top: 20px;
    margin-bottom: 10px;
    height: 60px;
}

.aloha-ui-pin-down {
    display: none !important;
}

.aloha-ui-toolbar {
    position: static !important;
}


/* confirm page */
#confirm #buttons {
    margin-top: 40px;
}

#confirm .tag {
    padding: 5px 5px;
    background-color: #666666;
    color: White;
    font-weight: bold;
    margin: 4px 5px;
    text-align: center;
    float: left;
}

#confirm .withfloats {
    height: 60px;
}

/* recipients popup */
#recipients {
    width: 450px;
}

    #recipients h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    #recipients span {
        width: 200px;
        display: block;
        float: left;
        overflow: hidden;
    }

#testemail h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

#testemail .buttons {
    margin-top: 10px;
}

/* campaign view */
#campaign #buttons {
    margin-top: 40px;
}

#campaign .tag {
    padding: 5px 5px;
    background-color: #666666;
    color: White;
    font-weight: bold;
    margin: 4px 5px;
    width: 50px;
    text-align: center;
}


/* view message popup */
#displaymessage {
    width: 800px;
    overflow: scroll;
}

    #displaymessage h2 {
        font-size: 16px;
    }

    #displaymessage .editor-label {
        font-weight: bold;
        margin-top: 16px;
    }

/* suppression list */
#suppressionlist {
    width: 450px;
    overflow-y: scroll;
    height: 350px;
    border: 1px solid #cccccc;
    margin: 10px 0px;
}

    #suppressionlist .email {
        float: left;
        width: 420px;
        padding: 6px 0px 6px 10px;
        border-bottom: 1px solid #ccc;
    }

        #suppressionlist .email img {
            float: left;
            margin-right: 50px;
        }

        #suppressionlist .email span {
            float: left;
            width: 350px;
        }

#suppression #AddEmail {
    width: 370px;
}

p.gap {
    margin-bottom: 20px;
}

/* end emails and campaigns */


/* operations / invoices */
.deleteInvoice {
    display: none;
    padding-left: 20px;
}

.invoiceitem:hover .deleteInvoice {
    display: inline;
}


/* Undo button on price settings */
.btnUndo {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 4px 9px;
    text-decoration: none;
    margin: 5px 0px;
    display: block;
    width: 55px;
}

    .btnUndo:visited {
        color: #fff !important;
        text-decoration: none !important;
    }

    .btnUndo:link {
        color: #fff !important;
        text-decoration: none !important;
    }

/* any revert buttons are hidden on page load */
.revert {
    display: none;
}

/* Revert button on price settings */
.btnRevert {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 4px 9px;
    text-decoration: none;
    margin: 5px 0px;
    display: block;
    width: 108px;
}

    .btnRevert:visited {
        color: #fff !important;
        text-decoration: none !important;
    }

    .btnRevert:link {
        color: #fff !important;
        text-decoration: none !important;
    }


/* Override for jquery UI */
.ui-autocomplete .ui-menu-item a {
    font-size: 0.65em;
}

.ui-buttonset .ui-button .ui-button-text {
    padding: .3em .3em;
    font-size: .85em;
}

@media all and (orientation:portrait) {
}

@media all and (orientation:landscape) {
}

@media screen and (max-device-width: 1024px) {
    /*#main > ul#tabs {width: 1024px;}
    html {width:1024px;}
   html { -webkit-text-size-adjust: auto; -ms-text-size-adjust:auto; }*/
}
/*
@media screen and (max-device-width: 1280px) {
  #main > ul#tabs {width: 1280px;}
    html {width:1280px;}
}
*/

@media print {
    * {
        background: transparent !important;
        color: #444 !important;
        text-shadow: none !important;
    }

    a, a:visited {
        color: #444 !important;
        text-decoration: underline;
    }

        a:after {
            content: " (" attr(href) ")";
        }

    abbr:after {
        content: " (" attr(title) ")";
    }

    .ir a:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    body {
        background: none;
    }

    header {
        display: none;
    }

    #tabs {
        display: none !important;
    }

    #top {
        display: none;
    }

    #bottom {
        display: none;
    }

    #list {
        display: none !important;
        width: 0px !important;
    }

    .reportOptions {
        display: none;
    }

    div.page {
        webkit-box-shadow: none !important;
        box-shadow: none !important;
        width: 100%;
    }

    #main #workspace {
        padding: 15px 23px 23px 20px !important;
    }

    .prepareorderline .hiddensales {
        display: block !important;
    }

    .prepareorderline .salespopup {
        display: none;
    }

    .adhocline a {
        display: none !important;
    }

    .actions input {
        display: none !important;
    }

    .createOrderButton {
        display: none;
    }

    .quantityorder input {
        color: #fefefe !important;
    }

    .unit input {
        color: #fefefe !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}



/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer {
    height: auto !important;
}

.jspPane {
}

.jspVerticalBar {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
}

.jspHorizontalBar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
}

    .jspVerticalBar *,
    .jspHorizontalBar * {
        margin: 0;
        padding: 0;
    }

.jspCap {
    display: none;
}

.jspHorizontalBar .jspCap {
    float: left;
}

.jspTrack {
    background: #ddd;
    position: relative;
    border-radius: 4px;
}

.jspDrag {
    background: #2E2E2E;
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
    border-radius: 4px;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
    float: left;
    height: 100%;
}

.jspArrow {
    background: #505050;
    text-indent: -20000px;
    display: block;
    cursor: pointer;
}

    .jspArrow.jspDisabled {
        cursor: default;
        background: #808080;
    }

.jspVerticalBar .jspArrow {
    height: 8px;
}

.jspHorizontalBar .jspArrow {
    width: 8px;
    float: left;
    height: 100%;
}

.jspVerticalBar .jspArrow:focus {
    outline: none;
}

.jspCorner {
    background: #eeeeee;
    float: left;
    height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner {
    margin: 0 -3px 0 0;
}

.alerticon {
    position: absolute;
    top: 6px;
    left: 203px;
    width: 25px;
    padding-right: 40px;
    background: #fff url(../images/layout/icons/alert_small.png);
    background-repeat: no-repeat;
}

.alerticon-noabsolute {
    width: 25px;
    padding-right: 40px;
    background: #fff url(../images/layout/icons/alert_small.png);
    background-repeat: no-repeat;
}


.favouriteicon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    overflow: hidden;
    padding: 0;
    margin: 0 0 0 4px;
    background: #fff url(../images/layout/icons/favourite_small.png);
    background-repeat: no-repeat;
}

#itemFavourite {
    vertical-align: middle;
    cursor: pointer;
}

.alertitemtoosmallicon {
    position: absolute;
    top: 5px;
    left: 180px;
    width: 25px;
    padding-right: 40px;
    background: #fff url(../images/layout/icons/warning_24x19.png);
    background-repeat: no-repeat;
}
.alertitemtoosmallicon_relative {
    position: relative;
    /*width: 25px;*/
    padding-right: 20px;
    background: #fff url(../images/layout/icons/warning_24x19.png);
    background-repeat: no-repeat;
}


.dialog {
    padding: 20px;
}

.dialogAlertJob {
    padding: 10px;
}

.dialogSeeMoreNotes {
    width: 350px;
}

.dialogSeeMoreDescription {
    width: 350px;
}



/* leanModal jquery */
#lean_overlay {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: #000;
    display: none;
}

/* reports cash receipts */

.cashreceipts table.lines {
    margin: 5mm 0;
    width: 100%;
}

.cashreceipts .lines thead td {
    padding: 2mm 2mm 1mm 0mm;
    font-weight: bold;
    color: #666;
    font-size: 0.9em;
    vertical-align: top;
}

    .cashreceipts .lines thead td.date {
        width: 20mm;
        text-align: left;
    }


.cashreceipts .lines tbody {
    min-height: 200mm;
}

    .cashreceipts .lines tbody td {
        padding: 2mm 1mm 1mm 0mm;
        font-size: 0.8em;
        vertical-align: middle;
        height: 4mm;
        text-align: left;
    }

        .cashreceipts .lines tbody td.amount {
            text-align: right;
        }

    .cashreceipts .lines tbody tr:first-child td {
        border-top: solid 1px #ccc;
    }

.cashreceipts tr.subtotalline {
    background-color: #ececec;
}

.cashreceipts tr.grandtotalline {
}

    .cashreceipts tr.grandtotalline td {
        border-top: 1px solid;
        border-bottom: 1px solid;
        font-weight: bold;
    }

/* customer statement */

.customerstatement .reportOptions {
    margin-top: 14px;
}

    .customerstatement .reportOptions .enumSelector {
        display: inline-block;
        margin-right: 14px;
    }

    .customerstatement .reportOptions .optionsRow {
        margin-bottom: 14px;
    }

/* customer listing report */
.filter-bar {
    background-color: #e6e6e6;
    height: 40px;
    width: 100%;
    padding: 9px 14px;
    margin: 6px 0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

    .filter-bar label {
        margin-right: 8px;
    }

    .filter-bar .select {
        margin-right: 16px;
    }

    .filter-bar span {
        font-size: 16px;
        font-weight: bold;
        color: #888;
        margin-right: 20px;
    }


#customerListing .number {
    text-align: right;
}

.specific-customer {
    margin-top: 16px;
}

    .specific-customer .tabs {
        display: block;
        margin-left: 0;
        overflow: hidden;
        margin-top: 20px;
    }

        .specific-customer .tabs li {
            padding: 0;
            list-style-type: none;
            font-weight: bold;
            display: block;
            float: left;
            margin: 0 1px 0 0;
        }

            .specific-customer .tabs li a {
                text-decoration: none;
                display: inline-block;
                padding: 6px 15px 5px 10px;
                background: #e6e6e6;
                text-decoration: none;
                margin: 0;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
                -moz-border-radius-topleft: 5px;
                -moz-border-radius-topright: 5px;
            }

                .specific-customer .tabs li a.active {
                    background-color: #c9c9c9;
                }

    .specific-customer .customerdata {
        display: none;
        padding-top: 14px;
        border-top: 3px solid #c9c9c9;
        width: 100%;
    }

        .specific-customer .customerdata.active {
            display: block;
        }


/*Global dashboard */
#dashboard {
    background-color: #acacac;
    padding: 35px;
}

.dashboard-content {
    padding: 20px;
    transition: all 0.5s ease 0s;
    background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 2px 2px 4px #686868;
    color: #484848;
    padding: 20px;
}

.dashboard-content-left {
    width: 59%;
    float: left;
}

.dashboard-content-right {
    width: 40%;
    float: right;
}

#dashboard .highlight {
    color: red;
    font-weight: bold;
}



/* Global Panel */

.dashboard-panel {
    border: 1px solid #dadada;
    width: auto;
    margin-top: 20px;
}

    .dashboard-panel:first-child {
        margin: 0;
    }

    .dashboard-panel .dashboard-panel-heading {
        background: #f7f7f7;
        padding: 8px 15px;
        border-bottom: 1px solid #dadada;
        height: 27px;
        width: auto;
    }

        .dashboard-panel .dashboard-panel-heading h3 {
            font-size: 14px;
            float: left;
            padding: 6px 5px 0 0;
        }

        .dashboard-panel .dashboard-panel-heading .dashboard-settings {
            float: right;
            width: 52px;
            position: relative;
            display: none;
        }

            .dashboard-panel .dashboard-panel-heading .dashboard-settings .btn {
                width: 52px;
                height: 27px;
                background: #c9c9c9 url('../images/dashboard/icon_settings.png');
                border-radius: 3px;
                text-indent: -99999px;
                display: block;
            }

            .dashboard-panel .dashboard-panel-heading .dashboard-settings ul {
                background: #c9c9c9;
                display: none;
                z-index: 15;
                list-style: none;
                margin: 0;
                padding: 0;
                border-radius: 3px;
                position: absolute;
                width: 180px;
                right: 0;
                top: 24px;
            }

                .dashboard-panel .dashboard-panel-heading .dashboard-settings ul li a {
                    display: block;
                    padding: 5px;
                    margin: 10px 20px;
                    color: #484848;
                    text-decoration: none;
                }

                    .dashboard-panel .dashboard-panel-heading .dashboard-settings ul li a:hover {
                        text-decoration: underline;
                    }

        .dashboard-panel .dashboard-panel-heading input {
            border: 0;
            background: #FFF;
            border: 1px solid #dadada;
            float: left;
            margin: 3px 5px;
            padding: 3px;
            width: 19%;
        }

        .dashboard-panel .dashboard-panel-heading img {
            float: left;
            margin: 1px 10px 0 5px;
            cursor: pointer;
        }

    .dashboard-panel .dashboard-panel-content {
        padding: 15px;
    }

    .dashboard-panel .column1 {
        float: left;
        margin-right: 2%;
    }

    .dashboard-panel .column2 {
        float: left;
    }

    .dashboard-panel .column3 {
        float: right;
    }

    .dashboard-panel .big {
        font-size: 20px;
    }

    .dashboard-panel .settingshide {
        display: none !important;
    }

/* Global Panel */

/* Global Data list */

.dashboard-list td {
    vertical-align: middle;
    text-align: left;
    padding: 8px 5px;
    background: #FFF;
}

    .dashboard-list td h3 {
        font-size: 14px;
        font-weight: normal;
    }

    .dashboard-list td span.chart-color {
        display: block;
        width: 18px;
        height: 18px;
        text-indent: -99999px;
    }

.dashboard-list tr.highlight-row td {
    background: #e6e6e6;
}

.dashboard-list td span.quotes, .dashboard-panel-calendar span.quotes {
    background: #3366cc;
}

.dashboard-list td span.orders, .dashboard-panel-calendar span.orders {
    background: #dc3912;
}

.dashboard-list td span.invoices, .dashboard-panel-calendar span.invoices {
    background: #ff9900;
}

.dashboard-list td span.cuttinglist, .dashboard-panel-calendar span.cuttinglist {
    background: #b5a422;
}
.dashboard-list td span.lineitems, .dashboard-panel-calendar span.lineitems {
    background: #ffcc00;
}

.dashboard-list td span.completed, .dashboard-panel-calendar span.completed {
    background: #109618;
}

.dashboard-list td span.collected, .dashboard-panel-calendar span.collected {
    background: #990099;
}


/* Global Data list */

/* Today Panel */

.dashboard-panel-today .column1 {
    width: 32%;
}

.dashboard-panel-today .column2 {
    width: 32%;
}

.dashboard-panel-today .column3 {
    width: 32%;
}

    .dashboard-panel-today .column3 h4 {
        font-size: 16px;
        font-weight: normal;
    }

        .dashboard-panel-today .column3 h4 strong {
            font-size: 20px;
        }

.dashboard-panel-today #todaygraph {
    overflow: hidden;
}


/* Overview Panel */

.dashboard-panel-overview .column1 {
    width: 27%;
}

.dashboard-panel-overview .column2 {
    width: 34%;
}

.dashboard-panel-overview .column3 {
    width: 35%;
}

.dashboard-panel-period .column1 {
    overflow: hidden;
}

/* Period Panel */

.dashboard-panel-period .column1 {
    width: 57%;
    position: relative;
}

.dashboard-panel-period .column2 {
    width: 40%;
    float: right;
}

.dashboard-panel-period #chartcontrols {
    position: relative;
    width: 185px;
    margin: 0 auto;
    z-index: 20;
}

    .dashboard-panel-period #chartcontrols > a {
        float: left;
    }

        .dashboard-panel-period #chartcontrols > a.linetype {
            padding-top: 3px;
            background-color: #e6e6e6;
            width: 60px;
            display: block;
            height: 24px;
            text-align: center;
            text-decoration: none;
            border-radius: 0px 6px 6px 0px;
            -moz-border-radius: 0px 6px 6px 0px;
            -webkit-border-radius: 0px 6px 6px 0px;
        }

            .dashboard-panel-period #chartcontrols > a.linetype.active {
                background-color: #c9c9c9;
            }

            .dashboard-panel-period #chartcontrols > a.linetype.showperiodlinecount {
                margin-left: 4px;
                border-radius: 6px 0px 0px 6px;
                -moz-border-radius: 6px 0px 0px 6px;
                -webkit-border-radius: 6px 0px 0px 6px;
            }

.ui-datepicker {
    z-index: 2000 !important;
}


/* Calendar Panel */


.dashboard-content-left .dashboard-calendar-area {
    margin-top: 20px;
}

.dashboard-content-right .dashboard-calendar-area {
    margin-top: 0;
}

.dashboard-calendar-selector {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 37%;
    top: 8px;
}

    .dashboard-calendar-selector li {
        display: inline;
    }

        .dashboard-calendar-selector li span {
            float: left;
            text-align: center;
            width: 115px;
            padding-top: 5px;
        }

        .dashboard-calendar-selector li a {
            width: 23px;
            height: 27px;
            float: left;
            display: block;
            background-color: #c9c9c9;
            border-radius: 3px;
            text-indent: -99999px;
        }

    .dashboard-calendar-selector .calendar-preivous-control a {
        background-image: url('../images/dashboard/icon_arrow-previous.png');
    }

    .dashboard-calendar-selector .calendar-next-control a {
        background-image: url('../images/dashboard/icon_arrow-next.png');
    }

.dashboard-panel-calendar .dashboard-panel-content {
    padding: 0;
}

.dashboard-panel-calendar .dashboard-panel-heading {
    position: relative;
}

.dashboard-panel-calendar th {
    border-left: 1px solid #dadada;
    font-weight: normal;
    padding: 8px 0;
    border-bottom: 1px solid #dadada;
}

.dashboard-panel-calendar td {
    border-left: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    background: #f7f7f7;
}

.dashboard-panel-calendar tr td:first-child, .dashboard-panel-calendar th:first-child {
    border-left: 0;
}

.calendar-date-content {
    padding: 5px;
    position: relative;
}

.dashboard-panel-calendar .dashboard-data-content {
    padding: 5px;
    position: relative;
}

.dashboard-date {
    position: relative;
}

.dashboard-panel-calendar .dashboard-date .dashboard-data-content > span {
    display: block;
    font-weight: bold;
    padding-bottom: 3px;
}

.dashboard-panel-calendar .date-invisible .dashboard-data-content {
    display: none;
}

.dashboard-panel-calendar td:hover {
    background: #ececec;
    cursor: pointer;
}

.dashboard-panel-calendar td.active-data, .dashboard-panel-calendar td.active-data:hover {
    background: #f7f7f7;
    border-bottom: 1px solid #f7f7f7;
}

.calendar-fade {
    opacity: 0.3;
}

.calendar-row-data {
    display: none;
}

.dashboard-data-detail {
    padding: 15px;
}

.dashboard-panel-calendar td.date-invisible:hover {
    background: #f7f7f7;
    cursor: auto;
}

.dashboard-data-detail td, .dashboard-data-detail td:hover {
    border: none;
    background: none;
    cursor: auto;
}

.dashboard-data-detail .column1 {
    width: 33%;
}

.dashboard-data-detail .column2 {
    width: 33%;
}

.dashboard-data-detail .column3 {
    width: 30%;
}

.dashboard-data-detail td h3 {
    font-size: 14px;
}

.dashboard-data-detail td strong {
    font-size: 16px;
}

.current-date .dashboard-data-content {
    border: 1px solid #b5b5b5;
}

.calendar-chart {
    text-align: center;
    width: 50px;
    height: 50px;
    margin: auto;
}

    .calendar-chart td {
        vertical-align: bottom;
        width: 10px;
        height: 50px;
        border: 0;
        background: none;
    }

        .calendar-chart td span {
            display: block;
            width: 10px;
            height: 50px;
            margin: auto;
        }





/*Lightbox Panel */
.lightbox-overlay {
    background: url('../images/dashboard/overlay.png');
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

.lightbox-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 25;
    left: 0;
    top: 0;
}

.lightbox {
    width: 100%;
    z-index: 20;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.ie7 .lightbox {
    top: 20%;
}

.lightbox-content {
    width: 360px;
    background-color: #FFF;
    margin: auto;
    padding: 20px 20px 25px 20px;
    z-index: 30;
    position: relative;
}

.lightbox-heading {
    padding-bottom: 20px;
}

    .lightbox-heading h3 {
        float: left;
        font-size: 16px;
    }

    .lightbox-heading a {
        width: 27px;
        height: 29px;
        background: url('../images/dashboard/icon_close.png');
        display: block;
        text-indent: -99999px;
        float: right;
        margin-top: -5px;
    }

.lightbox-content a.btn-save {
    background: url('../images/dashboard/bgd_btn.gif') repeat-x;
    text-decoration: none;
    border-radius: 5px 5px 5px 5px;
    border-style: none;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    padding: 7px 20px;
    text-transform: uppercase;
    vertical-align: middle;
}

.lightbox-content p {
    color: #919191;
    font-weight: bold;
}

.lightbox-content ul {
    list-style: none;
    ;
    margin: 0;
    padding: 5px 0 20px 0;
}

.lightbox-content li {
    padding: 8px 0;
    width: 100%;
    overflow: auto;
}

    .lightbox-content li input, .lightbox-content li span {
        float: left;
    }

    .lightbox-content li label {
        float: left;
        margin-left: 10px;
    }


/* Media Queries for low resolutions */

/*@media all and (max-width: 1024px), (max-width: 1299px)  {
 	.dashboard-content-left { width:100%; float: none; }
	.dashboard-content-right { width:100%; float: none; margin-top: 20px; }
	.dashboard-calendar-selector { left: 43%; }
}*/


/*@media screen and (min-width: 1320px) and (max-width: 1584px) 
{
    .calendar-row-data .column3 { width: 20%; }   
}*/



/* Speculation reports */

#speculationDetails {
    display: none;
    margin-top: 30px;
    clear: both;
}

#speculationMain {
    float: left;
}

#speculationSettings input[name='Details.Increase'] {
    width: 50px;
}

#speculationTabs {
    display: block;
    margin-left: 0;
}

    #speculationTabs li {
        padding: 0;
        list-style-type: none;
        font-weight: bold;
        display: block;
        float: left;
        margin: 0 1px 0 0;
    }

        #speculationTabs li a {
            text-decoration: none;
            display: inline-block;
            padding: 6px 15px 5px 10px;
            background: #e6e6e6;
            text-decoration: none;
            margin: 0;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            -moz-border-radius-topleft: 5px;
            -moz-border-radius-topright: 5px;
        }

            #speculationTabs li a.active {
                background-color: #c9c9c9;
            }

#speculationResults {
    width: 600px;
    clear: both;
    border-left: solid 1px #c9c9c9;
    border-right: solid 1px #c9c9c9;
    border-bottom: solid 1px #c9c9c9;
}

    #speculationResults table {
        width: 600px;
        clear: both;
        border-bottom: solid 1px #dadada;
    }

        #speculationResults table .tabbedColumn {
            display: none;
        }

        #speculationResults table thead tr th {
            text-align: left;
            padding: 8px 8px;
            border-left: solid 1px #dadada;
        }

            #speculationResults table thead tr th:first-child {
                border-left: none;
            }

            #speculationResults table thead tr th[colspan] {
                text-align: center;
            }

        #speculationResults table thead tr:first-child th {
            background-color: #c9c9c9;
        }

        #speculationResults table thead tr:last-child th {
            background-color: #e6e6e6;
        }

        #speculationResults table tbody tr td {
            padding: 1px 8px;
            border-left: solid 1px #dadada;
        }

            #speculationResults table tbody tr td:first-child {
                border-left: none;
            }

            #speculationResults table tbody tr td.FromSize {
                width: 105px;
            }

            #speculationResults table tbody tr td.ShowTopItems {
                width: 115px;
            }

    #speculationResults input[name='ReloadTable'] {
        margin: 5px;
    }

    #speculationResults input[type=text] {
        width: 55px;
        vertical-align: middle;
    }


#speculationTopItems {
    width: 300px;
    float: left;
    margin-left: 20px;
    float: left;
}

#speculationTopItemsSettings .optionsRow {
    height: 30px;
}

#speculationTopItemsEmptyResults {
    display: block;
    padding: 20px;
    height: 300px;
    background-color: #f7f7f7;
    border: dashed 2px #dadada;
    color: #888;
    font-weight: bold;
}

#speculationTopItemsResults #speculationTopItemsEmptyResults {
    display: none;
}

#speculationTopItemsResults.empty #speculationTopItemsEmptyResults {
    display: block;
}

#speculationTopItemsResults #speculationTopItemsDisplay {
    display: block;
}

#speculationTopItemsResults.empty #speculationTopItemsDisplay {
    display: none;
}


#speculationTopItemsResults #speculationTopItemsDisplay > h3 {
    text-decoration: none;
    padding: 6px 15px 5px 10px;
    margin: 2px 0 0 0;
    background: #e6e6e6;
    text-decoration: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    cursor: pointer;
}

    #speculationTopItemsResults #speculationTopItemsDisplay > h3.active {
        background-color: #c9c9c9;
    }

#speculationTopItemsResults #speculationTopItemsDisplay > div {
    height: 180px;
    overflow: auto;
    padding: 10px;
    border-left: solid 1px #dadada;
    border-right: solid 1px #dadada;
    border-bottom: solid 1px #dadada;
}

    #speculationTopItemsResults #speculationTopItemsDisplay > div div.test {
        display: block;
        width: 100px;
        height: 300px;
        background-color: red;
    }

#speculationTopItemsDisplay table {
    width: 100%;
}

    #speculationTopItemsDisplay table thead th {
        background-color: #e6e6e6;
        text-align: left;
        padding: 2px 4px;
    }

        #speculationTopItemsDisplay table thead th.numeric {
            text-align: right;
        }

    #speculationTopItemsDisplay table tbody td {
        padding: 2px 4px;
    }


@media (max-width: 1380px) {

    #speculationMain {
        float: none;
        width: 100%;
        min-width: 600px;
    }

    #speculationTopItems {
        float: none;
        width: 100%;
        min-width: 600px;
        margin: 30px 0 0 0;
    }

    #speculationResults {
        width: 100%;
    }

        #speculationResults table {
            width: 100%;
        }
}


.flash {
    -moz-animation: flash 1s ease-out;
    -moz-animation-iteration-count: 1;
    -webkit-animation: flash 1s ease-out;
    -webkit-animation-iteration-count: 1;
    -ms-animation: flash 1s ease-out;
    -ms-animation-iteration-count: 1;
}

@-webkit-keyframes flash {
    0% {
        background-color: none;
    }

    25% {
        background-color: #ff6666;
    }

    100% {
        background-color: none;
    }
}

@-moz-keyframes flash {
    0% {
        background-color: none;
    }

    25% {
        background-color: #ff6666;
    }

    100% {
        background-color: none;
    }
}

@-ms-keyframes flash {
    0% {
        background-color: none;
    }

    25% {
        background-color: #ff6666;
    }

    100% {
        background-color: none;
    }
}

#errmsgTagsMarkUpFactor {
    color: red;
}

}


a#actionLinkGetSale {
    text-decoration: none;
    color: #000;
}

div.actions a {
    text-decoration: none;
    color: #000;
    margin-left: 50px;
}

.addBackgroundGray {
    background-color: #D0D0D0;
    margin-top: -16px;
    padding-top: 15px;
}

.addBackgroundGrayJobs {
}

div.actions {
    width: 100%;
}

div#searchBar {
    border-bottom: solid 1px #c3c3c3;
    width: 206px;
    /* position: fixed;*/
    /*z-index: 999;*/
    margin-top: -20px;
}

hr {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: .5px;
    background-color: #000;
}

div#jobresults {
    margin-top: 15px;
    width: 206px;
}

a.editJobJobPage {
    margin-left: 10px;
    word-break: break-all;
}

div#jobTopDetails {
    font-size: 20px;
    border-bottom: 1px solid;
    height: 20px;
    padding-bottom: 15px;
}

div#jobTopDetailsA {
    float: left;
}

div#jobTopDetailsB {
    float: right;
}

/*.workspace > div .job div.linesContainer {display:block; height:150px; min-height:150px; overflow:visible; padding-right: 8px; margin-bottom:15px;width: 100%;}	*/
.workspace > div .job div.linesContainer {
    display: block;
    min-height: 150px;
    padding-right: 8px;
    margin-bottom: 15px;
    width: 100%;
    overflow: inherit !important;
    #main #workspace .lines ul.favdropdown;
}

.workspace > div .job input[name=ArtworkWidth], .workspace > div .job input[name=ArtworkHeight], .workspace > div .job input[name=GlassWidth], .workspace > div .job input[name=GlassHeight] {
    width: 45px;
    height: 10px;
    font-size: 12px;
}

.workspace > div .job input[name=ManualDescription], .workspace > div .job input[name=JobTagsInputList] {
    width: 322px;
    height: 10px;
    font-size: 12px;
}

.workspace > div .job input[id=Copies] {
    width: 20px;
    height: 10px;
    font-size: 12px;
}

.workspace > div .job textarea {
    height: 80px;
    width: 322px;
    font-size: 12px;
}

input#print.dropDownButtons.printAll {
    width: 95px;
}

input#cloneJob.cloneJob {
    width: 137px;
}

input#send.dropDownButtons.sendSale {
    width: 80px;
}

div#itemNum.addJobLabelB {
    margin-top: -2px;
}

div#artworkSize.addJobLabelB {
    margin-top: -2px;
}

div#glassSize.addJobLabelB {
    margin-top: 16px;
}

div#artworkUnit.addJobLabelB {
    margin-top: 8px;
}

div#copies.addJobLabelB {
    margin-top: 10px;
}

div#collect.addJobLabelB.addMarginLeft30px {
    margin-top: 22px;
    font-size: 12px;
}

.addMarginLeft30px {
    margin-left: 30px;
}

.addMarginBottom23px {
    margin-bottom: 23px;
}

.addMarginTop30px {
    margin-top: 30px;
}

div.addJobContainer {
    font-size: 12px;
    color: grey;
    width: 100%;
}

div.addJobLabelAContainer {
    float: left;
    /*width:90px;*/
}

div.addJobLabelA {
    color: black;
    margin-bottom: 20px;
    font-size: 12px;
    color: grey;
}

    div.addJobLabelA span {
        color: #000;
    }

div.addJobLabelBContainer {
    float: left;
    /*width:180px;*/ margin-right: 30px;
}

div.addJobLabelB {
    color: black;
    margin-bottom: 20px;
    font-size: 12px;
    color: grey;
    height: 14px;
}

#itemNum.addJobLabelB {
    font-weight: bold;
    color: #000;
}

div.addJobLabelB span {
    color: #000;
}

div.addJobLabelCContainer {
    float: left;
    width: 80px;
}

div.addJobLabelC {
    color: black;
    margin-bottom: 22px;
    font-size: 12px;
    color: grey;
}

div.addJobLabelDContainer {
    float: left;
    width: 400px;
}

div.addJobLabelD {
    margin-bottom: 13px;
}

div.addJobLabelEContainer {
    float: left;
    /*width: 150px;*/
}

div.addJobContainerExist {
    font-size: 12px;
    color: grey;
    width: 100%;
}

div.addJobLabelAContainerExist {
    float: left;
    /*width:90px;*/
}

div.addJobLabelAExist {
    color: black;
    margin-bottom: 20px;
    font-size: 12px;
    color: grey;
}

    div.addJobLabelAExist span {
        color: #000;
        font-weight: bold;
    }

div.addJobLabelBContainerExist {
    float: left;
    /*width:180px;*/ margin-right: 30px;
}

div.addJobLabelBExist {
    margin-bottom: 20px;
    font-size: 12px;
    color: #000;
    font-weight: bold;
    height: 14px;
}


div.addJobLabelCContainerExist {
    float: left;
    width: 80px;
}

div.addJobLabelCExist {
    color: black;
    margin-bottom: 22px;
    font-size: 12px;
    color: grey;
}

div.addJobLabelDContainerExist {
    float: left;
    width: auto;
    color: #000;
    font-weight: bold;
}

div.addJobLabelDExist {
    margin-bottom: 6px;
    height: 30px;
    word-wrap: break-word;
    width: 100%;
    overflow: auto;
}

div.addJobLabelEContainerExist {
    float: left;
    margin-right: 30px;
    color: #000;
    font-weight: bold;
    border: 1px solid #424242;
    background-color: #444;
    padding: 4px;
    border-radius: 2px;
}

div.addJobLabelFContainerExist {
    float: right;
    /*width: 168px;*/
}

.job .preview {
    margin: 0 auto;
}

#main #workspace > div .job a:link {
    text-decoration: none;
}

.workspace > div .job .button {
    width: 58px;
    text-align: center;
    display: inline-block;
    *display: inline;
    zoom: 1;
    padding: 3px 3px;
    margin: 0;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    white-space: nowrap;
    /*
  font: bold 13px arial, helvetica, sans-serif;
  color: #555;
  background-color: #ddd;
  background-image: linear-gradient(top, rgba(255,255,255,1),
                                         rgba(255,255,255,0)),
                    url(data:image/png;base64,iVBORw0KGg[...]QmCC); 
  transition: background-color .2s ease-out;
  background-clip: padding-box; /* Fix bleeding
  border-radius: 0px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9); */
}

    .workspace > div .job .button:hover {
        background-color: #eee;
        color: #555;
    }

    /*
.workspace > div .job .button:active{
  background: #e9e9e9;
  position: relative;
  bottom:3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}
*/
    .workspace > div .job .button.active {
        position: relative;
        bottom: 8px;
    }

/*display:table; 
vertical-align:middle;
 float:right;
 width: 100%;
 text-align: center;
 table-layout: fixed;
 position: fixed; 
z-index: 999;
    */

input#chopbuyprice, input#chopsellprice {
    display: none;
}

    input#chopbuyprice + label, input#chopsellprice + label {
        display: inline-block;
        margin: -2px;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 20px;
        color: #333;
        text-align: center;
        text-shadow: 0 1px 1px rgba(255,255,255,0.75);
        vertical-align: middle;
        cursor: pointer;
        background-color: #f5f5f5;
        background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
        background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
        background-image: -o-linear-gradient(top,#fff,#e6e6e6);
        background-image: linear-gradient(to bottom,#fff,#e6e6e6);
        background-repeat: repeat-x;
        border: 1px solid #ccc;
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        border-bottom-color: #b3b3b3;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    }

    input#chopbuyprice:checked + label, input#chopsellprice:checked + label {
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        background-color: #666666;
        color: #fff;
    }

/* SPREAD SHEET*/

table.spreadsheet tr.edited {
    background-color: #f5f5f5;
}

    table.spreadsheet tr.edited input[type="text"] {
        background-color: #f5f5f5;
    }

table.spreadsheet tr td {
    padding: 0;
    border: solid 1px #e3e3e3;
    border-collapse: collapse;
}

    table.spreadsheet tr td input[type="text"] {
        margin: 0;
        border: none;
        width: 100%;
        box-sizing: border-box;
    }

table.spreadsheet tr .edited {
    background-color: #dbfed1;
}

    table.spreadsheet tr.edited input[type="text"].edited {
        background-color: #dbfed1;
    }

    table.spreadsheet tr.edited input[type="text"].ng-invalid {
        background-color: #fed1d1;
    }

table.spreadsheet tr td input[type="checkbox"] {
    margin: 8px 10px;
}

table.spreadsheet tr td .checkbox {
    margin: 6px 10px;
}


/* ITEM LIST*/

#itemsList tr td.Code {
    width: 200px;
}

#itemsList tr td.Name {
    width: 300px;
}

#itemsList tr td.Name {
    width: 200px;
}

#itemsList tr td.WidthWithUnit {
    width: 80px;
}

#itemsList tr td.HeightWithUnit {
    width: 80px;
}

#itemsList tr td.RebateWithUnit {
    width: 80px;
}

#itemsList tr td.Cost {
    width: 90px;
}

#itemsList tr td.ChopCost {
    width: 90px;
}

#itemsList tr td.BuyUnits {
    width: 70px;
}

#itemsList tr td.UnitSymbol {
    width: 50px;
}

#itemsList tr td.Discontinued {
    width: 90px;
}

#itemsList tr td.Deleted {
    width: 90px;
}

#itemsList tr td.HasImage {
    width: 90px;
}

#itemsList tr td.HasVisualisationImage {
    width: 90px;
}

/*TOOLTIP*/

#tooltip {
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}

#tooltip {
    /* ... */
    display: none;
    font-size: 18px;
    width: 300px;
    z-index: 9999;
}

    #tooltip[data-show] {
        display: block;
    }

#arrow,
#arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
}

#arrow {
    visibility: hidden;
}

    #arrow::before {
        visibility: visible;
        content: '';
        transform: rotate(45deg);
    }

#tooltip[data-popper-placement^='top'] > #arrow {
    bottom: -4px;
}

#tooltip[data-popper-placement^='bottom'] > #arrow {
    top: -4px;
}

#tooltip[data-popper-placement^='left'] > #arrow {
    right: -4px;
}

#tooltip[data-popper-placement^='right'] > #arrow {
    left: -4px;
}

a.tooltip {
    outline: none;
}

    a.tooltip strong {
        line-height: 10px;
    }

    a.tooltip:hover {
        text-decoration: none;
    }

    a.tooltip span {
        z-index: 10;
        display: none;
        padding: 5px;
        margin-top: 35px;
        width: 100px;
        line-height: 16px;
        text-align: center;
    }

    a.tooltip:hover span {
        display: inline;
        position: absolute;
        border: 2px solid #FFF;
        color: #EEE;
        background: black;
        margin-left: -72px;
    }

.callout {
    z-index: 20;
    position: absolute;
    border: 0;
    top: -15px;
    left: 37px;
}
/*TOOLTIP*/


/*ALERTBOX*/

/*ALERTBOX*/

.addJobConditions {
    margin-bottom: 10px;
}

    .addJobConditions .enumSelector label:nth-child(2) span {
        background-color: #e14e50;
        width: 59px;
    }

    .addJobConditions .enumSelector label:nth-child(4) span {
        background-color: #f15c33;
        width: 58px;
    }

    .addJobConditions .enumSelector label:nth-child(6) span {
        background-color: #f2ab49;
        width: 58px;
    }

    .addJobConditions .enumSelector label:nth-child(8) span {
        background-color: #8dbe62;
        width: 58px;
    }

    .addJobConditions .enumSelector label:nth-child(10) span {
        background-color: #51a5bb;
        width: 59px;
    }

.astext {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

#jobNotes, #jobDescription {
    width: 430px;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}




#main #list .adjustLeft {
    margin-left: 20px !important;
    font-size: 1em !important;
}

#main #list .adjustTop {
    margin-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 1em !important;
}

/********************************* Custome CSS Styles by Jaro **********************************/
/************* Dashboard Panel ****************/
#main #list form {
    margin-top: 20px;
}

#main #list input[type=text],
#main #list input[type=password] {
    width: 168px !important;
    margin-bottom: 6px;
    background-color: #fff;
    padding: 10px;
}

.dashboard-panel .dashboard-panel-heading .dashboard-settings {
    width: auto;
}

    .dashboard-panel .dashboard-panel-heading .dashboard-settings .btn {
        width: 10px;
        height: auto;
    }
/********* Job Page *********/
#main #workspace .lines tbody td {
    white-space: normal;
}

#main #workspace tr.saleLine td.actions {
    border-top: none;
    width: auto;
}

/********** Nav Top Menu *************/
#main > ul#tabs {
    border-bottom: 1px solid #7D7D7D;
    box-shadow: #555 0px 4px 28px -6px;
}

    #main > ul#tabs li {
        width: 7.971%;
    }

        #main > ul#tabs li:nth-child(4) {
            width: 58px;
        }

        #main > ul#tabs li a {
            padding: 6px;
            border-right: 1px solid #666;
        }

.mobile ul.topnav-menu-mobile {
}

ul.topnav-menu-mobile {
    margin: 1px auto !important;
    float: none !important;
    position: absolute;
    right: 0;
    display: none;
}

    ul.topnav-menu-mobile li {
        float: none !important;
        display: block !important;
        margin: 0 !important;
        width: 210px !important;
        border-bottom: 1px solid #666;
    }

        ul.topnav-menu-mobile li a {
            border-right: 0 !important;
            border-left: 1px solid #666;
        }

/********************* Panel *********************/
#main #list #results > div {
    border-bottom: 1px solid #aaa;
}

.bg {
    background: #fff;
    margin: 0px 0px 0px 10px;
    width: auto;
    padding: 16px;
}

.nav-mobile-view {
    display: none;
}

#panels {
    background: transparent !important;
    background-color: #222 !important;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
}

#main #list {
    margin-top: 0;
    background-color: #F5F5F5;
    padding-bottom: 60px;
}

div#searchBar {
    margin-top: 0;
}

#main #workspace > h3.btn-styles a,
#main #workspace h3.btn-styles a:link,
#main #workspace > h3.btn-styles a:visited {
    color: #eee;
    text-decoration: none;
    border: 1px solid #A9A9A9;
    background-color: #999;
    padding: 10px;
    border-radius: 4px;
    box-shadow: #000 0px 4px 12px -2px;
}

#main #workspace > h3 {
    margin-top: 20px;
}

#main #workspace {
    padding: 15px 23px 24px 208px;
}

.purchaseorder div.actions a {
    margin-left: 0;
}

#main #workspace > div.page {
}

.customer.addBackgroundGray span.icons {
    vertical-align: super;
}

    .customer.addBackgroundGray span.icons img {
        width: 24px;
        margin-left: 14px;
        vertical-align: middle;
    }

.customer.addBackgroundGray div.actions a {
    margin-left: 4px !important;
}

.saleAllJobs {
    padding: 10px;
}

    .saleAllJobs a.editJobJobPage {
        margin-left: 0;
    }


#main #workspace > div.page {
    margin: 0px 0px 0px 10px;
    padding: 16px;
}

.seeMoreButton {
    position: relative;
    margin-bottom: 5px;
    margin-top: -22px;
}

    .seeMoreButton input[type='button'] {
        font-size: 10px;
        padding: 3px 10px;
    }

.nav-desktop-view {
    overflow: hidden;
}



.tooltip {
    display: none;
    position: absolute;
    border: 1px solid #333;
    background-color: #161616;
    border-radius: 5px;
    padding: 10px;
    color: #fff;
    font-size: 12px;
}

.space .icons {
    float: left;
    position: relative;
    margin: 24px 10px 0 24px;
}

    .space .icons img {
        width: 30px;
    }

.space.dd a {
    text-align: left !important;
}

div.fixed-panel {
    position: relative;
    height: 100%;
    z-index: 100;
    background-color: #F5F5F5;
}

.fixed-panel ::-webkit-scrollbar {
    width: 12px;
}

.fixed-panel ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.fixed-panel ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#main #workspace .lines ul.favdropdown {
    position: absolute;
    top: -98px;
    left: -154px;
    background-color: #CCC;
    width: 306px;
    height: auto;
    border: 1px solid #666;
    /* margin-top: 26px; */
    z-index: 200;
    padding: 10px;
}

    #main #workspace .lines ul.favdropdown li {
        padding: 10px 6px;
        border: 1px solid #555;
        display: inline-block;
        float: left;
        margin: 0 auto;
        width: 138px;
        background-color: #999;
    }

        #main #workspace .lines ul.favdropdown li:hover,
        #main #workspace .lines ul.favdropdown li a:hover {
            background-color: #666;
        }

        #main #workspace .lines ul.favdropdown li a {
            color: #eee;
            padding: 10px 10px;
        }

    #main #workspace .lines ul.favdropdown img.charset-icon {
        width: 48px;
        position: absolute;
        margin-top: 29px;
        margin-left: 128px;
    }

div.showItem {
    position: absolute;
    width: 18px;
    left: 154px;
    top: 4px;
    vertical-align: middle;
    background-color: #999;
    display: block !important;
}

div.showItemDetails {
    position: absolute;
    width: 18px;
    left: 182px;
    top: 5px;
    vertical-align: middle;
    display: block !important;
}
.showItemDetails_relative {
    position: relative;
    width: 18px;
    vertical-align: middle;
    display: block !important;
}

a.showfavdropdown {
}

div.showItem ul.itemLists {
    width: 176px;
    background-color: #999;
    padding: 10px;
    z-index: 800;
    position: absolute;
    left: -180px;
    display: none;
    border: 1px solid #777;
}

    div.showItem ul.itemLists li {
        list-style: none;
        width: auto;
        z-index: 1;
    }

        div.showItem ul.itemLists li a {
            width: 350px;
            padding: 10px;
            z-index: 800;
            background-color: #999;
            color: #fff;
        }

.ui-autocomplete.ui-menu {
    background-color: #777 !important;
    border: none !important;
    padding: 0;
}

.ui-menu .ui-menu-item {
    background-color: #777 !important;
    border-bottom: 1px solid #333 !important;
    padding: 6px !important;
}

    .ui-menu .ui-menu-item a {
        color: #fff !important;
    }

        .ui-menu .ui-menu-item a:hover {
            background: #666 !important;
            color: #fff !important;
        }

.fixed-panel .fixed-panel-mmenu {
    display: none;
}

.custom-framer-list-country-header {
    font-size: 18px;
    text-align: center;
    text-decoration: underline;
}

.custom-framer-circle-status {
    float: right;
    margin-right: 5px;
}

.custom-framer-lists {
    padding-top: 110px;
}

    .custom-framer-lists:hover {
        background: #484848;
    }

        .custom-framer-lists:hover a {
            color: #fff;
        }

.custom-space {
    margin-left: 5px !important;
    padding-right: 5px !important;
}

#uservaluepref {
    padding-top: 5px;
}

#alert-due-invoice {
    cursor: pointer;
    font-size: 18px;
}

.disabled 
{
   pointer-events: none;
   cursor: default;
   color:lightgray !important
}

.divSaleStatus{
    display:block;
    float:right;
    padding-right:5px;
}
.spanBlue{
    color:blue;
    font-weight:bold;
}
.spanGreen{
    color:green;
    font-weight: bold;
    width:100%;
}

/*Spreadsheet table*/
.table-bordered {
    border: 1px solid #ccc;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    display: table;
    border-spacing: 2px;
    border-color: grey;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 2px;
    border: 1px solid #ccc;
    vertical-align: bottom;
    padding: 4px;
    line-height: 1.42857143;
    text-align: left;
}

.table > thead:first-child > tr:first-child > th {
    border-top: 0;
    border-bottom-width: 2px;
    border: 1px solid #ccc;
    padding: 4px;
    line-height: 1.42857143;
    text-align: center;
}

.table-bordered > tbody > tr > td {
    border: 1px solid #ccc;
}

.table-bordered > tbody > tr > td {
    padding: 4px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ccc;
}

.table-bordered tbody > tr:nth-child(odd) > td, .table-bordered tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

/*End spreadsheet table*/

/*Supplier Updates PopUp*/
.modal-dialog {
    width: 600px;
    margin: 30px auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
}

.tbl-res {
    display: inline-block;
    max-height: 237px;
    overflow-y: auto;
    width: 100%;
    padding-top: 15px;
}

.sup-ul-modal .close {
    border-radius: 100%;
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-weight: normal;
    padding: 0;
    border: 1px solid #fff;
    color: #333;
    margin-right: -28px;
    margin-top: -28px;
}

    .sup-ul-modal .close:hover {
        opacity: 0.8;
    }

.sup-ul-modal .modal-header {
    padding: 15px 15px;
    background-color: #5cb85c;
    color: white;
    letter-spacing: 1px;
    font-size: 18px;
    border-radius: 5px 0 5px 0;
}

.sup-ul-modal .modal-footer .btn.btn-primary {
    margin-bottom: 10px;
    padding: 10px 20px;
}

#suppliers td:nth-child(2) {
    text-align: center;
}
/* Ends Supplier Updates PopUp*/

input:disabled, select:disabled, textarea:disabled {
    cursor: not-allowed !important;
}