table.lasku {
    margin-bottom: 20px;
}

table.lasku tr {

}

table.lasku td {
    border-bottom: 1px solid #d1d1d1;
    padding: 3px;
    color: #353535;
}

table.lasku tr.topic td {
    border-bottom: 1px solid #d1d1d1;
    padding: 7px;
    color: #353535;
    text-align: center;
}

table.lasku th {
    text-align: left;
    font-weight: bold;
    vertical-align: middle;
    height: 20px;
    font-size:14px;
    padding:7px;
    border-bottom: 1px solid #d1d1d1;
}

table.lasku th img {
    vertical-align: bottom;
}

table.aui tbody tr:hover {
    background-color:#f5f5f5;
}

select.h1Size {
   font-size: 24px;
   font-weight: normal;
   line-height: 1.25;
   padding: 0px;
   border: none;
   background: transparent;
   -webkit-appearance: none;
}

/* cases/view */
.case-events {
    overflow: hidden;
}
.case-event {
    width: auto;
    border: 1px solid #ddd;
    padding: 5px;
    margin-bottom: -1px;
    background-color: white;
    overflow: hidden;
    border-radius: 2px;
}
.case-event .case-event-author {
    float: left;
    padding: 5px;
    width: 128px;
    height: 128px;
    border-right: 1px solid #ddd;
    margin-right: -1px;
    text-align: center;
}
.case-event .case-event-author img {
    width: auto;
    max-height: 90px;
}
.case-event .case-event-timestamp {
    float: left;
    padding: 5px;
    font-style: italic;
}
.case-event .case-event-author h5 {
    line-height: 1;
    height: 1.5em;
    overflow: hidden;
}
.case-event .case-event-moved {
    float: right;
    overflow: hidden;
    padding: 5px;
    border-left: 1px solid #ddd;
    margin-left: -1px;
}
.case-event .case-event-moved img {
    display: inline-block;
    height: 50px;
    vertical-align: middle;
}
.case-event .case-event-moved h6 {
    display: inline-block;
    line-height: 50px;
    margin: 0;
    padding: 0;
}
.case-event .case-event-moved .case-event-moved-arrow {
    font-size: 32px;
    margin: -10px 0;
    text-align: left;
    text-indent: 16px;
    color: #888;
}
.case-event .case-event-content {
    overflow: hidden;
    padding: 10px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.case-event .case-event-content .case-event-content-changed {
    color: #888;
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    margin: 1em 0 0 0;
    font-size: 10px;
}
.case-event .case-event-content .case-event-content-changed li {
    display: inline;
}

/* For combobox */

.ui-combobox {
    position: relative;
    display: inline-block;
}
.ui-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* adjust styles for IE 6/7 */
    *height: 1.7em;
    *top: 0.1em;
}
.ui-combobox-input {
    margin: 0;
    padding: 0.29em;
    width: 39em;
}
.ui-menu {
    height: 20em;
    overflow-y: auto;
    overflow-x: hidden;
}

.aui-header .aui-header-logo-wtask .aui-header-logo-device {
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: 100%;
    display: block;
    float: left;
    height: 24px;
    padding: 80px 0;
    text-indent: -9999px;
    text-align: left;
}

