/* --------------------------------------------------------------

    base.css

    Author:
    Date:

    This is the main stylesheet

    +top

--------------------------------------------------------------

  +Resets default browser CSS styles

-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ul, li, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
}

/* --------------------------------------------------------------

    +Default Styles

-------------------------------------------------------------- */

body {
    text-align: center;
    font-size: 62.5%;
    font-family: sans-serif;
    color: #000000;
}

.auto-width {
    width: auto !important;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.clear-floats {
    clear: both;
    font-size: 1px;
}

/*
a { text-decoration:none; }
a:link  { color:#164bb7; }
a:visited { color:#164bb7; }
a:active, a:visited:active { color:#164bb7; }
a:hover { text-decoration:underline; }
*/

ul {
    list-style-type: square;
}

/* --------------------------------------------------------------

    +Input focus styles

-------------------------------------------------------------- */

input, select, textarea {
    border: 1px solid #D0D0D0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 2px 3px 2px 3px;
    font-family: sans-serif;
    font-size: 12px;
}

input[type=submit], input[type=button], input[type=reset], .input-list-table input[type=submit], a.table-btn {
    border: 1px solid #999;
    background: url(/images/buttons/grey-bg.png) repeat-x 0 -10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

input.read-only {
    background-color: #ebebe4;
    color: #545454;
}

input.table-field:disabled {
    border: 0;
    background: transparent;
}

input.focussed, select.focussed, textarea.focussed, button.focussed {
    border-color: #777777;
    outline: 5px solid #DDDDEE;
}

input:focus, select:focus, textarea:focus, button:focus,
input.focussed, select.focussed, textarea.focussed, button.focussed {
    border-color: #777777;
    outline: 5px solid #DDDDEE;
}

input[type=checkbox].focussed, input[type=radio] {
    border: none;
}

a.table-btn {
    background: #aaa;
    color: white;
    padding: 2px 4px;
}

a.table-btn:active,
a.table-btn:hover {
    background-color: #999;
    color: white;
    text-decoration: none;
}

.table-inputs {
    white-space: nowrap;
}

.table-inputs input {
    width: 100px;
}

.table-inputs .button-group {
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
}

/* --------------------------------------------------------------

    +Layout

    -- This is the optimum layout for 1024px
    -- Individual column width 93px
    -- 9 column layout
    -- margin 14px

-------------------------------------------------------------- */

.col {
    float: left;
    width: 70px;
}

.span-1 {
    width: 80px;
}

.span-2 {
    width: 160px;
}

.span-3 {
    width: 240px;
}

.span-4 {
    width: 320px;
}

.span-5 {
    width: 400px;
}

.span-6 {
    width: 480px;
}

.span-7 {
    width: 560px;
}

.span-8 {
    width: 640px;
}

.span-9 {
    width: 720px;
}

.span-10 {
    width: 800px;
}

.span-11 {
    width: 880px;
}

.span-12 {
    width: 960px;
}

#dynatip {
    z-index: 1000;
    text-align: left;
    display: none;
    background-color: #EEEEEE;
    border: 1px solid #999999;
    padding: 3px 6px 3px 6px;
    font-size: 12px;
    line-height: 18px;
}

/* This should be the standard container ---------------------- */
.module {
    padding: 14px;
    margin-bottom: 14px;
}

.rounded {
    border-radius: 5px;
}

.light-bordered {
    border: 1px solid #CCCCCC;
}

.bordered {
    border: 1px solid #999999;
}

.padded5 {
    padding: 5px
}

.centered {
    text-align: center
}

.crosshatch {
    background-image: url(/images/sitefiles/crosshatch.png);
}

/* --------------------------------------------------------------

    +Typography + Headings

-------------------------------------------------------------- */

p {
    margin-bottom: 1.5em;
}

p, ul, blockquote, dd, dt, label {
    font-size: 1.2em;
    line-height: 1.6em;
}

dd label, dt label {
    font-size: 1em;
}

td, th {
    font-size: 11px;
}

strong {
    font-weight: bold;
    color: #222;
}

/* --------------------------------------------------------------

    +Tables

-------------------------------------------------------------- */

.pager {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.pager a {
    padding: 3px 9px;
    margin: 0 2px 0 0;
    background-color: #22892E;
    color: #FFF;
    font-weight: bold;
}

.pager a:hover {
    background: #4bb758;
}

.pager span {
    padding: 3px 9px;
    margin: 0 2px 0 0;
    background: #333;
    color: #FFF;
    font-weight: bold;
}

.pager p {
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------

    +Forms

-------------------------------------------------------------- */

.tools {
    border: 1px solid #e7e7e7;
    background-color: #f6f6f6;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
    overflow: auto;
}

.tools--b {
    overflow: visible;
}

.tools.spaced dl dd {
    margin-bottom: 10px;
}

.tools dl {
    margin: 0;
    padding: 0;
}

.tools dl dt {
    margin: 0;
    padding: 0;
}

.tools dl dd {
    margin: 0 0 10px 0;
    padding: 0;
}

.tools dl dt label {
    color: #333;
}

.tools dl dd input {
    margin-bottom: 0;
}

.tools dl.inline dt {
    width: auto;
    float: left;
    text-align: right;
    padding-right: 15px;
    line-height: 1.9em;
}

.tools dl.inline dt label {
    font-weight: bold;
}

.tools dl.inline dd {
    width: auto;
    float: left;
    margin: 0;
    padding-right: 15px;
}

dl.floated.spaced {
    padding-top: 40px;
    clear: both;
}

dl.floated.padded dt {
    padding-top: 3px;
}

dl.floated dt {
    float: left;
    text-align: right;
    width: 150px;
    padding-right: 15px;
    clear: both;
}

dl.floated.narrow-labels dt {
    width: 60px;
}

dl.floated dd {
    float: left;
    margin-bottom: 0;
}


.u-add-form-spacing dl.floated dd {
    margin-bottom: 6px;
}

dl.no-margins dt {
    margin: 0;
    padding: 0 10px 0 0;
    width: auto;
}

dl.no-margins dd {
    margin: 0;
    padding: 0 20px 0 0;
    width: auto;
}

div.strong-form {
    font-weight: bold;
    background-color: #EEEEEE;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    padding: 10px 10px 10px 0;
    float: left
}

dl.panel dt {
    width: auto;
    float: left;
    text-align: right;
    padding-right: 4px;
    line-height: 1.9em;
}

dl.panel dd {
    width: auto;
    float: left;
    margin-bottom: 0;
    margin-right: 8px;
}

table.standard-panel {
    width: 100%
}

table.standard-panel td.content {
    float: none;
}

table.standard-panel td.title {
    float: none;
    min-width: 0%;
}

table.standard-panel td.buttons {
    text-align: right;
    padding-right: 7px;
}

table.standard-panel td.content table strong {
    font-size: 1em;
    font-weight: bold;
    white-space: nowrap;
}

table.standard-panel td.content table td {
    padding: 0 5px;
}

.tools h3, dd h3 {
    font-size: 1.2em;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table.summary td, table.summary th {
    padding: 3px;
}

table.summary th {
    text-align: right;
    padding-right: 5px;
    font-weight: bold;
}

table.summary tr td, table.summary tr th {
    border-bottom: 1px dotted #ccc;
}

table.summary tr.sub-total td, table.summary tr.sub-total th {
    font-size: 110%;
    border-bottom: none;
    border-top: 1px solid #ccc
}

table.summary tr.total td, table.summary tr.total th {
    font-size: 120%;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999
}

table.summary tr.last td, table.summary tr.last th {
    border-bottom: 0;
}

table.summary tr td.last, table.summary tr th.last {
    border-bottom: 0;
}

table.summary th {
    border-right: 1px dotted #ccc;
}

table.summary {
    float: left;
    margin-bottom: 5px;
}

table.item-cost-summary tr td, table.item-cost-summary tr th {
    padding: 8px;
}

table.item-cost-summary tr th {
    font-weight: bold;
}

/* Standard Forms -------------------------------- */
.standard-form {
    background-color: #f0f0f0;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
    border: 1px solid #dedbdb;
    margin-bottom: 5px;
}

.standard-form fieldset, .standard-form .inner {
    padding: 10px;
    display: block;
}

.standard-form dl {
    display: block;
    margin: 0;
    padding: 0;
}

.standard-form dt {
    margin: 0 0 5px 0;
}

.standard-form dd {
    margin: 0 0 5px 0;
}

.standard-form .inline dt {
    float: left;
    width: 30%;
    border-top: 1px dotted #ccc;
    text-align: right;
    padding: 9px 2% 0 0;
    clear: both;
    display: inline-block;
    margin: 0 0 9px 0;
    font-weight: bold;
}

.standard-form .inline dd {
    float: left;
    width: 68%;
    border-top: 1px dotted #ccc;
    padding: 9px 0 0 0;
    margin: 0;
    display: inline-block;
    /*line-height: 1em;*/
    margin: 0 0 9px 0;
}

.standard-form .inline > dd:first-of-type,
.standard-form .inline > dt:first-of-type {
    border: 0;
    padding-top: 0;
}

.standard-form .inline.border-first > dd:first-of-type {
    border-top: 1px dotted #ccc !important;
    padding-top: 9px !important;
}

.standard-form .inline.border-first > dt:first-of-type {
    border-top: 1px dotted #ccc !important;
    padding-top: 9px !important;
}

.standard-form .information dt {
    float: left;
    width: 30%;
    border-top: 1px dotted #ccc;
    text-align: right;
    padding: 3px 10px 3px 0;
    clear: both;
    display: inline-block;
    margin: 0 0 0 0;
    font-size: 1.1em;
    color: #777;
    min-height: 18px;
}

.standard-form .information dd {
    float: left;
    width: 62%;
    border-top: 1px dotted #ccc;
    padding: 3px 0 3px 10px;
    display: inline-block;
    margin: 0 0 0 0;
    border-left: 1px dotted #ccc;
    font-size: 1.1em;
    color: #111;
    min-height: 18px;
}

.standard-form .information.customer dt {
    width: 20%;
}

.standard-form .information.customer dd {
    width: 72%;
}

.standard-form .information-wider dt {
    width: 35%;
}

.standard-form .information.less-borders dt {
    border-top: 0;
    font-weight: bold;
    padding: 2px;
}

.standard-form .information.less-borders dd {
    border-left: 0;
    padding: 2px;
}

.standard-form .information.less-borders dt.first, .standard-form .information.less-borders dd.first {
    padding-top: 5px;
    padding-bottom: 10px;
}

.standard-form dt.first, .standard-form dd.first {
    border-top-width: 0;
    padding-top: 0;
}

.standard-form .inline-inputs {
    padding-left: 32%;
    margin-bottom: 15px;
    border-top: 1px dotted #ccc;
    padding-top: 10px;
}

.standard-form .inline-inputs input {
    display: inline-block;
    margin: 0;
    padding: 0 10px 0 0;
}

.standard-form .inline-inputs label {
    font-size: 1.1em;
}

.standard-form .buttons {
    border-top: 1px dotted #ccc;
    padding-left: 32%;
    padding-top: 10px;
}

.standard-form .title {
    border: 1px solid #888;
    margin: -1px;
    border-radius: 5px 5px 0 0;
    background-color: #494949;
    background-image: -moz-linear-gradient(center bottom, rgb(119, 119, 119) 0%, rgb(153, 153, 153) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(17, 17, 17)), color-stop(1, rgb(71, 71, 71)));
}

.standard-form .title.grey {
    border: 1px solid #ccc;
    background-color: #494949;
    background-image: -moz-linear-gradient(center bottom, rgb(179, 179, 179) 0%, rgb(223, 223, 223) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(179, 179, 179)), color-stop(1, rgb(223, 223, 223)));
}

.standard-form .title h3 {
    padding: 5px 7px 5px 12px;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

dd h3 {
    padding: 5px 7px 5px 12px;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

.standard-form .title.grey h3 {
    color: #222;
}

fieldset.pg-auto-form label {
    width: 200px;
    float: left;
}

form .info, .info-box {
    background-color: #effadd;
    border: 1px solid #dde9c6;
    padding: 7px 10px;
    margin-bottom: 8px;
}

form .standard-form .info {
    border-left-width: 0;
    border-right-width: 0;
}

form .standard-form .info:first-child {
    border-top-width: 0;
    border-radius: 4px 4px 0 0;
}

form .standard-form .info:last-child {
    border-bottom-width: 0;
    border-radius: 0 0 4px 4px;
}

form .info strong, .info-box strong {
    font-size: 1.5em;
}

form .warn, .warn {
    background-color: #FFC;
    border: 2px solid #C99;
    margin: 2px 0;
    color: #933;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px;
}

/*form p { padding:10px 20px; }*/

fieldset p,
div.column-50 p {
    padding: 0;
}

fieldset br,
fieldset hr,
div.column-50 br,
div.column-50 hr {
    clear: both;
}

div.column-50 div.hr {
    width: 310px;
    margin: 0 0 5px 0;
}

div.column-50 div.hr, div.column-50 hr, fieldset hr {
    border: 0;
    background: #999;
    height: 1px;
}

.inline label {
    display: inline;
    font-weight: normal
}

em {
    color: #900;
}

input.checkbox {
    width: auto;
}

.sbs label, .sbswide label,
div.column-50 label {
    float: left;
    width: 100px;
}

.sbs .inline label, .sbswide .inline label,
div.column-50 .inline label {
    float: none;
    width: auto;
}

.sbswide label {
    width: 150px;
}

p#buttonBar,
p.buttonBar {
    padding-top: 10px;
    margin: 0;
}

p#buttonBar input,
p.buttonBar input {
    clear: both;
    font-size: 1.1em;
    width: 150px;
    height: 35px;
    padding: 0;
    background: url(/pagelets/js/jquery/ui/pagelets/images/ui-buttonbg.png) top left;
    border: 0;
    font-weight: bold;
    color: #fff;
}

p#buttonBar input:hover,
p.buttonBar input:hover {
    background-position: 0 -35px;
}

p#buttonBar input:active,
p.buttonBar input:active {
    background-position: 0 -105px;
    color: #1ab21a
}

div.column-50 {
    float: left;
    width: 50%;
}

.filterpane {
    position: absolute;
    width: 400px;
    border: 1px solid #CCCCCC;
    background-color: #EEEEEE;
    border-radius: 5px;
    overflow: hidden;
}

.filterpane h3 {
    padding: 3px 0 0 7px;
    margin-right: 5px;
    background: url(/images/icons/down.png) no-repeat right bottom;
}

.filterpane input {
    width: 50px;
    margin-right: 10px;
}

.filterpane select {
    margin-right: 10px;
}

.filterpane input.checkbox {
    width: auto;
}

.filterpane dt {
    font-weight: bold;
    padding-top: 2px;
}

.pafLoadingIndicator {
    height: 16px;
    width: 16px;
    font-size: 0px;
    background: url(/images/ajax-loader.gif) no-repeat center center;
    display: block;
}

fieldset.fieldset {
    border: 1px dotted #CCCCCC;
    float: left;
    margin: 5px 0 5px 5px;
}

fieldset.fieldset legend {
    font-weight: bold;
    font-size: 12px;
    padding: 0 5px 0 5px;
}

fieldset.fieldset.inline label {
    padding-right: 5px;
}

fieldset.fieldset.inline span {
    padding-right: 15px;
}

/* Tables inside forms */
.standard-form .PgTable table, .standard-form .input-list-table {
    margin-bottom: 0;
    margin-top: 1px;
}

.standard-form .PgTable table th, .standard-form .input-list-table th {
    background-image: none;
    background-color: #e7e7e7;
    color: #333;
}

.standard-form .PgTable table tr:first-child th:last-child,
.standard-form .PgTable table tr td:last-child,
.standard-form .input-list-table tr:first-child th:last-child,
.standard-form .input-list-table tr td:last-child {
    border-right: 0;
}

.standard-form .PgTable table tr:last-child td,
.standard-form .input-list-table tr:last-child td {
    border-bottom: 0;
}

/* A child panel within a standard form */
.standard-form .child-panel {
    margin: 10px;
    border: 1px solid #ddd;
    display: inline-block;
    box-shadow: 1px 1px 5px #ccc;
    -webkit-box-shadow: 1px 1px 5px #ccc;
    border-radius: 5px;
}

.standard-form .child-panel__title {
    font-size: 12px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

/* Information Panel within a form module */
.form-info-panel {
    background-color: #eee;
    margin: 10px;
    padding: 10px;
}

.form-info-panel__title {
    color: #2b4872;
    font-size: 12px;
}

.form-info-panel__title:nth-child(2) {

}

.pill {
    background: #ccaa33;
    border-radius: 2px;
    color: #fff;
    margin-left: 4px;
    padding: 2px 4px;
    letter-spacing: 0.5px;
    line-height: 14px;
    font-size: 9px;
    text-transform: uppercase;
}

.pill.pos {
    background: #33cc33;
}

.pill.neg {
    background: #cc3333;
}

.pill.ok {
    background: #ccaa33;
}

.pill.large {
    font-size: 14px;
}

/* --------------------------------------------------------------

    +Alerts

-------------------------------------------------------------- */

.alert {
    padding: 3px 5px;
    background: #eee;
    margin: 0;
    margin-bottom: 8px;
    font-size: 11px;
}

.alert--warning {
    color: #900;
    background: #FFDDDD;
    border: 1px solid #F2AEAE;

}

/* --------------------------------------------------------------

    +Colour Changes

-------------------------------------------------------------- */

/* Slate Blue */
.slate-blue #header.client-colour,
.slate-blue #nav {
    background-color: #2b4872
}

.slate-blue #nav {
    border-color: #4e6486;
}

.slate-blue #header {
    border-color: #0a244c;
}

.slate-blue .standard-form .title, .slate-blue .titled-textbox .title {
    background-color: #2b4872;
    background-image: -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
    border-color: #2b4872;
}

.slate-blue .standard-form .title h3, .slate-blue .titled-textbox .title h3 {
    color: #fff;
}

.slate-blue .client-select span {
    color: #fff;
}

.slate-blue .client-select .client-name {
    background-color: #1b3b6a;
    border-color: #0B2B5B;
    color: #fff;
}

.slate-blue .input-list-table th, .slate-blue .PgTable table th, .slate-blue .greenbox-table th {
    color: #fff;
    border-right: 1px solid #fff;
    background-image: -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
    background-color: #4e6486;
}

.slate-blue .PgTable table th.sortable, .slate-blue .greenbox-table th.sortable {
    background-image: url(/images/icons/arrows.png);
    background-image: url(/images/icons/arrows.png), -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: url(/images/icons/arrows.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
}

.slate-blue .PgTable table th.ascending, .slate-blue .greenbox-table th.ascending {
    background-image: url(/images/icons/sort-asc.png);
    background-image: url(/images/icons/sort-asc.png), -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: url(/images/icons/sort-asc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
}

.slate-blue .PgTable table th.descending, .slate-blue .greenbox-table th.descending {
    background-image: url(/images/icons/sort-desc.png);
    background-image: url(/images/icons/sort-desc.png), -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: url(/images/icons/sort-desc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
}

.slate-blue .standard-form .PgTable table th, .slate-blue .standard-form .input-list-table th {
    background-image: none;
    background-color: #ddd;
    color: #333;
}

.slate-blue .standard-panel .title h3,
.slate-blue .standard-panel h1,
.slate-blue .tools h3 {
    color: #2B4872;
}

/* Purple */
.purple #header.client-colour,
.purple #nav {
    background-color: #764787
}

.purple #nav {
    border-color: #975AA9;
}

.purple #header {
    border-color: #61386D;
}

.purple .standard-form .title, .purple .titled-textbox .title {
    background-color: #764787;
    background-image: -moz-linear-gradient(center bottom, rgb(86, 52, 99) 0%, rgb(118, 71, 135) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(86, 52, 99)), color-stop(1, rgb(118, 71, 135)));
    border-color: #3F2648;
}

.purple .standard-form .title h3, .purple .titled-textbox .title h3 {
    color: #fff;
}

.purple .client-select {
    border-color: #975AA9;
}

.purple .client-select span {
    color: #fff;
}

.purple .client-select .client-name {
    background-color: #683F78;
    border-color: #61386D;
    color: #fff;
}

.purple .input-list-table th, .purple .PgTable table th, .purple .greenbox-table th {
    color: #fff;
    border-right: 1px solid #fff;
    background-image: -moz-linear-gradient(center bottom, rgb(86, 52, 99) 0%, rgb(118, 71, 135) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(86, 52, 99)), color-stop(1, rgb(118, 71, 135)));
    background-color: #764787;
}

