Make scp.css tables just like theme.css, responsive and cards for mobile devices.
theme.css:
/* Custom */
.card {
/*     display: inline-block; */
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgb(0 0 0 / 0%);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}

@media screen and (max-width: 600px) {
  li.nav-item {
    width: 100%;
    border-bottom: 1px solid #777;
  }
  .sidebar {
    width: auto !important;
    margin: auto !important;
  }
}
ul.nav {
  margin-top: 0;
}
.navbar a {
  color: #fff !important;
}
.qns {
  padding-bottom: 10px;
}
.qns a {
  font-size: 18px;
  padding-bottom: 10px;
  text-decoration: none;
}
.qns a:hover {
  text-decoration: none;
  border: none;
}
div#breadcrumbs {
  background: #eee;
  padding: 5px;
}
div#breadcrumbs a {
  padding: 10px;
  font-family: "Droid Serif", serif;
  font-style: italic;
  text-align: center;
}
div#breadcrumbs a:hover {
  border: none;
}
.card.new-ticket {
  padding: 60px;
  border: none;
}
.card.new-ticket h4 {
}
a.btn.btn-primary {
  background: #353b65;
  border-radius: 0;
  border: none;
}
.featured-qns ul li {
  /* width:50%; */
  /* float:left; */
}
.featured-block {
  padding: 40px 40px 70px;
}
.featured-block a {
  color: #353b65;
}
h4.popular-header {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #353b65;
  text-align: center;
}
.widget-top {
  padding: 40px 0 0;
  max-width: 900px;
  margin: 0 auto;
}
.widget-top h4 {
  padding: 10px 0 0;
}
.widget-top ul {
  /* max-width: fit-content; */
  margin: 0 auto;
  width: 100%;
}
.widget-top ul li {
  list-style: none;
  padding: 5px;
  font-size: 16px;
}
.widget-top ul li a {
  color: #353b65;
}
.widget-top ul li a:hover {
}
.widget-top p {
  text-align: center;
  padding: 5px
}
ul.nav.pull-right {
  float: right;
}

ul.nav.pull-left {
  float: left;
}
.search-area.container {
  padding: 30px 0;
}
.card-link:hover {
  text-decoration: none;
  font-weight: bold;
}

.card-icon {
  font-size: 60px;
  color: #6e75af;
  padding-bottom: 20px;
}
h5.card-title {
  font-size: 16px;
  line-height: 20px;
  text-transform: none;
  font-weight: bold;
  letter-spacing: -0.4px;
  color: #495057;
}
.card-body {
  border: 1px solid #6e75af66;
}
a.card-link {
  color: #495057;
}
div#nav-wrapper {
  background: #0473aa;
  color: #fff;
}
div#nav-wrapper a {
  color: #fff;
}

div#nav-wrapper {
  background: #353b65;
  color: #fff;
}
div#nav-wrapper .nav {
  padding: 0;
  margin: 0;
}
div#nav-wrapper li {
  padding: 5px;
  max-height: 45px;
}

div#nav-wrapper a {
  color: #fff;
}
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
p.card-text {
  font-size: 13px;
  color: #818181;
}

h3.featured-header {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #353b65;
  text-align: center;
}
p.featured-tag-line {
  font-family: "Droid Serif", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
  color: #353b65;
  text-align: center;
}
/* Header - Search ---------------------------------------------------------------------------------------------------*/

.search-area-wrapper {
  background: #353b65;
  background-size: 100%;
  min-height: 279px;
  height: auto !important;
  height: 279px;
}

.search-area-wrapper .search-area {
  padding: 50px 0;
}

.search-area-theme-option {
  background-size: cover;
  background-position: center;
}

h3.search-header {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #fff;
  text-align: center;
}

p.search-tag-line {
  font-family: "Droid Serif", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  text-align: center;
}

form.search-form {
  margin: 40px 0 0;
  text-align: center;
}

form.search-form .input-common,
form.search-form input.search-term,
form.search-form input.search-btn {
  font-family: "Open Sans", sans-serif;
  box-shadow: none;
  border-radius: 0;
  display: inline-block;
  border: none;
  vertical-align: bottom;
}

form.search-form input.search-term {
  font-size: 14px;
  /* height: 24px; */
  line-height: 24px;
  padding: 12px;
  width: 72%;
  color: #858c91;
  margin-right: 10px;
  margin-bottom: 0;
}

form.search-form input.search-term.loading {
  background-image: url("../images/search-loader.gif");
  background-repeat: no-repeat;
  background-position: 98% 50%;
}

input.search-btn {
  background-color: #3f4b55;
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
  padding: 14px 30px 15px;
  color: #fff;
}

form.search-form input.search-btn:hover {
  background-color: #4b5760;
}

#search-error-container label {
  color: #fff;
  padding: 5px;
  font-size: 14px;
}

.lt-ie8 form.search-form input.search-btn {
  padding-top: 12px;
  padding-bottom: 13px;
}


/* Custom Ends */


html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.231;
  padding: 0;
}
body,
input,
select,
textarea {
  font-family: "Helvetica Neue", sans-serif;
  color: #000;
}
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
small {
  font-size: 85%;
}
ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 30px;
}
img {
  border: 0;
  vertical-align: middle;
}
form {
  margin: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
label {
  cursor: pointer;
}
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
input {
  line-height: normal;
  *overflow: visible;
}
table input {
  *overflow: auto;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  vertical-align: top;
}
th {
  text-align: left;
  font-weight: normal;
  min-width: 120px;
}
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset {
  margin: 0;
  padding: 0;
}
/* Typography */
a,
.link {
  color: #353b65;
  text-decoration: none;
  display: inline;
  margin-bottom: 1px;
}
a:hover,
.link:hover {
  border-bottom: 1px dotted #353b65;
  margin-bottom: 0;
  cursor: pointer;
}
h1 {
  color: #353b65;
  font-weight: normal;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  font-size: 25px;
  width: 100%;
}
h3 {
  font-size: 16px;
}
h2,
.subject {
  font-size: 16px;
  color: black;
}
/* Helpers */
.centered {
  text-align: center;
}
.clear {
  clear: both;
  height: 1px;
  visibility: none;
}
.hidden {
  display: none;
}
.faded {
  color: #666;
  font-size: 10px;
}
/* Pagination */
#pagination {
  border: 0;
  margin: 0 0 40px 0;
  padding: 0;
}
#pagination li {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 11px;
  list-style: none;
  display: inline;
}
#pagination li a {
  margin-right: 2px;
  display: block;
  float: left;
  padding: 3px 6px;
  text-decoration: none;
}
#pagination li a:hover {
  color: #ff0084;
}
#pagination .previousOff,
#pagination .nextOff {
  color: #666;
  display: block;
  float: left;
  font-weight: bold;
  padding: 3px 4px;
}
#pagination .next a,
#pagination .previous a {
  font-weight: bold;
}
#pagination .active {
  color: #000;
  font-weight: bold;
  margin-right: 2px;
  display: block;
  float: left;
  padding: 3px 6px;
  text-decoration: none;
}
/* Alerts & Notices */
#msg_notice {
  /* margin: 0; */
  /* padding: 5px 10px 5px 36px; */
  /* height: 16px; */
  /* line-height: 16px; */
  /* margin-bottom: 10px; */
  /* border: 1px solid #0a0; */
  /* background: url('../images/icons/ok.png') 10px 50% no-repeat #e0ffe0; */
}
#msg_warning,
.warning-banner {
  margin: 0;
  padding: 5px 10px 5px 36px;
  height: 16px;
  line-height: 16px;
  margin-bottom: 10px;
  border: 1px solid #f26522;
  background: url('../images/icons/alert.png') 10px 50% no-repeat #ffffdd;
}
#msg_error {
  margin: 0;
  padding: 5px 10px 5px 36px;
  height: 16px;
  line-height: 16px;
  margin-bottom: 10px;
  border: 1px solid #a00;
  background: url('../images/icons/error.png') 10px 50% no-repeat #fff0f0;
}
#msg_info {
  margin: 0;
  padding: 5px;
  margin-bottom: 10px;
  color: #3a87ad;
  border: 1px solid #bce8f1;
  background-color: #d9edf7;
}
.warning {
  background: #ffc;
  font-style: italic;
}
.warning strong {
  text-transform: uppercase;
  color: #a00;
  font-style: normal;
}
.error {
  color: #f00;
}
.error input {
  border: 1px solid #f00;
}
.button,
.button:visited {
  background: #222;
  border: none;
  display: inline-block;
  font-size: 16px;
  padding: 4px 16px 4px 16px;
  max-width: 220px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
  cursor: pointer;
  font-family: helvetica, arial, sans-serif;
}
.button:hover {
  background-color: #111;
  color: #fff;
}
.button:active {
  top: 1px;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
.button,
.button:visited,
.green.button,
.green.button:visited {
  background-color: #91bd09;
}
.green.button:hover {
  background-color: #749a02;
}
.blue.button,
.blue.button:visited {
  background-color: #00aeef;
}
.blue.button:hover {
  background-color: #0299d2;
}
body {
  /* background: url('../images/page_bg.png') top left repeat-x #c8c8c8; */
}
#container {
  background: #fff;
  max-width: 1140px;
  /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); */
  -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  /* -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); */
  margin: 0 auto;
  padding: 15px;
  width: 100%;
}
#header {
  position: relative;
  height: 71px;
  padding: 0 20px;
  background: #fff;
}
#logo {
  height: 100%;
}
#header #logo img {
  max-height: 65px;
  max-width: 300px;
  padding: 8px 0 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
.valign-helper {
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}
#header p {
  width: 400px;
  margin: 0;
  padding: 10px 0 0;
}
#nav {
  margin: 0 20px;
  padding: 2px 10px;
  height: 20px;
  background: url('../images/nav_bg.png') top left repeat-x;
  border-top: 1px solid #aaa;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
#nav li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline;
}
#nav li a {
  display: inline-block;
  width: auto;
  height: 20px;
  line-height: 20px;
  text-align: center;
  padding: 0 10px 0 32px;
  margin-left: 10px;
  color: #333;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  background-position: 10px 50%;
  background-repeat: no-repeat;
}
.rtl #nav li a {
  background-position: right center;
  background-position: calc(100% - 10px) center;
  padding-left: 10px;
  padding-right: 32px;
  margin-right: 10px;
  margin-left: 0;
}
#nav li a.active,
#nav li a:hover {
  background-color: #dbefff;
  color: #000;
}
#nav li a:hover {
  background-color: #ededed;
  color: #0054a6;
}
#nav li a.home {
  background-image: url('../images/icons/home.png');
}
#nav li a.kb {
  background-image: url('../images/icons/kb.png');
}
#nav li a.new {
  background-image: url('../images/icons/new.png');
}
#nav li a.status {
  background-image: url('../images/icons/status.png');
}
#nav li a.tickets {
  background-image: url('../images/icons/tix.png');
}
#content {
  padding: 20px 0;
  margin: 0 20px;
  height: auto !important;
  height: 350px;
  min-height: 350px;
}
#footer {
  background: #000;
  text-align: center;
  font-size: 14px;
  color: #fff;
  padding: 10px;
}
#footer a {
  color: #333;
}
#footer p {
  margin: 10px 0 0 0;
}
#footer #poweredBy {
  display: block;
  width: 126px;
  height: 23px;
  outline: none;
  text-indent: -9999px;
  margin: 0 auto;
  background: url('../images/poweredby.png') top left no-repeat;
  background-size: auto 20px;
}
.front-page-button {
}
.main-content {
  width: 565px;
}
#landing_page #new_ticket {
  margin-top: 40px;
  background: url('../images/new_ticket_icon.png') top left no-repeat;
}
#landing_page #new_ticket,
#landing_page #check_status {
  width: 295px;
  padding-left: 75px;
}
#landing_page #check_status {
  margin-top: 40px;
  background: url('../images/check_status_icon.png') top left no-repeat;
}
#landing_page h1,
#landing_page h2,
#landing_page h3 {
  margin-bottom: 10px;
}
/* Landing page FAQ not yet implemented. */
#faq {
  clear: both;
  margin: 0;
  padding: 5px;
}
#faq ol {
  font-size: 15px;
  margin-left: 0;
  padding-left: 0;
  border-top: 1px solid #ddd;
}
#faq ol li {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #999;
}
#faq ol li a {
  display: block;
  padding: 5px 0;
  height: auto !important;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid #ddd;
  line-height: 16px;
  padding-left: 24px;
  background: url('../images/icons/page.png') 0 50% no-repeat;
}
#faq ol li a:hover {
  background-color: #e9f5ff;
}
#faq .article-meta {
  padding: 5px;
  background: #fafafa;
}
#kb {
  margin: 2px 0;
  padding: 5px;
  overflow: hidden;
}
#kb > li {
  padding: 10px;
  height: auto !important;
  overflow: hidden;
  margin: 0;
  background: url(../images/kb_category_bg.png) bottom left repeat-x;
  border-bottom: 1px solid #ddd;
  display: block;
}
#kb > li h4 span {
  color: #666;
}
#kb > li h4 a {
  font-size: 14px;
}
#kb > li > i {
  display: block;
  width: 32px;
  height: 32px;
  float: left;
  margin-right: 6px;
  background: url(../images/kb_large_folder.png) top left no-repeat;
}
.featured-category {
  margin-top: 10px;
  width: 49.7%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
}
.category-name {
  display: inline-block;
  font-weight: 400;
  font-size: 120%;
}
.featured-category i {
  color: rgba(0,174,239, 0.8);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  display: inline-block;
  vertical-align: middle;
}
.article-headline {
  margin-left: 34px;
}
.rtl .article-headline {
  margin-left: 0;
  margin-right: 34px;
}
.article-teaser {
  font-size: 90%;
  line-height: 1.5em;
  height: 3em;
  overflow: hidden;
}
.article-title {
  font-weight: 500;
}
.faq-content .article-title {
  font-size: 17pt;
  margin-top: 15px;
}
#kb-search {
  padding: 10px 0;
  overflow: hidden;
}
#kb-search div {
  clear: both;
  overflow: hidden;
  padding-top: 5px;
}
#kb-search #query {
  margin: 0;
  display: inline-block;
  float: left;
  width: 200px;
  margin-right: 5px;
}
#kb-search #cid {
  margin: 0;
  display: inline-block;
  float: left;
  width: 200px;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