.aui-header .aui-header-logo-wtask .aui-header-logo-device {
    width:            100px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAWCAYAAABjadrAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpCNTAzMjA2RTdCQzdFMjExOTc5QUQ0NzREMEU5RjZCRiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGNzA4NUJDMEM3ODMxMUUyOEJEN0JEODZCMUVBNTFFNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGNzA4NUJCRkM3ODMxMUUyOEJEN0JEODZCMUVBNTFFNyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkNERTQ1NEEzODNDN0UyMTE5NzlBRDQ3NEQwRTlGNkJGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkI1MDMyMDZFN0JDN0UyMTE5NzlBRDQ3NEQwRTlGNkJGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+J09bagAAAdVJREFUeNrsV4ttgzAQTboBHcEr0BHSEViBFZwRYAQYIR2BFegIyQjOCC6WDvX16WyaBKQ28klPSo7z7/Huzuy997tscXvJFGSCMkGZoExQJmgLqyZ4QfHXCXKw2RSarKCcYqq9TtgDruI/kv/4HwkylAaVEjdM6BR/TWPNMyroMqGnQ6OFQx/Eb5RCOVsvcz1lirXgOwhmsxHyOK69YV1LhT2os1S6UngBI/gHiUtZA/H2YYbCx6qg89/Wic/4n+YmFIn4GU78lvw8Dm2E32GNKhLnlOfznhrwVcraNwP/MBkmchhLsUjaEkEljDuBPxzmTAfugLg5boD1maDVyWGCNFXg23VASEOE7X5JkBX/WRlTJwgqlPiK9rA6ORpBJiJrS5tIqSdF0CmSkqyuQjCS4uoIQT4x70PgexB3tJ3caXrBlZ61im8tC/O+yd3pIgW7k6LNnxY9NJF61V0orBlFPZwiKfXcm2JWKbq8rxGUwjVogH2VWymIVXQlRX08qJ5PuFud6PpglXbtQBEXWE/7OH2X+QuZ22ylIFRRrE2n1HNvm3eRIq1ZHWnzBXTDcYsizV0lJvWlTpEiaE4nRwX4oByY40Yo1FUkJUsYMyy8yEV8CTAABQfhZPJFYroAAAAASUVORK5CYII=');
}

.aui-theme-default #footer .footer-body {
    background: none;
    color: #707070;
    font-size: 12px;
    margin: 20px 0;
    padding: 0 10px 10px 10px;
    line-height: 1.66666666666667;
    text-align: center;
}

.aui-button-compact {
    margin: -5px;
}

.exec_dashboard {
    border: 1px solid #d1d1d1;
    padding:10px;
    margin-top:30px;
}

.exec_dashboard legend {
    font-size: large;
}

.paging_two_button .ui-button {
    float: left;
    cursor: pointer;
}

.paging_full_numbers .ui-button {
    padding: 2px 6px;
    margin: 0;
    cursor: pointer;
}

.ui-buttonset .ui-button {
    margin-right: -0.1em !important;
}

.paging_full_numbers {
    width: 350px !important;
}

.ui-toolbar {
    padding: 5px;
}

.dataTables_paginate {
    width: auto;
}

.dataTables_info {
    padding-top: 3px;
}

table.display thead th {
    padding: 3px 0px 3px 10px;
    cursor: pointer;
}

div.dataTables_wrapper .ui-widget-header {
    font-weight: normal;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color:white;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    border-top:none;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom:none;
}

/*
 * Sort arrow icon positioning
 */
table.display thead th div.DataTables_sort_wrapper {
    position: relative;
    padding-right: 20px;
    padding-right: 20px;
}

table.display thead th div.DataTables_sort_wrapper span {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 0;
}

.dataTables_wrapper {
    position: relative;
    min-height: 302px;
    _height: 302px;
    clear: both;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 250px;
    margin-left: -125px;
    border: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 11px;
    padding: 15px;
    background-color:#ececec;
    font-weight: 700;
    box-shadow: rgba(0,0,0,0.2) 0 1px 10px;
    z-index: 100;
}


.dataTables_wrapper .dataTables_length {
    float: right;
    text-align: right;
    width: 50%;
}

.dataTables_wrapper .dataTables_filter {
    width: 40%;
    float: left;
    text-align: left;
}

.dataTables_wrapper .dataTables_info {
    width: 50%;
    float: left;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
}

.reports-invoices.by-customer #datatable tr > * {
    text-align: right;
}

.reports-invoices.by-customer #datatable thead > tr:first-child > *,
.reports-invoices.by-customer #datatable tr > *:first-child,
.reports-invoices.by-customer #datatable tr > *:last-child {
    text-align: left;
}

.reports-invoices.by-customer #datatable thead > tr:first-child > * {
    cursor: default !important;
}

.reports-invoices.by-customer #datatable tfoot > tr > * {
    padding-left: 10px;
    padding-right: 10px;
}

.reports-invoices.by-customer .dataTables_wrapper .export-controls {
    float: left;
}

.reports-invoices.by-customer .dataTables_wrapper .dataTables_filter {
    width: auto;
    padding: 4px 35px 0 0;
}


table.display {
    border-collapse: collapse;
    width: 100%;
}

table.display table.display {
    margin: 0;
}

table.display > caption {
    color: #707070;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
    caption-side: top;
    padding: 7px 10px;
    text-align: left;
}
table.display > tbody > tr,
table.display > tfoot > tr {
    background: #fff;
    border-bottom: 1px solid #ccc;
    color: #333;
}