.purple .PgTable table th.sortable, .purple .greenbox-table th.sortable {
    background-image: url(/images/icons/arrows.png);
    background-image: url(/images/icons/arrows.png), -moz-linear-gradient(center bottom, rgb(86, 52, 99) 0%, rgb(118, 71, 135) 100%);
    background-image: url(/images/icons/arrows.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(86, 52, 99)), color-stop(1, rgb(118, 71, 135)));
}

.purple .PgTable table th.ascending, .purple .greenbox-table th.ascending {
    background-image: url(/images/icons/sort-asc.png);
    background-image: url(/images/icons/sort-asc.png), -moz-linear-gradient(center bottom, rgb(86, 52, 99) 0%, rgb(118, 71, 135) 100%);
    background-image: url(/images/icons/sort-asc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(86, 52, 99)), color-stop(1, rgb(118, 71, 135)));
}

.purple .PgTable table th.descending, .purple .greenbox-table th.descending {
    background-image: url(/images/icons/sort-desc.png);
    background-image: url(/images/icons/sort-desc.png), -moz-linear-gradient(center bottom, rgb(86, 52, 99) 0%, rgb(118, 71, 135) 100%);
    background-image: url(/images/icons/sort-desc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(86, 52, 99)), color-stop(1, rgb(118, 71, 135)));
}

.purple .standard-form .PgTable table th, .purple .standard-form .input-list-table th {
    background-image: none;
    background-color: #ddd;
    color: #333;
}

.purple .standard-panel .title h3,
.purple .standard-panel h1,
.purple .tools h3 {
    color: #764787;
}

/* Dark Green */
.dark-green #header.client-colour,
.dark-green #nav {
    background-color: #33804a
}

.dark-green #nav {
    border-color: #5c9c70;
}

.dark-green #header {
    border-color: #1b6030;
}

