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

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

[hidden],
template {
  display: none;
}

a {
  background: transparent;
}

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

b,
strong {
  font-weight: bold;
}

img {
  border: 0;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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

/*td,*/
/*th {*/
  /*padding: 0;*/
/*}*/

.reset * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: 0;
}

:invalid {
  box-shadow: none;
}

:-moz-submit-invalid {
  box-shadow: none;
}

:-moz-ui-invalid {
  box-shadow:none;
}

.hidden {
    display: none;
}

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

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

.text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.block {
    display: block;
    width: 100%;
}

.width-full {
    width: 100%;
}

.relative {
    position: relative;
}

a {
    text-decoration: none;
}


.reset * {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    vertical-align:baseline;
    border-radius: 0;
    resize: none;
    border-spacing: 0;
}

li {
    list-style: none;
}

a,
button,
[role~=button],
[role$=Button],
[role~=tab],
[role$=Tab],
input[type=button],
input[type=reset],
input[type=submit] {
    cursor: pointer;
    user-select: none;
}

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

.transitioned {
    animation: 0.75s linear both;
    transition: ease 0.75s;
}


input::-ms-clear {
    display: none;
}

.transparent {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
   opacity: 0;
}

html, body { height: 100%; margin: 0px; padding: 0px }
body { overflow: hidden; }
body.popup { overflow: auto; background-image: url(/backend/asset?name=image/content_frame_bg.png) }
body.popup_print, body.print { overflow: auto }
input, table, form, select, textarea, button, optgroup { margin: 0px; }
body, input, table, form, select, textarea, button, optgroup { font-family: Verdana, "Lucida Grande", sans, sans-serif, Arial, Helvetica; font-size: 11px; }
img { vertical-align: top; border-width: 0px; }
fieldset { border: 1px gray solid; padding: 6px; }
legend { font-size: 11px; font-weight: bold; color: black; }
label { cursor: pointer; margin: 0px 10px 0px 0px; vertical-align: baseline; padding: 0px; }
label input { vertical-align: baseline; margin-right: 4px }
img.button, [role=button] { cursor: pointer }

.qd-grid:before,
.qd-grid:after {
  content: " ";
  display: table;
}

.qd-grid:after {
  clear: both;
}

.qd-grid.gutter-10 > [class*="col-"],
.qd-grid.gutter-10 > [class~=col] {
    padding-left: 10px;
}

.qd-grid.gutter-10 { margin-left: -10px; }


.qd-grid.gutter-15 > [class*="col-"],
.qd-grid.gutter-15 > [class~=col] {
    padding-right: 15px;
}

.qd-grid.gutter-20 > [class*="col-"],
.qd-grid.gutter-20 > [class~=col] {
    padding-left: 20px;
}

.qd-grid.gutter-20 { margin-left: -20px; }

.qd-grid.gutter-30 > [class*="col-"],
.qd-grid.gutter-30 > [class~=col] {
    padding-left: 30px;
}

.qd-grid.gutter-30 { margin-left: -30px; }

.qd-grid.gutter-40 > [class*="col-"],
.qd-grid.gutter-40 > [class~=col] {
    padding-left: 40px;
}

.qd-grid.gutter-40 { margin-left: -40px; }

.qd-grid [class*="col-"],
.qd-grid [class~=col] {
  float: left;
  min-height: 1px;
}

.qd-grid.right [class*="col-"],
.qd-grid.right [class~=col],
.qd-grid [class~=col].right,
.qd-grid [class*="col-"].right {
  float: right;
}

.qd-grid [class*="push-"],
.qd-grid [class*="pull-"] {
  position: relative;
}

/* col */

.qd-grid .col-full,
.qd-grid .col-1-1 {
    width: 100%;
}

.qd-grid .col-1-2 { width: 50%; }

.qd-grid .col-1-3 { width: 33.3333333333%; }
.qd-grid .col-2-3 { width: 66.6666666666%; }

.qd-grid .col-1-4 { width: 25%; }
.qd-grid .col-2-4 { width: 50%; }
.qd-grid .col-3-4 { width: 75%; }

.qd-grid .col-1-5 { width: 20%; }
.qd-grid .col-2-5 { width: 40%; }
.qd-grid .col-3-5 { width: 60%; }
.qd-grid .col-4-5 { width: 80%; }


.qd-grid .col-1-10 { width: 10%; }
.qd-grid .col-2-10 { width: 20%; }
.qd-grid .col-3-10 { width: 30%; }
.qd-grid .col-4-10 { width: 40%; }
.qd-grid .col-5-10 { width: 50%; }
.qd-grid .col-6-10 { width: 60%; }
.qd-grid .col-7-10 { width: 70%; }
.qd-grid .col-8-10 { width: 80%; }
.qd-grid .col-9-10 { width: 90%; }

.qd-grid .col-5-100 { width: 5%; }
.qd-grid .col-15-100 { width: 15%; }
.qd-grid .col-25-100 { width: 25%; }
.qd-grid .col-35-100 { width: 35%; }
.qd-grid .col-45-100 { width: 45%; }
.qd-grid .col-55-100 { width: 55%; }
.qd-grid .col-65-100 { width: 65%; }
.qd-grid .col-75-100 { width: 75%; }
.qd-grid .col-85-100 { width: 85%; }
.qd-grid .col-95-100 { width: 95%; }

/* push */

.qd-grid .push-1-2 { left: 50%; }

.qd-grid .push-1-3 { left: 33.3333333333%; }
.qd-grid .push-2-3 { left: 66.6666666666%; }

.qd-grid .push-1-4 { left: 25%; }
.qd-grid .push-2-4 { left: 50%; }
.qd-grid .push-3-4 { left: 75%; }

.qd-grid .push-1-5 { left: 20%; }
.qd-grid .push-2-5 { left: 40%; }
.qd-grid .push-3-5 { left: 60%; }
.qd-grid .push-4-5 { left: 80%; }


.qd-grid .push-1-10 { left: 10%; }
.qd-grid .push-2-10 { left: 20%; }
.qd-grid .push-3-10 { left: 30%; }
.qd-grid .push-4-10 { left: 40%; }
.qd-grid .push-5-10 { left: 50%; }
.qd-grid .push-6-10 { left: 60%; }
.qd-grid .push-7-10 { left: 70%; }
.qd-grid .push-8-10 { left: 80%; }
.qd-grid .push-9-10 { left: 90%; }


/* pull */

.qd-grid .pull-1-2 { left: -50%; }

.qd-grid .pull-1-3 { left: -33.3333333333%; }
.qd-grid .pull-2-3 { left: -66.6666666666%; }

.qd-grid .pull-1-4 { left: -25%; }
.qd-grid .pull-2-4 { left: -50%; }
.qd-grid .pull-3-4 { left: -75%; }

.qd-grid .pull-1-5 { left: -20%; }
.qd-grid .pull-2-5 { left: -40%; }
.qd-grid .pull-3-5 { left: -60%; }
.qd-grid .pull-4-5 { left: -80%; }


.qd-grid .pull-1-10 { left: -10%; }
.qd-grid .pull-2-10 { left: -20%; }
.qd-grid .pull-3-10 { left: -30%; }
.qd-grid .pull-4-10 { left: -40%; }
.qd-grid .pull-5-10 { left: -50%; }
.qd-grid .pull-6-10 { left: -60%; }
.qd-grid .pull-7-10 { left: -70%; }
.qd-grid .pull-8-10 { left: -80%; }
.qd-grid .pull-9-10 { left: -90%; }