table.display > tbody > tr > th {
    background: #fff;
    color: #333;
}
table.display > thead > tr > th,
table.display > tbody > tr > th,
table.display > thead > tr > td,
table.display > tbody > tr > td,
table.display > tfoot > tr > td {
    padding: 7px 10px;
    text-align: left;
    vertical-align: top;
}
table.display > thead {
    border-bottom: 1px solid #ccc;
}
/* Borders on TBODY and TFOOT don't work in IE - whereas these at least work in IE7 & IE8 */
table.display > tbody > tr:first-child > td,
table.display > tbody > tr:first-child > th,
table.display > tfoot > tr:first-child > td {
    border-top: 1px solid #ccc;
}
table.display > thead > tr > th > ul.menu,
table.display > tbody > tr > th > ul.menu,
table.display > tbody > tr > td > ul.menu,
table.display > tfoot > tr > td > ul.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
table.display > thead > tr > th > ul.menu > li,
table.display > tbody > tr > th > ul.menu > li,
table.display > tbody > tr > td > ul.menu > li,
table.display > tfoot > tr > td > ul.menu > li {
    float: left;
    margin: 0 10px 0 0;
    width: auto;
}

.ui-autocomplete { position: absolute; cursor: default; }
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/* Menu
----------------------------------*/
.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
        background-color: lightgray;
        cursor: pointer;
}

/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
.ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
.ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
.ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
.ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
.ui-corner-right {  -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
.ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }


/* Component containers
----------------------------------*/
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
.ui-widget .ui-widget { font-size: 1em; }
.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd }
.ui-widget-content a { color: #222222; }

table.display > tbody > tr > td.alignRight {text-align: right;}

/* External AUI styles */
.aui-banner.aui-banner-error {
    background-color: #d04437;
    color: #ffffff;
}
.aui-banner {
    border: none;
    border-radius: 0;
    background: none;
    color: #333333;
    margin: 0;
    padding: 10px 40px;
    position: relative;
}
.aui-banner.aui-banner-error a, .aui-banner.aui-banner-error a:link, .aui-banner.aui-banner-error a:visited {
    color: #ffffff;
    text-decoration: underline;
}
.aui-banner.aui-banner-error a, .aui-banner.aui-banner-error a:link, .aui-banner.aui-banner-error a:visited {
    color: #ffffff;
    text-decoration: underline;
}
.aui-banner.aui-banner-error:before {
    background-color: #d04437;
}
.aui-banner:before {
    background-color: #3572b0;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    width: 40px;
}
.aui-banner.aui-banner-error:after {
    content: " ";
    color: #ffffff;
}
.aui-banner:after {
    color: #ffffff;
    width: 16px;
    height: 16px;
    content: " ";
    font-family: "Atlassian Icons";
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAzUlEQVR42q2T3QqCQBBGvcqCehETvVBfM71QsGeJ3kIyeo260DC2b+CThoVdsFo44JzdGfZnDIwxNhE4gB4M5EIX2et1sAI1eBnH4FwLNnOeTj6phUdQgDUp6OZxlhxdoOHEDaSAnuMT78GVrhY3y4kyEekqQFK6SXJFlGrbgbcAUccpJegZ5AsK5PS9BCODcEGBkH78tsCO/u4+gp+MOd2vl1hJEC98xkQ9Y+xvJOJopMbXyi3I6Lf8bu1W/uvPZG+z4laf4AE6uthe/wbkrGRlM25n9wAAAABJRU5ErkJggg==);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    left: 12px;
    line-height: 1;
    margin-top: -8px;
    position: absolute;
    speak: none;
    top: 50%;
}


.ghx-issue-compact .ghx-end .ghx-avatar-img {
    margin-top: -2px;
}
.ghx-issue-compact .ghx-end {
    padding-top: 0;
}
.ghx-detail-head .ghx-controls {
    margin-right: 10px;
}
.ghx-classification-header .ghx-actions {
    margin-right: 5px;
}
#aui-message-bar {
    position: absolute;
}

.ghx-backlog-container.ghx-sprint-planned .ghx-issues {
    padding-bottom: 1px;
}

.ui-draggable-dragging {
    z-index: 1000;
}

.dropzone {
    border: 2px dashed #ccc;
}