.dark-green .standard-form .title, .dark-green .titled-textbox .title {
    background-color: #33804a;
    background-image: -moz-linear-gradient(center bottom, rgb(55, 124, 76) 0%, rgb(83, 145, 102) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
    border-color: #0d5e25;
}

.dark-green .standard-form .title h3, .dark-green .titled-textbox .title h3 {
    color: #fff;
}

.dark-green .client-select span {
    color: #fff;
}

.dark-green .client-select .client-name {
    background-color: #22723a;
    border-color: #35834d;
    color: #fff;
}

.dark-green .input-list-table th, .dark-green .PgTable table th, .dark-green .greenbox-table th {
    color: #fff;
    border-right: 1px solid #fff;
    background-color: #33804a;
    background-image: -moz-linear-gradient(center bottom, rgb(55, 124, 76) 0%, rgb(83, 145, 102) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-green .PgTable table th.sortable, .dark-green .greenbox-table th.sortable {
    background-image: url(/images/icons/arrows.png);
    background-image: url(/images/icons/arrows.png), -moz-linear-gradient(center bottom, rgb(55, 124, 76) 0%, rgb(83, 145, 102) 100%);
    background-image: url(/images/icons/arrows.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-green .PgTable table th.ascending, .dark-green .greenbox-table th.ascending {
    background-image: url(/images/icons/sort-asc.png);
    background-image: url(/images/icons/sort-asc.png), -moz-linear-gradient(center bottom, rgb(55, 124, 76) 0%, rgb(83, 145, 102) 100%);
    background-image: url(/images/icons/sort-asc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-green .PgTable table th.descending, .dark-green .greenbox-table th.descending {
    background-image: url(/images/icons/sort-desc.png);
    background-image: url(/images/icons/sort-desc.png), -moz-linear-gradient(center bottom, rgb(55, 124, 76) 0%, rgb(83, 145, 102) 100%);
    background-image: url(/images/icons/sort-desc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-green .standard-form .PgTable table th,
.dark-green .standard-form .input-list-table th {
    background-image: none;
    background-color: #ddd;
    color: #333;
}

.dark-green .standard-panel .title h3,
.dark-green .standard-panel h1,
.dark-green .tools h3 {
    color: #333333;
}

/* Dark Orange */
.dark-orange #header.client-colour,
.dark-orange #nav {
    background-color: #a46f1a
}

.dark-orange #nav {
    border-color: #b18a4e;
}

.dark-orange #header {
    border-color: #81550e;
}

.dark-orange .standard-form .title, .dark-orange .titled-textbox .title {
    background-color: #a46f1a;
    background-image: -moz-linear-gradient(center bottom, rgb(160, 110, 29) 0%, rgb(177, 134, 65) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
    border-color: #a46f1a;
}

.dark-orange .standard-form .title h3, .dark-orange .titled-textbox .title h3 {
    color: #fff;
}

.dark-orange .client-select span {
    color: #fff;
}

.dark-orange .client-select .client-name {
    background-color: #835b1a;
    border-color: #835b1a;
    color: #fff;
}

.dark-orange .input-list-table th,
.dark-orange .PgTable table th, .dark-orange .greenbox-table th {
    color: #fff;
    border-right: 1px solid #fff;
    background-color: #a46f1a;
    background-image: -moz-linear-gradient(center bottom, rgb(160, 110, 29) 0%, rgb(177, 134, 65) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-orange .PgTable table th.sortable, .dark-orange .greenbox-table th.sortable {
    background-image: url(/images/icons/arrows.png);
    background-image: url(/images/icons/arrows.png), -moz-linear-gradient(center bottom, rgb(160, 110, 29) 0%, rgb(177, 134, 65) 100%);
    background-image: url(/images/icons/arrows.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-orange .PgTable table th.ascending, .dark-orange .greenbox-table th.ascending {
    background-image: url(/images/icons/sort-asc.png);
    background-image: url(/images/icons/sort-asc.png), -moz-linear-gradient(center bottom, rgb(160, 110, 29) 0%, rgb(177, 134, 65) 100%);
    background-image: url(/images/icons/sort-asc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-orange .PgTable table th.descending, .dark-orange .greenbox-table th.descending {
    background-image: url(/images/icons/sort-desc.png);
    background-image: url(/images/icons/sort-desc.png), -moz-linear-gradient(center bottom, rgb(160, 110, 29) 0%, rgb(177, 134, 65) 100%);
    background-image: url(/images/icons/sort-desc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(55, 124, 76)), color-stop(1, rgb(83, 145, 102)));
}

.dark-orange .standard-form .PgTable table th,
.dark-orange-blue .standard-form .input-list-table th {
    background-image: none;
    background-color: #ddd;
    color: #333;
}

.dark-orange .standard-panel .title h3,
.dark-orange .standard-panel h1,
.dark-orange .tools h3 {
    color: #333333;
}

.dark-orange #header #system-name a {
    color: #fff;
}

.dark-orange #barcode-focus {
    color: #fff;
}

/* --------------------------------------------------------------

    +Tables

-------------------------------------------------------------- */

.input-list-table, .PgTable table, .greenbox-table {
    border-collapse: collapse;
    font-size: 0.9em;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #BBBBBB;
    text-align: left;
}

.input-list-table td {
    white-space: nowrap;
}

.input-list-table td, .PgTable table td, .greenbox-table td {
    padding: 1px 4px 1px 8px;
    border: 1px solid #BBBBBB;
    border-top: none;
    background-color: white;
}

.greenbox-table td label {
    font-size: 1em;
}

.sop-module .input-list-table td, .sop-module .PgTable table td, .sop-module .greenbox-table td {
    white-space: normal;
}

.input-list-table th, .PgTable table th, .greenbox-table th {
    font-weight: bold;
    color: #222;
    border-right: 1px solid #fff;
    background-image: -moz-linear-gradient(center bottom, rgb(180, 180, 180) 0%, rgb(210, 210, 210) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(180, 180, 180)), color-stop(1, rgb(210, 210, 210)));
    background-color: #ccc;
    padding: 6px 8px;
}

.input-list-table th.sortable, .PgTable table th.sortable, .greenbox-table th.sortable {
    background-repeat: no-repeat;
    background-position: left;
    cursor: pointer;
    padding-left: 18px;
    background-image: url(/images/icons/arrows.png);
    background-image: url(/images/icons/arrows.png), -moz-linear-gradient(center bottom, rgb(180, 180, 180) 0%, rgb(210, 210, 210) 100%);
    background-image: url(/images/icons/arrows.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(180, 180, 180)), color-stop(1, rgb(210, 210, 210)));
}

.input-list-table th.ascending, .PgTable table th.ascending, .greenbox-table th.ascending {
    background-image: url(/images/icons/sort-asc.png);
    background-image: url(/images/icons/sort-asc.png), -moz-linear-gradient(center bottom, rgb(180, 180, 180) 0%, rgb(210, 210, 210) 100%);
    background-image: url(/images/icons/sort-asc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(180, 180, 180)), color-stop(1, rgb(210, 210, 210)));
}

.input-list-table th.descending, .PgTable table th.descending, .greenbox-table th.descending {
    background-image: url(/images/icons/sort-desc.png);
    background-image: url(/images/icons/sort-desc.png), -moz-linear-gradient(center bottom, rgb(180, 180, 180) 0%, rgb(210, 210, 210) 100%);
    background-image: url(/images/icons/sort-desc.png), -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(180, 180, 180)), color-stop(1, rgb(210, 210, 210)));
}

.greenbox-table th.icon-heading {
    padding: 0;
    vertical-align: top;
}

.greenbox-table th.icon-heading span {
    background: no-repeat right center;
    height: 24px;
    margin: 1px 3px 0 1px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
}

.greenbox-table th.icon-heading strong {
    color: inherit;
    padding-top: 6px;
    display: inline-block;
    vertical-align: top;
}

.greenbox-table .alt-col {
    background-color: #DDDDDD;
}

.greenbox-table .clickable td {
    cursor: pointer;
}

.greenbox-table .alt-row td {
    background-color: #EEEEEE;
}

.PgTable table td.pos,
.greenbox-table td.pos {
    background-color: #c5e9c4;
}

.PgTable table .warning td,
.greenbox-table .warning td,
.greenbox-table td.warning {
    background-color: #f8f4df;
}

.PgTable table td.neg,
.greenbox-table td.neg,
.greenbox-table td.neg td {
    background-color: #e9cac4;
}

table td.clickable .icons {
    float: right;
    margin-right: 8px;
}

table td.clickable .icons img {
    max-height: 14px;
    width: auto;
}

table td.clickable .icons.smaller {
    margin-top: 2px;
}

table td.clickable .icons.smaller img {
    max-height: 10px;
}

table td.clickable .icons.faded {
    opacity: 0.3;
}

table td.clickable .icons.faded:hover {
    opacity: 1;
}

.subtable {
    margin: 5px 0 5px 0;
    width: auto;
}

.subtable td {
    background-color: #FFFFFF;
}

.subtable td, .subtable th {
    font-size: 1.1em;
}

.has-sub-table {
    padding: 0;
}

.has-sub-table table {
    margin: 0;
    border-collapse: collapse;
}

.has-sub-table td, .has-sub-table th {
    background: none !important;
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #CCCCCC !important;
    border-width: 0 1px 0 0 !important;
    padding: 0 4px 0 4px !important;
}

.PgTable table tr, .input-list-table tr, .greenbox-table tr {
    height: 25px;
}

.input-list-table input, .input-list-table select {
    border: none;
    padding: 3px 0 3px 0;
    width: 100%;
    margin: 0;
    background: none;
}

.input-list-table tr:hover, .PgTable table tr:hover, .PgTable table tr.active {
    background-color: #e8eff6;
}

.input-list-table th.gutter, .greenbox-table th.gutter, .input-list-table td.gutter, .greenbox-table td.gutter {
    width: 17px;
}

.input-list-table td.gutter, .greenbox-table td.gutter {
    background-color: #eee;
    cursor: pointer;
}

.input-list-table th span {
    width: 15px;
    height: 15px;
    display: inline-block;
    float: right;
}

.input-list-table th:hover span {
    background: url(/images/icons/sorting-arrow-down.gif) no-repeat 5px 6px;
}

.input-list-table th.focus {
    background-image: url(/images/sitefiles/table-header-focus.png);
}

.input-list-table tr:hover {
    background-color: #e8f1f7;
}

.input-list-table td:hover { /*cursor: text;*/
}

.input-list-table td.price {
    font-weight: bold;
}

.input-list-table td.desc {
    color: #22892e;
}

.input-list-table tr.selected td.gutter, .greenbox-table tr.selected td.gutter {
    background: url(/images/sitefiles/table-gutter-bg.png) no-repeat left center #89B2DE;
}

.input-list-table tr.selected, .PgTable tr.selected td {
    background: #becee1
}

.input-list-table tr:hover td.gutter {
    background-color: #d3e2ec;
}

.input-list-table tr.selected:hover td.gutter {
    background-color: #89B2DE;
}

.input-list-table td.current-cell {
    border-color: #999;
}

.input-list-table td.current-cell-above {
    border-bottom-color: #999;
}

.input-list-table td.current-cell-left {
    border-right-color: #999;
}

.input-list-table tr.highlighted td, .PgTable tr.highlighted td, .greenbox-table tr.highlighted td {
    background-color: #DDDDFF;
}

.input-list-table .drop-down-button {
    margin: 0 0 -3px -23px;
}

.input-list-table a.delete-row-button, .PgTable a.delete-row-button {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/images/icons/delete.png) no-repeat center center;
}

.input-list-table tr.read-only a.delete-row-button, .input-list-table tr.new-row a.delete-row-button,
.PgTable tr.read-only a.delete-row-button, .PgTable tr.new-row a.delete-row-button {
    display: none
}

.input-list-table tr.read-only td.first-column {
    overflow: hidden;
}

.input-list-table tr.child-row td.first-column {
    overflow: hidden;
    background: url(/images/sitefiles/set-child-arrow.png) no-repeat 8px 7px;
}

.input-list-table tr.child-row td.first-column input {
    position: relative;
    right: -10px;
}

.input-list-table tr.child-row td.first-column span {
    padding-left: 10px;
}

.input-list-table tr.grand-child-row td.first-column {
    overflow: hidden;
    background: url(/images/sitefiles/set-child-arrow.png) no-repeat 18px 7px;
    background-position-x: 10px
}

.input-list-table tr.grand-child-row td.first-column input {
    position: relative;
    right: -20px;
}

.input-list-table tr.grand-child-row td.first-column span {
    padding-left: 20px;
}

.input-list-table td.gutter label {
    display: block;
    font-weight: bold;
    padding: 5px 0;
}

td.vat-rate-column select.select-floated {
    width: 54px;
    background-color: #FFFFFF;
}

#accesskeyLabel {
    color: #666666;
    text-align: right;
    display: block;
}

.PgTable.extra-padding td {
    padding: 4px
}

.PgTable table.pg-table--b {
    table-layout: fixed;
}

.PgTable table.pg-table--b th {
    background: #BBBBBB;
    border-right: 1px solid #BBBBBB;
    color: #333333;
}

/* --------------------------------------------------------------

    +Panels

-------------------------------------------------------------- */
.standard-panel {
    background-color: #F6F6F6;
    margin-bottom: 15px;
    border: 1px solid #E7E7E7;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
}

.standard-panel .content {
    float: left;
    border-left: 1px solid #fff;
}

.standard-panel .content .inner {
    padding: 14px 0 0 10px;
}

.standard-panel .content .inner .custom-button {
    margin-top: -6px;
}

.standard-panel .title {
    float: left;
    min-width: 20%;
    min-height: 50px;
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #e7e7e7;
    background-color: #e7e7e7;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
}

.standard-panel .title h3 {
    font-size: 2em;
    padding: 10px 10px 6px 18px;
    display: block;
    margin: 0;
    color: #333;
}

.standard-panel h1 {
    color: #333;
    padding-bottom: 0px;
}

/* Info Panels ------------------------------------------------ */
#info-panels {
    border: 1px solid #d8d8d8;
}

.col-right {
    float: left;
    left: 200px;
    width: 200%;
    position: relative;
    border-left: 1px solid #d8d8d8;
    min-height: 300px;
}

.col-right-wrap {
    float: right;
    position: relative;
    right: 200px;
    width: 50%;
}

.col-left {
    float: left;
    position: relative;
    margin-right: 20px;
    width: 200px;
    right: 200px;
}

.col-right-inner {
    overflow: hidden;
    margin-left: 214px;
    position: relative;
    right: 100%;
}

#info-panels ul#tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
}

#info-panels ul#tabs li {
    border-bottom: 1px solid #d8d8d8;
}

#info-panels ul#tabs li a {
    padding: 10px;
    display: block;
    font-weight: bold;
    color: #888;
    text-align: right;
}

#info-panels ul#tabs li a:hover {
    background-color: #f7f7f7;
    text-decoration: none;
    color: #333;
}

#info-panels ul#tabs li.selected {
    border-right: 1px solid #fff;
    color: #333;
}

#info-panels ul#tabs li.selected a {
    color: #000;
}

#info-panels ul#tabs li em {
    display: none;
}

#info-panels ul#tabs li.error em {
    display: block;
    margin-left: 193px;
    margin-top: -20px;
}

.info-panel-container > div {
    padding: 10px;
}

/* --------------------------------------------------------------

    +SOP

-------------------------------------------------------------- */

/* Customer Search ------------------------------------------- */
#CustomerPanel.sop-module input#CustomerSelection-search {
    width: 83.5%;
    padding: 5px;
    float: left;
}

#CustomerPanel.sop-module .drop-down-button {
    height: 28px;
    width: 28px;
    background: url(/images/sitefiles/input-drop-down.png) no-repeat top left;
    float: left;
}

#CustomerPanel.sop-module .drop-down-button:hover {
    background-position: 0 -28px;
}

#CustomerPanel .auto-complete-container-wrap {
    position: relative;
}

.auto-complete-container {
    position: absolute;
    width: 86%;
    height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #fff;
    border: 1px solid #abadb3;
    display: none;
    z-index: 500;
}

.auto-complete-container ul {
    font-size: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
}

.auto-complete-container ul li {
    clear: both;
}

.auto-complete-container ul li span {
    display: block;
    float: left;
}

.auto-complete-container ul li span em {
    padding: 3px;
    color: #fff;
    display: inline-block;
    font-style: normal;
}

.auto-complete-container ul.headings li span {
    background: #333;
    color: #FFF;
    font-weight: bold;
}

.auto-complete-container ul.options li {
    clear: both;
    cursor: pointer;
}

.auto-complete-container ul.options li span em {
    padding: 3px;
    color: #444;
    font-style: normal;
}

.auto-complete-container ul.options li:hover span {
    background-color: #eee;
}

.auto-complete-container ul li.active span {
    background-color: #eee;
}

.auto-complete-container ul li span.customer-name {
    width: 60%;
}

.auto-complete-container ul li span.postcode {
    width: 40%;
}

.auto-complete-container ul li.selected {
    background: #9999FF;
}

/* Layout of Modules -------------------------------------------*/
.col-1 {
    float: left;
    width: 40%;
    margin-right: 2%;
}

.col-2 {
    float: left;
    width: 24%;
    margin-right: 2%;
}

.col-3 {
    float: left;
    width: 32%;
    margin-right: 0;
}

.col-half-left {
    float: left;
    width: 49%;
    margin-right: 1%;
}

.col-half-right {
    float: right;
    width: 49%;
}

.col-one-third-left {
    float: left;
    width: 33%;
    margin-right: 1%;
}

.col-two-thirds-right {
    float: right;
    width: 65%;
}

.col-two-thirds-left {
    float: left;
    width: 65%;
    margin-right: 1%;
}

.col-one-third-right {
    float: right;
    width: 33%;
}

/* Button Panel ---------------------------------------------- */
.button-panel, .rounded-panel {
    padding: 10px;
    background-color: #ebebeb;
    text-align: center;
    margin: 0 0 10px 0;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
}

.rounded-panel {
    text-align: left
}

/* Button Panel parts */

.button-panel--parts {
    align-items: center;
    display: flex;
}

.button-panel__part + .button-panel__part {
    margin-left: 24px;
}

.button-panel__part--long {
    flex: 1;
}

.button-panel__stat {
    white-space: nowrap;
}

.button-panel__stat-label,
.button-panel__stat-value,
.button-panel__text {
    font-size: 12px;
}

.button-panel__text + .button-panel__stat,
.button-panel__stat + .button-panel__stat {
    margin-left: 24px;
}

.button-panel__stat-value,
.button-panel__stat-label {
    display: inline-block;
    vertical-align: middle;
}

.button-panel__stat-label:after {
    content: ":";
}

.button-panel__stat-value {
    margin-left: 8px;
    padding: 0 16px;
    background-color: #ddd;
    font-weight: bold;
    line-height: 34px;
}

/* Customer Panel -------------------------------------------- */

/* Status Messages ------------------------------------------- */

/* Contact/Department ---------------------------------------- */

/* Delivery -------------------------------------------------- */

#delivery-information.sop-module #DeliveryInstructions {
    width: 98%;
}

/* Notes ----------------------------------------------------- */

/* Other Info ------------------------------------------------ */

#other-information.sop-module textarea {
    width: 98%;
    height: 18px;
}

/* --------------------------------------------------------------

    +Organisation

-------------------------------------------------------------- */

#OrgDetails {
    width: 360px;
    float: left;
    margin-right: 10px;
}

#OrgDetails p#buttonBar {
    text-align: center;
}

iframe body {
    background-color: transparent;
}

/* --------------------------------------------------------------

    +Footer

-------------------------------------------------------------- */

/* --------------------------------------------------------------

    +Dialogs

-------------------------------------------------------------- */

/* Overlays */
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-widget-overlay {
    background: #000000 url(/images/jqueryui/ui-bg_flat_0_000000_40x100.png) 50% 50% repeat-x;
    opacity: .50;
    filter: Alpha(Opacity=50);
}

.ui-widget-shadow {
    margin: -20px 0 0 -20px;
    padding: 20px;
    background: #000000 url(/images/jqueryui/ui-bg_flat_0_000000_40x100.png) 50% 50% repeat-x;
    opacity: .50;
    filter: Alpha(Opacity=50);
    border-radius: 20px
}

.ui-dialog {
    background-color: #fff;
    border-radius: 5px;
}

.ui-dialog-titlebar {
    text-align: left;
    border: 1px solid #1f1f1f;
    border-radius: 5px 5px 0 0;
    background-color: #494949;
    background-image: -moz-linear-gradient(center bottom, rgb(17, 17, 17) 0%, rgb(71, 71, 71) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(17, 17, 17)), color-stop(1, rgb(71, 71, 71)));
}

.ui-dialog-titlebar span {
    padding: 10px 10px 10px 12px;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0;
    display: block;
}

.ui-dialog-content {
    padding: 15px;
    text-align: left;
}

.ui-dialog-titlebar-close {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: url(/images/sitefiles/dialog-close.png) no-repeat 0 0;
    text-indent: -9999px;
    display: none;
}

.ui-dialog-titlebar-close:hover {
    background-position: 0 -30px;
}

/* --------------------------------------------------------------

    +Tabs

-------------------------------------------------------------- */

li.simple-tab.with-status {
    padding-right: 4px !important;
}

li.simple-tab.with-status span.status {
    width: 20px;
    height: 17px;
    display: inline-block;
    background: url(/images/icons/status-icons.png) no-repeat 0 0;
    margin-bottom: -3px;
}

li.simple-tab.with-status a {
    padding-right: 5px;
}

li.simple-tab.with-status.done span.status {
    background-position: -2px -3px;
}

li.simple-tab.with-status.not-done span.status {
    background-position: -2px -94px;
}

li.simple-tab.with-status.info span.status {
    background-position: -2px -185px;
}

li.simple-tab.with-status.redo span.status {
    background-position: -2px -277px;
}

li.simple-tab.with-status.noentry span.status {
    background-position: -2px -370px;
}

/* --------------------------------------------------------------

    +Buttons

-------------------------------------------------------------- */