#kb-search #topic-id {
  margin: 0;
  display: inline-block;
  float: left;
  width: 410px;
}
#kb-search #searchSubmit {
  margin: 0;
  display: inline-block;
  float: left;
  position: relative;
  top: 2px;
}
#kb-search #breadcrumbs {
  color: #333;
  margin-bottom: 15px;
}
#kb-search #breadcrumbs #breadcrumbs a {
  color: #555;
}
#ticketForm div.clear,
#clientLogin div.clear {
  clear: both;
  padding: 3px 0;
  overflow: hidden;
}
#ticketForm div label,
#clientLogin div label {
  display: block;
}
label.required,
span.required {
  font-weight: bold;
}
#ticketForm div label.required,
#clientLogin div label.required {
  text-align: left;
}
#ticketForm div input,
#clientLogin div input,
#ticketForm div textarea,
#clientLogin div textarea {
  width: auto;
  border: 1px solid #aaa;
  background: #fff;
  display: block;
}
#ticketForm div input[type=file],
#clientLogin div input[type=file] {
  border: 0;
}
#ticketForm div select,
#clientLogin div select {
  display: block;
  float: left;
}
#ticketForm div div.captchaRow,
#clientLogin div div.captchaRow {
  line-height: 31px;
}
#ticketForm div div.captchaRow input,
#clientLogin div div.captchaRow input {
  position: relative;
  top: 6px;
}
#ticketForm > table {
  table-layout: fixed;
}
#ticketForm > table td {
  width: 160px;
}
#ticketForm > table td + td {
  width: auto;
}
#ticketForm td textarea,
#clientLogin td textarea,
#ticketForm div textarea,
#clientLogin div textarea {
  width: 600px;
}
#ticketForm td em,
#clientLogin td em,
#ticketForm div em,
#clientLogin div em {
  color: #777;
}
#ticketForm td .captcha,
#clientLogin td .captcha,
#ticketForm div .captcha,
#clientLogin div .captcha {
  width: 88px;
  height: 31px;
  background: #000;
  display: block;
  float: left;
  margin-right: 20px;
}
#ticketForm td label.inline,
#clientLogin td label.inline,
#ticketForm div label.inline,
#clientLogin div label.inline {
  width: auto;
  padding: 0 10px;
}
#ticketForm div.error input,
#clientLogin div.error input {
  border: 1px solid #a00;
}
#ticketForm div.error label,
#clientLogin div.error label {
  color: #a00;
}
#ticketTable th {
  padding-left: 3px;
  font-weight: normal;
  text-align: left;
}
#ticketTable th.required,
#ticketTable td.required {
  font-weight: bold;
  text-align: left;
}
#clientLogin {
  display: block;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  background: url('../images/lock.png?1319655200') 95% 50% no-repeat #f6f6f6;
}
.rtl #clientLogin {
  background-position: 5% 50%;
}
#clientLogin .instructions {
  display: table-cell;
  padding-left: 2em;
  padding-right: 90px;
}
.rtl #clientLogin .instructions {
  padding-left: 0;
  padding-right: 0;
  padding-right: 2em;
  padding-left: 90px;
}
#clientLogin p {
  clear: both;
}
#clientLogin strong {
  font-size: 11px;
  color: #d00;
  display: block;
}
#clientLogin #email,
#clientLogin #ticketno {
  margin-right: 0;
}
#clientLogin input[type=text],
#clientLogin input[type=password] {
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 15px;
}
#clientLogin input[type=submit] {
  padding: 3px 10px;
  border-radius: 4px;
}
#reply {
  margin-top: 5px;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ccc;
}
#reply h2 {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px dotted rgba(0,0,0,0.1);
}
#reply > table {
  width: auto;
}
#reply table td {
  vertical-align: top;
}
#reply textarea {
  width: 628px !important;
}
#reply input[type=text],
#reply #response_options textarea {
  border: 1px solid #aaa;
  background: #fff;
}
/* Ticket icons */
.Icon {
  width: auto;
  padding-left: 20px;
  background-position: top left;
  background-repeat: no-repeat;
  color: #006699;
  text-decoration: none;
}
.Icon.Ticket {
  background-image: url('../images/icons/ticket.gif');
}
.Icon.webTicket {
  background-image: url('../images/icons/ticket_source_web.gif');
}
.Icon.emailTicket {
  background-image: url('../images/icons/ticket_source_email.gif');
}
.Icon.phoneTicket {
  background-image: url('../images/icons/ticket_source_phone.gif');
}
.Icon.otherTicket,
.Icon.apiTicket {
  background-image: url('../images/icons/ticket_source_other.gif');
}

.Icon.attachment {
  background-image: url('../images/icons/attachment.gif');
}
.Icon.file {
  background-image: url('../images/icons/attachment.gif');
}
.Icon.refresh {
  background-image: url('../images/icons/refresh.gif');
}
.Icon.thread {
  font-weight: bold;
  font-size: 1em;
  background-image: url('../images/icons/thread.gif?1319556657');
}
#ticketTable {
  border: 1px solid #aaa;
  border-left: none;
  border-bottom: none;
}
#ticketTable caption {
  padding: 5px;
  text-align: left;
  color: #000;
  background: #ddd;
  border: 1px solid #aaa;
  border-bottom: none;
  font-weight: bold;
}
#ticketTable th {
  height: 24px;
  line-height: 24px;
  background: #e1f2ff;
  border: 1px solid #aaa;
  border-right: none;
  border-top: none;
  padding: 0 5px;
}
#ticketTable th a {
  color: #000;
}
#ticketTable td {
  padding: 3px 5px;
  border: 1px solid #aaa;
  border-right: none;
  border-top: none;
}
#ticketTable tr.alt td {
  background: #f9f9f9;
}
i.refresh {
  color: #0a0;
  font-size: 80%;
  vertical-align: middle;
}
.states small {
  font-size: 70%;
}
.active.state {
  font-weight: bold;
}
.search.well {
  padding: 10px;
  background-color: rgba(0,0,0,0.05);
  margin-bottom: 10px;
  margin-top: -15px;
}
.infoTable {
  background: #f4faff;
}
.infoTable th {
  text-align: left;
  padding: 3px 8px;
}
.action-button {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  color: #777 !important;
  display: inline-block;
  border: 1px solid #aaa;
  cursor: pointer;
  font-size: 11px;
  overflow: hidden;
  background-color: #dddddd;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efefef), color-stop(100% #dddddd));
  background-image: -webkit-linear-gradient(top, #efefef 0%, #dddddd 100%);
  background-image: -moz-linear-gradient(top, #efefef 0%, #dddddd 100%);
  background-image: -ms-linear-gradient(top, #efefef 0%, #dddddd 100%);
  background-image: -o-linear-gradient(top, #efefef 0%, #dddddd 100%);
  background-image: linear-gradient(top, #efefef 0%, #dddddd 100%);
  padding: 0 5px;
  text-decoration: none;
  line-height: 18px;
  margin-left: 5px;
}
.action-button span,
.action-button a {
  color: #777 !important;
  display: inline-block;
  float: left;
}
.action-button a {
  color: #777;
  text-decoration: none;
}
table.padded tr > td,
table.padded tr > th {
  height: 20px;
  padding-bottom: 5px;
}

.external-auth + .external-auth {
  margin-top: 4px;
}

a.external-sign-in {
  text-decoration: none;
}
.external-auth-box {
  vertical-align: middle;
  border-radius: 4px;
  border: 1px solid #777;
}
.external-auth-icon {
  display: inline-block;
  color: #333;
  width: 30px;
  padding: 5px 10px;
  border-right: 1px solid #ddd;
}
.external-auth-name {
  color: #333;
  width: 100px;
  padding: 5px 10px;
  line-height: 30px;
  font-size: 11pt;
}
img.sign-in-image {
  border: none;
  max-height: 40px;
  max-width: 200px;
  width: auto;
  height: auto;
}
.login-box {
  width: 40%;
  display: table-cell;
  box-shadow: 12px 0 15px -15px rgba(0,0,0,0.4);
  padding: 15px;
}
.rtl .login-box {
  box-shadow: -12px 0 15px -15px rgba(0,0,0,0.4);
}
.flush-right {
  text-align: right;
}
.flush-left {
  text-align: left;
}
.sidebar {
  margin-bottom: 20px;
  margin-left: 20px;
  width: 215px;
}
.rtl .sidebar {
  margin-left: 0;
  margin-right: 20px;
}
.sidebar .content {
  padding: 10px;
  border: 1px solid #c8ddfa;
  background: #f7fbfe;
}
.sidebar .content:empty {
  display: none;
}

.sidebar section .header {
  font-weight: bold;
  margin-bottom: 0.3em;
}
.sidebar section + section {
  margin-top: 15px;
}
.search-form {
  padding-top: 12px;
}
.searchbar .search,
.search-form .search {
  display: inline-block;
  width: 400px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 5px 10px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.searchbar .search {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.bleed {
  margin: 0 !important;
  padding: 0 !important;
}
.row {
}
.span4 {
  display: inline-block;
  width: 29.5%;
  margin: 0 1%;
  vertical-align: top;
}
.span8 {
  display: inline-block;
  width: 66.0%;
  margin: 0 1%;
  vertical-align: top;
}
.truncate {
  display: inline-block;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.image-hover a.action-button:hover,
.image-hover a.action-button {
  color: initial !important;
  text-decoration: none;
}
table.custom-data {
  margin-top: 10px;
}
table.custom-data th {
  width: 25%;
}
table.custom-data th {
  background-color: #f4faff;
  padding: 3px 8px;
}
table .headline,
table.custom-data .headline {
  border-bottom: 2px solid #ddd;
  border-bottom: 2px solid rgba(0,0,0,0.15);
  font-weight: bold;
  background-color: white;
}
#ticketInfo h1 {
  padding-bottom: 10px;
  margin-bottom: 5px;
  border-bottom: 2px dotted rgba(0, 0, 0, 0.15);
}
#ticketInfo h1 small {
  font-weight: normal;
}
.thread-entry {
  margin-bottom: 15px;
}
.thread-entry.avatar {
  margin-left: 60px;
}
.thread-entry.response.avatar {
  margin-right: 60px;
  margin-left: 0;
}
.thread-entry > .avatar {
  margin-left: -60px;
  display: inline-block;
  width: 48px;
  height: auto;
  border-radius: 5px;
}
.thread-entry.response > .avatar {
  margin-left: initial;
  margin-right: -60px;
}
img.avatar {
  border-radius: inherit;
}
.avatar > img.avatar {
  width: 100%;
  height: auto;
}
.thread-entry .header {
  padding: 8px 0.9em;
  border: 1px solid #ccc;
  border-color: rgba(0,0,0,0.2);
  border-radius: 5px 5px 0 0;
}
.thread-entry.avatar .header:before {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #b0b0b0;
  display: inline-block;
}
.thread-entry.avatar .header:after {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  display: inline-block;
  margin-top: 1px;
}

.thread-entry.avatar .header {
  position: relative;
}

.thread-entry.response .header {
  background: #dddddd;
}
.thread-entry.avatar.response .header:after {
  border-left: 7px solid #dddddd;
  margin-right: 1px;
}

.thread-entry.message .header {
  background: #c3d9ff;
}
.thread-entry.avatar.message .header:before {
  top: 7px;
  left: -8px;
  right: initial;
  border-left: none;
  border-right: 8px solid #ccc;
}
.thread-entry.avatar.message .header:before {
  border-right-color: #9cadcc;
}
.thread-entry.avatar.message .header:after {
  top: 7px;
  left: -8px;
  right: initial;
  border-left: none;
  border-right: 7px solid #c3d9ff;
  margin-left: 1px;
}

.thread-entry .header .title {
  max-width: 500px;
  vertical-align: bottom;
  display: inline-block;
  margin-left: 15px;
}

.thread-entry .thread-body {
  border: 1px solid #ddd;
  border-top: none;
  border-bottom: 2px solid #aaa;
  border-radius: 0 0 5px 5px;
}
.thread-body .attachments {
  background-color: #f4faff;
  margin: 0 -0.9em;
  position: relative;
  top: 0.9em;
  padding: 0.3em 0.9em;
  border-top: 1px dotted #ccc;
  border-top-color: rgba(0,0,0,0.2);
  border-radius: 0 0 6px 6px;
}
.thread-body .attachments .filesize {
  margin-left: 0.5em;
}
.thread-body .attachments a,
.thread-body .attachments a:hover {
  text-decoration: none;
}
.thread-body .attachment-info {
  margin-right: 10px;
  display: inline-block;
  width: 48%;
}
.thread-body .attachment-info .filename {
  max-width: 80%;
  max-width: calc(100% - 70px);
}
.label {
  font-size: 11px;
  padding: 1px 4px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #999999;
}
.label-bare {
  background-color: transparent;
  background-color: rgba(0,0,0,0);
  border: 1px solid #999999;
  color: #999999;
  text-shadow: none;
}
.thread-event {
  padding: 0px 2px 15px;
  margin-left: 60px;
}
.type-icon {
  border-radius: 8px;
  background-color: #f4f4f4;
  padding: 4px 6px;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
  font-size: 1.1em;
  border: 1px solid #eee;
  vertical-align: top;
}
.type-icon.dark {
  border-color: #666;
  background-color: #949494;
}
.thread-event img.avatar {
  vertical-align: middle;
  border-radius: 3px;
  width: auto;
  max-height: 24px;
  margin: -3px 3px 0;
}
.thread-event .description {
  margin-left: -30px;
  padding-top: 6px;
  padding-left: 30px;
  display: inline-block;
  width: 642px;
  width: calc(100% - 95px);
  line-height: 1.4em;
}
.thread-event .type-icon {
  position: relative;
}
.thread-event .type-icon::after {
  content: "";
  border: 16px solid white;
  position: absolute;
  top: -3px;
  bottom: 0;
  left: -3px;
  right: 0;
  z-index: -1;
}
.thread-entry::after {
  content: "";
  border-bottom: 2px solid white;
  display: block;
}
.thread-entry::before {
  content: "";
  display: block;
  border-top: 2px solid white;
}
#ticketThread::before {
  border-left: 2px dotted #ddd;
  border-bottom-color: rgba(0,0,0,0.1);
  position: absolute;
  margin-left: 74px;
  z-index: -1;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#ticketThread {
  z-index: 0;
  position: relative;
  border-bottom: 2px solid #ddd;
  border-bottom-color: rgba(0,0,0,0.1);
}

.freetext-files {
  padding: 10px;
  margin-top: 10px;
  border: 1px dotted #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
}
.freetext-files .file {
  margin-right: 10px;
  display: inline-block;
  width: 48%;
  padding-top: 0.2em;
}
.freetext-files .title {
  font-weight: bold;
  margin-bottom: 0.3em;
  font-size: 1.1em;
}


/* Base table styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #f5f7fa;
    min-height: 100vh;
}

#ticketTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

#ticketTable caption {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 20px 16px;
    font-size: 1.5rem;
    color: #1a237e;
    text-align: left;
    background: #f5f7fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
}

/* Desktop styles */
@media screen and (min-width: 769px) {
    #ticketTable th {
        padding: 16px;
        background: #fff;
        color: #333;
        font-weight: 600;
        border-bottom: 2px solid #eee;
    }

    #ticketTable td {
        padding: 16px;
        border-bottom: 1px solid #eee;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    #ticketTable caption {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
    }
    
    #ticketTable thead {
        display: none;
    }
    
    #ticketTable tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    /* Make the entire row a clickable card */
    #ticketTable tr {
        position: relative;
        display: block;
        background: white;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        transition: all 0.2s ease;
        cursor: pointer;
    }

    /* Add hover and active states */
    #ticketTable tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    #ticketTable tr:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* Create a clickable overlay */
    #ticketTable tr::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 16px;
    }

    /* Card content wrapper */
    #ticketTable tr {
        padding: 20px;
    }
    
    /* Remove table cell styling */
    #ticketTable td {
        display: block;
        padding: 0;
        border: none;
        position: relative;
        z-index: 1;
    }
    
    /* Card header - Ticket ID and Date */
    #ticketTable td:first-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }
    
    #ticketTable td:first-child a {
        font-size: 1.2rem;
        color: #1a237e;
        font-weight: 600;
        text-decoration: none;
    }
    
    #ticketTable td:first-child a::before {
        content: "#";
        color: #1a237e;
        opacity: 0.7;
    }
    
    /* Date styling */
    #ticketTable td:nth-child(2) {
        font-size: 0.9rem;
        color: #666;
        position: absolute;
        top: 24px;
        right: 20px;
    }
    
    /* Status badge */
    #ticketTable td:nth-child(3) {
        display: inline-block;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 4px 12px;
        border-radius: 12px;
        margin-bottom: 12px;
        background: rgba(33, 150, 243, 0.1);
        color: #2196f3;
    }
    
    /* Subject styling */
    #ticketTable td:nth-child(4) {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    #ticketTable td:nth-child(4) .link {
        text-decoration: none;
        color: inherit;
    }
    
    /* Department badge */
    #ticketTable td:nth-child(5) {
        display: inline-block;
        font-size: 0.9rem;
        color: #666;
        font-weight: 500;
        padding: 4px 12px;
        border-radius: 12px;
        background: rgba(0,0,0,0.05);
    }
    
    /* Remove icon classes */
    .Icon.webTicket,
    .Icon.phoneTicket {
        background: none;
        padding: 0;
    }
    
    .Icon.webTicket::before,
    .Icon.phoneTicket::before {
        display: none;
    }
}