.pre-wrap { font-family: verdana, sans-serif;
    text-align: left;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    font-size: 11px;
}
/*
 * jQuery ui
 */
.ui-datepicker-trigger { margin: 2px 0px 0px 2px; cursor: pointer }
#tabs .ui-tabs-panel { padding: 10px; position: relative; border: 1px solid #999; min-height: 10em; background-image: url(/backend/asset?name=image/content_frame_bg.png) }
#tabs .ui-state-disabled { visibility: hidden }
.system-message { z-index: 1000; padding: 8px  }
.system-message .ui-icon { float: left; margin-right: 10px }

.nowrap { white-space: nowrap }
.hidden { display: none }
.exception { border: 1px solid red; background-color: #ffeeee; width: 200px; margin: auto; margin-top: 20px; padding: 8px; height: 32px }
.exception .message { float: left; font-weight: bold; clear: right; margin-top: 6px }
.exception .icon { background-image: url(/backend/asset?name=image/error.gif); width: 32px; height: 32px; float: left; margin-right: 10px }
.error { border: 1px solid red }
.title { font-size: 14px; color: #915044; font-style: italic; font-weight: bold; padding-bottom: 8px }
form .title { padding: 8px }
.align-right { text-align: right }
.align-left { text-align: left }
.align-center{ text-align: center }
.font-bold { font-weight: bold }
.font-italic { font-style: italic }
.font-s { font-size: 12px }
.font-l { font-size: 14px }
.link { color: blue !important; text-decoration: none }
.link-selected { color: blue; font-weight: bold; text-decoration: none }
.link:hover, .link-selected:hover { text-decoration: underline }
.cursor-pointer { cursor: pointer }
.padding-tb-s { padding: 4px 0px }
.padding-tb-l { padding: 8px 0px }
.padding-s { padding: 4px }
.padding-l { padding: 8px }
.padding-top-s { padding-top: 4px }
.padding-top-l { padding-top: 8px }
.padding-bottom-s { padding-bottom: 4px }
.padding-bottom-l { padding-bottom: 8px }
.padding-left-l { padding-left: 8px }
.padding-left-xl { padding-left: 16px }
.margin-tb-s { margin: 4px 0px }
.margin-tb-l { margin: 8px 0px }
.margin-top-s { margin-top: 4px }
.margin-top-l { margin-top: 8px }
.margin-bottom-s { margin-bottom: 4px }
.margin-bottom-l { margin-bottom: 8px }
.margin-left-s { margin-left: 4px }
.margin-left-l { margin-left: 8px }
.margin-left-xl { margin-left: 16px }
.margin-right-l { margin-right: 8px }
.margin-right-xl { margin-right: 16px }
.float-left { float: left }
.float-right { float: right }
.float-right-container div { float: right }
.clear { clear: both }
.clear-right { clear: right }
.clear-left { clear: left }
.width-full { width: 100% }
.center { margin-left: auto !important; margin-right: auto !important; }
.highlight-0 { background-color: #ffff77 }
.highlight-1 { background-color: #c3fffe }
.highlight-2 { background-color: #99ff99 }
.highlight-3 { background-color: #ff9999 }
.data { display: none; }

.pager { border-width: 1px 0px; border-style: solid; border-color: black }
.pager .nav { border-width: 0px 1px 0px 1px; border-style: solid; border-color: black; background-color: #bdcddc; padding: 4px }
.pager .nav .status { float: left; width: 33% }
.pager .nav .limits { float: left; text-align: center; width: 33% }
.pager .nav .limits .current { font-weight: bold }
.pager .nav .limits a { text-decoration: none; color: blue }
.pager .nav .pages { text-align: right }
.pager .nav .pages * { margin-left: 4px }
.pager .nav .pages a { text-decoration: none; color: blue }
.pager .nav .pages .jump { font-style: italic }
.pager .nav .pages .current { font-weight: bold }
.pager .table, .index { width: 100%; border-width: 0px; background-color: white; border-collapse: collapse; }
.pager .table td, .index td { border: 1px solid black; padding: 3px; }
.pager .table th, .index th { border: 1px solid black; padding: 2px; }
.pager .table tbody { background: white !important; }
.pager .header th { white-space: nowrap; background: transparent url(/backend/asset?name=image/pager-header.png) top left repeat-x !important }
.pager .header th a { text-decoration: none; color: black }
.pager .header th.sort, .index th { background: transparent url(/backend/asset?name=image/pager-header-sort.png) top left repeat-x !important; }
.pager .header img.asc { width: 16px; height: 16px; background: transparent url(/backend/asset?name=image/asc.png) center center no-repeat !important; margin: 0px }
.pager .header img.desc { width: 16px; height: 16px; background: transparent url(/backend/asset?name=image/desc.png) center center no-repeat !important; margin: 0px }
table .row-e td { background-color: #e8e8e8; }

.input-column { float: left; width: 300px }

input.active-input {
    background-color: #ffcddc !important;
    border: 0px;
    padding: 0px 5px;
    text-align: right;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 11px;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    margin: 0px !important;
}

th.active-input,
td.active-input {
    padding: 0px !important;
    background: #ffcddc !important;
}



.autocomplete { position: absolute; width: 300px; background-color: white; border: 1px solid gray; z-index: 1000 }
.autocomplete ul { padding-left: 0; margin: 0; list-style: none; overflow: hidden }
.autocomplete ul li { padding: 2px 10px; cursor: pointer; color: #303030; white-space: nowrap }
.autocomplete .sel { background: #1542ac; color: white; }
.autocomplete .match { font-weight: bold }
.matrix { clear: both; margin: 8px 0px; }
.matrix .column { float: left }


form .column { float: left; margin: 0px 10px 10px 10px }
form .section-title { font-size: 12px; font-weight: bold; margin: 14px 0px 6px 0px; clear: both }
form .section-control { cursor: pointer; margin: 14px 0px 6px 0px; float: right }
form .row, form .record { clear: both; margin-top: 4px }
form .label { float: left; margin-top: 4px; margin-right: 4px; clear: both }
form .float-label { float: left; margin: 3px 4px }
form .field { float: left; margin-right: 4px }
form .hint { font-size: 8px; padding-bottom: 2px }
form .country select { width: 100px }
form .control { cursor: pointer; margin-right: 4px; margin-top: 2px }
form .record .control { visibility: hidden }

#tabs form.edit-true .action .delete { position: absolute; bottom: -12px; left: 20px; width: 23px; height: 23px; background-image: url(/backend/asset?name=image/buttons/minus_23.png) }
#tabs form .action .cancel { position: absolute; bottom: -12px; right: 20px; width: 23px; height: 23px; background-image: url(/backend/asset?name=image/rps/cancel.png) }
#tabs form .action .submit { position: absolute; bottom: -12px; right: 53px; width: 23px; height: 23px; background-image: url(/backend/asset?name=image/rps/submit.png)}

.popup form .action { clear: both; margin: 0px 50px 20px 50px; padding-top: 10px }
.popup form .action .control { margin-right: 10px }
.popup form.edit-true .action .delete { width: 96px; height: 27px; background-image: url(/backend/asset?name=image/buttons/button_delete.png) }
.popup form .action .cancel { float: right; width: 96px; height: 27px; background-image: url(/backend/asset?name=image/buttons/button_cancel.png) }
.popup form .action .submit { float: right; width: 96px; height: 27px; background-image: url(/backend/asset?name=image/buttons/button_submit.png)}

/*
 * client form
 */
form.client .contact .label, form.client .address .label, form.client .phones .label { margin-top: 14px; width: 70px; text-align: right }
form.client .emails .label, form.client .status .label, form.client .webs .label { margin-top: 4px; width: 70px; text-align: right }
form.client .phones .control { margin-top: 14px }
form.client .matrix .row { margin-top: 2px }
form.client .matrix .column { margin: 0 }
form.client .status .field { padding-bottom: 5px }


/*
 * proposal form
 */
.hide-on-lock[data-locked=t] { display: none }
form.proposal .basicinfo [role=lockButton] { cursor: pointer; background-size: cover; margin-top: -2px; width: 22px; height: 22px; float: right; background-image: url(/backend/asset?name=image/rps/lock.png); position: relative; z-index: 200 }
form.proposal[data-locked=t] .basicinfo [role=lockButton] { background-position-x: 100%; }

form.proposal[data-locked=t] > [role=container] { border: 1px solid #915044; border-radius: 4px; }
form.proposal [role=lockWarning] { display: none }
form.proposal[data-locked=t] [role=lockWarning] { background: #bc330f; color: white; font-size: 14px; padding: 18px; border-radius: 4px; display: block; margin: 10px 0; font-weight: bold }
form.proposal[data-locked=t] section { position: relative; user-select: none !important; }
form.proposal[data-locked=t] section:before { content: ""; position: absolute; width: 100%; height: 100%; z-index: 100 }
form.proposal[data-locked=t] .action { display: none; }

form.proposal .basicinfo .label { width: 60px; text-align: right }
form.proposal .basicinfo .client .label { margin-top: 24px } 
form.proposal .basicinfo .type select { width: 150px } 
form.proposal .lomaxproject select { width: 210px }
form.proposal .indent { margin-left: 20px }
form.proposal .group-label { margin-top: 0px; float: left; margin-right: 4px }
form.proposal .float-label { float: left; margin: 4px 2px }
form.proposal .float-right-label { float: right; margin: 4px 2px }

form.proposal .readydates .label { width: 150px; text-align: right }
form.proposal .audition .label { margin-left: 30px }

form.proposal .events .control { margin-right: 0 }
form.proposal .events .startenddates { width: 290px }
form.proposal .events .finalizeddate { width: 180px }

form.proposal .lognote img { width: 16px; height: 16px }
form.proposal .scope .longleadtour { width: 220px }
form.proposal .budget .total { margin-left: 50px }
form.proposal .fees .type { width: 90px }
form.proposal .fees .amount { width: 70px }
form.proposal .fees .due { width: 80px }
form.proposal .budget .expenses .label { width: 110px; text-align: right }
form.proposal .budget .otherexpense .label { width: 110px; margin-top: 0px }
form.proposal .budget .otherexpense .desc { float: left; margin-right: 4px }
form.proposal .budget .otherexpense .desc input { width: 104px; text-align: right }
form.proposal .budget .otherexpense .amount input { text-align: right }

/*form.proposal select[name=status],*/
/*form.proposal select[name=department] {*/
    /*width: 214px;*/
    /*margin-bottom: 6px*/
/*}*/

form.proposal select[name=wavetype] {
    margin-right: 10px;
}

form.proposal [role=button][data-action=addClient] { padding-right: 24px }

/*
 * tabs
 */
.ytab-strip em { background: none }
.ytab-strip a {
    border: 1px solid #999999;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(216,216,216,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(216,216,216,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8d8d8',GradientType=0 ); /* IE6-9 */
}

.on .tabber-action-tab-1 {
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(196,164,155,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(196,164,155,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(196,164,155,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(196,164,155,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(196,164,155,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(196,164,155,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c4a49b',GradientType=0 ); /* IE6-9 */
}

.on .tabber-action-tab-2 {
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(217,205,128,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(217,205,128,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(217,205,128,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(217,205,128,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(217,205,128,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(217,205,128,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d9cd80',GradientType=0 ); /* IE6-9 */
}

.on .tabber-action-tab-3 {
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(188,211,162,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(188,211,162,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(188,211,162,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(188,211,162,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(188,211,162,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(188,211,162,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#bcd3a2',GradientType=0 ); /* IE6-9 */
}

.on .tabber-action-tab-4{
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(177,200,212,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(177,200,212,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(177,200,212,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(177,200,212,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(177,200,212,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(177,200,212,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b1c8d4',GradientType=0 ); /* IE6-9 */
}


.on .tabber-action-tab-5 {
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(137,106,220,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(137,106,220,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(137,106,220,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(137,106,220,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(137,106,220,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(137,106,220,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#896adc',GradientType=0 ); /* IE6-9 */
}

/*
 * proposal log
 */
.proposal-log { padding: 8px }
.proposal-log .pager { border: 0px }
.proposal-log select { width: 150px; margin-right: 10px }
.proposal-log .nav { text-align: right; margin: 0px 4px 8px 0px }
.proposal-log .action { padding: 8px; text-align: center }
.proposal-log .action .close { background: url(/backend/asset?name=image/buttons/close.png); width: 96px; height: 27px }


/*
 * proposal workflow
 */
.proposal-workflow .pager .table tbody td { position: relative }
.proposal-workflow[data-locked=t] .pager .table tbody td:after { content: ""; position: absolute; width: 100%; height: 100%; z-index: 100; top: 0; left: 0 }
.proposal-workflow th.id { font-size: 16px; padding: 0px; font-weight: normal; width: 10px }
.proposal-workflow th.points { width: 50px }
.proposal-workflow th.dollar { width: 70px }
.proposal-workflow th.weekof { width: 10px }
.proposal-workflow th.assigned { width: 150px }
.proposal-workflow td.points, .proposal-workflow td.dollars { text-align: right }
.proposal-workflow .summary { border-top: 1px solid black }
.proposal-workflow .total { font-weight: bold }
.proposal-workflow .assigned { color: red }

/*
 * home workflow
 */
.home-workflow .choice .dates { margin-left: 120px }
.home-workflow .index { background-color: transparent }
.home-workflow .index.monthly { font-size: 12px }
.home-workflow .index.monthly th { padding: 8px; min-width: 100px; }
.home-workflow .index.monthly th,
.home-workflow .index.monthly td {
    padding: 0px;
    text-align: left;
    white-space: nowrap;
    vertical-align: top;
}
.home-workflow select[name=department],
.home-workflow input {
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #6cac59;
}

.home-workflow .ui-datepicker-trigger {
    margin-top: 6px;
}

.home-workflow .index.monthly.dollars td { padding: 8px; text-align: right }
.home-workflow .index.monthly.dollars td.month { text-align: left }
.home-workflow .index.monthly th { padding: 8px; }
.home-workflow .index.monthly td.name { padding: 0 8px; vertical-align: middle }
.home-workflow .index.monthly.points .popup { text-align: left; position: absolute; }
.home-workflow .index.monthly.points div[id^=proposals] { padding: 8px }
.home-workflow .index.monthly.points td[data-status=under] { background: #F4CDCC; }
.home-workflow .index.monthly.points td[data-status=meet] { background: #D9EAD3; }
.home-workflow .index.monthly.points td[data-status=over] { background: #FFF2CC; }

.home-workflow input.hasDatepicker { text-align: center }
.home-workflow .controls { border: 0px; background-color: transparent }
.home-workflow tbody { background-color: white }
.home-workflow tbody td { text-align: center }
.home-workflow tbody td.align-left { text-align: left }
.home-workflow tbody td.project { text-align: left }
.home-workflow tbody tr.pub-total { background: #d3d6d2 }
.home-workflow tbody tr.pub-total .label { text-align: right }
.home-workflow tr.group-total th { background: transparent url(/backend/asset?name=image/pager-header.png) top left repeat-x !important; }
.home-workflow .goal input { font-size: 12px; text-align: right }
.home-workflow td.unchecked { color: red }
.home-workflow th.goal { width: 60px }
.home-workflow td, .home-workflow th { box-sizing: border-box; position: relative; height: 24px; padding: 6px }
.home-workflow .chart td[type] { border: none; white-space: nowrap; min-width: 100px; max-width: 100px; }
.home-workflow .chart td.project { border: none; padding-left: 20px; white-space: nowrap }
.home-workflow .chart .group-publicist th { border: none; border-top: 1px solid black; border-bottom: 1px solid black; }
.home-workflow .chart td[type] > div { position: absolute }
.home-workflow .chart td[type]:after, .home-workflow .chart td[type]:before { border: none; display: block; content: ""; background: #4caf50; position: absolute; }
.home-workflow .chart tr[data-priority-to-close=t] td[type]:after, .home-workflow .chart tr[data-priority-to-close=t] td[type]:before { background: #f44336; }
.home-workflow .chart td[type = "first"]:after,
.home-workflow .chart td[type = "last"]:after,
.home-workflow .chart td[type = "wip"]:after { left: 0; right: 0; height: 2px; }
.home-workflow .chart td[type = "first"]:before { top: 6px; left: 0; width: 0; height: 0; border: 7px solid transparent; border-left: 14px solid #4caf50; background: none }
.home-workflow .chart tr[data-priority-to-close=t] td[type = "first"]:before { border: 7px solid transparent; border-left: 14px solid #f44336; background: none; }
.home-workflow .chart td[type = "first"] div { position: absolute; border: 3px solid transparent; border-left: 6px solid white; left: 2px; top: 10px; z-index: 5 }
.home-workflow .chart td[type = "last"]:before { top: 1px; right: 0px; bottom: 1px; width: 2px; z-index: 5 }
.home-workflow .chart td[type = "avail"] > div.shape { border: 2px solid purple; left: 1px; right: 1px; bottom: 1px; top: 1px; text-overflow: ellipsis; overflow: hidden; padding: 2px 4px; font-weight: bold; padding: 2px 7px; color: #FF9800; }
.home-workflow .chart tr[data-next-step='Get Signature'] td[type = "avail"] > div.shape { border: 2px solid #4caf50; }
.home-workflow .chart tr[data-next-step='Winding Down'] td[type = "avail"] > div.shape { border: 2px solid #f44336; background: #f44336; }
.home-workflow .chart td[type = "avail"] { font-size: 10px; text-align: left; }
.home-workflow .chart tr.group-total th,
.home-workflow .chart tr.group-publicist th { text-align: left; padding-left: 4px }
.home-workflow .chart tr.group-total th { border-left: none; border-right: none; }
.home-workflow .index.monthly.points .popup,
.home-workflow .chart td[type=avail] .popup {
    box-sizing: border-box;
    display: none;
    border: 1px gray solid;
    padding: 6px;
    top: 100%;
    min-width: 100%;
    max-width: 200px;
    background: #ffffbe;
    z-index: 100;
    overflow: auto;
    left: 0;
    color: black;
}

.home-workflow .index.monthly.points .popup {
    max-width: none;
}

.home-workflow .index.monthly.points .popup a {
    font-weight: bold;
}

.home-workflow .chart td[type=avail] .popup h4 {
    margin: 8px 0;
}

.home-workflow .chart td[type=avail] .popup h4:first-child {
    margin-top: 0;
}

.home-workflow .chart td[type=avail] .popup a {
    display: block;
    margin: 2px 0px;
}

.home-workflow .chart select[name^=client_happiness] {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
}

.home-workflow .chart .end_date {
    text-align: right;
}

.home-workflow .chart.main-table td[data-happiness=red],
.home-workflow .chart.main-table td[data-happiness=red] select {
    color: red;
    background: red;
}

.home-workflow .chart.main-table td[data-happiness=yellow],
.home-workflow .chart.main-table td[data-happiness=yellow] select {
    color: yellow;
    background: yellow;
}

.home-workflow .chart.main-table td[data-happiness=green],
.home-workflow .chart.main-table td[data-happiness=green] select {
    color: green;
    background: green;
}



/* .home-workflow .chart td[type=avail]:hover .popup { display: block } */

.home-workflow tr.date th,
.home-workflow tr.need th,
.home-workflow tr.goal th {
    height: 20px;
    width: 60px
}

.home-workflow [data-name=topControls] {
    margin-bottom: 10px;
}

.home-workflow [data-name=topControls][data-period=monthly] a[href$=chart]{
    display: none;
}

.home-workflow table.monthly.points [data-points] {
    text-align: right;
}


.home-workflow [data-name=dateInputs] td {
    white-space: nowrap;
}

.home-workflow [data-name=dateInputs] input {
    margin: 0px 4px 0 8px;
}

.home-workflow .controls.period {
    text-align: center;
}

.home-workflow [role=dateinputcell] {
    padding-left: 40px;
}


.home-workflow th.need {
    background: #fdfdfd !important;
    color: #c71515;
}


.home-workflow td.figure[data-value^='-'] {
    color: #c71515;
}

.home-workflow td.figure {
    color: #0e7339;
}

.home-workflow td.figure[data-value='-'] {
    color: black;
}

.home-workflow th.need[data-value^='-'],
.home-workflow th.need[data-value='0.00'] {
    color: #0e7339;
}

.home-workflow [data-name=departmentCell] {
    width: 100%;
}

#nav-left { vertical-align: top; padding: 4px; }
div.caption div.rpc { font-size: 14px; color: #915044; font-style: italic; font-weight: bold; }

ul.nav { margin: 0px; padding: 0px; clear: left;}
ul.nav .last { float: none; width: 0px; }
ul.nav li { list-style: none outside; float: left; }
ul.nav a { float: left; /* needed for IE */  height: 17px; display: block; color: black; font-size: 12px; font-weight: bold; padding: 5px 4px 2px 4px; }
ul.nav a:hover, ul.nav a.current { background-color: #aac5dc; text-decoration: none; opacity: 0.7 !important; filter: alpha (opacity=70) !important; }

/*div.nav { width: 212px; position: relative; border-bottom: 1px solid gray; }
div.nav div.box, div.nav div.nav-content { border: gray solid; border-width: 0px 1px 0px 1px; }
div.nav div.nav-content { height: 300px; overflow: auto; }*/

div.index a { text-decoration: underline; font-size: 10px; }
div.index span { margin: 1px; }
div.pageindex { font-size: 11px; }
div.pageindex a, div.pageindex b { margin-left: 3px; }

div.nav-content a { display: block; padding-left: 10px; border: 1px solid white; text-decoration: none; color: black; }
div.nav-content a:hover, div.nav-content a.selected { background: url(/backend/asset?name=image/nav/selected_arrow.png) no-repeat #500900 right top; border: 1px solid #fca900; color: white; }

.content, .content-data { border-width: 0px; vertical-align: top; text-align: left; margin-bottom: 0; }
#content_action { padding: 0px; }

/*#tabber-action { margin-left: 14px; }*/

.caption .main { font-size: 14px; font-weight: bold; }

.hint { font-size: 8px; }

.form-table { width: 100%; }
.form-table td.left { vertical-align: top; font-weight: bold; width: 20%; white-space: nowrap; text-align: right; padding-top: 12px; }
.form-table td.nohint { vertical-align: middle !important; padding-top: 0px !important; }
.form-table td.opt { font-weight: normal !important; }
.form-table .mesg { color: red; font-size: 10px; padding-top: 2px; }
.country select { width: 100px; }

#contactname-table, #phone-table, #email-table, #web-table { width: 400px; }
#fee-table td.left, #prepayschedule-table td.left, #feeschedule-table td.left, #expense-table td.left { width: 140px !important; }

input.amount { width: 100px; }


.wavecontact, .pager-table-small td, .pager-table-small th, .pager-table td, .pager-table th { border-width: 1px; border-style: solid; border-color: black; }
td.pager-edit { border-width: 0px 0px 0px 1px !important; background-color: transparent !important; width: 1px; }
td.pager-empty { border-width: 0px !important; background-color: transparent !important; }

.border-dashed { border: 1px dashed black; }

tbody.center td { text-align: center; }
tbody.center td.left { text-align: left; }
tbody.filter td { text-align: center; }
tbody.filter td.left { text-align: left; }

td.marketproduct { background-color: #facecf !important; }
td.marketevent { background-color: #85e08b !important; }


.nav_search_ac { position: relative; }
.nav_search_ac .yui-ac-content { border: 1px solid gray; position: absolute; min-width: 100%; background:#fff; z-index:9050; } 
.nav_search_ac ul { padding: 2px; margin: 0px; list-style-type: none; } 
.nav_search_ac li { display: block; padding: 2px; margin: 0px; white-space: nowrap; } 
.nav_search_ac li.yui-ac-highlight { background: #1542ac; color: white; } 


.pager-row-e { background-color: transparent !important; }
.pager-row-e td { background-color: #e8e8e8; }

.wavecontact { background: white; width: 310px; height: 450px; overflow: auto; }

.quicklook th.bottom-red { border-width: 0px !important; background: 0% 60% url(/backend/asset?name=image/project/quicklook-red.png)  }
.quicklook th.bottom-blue { border-width: 0px !important; background: 0% 60% url(/backend/asset?name=image/project/quicklook-blue.png) }
.quicklook th.bottom-green { border-width: 0px 1px 0px 1px !important; background: 0% 60% url(/backend/asset?name=image/project/quicklook-green.png) }

.quicklook th.cell-red { background-color: #9f322b; font-weight: normal; color: black; }
.quicklook th.cell-blue { background-color: #628dd0; font-weight: normal; color: black; }
.quicklook th.cell-green { background-color: #5e8842; font-weight: normal; color: black; }

.quicklook .ql-row-o th.cell-red { background-color: #d2655e; }
.quicklook .ql-row-o th.cell-blue { background-color: #95c0ff; }
.quicklook .ql-row-o th.cell-green { background-color: #91bb75; }

.contact-box select { width: 166px; }

span.hl { background-color: yellow; }
span.hl1 { background-color: #ffff77; }
span.hl2 { background-color: #c3fffe; }
span.hl3 { background-color: #99ff99; }
span.hl4 { background-color: #ff9999; }

a.bg-gray { background-color: #aaaaaa; }
.bg-lightgreen { background-color: #d4e7ca !important; }
.bg-lightblue { background-color: #f5f5ff !important; }
.bg-lightred { background-color: #ffdfdf !important; }
.bg-lightgray { background-color: #f0f0f0 !important; }
.bg-rps-green { background: rgb(175, 208, 164) }


.calendar-big-header th { width: 14%; }

.color-red-dark { color: #8d3f49; }

th.border-todo, td.border-todo { border-width: 0px !important; }
th.border-todo-right, td.border-todo-right { border-width: 0px 1px 0px 0px !important; }
th.border-todo-left, td.border-todo-left { border-width: 0px 0px 0px 1px !important; }

@media print
{
    .noprint { display: none; }
}

.nav-index-active { text-decoration: none !important; }

.pager-table td.empty-first { border-width: 1px 0px 1px 1px !important; }
.pager-table td.empty-middle { border-width: 1px 0px 1px 0px !important }
.pager-table td.empty-last { border-width: 1px 1px 1px 0px !important }

.pager-table td.empty-first-top { border-width: 0px 0px 1px 1px !important; }
.pager-table td.empty-middle-top { border-width: 0px 0px 1px 0px !important }
.pager-table td.empty-last-top { border-width: 0px 1px 1px 0px !important }

.pager-table td.empty-first-bottom { border-width: 1px 0px 0px 1px !important; }
.pager-table td.empty-middle-bottom{ border-width: 1px 0px 0px 0px !important }
.pager-table td.empty-last-bottom{ border-width: 1px 1px 0px 0px !important }

.pager-table td.empty-first-top-bottom { border-width: 0px 0px 0px 1px !important; }
.pager-table td.empty-middle-top-bottom { border-width: 0px 0px 0px 0px !important }
.pager-table td.empty-last-top-bottom { border-width: 0px 1px 0px 0px !important }

.pager-table td.empty-top { border-width: 0px 1px 1px 1px !important; }
.pager-table td.empty-bottom { border-width: 1px 1px 0px 1px !important }

.pager-table td.callsheet-bottom { border-width: 3px 1px 0px 1px !important }
.pager-table td.callsheet-first-bottom { border-width: 3px 0px 0px 1px !important; }
.pager-table td.callsheet-middle-bottom{ border-width: 3px 0px 0px 0px !important }
.pager-table td.callsheet-last-bottom{ border-width: 3px 1px 0px 0px !important }
.pager-table td pre { font-family: verdana }

.pager-row-o td.priocoverproduct { background-color: #d2655e !important; }
.pager-row-e td.priocoverproduct { background-color: #9f322b !important; }

.pager-row-o td.priopvevent, .pager-row-o td.priolsevent { background-color: #95c0ff !important; }
.pager-row-e td.priopvevent, .pager-row-e td.priolsevent { background-color: #628dd0 !important; }

.outreach-tab { border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray; margin-left: 370px; color: black; font-weight: normal; font-style: normal; font-size: 11px }
.outreach-tab .tab { padding: 3px; }
.outreach-tab .on { border-style: solid; border-color: gray; border-width: 1px 1px 0px 0px }
.outreach-tab .off {  border-style: solid; border-color: gray; border-width: 1px 1px 1px 0px; background: #99bd8f }
.outreach-tab-content { height: 266px; padding: 4px; border-width: 0px 1px 0px 0px; border-color: gray; border-style: solid; clear: right; overflow: auto; }
.inbox-row-o { background-color: #fefaee; } 
.inbox-table .cell { height: 180px; overflow: auto; }
.inbox-table .subject { height: 30px; overflow: hidden; }
.inbox-table .message { overflow: auto; border: 1px solid black; height: 134px; background-color: white; max-width: 440px }
.inbox-table .message pre {
    font-family: verdana, sans serif;
    text-align: left;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    font-size: 11px;
}
.inbox-table a.view { font-weight: bold; width: auto; float: right }
.inbox-table .button { width: 80px }

.ytab-left .ytab-inner {
    width: auto !important;
}


.long-form img {
    margin: 0;
    vertical-align: middle;
    display: inline-block;
}


.long-form {
    margin: auto;
    max-width: 840px;
}

.long-form [role$=Section] {
    margin-bottom: 20px;
}

.long-form [role=formHeader] {
    position: relative;
    height: 40px;
    line-height: 40px;
    margin-top: 6px;
}

.long-form [role=formHeader] .title {
    font-size: 18px;
    font-style: normal;
    position: absolute;
    right: 150px;
    left: 0;
    padding: 0;
}

.long-form [role=formHeader] [role=reportButton] {
    position: absolute;
    right: 0;
    top: 0;
    line-height: 40px;
}

#content_action .long-form [role=reportButton] img {
    margin-left: 6px;
}

.long-form [role=container] {
    background-color: #bfdab7;
    padding: 30px 40px;
    margin-top: 15px;
    position: relative;
    margin-bottom: 30px;
}

.long-form section header {
    font-size: 14px;
    font-weight: bold;
    color: #4d8813;
    border-bottom: 1px solid #94b494;
    margin-bottom: 20px;
    padding-bottom: 6px;
    text-transform: uppercase;
}

.long-form section header .note {
    font-weight: normal;
    font-size: 12px;
}

.long-form section header img {
    margin-left: 10px;
}

.long-form section [role=tableHeader] {
    font-size: 10px;
    color: rgb(125, 160, 125);
    border: none;
    margin-bottom: 0;
}

.long-form section [role=tableHeader].with-margin {
    margin-top: 20px;
}

.col-label {
    width: 35%;
    text-align: right;
    padding-right: 15px;
    line-height: 25px;
    clear: left;
}

.inline-label {
    line-height: 25px;
}

.top-label {
    line-height: 25px;
    padding-left: 2px;
    font-size: 10px;
}

.long-form .col-label input[type=text] {
    width: 100%;
}

.col-date,
.col-field {
    width: 65%;
    position: relative;
}

.long-form .col-label,
.long-form .col-field {
    margin-bottom: 6px;
}

.long-form {
    line-height: 18px;
}

.long-form input,
.long-form textarea,
.long-form select {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #8cb48c;
    border-radius: 4px;
    display: block;
    width: 70%;
}

.long-form input.error,
.long-form textarea.error,
.long-form select.error {
    border-color: red;
}

.long-form input[type=radio],
.long-form input[type=checkbox] {
    display: inline-block;
    width: auto;
    border: none;
    vertical-align: middle;
    height: 24px;
}


.long-form input,
.long-form select {
    height: 25px;
}

.long-form input.datepaid,
.long-form input.date {
    width: 100px !important;
}

.long-form .col-date img,
.long-form .col-field img {
    position: absolute;
    top: 5px;
}

.long-form img.ui-datepicker-trigger {
    left: 106px;
}

#tabber-action-content-proposal {
    background: rgb(175, 208, 164);
}

#tabber-action-content-proposal-form [role=noteField] [role$=Button],
#tabber-action-content-proposal-form [role=clientField] [role$=Button] {
    right: 30%;
    margin-right: -22px;
    width: 16px;
    height: 16px;
}

#tabber-action-content-proposal-form [role=customDatesField] span,
#tabber-action-content-proposal-form [role=lockField] span {
    margin-left: 8px;
}

#tabber-action-content-proposal-form [role=customDatesField] input[type=checkbox],
#tabber-action-content-proposal-form [role=lockField] input[type=checkbox] {
    vertical-align: bottom;
}

#tabber-action-content-proposal-form [role=clientField] [role=addButton] {
    margin-right: -70px;
}

#tabber-action-content-proposal-form [role=clientField] [role=clientCallsheetButton] {
    margin-right: -46px;
}

.long-form .radio-buttons * {
    display: inline-block;
    line-height: 25px;
    vertical-align: middle;
}

.long-form .radio-buttons label {
    padding-right: 20px;
    line-height: 0;
}

.long-form .radio-buttons span {
    padding-left: 10px;
}

#tabber-action-content-proposal-form [role=typeField][data-type=Artist] [data-value=Artist] span,
#tabber-action-content-proposal-form [role=typeField][data-type=Festival] [data-value=Festival] span,
#tabber-action-content-proposal-form [role=typeField][data-type=Business] [data-value=Business] span {
    font-weight: bold;
}

#tabber-action-content-proposal-form [role=auditionSection] input[type=checkbox] {
    position: absolute;
    left: 156px;
    top: 0;
}

#tabber-action-content-proposal-form [role=auditionSection] [role=doneLabel] {
    padding-left: 147px;
    font-weight: bold;
    color: rgb(125, 160, 125);
    font-size: 10px;
}

.long-form .record input[type=text],
.long-form .record select,
.long-form .record textarea {
    width: 100%;
}

.long-form .record-row {
    border-top: 1px dashed rgb(148, 180, 148);
    padding-top: 12px;
}

.row-border-bottom {
    border-bottom: 1px dashed rgb(148, 180, 148);
}

.long-form .tableSection {
    margin-bottom: 40px;
    border-bottom: 1px dashed rgb(148, 180, 148);
    padding-bottom: 6px;
}

#tabber-action-content-proposal-form [role=eventsSection] {
    padding-bottom: 0;
}

#tabber-action-content-proposal-form [role=scopeSection] {
    margin-bottom: 40px;
}

#tabber-action-content-proposal-form [role=cashWavesSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=wavesSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=expensesSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=budgetSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=budgetSection] [role=addButton],
#tabber-action-content-proposal-form [role=productsSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=writerDeliverablesSection] [role=deleteButton],
#tabber-action-content-proposal-form [role=eventsSection] [role=deleteButton] {
    left: 139px;
}

#tabber-action-content-proposal-form [role=budgetSection] [role=addButton] {
    left: 164px;
}

#tabber-action-content-proposal-form [role=otherExpenseSubsection] [role=deleteButton] {
    left: 106px;
}

#tabber-action-content-proposal-form [role=otherExpenseSubsection] [role=addButton] {
    left: 131px;
}

#tabber-action-content-proposal-form [role=eventsSection] textarea {
    height: 56px;
}

#tabber-action-content-proposal-form [role=scopeSection] textarea {
    width: 100%;
}

#tabber-action-content-proposal-form [role=eventsSection] [role=numberLabel] {
    padding-right: 6px;
}

#tabber-action-content-proposal-form [role=eventsSection] [role=datesCol] .col-label {
    font-size: 10px;
    padding: 0 0 0 10px;
    border-radius: 4px 0px 0px 4px;
    text-align: left;
    padding-right: 10px;
    color: white;
    background-color: rgb(140, 180, 140);
    font-weight: bold;
}

#tabber-action-content-proposal-form [role=eventsSection] [role=datesCol] input {
    border-radius: 0 4px 4px 0;
}

#tabber-action-content-proposal-form [role=budgetSection] {
    border: none;
}

#tabber-action-content-proposal-form [role=budgetSection] [role=total] {
    margin-left: 10px;
    font-size: 11px;
    color: rgb(255, 255, 255);
    display: inline-block;
    background-color: rgb(89, 148, 87);
    padding: 1px 9px;
    border-radius: 14px;
}

#tabber-action-content-proposal-form [role=otherExpenseSubsection] [role=commentField] input {
    width: 100px;
}

#tabber-action-content-proposal-form [role=budgetSection] [role=feesSubsection],
#tabber-action-content-proposal-form [role=budgetSection] [role=otherExpenseSubsection] {
    padding-bottom: 6px;
    border-bottom: 1px dashed rgb(148, 180, 148);
}


#tabber-action-content-clientcallsheet [role=sectionHeader] {
    font-weight: bold;
    font-size: 16px;
    height: 20px;
}

#tabber-action-content-clientcallsheet [role=leadsSection] {
    margin-top: 36px;
}

#tabber-action-content-clientcallsheet [role=tableHeader] {
    background-color: rgb(120, 167, 107);
    color: white;
    font-weight: bold;
    margin-top: 10px;
}

#tabber-action-content-clientcallsheet [role=leadsSection] [class*="col-"] {
    padding: 10px;
}

#tabber-action [id^=tabber-action-content-home] {
    background: rgb(175, 208, 164);
    padding: 20px;
}

.rp-table [role=optionsHeader] {
    max-width: none;
}

.rp-table [role=optionsHeader] [class~=col],
.rp-table [role=optionsHeader] [class|=col] {
    padding-right: 8px;
}

.rp-table [role=optionsHeader] select {
    width: 100%;
}

.rp-table .date-field {
    width: 122px;
    position: relative;
}

.rp-table th,
.rp-table td {
    width: 60px;
    text-align: right;
    padding: 8px;
}

.rp-table th.first,
.rp-table td.first {
    width: 270px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-table .col-spacer {
    width: 30px;
    height: 1px;
}

.rp-table table {
    margin-top: 20px;
    table-layout: fixed;
}

.rp-table th.total,
.rp-table td.total {
    border-left-width: 2px;
}

.rp-table th.first,
.rp-table td.first {
    border-right-width: 2px;
}

.rp-table tr.subtotal {
    background-color: rgb(218, 227, 236);
}

.rp-table tr.conversion-rate {
    background-color: #fad7b5;
}

.rp-table tr.total-conversion-rate {
    background-color: #d3fcc1;
}

.rp-table td.hover,
.rp-table th.hover,
.rp-table tbody tr:hover {
    background-color: rgb(255, 251, 207);

}

.rp-table td:hover,
.rp-table th:hover {
    background-color: rgb(255, 246, 137);
}

.rp-table.details {
    display: inline-block;
}

#tabber-action-content-proposaloverview .caption {
    padding-bottom: 10px;
}

#tabber-action-content-proposaloverview .caption label {
    font-weight: bold;
    font-size: 11px;
    color: black;
    margin: 0 6px 0 18px;
    font-style: normal;
}

#tabber-action-content-proposaloverview .caption label.first {
    margin-left: 0;
}

.container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

body.popup .container,
body.popup_print .container {
    position: static;
}

body.popup_print #content-container {
    padding: 0;
}

body.popup_print #content-container > table {
    display: none;
}

body.popup_print #content {
    margin: 0;
    width: 612pt;
}

body.popup_print [role=pageContent] {
    font-size: 12pt;
    padding-top: 63pt;
    clear: both;
    height: 792pt;
}

body.popup_print [role=labelRow] {
    padding-bottom: 9pt;
}

body.popup_print [role=labelContainer] {
    width: 288pt;
    margin-left: 9pt;
    height: 216pt;
    padding-top: 99pt;
}

body.popup_print [role=toLabel] {
    width: 54pt;
    padding-right: 4.5pt;
    text-align: right;
}

body.popup_print [role=addressLabel] {
    width: 234pt;
}

#footer {
    display: none;
}

#tabber-action > .yui-ext-tabbody {
    position: absolute !important;
    top: 26px;
    left: 0;
    right: 0;
    bottom: 0;
}

#tabber-action > .yui-ext-tabbody > .tabber-content {
    position: absolute !important;
    overflow: auto;
}

#content-container > #content {
    top: 78px;
    left: 4px;
    right: 4px;
    bottom: 4px;
}

.pager-table-body > tr.selected,
.pager-table-body > tr.selected > td {
    background-color: rgb(255, 251, 207);
}

#tabber-action form .action {
    clear: both;
    padding-top: 50px;
}

#tabber-action form .action .control,
#tabber-action form.edit-true .action .delete {
    position: static;
}

#tabber-action form .action .submit {
    margin-right: 10px;
}

.tabber-content {
    background-size: contain;
}

.mark-as-cleaned * {
    line-height: 30px;
}

.mark-as-cleaned [role=label] {
    font-weight: bold;
    padding-right: 8px;
}

.mark-as-cleaned [role=user] {
    background: #fffbcf;
    padding: 0 8px;
    border-radius: 3px;
    border: 1px solid #7EA075;
    line-height: 28px;
}

.mark-as-cleaned [type=button] {
    padding: 0 8px;
    background: rgb(21, 123, 97);
    margin-left: 10px;
    border-radius: 3px;
    color: white;
    font-weight: bold;
}

.outreach-tab-content input[type=text],
.outreach-tab-content textarea {
    border: 1px solid gray;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#tabber-action-content-proposaloverview div.caption div.rpc {
    color: black;
    font-style: normal;
    font-weight: normal;
}

#tabber-action-content-homepaymentreport .rp-table th.first,
#tabber-action-content-homepaymentreport .rp-table td.first,
#tabber-action-content-homewriterdeliverablesreport .rp-table th.first,
#tabber-action-content-homeWriterDeliverablesReport .rp-table td.first,
#tabber-action-content-homeleadstracking .rp-table th.first,
#tabber-action-content-homeleadstracking .rp-table td.first {
    width: 200px;
}

#tabber-action-content-homewriterdeliverablesreport .rp-table th.first.manager,
#tabber-action-content-homewriterdeliverablesreport .rp-table th.first.publicist {
    width: 80px;
}

.home-leadstracking td,
.home-conversionrates td,
.home-publicistmetrics td {
    position: relative;
}

.home-publicistmetrics td.count,
.home-conversionrates td.count,
.home-leadstracking td.count {
    padding: 0;
}

.home-publicistmetrics td.count div.value,
.home-conversionrates td.count div.value,
.home-leadstracking td.count div.value {
    padding: 8px;
}

.home-leadstracking td > div[id^=leads],
.home-leadstracking td > div.value,
.home-conversionrates td > div[id^=projects],
.home-conversionrates td > div.value,
.home-leadstracking td > div.value,
.home-publicistmetrics td > div[id^=opportunities],
.home-publicistmetrics td > div.value {
    position: absolute;
    width: 100%;
    height: 100%;
}

.home-publicistmetrics td > div.popup,
.home-conversionrates td > div.popup,
.home-leadstracking td > div.popup {
    position: absolute;
    box-sizing: border-box;
    display: none;
    border: 1px gray solid;
    top: 100%;
    min-width: 100%;
    max-width: 500px;
    background: #ffffbe;
    z-index: 100;
    overflow: auto;
    left: 0;
    color: black;
    white-space: nowrap;
    text-align: left;
    max-height: 200px;
    line-height: 1.3em;
    padding: 8px;
}

.home-publicistmetrics td > div.popup h3,
.home-conversionrates td > div.popup h3,
.home-leadstracking td > div.popup h3 {
    font-size: 1.1em;
    line-height: 1.4em;
    margin: 3px 0;
}

.home-leadstracking td > div.popup a {
    display: block;
}


/* success report */
#tabber-action-content-homesuccessreport .index thead th {
    width: auto;

    background: #c6dbf9 !important; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #90a9c4 100%) !important; /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#90a9c4 100%) !important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#90a9c4 100%) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#90a9c4',GradientType=0 ) !important; /* IE6-9 */
    text-align: center;
}

#tabber-action-content-homesuccessreport .rp-table th.first,
#tabber-action-content-homesuccessreport .rp-table td.first {
    width: 200px;
}

#tabber-action-content-homesuccessreport .rp-table th:not(.first) {
    width: 156px;
}

#tabber-action-content-homesuccessreport .rp-table th[rowspan] {
    vertical-align: middle;
}

#tabber-action-content-homesuccessreport thead tr.hits th {
    width: 70px;
}


/* home publicist metrics */
#tabber-action-content-homepublicistmetrics .index thead th {
    text-align: center;
}

#tabber-action-content-homepublicistmetrics .rp-table th.first,
#tabber-action-content-homepublicistmetrics .rp-table td.first {
    width: 200px;
    text-align: left;
}

#tabber-action-content-homepublicistmetrics .rp-table th:not(.first) {
    width: 100px;
}

#tabber-action-content-homepublicistmetrics .rp-table th.total {
    width: 106px;
    text-align: right;
}

#tabber-action-content-homepublicistmetrics .red {
    color: red;
    font-weight: bold;
}

#tabber-action-content-homepublicistmetrics .orange {
    color: darkorange;
    font-weight: bold;
}

#tabber-action-content-homepublicistmetrics .green {
    color: green;
    font-weight: bold;
}

#tabber-action-content-homepublicistmetrics h4 {
    margin-top: 20px;
}

/* client data */
#tabber-action-content-homeclientdata table.index {
    width: auto;
}

#tabber-action-content-homeclientdata table caption {
    font-weight: bold;
    padding: 10px 2px;
    text-align: left;
}

#tabber-action-content-homeclientdata [role=optionsHeader] {
    width: 690px;
    margin: 0;
}

#tabber-action-content-homeclientdata [role=revenueTable] tfoot tr {
    background: #d3fcc1;
}

#tabber-action-content-homeclientdata [role=clvColumn] {
    padding-left: 50px;
}


#tabber-action-content-homeclientdata .popup {
    box-sizing: border-box;
    display: none;
    border: 1px gray solid;
    padding: 6px;
    top: 100%;
    background: #ffffbe;
    z-index: 100;
    overflow: auto;
    left: 0;
    color: black;
    width: auto;
    line-height: 1.4em;
    float: left;
    position: absolute;
    max-height: 300px;
}


html[data-ua=android] body { overflow: scroll; }
html[data-ua=android] #tabber-action > .yui-ext-tabbody { right: auto; min-width: 100%; }
html[data-ua=android] #tabber-action > .yui-ext-tabbody > .tabber-content { position: relative !important; overflow: scroll; }

.clienttypes .matrix [data-id="56"] label,
.clienttypes .matrix [data-id="64"] label,
.clienttypes .matrix [data-id="52"] label,
.clienttypes .matrix [data-id="63"] label,
.clienttypes .matrix [data-id="25"] label,
.clienttypes .matrix [data-id="57"] label {
    font-weight: bold;
}

#home-content-form tbody tr:hover td,
#home-content-form tbody tr:hover th {
    background-color: rgb(217 226 235) !important;
}

#tabber-action-content-proposal-form [role=budgetSection] .col-1-10,
#tabber-action-content-proposal-form [role=writerDeliverablesSection] .col-1-10 {
    width: 38px;
    text-align: center;
}

#tabber-action-content-homepaymentreport .rp-table th[data-date] {
    text-align: center;
}

#tabber-action-content-homewriterdeliverablesreport .rp-table th,
#tabber-action-content-homewriterdeliverablesreport .rp-table td,
#tabber-action-content-homepaymentreport .rp-table th,
#tabber-action-content-homepaymentreport .rp-table td {
    width: 140px;
}

#tabber-action-content-homewriterdeliverablesreport .rp-table th.total,
#tabber-action-content-homepaymentreport .rp-table th.total {
    width: 120px;
}

/*
 * status_message
 */

.status_message { font-size: 12px; border-radius: 4px }
.status_message .icon { padding: 0.7em }
.status_message .message { display: inline-block; padding: 1.2em 1em }

/*
 * common buttons
 */
.text-button {
    cursor: pointer;
    display: inline-block;
    padding: 0.1em 0.8em;
    line-height: 24px;
    border-radius: 3px;
    font-weight: bold;
}

.text-button.solid-green {
    border: 1px solid #0e971a;
    background: #5db065;
    color: white;
}

.text-button.cancel {
    border: 1px solid #7c0000;
    color: white;
    background: #99250f;
}


.text-button.delete {
    border: 1px solid #7c0000;
    color: #99250f;
}

/*
 * project weekly report
 */
#tabber-action-content-projectweeklyreport { background: rgb(175, 208, 164) }
#tabber-action-content-projectweeklyreport .title { margin-bottom: 1em }
.project-weeklyreport .report-list { font-size: 12px; background: #bfdab7; border-radius: 4px; padding: 0 0.7em }
.project-weeklyreport .report-list .col > * { display: inline-block; padding: 0.7em; }
.project-weeklyreport .report-list .date { font-weight: bold }
.project-weeklyreport .report-list .qd-grid { border-bottom: 1px dashed rgb(148, 180, 148) }
.project-weeklyreport .report-list > .qd-grid:last-child { border-bottom: none }
.project-weeklyreport [role=addButton] {
    display: inline-block;
    background: #5db065;
    padding: 0.1em 0.8em 0.1em 0.7em;
    height: 24px;
    line-height: 24px;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    margin-top: 1.5em;
    border: 1px solid #0e971a;
}

.project-weeklyreport [role=addButton] img { position: relative; top: 4px; margin-right: 0.5em; }


/*
 * project weekly report form
 */
.project-weeklyreportform .title { font-size: 16px; padding-left: 0 }
.project-weeklyreportform { background: rgb(175, 208, 164); padding: 1.5em; font-size: 12px; max-width: none }
.project-weeklyreportform label { padding-right: 1.5em; line-height: 25px; width: 180px; display: inline-block }
.project-weeklyreportform section { margin-top: 2em }
.project-weeklyreportform .date-label { margin-right: 1em; line-height: 25px }
.project-weeklyreportform textarea,
.project-weeklyreportform input[type=text] { width: 590px }
.project-weeklyreportform h3 { font-size: 14px; margin: 1em 0 }
.project-weeklyreportform .wave-list { line-height: 25px }
.project-weeklyreportform .wave-list .col-checkbox { padding-right: 0.5em }
.project-weeklyreportform .buttons { margin-top: 3em }
.project-weeklyreportform .col-date { width: auto }
.project-weeklyreportform .col-spacer { padding: 0 0.5em; }
.project-weeklyreportform .col-pitch a { color: blue; font-weight: bold }
.project-weeklyreportform .col-status select { display: inline-block; width: auto; font-size: 11px }
.project-weeklyreportform .wave-list label { width: 162px }
.project-weeklyreportform .wave-list select { width: auto }
.project-weeklyreportform .wave-list .fields {
    padding-left: 1.5em;
    display: none;
    padding: 1em 14px;
    border-left: 1px solid #81ab73;
    margin: 0 0 1em 5px;
}