label.custom-button, input.custom-button, a.custom-button, button.custom-button {
    border: 1px solid #999;
    background-image: url(/images/buttons/grey-bg.png);
    background-repeat: repeat-x;
    background-position: 0 -5px;
    border-radius: 5px;
    height: 34px;
    /*font-size: 1.2em;*/
    font-family: Arial;
    color: #333;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    cursor: pointer;
}

label.custom-button {
    box-sizing: border-box;
}

label.custom-button {
    display: flex;
    align-items: center;
}

.custom-button.med {
    height: auto;
    padding: 5px 8px;
    font-size: 1.1em;
    background-position: 0 -10px;
}

.custom-button.little {
    height: auto;
    padding: 2px 6px;
    font-size: 1.1em;
    background-position: 0 -10px;
}

.custom-button.red.little {
    background-position: 0 -10px;
}

.custom-button.green.little {
    background-position: 0 -10px;
}

.custom-button.red.med {
    background-position: 0 -10px;
}

.custom-button.green.med {
    background-position: 0 -10px;
}

ul.dashboard-list li {
    list-style: none;
    float: left;
    padding-right: 10px;
}

div.dashboard-panel span.delete {
    float: right;
    display: inline;
}

a.dashboard {
    width: 150px;
    margin-right: 10px;
}

.custom-button.green {
    background-image: url(/images/buttons/green-bg.png);
    background-repeat: repeat-x;
    background-position: 0 -5px;
    border-color: #32891d;
    text-shadow: 1px 1px 1px #666;
    color: #fff;
}

.custom-button.red {
    background-image: url(/images/buttons/red-bg.png);
    background-repeat: repeat-x;
    background-position: 0 -5px;
    border-color: #a11717;
    text-shadow: 1px 1px 1px #666;
    color: #fff;
}

.custom-button.grey {
    background: url(/images/buttons/grey-bg.png) repeat-x 0 -5px !important;
    border-color: #B6B6B6 !important;
}

.custom-button.dark-grey {
    background: url(/images/buttons/dark-grey-bg.png) repeat-x 0 -5px !important;
    border-color: #2C2C2C !important;
    text-shadow: 1px 1px 1px #666 !important;
    color: #fff !important;
}

.custom-button.small {
    height: 22px;
    font-size: 1em;
    font-weight: normal;
}

a.custom-button {
    padding: 4px 10px;
    display: inline-block;
    height: inherit;
}

.custom-button:hover, .custom-button.little:hover {
    background-position: center center;
    border-color: #99b9db;
}

a.custom-button:hover {
    text-decoration: none;
}

.custom-button.green:hover {
    border-color: #32891d;
}

.custom-button.red:hover {
    border-color: #a11717;
}

.custom-button:focus {
    background-position: 0 -90px;
}

#new-order-button,
.page-button-group {
    text-align: right;
    float: right;
    right: 25px;
    margin-top: 10px;
}

.c-button-group {
    display: inline-block;
    position: relative;
}

.c-button-group .c-button {
    color: white;
    margin-right: -2px;
    background: #333;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

.c-button-group .c-button-icon {
    height: 13px;
    top: 3px;
}

.c-button-group .c-button.first {
    border-radius: 5px 0 0 5px;
}

.c-button-group .c-button.c-button--dropdown {
    border-radius: 0px 5px 5px 0px;
    background: url(/images/buttons/green-bg.png) repeat-x 0 -5px !important;
    border-color: #32891d !important;
    text-shadow: 1px 1px 1px #666 !important;
    color: #fff !important;
}

.c-button-group .c-button.c-button--dropdown:hover, .c-button-group .c-button.c-button--dropdown.is-open {
    border-radius: 0px 5px 5px 0px;
    background: url(/images/buttons/grey-bg.png) repeat-x 0 -5px !important;
    border-color: #B6B6B6 !important;
    text-shadow: 1px 1px 1px #666 !important;
    color: #fff !important;
}

.c-button--dropdown .caret {
    position: relative;
    top: -1px;
}

.c-button-group .c-button.c-button--dropdown.is-open {
    border-radius: 0px 5px 0px 0px;
}

.c-dropdown-menu {
    position: absolute;
    top: 39px;
    right: -2px;
    z-index: 1000;
    min-width: 160px;
    padding: 0;
    margin: 0;
    font-size: 12px;
    text-align: left;
    list-style: none;
    background: white;
    border: 1px solid #B6B6B6;
    border-radius: 5px 0 5px 5px;
    display: none;
}

.c-dropdown-menu .c-dropdown-menu__icon {
    position: relative;
    top: 4px;
    margin-right: 5px;
}

.c-dropdown-menu li > a {
    display: block;
    padding: 10px;
    clear: both;
    color: #333;
    white-space: nowrap;
    font-weight: bold;
    border-top: 1px solid #B6B6B6;
}

.c-dropdown-menu li:first-child > a {
    border-top: 0;
}

.c-dropdown-menu li > a:hover {
    background: #e3e3e3;
    text-decoration: none;
}

.c-button-group.is-open .c-dropdown-menu {
    display: block;
}

/* --------------------------------------------------------------

		+Overwrite Styles

    Add these class names to clear any margins, paddings or floats
    Keep these declarations at the BOTTOM of this stylesheet

-------------------------------------------------------------- */

.clear-floats {
    clear: both;
    font-size: 1px;
    height: 0px;
    line-height: 0px;
}

.bold {
    font-weight: bold;
    margin: 0;
}

.quiet {
    font-weight: lighter;
    text-transform: none;
    letter-spacing: 0;
}

.last {
    margin-right: 0;
}

.half {
    width: 48.5%;
    margin-right: 15px;
}

.left {
    float: left;
}

.italic {
    font-style: italic;
    letter-spacing: 0.04em;
}

.text-right {
    text-align: right;
}

.no-marg {
    margin: 0 !important;
}

.no-pad {
    padding: 0 !important;
}

.marg-right {
    margin-right: 14px !important;
}

.marg-left {
    margin-left: 14px !important;
}

.marg-bottom {
    margin-bottom: 14px !important;
}

.marg-top {
    margin-top: 14px !important;
}

.marg-all {
    margin: 14px !important;
}

.pad {
    padding: 14px;
}

.pad-bottom {
    padding-bottom: 14px;
}

#tabarea iframe {
    width: 100%;
    height: 100%;
}

#tabarea {
    height: 100%;
}

span.addressDisplay span {
    display: none;
    position: absolute;
    right: 10px;
    border: 1px solid #999999;
    background-color: #EEEEEE;
    padding: 2px 7px 2px 7px;
    width: 200px;
}

span.addressDisplay span strong {
    font-weight: bold;
    display: block;
}

#NewCustomer {
    display: none;
    margin-bottom: 10px;
}

#NewCustomer label {
    display: inline;
}

#NewCustomer span {
    font-size: 1.2em;
}

#NewCustomer span a {
    font-weight: bold;
    text-decoration: underline;
}

#NewCustomer span a:hover {
    color: black;
}

#order-entry-status {
    clear: both;
    padding: 10px;
    overflow: auto;
    height: 50px;
    margin-top: 1px;
}

#order-entry-status strong {
    font-weight: bold;
    display: block;
}

#order-entry-status span {
    color: #999999;
}

#order-entry-status em {
    color: #DD0000;
    font-weight: bold;
}

.drop-down-button, .drop-down-button-in-select {
    width: 20px;
    height: 18px;
    display: inline-block;
    background: url(/pagelets/images/buttons/drop-down-small.png) no-repeat top left;
}

.drop-down-button:hover, .drop-down-button-in-select:hover {
    background-position: 0 -18px;
}

.drop-down-button-in-select {
    margin-left: -25px;
    margin-bottom: -4px;
}

td.vertical-drag-handle {
    background-image: url(/images/sitefiles/vertical-drag-handle.png);
    background-repeat: no-repeat;
    background-position: center center;
    width: 50px;
    height: 17px;
    cursor: n-resize;
}

td.vertical-drag-handle div {
    width: 100%;
    height: 100%;
    cursor: n-resize;
}

.sop-double-col-module {
    width: 100%;
    border-collapse: collapse;
}

.sop-double-col-module td {
    width: 50%;
    padding: 0 5px 0 0;
}

.sop-double-col-module td.last {
    padding: 0 0 0 5px;
}

.keyboard-focus-parent {
    border: 1px dotted #222222;
    padding: 3px 3px 3px 4px;
    margin-bottom: 16px;
}

.keyboard-focus-parent .has-keyboard-focus {
    margin: 0
}

.number-container {
    text-align: right;
}

.number-container * {
    text-align: right;
}

.realex-payment-status {
    border: 1px solid #AAAAAA;
    background-color: #EEEEEE;
    padding: 3px 5px 3px 5px;
    display: inline-block;
    margin: 5px 0 5px 0;
}

.input-list-table .delete-column, .PgTable .delete-column {
    width: 20px;
}

.input-list-table td.editable {
    background: url(/images/sitefiles/input-shadow.png) no-repeat left top;
}

.input-list-table td.inspectable input {
    background: url(/images/sitefiles/magnify-off.png) no-repeat right center;
}

.input-list-table td.inspectable input.focussed {
    background-image: url(/images/sitefiles/magnify-on.png);
}

.input-list-table td.number-container.inspectable input {
    background-position: left center;
}

.input-list-table .custom-button {
    width: auto;
    height: auto;
    padding: 5px;
}

.input-list-table .part-editable input[type="text"] {
    width: auto;
    border: 1px dotted #999999;
}

input.access-key-button {
    position: absolute;
    background: #CCC;
    border: 1px solid #999;
    width: auto;
    display: none;
    padding: 0;
    margin-left: -12px;
    font-size: 10px;
    text-transform: uppercase;
}

.customer-rating em {
    display: none;
}

.customer-rating {
    background: url(/images/sitefiles/star.png) left top repeat-x;
    height: 16px;
    display: block;
}

.phone-numbers span {
    background-repeat: no-repeat;
    background-position: left center;
    height: 16px;
    padding-left: 22px;
    display: block;
    margin-bottom: 15px;
}

.phone-numbers span.office {
    background-image: url(/images/sitefiles/phone_icons/office.png);
}

.phone-numbers span.ddi {
    background-image: url(/images/sitefiles/phone_icons/ddi.png);
}

.phone-numbers span.fax {
    background-image: url(/images/sitefiles/phone_icons/fax.png);
}

.phone-numbers span.home {
    background-image: url(/images/sitefiles/phone_icons/home.png);
}

.phone-numbers span.landline {
    background-image: url(/images/sitefiles/phone_icons/landline.png);
}

.phone-numbers span.mobile {
    background-image: url(/images/sitefiles/phone_icons/mobile.png);
}

.phone-numbers span.switchboard {
    background-image: url(/images/sitefiles/phone_icons/switchboard.png);
}

.add-graphic-button {
    background-image: url(/images/icons/16x16/shadow/add2.png);
    width: 16px;
    height: 16px;
    display: inline-block;
}

#payment-loading-indicator {
    background: top center no-repeat url(/pagelets/images/ajax-loader.gif);
    height: 40px;
    display: block;
    display: none;
}

#payment-server-call-message {
    color: red;
    display: block;
    text-align: center;
    display: none;
    height: 20px;
}

#realex-payment-details {
    border: 1px solid #AAAAAA;
    padding: 3px 5px 3px 5px;
    margin-bottom: 5px;
}

#realex-payment-details #realex-frame {
    display: none;
}

#realex-payment-details #card-details {
    text-align: center;
}

#realex-payment-details #card-details div {
    margin: 10px;
}

#realex-payment-details iframe {
    display: block;
    width: 100%;
    height: 350px;
}

ul.updates li .area {
    display: inline-block;
    width: 100px;
}

ul.updates li.added {
    color: #007700;
}

ul.updates li.updated {
    color: #990000;
}

.horizontal-tab-panel {
    border: 1px solid #999999;
    padding: 10px;
    margin-bottom: 20px;
}

.horizontal-tab-panel table {
    margin-bottom: 0;
}

ul.horizontal.simple-tabs {
    padding: 0;
    margin-bottom: 8px;
}

ul.horizontal li.simple-tab {
    list-style: none;
    padding: 10px;
    display: inline;
    border-radius: 5px 5px 0 0;
    background-image: -moz-linear-gradient(center bottom, rgb(240, 240, 240) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(200, 200, 200)));
    background-color: #EFEFEF;
    border: 1px solid #999999;
    height: 32px;
}

ul.horizontal li.simple-tab.error {
    background-image: -moz-linear-gradient(center bottom, rgb(240, 240, 240) 0%, rgb(255, 150, 150) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(255, 150, 150)));
}

ul.horizontal li.simple-tab a {
    color: #333;
    font-weight: bold;
}

ul.horizontal li.simple-tab.selected {
    background-image: -moz-linear-gradient(center bottom, rgb(255, 255, 255) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(200, 200, 200)));
    background-color: #FFFFFF;
    border-bottom: 1px solid #FFF;
    height: 32px;
}

ul.horizontal li.simple-tab.selected.error {
    background-image: -moz-linear-gradient(center bottom, rgb(255, 255, 255) 0%, rgb(255, 150, 150) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(255, 150, 150)));
}

.horizontal-tabs input, .horizontal-tabs a {
    border-radius: 5px 5px 0 0;
    background-image: -moz-linear-gradient(center bottom, rgb(240, 240, 240) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(200, 200, 200)));
    background-color: #EFEFEF;
    background-position: 0 0;
    border-bottom: none;
    border-color: #999999;
    height: 32px;
}

.horizontal-tabs a {
    height: inherit;
    padding: 10px;
    margin-left: 2px;
}

.horizontal-tabs input.selected, .horizontal-tabs a.selected {
    background-image: -moz-linear-gradient(center bottom, rgb(255, 255, 255) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(200, 200, 200)));
    background-color: #FFFFFF;
    margin-bottom: -1px;
    height: 34px;
}

.horizontal-tabs a.selected {
    padding-bottom: 11px;
    height: inherit;
}

.horizontal-tabs input:hover, .horizontal-tabs a:hover {
    background-image: -moz-linear-gradient(center bottom, rgb(240, 240, 240) 0%, rgb(180, 180, 180) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(180, 180, 180)));
}

.horizontal-tabs input.selected:hover, .horizontal-tabs a.selected:hover {
    background-image: -moz-linear-gradient(center bottom, rgb(255, 255, 255) 0%, rgb(180, 180, 180) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(180, 180, 180)));
}

.vertical-tabs {
    float: left;
    padding-top: 40px;
    overflow: hidden;
}

.vertical-tabs input, .vertical-tabs input:hover {
    border-radius: 5px 0 0 5px;
    background-image: -moz-linear-gradient(top right, rgb(240, 240, 240) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(200, 200, 200)));
    background-position: 0 0;
    background-color: #EFEFEF;
    border-color: #999999;
    display: list-item;
    margin-bottom: 2px;
    text-align: left;
    width: 100%;
}