/* RTL Support */
.rtl #ticketTable {
    direction: rtl;
}

.rtl #ticketTable caption,
.rtl #ticketTable td {
    text-align: right;
}

.rtl #ticketTable td:nth-child(2) {
    right: auto;
    left: 20px;
}

/* Smaller mobile adjustments */
@media screen and (max-width: 480px) {
    #ticketTable caption {
        font-size: 1.3rem;
        padding: 12px;
    }
    
    #ticketTable tbody {
        padding: 8px;
    }
    
    #ticketTable tr {
        padding: 16px;
    }
    
    #ticketTable td:first-child a {
        font-size: 1.1rem;
    }
    
    #ticketTable td:nth-child(4) {
        font-size: 1rem;
    }
}
scp.css:
body {
  font-family: "Lato", "Helvetica Neue", arial, helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.15px;
  -webkit-font-smoothing:antialiased;
          font-smoothing:antialiased;
}
body, html {
    background:#eee;
    color:#000;
    font-size:14px;
    margin:0;
    padding:0;
}

.link,
a {
    color:#184E81;
    text-decoration:none;
    display: inline-block;
}

a:hover, .link:hover {
    text-decoration: underline;
    cursor: pointer;
}

#nav a:hover,
#sub_nav a:hover,
a:hover i[class^="icon-"],
.tabs a {
    text-decoration: none;
}

div#header a {
    color:#E65524;
}

.centered {
    text-align:center;
}

.full-width {
    width: 100%;
    box-sizing: border-box;
}
.headline {
    margin-bottom: 15px;
}

.clear {
    clear:both;
}

.big {
    font-size: 110%;
}

.faded {
    color: #666;
    color: rgba(0,0,0,0.5);
}
.faded b {
    color: #333;
    color: rgba(0,0,0,0.75);
}
.faded strong {
    color: #444;
    color: rgba(0,0,0,0.6);
}
.faded-more {
    color: #aaa;
    color: rgba(0,0,0,0.35);
}
time[title]:hover {
    text-decoration: underline;
}
a time {
    color: initial;
}

.small[class^="icon-"],
.small[class*=" icon-"] {
    vertical-align: baseline;
    padding-left: 2px;
    font-size: 80%;
}

.strike { text-decoration:line-through; color:red; }

.canned_attachments label, .canned_attachments span .uploads label { padding:3px; padding-right:10px; }
.canned_attachments label { padding-right:3px; }


#breadcrumbs {
    color: #333;
    margin-bottom: 15px;
    background-color:#F4FAFF;
    padding:8px;
}

#breadcrumbs a {
    color: #555;
}

.banner { margin: 0; padding: 5px 5px 11px; margin-bottom: 10px; color: #444; border: 1px solid #444;  background-color: #ddd; border-radius: 4px; }

#msg_info,
.info-banner { margin: 0; padding: 5px; margin-bottom: 10px; color: #3a87ad; border: 1px solid #bce8f1;  background-color: #d9edf7; }

#msg_notice,
.success-banner,
.notice-banner { margin: 0; padding: 5px 10px 5px 36px; margin-bottom: 10px; border: 1px solid #0a0; background: url('../images/icons/ok.png') 10px 50% no-repeat #e0ffe0; }

#msg_warning,
.warning-banner { margin: 0; padding: 5px 10px 5px 36px; margin-bottom: 10px; border: 1px solid #f26522; background: url('../images/icons/alert.png') 10px 50% no-repeat #ffffdd; }

#msg_error,
.error-banner { margin: 0; padding: 5px 10px 5px 36px; margin-bottom: 10px; border: 1px solid #a00; background: url('../images/icons/error.png') 10px 50% no-repeat #fff0f0; }

#notice_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #0a0; background: url('../images/icons/ok.png') 10px 50% no-repeat #e0ffe0; }

#warning_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #f26522; background: url('../images/icons/alert.png') 10px 50% no-repeat #ffffdd; }

#error_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #a00; background: url('../images/icons/error.png') 10px 50% no-repeat #fff0f0; }


#container {
    width:960px;
    margin:0 auto 20px auto;
}

#header {
    height:76px;
    border-left:1px solid #aaa;
    border-right:1px solid #aaa;
    background-color: rgb(248,248,248);
    box-shadow: inset 0 -10px 8px -5px rgba(0,0,0,0.1);
}

#logo {
    display:block;
    text-decoration:none;
    outline:none;
    height: 64px;
    max-width: 400px;
    padding: 5px 0 7px 5px;
}
#logo img {
    max-height: 66px;
    max-width: 300px;
    height: auto;
    width: auto;
    vertical-align: middle;
    outline: none;
    border: none;
}
.valign-helper {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

#header p {
    display:block;
    width:auto;
    max-width:630px;
    margin:10px;
    background:#eee;
    border:1px solid #ccc;
    padding:8px;
    text-align:center;
}

#nav, #sub_nav {
    clear:both;
    margin:0;
    padding:0 20px;
    height:26px;
    line-height:26px;
    border-left:1px solid #aaa;
    border-right:1px solid #aaa;
    white-space: nowrap;
}

#nav .active, #sub_nav > li  {
    padding:0;
    list-style:none;
    display:inline;
}

#nav {
    background:#eee;
    padding-top:4px;
    z-index:200;
    border-top:1px solid #ddd;
    border-bottom:1px solid #c5d9ec;
}

#nav .active, #nav .inactive {
    display:inline-block;
    min-width:95px;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    height:26px;
    color:#555;
    text-align:center;
    position:relative;

    border-radius:5px 5px 0 0;
    border-style: solid;
    border-width: 1px 1px 0;
    border-color: transparent;
}

#nav .inactive a {
    color:#555;
    display:block;
}

#nav .active a {
    color:#004a80;
    font-weight:bold;
}

#nav > li + li {
    margin-left: 8px;
}

#nav li.active, #nav li.inactive:hover {
    box-shadow: 4px -3px 6px -3px rgba(0,0,0,0.3);
    border-color: #c5d9ec;
}
#nav li.active {
    background-color: #f7f7f7;
}
#nav li.inactive:hover {
    background-color: #fbfbfb;
}

#nav li.inactive > ul {
    width:230px;
    background:#fbfbfb;
    margin:0;
    padding:5px 0;
    position:absolute;
    left: -1px;
    z-index:500;
    border-bottom:1px solid #ccc;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    border-radius: 0 0 5px 5px;
    display:block;
    -moz-box-shadow: 3px 3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear, opacity 0.1s linear;
}

#nav .inactive li {
    display:block;
    margin:0;
    padding:0;
    list-style:none;
    text-align:left;
}

#nav li.inactive:hover > ul {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.25s;
}

.ieshadow {
    width:230px;
    background:#000;
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30);
    -ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";
    zoom: 1;
    z-index:300;
    position:absolute;
    top:24px;
    left:0;
}

#nav .inactive li a {
    background-position: 10px 50%;
    background-repeat: no-repeat;
    padding: 0 10px 0 34px;
}

#nav .inactive li a:hover {
    color:#E65524;
    background-color: #fbfbfb;
    background-color: rgba(0,0,0,0.05);

}

/* Custom queue fields with background color should fill cell */
.offset {
    position: relative;
}
.offset .fill {
    display: block;
    padding: 4px!important;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

/***********************************************************************
                 Start Custom Queues Menu System
/***********************************************************************/

#sub_nav {
    background:#f7f7f7;
    border-bottom:1px solid #bebebe;
    padding: 2px 20px;
}
#customQ_nav {
    clear:both;
    margin:0;
    padding:0;
    line-height:26px;
}

#sub_nav > ul {
    margin-top: 0;
}

#sub_nav > li + li > a {
    margin-left: 10px;
}

#customQ_nav .jb-overflowmenu-menu-primary li.item {
    position:relative;
    padding:3px 6px 4px;
    display: inline-block;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    margin:0 2px;
}

#sub_nav > li > a,
#customQ_nav .jb-overflowmenu-menu-primary li.item > a {
    display:inline-block;
    padding:0 10px 0 21px;
    background-position:0 50%;
    background-repeat:no-repeat;
    color:#000;
}

#customQ_nav .jb-overflowmenu-menu-primary li.item:hover {
    padding:2px 5px 3px;
    color:#E65524;
    background-color: #fff;
    border-left:1px solid #bebebe;
    border-top:1px solid #bebebe;
    border-right:1px solid #bebebe;
}

#sub_nav > li > a:hover,
#customQ_nav .jb-overflowmenu-menu-primary li.item:hover > a {
    color:#E65524;
    text-decoration: none;
}

#sub_nav a.active, #sub_nav li.active > a, #sub_nav li.child.active > a
#customQ_nav .jb-overflowmenu-menu-primary li.item > a.active {
    font-weight:bold;
}

#sub_nav li.child.active > a {
    font-weight: 500;
}

#customQ_nav .jb-overflowmenu-menu-primary li.item a > i {
    margin-top:5px;
}

#sub_nav .open     { background-image:url(../images/icons/open.gif) }
#sub_nav .answered { background-image:url(../images/icons/answered.gif) }
#sub_nav .mine     { background-image:url(../images/icons/mine.gif) }
#sub_nav .closed   { background-image:url(../images/icons/closed.gif) }
#sub_nav .search   { background-image:url(../images/icons/search.gif) }
#sub_nav .new      { background-image:url(../images/icons/new.gif) }

/**********************initiate Custom Queues Dropdown******************/

#customQ_nav ul li.item div.customQ-dropdown {
    display:none;
}

#customQ_nav ul li.item:hover div.customQ-dropdown {
    display:block;
}

/***************************************
          Custom Q Dropdown
****************************************/

/*** custom Queue global settings ***/

.customQ-dropdown * {
    padding:0;
    margin:0;
}

.customQ-dropdown a:only-of-type   {
    padding-top:2px;
    padding-bottom:2px;
    display:inline-block;
    text-decoration:none;
    text-transform:capitalize;
}
.customQ-dropdown a.truncate {
    min-width: 140px;
}

.customQ-dropdown ul li {
    list-style:none;
    list-style-image: none;
}

.customQ-dropdown li h4,
.customQ-dropdown li.top-level {
    margin:0;
    background-color:#eee;
    color:#bbb;
    text-align:left;
}
.customQ-dropdown li h4 {
    padding:2px 8px;
}
.customQ-dropdown li.personalQ {
    font-size:1px;
    border-bottom:2px dashed #eee;
    background-color:#fff;
    margin:4px 0;
}

.customQ-dropdown li:not(.personalQ) > span {
    color:#E65524;
    font-weight:bold;
    margin-right:0;
}
.customQ-dropdown li > span {
    color:#E65524;
    font-weight:bold;
    margin-right:18px;
}
.customQ-dropdown li:hover > span {
    color:#fff;
}
.customQ-dropdown li > span.disabled {
    color:#ccc;
    font-weight:normal;
}

/*** custom queue dropdown container ***/

.jb-overflowmenu-menu-primary div.customQ-dropdown {
    border-bottom-right-radius:6px;
    border-bottom-left-radius:6px;
    border: solid 1px #ddd;
    border: solid 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding:3px 0;
    background:#fff;
    text-align: left;
    font-size: 0.95em;
    min-width: 100%;
    list-style: none;
    left:-1px;
    top:31px;
    position:absolute;
    z-index:8;
}