.ghx-backlog-container.ghx-sprint-planned .ghx-issues {
    padding-bottom: 30px;
}

.js-issue-list { min-height: 30px;}

.js-issue.ui-selected {
    background: #f9f2eb !important;
}

.ghx-editable input {
    width: 100% !important;
    border: 0;
    margin: -5px 0 -5px -3px;
}
.ghx-editable:after {
    background-position: 4px 50%;
}
.ghx-editable {
    border: 1px dotted #ccc;
}
.ghx-editable:hover {
    border-color: transparent;
}

.ghx-fieldname-description {
    height: 28px;
    white-space: pre;
}
.ghx-fieldname-description textarea {
    height: 8em !important;
}

.ui-datepicker {
    background: inherit;
    color: inherit;
    font-size: 14px;
    font-family: Arial, sans-serif;
    padding: 0;
    width: 250px;
    padding: 0;
    margin: 0;
}

.ui-datepicker .ui-datepicker-header {
    height: 20px;
    margin: 0 0 8px 0;
    padding: 0;
    position:relative;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-next-hover {
    cursor: default;
    height: 20px;
    line-height: 20px;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 38px; /* 40px - border width */
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-prev-hover { left: 0; }
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-next-hover { right: 0; }

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 15px;
    top: 0;
    margin: 0;
}

.ui-datepicker .ui-datepicker-title {
    color: #333;
    font-size: 14px;
    font-weight: normal;
    height: 20px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* jQuery UI Date Picker - Calendar */

.ui-datepicker .ui-datepicker-calendar {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    table-layout: fixed;
    width: 100%;
}

.ui-datepicker .ui-datepicker-calendar th,
.ui-datepicker .ui-datepicker-calendar td,
.ui-datepicker .ui-datepicker-calendar td a,
.ui-datepicker .ui-datepicker-calendar td span {
    line-height: 20px;
}

.ui-datepicker .ui-datepicker-calendar th {
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 1px 0;
    text-align: center;
}

.ui-datepicker .ui-datepicker-calendar td {
    text-align: right;
}

.ui-datepicker .ui-datepicker-calendar td a {
    background: #fff;
    color: #3b73af;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-calendar td a,
.ui-datepicker .ui-datepicker-calendar td span {
    cursor: default;
    display: block;
    font-size: 14px;
    font-family: Arial, sans-serif;
    padding: 0 8px;
}

.ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day a {
    background: #3b73af;
    color: #fff;
}

.ui-datepicker .ui-datepicker-today {
    font-weight: bold;
}

.ui-datepicker .ui-datepicker-unselectable {
    color: #707070;
}

/* jQuery UI Date Picker - Common; note that we need the extra specificity for .ui-datepicker-prev and .ui-datepicker-next to override the demo style sheets */
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:active,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:focus,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next:hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next:active,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next:focus,
.ui-datepicker .ui-datepicker-calendar td a:hover,
.ui-datepicker .ui-datepicker-calendar td a:active,
.ui-datepicker .ui-datepicker-calendar td a:focus {
    outline: 1px solid #707070;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-prev.ui-state-disabled,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-disabled:hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-disabled:active,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-disabled:focus,
.ui-datepicker .ui-datepicker-next.ui-state-disabled,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-disabled:hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-disabled:active,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-disabled:focus {
    color: #707070;
    outline: none;
}

div.select2-container {
    display: block;
}

.ghx-detail-view .ghx-sizer {

}
#ghx-detail-view .ui-resizable-handle {
    position: relative;
    z-index: 9000;
    margin: -40px 0 0 0;
    width: 40px;
    height: 40px;
    background: transparent url('../../ext/aui/css/ghx-grabbage2.png') no-repeat 50% 50%;
    cursor: ew-resize;
}

.aui-header .aui-quicksearch input {
    width: 340px;
}

.ui-autocomplete {
    max-width: 340px !important;
}
span.quicksearch-hit {
    display: block !important;
    height: 36px !important;
    line-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 36px !important;
    overflow: hidden !important;
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: none;
}
span.quicksearch-hit.hit-sale {
    background-image: url('ui-hit-sale.png');
}
span.quicksearch-hit.hit-case {
    background-image: url('ui-hit-case.png');
}
span.quicksearch-hit.hit-contact {
    background-image: url('ui-hit-contact.png');
}
span.quicksearch-hit.hit-account {
    background-image: url('ui-hit-account.png');
}
.ui-menu .ui-menu-item.ui-state-focus {
    background: #a6c9e2 !important;
}

.aui-page-header-filters {
    display: inline-block;
    margin: 5px 0;
    vertical-align: top;
    white-space: nowrap;
}
.aui-page-header-filters .aui-filter {
    background: #f2f2f2;
    background: -webkit-linear-gradient(top, #fff 0%, #f2f2f2 100%);
    background:    -moz-linear-gradient(top, #fff 0%, #f2f2f2 100%);
    background:     -ms-linear-gradient(top, #fff 0%, #f2f2f2 100%);
    background:      -o-linear-gradient(top, #fff 0%, #f2f2f2 100%);
    background:         linear-gradient(to bottom, #fff 0%, #f2f2f2 100%);
    border: 1px solid #ccc;
    border-radius: 3.01px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
    font-variant: normal;
    font-weight: normal;
    height: 2.1428571428571em; /* 30px - using ems so the fields increase in line with user specified font-sizes */
    line-height: 1.4285714285714;
    margin: 0;
    padding: 4px 10px;
    text-decoration: none;
    text-shadow: 0 1px 0 white;
    vertical-align: baseline;
    white-space: nowrap;
}
.aui-page-header-filters .aui-filter select {
    padding: 4px 0;
    margin: -4px 0;
    border: none;
    background: transparent;
}

#ghx-detail-contents .ghx-loader {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 32px;
    height: 32px;
    background: transparent url('loader.gif') no-repeat 50% 50%;
    z-index: 999;
    display: none;
}
#ghx-detail-contents.loading .ghx-loader {
    display: block !important;
}
#ghx-backlog .ghx-backlog-container {
    border-width: 0 1px 1px 0;
}

a.user-hover.user-avatar, span.user-hover.user-avatar {
    background-size: 16px;
}

body.is-firefox dd.ghx-detail-description.ghx-fieldname-description,
body.is-firefox .ghx-detail-nav .ghx-detail-section .ghx-container {
    white-space: pre-wrap;
}

form.aui .aui-buttons .aui-button {
    margin-left: 0 !important;
    border-left-width: 1px !important;
    margin-right: -1px !important;
}

#tabs-billing table tr.deleted td {
    color: #999;
    background: #eee;
}



.account-services {
    border: 1px solid #ccc;
    overflow: hidden;
    clear: both;
    display: block;
    overflow: hidden;
    max-width: 600px;
    margin: 5px 0;
}
.account-services .account-service {
    display: inline-block;
    border: 1px solid #ccc;
    background: #eee;
    color: #999;
    border-radius: 2px;
    margin: 3px;
    padding: 2px 8px;
}
.account-services .account-service input {
    display: none;
}
.account-services .account-service.checked {
    background: #009100;
    color: #fff;
    border-color: #14892c;
}


/* gantt for holidays */
table.gantt {
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
}
table.gantt tbody tr:nth-child(even) td {
    background: #eee;
}
table.gantt td, table.gantt th {
    text-align: center;
    padding: 0;
    vertical-align: middle;
}
table.gantt td.row-title {
    text-align: right;
    font-weight: bold;
    padding-right: 6px;
    border-right: 1px solid #ccc;
}
table.gantt td.now,
table.gantt th.now {
    background: #a6c9e2 !important;
}
table.gantt thead th {
    border-bottom: 1px solid #ccc;
}
table.gantt td.yes {
}
table.gantt td.yes span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background: #d04437;
    overflow: hidden;
    margin-top: 3px;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}
table.gantt tbody tr td {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}
table.gantt tbody tr:hover td {
    border-top: 1px solid #999 !important;
    border-bottom: 1px solid #999 !important;
}

table.aui.columns-right tr > *:not(:first-child) {
    text-align: right;
}

#reports-invoices-byhours thead > tr > .center {
    text-align: center;
    background: #f5f5f5;
}

.paginator {
    padding: 5px 10px;
}
.paginator .page {
    display: inline-block;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #eee;
}
.paginator .current {
    background: #a6c9e2;
}


tr.subrec td {
    font-size: 80%;
}
tr.mainrec td {
    background: #a6c9e2;
    font-weight: bold;
    border-top: 2px solid #000;
}