.vertical-tabs input.selected {
    border-right: none;
    background-image: -moz-linear-gradient(top right, rgb(255, 255, 255) 0%, rgb(200, 200, 200) 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(200, 200, 200)));
    background-color: #FFFFFF;
}

.vertical-tabs input:hover {
    background-image: -moz-linear-gradient(top right, rgb(240, 240, 240) 0%, rgb(180, 180, 180) 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgb(240, 240, 240)), color-stop(1, rgb(180, 180, 180)));
}

.vertical-tabs input.selected:hover {
    border-right: none;
    background-image: -moz-linear-gradient(top right, rgb(255, 255, 255) 0%, rgb(180, 180, 180) 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgb(255, 255, 255)), color-stop(1, rgb(180, 180, 180)));
}

#PackingMaterial select {
    display: block;
    margin-bottom: 5px;
}

#PackingMaterial a.add {
    background-image: url(/images/icons/32x32/shadow/add2.png);
    width: 32px;
    height: 32px;
    display: inline-block;
}

#PackingMaterial a.remove {
    background-image: url(/images/icons/32x32/shadow/delete2.png);
    width: 32px;
    height: 32px;
    display: inline-block;
}

select.select-floated {
    position: absolute;
}

dl.simple-form {
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    background-color: #EEEEEE;
    display: inline-block;
    padding: 5px 10px 5px 10px;
}

dl.simple-form dt, dl.simple-form dd {
    float: left;
    margin: 3px 0 3px 0;
}

dl.simple-form dt {
    clear: left;
    padding-right: 5px;
}

dl.simple-form.inline dt {
    clear: none;
    font-weight: bold;
    padding-left: 8px;
    border-left: 1px solid #BBBBBB;
}

dl.simple-form.inline dd {
    padding-right: 8px;
}

dl.simple-form.inline dd:last-of-type {
    padding-right: 0;
}

dl.simple-form.inline dt:first-of-type, dl.simple-form.inline dt:first-child {
    padding-left: 0;
    border-left: none;
}

.hidden, .hidden-data {
    display: none;
}

em.error-placeholder {
    color: #777777;
    font-size: 15px;
    font-family: Calibri;
    font-weight: bold;
}

em.error, em.error-inline, em.error-placeholder.failed {
    color: #900;
    position: absolute;
    border: 1px solid #FFBBBB;
    border-radius: 0 5px 5px 5px;
    padding: 3px 5px 3px 5px;
    max-width: 200px;
    background-color: #FFDDDD;
    margin-top: 10px;
    font-weight: normal;
    white-space: normal;
}

em.error-inline, dl.floated em.error, dl.floated em.error-placeholder.failed {
    border-radius: 5px;
    position: inherit;
    max-width: none;
    display: inline-block;
    margin: 0 0 1px 0;
}

.new-payment-error {
    display: none
}

#item-actions p.error {
    padding: 3px 5px 3px 5px;
    margin: 0;
    color: #900;
    background-color: #FFDDDD;
    border: 1px solid #FFBBBB;
    border-radius: 0 5px 5px 5px;
}

#priviledge-table td {
    padding: 5px;
}

#priviledge-table tbody tr:hover {
    background: #EEE;
}

.warning {
    background: #FFDDDD;
    border: 1px solid #993333;
    padding: 3px;
    margin: 4px;
    margin-bottom: 8px;
}

.warning p {
    padding: 0;
    margin: 0;
}

.inlineLoadingIndicator {
    height: 16px;
    width: 16px;
    font-size: 0px;
    background: url(/images/ajax-loader.gif) no-repeat center center;
    display: inline-block;
}

td.loadingIndicator, div.loadingIndicator {
    height: 20px;
    font-size: 0px;
    background: url(/images/ajax-loader.gif) no-repeat center center;
}

#FloatingDetailsDiv {
    border: 1px solid #CCC;
    border-radius: 0 5px 5px 5px;
    background-color: #EEE;
    position: absolute;
}

.focus-frame {
    display: none;
}

.record-search {

}

.record-search-results {
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
}

.record-search table tr:hover {
    background-color: #CCC;
}

li.disabled span {
    background: #FFCCCC;
}

li.alternative span {
    background: #FFFFCC;
}

ul.button-list {
    list-style: none;
}

ul.button-list.horizontal li {
    float: left;
}

tr.totals th {
    font-size: 1.4em;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000
}

tr.grand-totals th {
    font-size: 1.8em;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000
}

.select-button {
    background: url(/images/icons/dropdown.png) no-repeat center center;
    width: 20px;
    height: 21px;
}

.add-button {
    background: url(/images/icons/add.png) no-repeat center center;
    width: 20px;
    height: 21px;
}

.select-button span, .add-button span, .enter-input {
    display: none
}

.select-input, .select-input input, .select-input select, .select-input a,
.enter-input, .enter-input input, .enter-input select, .enter-input a, .select-input div, .enter-input div {
    float: left
}

div.fancy-select, button.fancy-select {
    border: 1px solid #999999;
    border-radius: 3px;
    background-color: #EEEEEE;
    padding: 3px 5px 3px 5px;
    text-align: left;
    font-size: 1.1em;
    line-height: 1em;
    font-family: sans-serif;
}

button.fancy-select:hover {
    background-color: #FFFFFF;
}

div.fancy-select-overlay {
    position: absolute;
    border: 1px solid #999999;
    border-radius: 3px;
    background-color: #FFFFFF;
    padding: 2px;
    z-index:1;
    height: 250px;
    overflow: auto;
}

div.fancy-select-overlay label {
    display: block;
    font-size: 1.1em;

    padding: 2px 4px 2px 4px;
    border: 1px solid #AAAACC;
    border-radius: 3px;
    background-color: #EEEEFF;
    margin: 1px 0 1px 0;
    cursor: pointer;
}

div.fancy-select-overlay label:hover {
    border: 1px solid #AAAACC;
    background-color: #DDDDFF;
}

table.scoreboard tr td {
    border-bottom: 1px solid #999;
    padding-bottom: 6px;
    padding-top: 6px;
}

.custom-button.pg-button.disabled, .custom-button:disabled, .custom-button.disabled {
    background: #e7e7e7 !important;
    border-color: #aaa !important;
    color: #aaa !important;
    text-shadow: none !important;
    cursor: default;
}

.custom-button.pg-button.disabled.processing {
    background: url('/images/ajax-loader.gif') no-repeat center center #e7e7e7 !important;
}

tr.set-child td {
    color: #666;
}

tr.set-child td.set-child {
    padding-left: 20px;
}

.add-link {
    background: url(/images/icons/add.png) no-repeat left center;
    padding-left: 20px;
}

.line-message-anchor {
    cursor: pointer;
    background: url(/images/icons/message.png) no-repeat center center;
}

.line-message-anchor.empty {
    background-image: url(/images/icons/no-message.png);
}

.line-message-anchor a {
    text-decoration: none;
}

.line-message, .personalisation-anchor .personalisations, .serial-numbers-anchor .serial-numbers {
    z-index: 1001;
    display: none;
    position: absolute;
    margin-top: -1px;
    border-radius: 5px 0 5px 5px;
    border: 1px solid #999999;
    right: 145px;

    background: #FFFFFF;
    padding: 5px 8px 5px 8px;
    font-size: 12px;

    -moz-box-shadow: 0 0 3px #999999;
    -webkit-box-shadow: 0 0 3px #999999;
    box-shadow: 0 0 3px #999999;
}

.line-message-anchor:hover .line-message {
    display: block;
}

.line-message-anchor.empty:hover .line-message {
    display: none;
}

.personalisation-anchor {
    cursor: pointer;
}

.personalisation-anchor .personalisations {
    text-align: left;
    z-index: 1002;
    right: 120px;
}

.personalisation-anchor:hover .personalisations {
    display: block;
}

.personalisation-anchor.empty:hover .personalisations {
    display: none;
}

.serial-numbers-anchor {
    cursor: pointer;
}

.serial-numbers-anchor .serial-numbers {
    text-align: left;
    z-index: 1002;
    right: 120px;
}

.serial-numbers-anchor:hover .serial-numbers {
    display: block;
}

.serial-numbers-anchor.empty:hover .serial-numbers {
    display: none;
}

.new-so-line td {
    vertical-align: middle;
}

.new-so-line {
    -webkit-order-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
    background-color: #F7F7F7;
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 10px 2px 10px;
    margin-bottom: 2px;
}

.new-so-line label {
    vertical-align: top;
    margin: 7px 10px 0 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-block;
}

.new-so-line td label {
    padding-bottom: 5px;
    margin-right: 0;
    margin-left: 3px;
}

.new-so-line p {
    vertical-align: top;
    display: inline-block;
    margin: 0;
    padding: 0 0 0 10px;
    font-size: 1em;
    color: #666666;
}

.new-so-line div.input {
    vertical-align: top;
    display: inline-block;
    margin: 6px 10px 0 0;
}

.new-so-line .custom-button {
    height: auto;
    margin-top: 5px;
}

.new-so-line div.input a.drop-down-button {
    display: none;
}

em.new-line-error {
    display: none;
    margin: 28px 0 0 5px;
    max-width: 150px;
}

#sales-order-input-table table {
    margin: 0;
    position:relative;
}

#sales-order-input-table {
    /*overflow: hidden;*/
    height: 20px;
    margin-bottom: 10px;
}

#sales-order-table-container dd>* {
    z-index:1000;
}

#order-summary-awaiting-update {
    display: none;
    clear: both;
}

#order-summary-awaiting-update a {
    display: block;
    color: red;
}

#payments-awaiting-update {
    display: none;
    clear: both;
}

#payments-awaiting-update a {
    display: block;
    color: red;
}

tr.red td, td.red {
    background-color: #FBA6BD;
    border-color: #FD7DA0;
}

tr.orange td, td.orange {
    background-color: #FFE29C;
    border-color: #E5CD5F;
}

tr.green td, td.green {
    background-color: #92EC88;
    border-color: #72CC68;
}

tr.purple td, td.purple {
    background-color: #DFA8DF;
    border-color: #D182D1;
}

tr.blue td, td.blue {
    background-color: #A3C2FF;
    border-color: #6699FF;
}

tr.yellow td, td.yellow {
    background-color: #FFFF66;
    border-color: #ECE65C;
}

ul.checkset li {
    list-style: none;
}

ul.checkset li {
    list-style: none;
}

table tr.period-group td {
    cursor: pointer;
    background: #EEEEEE;
    font-size: 1.5em;
    font-style: italic;
}

table tr.period-group:hover td {
    background: #EEEEEE;
}

table tr.period-group td.label {
    padding-left: 30px;
    background: url(/images/icons/add.png) no-repeat 5px 5px #EEE;
}

table tr.period-group td.label.expanded {
    background: url(/images/icons/minus.png) no-repeat 5px 5px #EEE;
}

.synopsis-button, #ExpandAll, .print-button {
    cursor: pointer;
    font-size: 1.2em;
    background: no-repeat 6px 6px #EEE;
    padding: 5px 5px 5px 25px;
    display: inline-block;
    border: 1px solid #BBBBBB;
    border-radius: 5px;
    margin-bottom: 5px;
}

.transfer-button {
    background-image: url(/images/icons/move.png);
}

#ExpandAll {
    background-image: url(/images/icons/add.png);
}

.print-button {
    background-image: url(/images/icons/printer.png);
}

#ExpandAll:hover, .print-button:hover {
    text-decoration: none;
    background-color: #FFF;
}

body.ajax-in-progress #nav-second-row, body.event-processing #nav-second-row {
    background-image: url(/images/ajax-in-progress.gif);
    background-repeat: no-repeat;
    background-position: 80%;
}

td.sop-panel {
    vertical-align: top;
    padding: 0 10px 0 0;
}

td.sop-panel:last-child {
    padding: 0;
}

.side-panel {
    float: left;
    width: 40%;
}

.side-panel .tools {
    margin-right: 10px;
}

.side-panel .hide {
    cursor: pointer;
    position: absolute;
    left: 124px;

    float: right;
    width: 40px;

    margin-top: -6px;

    background: url(/images/icons/nav_left_blue.png) no-repeat center center;
}

.side-panel .show {
    cursor: pointer;
    border: 1px solid #e7e7e7;
    background-color: #f6f6f6;
    padding: 4px;
    margin-right: 15px;
    border-radius: 5px;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
    background: url(/images/icons/nav_right_blue.png) no-repeat bottom center;
    overflow: auto;
    display: none;
}

.side-panel .show h3 {
    text-align: center;
    color: #2B4872;
    font-size: 1.2em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    height: 84px;
}

.side-panel.collapsed {
    width: 90px;
}

.side-panel.collapsed .tools {
    display: none;
}

.side-panel.collapsed .hide {
    display: none;
}

.side-panel.collapsed .show {
    display: block;
}

#DiscountOverlay {
    display: none;
    position: absolute;
    width: 70px;
    height: 70px;
    padding: 10px;
    overflow: hidden;

    background-color: #EEEEEE;
    border: 1px solid #666666;
    border-radius: 5px;
}

#DiscountOverlay * {
    white-space: nowrap;
}

#DiscountOverlay a {
    display: none;
}

#DiscountOverlay .popup-loading {
    background: url(/images/overlay-loader.gif) no-repeat center center;
    height: 100%;
}

table.simple-borderless-table {
    border-collapse: collapse;
}

table.simple-borderless-table td {
    font-size: 12px;
    border: none;
    background: none !important;
    padding: 0 5px 0 0;
}

table.simple-borderless-table tr {
    background: none !important;
}

table.simple-borderless-table th {
    font-size: 12px;
    font-weight: bold;
    border: none !important;
    background: none !important;
    color: #000000 !important;
    padding: 0 5px 0 0;
}

#channel-selection-dialog, #customer-alerts-dialog, .greenbox-dialog {
    background: url(/images/overlay-bg.png);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    text-align: center;
}

#customer-alerts-dialog {
    z-index: 10002;
}

#customer-alerts-dialog strong {
    display: block;
}

#customer-alerts-dialog a {
    margin: 0 5px 5px;
}

#customer-alerts-dialog p {
    text-align: left;
    background-color: white;
    border-radius: 5px;
    margin: 0 5px 5px 5px;
}

#channel-selection-dialog h3, #customer-alerts-dialog h3, .greenbox-dialog h3 {
    border-radius: 10px 10px 0 0;
    padding: 3px 0 3px 0;
    margin-bottom: 20px;
    background-color: #2E373F;
    color: #E4EFF8;
}

#customer-alerts-dialog h3 {
    margin-bottom: 5px;
}

#channel-selection-dialog > div, #customer-alerts-dialog > div, .greenbox-dialog > div {
    border-radius: 11px;
    border: 1px solid #B6C1C9;
    background-color: #B6C1C9;
    margin: auto;
    width: 560px;
}