.customQ-dropdown ul.scroll-height {
    max-height:400px;
    border-bottom:1px solid #ddd;
    overflow-y:auto;
    overflow-x:hidden;
    padding:4px 0;
}

/*** set max width for truncating long links ***/

.customQ-dropdown ul li > a {
    max-width:170px;
}

.customQ-dropdown ul li > ul li > a {
    max-width:180px!IMPORTANT;
}

/************ Custom Queue Button Styles *************/

.customQ-dropdown ul li, .customQ-dropdown ul li > a {
    color:#666;
    white-space: nowrap;

}
.customQ-dropdown ul li > a {
    margin-right:60px;
}

.customQ-dropdown ul li:not(.personalQ):hover {
    color:#fff;
    background-color:#08C;
    cursor:pointer;
}
.customQ-dropdown ul li:hover > a {
    color:#fff;
    cursor:pointer;
}
.customQ-dropdown ul li:not(.personalQ) .controlQ {
    position:absolute;
    right:0;
    z-index:20;
}
/************ Custom Queue Button with Sub Queues *************/

.subMenuQ:before, .subMenuQ:after {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    width: 100%;
    background: transparent;
}
.subMenuQ:before {
    bottom: 100%;
}
.subMenuQ:after {
    top: 100%;
}

.customQ-dropdown ul li.subQ > a i {
    padding:2px 6px 0;
    display:inline-block;
    color:#000;
    opacity:0.5
}

.customQ-dropdown ul li.subQ:hover > a i {
    color:#fff;
    opacity:0.5
}

.customQ-dropdown ul li div.editQ {
    padding:0px 8px 0 0;

}
/************ Custom Queue Button without Sub Queues *************/

.customQ-dropdown ul li.subQ > ul li > a:before  {
    content:"";
    padding:0px 4px;

}
.customQ-dropdown ul li.subQ > a:before  {
    content:"";
    padding:0px 4px;

}

.customQ-dropdown ul li:not(.subQ) > a:before  {
    content:"";
    padding:0px 4px;
}

.customQ-dropdown ul li:not(.subQ) > a {
    max-width:190px;
}

/************ Custom Queue Nested Queue Container *************/

.customQ-dropdown ul li.subQ > ul {
    display:none;
    position:absolute;
    top:0;
    left:0px;
    background-color:#fff;
    border:1px solid #ddd;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.customQ-dropdown ul li.subQ:hover > ul {
    display:block;
}

.customQ-dropdown ul li > span.newItemQ {
    padding:1px 8px 0 0;
}
/************ Custom Queue Add/Save a Queue Button *************/

.customQ-dropdown .add-queue a {
    display:block;
    padding:2px 0;
    color:#666!IMPORTANT;
    cursor:pointer;
    white-space: nowrap;
}

.customQ-dropdown .add-queue a span {
    padding:0 10px;
    -webkit-opacity: .4;
    -moz-opacity: .4;
    opacity: .4;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.customQ-dropdown .add-queue a:hover span {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.customQ-dropdown .add-queue a:hover {
    color:#666!IMPORTANT;
    text-decoration: none;
    background-color:#ddd;
}

.customQ-dropdown .add-queue .add {
    color: #16ab39;
}

.no-queue.customQ-dropdown .add-queue a span {
    opacity: 1;
}

/***************** Custom Queue Edit Nav ******************/

/*** icon cog styles ***/

.jb-overflowmenu-menu-primary .customQ-dropdown ul li > .controlQ div.editQ {
    margin-top:2px;
}

.customQ-dropdown ul li > .controlQ div.editQ i {
    color:rgba(255, 255, 255, 0.6);
}

.customQ-dropdown ul li:hover > .controlQ div.editQ i {
    color:rgba(255, 255, 255, 0.2);
}

.customQ-dropdown ul li > .controlQ div.editQ:hover i {
    color:rgba(255, 255, 255, 1);
}

/*** edit nav popout ***/

.customQ-dropdown ul li > .controlQ div.editQ .manageQ a:before  {
    content:none;
    padding:0;
}

.customQ-dropdown .controlQ div.editQ .manageQ a {
    padding-left:0px;
    padding-right:10px;
    white-space: nowrap;
    margin-right:0px!IMPORTANT;

}

.customQ-dropdown .controlQ div.editQ .manageQ a > i {
    margin-left:5px;
    margin-right:5px;
}

.jb-overflowmenu-menu-primary .customQ-dropdown .controlQ div.editQ .manageQ {
    display:none;
    position:absolute;
    top:-1px;
    left:0px;
    margin-left:19px;
}

.jb-overflowmenu-menu-primary .customQ-dropdown .controlQ div.editQ .manageQ ul {
    border:1px solid #ddd;
    min-width:75px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding:0px 0;
    background-color:#fff;
}

/*** edit nav link styles ***/

.customQ-dropdown .controlQ div.editQ:hover .manageQ {
    display:block;
}

.customQ-dropdown .controlQ div.editQ:hover .manageQ i {
    color:#555;
}

.customQ-dropdown .controlQ div.editQ:hover .manageQ a {
    min-width:100px;

}

.customQ-dropdown .controlQ div.editQ:hover .manageQ a:hover i {
    color:#fff;
}

/***************************************
          Overflow Menu
****************************************/

.jb-overflowmenu {
    position: relative;
    height:35px;
    width: 960px;
}


.jb-overflowmenu .placeholder{
    visibility: hidden;
}

.jb-overflowmenu .jb-overflowmenu-helper-postion {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0px;
    overflow: visible;
    position: absolute;
}

/*holds the overflow menu and label*/

.jb-overflowmenu .jb-overflowmenu-menu-primary {
    padding: 0;
    margin: 2px 0 0 0;
    height:30px!IMPORTANT;
}

.jb-overflowmenu .jb-overflowmenu-menu-primary li.item {
    display:inline-block;
    padding:6px 0px;
    margin:0 0px;
}

.jb-overflowmenu .jb-overflowmenu-menu-primary li.item > a {
     padding:4px 10px;
 }

/******** Overflow menu and Dropdown *********/

.jb-overflowmenu .jb-overflowmenu-container {
    left: auto;
    bottom: 0;
    right:  0;
    top: 0;
    border-bottom: 1px solid #bebebe;
    border-left:1px solid #bebebe;
    background-color: #eee;
}

.jb-overflowmenu .jb-overflowmenu-menu-secondary-handle {
    width:12px;
    text-align:center;
    padding:5px;
    line-height:15px;
    color:#666;
}

.jb-overflowmenu .jb-overflowmenu-container > a.jb-overflowmenu-menu-secondary-handle {
    color:#666;
    padding:9px;
    background-color:#eee;
    border-right: 1px solid #aaa;
}
.jb-overflowmenu .jb-overflowmenu-container > a.jb-overflowmenu-menu-secondary-handle:hover {
    color:#000;
    background-color:#ddd;
}

/*** Overflow navigation ***/
.jb-overflowmenu-menu-secondary {
    background-color:#f7f7f7;
    border:1px solid #bebebe;
    padding:5px 0;
}

.jb-overflowmenu .jb-overflowmenu-menu-secondary {
    top: auto;
    bottom: auto;
    left: auto;
    display: none;
    position: absolute;
    z-index: 9;
    padding:0;
    margin:0;
}

/*** Overflow Dropdown ***/
.jb-overflowmenu-menu-secondary li.item:before {
    font-family: "FontAwesome";
    content:"\F0D9";
    padding:5px;
}

.jb-overflowmenu-menu-secondary li.item a > i {
    margin-top:5px;
}

.jb-overflowmenu-menu-secondary li.item {
    position:relative;
    padding:0px 10px;
    display: inline-block;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom:1px solid #bebebe;
    white-space:nowrap;
    list-style:none;
}

.jb-overflowmenu-menu-secondary li.item > a {
    display:inline-block;
    padding:5px 10px 5px 21px;
    background-position:0 50%;
    background-repeat:no-repeat;
    color:#000;
}

.jb-overflowmenu-menu-secondary li.item:hover {
    padding:0 10px;
    color:#E65524;
    background-color: #fff;
    border-left:none;
    border-top:none;
    border-right:none;
}

.jb-overflowmenu-menu-secondary li.item:hover > a {
    color:#E65524;
    text-decoration: none;
}

.jb-overflowmenu-menu-secondary div.customQ-dropdown {
    border-top-left-radius:6px;
    border-top-right-radius:0px;
    border-bottom-right-radius:6px;
    border-bottom-left-radius:6px;
    border: solid 1px #ddd;
    border: solid 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding:12px 0;
    background:#fff;
    font-size: 0.95em;
    min-width: 245px;
    list-style: none;
    left:-247px;
    top:-1px;
    position:absolute;
    z-index:10;
}
.jb-overflowmenu-menu-secondary .customQ-dropdown ul li > .controlQ div.editQ {
    margin-top:2px;
    float:left;
}
.jb-overflowmenu-menu-secondary .customQ-dropdown .controlQ div.editQ .manageQ {
    display:none;
    position:absolute;
    z-index:20;
    top:0;
    left:0px;
    padding:34px 28px;
}
.jb-overflowmenu-menu-secondary .customQ-dropdown .controlQ div.editQ:hover .manageQ {
    display:block;
}

.jb-overflowmenu-menu-secondary .customQ-dropdown .controlQ div.editQ .manageQ ul {
    border:1px solid #ddd;
    min-width:75px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    padding:6px 0;
    background-color:#fff;
}

.jb-overflowmenu-menu-secondary .customQ-dropdown li > span {
    padding:0 5px;
}
/**********************End Custom Queues Dropdown******************/

/*************Qeueue Title Config dropdown options****************/
.configureQ {
    display:block;
    float:left;
    color:rgba(0,0,0,.2);
    margin:4px 0 0 4px;
    cursor:pointer;
}
.configureQ:hover {
     color:rgba(0,0,0,.6);
}

.configureQ > .noclick-dropdown {
    padding:25px 0 0 0;
    margin-top:-20px;
    margin-left:-11px;
}
.configureQ:hover > .noclick-dropdown {
    display:block;

}
.configureQ > .noclick-dropdown:before {
    top: 19px;
    left: 9px;
}
.configureQ > .noclick-dropdown:after {
    top: 20px;
    left: 10px;
}


/*********************/



a.test  { background-image:url(../images/icons/open.gif) }

a.Ticket { background:url(../images/icons/open_tickets.gif) }
a.assignedTickets { background:url(../images/icons/assigned_tickets.gif) }
a.overdueTickets { background:url(../images/icons/overdue_tickets.gif) }
a.answeredTickets { background:url(../images/icons/answered_tickets.gif) }
a.closedTickets { background:url(../images/icons/closed_tickets.gif) }
a.newTicket { background:url(../images/icons/new_ticket.gif) }

a.premade { background:url(../images/icons/premade_reply.gif) }
a.newPremade { background:url(../images/icons/new_premade_reply.gif) }

a.kb { background:url(../images/icons/kb.gif) }
a.faq-categories { background:url(../images/icons/faq-categories.gif) }
a.canned { background:url(../images/icons/canned.gif) }

a.staff { background:url(../images/icons/list_groups.gif) }
a.user { background:url(../images/icons/list_users.gif) }
a.userPref { background:url(../images/icons/user_preferences.gif) }
a.userPasswd { background:url(../images/icons/change_password.gif) }

a.preferences { background:url(../images/icons/settings.gif) }
a.api { background:url(../images/icons/api.png) }
a.newapi { background:url(../images/icons/new_api.png) }

a.ticket-settings { background:url(../images/icons/ticket-settings.gif) }
a.email-settings { background:url(../images/icons/email-settings.gif) }
a.kb-settings { background:url(../images/icons/kb-settings.gif) }
a.alert-settings { background:url(../images/icons/alert-settings.gif) }
a.email-autoresponders { background:url(../images/icons/email-autoresponders.gif) }


a.sla { background:url(../images/icons/slas.png) }
a.newsla { background:url(../images/icons/new_sla.png) }

a.logs { background:url(../images/icons/logs.gif) }

a.emails { background:url(../images/icons/emails.png) }
a.newEmail { background:url(../images/icons/new_email.png) }

a.emailTemplates { background:url(../images/icons/email_templates.png) }
a.newEmailTemplate { background:url(../images/icons/new_email_template.png) }

a.emailFilters { background:url(../images/icons/email_filters.png) }
a.ticketFilters { background:url(../images/icons/ticket_filters.png) }
a.newTicketFilter { background:url(../images/icons/new_ticket_filter.png) }

a.emailSettings { background:url(../images/icons/emails.png) }
a.emailDiagnostic { background:url(../images/icons/email_diagnostic.gif) }
a.banList { background:url(../images/icons/ban_list.gif) }

a.users { background:url(../images/icons/user.gif) }
a.newuser { background:url(../images/icons/new_user.gif) }
a.groups { background:url(../images/icons/list_groups.gif) }
a.teams { background:url(../images/icons/teams.gif) }
a.newgroup { background:url(../images/icons/new_group.gif) }

a.helpTopics { background:url(../images/icons/help_topics.png) }
a.newHelpTopic { background:url(../images/icons/new_help_topic.png) }

a.departments { background:url(../images/icons/list_departments.gif) }
a.newDepartment { background:url(../images/icons/new_department.gif) }


a.pages { background:url(../images/icons/pages.gif) }
a.newPage { background:url(../images/icons/new_page.gif) }

a.forms { background:url(../images/icons/icon-form.png); background-size: 16px 16px; }
a.lists { background:url(../images/icons/icon-list.png); background-size: 16px 16px; }

/* Generic CSS based Icons. use=> <tag class="Icon iconname">text</tag> */

.Icon {
    width: auto;
    padding-left:20px;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 16px;
    display: inline-block;
    vertical-align: middle;
}


a.Icon {  background-repeat: no-repeat;}


a.Icon:hover {
    text-decoration: underline;
}


.Icon.newstaff { background:url(../images/icons/new_user.gif) 0 0 no-repeat; }
.Icon.newteam { background:url(../images/icons/new_team.gif) 0 0 no-repeat; }

.Icon.Ticket { background:url(../images/icons/ticket.gif) 0 2px no-repeat; }
.Icon.webTicket { background:url(../images/icons/ticket_source_web.gif) 0 0 no-repeat; }
.Icon.emailTicket { background:url(../images/icons/ticket_source_email.gif) 0 0 no-repeat; }
.Icon.phoneTicket { background:url(../images/icons/ticket_source_phone.gif) 0 0 no-repeat; }
.Icon.apiTicket { background:url(../images/icons/ticket_source_other.gif) 0 0 no-repeat; }
.Icon.otherTicket { background:url(../images/icons/ticket_source_other.gif) 0 0 no-repeat; }
.Icon.overdueTicket { background:url(../images/icons/overdue_ticket.gif) 0 0 no-repeat; }
.Icon.assignedTicket { background:url(../images/icons/assigned_ticket.gif) 0 0 no-repeat; }
.Icon.lockedTicket { background:url(../images/icons/locked_ticket.gif) 0 0 no-repeat; }
.Icon.editTicket { background-image: url(../images/icons/edit_ticket.png); }

.Icon.staffAssigned { background-image: url(../images/icons/user.gif); }
.Icon.teamAssigned { background-image: url(../images/icons/teams.png); }
.Icon.newCategory { background-image: url(../images/icons/new_category.png); }
.Icon.editCategory { background-image: url(../images/icons/edit_category.png); }
.Icon.deleteCategory { background-image: url(../images/icons/delete_category.png); }
.Icon.newFAQ { background-image: url(../images/icons/new_faq.png); }
.Icon.newReply { background-image: url(../images/icons/new_reply.png); }
.Icon.file { background-image: url(../images/icons/file.gif); }
.Icon.refresh { background-image: url(../images/icons/refresh.gif); }
.Icon.note {
    font-weight: bold;
    font-size: 1em;
    background-image: url(../images/icons/note.gif);
}

.Icon.thread {
    font-weight: bold;
    font-size: 1em;
    background-image: url(../images/icons/thread.gif);
}


.Icon.debugLog { background:url(../images/icons/log_debug.gif) 0 2px no-repeat; }
.Icon.alertLog { background:url(../images/icons/log_alert.gif) 0 2px no-repeat; }
.Icon.errorLog { background:url(../images/icons/log_error.gif) 0 2px no-repeat; }

.Icon.form-add { background:url(../images/icons/icon-form-add.png) 0 0 no-repeat; background-size: 16px 16px; }
.Icon.list-add { background:url(../images/icons/icon-list-add.png) 0 0 no-repeat; background-size: 16px 16px; }


#content {
    clear:both;
    border:1px solid #aaa;
    border-top:none;
    border-bottom:3px solid #bbb;
    padding:10px 10px 20px 10px;
    background:#fff;
}

a {
    color:#184E81;
}

#footer {
    clear:both;
    padding:10px;
    text-align:center;
    font-size:0.9em;
}
table.dashboard-stats {
    text-align:right;
    border-bottom: 2px solid #ddd;
}
table.dashboard-stats tbody:first-child th {
    border-bottom:1px dashed #ddd;
    padding:0 4px 8px;
}
table.dashboard-stats tbody:nth-child(2) tr:nth-child(odd) {
    background-color:#f0faff;
}

