.hide, .hidden { display: none !important; }

.clear { clear: both; }

* html .clearfix {
    height: 1%; /* IE5-6 */
}
.clearfix {
    display: inline-block; /* IE7xhtml*/
}
html[xmlns] .clearfix { /* O */
    display: block;
}
.clearfix:after { /* FF, O, etc. */
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

hr.clear {
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1px;
}

.query-stacktrace-toggle {
    float: right;
}

/* jQuery UI overrides */
.ui-widget {
    font-family: arial,helvetica,sans-serif !important;
}

textarea.messagebox, #cke_Content, #cke_UpdateContent {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selection-box {
    min-width: 300px;
}

.datepicker {
    max-width: 17em;
    min-width: 10em;
}

.selectowner {
    max-width: 15.8em;
    min-width: 10em;
}

.dashboard-subscription tr.frequency .value input {
    margin-bottom: 0.75em;
}

/* infinite history error message */

.error-load-history {
    background-color: #b32;
    padding: 10px;
    border-radius: 5px;
    color: white;
}

.error-load-history a {
    text-decoration: underline !important;
    color: white !important;
}

/* */

.comment {
    padding-left: 0.5em;
    color: #999;
}

#comp-Ticket-ShowEmailRecord #header {
    top: 0em;
}

#comp-Ticket-ShowEmailRecord #body {
    margin-left: 1em;
    margin-top: 1em;
    overflow: auto;
}

.modal {
  background: rgb(0, 0, 0, .70); 
}

/* manipulate the svg image for selected bookmarks */
svg.bookmark-selected path {
    stroke: black;
    stroke-width: 50;
    fill: #46B346;
}

/* borders for cog icons */
svg.icon-bordered {
    width: 1em !important;
    height: 1em !important;
    border: solid 0.05em #eee;
    border-radius: 0.1em;
    padding: 0.2em 0.25em 0.15em;
}

/* styling for helper text svg images */
svg.icon-helper {
    padding-left: 0.2em;
    color: #666;
}

/* row colouring */
.oddline {
    background-color: rgba(242, 242, 242);
}

.cke_toolgroup a.cke_button {
    padding-left: 3px;
    padding-right: 3px;
}

.cke_toolbar .cke_combo_button,
.cke_toolbar .cke_toolgroup {
    margin-right: 5px;
    margin-bottom: 3px; /* Make "Formatting Styles"/"Paragraph Format" the same height as others */
}

legend {
  font-size: 1rem;
}

/* transaction display page */
h1#transaction-extra-info {
    font-size: 1.4rem;
    padding-top: 0.4rem;
}

/* Do not change background color on click of dropdown items like "Show
 * full headers" in ticket history */
.btn-group.dropdown .dropdown-item:active {
    background-color: transparent;
}

/* Remove the default 2 px top/bottom added by Firefox to give more room
   for the saved search form on the query builder */

#editquery select option {
    padding-top: 0;
    padding-bottom: 0;
}

.w-15 {
    width: 15% !important;
}

ul.ui-autocomplete {
    z-index: 9999;
}

.modal.search-results-filter {
    position: absolute;
    min-width: 300px;
    width: auto;
    height: auto;
    background-color: inherit;
}

.modal.search-results-filter .modal-dialog.modal-sm form {
    min-width: 300px;
}

.modal.search-results-filter .modal-dialog.modal-md form {
    min-width: 500px;
}

.modal.search-results-filter .modal-dialog {
    margin: 0;
}

/* The below fixes modal search filter overflow */
.modal-open .modal {
    overflow: visible;
}