.med-width-dialog > div {
width: 1000px;
}

#channel-selection-dialog a, .greenbox-dialog a.big-button {
    border-radius: 10px;

    border: 1px solid #777777;
    background: #E4EFF8 no-repeat center center;

    display: block;
    float: left;
    height: 100px;
    width: 100px;
    margin: 0 0 40px 30px;
    text-decoration: none;
}

#channel-selection-dialog strong, .greenbox-dialog strong {
    display: block;
    padding-top: 103px;
    font-size: 14px;
}

#channel-selection-dialog a#channel-Phone {
    background-image: url(/images/icons/order-channel/phone.png);
}

#channel-selection-dialog a#channel-Fax {
    background-image: url(/images/icons/order-channel/fax.png);
}

#channel-selection-dialog a#channel-Email {
    background-image: url(/images/icons/order-channel/email.png);
}

#channel-selection-dialog a#channel-Mail {
    background-image: url(/images/icons/order-channel/mail.png);
}

#channel-selection-dialog a:hover, .greenbox-dialog a.big-button:hover {
    background-color: #FFFFFF;
    border-color: #444444;
}

.titled-textbox .title {
    border-radius: 5px 5px 0 0;
}

.titled-textbox .title h3 {
    margin: 0;
    font-size: 1.2em;
    padding: 3px 5px 3px 5px
}

.titled-textbox {
    float: left;
}

.titled-textbox .textarea {
    padding: 6px;
    border: 1px solid #BBB;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 5px 5px;
}

.titled-textbox textarea {
    width: 100%;
    padding: 0;
    border: none;
}

.note {
    max-width: 400px;
    margin-top: 20px;
    border: 1px solid #DDD;
    border-radius: 5px;
    padding: 3px 6px 3px 6px;
}

.note h4 {
    font-size: 1em;
    color: #999;
    margin: 0 0 3px 0;
}

.note h4 strong {
    color: #000;
}

.note hr {
    border: none;
    border-top: 1px solid #DDD;
    color: #DDD;
    margin: 0;
}

.note p {
    margin: 0
}

.radio-list, .select-view-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.radio-list li {
    background-color: #EEEEEE;
    border: 1px dotted #BBBBBB;
    cursor: pointer;
    margin: 1px;
    padding-right: 5px;
}

.radio-list li.selected {
    background-color: #CCCCCC;
    border: 1px dotted #999999;
}

.select-view-list li {
    margin: 1px;
}

.select-view-list a, .select-view-list em, .select-view-list span {
    display: block;
    height: 30px;
    float: left;
}

.select-view-list a, .select-view-list em {
    cursor: pointer;
    background-color: #EEEEEE;
    border: 1px dotted #BBBBBB;
    width: 30px;
    margin-right: 1px;
}

.select-view-list em {
    text-align: center;
}

.select-view-list em.selected {
    background-color: #CCCCCC;
    border: 1px dotted #999999;
}

.select-view-list em input {
    margin-top: 8px;
}

.select-view-list a {
    background: #EEEEEE url(/images/sitefiles/magnify-on.png) no-repeat center center;
}

.select-view-list li {
    border: 1px dotted #CCCCCC;
    padding: 1px;
}

.select-view-list span {
    padding: 7px 5px 0;
    height: auto;
}

.select-view-list u {
    display: block;
    clear: left;
}

/*
* 	+Panel Manager
*
*/

.panel-manager {

}

.panel-manager-editing .panel-manager {

}

.panel-content {
    margin: 10px;
    padding: 10px;
    border: 1px solid transparent;
}

.ui-panel {
    width: 49%;
    float: left;
    position: relative;
    border: 1px solid transparent;
}

.ui-panel .delete {
    width: 24px;
    height: 24px;
    background: url(/images/icons/delete2.png) no-repeat;
    display: none;
    position: absolute;
    margin-right: -8px;
    margin-top: -8px;
    right: 0;
    cursor: pointer;
}

.panel-manager-editing .panel-content {
    border: 1px dashed #990000;
}

.panel-manager-editing .ui-panel:hover {
    border: 1px solid #CCC;
    background: #EEEEFF;
}

.ui-panel.add {
    display: none;
    height: 150px;
    cursor: pointer;
    margin: 0 auto;
}

.ui-panel.add .panel-content {
    background: #EEE;
}

.ui-panel.add .panel-content p {
    text-align: center;
    padding: 20px;
}

.panel-manager-editing .ui-panel.add {
    display: block
}

.panel-manager-editing .add .panel-content {
    border: 1px solid transparent;
}

.panel-manager-editing .ui-panel.add:hover {
    border: 1px solid transparent;
    background: none;
}

.panel-manager-editing .ui-panel.add:hover .panel-content {
    border: 1px solid #CCC;
    background: #F9F9F9;
}

.panel-manager-editing .ui-panel:hover .delete {
    display: block;
}

.ui-panel:nth-child(even) .panel-content {
    background: #EEE;
}

#TransactionTable .highlighted-transaction td {
    background-color: #BECEE1;
}

#TransactionTable .selected-transaction td {
    background-color: #BEE1CE;
}

#TransactionTable .highlighted-transaction.locked-transaction td {
    border: 1px solid #8E9EB1;
    background-image: url(/images/sitefiles/crosshatch.png);
}

#TransactionTable .selected-transaction.locked-transaction td {
    border: 1px solid #8EB19E;
    background-image: url(/images/sitefiles/crosshatch.png);
}

#media-code-valid.valid, #media-code-valid.invalid {
    vertical-align: top;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: no-repeat top left url(/images/icons/tick_circle_frame.png);
}

#media-code-valid.invalid {
    background-image: url(/images/icons/cross_circle_frame.png);
}

#pop-number-valid.valid, #pop-number-valid.invalid {
    vertical-align: top;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: no-repeat top left url(/images/icons/tick_circle_frame.png);
}

#pop-number-valid.invalid {
    background-image: url(/images/icons/cross_circle_frame.png);
}

.MediaCodeList tr.expired td, .MediaCodeList tr.disabled td {
    background-color: #DDDDDD;
    color: #666666
}

.MediaCodeList tr.not-started td.start-date {
    color: red
}

.MediaCodeList tr.expired td.expiry-date {
    color: red
}

#ui-datepicker-div {
    display: none
}

td.personalisation-column span {
    display: block;
    height: 20px;
    width: 150px;
}

td.personalisation-column div {
    height: 20px;
    width: 150px;
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
    overflow: hidden;
    border: 1px dotted #ff6666;
}

td.personalisation-column div:hover {
    height: auto;
    width: auto;
    border: 1px solid #999999;
    background-color: #FFFFFF;
    padding: 5px
}

td.personalisation-column * {
    font-size: 11px;
}

td.personalisation-column dt {
    clear: left;
    padding-right: 5px;
    float: left;
    font-weight: bold;
    width: 150px
}

td.personalisation-column dd {
    float: left;
    margin-bottom: 0
}

td.personalisation-column hr {
    border-bottom: 1px solid #AAAAAA;
    color: transparent;
    height: 0;
    clear: left;
}

/* --------------------------------------------------------------

	+Icon buttons

-------------------------------------------------------------- */
a.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center center;
}

a.icon.delete {
    background-image: url(/images/icons/delete.png);
}

a.icon.add {
    background-image: url(/images/icons/add.png);
}

a.icon.return {
    background-image: url(/images/icons/arrow_return.png);
}

a.icon.return-back {
    background-image: url(/images/icons/arrow_return_180.png);
}

a.icon.arrow-down {
    background-image: url(/images/icons/bullet_arrow_down.png);
}

a.icon.cancel {
    background-image: url(/images/icons/cross_circle_frame.png);
}

a.icon.save-new {
    background-image: url(/images/icons/disk_plus.png);
}

a.icon.attachment {
    background-image: url(/images/icons/document_attachment.png);
}

a.icon.csv {
    background-image: url(/images/icons/document_excel_csv.png);
}

a.icon.download-file {
    background-image: url(/images/icons/download-file.png);
}

a.icon.dropdown {
    background-image: url(/images/icons/dropdown.png);
}

a.icon.edit {
    background-image: url(/images/icons/edit.png);
}

a.icon.warning {
    background-image: url(/images/icons/exclamation.png);
}

a.icon.filter {
    background-image: url(/images/icons/filter.png);
}

a.icon.settings {
    background-image: url(/images/icons/gear.png);
}

a.icon.information {
    background-image: url(/images/icons/information_frame.png);
}

a.icon.invoice {
    background-image: url(/images/icons/invoice.png);
}

a.icon.message {
    background-image: url(/images/icons/message.png);
}

a.icon.minus {
    background-image: url(/images/icons/minus.png);
}

a.icon.new-file {
    background-image: url(/images/icons/new-file.png);
}

a.icon.no-message {
    background-image: url(/images/icons/no-message.png);
}

a.icon.open {
    background-image: url(/images/icons/open.png);
}

a.icon.print {
    background-image: url(/images/icons/printer.png);
}

a.icon.refresh {
    background-image: url(/images/icons/refresh.png);
}

a.icon.despatch {
    background-image: url(/images/icons/shippingbox.png);
}

a.icon.tick {
    background-image: url(/images/icons/tick_circle_frame.png);
}

a.icon.toggle-expand {
    background-image: url(/images/icons/toggle.png);
}

a.icon.toggle-collapse {
    background-image: url(/images/icons/toggle_collapse.png);
}

a.icon.unfilter {
    background-image: url(/images/icons/unfilter.png);
}

a.icon.change {
    background-image: url(/images/icons/change.png);
}

/*
* + Surveys
*/

.survey fieldset {
    border: 0 none;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

.survey fieldset label {
    display: block;
    margin-bottom: 3px;
}

.survey fieldset label.checkbox, .survey fieldset label.radio {
    padding: 0 0 0 18px;
}

.survey fieldset label.checkbox:first-child, .survey fieldset label.radio:first-child {
    padding-top: 1.4667%;
}

.survey fieldset label.checkbox.inline, .survey fieldset label.radio.inline {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 2.2%;
    vertical-align: middle;
}

.survey fieldset .input, .survey fieldset input[type="email"], .survey fieldset input[type="number"], .survey fieldset input[type="password"], .survey fieldset input[type="search"], .survey fieldset input[type="text"], .survey fieldset input[type="url"], .survey fieldset select, .survey fieldset textarea {
    border: 1px solid #CCCCCC;
    margin-bottom: 2.2%;
    min-width: 151px;
    padding: 1.1%;
    width: auto;
}

.survey fieldset .input.large, .survey fieldset input.large[type="email"], .survey fieldset input.large[type="number"], .survey fieldset input.large[type="password"], .survey fieldset input.large[type="search"], .survey fieldset input.large[type="text"], .survey fieldset input.large[type="url"], .survey fieldset select.large, .survey fieldset textarea.large {
    min-width: 300px;
    width: 60%;
}

.survey fieldset input[type="checkbox"], .survey fieldset input[type="radio"] {
    float: left;
    margin-left: -18px;
    margin-top: 2px;
}

.survey fieldset td input[type="checkbox"] {
    margin-left: 0;
}

.survey fieldset input[type="file"] {
    margin-top: 1.1%;
}

.survey fieldset input.focused {
    border-color: rgba(82, 168, 236, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}

.survey fieldset textarea {
    font-size: 13px;
    min-height: 75px;
}

.survey fieldset .field-group {
    clear: both;
    margin-bottom: 2.1%;
    overflow: hidden;
}

.survey fieldset .field-group label.field-label {
    float: left;
    margin-bottom: 1.1%;
    margin-right: 4.4%;
    padding-top: 1.1%;
    text-align: right;
    width: 21.7%;
}

.survey fieldset .field-group .fields {
    float: left;
    width: 73.9%;
}

.survey fieldset .field-group .fields label.checkbox.inline, .survey fieldset .field-group .fields label.radio.inline {
    padding-top: 1.4667%;
}

.survey fieldset .field-group .fields fieldset {
    font-size: 1em;
    margin-top: 2.2%;
}

.survey fieldset .field-group .fields fieldset .field-group {
    margin-top: 0;
}

.survey fieldset .field-group .fields fieldset .field-group label.field-label {
    text-align: left;
    width: 13%;
}

.survey fieldset .field-group.warning .help, .survey fieldset .field-group.warning label {
    color: #999933;
}

.survey fieldset .field-group.warning .fields input[type="text"], .survey fieldset .field-group.warning .fields select, .survey fieldset .field-group.warning .fields textbox {
    border-color: #CCCC66;
    color: #999933;
}

.survey fieldset .field-group.error .help, .survey fieldset .field-group.error label {
    color: #B94A48;
}

.survey fieldset .field-group.error .fields input[type="text"], .survey fieldset .field-group.error .fields select, .survey fieldset .field-group.error .fields textbox {
    border-color: #D59292;
    color: #B94A48;
}

.survey fieldset .field-group.success .help, .survey fieldset .field-group.success label {
    color: #468847;
}

.success {
    color: #468847;
}

.fail {
    color: #EE6262;
}

.CPsuccess {
    color: #01DF3A;
    font-weight: bold;
}

.CPfail {
    color: #FF0000;
    font-weight: bold;
}

.survey fieldset .field-group.success .fields input[type="text"], .survey fieldset .field-group.success .fields select, .survey fieldset .field-group.success .fields textbox {
    border-color: #7ABA7A;
    color: #468847;
}

.survey fieldset .help {
    color: #919191;
    font-size: 1em;
    margin-bottom: 0;
}

.survey fieldset .help.inline {
    display: inline-block;
    padding-left: 2.2%;
    vertical-align: middle;
}

.survey fieldset .input.noedit {
    cursor: default;
    display: inline-block;
}

.survey fieldset .appended .add-on, .survey fieldset .prepended .add-on {
    background-color: #999999;
    color: white;
    display: block;
    float: left;
    font-weight: normal;
    margin-right: -1px;
    min-width: 16px;
    padding: 1.1% 2.2%;
    text-align: center;
    width: auto;
}

.survey fieldset .appended input[type="text"], .survey fieldset .prepended input[type="text"] {
    float: left;
}

.survey fieldset .form-actions {
    padding: 2.2% 0;
}

.survey fieldset .form-actions button, .survey fieldset .form-actions input {
    margin-right: 2.2%;
}

.survey .horizontal-form .form-actions {
    padding-left: 26.1%;
}

.survey .horizontal-form .fields .form-actions {
    padding-left: 17.4%;
}

.survey ul.checkset li label {
    font-size: 0.8em
}

.greenbox-table .clickable .expandContainer td, .greenbox-table .clickable .expandContainerRecord td {
    cursor: default;
}

input.empty-tab {
    color: #999;
}

.stock-relation-list {
    width: auto;
}

.clickable label, label.clickable {
    cursor: pointer;
}

.paf-result-list li {
    margin: 1px;
    border: 2px dotted #CCC;
    padding: 2px 5px;
    background-color: #EEE;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.paf-result-list li:hover {
    background-color: #FFF;
}

.paf-result-list span:after {
    content: ", ";
}

.paf-result-list span:last-child:after {
    content: "";
}

.paf-result-list {
    display: none;
    list-style-type: none;
    background-color: #FFF;
    margin: 5px 0 0;
    padding: 4px;
    overflow: auto;
    max-height: 200px;
    border: 1px solid #AAA;
    width: 460px;
}

.paf-input input {
    float: left;
    margin-right: 5px;
}

.paf-input .loading {
    float: left;
    display: none;
    height: 18px;
    width: 15px;
    background: no-repeat right bottom url(/images/ajax-loader.gif);
}

.AddressLine1-input em.error-placeholder.failed {
    display: block !important;
}

.Town-input em.error-placeholder.failed {
    display: block !important;
}

.ul-no-margin ul {
    margin: 0;
}

input[type=checkbox] {
    min-width: 10px;
}

input.new-organisation-name-field {
    background-color: #FAA;
    border: 1px solid #F33;
    border-width: 0 1px 1px;
    border-radius: 0 0 5px 5px;
    width: 90%;
    margin-left: 10px;
    margin-top: -3px;
    cursor: pointer;
}

div.new-line-validators em.error-placeholder.failed {
    display: block;
}

.offset-validators em.error-placeholder.failed {
    margin-top: 25px;
    margin-left: 5px;
}

.mail-detail-table {
    float: left;
}

.mail-detail-table td {
    font-size: 1.2em;
}

.mail-detail-table th {
    font-size: 1.2em;
    font-weight: bold;
}

.mail-detail-table div.input {
    padding: 3px;
    border: 1px solid #D0D0D0;
    background-color: #FFF;
    border-radius: 4px;
}

.mail-detail-table div.left-radius {
    border-radius: 4px 0 0 4px;
}

.mail-detail-table div.right-radius {
    border-radius: 0 4px 4px 0;
}

.mail-detail-table div.input input {
    width: 100%;
    padding: 0;
    border: none;
    text-align: right;
}

.mail-detail-table input[type=textbox], .mail-detail-table .total {
    text-align: right;
}

table.cost-summary td, table.cost-summary th {
    font-size: 12pt;
    padding: 5px;
    border-bottom: 1px solid #666;
}

table.cost-summary th {
    background: #CCC;
}

.condensed dl dt {
    width: 85px;
}

#item-actions {
    top: 600px;
    position: absolute;
    padding: 0;
    margin: 0 0 0 -15px;
    width: 100%;
    display: none;
}

ul#action-summary {
    margin: 0;
}