table.dashboard-stats tbody:nth-child(2) th {
    padding:5px 8px;
    border-right: 1px solid #ccc;
    color:#999;
}
table.dashboard-stats tbody:nth-child(2) td {
    padding:5px 4px;
    border-right: 1px solid #ccc;
}
table.dashboard-stats tbody:nth-child(2) tr:hover {
    background-color:#FFFFDD;
}
table.dashboard-stats tbody:nth-child(2) tr:hover th {
    color:#000;
}

table { vertical-align:top; }

table.list {
    clear:both;
    background:#ccc;
    margin: 2px 0;
    border-bottom: 1px solid #ccc;
}

table.list caption {
    text-align:left;
    padding:5px;
    background:#929292;
    color:#fff;
    font-weight:bold;
}

table.list thead th {
    background-color:#eee;
    color:#000;
    text-align:left;
    vertical-align:top;
    padding: 4px 5px;
}

table.list th a {
    text-decoration:none;
    color:#000;
    margin: -4px -5px;
    padding: 4px 5px;
}

table.list thead th a { padding-right: 15px; display: block; white-space: nowrap; color: #000; background: url('../images/asc_desc.gif') 100% 50% no-repeat; }

table.list thead th a.asc { background: url('../images/asc.gif') 100% 50% no-repeat #cfe6ff; }
table.list thead th a.desc { background: url('../images/desc.gif') 100% 50% no-repeat #cfe6ff; }
table.list tbody td {
    background:#fff;
    border:1px solid #fff;
    padding:1px;
    vertical-align:top;
}

table.list tbody td { background: #fff; padding: 4px 3px; vertical-align: top; }
table.list tbody tr:nth-child(2n+1) td { background-color: #f0faff; }
table.list tbody tr:hover td { background: #ffe; }
table.list tbody tr:nth-child(2n+1):hover td { background: #ffd; }
/* row highlighting on hover + select */
table.list tbody tr:hover td, table.list tbody tr.highlight td {  background: #FFFFDD; }
/* disabled highlighting on nohover */
table.list tbody tr:hover td.nohover, table.list tbody tr.highlight td.nohover {}


table tfoot td {
    background:#eee;
    padding: 1px;
}

table.list tfoot td {
    padding: 2px;
}

a.refresh {
    display:block;
    float:right;
    width:auto;
    height:16px;
    line-height:16px;
    padding:2px 5px 2px 2px;
    background-position:2px 50%;
    background-repeat:no-repeat;
    padding-left:24px;
    margin-left:10px;
    margin-bottom: 2px;
    border:1px solid #aaa;
    background-image:url(../images/icons/refresh.gif);
}

a.edit, a.print {
    display:block;
    float:right;
    width:auto;
    height:16px;
    line-height:16px;
    padding:2px 5px 2px 2px;
    background-position:2px 50%;
    background-repeat:no-repeat;
    padding-left:24px;
    margin-left:10px;
    border:1px solid #aaa;
    background-image:url(../images/icons/edit_ticket.png);
}

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

.btn_sm {
    padding:2px 5px;
    font-size:0.9em;
    background:url(../images/btn_sm_bg.png) top left repeat-x #f90;
    border:1px solid #777;
    color:#fff;
    font-weight:bold;
}

.search label {
    display:block;
    line-height:25px;
    height:25px;
}

.search input[type=text] {
    height:23px;
    line-height:23px;
    border:1px solid #aaa;
    background:#fff;
    padding:2px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top:3px;
}

.table tr.header td,
.table tr.header th,
.table > thead th {
    font-weight: 400;
    font-size: 1.3em;
    text-align: left;
    min-height: 24px;
}
.table tbody:not(:first-child) th {
  padding-top: 1.4em;
}

.table tr:not(:last-child):not(.header) {
    border-bottom:1px dotted #ddd;
}

.table tr.header {
    border-bottom: 1px dotted #777;
}
.table td:not(:empty) {
    padding: 4px;
    background-color:#fff;
}
.table.two-column tbody tr td:first-child {
    width: 25%;
}
.table > tbody > tr.header + tr td {
  padding-top: 10px;
}
.table td .pull-right {
  margin-right: 15px;
}

.form_table {
    margin-top:3px;
    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
}

.form_table td {
    border-bottom:1px solid #ddd;
    padding: 4px;
}
.form_table td:not(:empty) {
    height: 20px;
}

table.fixed {
    table-layout: fixed;
    width: 100%;
}
table.fixed > thead > tr > th:not([width]),
table.fixed > thead > tr > td:not([width]),
table.fixed > tbody > tr > td:not([width]),
table.fixed > tr > td:not([width]) {
    width: 180px;
}
table.fixed > thead > tr > th + th:not([width]),
table.fixed > thead > tr > td + td:not([width]),
table.fixed > tbody > tr > td + td:not([width]),
table.fixed > tr > td + td:not([width]) {
    width: auto;
}

tr.no_border > td, td.no_border{
  border-style:hidden;
}

td.multi-line {
    vertical-align:top;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

input[type=text], input[type=password], textarea, input {
    padding: 3px 5px;
    font-size: 0.95em;
    font-family: inherit;
    background:#fff;
    border:1px solid #aaa;
    border-radius:4px;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
}

.form_table input[type=radio], .form_table input[type=checkbox] {
    margin-left:0;
    padding-left:0;
}

.form_table .required {
    font-weight:bold;
}

.form_table em {
    font-weight:400;
    color:#666;
}

.error {
    color:#f00;
}

.form_table .error input {
    border:1px solid #f00;
}

.form_table th, div.section-break {
    text-align:left;
    border:1px solid #ccc;
    background:#eee;
    padding:0;
    padding:5px;
}

div.section-break h3 {
    margin: 0;
    padding: 0;
}

.form_table th h4 {
    margin: -0.3em -0.3em;
    color:#fff;
    background:#929292;
    padding: 0.3em;
}

.form_table th em:not(:first-child) {
    margin-top: 0.6em;
}
.form_table th em {
    display:block;
    color:#000;
}

.settings_table {
    margin-top:2px;
    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
}

.settings_table td {
    border-bottom:1px solid #ddd;
}

.settings_table input[type=radio], .settings_table input[type=checkbox] {
    margin-left:0;
    padding-left:0;
}

#content .settings_table th h4 a {
    display:block;
    color:#fff;
}

.settings_table h4 a span {
    font-size:1.2em;
    line-height:1.15em;
    display:inline-block;
    width:14px;
    height:14px;
    overflow:hidden;
    text-align:center;
    color:#444;
    background:#ccc;
    position:relative;
    top:2px;
}

h2 {
    margin:0 0 0.7em;
    padding:0;
    font-size:1.4em;
    color:#0A568E;
}

h2 i {
    font-size:12px;
    top:-2px;
    position:relative;
    color:#0a0;
}

h2 small {
    font-size:.8em;
}
/*h2 span { color:#000; }*/

h3 {
    margin:10px 0 0 0;
    padding:5px 0;
    color:#444;
}

h3.title { color: black; line-height: 1.25em; }
h3.title > .sub-title {
    font-weight: normal;
    font-size: 1.1rem;
}
.tixTitle {
   padding:0 5px 0px;
}
.tixTitle h3 {
   color:#444;
   padding:0;
   margin:0;
   font-size:1.4em;
   font-weight:300;
}

.has_bottom_border {
    padding-bottom:5px;
    border-bottom:1px solid #ddd;
}

.ticket_info th {
    text-align:left;
}

.ticket_info {
    background:#F4FAFF;
}

.ticket_info.custom-data thead th {
    border-bottom: 2px solid #ccc;
    background-color: white;
}
.custom-data th, .custom-data td {
    padding: 3px;
}
table.custom-data {
    margin-bottom: 1em;
}

.right_align { text-align:right; }

h2 .reload {
    display:inline-block;
    width:16px;
    height:16px;
    background:url(../images/icons/refresh.gif) top left no-repeat;
    outline:none;
    text-indent:-9999px;
}

#assigned_message {
    margin:10px 0;
    padding:5px 5px 5px 30px;
    background:url(../images/icons/assigned_ticket.gif) 5px 50% no-repeat #ffd;
    border:1px solid #f90;
}

#ticket_actions {
    padding:5px;
    background:#eee;
    border:1px solid #aaa;
    border-bottom:none;
    margin:0;
}
/***** top page ticket response buttons *****/
a#post-note:hover {
    background-color:#fff9e2;
    color:#555!IMPORTANT;
}

.thread-entry {
    margin-bottom: 15px;
    z-index: 0;
}
.thread-entry::after {
  content: "";
  border-bottom: 2px solid white;
  display: block;
}
.thread-entry::before {
  content: "";
  display: block;
  border-top: 2px solid white;
}
.thread-entry.avatar {
    margin-left: 60px;
}
.thread-entry.message.avatar {
    margin-right: 60px;
    margin-left: 0;
}
.thread-entry > .avatar {
    margin-left: -60px;
    display:inline-block;
    width:48px;
    max-height:48px;
    height:auto;
}
.avatar {
    border-radius: 12%;
}
.thread-entry.message > .avatar {
    margin-left: initial;
    margin-right: -60px;
}
img.avatar {
    border-radius: inherit;
    vertical-align: middle;
    margin-right: 5px;
}
.avatar > img.avatar {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}
.thread-entry .header {
    padding: 8px 0.9em;
    border: 1px solid #ccc;
    border-color: rgba(0,0,0,0.2);
    border-radius: 5px 5px 0 0;
}
.thread-entry.avatar .header:before {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #9cadcc;
  display: inline-block;
}
.thread-entry.avatar .header:after {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  display: inline-block;
  margin-top: 1px;
}

.thread-entry.avatar .header {
    position: relative;
}

.thread-entry.message .header {
    background:#C3D9FF;
}
.thread-entry.avatar.message .header:after {
    border-left: 7px solid #C3D9FF;
    margin-right: 1px;
}

.thread-entry.response .header {
    background:#FFE0B3;
}
.thread-entry.avatar.response .header:before,
.thread-entry.avatar.note .header:before {
    top: 7px;
    left: -8px;
    right: initial;
    border-left: none;
    border-right: 8px solid #CCC;
}
.thread-entry.system .header {
    background-color: #f4f4f4;
}

.thread-entry.avatar.response .header:before {
    border-right-color: #ccb3af;
}
.thread-entry.avatar.note .header:before {
    border-right-color: #ccccb0;
}
.thread-entry.avatar.response .header:after,
.thread-entry.avatar.note .header:after {
    top: 7px;
    left: -8px;
    right: initial;
    border-left: none;
    border-right: 7px solid #FFE0B3;
    margin-left: 1px;
}

.thread-entry.note .header {
    background:#FFE;
}
.thread-entry.avatar.note .header:after {
    border-right-color: #FFE;
}
.thread-entry .header .title {
    max-width: 500px;
    vertical-align: bottom;
    display: inline-block;
    margin-left: 15px;
}
.thread-entry .header .button {
    margin-top: -4px;
}

.thread-entry .thread-body {
    border: 1px solid #ddd;
    border-top: none;
    border-bottom:2px solid #aaa;
    border-radius: 0 0 5px 5px;
}
.thread-body .attachments {
  background-color: #f4faff;
  margin: 0 -0.9em;
  position: relative;
  top: 0.9em;
  padding: 0.3em 0.9em;
  border-top: 1px dotted #ccc;
  border-top-color: rgba(0,0,0,0.2);
  border-radius: 0 0 6px 6px;
}
.thread-body .attachments:empty {
    display: none;
}
.thread-body .attachments .filesize {
  margin-left: 0.5em;
  line-height: 1em;
}
.thread-body .attachment-info {
    margin-right: 10px;
    display: inline-block;
    width: 48%;
}
.thread-body .attachment-info .filename {
  max-width: 80%;
  max-width: calc(100% - 70px);
}

#ticket_notes table td {
    padding:5px;
}

#ticket_notes td {
    background:#f9f9f9;
}

.thread-entry .info, #ticket_notes .info {
    padding:5px;
    background:#F4FAFF;
    height:16px;
    line-height:16px;
}

#ticket_notes .info {
     background:#f9f9f9;
}

#response_options > form {
    padding:0 10px;
}