#item-actions .inner {
    background: url(/images/sitefiles/shadow-left.png) top left no-repeat, url(/images/sitefiles/shadow-right.png) top right no-repeat;
    margin: 0 30px 0 30px;
    padding: 0 70px 0 70px;
}

#item-actions .content {
    background-color: #FFFFFF;
    border: solid #BBBBBB;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 5px 5px;
    -moz-box-shadow: 4px 4px 4px 0px #CCCCCC;
    -webkit-box-shadow: 4px 4px 4px 0px #CCCCCC;
    box-shadow: 4px 4px 4px 0px #CCCCCC;
    text-align: left;
    padding: 20px 10px 10px 10px;
}

#item-actions .content.loading {
    background: url(/images/ajax-loader.gif) no-repeat center center #FFFFFF;
    height: 100px;
}

.structure-table {
    width: 100%;
}

.structure-table td {
    vertical-align: top;
}

.error td {
    background-color: #FFCCCC;
}

.grey td {
    background-color: #d8d8d8;
}

.process-material td {
    background-color: #baecb2;
}

.process-material.error td {
    background-color: #FFCCCC;
}

.greenbox-dialog a.close {
    display: block;
    float: right;
    background: url(/images/sitefiles/dialog-close-small.png) no-repeat top left;
    height: 16px;
    width: 16px;
    cursor: pointer;
    opacity: 0.4;
    margin: 5px 8px 0 0;
}

.greenbox-dialog a.close:hover {
    opacity: 0.8;
}

.mailing-print-dialog .option, #job-sheet-print-dialog div div, #change-job-quantity-dialog div div {
    border: 1px solid #6494c4;
    margin: 0 18px 2px 18px;
    background-color: #ffffff;
    text-align: left;
    padding: 6px 8px 5px 8px;
}

.mailing-print-dialog .email, #job-sheet-print-dialog div div, #change-job-quantity-dialog div div {
    margin-bottom: 20px;
}

.mailing-print-dialog .option:hover {
    cursor: pointer;
    background-color: #e7f6ff;
}

.mailing-print-dialog .option.selected {
    cursor: default;
    background-color: #ffffff;
}

.mailing-print-dialog .option > span {
    display: block;
    height: 24px;
    width: 24px;
    float: left;
    margin-right: 8px;
}

.mailing-print-dialog .option h4 {
    padding-top: 2px;
    margin: 0;
}

.mailing-print-dialog .email > div {
    display: none;
}

.mailing-print-dialog .print > span {
    background-image: url(/images/icons/print.png);
}

.mailing-print-dialog .download > span {
    background-image: url(/images/icons/down.png);
}

.mailing-print-dialog .email > span {
    background-image: url(/images/icons/email.png);
}

th.attachments span {
    background: url(/images/icons/attachment.png) no-repeat top left;
    display: block;
    width: 16px;
    height: 16px;
}

td.attachments {
    width: 20px;
    white-space: nowrap;
}

td.source a.change {
    margin-bottom: -5px;
}

div.source-switch {
    position: absolute;
    border: 1px solid #999;
    border-radius: 5px;
    background-color: #FFF;
    padding: 4px 3px;
}

div.source-switch span, div.source-switch em {
    display: block !important;
    border: 1px solid #DDD;
    padding: 3px 5px;
    margin: 1px 1px 1px 0;
    border-radius: 3px 0 0 3px;
    cursor: pointer;
    float: left;
    clear: left;
    width: 90px;
}

div.source-switch em {
    clear: none;
    width: 110px;
    border-radius: 0;
    color: black;
}

div.source-switch em.end {
    border-radius: 0 3px 3px 0;
    margin-right: 0;
}

div.source-switch span:hover {
    background-color: #CCC;
    border-color: #AAA;
}

div.source-switch span.visible {
    border-color: #333;
}

div.source-switch a {
    display: none !important;
}

/*.mailing-customer-details {*/
    /*width: 35%;*/
    /*padding: 0;*/
/*}*/

/*.mailing-customer-details dt, .mailing-customer-details dd, .mailing-customer-details button, .mailing-customer-details .fancy-select {*/
    /*font-size: 11px !important;*/
/*}*/

/*.mailing-job-details {*/
    /*padding: 0 10px;*/
/*}*/

/*.mailing-cost-summary {*/
    /*width: 300px;*/
    /*padding: 0;*/
/*}*/

/*.mailing-job-details dt {*/
    /*font-size: 11px;*/
/*}*/

/*.mailing-item-form label {*/
    /*font-weight: bold;*/
/*}*/

/*.mailing-item-form table {*/
    /*display: inline-block;*/
/*}*/

table.valign-middle td {
    vertical-align: middle;
}

.form-table th, .form-table td {
    font-size: 12px;
}

.form-table th {
    font-weight: bold;
    padding-right: 5px;
    text-align: right;
}

.form-table th.title, .form-table tr.title th {
    text-align: center;
    background-color: #CCC;
}

ul.submenu {
    list-style-type: none;
    padding: 0;
    margin: 5px 0 5px 0;
}

ul.submenu li {
    display: inline-block;
    margin-right: 5px;
}

ul.submenu a {
    display: block;
    background-color: #e8e8e8;
    padding: 3px 8px;
    color: #333333;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    text-decoration: none;
}

ul.submenu a:hover, ul.submenu a.selected {
    display: block;
    background-color: #FFFFFF;
    padding: 3px 8px;
    color: #333333;
    border: 1px solid #696969;
    border-radius: 3px;
}

ul.submenu a.selected {
    font-weight: bold;
}

#change-job-quantity-dialog div div {
    text-align: center;
    font-size: 12px;
}

#change-job-quantity-dialog p {
    margin: 0;
    padding: 0;
}

#change-job-quantity-dialog div div div {
    text-align: left;
    font-size: 12px;
    border: none;
}

#quantity-change-preview-text li {
    text-align: left;
    font-size: 12px;
}

#quantity-change-preview-text h4, #quantity-change-preview-text ul {
    margin-bottom: 5px;
}

input.readonly, textarea.readonly, select.readonly {
    background-color: #ebebe4;
    color: #545454;
}

tr.grey-row td {
    background-color: #e1e1e1;
}

tr.green-row td {
    background-color: #AFF5AD;
}

tr.amber-row td {
    background-color: #FBDB7B;
}

tr.red-row td {
    background-color: #FFAEAE;
}

span.grey-back, span.green-back, span.amber-back, span.red-back {
    padding: 1px 3px;
}

span.grey-back {
    border: 1px solid #cfcfcf;
    background-color: #e1e1e1;
}

span.green-back {
    border: 1px solid #9ad798;
    background-color: #AFF5AD;
}

span.amber-back {
    border: 1px solid #d1b568;
    background-color: #FBDB7B;
}

span.red-back {
    border: 1px solid #d89393;
    background-color: #FFAEAE;
}

.mailing-process-summary {
    border-collapse: collapse;
}

.mailing-process-summary td {
    border: none;
}

.mailing-process-summary span {
    margin: 2px;
}

.mailing-process-summary .divider {
    padding: 0;
}

.mailing-process-summary .divider b {
    width: 10px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.mailing-process-summary .divider i {
    width: 10px;
    height: 1px;
    background-color: black;
    display: inline-block;
    vertical-align: middle;
}

.mailing-process-summary-row > td {
    padding: 15px 5px;
}

#tooltip {
    position: absolute;
    display: none;
    border: 1px solid #999;
    border-radius: 0 3px 3px 3px;
}

#tooltip span {
    display: block;
    border-radius: 0 3px 0 0;
    background-color: #EEE;
}

#tooltip > div {
    background-color: #EEE;
    border-radius: 0 0 3px 3px;
    padding: 3px 6px;
}

#tooltip:hover, #tooltip.hover {
    display: block;
}

tr.totals td {
    background-color: #cde2f1;
    color: #000;
}

.error-tooltip {
    background: url(/images/icons/exclamation.png) no-repeat right;
    padding-right: 18px;
    text-decoration: none !important;
}

.error-tooltip-display {
    position: absolute;
    background-color: #eeeeee;
    color: #000000;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 3px 3px 1px;
    border-radius: 0 5px 5px;
    padding: 10px 15px;
    margin: 5px 0 0 20px;
}

.pinned .error-tooltip-display {
    padding: 10px 10px 10px 15px;
    line-height: 20px;
}

.pinned .error-tooltip-display:after {
    content: '×';
    font-size: 18px;
    display: block;
    float: right;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 0 5px;
    color: #999;
    margin-left: 10px;
}

/* TA UPDATES */

.ta-summary-scrollable {
    overflow-y: scroll;
    height: 418px;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.society-list tr {
    cursor: pointer;
}

/* Utility Classes */

.u-no-padding {
    padding: 0;
}

.u-no-marg {
    margin-bottom: 0;
}

/*---- Nav Tabs ----*/

.nav-tabs {
    list-style: none;
    margin: 0 0 10px 0;
    padding-left: 0;
}

.nav-tabs > li {
    position: relative;
    display: block;
    float: left;
    margin-right: 2px;
    margin-bottom: -1px;
}

.nav-tabs > li.selected > a {
    color: #000000;
    cursor: default;
    background: white;
    border-top: 1px solid #BBBBBB;
    border-right: 1px solid #BBBBBB;
    border-left: 1px solid #BBBBBB;
    border-bottom-color: transparent;
}

.nav-tabs > li.selected > a:hover {
    background: white;
}

.nav-tabs > li > a {
    display: block;
    background: #e3e3e3;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
    border: 1px solid #BBBBBB;
    font-size: 14px;
    color: #000000;
}

.nav-tabs > li > a:hover {
    text-decoration: none;
    background: #cecece;
}

.tab-content {
    padding: 16px;
    border: 1px solid #BBBBBB;
}

/*-- Fixed options bar at bottom of screen --*/

.c-options-bar {
    box-sizing: border-box;
    display: block;
    background: #37424F;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 80px;
    padding: 24px;
    color: white;
    font-size: 13px;
}

.c-options-bar p {
    padding: 0;
}

.c-options-bar__count {
    font-size: 15px;
    float: left;
}

.c-options-bar__options {
    float: right;
}

.c-count-number {
    background: #e3e3e3;
    color: #37424F;
    font-weight: bold;
    border-radius: 4px;
    padding: 6px 10px;
}

.c-button-icon {
    position: relative;
    top: 3px;
    height: 16px;
}

.option-splitter {
    margin: 0 4px;
}

.c-options-bar.hidden {
    display: none;
}

/* Rookie Instructor List -------------------------------- */

.rookie-panel {
    overflow-x: hidden;
}

.registration-details-list .standard-form {
    background-color: #f0f0f0;
    background-image: -moz-linear-gradient(center bottom, rgb(245, 245, 245) 0%, rgb(254, 253, 253) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(245, 245, 245)), color-stop(1, rgb(254, 253, 253)));
    border: 1px solid #dedbdb;
    margin-bottom: 5px;
}

.registration-details-list .standard-form fieldset, .standard-form .inner {
    padding: 10px;
    display: block;
}

.registration-details-list .standard-form ul {
    display: block;
    margin: 0;
    padding: 0;
}

.registration-details-list .standard-form .field-label {
    margin: 0 0 5px 0;
}

.registration-details-list .standard-form .fields {
    margin: 0 0 5px 0;
}

.registration-details-list .standard-form .inline .field-label {
    float: left;
    width: 30%;
    border-top: 1px dotted #ccc;
    text-align: right;
    padding: 9px 2% 0 0;
    clear: both;
    display: inline-block;
    margin: 0 0 9px 0;
}

.registration-details-list .standard-form .inline .fields {
    float: left;
    width: 68%;
    border-top: 1px dotted #ccc;
    padding: 9px 0 0 0;
    display: inline-block;
    line-height: 1em;
    margin: 0 0 9px 0;
}

.registration-details-list .standard-form .inline > .fields:first-of-type,
.registration-details-list .standard-form .inline > .field-label:first-of-type {
    border: 0;
    padding-top: 0;
}

.registration-details-list .standard-form .inline.border-first > .fields:first-of-type {
    border-top: 1px dotted #ccc !important;
    padding-top: 9px !important;
}

.registration-details-list .standard-form .inline.border-first > .field-label:first-of-type {
    border-top: 1px dotted #ccc !important;
    padding-top: 9px !important;
}