ul.tabs {
    padding:4px 0 0 20px;
    margin:0;
    text-align:left;
    height:29px;
    border-bottom:1px solid #aaa;
    background:#eef3f8;
    position: relative;
    box-shadow: inset 0 -5px 10px -9px rgba(0,0,0,0.3);
}

#response_options ul.tabs {
}

ul.tabs li {
    margin:0;
    padding:0;
    display:inline-block;
    list-style:none;
    text-align:center;
    min-width:130px;
    font-weight:bold;
    height:28px;
    line-height:20px;
    color:#444;
    display:inline-block;
    outline:none;
    position:relative;
    bottom:1px;
    background:#fbfbfb;
    background-color: rgba(251, 251, 251, 0.5);
    border:1px solid #ccc;
    border:1px solid rgba(204, 204, 204, 0.5);
    border-bottom:none;
    position: relative;
    bottom: 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 95%;
}
ul.tabs li.active {
    color:#184E81;
    background-color:#f9f9f9;
    border:1px solid #aaa;
    border-bottom:none;
    text-align: center;
    border-top:2px solid #81a9d7;
    bottom: 0;
    box-shadow: 4px -1px 6px -3px rgba(0,0,0,0.2);
}
li.error {
  border-top: 2px solid rgba(255, 0, 0, 0.3) !important;
}
li.error.active {
  border-top-color: rgba(255, 0, 0, 0.7) !important;

}
li.error a:before {
  background-color: rgba(255,0,0,0.06);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  position: absolute;
}
ul.tabs li:not(.active) {
    box-shadow: inset 0 -5px 10px -9px rgba(0,0,0,0.2);
    bottom: 2px;
}
ul.tabs.clean li.active {
    background-color: white;
}

ul.tabs li a {
    font-weight: 400;
    line-height: 20px;
    color: #444;
    color: rgba(0,0,0,0.6);
    display: block;
    outline: none;
    padding: 5px 10px;
}
ul.tabs li a:hover {
    text-decoration: none;
}

ul.tabs li.active a {
    font-weight: bold;
    color: #222;
    color: rgba(0,0,0,0.8);
}

ul.tabs li.empty {
    padding: 5px;
    border: none !important;
}

ul.tabs.vertical {
    display: inline-block;
    height: auto;
    border-bottom: initial;
    border-right: 1px solid #aaa;
    padding-left: 0;
    padding-bottom: 40px;
    padding-top: 10px;
    background: transparent;
    box-shadow: inset -5px 0 10px -9px rgba(0,0,0,0.3);
}
ul.tabs.vertical.left {
    float: left;
    margin-right: 9px;
}

ul.tabs.vertical li {
    border:1px solid #ccc;
    border:1px solid rgba(204, 204, 204, 0.5);
    border-right: none;
    min-width: 0;
    display: block;
    border-top-right-radius: 0;
    border-bottom-left-radius: 5px;
    right: 0;
    height: auto;
}
ul.tabs.vertical li:not(.active) {
    box-shadow: inset -5px 0 10px -9px rgba(0,0,0,0.3);
}

ul.tabs.vertical li + li {
    margin-top: 5px;
}

ul.tabs.vertical li.active {
    border: 1px solid #aaa;
    border-left: 2px solid #81a9d7;
    border-right: none;
    right: -1px;
    box-shadow: -1px 4px 6px -3px rgba(0,0,0,0.3);
}

ul.tabs.vertical.left li {
    text-align: right;
}

ul.tabs.vertical li a {
    padding: 5px;
}

ul.tabs.alt {
  height: auto;
  background-color:initial;
  border-bottom:2px solid #ccc;
  border-bottom-color: rgba(0,0,0,0.1);
  box-shadow:none;
}

ul.tabs.alt li {
  width:auto;
  border:none;
  min-width:0;
  box-shadow:none;
  bottom: 1px;
  height: auto;
}

ul.tabs.alt li.active {
  border:none;
  box-shadow:none;
  background-color: transparent;
  border-bottom:2px solid #81a9d7;
}

#response_options .reply_tab.tell {
    color:#a00 !important;
    background-image:url(../images/reminder.png);
    background-position:12px 50%;
    background-repeat:no-repeat;
}

#response_options > form {
    padding:10px 5px;
    background:#f9f9f9;
    border:1px solid #aaa;
    border-top:none;
}

#response_options > form > table {
    table-layout: fixed;
}

#response_options > table td {
    vertical-align:top;
}

#response_options input[type=text], #response_options textarea:not(.richtext) {
    border:1px solid #aaa;
    background:#fff;
    border-radius:4px;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
}

.attachments .uploads div {
    display:inline-block;
    padding-right:20px;
}



.file {
    display:inline-block;
    padding-left:20px;
    margin-right:20px;
    background:url(../images/icons/file.gif) 0 50% no-repeat;
}

.expander {
    line-height:14px;
    display:inline-block;
    width:12px;
    height:12px;
    overflow:hidden;
    text-align:center;
    color:#aaa;
    position:relative;
}

/** Popup Tool Tips and Content **/

.tip_box {
    display:block;
    height:30px;
    position:absolute;
    z-index:10;
}

.tip_arrow {
    display:block;
    position:absolute;
    top:5px;
    left:-12px;
    width:12px;
    z-index:1;
}

.tip_box.right .tip_arrow {
    top: 5px;
    right: -12px;
    left: auto;
}

.flip-x {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.tip_content {
    height:auto !important;
    height:20px;
    min-height:20px;
    padding:10px;
    border:1px solid #666;
    background:#fff;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.5);
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.5);
    box-shadow: 5px 5px 10px -2px rgba(0,0,0,0.5);
    z-index:3;
    position:absolute;
    top:0;
    left:-1px;
    min-width:400px;
    line-height: 1.45rem;
}

.tip_content .links {
    margin-top: 0.7em;
    padding-top: 0.4em;
    border-top: 1px solid #ddd;
}

.tip_content .links a {
    color: #548dd4;
}

.tip_content hr {

    color: #ddd;
    background-color: #ddd;
    height: 1px;
    border: 0;
    padding: 0;
    margin: 0.2em 0;
    width: 100%;
}

.tip_close {
    position:absolute;
    top:0.3em;
    right:0.5em;
    text-decoration:none;
}

.tip_shadow {
    display:none;
    background:#000;
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.60);
    -ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.60)";
    zoom: 1;
    position:absolute;
    z-index:200;
    top:0;
    left:0;
    width:auto !important;
    width:310px;
}

.tip_menu {
    margin:10px 0 0 0;
    padding:5px 0;
    border-top:1px solid #aaa;
    height:16px;
    font-size:0.9em;
}

.tip_menu li {
    display:inline;
    list-style:none;
    margin:0;
    padding:0;
}

.tip_menu li a {
    display:block;
    width:auto;
    float:left;
    padding:0 10px;
    border-right:1px solid #ddd;
    color:#666;
}

.tip_menu li a:hover {
    color:#E76C74;
}

.tip_content form {
    display:none;
    line-height:24px;
}

.tip_content select, .tip_content textarea {
    width:295px;
}

.tip_content textarea {
    padding:0;
    border:1px solid #aaa;
    background:#fff;
}

.tip_content form p {
    margin:0;
    width:auto !important;
    width:295px;
    text-align:right;
    line-height:1.5em;
}

.tip_content h1 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 0.4em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    padding-right: 1.5em;
}

i.help-tip {
    vertical-align: inherit;
    color: #aaa;
    opacity: 0.8;
    text-indent: initial;
}
i.help-tip:hover {
    color: orange !important;
    cursor: pointer;
    opacity: 1;
}

caption > i.help-tip {
    color: white;
    opacity: 0.2;
}
caption:hover > i.help-tip {
    color: orange;
    color: #ffc20f;
    opacity: 1;
}

h2 > i.help-tip {
    vertical-align: middle;
    font-size: .7em;
}
.form_table th h4 i.help-tip {
    color: white;
}

/* Knowledgebase */
/* Knowledgebase */
#kb {
  margin: 2px 0;
  padding: 5px;
  overflow: hidden;
}

#kb li {
  padding:10px 10px 10px 46px;
  height:auto !important;
  overflow:hidden;
  margin:0;
  background-image:url(../images/kb_large_folder.png), url(../images/kb_category_bg.png);
  background-position:0% 0%, top left;
  background-repeat:no-repeat, repeat-x;
  border-bottom:1px solid #ddd;
}
#kb li:last-child {
    border-bottom:none;
}

#kb li h4 {
    padding-bottom:3px;
    margin:0 0 3px 0;
}

#kb li h4 span {
    color:#666;
    font-weight:normal;
}

#kb li h4 a {
  font-size: 14px;
}

#kbSearch {
    margin-bottom: 1em;
}

#kbSearch #query {
    width:200px;
}

#faq {
  clear: both;
  margin: 0;
  padding: 0px 0 10px 0px;
}
#faq ol {
  font-size: 15px;
  margin-left: 0;
  padding-left: 0;
  margin:0!IMPORTANT;
}
#faq ol li {
  list-style: none;
  margin: 0 0;
  padding:10px 0 10px;
  color: #999;
  border-bottom:1px solid #ddd;
}
#faq ol li:last-child {
  border-bottom:none;
}

#faq ol li a {
  display: inline;
  height: 16px;
  font-size:13px;
  line-height: 16px;
  padding-left: 24px;
  background: url('../images/icons/page.png') 0 50% no-repeat;
}

#faq ol li a span {
    font-weight:normal;
    color:#777;
}

#faq ol li:hover {
  background-color:#e9f5ff;
}

time.faq {
    display:inline-block;
    color:#777;
}

.cat-desc {
    padding-top:5px;
    padding-bottom:15px;
}

.cat-manage-bar {
    background:#e3f5ff;
    padding:5px;
    border-bottom:1px solid #777;
}

.cat-manage-bar a {
    display:inline-block;
    margin-right:20px;
}

/* dialog */
.dialog, .dialog * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.dialog {
    position:fixed;
    padding:1em;
    width:500px;
    height:250px;
    height:auto !important;
    background:#f8f8f8;
    border:2px solid #2a67ac;
    display:none;
    z-index:10;
    box-shadow: 0 5px 60px #001;
    border-radius: 5px;
    max-height: 72%;
    min-height: 50px;
    overflow-y: auto;
}
.dialog .table td:not(:empty) {
    background-color:#f8f8f8!IMPORTANT;
}
.dialog#popup {
    width:650px;
}

.dialog.size-normal {
    width:650px !important;
}

.dialog.size-large {
    width:750px !important;
}

.dialog #popup-loading {
    position:absolute;
    text-align:center;
    background:rgba(255,255,255,0.8);
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index:11;
}

.redactor-editor {
    font-size: 1.1em;
}

.dialog#advanced-search {
    width:640px !important;
    height:360px;
}