.registration-details-list .standard-form .information .field-label {
    float: left;
    width: 30%;
    border-top: 1px dotted #ccc;
    text-align: right;
    padding: 3px 10px 3px 0;
    clear: both;
    display: inline-block;
    margin: 0 0 0 0;
    font-size: 1.1em;
    color: #777;
    min-height: 18px;
}

.registration-details-list .standard-form .information .fields {
    float: left;
    width: 62%;
    border-top: 1px dotted #ccc;
    padding: 3px 0 3px 10px;
    display: inline-block;
    margin: 0 0 0 0;
    border-left: 1px dotted #ccc;
    font-size: 1.1em;
    color: #111;
    min-height: 18px;
}

.registration-details-list .standard-form .inline-inputs {
    padding-left: 32%;
    margin-bottom: 15px;
    border-top: 1px dotted #ccc;
    padding-top: 10px;
}

.registration-details-list .standard-form .inline-inputs input {
    display: inline-block;
    margin: 0;
    padding: 0 10px 0 0;
}

.registration-details-list .standard-form .inline-inputs label {
    font-size: 1.1em;
}

.registration-details-list .standard-form .buttons {
    border-top: 1px dotted #ccc;
    padding-left: 32%;
    padding-top: 10px;
}

.registration-details-list .standard-form .title {
    margin: -1px;
    border-radius: 5px 5px 0 0;
    background-color: #2b4872;
    background-image: -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
    border: 1px solid #2b4872;
}

.registration-details-list .standard-form .title h3 {
    padding: 5px 7px 5px 12px;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

/* Evidence Table -------------------------------- */

#evidence table {
    color: #333; /* Lighten up font color */
    font-family: Helvetica, Arial, sans-serif; /* Nicer font */
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

#evidence td, #evidence th {
    border: 1px solid #CCC;
    height: 30px;
}

/* Make cells a bit taller */

#evidence th {
    background-color: #2b4872;
    background-image: -moz-linear-gradient(center bottom, rgb(53, 76, 113) 0%, rgb(73, 96, 132) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(53, 76, 113)), color-stop(1, rgb(73, 96, 132)));
    border: 1px solid #2b4872;
    color: #fff;
    font-weight: bold; /* Make sure they're bold */
    padding-left: 10px;
}

#evidence td {
    background: #FAFAFA; /* Lighter grey background */
    padding-left: 10px;
}

.ta-update-filter {
    position: absolute;
    right: 0px;
    padding: 10px;
}

.ta-update-filter-label {
    font-size: 1.2em;
}

.ta-member-preview-recipient {
    font-weight: bold;
}

.c-messages-module {
    margin: -1px -4px -1px -8px;
}

.c-messages-module p {
    padding: 0;
}

.c-messages-module__header {
    padding: 16px;
    padding-top: 22px;
    position: relative;
}

.c-messages-module__header .c-module {
    padding-right: 130px;
}

.c-messages-module__body {
    padding: 0 16px;
}

.c-messages-header-details {
    padding-top: 10px;
}

.c-messages-header-details p {
    margin: 0;
}

.c-messages-header__details-item {
    padding: 0 10px;
    color: #828282;
    font-size: 11px;
}

.c-messages-header__details-item:first-child {
    padding-left: 0;
}

.c-module--message .c-module__body {
    padding: 2px 16px;
}

.c-module--note {
    background: #F6F2DD;
}

.c-module--note .c-module__header {
    border-bottom: 1px solid #E9E4C6;
}

.c-module--greenbox-reply {
    background: #DEECF5;
}

.c-module--greenbox-reply .c-module__header {
    border-bottom: 1px solid #C2D9EA;
}

.c-module--alt-reply {
    background: #EDEDED;
}

.c-module--alt-reply .c-module__header {
    border-bottom: 1px solid #E0E0E0;
}

.c-module__body {
    padding: 16px;
}

.c-module__header {
    border-bottom: 1px solid #cecece;
    padding: 16px;
}

.c-module__left {
    float: left;
    padding: 16px;
    width: 140px;
    position: absolute;
    top: 0;
    bottom: 0;
    border-right: 1px solid #cecece;
}

.c-module__right {
    float: left;
    padding: 16px;
    padding-left: 200px;
}

.c-module__right p:last-child {
    margin-bottom: 0;
}

.c-module--message {
    margin-bottom: 8px;
    position: relative;
}

.c-message-reply {
    padding: 16px 0;
    border-top: 1px solid #cecece;
}

.c-message-reply textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.c-reply-button {
    position: absolute;
    top: 16px;
    right: 20px;
}

/*-- TAG STYLES --*/

.c-tag {
    position: relative;
    background: #1880C4;
    border: 1px solid #0F5F93;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    margin-right: 4px;
    padding: 4px 28px 4px 8px;
    display: inline-block;
    line-height: 12px;
    overflow: hidden;
}

.c-tag__remove {
    border-left: 1px solid #0F5F93;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 3px 7px 3px 6px;
    cursor: pointer;
}

.c-tag__remove:before {
    content: "x";
    color: white;
}

.c-tag__remove:hover {
    background: #0F5F93;
}

/*-- AUTO-COMPLETE STYLES --*/

/*
.wrapper {
    margin: 20px auto;
    width: 400px;
}
#myAutocomplete {
    width: 100%;
}

*/

.c-tags-wrapper {
    margin-bottom: 10px;
}

.ui-autocomplete-multiselect.ui-state-default {
    display: block;
    background: #fff;
    border: 1px solid #ccc;
    padding: 3px 3px;
    padding-bottom: 0px;
    overflow: hidden;
    cursor: text;
    width: 550px;
    float: left;
    margin-right: 8px;
}

.ui-autocomplete-multiselect .ui-autocomplete-multiselect-item .ui-icon {
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    border-left: 1px solid #cecece;
    height: auto;
    background-position: -80px -125px;
    padding: 0px 0px 0px 2px;
}

.ui-autocomplete-multiselect .ui-autocomplete-multiselect-item {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 64px;
    padding: 2px 26px 2px 10px;
    margin-right: 2px;
    margin-bottom: 3px;
    color: #333;
    background-color: #f6f6f6;
    position: relative;
}

.ui-autocomplete-multiselect input {
    display: inline-block;
    border: none;
    outline: none;
    height: auto;
    margin: 2px;
    overflow: visible;
    margin-bottom: 5px;
    text-align: left;
    width: 60%;
}

.ui-autocomplete-multiselect.ui-state-active {
    outline: none;
    border: 1px solid #7ea4c7;
    -moz-box-shadow: 0 0 5px rgba(50, 150, 255, 0.5);
    -webkit-box-shadow: 0 0 5px rgba(50, 150, 255, 0.5);
    -khtml-box-shadow: 0 0 5px rgba(50, 150, 255, 0.5);
    box-shadow: 0 0 5px rgba(50, 150, 255, 0.5);
}

.ui-autocomplete {
    border-radius: 4px;
    background: white;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid #cecece;
    overflow: auto;
    max-height: 200px;
    list-style: none;
}

.ui-menu-item {
    border-bottom: 1px solid #e3e3e3;
    text-align: left;
}

.ui-menu-item a {
    padding: 8px !important;
    display: block;
}

.ui-menu-item a:hover {
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
    border-radius: 0;
}

.search-tag-panel.hide {
    display: none;
}

.remove-tags-panel.hide {
    display: none;
}

.c-tag--table-cell {
    line-height: 11px;
}

.c-batch-tags .c-tags-wrapper {
    padding: 10px;
}

.c-batch-tags .c-remove-tags-wrapper {
    padding: 10px;
}

.c-batch-tags.standard-panel.rounded.hide {
    display: none;
}

.website-contact.count {
    font-size: 14px;
}

.full-text.hidden {
    display: none;
}

.morelink {
    display: block;
}

.marketplace-no-stock {
    background-color: #ffa500 !important;
}

.default-printer-pin {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/images/icons/pin.png) no-repeat;
    cursor: pointer;
}

.default-printer-pin.off {
    background-image: url(/images/icons/pin-off.png);
}

.debtor-total-column {
    width: 120px;
}

.paid-to-group-column {
    width: 80px;
    color: red;
}

td.gray-out {
    background-color: #efefef;
}

tr.total-cost-not-equal {
    background-color: #FFD9D9 !important;
}

tr.status-withdrawn {
    /*background-color: #FFD9D9 !important;*/
    background: repeating-linear-gradient(
            -55deg,
            rgba(255, 98, 89, 0.71),
            rgba(255, 98, 89, 0.71) 10px,
            #FFD9D9 10px,
            #FFD9D9 20px
    );
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.48);
    z-index: 10000;
}

.modal-overlay-popup {
    position: relative;
    margin: 0;
    border-radius: 11px;
    border: 1px solid #B6C1C9;
    background-color: #B6C1C9;
    width: 30%;
    height: 300px;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: -2px 5px 31px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: -2px 5px 31px 0px rgba(0, 0, 0, 1);
    box-shadow: -2px 5px 31px 0px rgba(0, 0, 0, 1);
}

.plaque-input {
    width: 100%;
    box-sizing: border-box;
}

.align-left { text-align: left; }
.align-right { text-align: right; }

.form--mini {
    display: flex;
}

.form--mini__input input {
    box-sizing: border-box;
    width: 150px;
}

/* Overrides for SCSS */
.c-options .custom-button.green {
    background-image: none !important;
    color: #666 !important;
    text-shadow: 0 0 0 transparent !important;
    border-radius: 0;
    border: 0;
}

.c-options .custom-button.green:hover {
    background-color: #eee !important;
}

.c-bolt-on:hover .c-bolt-on--details {
    display: block;
}

.c-bolt-on {
    position: relative;
}

.c-bolt-on--details {
    border:1px solid #c1c1c1;
    padding: 16px;
    display: none;
    position: absolute;
    background-color: white;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 1px 3px  rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    width: 150px;
}

.c-bolt-on--details ul {
    list-style: circle;
    margin-bottom: 0;
}

.c-bolt-on--details h3 {
    margin-bottom: 4px;
}


/* Notes */

.c-notes__divider {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    height: 0;
    background: transparent;
}

.c-notes__header {
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.1em;
    opacity: 0.6;
    padding-left: 96px;
    text-transform: uppercase;
}

.c-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.c-notes__item {
    margin-bottom: 16px;
    display: flex;
}

.c-note__date {
    width: 80px;
    margin-right: 16px;
    position:relative;
}

.c-note__date b {
    display: block;
    padding-top: 9px;
}

.c-note {
    background-color: rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex: 1;
    padding: 8px;
}

.c-notes.are-pinned .c-note {
    background-color: rgba(52, 148, 255, 0.1);
}

.c-note__header {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 4px;
    overflow: auto;
    padding-bottom: 4px;
}

.c-note__option {
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    display: inline-block;
    float: right;
    font-size: 0.9em;
    vertical-align: middle;
}

.c-note__option + .c-note__option {
    margin-right: 16px;
}

.c-note__option:hover {
    color: #3e95f5;
}

.c-note__option:after {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
}

.c-note__option:hover:after {
    border-color: #3e95f5;
}

.c-note__option:active:after {
    background-color: #3e95f5;
}

.c-note__option.is-selected {
    color: #3e95f5;
}

.c-note__option.is-selected:after {
    background:url("/images/icons/check.png") #3e95f5 no-repeat center;
    background-size: contain;
    border-color: #3e95f5;
    color: white;
}

.c-note__option.c-note__option--pin.is-selected:after {
    background-image:url("/images/icons/pinned.png");
}

.c-note__readmore {
    color: #3e95f5;
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 8px;
}

.c-note__readmore:after {
    content: "Read more";
}

.c-note__body {
    transition: 0.5s;
}

.c-note__toggle {
    position: absolute;
    top: 0;
    visibility: hidden;
}

.c-note__toggle:checked ~ .c-note__body {
    max-height: 500px;
    overflow: auto;
}

.c-note__toggle:checked ~ .c-note__readmore:after {
    content: "Read less";
}

.c-tab-stock-availability .c-tabs {
    background-color: #eee;
    padding: 12px 12px 0 12px;
    border-bottom: 1px solid #aaa;
    display: block;
    font-size: 0;
    position: relative;
}

.c-tab-stock-availability .c-tabs, .c-tabs * {
    box-sizing: border-box;
}

.c-tab-stock-availability .c-tabs li {
    border-bottom: 0;
    display: inline-block;
    font-size: 12px;
    vertical-align: top;
}

.c-tab-stock-availability .c-tabs li span,
.c-tab-stock-availability .c-tabs li label {
    bottom: -1px;
    display: block;
    line-height: 28px;
    padding: 0 12px;
    position: relative;
}

.c-tab-stock-availability .c-tabs li span {
    padding-left: 0;
}

.c-tab-stock-availability .c-tabs li label {
    background-color: #eee;
    border: 1px solid transparent;
    border-bottom-color: #aaa;
    color: #333;
    font-size: 1em;
}

.c-tab-stock-availability .c-tabs li input[type="radio"] {
    position: absolute;
    left: -9999px;
}

.c-tab-stock-availability .c-tabs li input[type="radio"]:checked + label {
    background-color: #f9f9f9;
    border-color: #aaa;
    border-bottom-color: #f9f9f9;
}

.c-tab-stock-availability .c-tab-block {
    background-color: #eee;
    margin: -12px;
    padding: 12px 12px 24px 12px;
}

.c-tab-stock-availability .c-tab-block__content {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-top: 0;
    padding: 26px;
}

ul.u-clean-list {
    margin-left: 0;
}

.u-fill-white {
    background-color: white;
}

.u-fill-shade {
    background-color: rgba(0, 0, 0, 0.06);
}

.status-authorised {
    background: #0ED21F;
}

.u-fade {
    opacity: 0.6;
}

.u-inline-block {
    display: inline-block;
}

.u-block {
    display: block;
}

.u-va-middle {
    vertical-align: middle;
}

.u-margin-right {
    margin-right: 8px;
}

.u-pill-small {
    background: #666;
    border-radius: 4px;
    padding: 2px 8px;
    color: white;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.u-pill-round {
    background: #eee;
    border-radius: 100px;
    line-height: 23px;
    min-width: 23px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    position: relative;
}

.u-inline-flex {
    display: inline-flex !important;
}

.u-nowrap {
    white-space: nowrap;
}

.c-tab-container {
    border: 1px solid #999;
    padding: 16px;
    background-color: #ffffff;
    z-index: -1;
}

.o-flex--end {
    justify-content: flex-end;
}

/*
 * Add a subtle animation attached to the .event-processing class
 */
.event-processing:before, .ajax-in-progress:before {
    content: '';
    height: 3px;
    background-color: #f5c739;
    display: block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 0%;
    z-index: 8000;
    animation: event-processing-animation 1.5s infinite; }

@keyframes event-processing-animation {
    0% {
        width: 0%; }
    100% {
        width: 100%; } }