.dialog hr {
    height: 1px;
    border: 0;
    background: #aaa;
    background: -moz-linear-gradient(left, rgba(170,170,170,0) 0%, rgba(170,170,170,1) 10%, rgba(170,170,170,1) 90%, rgba(170,170,170,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(170,170,170,0)), color-stop(10%,rgba(170,170,170,1)), color-stop(90%,rgba(170,170,170,1)), color-stop(100%,rgba(170,170,170,0))); /* Chrome,Safari4+ */
    background: -o-linear-gradient(left, rgba(170,170,170,0) 0%,rgba(170,170,170,1) 10%,rgba(170,170,170,1) 90%,rgba(170,170,170,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(170,170,170,0) 0%,rgba(170,170,170,1) 10%,rgba(170,170,170,1) 90%,rgba(170,170,170,0) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(170,170,170,0) 0%,rgba(170,170,170,1) 10%,rgba(170,170,170,1) 90%,rgba(170,170,170,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00aaaaaa', endColorstr='#00aaaaaa',GradientType=1 ); /* IE6-9 */
}

.dialog h3 {
    color:#2a67ac;
    font-size:20px;
    margin:0;
    padding:0;
    position: relative;
    padding-right: 3em;
}

.dialog a {
        color:#184E81;
}


.dialog a.close {
    position: absolute;
    display:inline-block;
    right: 1em;
    top: 1em;
    font-size:16px;
    color:#777;
}

.dialog form {
    clear:both;
    width:100%;
}

fieldset {
    margin:0;
    padding:0 0;
    border:none;
}

.custom-field .field-label {
    margin: 0 3px 4px;
}
.custom-field + .custom-field {
    margin-top: 8px;
}
.dialog label.fixed-size {
    width:100px;
    display:inline-block;
    text-align:right;
    padding:10px;
}

.dialog fieldset input:not([type=checkbox]) {
    border:1px solid #ccc;
    background:#fff;
    padding: 3px;
}

.dialog fieldset span.between {
    width:50px;
    display:inline-block;
    text-align:center;
    color:#777;
    font-size:0.75em;
}

.dialog ul.tabs, .dialog ul.tabs * {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.dialog.draggable h3.drag-handle:hover {
    cursor: move;
}

.row {
    display: table-row;
    width: 100%;
}

.row > [class~=" span"],
.row > [class^="span"] {
    padding: 5px 10px;
    vertical-align: top;
    display: table-cell;
}
.row > [class~=" span"] > select,
.row > [class^="span"] > select,
.row > [class~=" span"] > input,
.row > [class^="span"] > input {
    width: 100%;
    max-width: 100%;
}
.row .span3 {
    width: 23%;
    width: calc(25% - 5px);
}
.row .span6 {
    width: 48%;
    width: calc(50% - 5px);
}
.row .span9 {
    width: 73%;
    width: calc(75% - 5px);
}
.row .span12 {
    width: 100%;
}
.flex.row {
    display: initial;
}
.flex.row > [class~=" span"],
.flex.row > [class^="span"] {
    display: inline-block;
}

.search-dropdown {
    padding-left: 19px;
}

.adv-search-field {
    margin-top: 5px !important;
}

.advanced-search fieldset {
  margin-top: 3px;
  position: relative;
}
.advanced-search .adv-search-method:before,
.advanced-search .adv-search-val:before {
  content: "";
  border-left: 2px dotted #ccc;
  border-bottom: 2px dotted #ccc;
  border-color: rgba(0,0,0,0.15);
  width: 10px;
  height: 10px;
  display: inline-block;
  position: absolute;
  left: -16px;
}
.advanced-search .adv-search-method {
  margin-left: 24px;
}
.advanced-search .adv-search-val {
  margin-left: 45px;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.action-button,
.button {
    cursor: pointer;
    box-sizing: content-box;
    display:inline-block;
    vertical-align:bottom;
    margin:0 4px;
    height:22px;
    line-height: 22px;
    border: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
    padding:2px 11px;
    color: #555;
    background-color: #f0f0f0;
    background-color: rgba(0,0,0,0.02);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.95em;
    font-weight: normal;
-webkit-user-select: none;
   -moz-user-select: none;
    -ms-user-select: none;
        user-select: none;
-webkit-transition: opacity 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
        transition: opacity 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
}
input[type="submit"] i,
input[type="reset"] i,
input[type="button"] i,
.action-button i,
.button i {
  margin-right: 0.1em;
}
select + .action-button,
select + .button {
  vertical-align: middle;
}
.dark.button {
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset;
    color: white;
}
.dark.button:hover {
    background-color: rgba(0,0,0,0.8);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.7) inset;
    color: white;
}
.link.button, .link.button:hover, .link.button:active {
    border: none;
    box-shadow: none;
    background-color: transparent;
    color:#184E81;
    padding: 0;
    font-size: inherit;
}

.light .button:hover,
.white.button {
  background-color: rgba(255,255,255,0.7);
  border-color: #555;
}
.light .button:hover,
.white.button:hover {
  background-color: rgba(255,255,255,0.9);
  border-color: black;
}

.button.attached {
  margin-left: -4px;
  margin-right: -4px;
  box-shadow: none !important;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 1px solid #999;
  border-left: none;
  padding: 0 9px;
}
.input.attached {
  height: 24px;
  box-sizing: border-box;
  display: inline-block;
  margin-right: 5px;
}
.input.attached.focus {
  outline-offset: -2px;
  outline-style: auto;
  outline-width: 5px;
  outline-color: -webkit-focus-ring-color;
}
.input.attached input:focus {
  outline-style: none;
}
.input.attached input {
  height: 100%;
  box-sizing: border-box;
  margin-right:0;
  border: 1px solid #999;
  border-right:none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input.attached .button.attached {
  height: 100%;
  box-sizing: border-box;
}

.green.button:hover {
  background-color: inherit;
  box-shadow: 0 0 0 2px #16ab39 inset;
  color: #16ab39;
}

.red.button:hover {
  background-color: inherit;
  box-shadow: 0 0 0 2px #d01919 inset;
  color: #d01919;
}

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

button[type=submit], input[type="submit"], .primary.button {
    font-weight: normal;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.45) inset;
    background-color: rgba(0,0,0,0.07);
}

.save.pending {
  background-color: rgba(255, 174, 0, 0.63);
  box-shadow: 0 0 0 2px rgba(255, 174, 0, 1) inset;
}

.button:hover, .button:active,
.action-button:hover, .action-button:active,
input[type=button]:hover, input[type=button]:active,
input[type=reset]:hover, input[type=reset]:active {
    color: black;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.5) inset;
    background-color: #ddd;
    background-color: rgba(0, 0, 0, 0.08);
}

button[type=submit]:hover, input[type=submit]:hover, input[type=submit]:active {
  color: white;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.7) inset;
  background-color: #888;
  background-color: rgba(0, 0, 0, 0.5);
}

.button:disabled, .action-button:disabled,
button[type=submit]:disabled, input[type=submit]:disabled {
  opacity: 0.6;
}

.save.pending:hover {
  box-shadow: 0 0 0 2px rgba(242, 165, 0, 1) inset;
  background-color: rgba(255, 174, 0, 0.79);
  color: black;
}

input[type=button].small, .small.button, input[type=submit].small {
  font-size: 0.8em;
  height: 18px;
  line-height: 100%;
  font-weight: normal;
}

.action-button.muted {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08) inset;
}

.action-button.muted i.icon-caret-down {
  border: none;
}

.action-button.inline, .button.inline {
    vertical-align: middle;
}

/* Dynamic forms in dialogs */
.dialog th, .tip_box th {
    text-align: left;
}

.dialog th {
    background-color: #eee;
    border: 1px dotted #bbb;
    padding: 0.3em;
    padding-left: 0.3em;
}

#result-count div {
    padding:5px 10px;
    text-align:left;
    font-weight:bold;
    width:100%;
    margin:0 auto;
}

#result-count .success {
    background:#e3ffd8;
    border:1px solid #0a0;
}

#result-count .fail {
    background:#ffd8d8;
    border:1px solid #a00;
}

/* Custom css for datepicker */
.ui-datepicker-trigger {
    display:inline-block;
    border:0;
    padding:0;
    margin-left:2px;
    position:relative;
    top:5px;
    width:16px;
    height:16px;
    background:inherit;
}

/* Upgrader */
#upgrader { width: 100%; height: auto; clear: both;}
.sidebar { width: 220px; padding: 10px; border: 1px solid #C8DDFA; float: right; background: #F7FBFE; }
.sidebar h3 { margin: 0 0 5px 0; padding: 0; text-indent: 32px; background: url('../images/cog.png?1312913866') top left no-repeat; line-height: 24px; color: #2a67ac; }

#upgrader #main { width: 680px; float: left;}
#upgrader #main h1 { margin: 0; padding: 0; font-size: 1.6em; font-weight: normal; }
#upgrader #main h2 { font-size: 1.2em; margin: 0; padding: 0; color:#E65524; }
#upgrader #main h3 { margin: 0; padding: 0; }
#upgrader #main div#intro { padding-bottom: 5px; margin-bottom:10px; border-bottom: 1px solid #aaaaaa; }
#upgrader #main  { padding-bottom: 20px; }

ul.progress { margin: 10px 0 20px 20px; padding: 0; }
ul.progress li { list-style: none; margin: 0; padding: 0 0 2px 24px; background: url('../images/incomplete.png?1312910844'); background-repeat: no-repeat; background-position: 0 50%; }
ul.progress li.yes { background-image: url('../images/yes.png?1312906296'); }
ul.progress li.no { background-image: url('../images/no.png?1312906277'); }

ul.progress li.yes small {color:green; }
ul.progress li.no small {color:red;}

#bar { clear: both; padding-top: 10px; height: 24px; line-height: 24px; text-align: center; border-top: 1px solid #aaaaaa; }
#bar a.unstyled, #bar a.unstyled:hover { font-weight: normal; background: none; border: none; text-decoration: underline; color: #2a67ac; }

#bar.error { background: #ffd; text-align: center; color: #a00; font-weight: bold; }

/* Overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9;
    -webkit-transform: translate3d(0,0,0);
    opacity: 0.5;
}

#loading, #upgrading {
    border:3px solid #777;
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    background: #555 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWUlEQVQYGY2PAQoAIAgDrQf6pf7kC2vCRlRUgrjqXFrMrI3McHdKiwhpiMrTDRL4ghL8geQIsc6EOwbMcsYXhIYyUlvTgXUeS1vzkXWG8OMRXCE0b+AJAtgB7jEc+2fs6e8AAAAASUVORK5CYII=) repeat;
    position: fixed;
    display: none;
    z-index: 3000;
    box-shadow: 0 5px 20px #001;
    vertical-align: middle;
}

#loading h1, #upgrading h4 { margin: 3px 0 0 0; padding: 0; color: #d80; }
#loading, #upgrading { color: white; }

.non-local-image {
    display: inline-block;
    border: 3px dashed #eee;
    border-radius: 5px;
}
.non-local-image:after {
    background: url(../../logo.php) center center no-repeat;
    background-size: cover;
    content: "";
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    display: block;
}

input[type=text]:disabled, input[type=checkbox]:disabled {
    background-color: #eee;
}


input.dp {
    width: 10em;
}

.icon-warning-sign {
    color: #d33;
}

div.patch {
    border-bottom: 1px dotted #ccc;
    padding: 0.1em;
    margin-left: 1em;
}
.patch-title {
    color: #555;
}

div.selected-signature {
    border: 1px solid #ddd;
    border: 1px solid rgba(0,0,0,0.1);
    border-style: none;
    border-top-style: dotted;
    padding: 0.3em 10px 5px;
    height: 2.5em;
    overflow-y: hidden;
    font-size: 15px;
    line-height: 1.25rem;
    background-color: white;
    background-color: rgba(255, 255, 255, 0.9);
}
div.selected-signature .inner {
    opacity: 0.5;
}

.action-button.danger:hover {
    opacity: 1.0;
    border-color: rgba(95,75,0,0.8) !important;
    background: #fc9f41; /* Old browsers */
    color: rgba(255,255,255,0.8) !important;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjOWY0MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZTgxMTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #fc9f41 0%, #ce8114 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fc9f41), color-stop(100%,#ce8114)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fc9f41 0%,#ce8114 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fc9f41 0%,#ce8114 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fc9f41 0%,#ce8114 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #fc9f41 0%,#ce8114 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc9f41', endColorstr='#ce8114',GradientType=0 ); /* IE6-8 */
}
.action-button.danger {
    color: #999 !important;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.5);
    opacity: 0.6;
}

.action-button.overlay {
    float: none;
    position: absolute;
    top: 4px;
    right: 5px;
}
.muted-button:hover {
    border: 1px solid #aaa;
    border: 1px solid rgba(0,0,0,0.3);
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    color: black;
}
.muted-button {
  border-radius: 5px;
  padding: 1px 5px;
  margin: -1px 0 -1px 5px;
  border: 1px solid rgba(0,0,0,0.15);
  color: #666;
  color: rgba(0,0,0,0.5);
  background-color: rgba(0,0,0,0.1);
  background: linear-gradient(0, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
}

.sortable-rows tr td:hover {
    cursor: move;
}

.sortable {
    cursor: move;
}
.row-item {
    border: 1px solid rgba(0, 0, 0, 0.7);
    padding: 9px;
    position: relative;
}
.sortable:hover {
    background: rgba(0, 0, 0, 0.1);
}
.sortable:active {
    background: rgba(0, 0, 0, 0.3);
}
.row-item:first-child {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}
.row-item:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.row-item + .row-item {
    margin-top: -1px;
}

.row-item .delete {
    border-left: 1px solid rgba(0, 0, 0, 0.7);
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
    width: 35px;
}
.row-item .delete:empty {
    visibility: hidden;
}

.row-item .button-group {
    font-size: 105%;
    position: absolute;
    top: 0px;
    right: 0;
    display: inline-block;
}

.row-item .button-group div {
    display: inline-block;
}
.row-item .button-group div a {
    padding: 9px 12px 8px;
}
.row-item .management {
    margin-top: 10px;
    border-top: 1px dashed black;
}

.row-item:first-child .delete {
    border-top-right-radius: 5px;
}
.row-item:last-child .delete {
    border-bottom-right-radius: 5px;
}
.row-item .delete:hover {
    background: #fc9f41; /* Old browsers */
    color: rgba(255,255,255,0.8) !important;
}
#sequences .manage-buttons {
    display: inline-block;
    margin-right: 60px;
}

tr.disabled td,
tr.disabled th {
    opacity: 0.6;
    background: #f5f5f5;
}

.quicknote {
    margin: 10px 0;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
}
.quicknote .header {
    position: relative;
    display: block;
    padding: 10px;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
}
.quicknote .header .header-left {
    display: inline-block;
}
.quicknote .header .header-right {
    display: inline-block;
    text-align: right;
    right: 1em;
    position: absolute;
}
.quicknote .header .options {
    display: inline-block;
    padding-left: 10px;
    margin-left: 5px;
    white-space: nowrap;
    border-left: 1px solid rgba(0,0,0,0.2);
}
.quicknote .body {
    padding: 10px;
}
.quicknote a.action,
.floating-options a.action {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    display: inline-block;
    width: 15px;
    text-align: center;
    padding: 2px 2px;
    color: black !important;
    background-color: #eee;
    background-color: rgba(0, 0, 0, 0.05);
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.quicknote a.action:hover,
.floating-options a.action:hover {
    text-decoration: none;
    border-color: #ff9100;
    background-color: rgba(255, 145, 0, 0.05);
    border-radius: 3px;
}
.quicknote a.action.save-note,
.floating-options a.action.save-note {
    background-color: #bbeebb;
}
#new-note {
    margin-top: 10px;
}

.label {
    display: inline-block;
    position: relative;
    bottom: 1px;
    margin-bottom: 4px;
    font-size: 11px;
    padding: 0px 7px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-weight: bold;
    line-height: 18px;
    color: #ffffff;
    vertical-align: baseline;
    white-space: nowrap;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #999999;
}
.label-bare {
  background-color: transparent;
  background-color: rgba(0,0,0,0);
  border: 1px solid #999999;
  color: #999999;
  text-shadow: none;
}
.label-info {
  background-color: #3a87ad;
}
.label-verified {
    border:1px solid green;
    background-color:transparent;
    background-color:rgba(0,0,0,0);
    color:green;
    text-shadow:none;
}
.label-danger {
    border:1px solid red;
    background-color:transparent;
    background-color:rgba(0,0,0,0);
    color:red;
    text-shadow:none;
}

.tab_content {
    position: relative;
}
.tab_content:not(.left) {
    padding: 12px 0;
}
.left-tabs {
    margin-left: 48px;
}
.floating-options {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 5px;
    padding-right: 5px;
}

i.note-type {
    color: #2a67ac;
    opacity: 0.8;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    padding-right: 8px;
}

table.custom-info th {
    background: transparent;
    border: none;
    padding-top: 10px;
    border-bottom: 1px dotted rgba(0,0,0,0.9);
}
table.custom-info tr {
    vertical-align: top;
}
table.custom-info td {
    border-bottom: 1px dotted rgba(0,0,0,0.3);
}

div.faq-status {
   padding-top:6px;

}

.faq-title {
    font-size: 170%;
    font-weight: 600;
    margin-right:10px;
}
.faq-content {
    width: 670px;
    margin: 0 15px;
}
.faq-category {
    margin:0 15px;
}
.faq-meta section + section {
    margin-top: 15px;
}

button a {
    color: ButtonText !important;
    text-decoration: none;
}
button a:hover {
    text-decoration: none;
}

.bleed {
    padding: 0;
    margin: 0;
}
.doc-desc-title {
    font-weight: bold;
    text-transform: capitalize;
}
.doc-desc-opt {
    font-style: italic;
}

tr:hover i.help-tip,
tr i.help-tip.warning {
    opacity: 0.8 !important;
    color: #ffc20f;
}

.form_table tr i.help-tip {
    opacity: 0.2;
    margin-left: 5px;
}

.ui-datepicker {
    z-index: 200 !important;
}
.draft-saved {
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px 6px;
    border-radius: 3px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    line-height: 14px;
    position: absolute;
    top: 3em;
    right: 0.5em;
}

.delete-draft:hover {
    background-color: #fc9f41 !important;
}

.hidden {
    display: none;
}

.pull-right {
    float: right;
}
.flush-right {
    text-align: right;
}
.flush-left {
    text-align: left;
}
.ltr {
    direction: ltr;
    unicode-bidi: embed;

}
.required {
    font-weight: bold;
}
.truncate {
    width: auto;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.truncate.bleed {
    text-overflow: clip;
}

td.indented {
    padding-left: 20px;
}
.secondary_lang {
    padding:3px 0;
    margin: 3px 0;
    border-bottom: 1px dotted #ccc;
}
.saved-search {
    padding: 5px;
}

.saved-search + .saved-search {
    border-top: 1px dotted #ccc;
}

.accordian {
  margin-bottom: 10px;
}
.accordian dt {
    border-radius: 4px;
    border: 1px solid #ccc;
}
.accordian dt.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.accordian dt, dd {
  padding: 5px;
}
.accordian dt a {
  color: black;
  font-weight: 500;
  display: block;
}
.accordian dt.active a {
  color: #184E81;
  text-decoration: none;
}
.accordian dt:not(.active) a i {
  display: none;
}
.accordian dd {
  border-top: 0;
  font-size: 12px;
  margin-left: 0;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: inset 0px 10px 5px -10px rgba(0,0,0,0.1);
  background-color:rgba(42,103,172,0.1);
}
.accordian dt ~ dt {
  margin-top: 5px;
}
.accordian dd:last-of-type {
   position: relative;
   top: -1px;
}

#topic-forms tbody + tbody td.handle {
  padding-top: 15px;
}

#dynamic-actions > tr > td {
    padding: 5px;
}

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

.form-simple select, .form-simple input, .form-simple textarea {
    margin-left: 0;
}
.sticky.bar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  background-color: white;
  background-color: rgba(255,255,255,0.95);
  padding: 10px 20px;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.sticky.bar .content {
  margin: auto;
}
.sticky.bar.fixed .notsticky {
  display: none !important;
}

.sticky.bar.fixed .inline {
    float:left;
    display:inline;
    margin:5px 10px 0 0;
}

.sticky.bar.opaque {
  background-color: white;
}
.sticky.bar.fixed h2 {
  margin: 0;
}
.sticky.bar:not(.fixed) .sticky.only {
    display:none;
}
.scroll-up {
  display:none;
}
@media screen and (min-width: 1040px) {
  .scroll-up {
    display: inline;
    background-color: #eee;
    background-color: rgba(0,0,0,0.1);
    position: absolute;
    top: 0px;
    right: 20px;
    padding: 8px 8px 5px;
    border-radius: 0 0 5px 5px;
    border: 1px dotted #888;
    border-top: none;
    color: #888 !important;
    box-shadow: 0 3px 8px -6px rgba(0,0,0,0.9);
  }
  .scroll-up:hover {
    background-color: #444;
    background-color: rgba(0,0,0,0.7);
    color: #ddd !important;
    color: rgba(255,255,255,0.8) !important;
    border-color:transparent;
  }
}

.message.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 9px 15px;
  z-index: 10;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  opacity: 0.95;
}
.message.bar.bottom {
  bottom: 0;
  top: auto;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
}
.message.bar .avatar[class*=" oscar-"] {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  background-image: url(../images/oscar-avatars.png);
  background-repeat: no-repeat;
  background-size: 180px 72px;
}
.avatar.oscar-boy {
  background-position: -72px 0;
}
.avatar.oscar-borg {
  background-position: 0 -36px;
}
.message.bar .title {
  font-weight: bold;
  font-size: 1.1em;
}
.message.bar .body {
  margin-left: 42px;
}
.message.bar.warning {
  border-bottom: 3px solid orange;
}
.message.bar.bottom.warning {
  border-bottom: none;
  border-top: 3px solid orange;
}
.message.bar.danger {
  border-bottom: 3px solid red;
}
.message.bar.bottom.danger {
  border-bottom: none;
  border-top: 3px solid red;
}
.message.bar .title .avatar {
    width: auto;
    max-height: 20px;
    border-radius: 3px;
    margin: -4px 0.3em 0;
    vertical-align: middle;
}

/******** Start Thread Preview Styles ********/
.thread-preview {
    max-height:350px;
    overflow-x:auto;
    margin:5px 0px;
}
.thread-preview-entry {
    margin-bottom:5px;
}
.thread-preview-entry:first-child {
    margin-bottom:5px;
    margin-top:5px;
}
/***Types of headers***/
.thread-preview-entry.message .header {
    background-color:#C3D9FF;
}

.thread-preview-entry.response .header {
    background-color:#FFE0B3;
}

.thread-preview-entry.note .header {
    background-color: #ffffdd;
}

.header .thread-name span:first-child {
    color:#000;
}
/***Collapsed CSS***/

.thread-preview-entry.collapsed {
    background-color:#f7f7f7;
    margin-bottom:0;
    cursor:pointer;
}
.thread-preview-entry.collapsed:first-child {
    margin-bottom:0px;
    margin-top:0px;
}
.thread-preview-entry.collapsed .header {
    background-color:#f7f7f7;
    border-bottom:1px solid #f7f7f7;
}
.thread-preview-entry.collapsed.message .header .thread-name span:first-child {
    color:#0088cc;
}

.thread-preview-entry.collapsed.response .header .thread-name span:first-child {
    color:#e65524;
}

.thread-preview-entry.collapsed .thread-body {
    background-color:#f7f7f7;
    padding-top:0;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    height:20px;
    overflow:hidden;
    padding-bottom:10px;
}
.thread-preview-entry.collapsed .thread-body .thread-teaser {
    width: auto;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/***Thread information styles***/
.thread-info {
    width:60%;
}
.thread-preview .thread-name span:first-child {
    font-weight:bold;
}


/***Overrides***/

.thread-preview #thread-items::before {
    display:none;
}
.thread-preview-entry .header {
    padding: 8px 0.9em;
    border: 1px solid #ccc;
    border-color: rgba(0,0,0,0.2);
    border-radius: none;
    cursor:pointer;
}
.thread-preview-entry .thread-body {
    border: 1px solid #ddd;
    border-top: none;
    border-bottom: 1px solid #ccc;
    border-radius: none;
    padding-bottom:10px;
    height:auto;
    overflow:visible;
}
.thread-preview-entry .thread-body .thread-teaser {
    width: auto;
    display: block;
    max-width: 100%;
    white-space:normal;
    overflow: visible;
    text-overflow:inherit;
    vertical-align:bottom;
}
/******** End Thread Preview Styles ********/

#thread-items::before {
  border-left: 2px dotted #ddd;
  border-bottom-color: rgba(0,0,0,0.1);
  position: absolute;
  margin-left: 74px;
  z-index: -1;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#thread-items {
  z-index: 0;
  position: relative;
  padding-top: 0;
  padding-bottom: 15px;
  margin-top: 5px;
}
.thread-event {
    padding: 0 2px 15px;
    margin-left: 60px;
}
.thread-event a {
    color: inherit;
}
.type-icon {
    border-radius: 8px;
    background-color: #f4f4f4;
    padding: 4px 6px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    font-size: 1.1em;
    border: 1px solid #eee;
    vertical-align: top;
    position: relative;
}
.thread-event .type-icon::after {
  content: "";
  border: 16px solid white;
  position: absolute;
  top: -3px;
  bottom: 0;
  left: -3px;
  right: 0;
  z-index: -1;
}
.type-icon.dark {
    border-color: #666;
    background-color: #949494;
}
.thread-event img.avatar {
    vertical-align: middle;
    border-radius: 3px;
    width: auto;
    max-height: 20px;
    margin: -3px 3px 0;
}
.thread-event .description {
    margin-left: -30px;
    padding-top: 6px;
    padding-left: 30px;
    display: inline-block;
    width: 772px;
    width: calc(100% - 95px);
    line-height: 1.4em;
}

.freetext-files {
    padding: 10px;
    margin-top: 10px;
    border: 1px dotted #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
}
.freetext-files .file {
    margin-right: 10px;
    display: inline-block;
    width: 48%;
    padding-top: 0.2em;
}
.freetext-files .title {
    font-weight: bold;
    margin-bottom: 0.3em;
    font-size: 1.1em;
}

/* Form simple grid sizing */
.iblock {
    display: inline-block;
}
form .inset {
    padding: 10px;
}
.dialog form .quick-add {
  min-height: 150px;
}
.span12 {
    width: 100%;
}
.span6 {
    width: 48%;
    width: calc(50% - 10px);
}
.span6 + .span6 {
    margin-left: 1%;
    margin-left: calc(0 + 10px);
}
.form.footer {
    margin-top: 50px;
}
label.checkbox {
    display: block;
    padding-left: 1.3em;
    text-indent: -1.3em;
}
label.inline.checkbox {
    display: inline-block;
}
label.checkbox + label.checkbox {
    margin-top: 0.3em;
}
[class^="icon-"], [class*=" icon-"] {
    /* Fix icons inside label.checkbox */
    text-indent: initial;
}
input[type=checkbox] {
  width: 1em;
  height: 1em;
  box-sizing: content-box;
  padding: 0;
  margin:0;
  margin-right: 0.1em;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
  *overflow: hidden;
}
.vertical-pad {
  margin-top: 3px;
}

input, textarea {
    padding: 3px 5px;
    font-size: 0.95em;
    font-family: inherit;
    border-radius:4px;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
    border: 1px solid #bbb;
}

small {
    font-weight: normal;
    letter-spacing: 0.01px;
}

/* Form layouts */
table.grid.form {
  width: 100%;
  table-layout: fixed;
}
table.grid.form caption {
  font-size: 1.3em;
  font-weight: bold;
  text-align: start;
  padding: 0 9px;
}
.grid.form .cell {
  vertical-align: top;
}
.grid.form .field {
  padding: 5px;
}
.grid.form .field input:not([type=checkbox]),
.grid.form .field textarea,
.grid.form .field select {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}
.grid.form .field > label {
  display: block;
  margin-bottom: 5px;
}

.grid.form .field > .field-hint-text {
  font-style: italic;
  margin: 0 10px 5px 10px;
  opacity: 0.8;
}

#basic_search {
  background-color: #f4f4f4;
  margin: -10px 0;
  margin-bottom: 5px;
  padding: 8px;
  box-shadow: inset 0 4px 12px -10px black;
  border-bottom: 1px dotted #aaa;
  border-radius: 0 0 5px 5px;
}

#basic-ticket-search {
  border: 1px solid #999;
  border-color: rgba(0,0,0,0.45);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
select {
    height:24px;
    line-height:24px;
    max-width:350px;
    border:1px solid #bbb;
    display:inline-block;
    padding:0 4px;
    font-size:13px;
    border-radius:4px;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
}

#cannedResp {
    margin-bottom: 10px;
}

a.attachment {
    padding-left: 1.2em;
    display: block;
}
.sidebar section header {
    font-weight: bold;
    margin-bottom: 0.3em;
}

#resizable-columns {
  margin: 10px 0;
  position: relative;
}
#resizable-columns .column-header:hover {
  cursor: pointer;
}
#resizable-columns .column-header {
  display: inline-block;
  padding: 5px 20px;
  background-color: #ddd;
  margin: 0 1px;
  position: relative;
  text-align: center;
  box-sizing: border-box;
}
#resizable-columns .column-header.ui-resizable:not(.active) {
  opacity: 0.4;
}
#resizable-columns .column-header.ui-resizable.active {
  background-color: #cfe6ff;
}

.ui-resizable-handle {
  cursor: pointer;
  cursor: ew-resize;
  cursor: col-resize;
  display: inline-block;
  vertical-align: bottom;
  position: absolute;
  right: 5px;
  color: #777;
}
.decoration + .decoration {
    margin-top: 10px;
}
.advanced-search .condition-property {
    margin: 7px  0 7px 25px;
}
.conditions .condition + .condition {
    margin-top: 10px;
}
img.avatar + img.avatar {
    margin-left: -14px;
    z-index: 1;
    transition: margin-left 0.1s linear;
}
.avatar.group:hover > img.avatar + img.avatar {
    margin-left: -4px;
}
.avatar.group {
    position: relative;
    z-index: 1;
    transition: margin-right 0.1s linear;
}

.avatar.group.\32:hover { margin-right: -10px; }
.avatar.group.\33:hover { margin-right: -20px; }
.avatar.group.\34:hover { margin-right: -30px; }
.avatar.group.\35:hover { margin-right: -40px; }
.avatar.group.\36:hover { margin-right: -50px; }
.avatar.group.\37:hover { margin-right: -60px; }
.avatar.group.\38:hover { margin-right: -70px; }
.avatar.group.\39:hover { margin-right: -80px; }

/* FIXME: Drop this with select2 4.0.1
 * Fixes a rendering issue on Safari
 */
.select2-search__field{-webkit-appearance: textfield;}
/* Fixes Select2 placeholder bug where
 * placeholder is cutoff.
 */
.select2-selection__rendered, .select2-search,
.select2-search__field:not([placeholder='']){width: 100% !important;}
/* Fix Canned Responses Select2 Height */
#resp_sec .select2-results, #resp_sec .select2-results__choices {
    height: auto;
    max-height: 400px !important;
}
#select2-cannedResp-results {
    height: auto;
    max-height: 400px !important;
}
Note that I can't edit the html.