/* search widget styles */

/* Force scrollbars on iPad to show */
#acs\.view\.SearchPanelId .x-grid-panel ::-webkit-scrollbar,
#ss_tree_id .x-grid-panel ::-webkit-scrollbar
 {
    -webkit-appearance: none;
    width: 8px;
}

#acs\.view\.SearchPanelId .x-grid-panel ::-webkit-scrollbar-track,
#ss_tree_id .x-grid-panel ::-webkit-scrollbar-track {
    background-color: #aeb6be;
}
#acs\.view\.SearchPanelId .x-grid-panel ::-webkit-scrollbar-thumb,
#ss_tree_id .x-grid-panel ::-webkit-scrollbar-thumb {
    background-color: #dddee0;
}

#acs\.view\.SearchPanelId .x-grid3 .x-grid3-row:last-child,
#ss_tree_id .x-grid3 .x-grid3-row:last-child {
/* keep bottom border for search results */
  border-bottom-width: 1px;
}

.x-tree-node-libicon {
  background-image: url(/static/images/libraryswitcher.png) !important; background-position: -80px 0 !important; width: 16px !important;
}

.search_panel .x-fieldset {
    background-color: #fbf9f852;
}

/* result location style */
.grid_result_location
{
	/*overflow:auto;*/
	overflow:hidden;
	width:100%;
	padding:0 0 0 0;
}

.grid_result_location div span {
   padding:0 3px 0 3px;
   vertical-align:bottom;
}

.grid_result_location div span a{
	 color: #385F95;
	 text-decoration:none;
}

.grid_result_location div span a:hover{
	 color: #385F95;
	 text-decoration:underline;
}
.grid_result_location div img {
	vertical-align:bottom;
}

/* grid title marker */
.grid_result_title {
	 color: #385F95;
	 text-decoration:none;
}

.search-results-grid .x-grid3-row-over .grid_result_title
{
	 color: #385F95;
	 text-decoration:underline;
	 cursor:pointer;
}

.search-results-grid .x-grid3-row-over
{
	 cursor:text;
}

/* grid folder style */
.grid_result_folders
{
	overflow:auto;
	height:60px;
	width:100%;
	white-space:normal !important;
}

/* various toolbar buttons */
.srch_expand .x-btn-text {
    background-image: url("/static/images/details.png") !important;
}

.clear_grid_filters {
    background-image: url("/static/images/tb_clear_filter.png") !important;
}

.srch_resize_expand{
    background-image: url("/static/images/expand.gif") !important;
    background-repeat:none;
    padding:2px;
}

.srch_resize_collapse{
    background-image: url("/static/images/collapse.gif") !important;
}

.srch_not_indexed{
	background-image:url("/static/images/no_search.gif") !important;
}

.srch_export{
    background-image: url("/static/images/ext/xls.png") !important;
    background-repeat: no-repeat;
}
/* location has filter */
.srch_has_filter *
{
	color:blue !important;
}

/* folder categorie tree decorations */

/* tree node text colouring */
.node_heading *
{
	font-weight:bold;
	color: #BA4743 !important;;
}

.node_heading_2 *
{
	font-weight:bold;
	color: #004292 !important;
}

.node_heading_3 *
{
	font-weight:bold;
}
/* various icons for branches on a tree */

.x-tree-node img.fldr_real, .x-tree-node-collapsed img.fldr_real,
.x-tree-node img.fldr_link, .x-tree-node-collapsed img.fldr_link,
.x-tree-node img.fldr_marker, .x-tree-node-collapsed img.fldr_marker,
.x-tree-node img.fldr_user, .x-tree-node-collapsed img.fldr_user
{
    background-image: url(/static/images/libraryswitcher.png) !important; background-position: -32px 0;
}

.x-tree-node-expanded img.fldr_real,
.x-tree-node-expanded img.fldr_link,
.x-tree-node-expanded img.fldr_marker,
.x-tree-node-expanded img.fldr_user
{
    background-image: url("/static/images/folder_open.png");
    background-repeat: no-repeat;
}

.x-tree-node img.fldr_user, .x-tree-node-collapsed img.fldr_user{
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.x-tree-node-expanded img.fldr_user {
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.x-tree-node img.fldr_cat, .x-tree-node-collapsed img.fldr_cat{
    background-image:url(/static/images/libraryswitcher.png); background-position: -240px 0;
}

.x-tree-node-expanded img.fldr_cat {
    background-image: url("/static/images/category.png");
    background-repeat: no-repeat;
}

.fldr_cat {
  background-image:url(/static/images/libraryswitcher.png) !important; background-position: -240px 0 !important;
}

.x-tree-node img.fldr_consolidated, .x-tree-node-collapsed img.fldr_consolidated{
    background-image:url(/static/images/libraryswitcher.png); background-position: -384px 0;
}

.x-tree-node-expanded img.fldr_consolidated {
    background-image: url("/static/images/consolidated.gif");
    background-repeat: no-repeat;
}

.x-tree-node img.fldr_download, .x-tree-node-collapsed img.fldr_download{
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.x-tree-node-expanded img.fldr_download {
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.x-tree-node img.fldr_workspace, .x-tree-node-collapsed img.fldr_workspace{
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.x-tree-node-expanded img.fldr_workspace {
    background-image: url("/static/images/workspace.gif");
    background-repeat: no-repeat;
}

.book_img {
	background-image:url(/static/images/libraryswitcher.png) !important; background-position: -16px 0 !important;
}

.node_is_checked *
{
	color:blue !important;
}

.preview_message {
    border-top:1px solid #aeb6be;
    border-bottom:1px solid #aeb6be;
}

IFRAME {
	border: none !important;
	border-bottom-style:none !important;
}

.delete_icon {
	background:url("/static/images/tb_delete.png") no-repeat 0 0 !important;
}

.edit_icon {
	background:url("/static/images/tb_edit.png") no-repeat 0 0 !important;
}

.save_icon {
	background:url("/static/images/save.png") no-repeat 0 0 !important;
}

.x-tree-node img.group_node, .x-tree-node-collapsed img.group_node, .x-tree-node-expanded img.group_node{
    background-image: url("/static/images/groups.png");
    background-repeat: no-repeat;
}

.x-tree-node img.user_node, .x-tree-node-collapsed img.user_node, .x-tree-node-expanded img.user_node{
    background-image: url("/static/images/users.png");
    background-repeat: no-repeat;
}

.message_html{
    height:100px;
    padding:20px;
    background-color:#FFFFFF;
    font-weight:bold;
    font-style:italic;
}

.bodyStyle {
    padding:5px;
    border-top:1px solid #aeb6be;
    border-bottom:1px solid #aeb6be;
}

/* Match list: each option with its one-line hint. */
.search-modifier-list .x-combo-list-item {
    white-space: normal;
}

.search-modifier-list .search-modifier-name {
    display: block;
}

.search-modifier-list .search-modifier-tip {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--acs-text-secondary, #5a6370);
}

/* The line under the Match combo on the Search page: the chosen option's hint, styled like a refused search's action
   text. The Text Filters block is a box item, which the start page justifies, so the text is aligned left. The side
   padding matches the combo's text inset (1px border + 6px padding) so the hint lines up with the chosen option. */
.x-form-display-field.search-modifier-hint {
    padding: 0 7px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--acs-text-secondary, #5a6370);
    white-space: normal;
    text-align: left;
}

/* The search field's clear trigger shows only while there is text (ext-acs-search-field.js). */
.x-form-field-wrap.search-field-empty .x-form-clear-trigger {
    display: none !important;
}

/* The two triggers sit in a row. ExtJS's twin-trigger container is a block, which stacks the
   buttons once both show and pushes the magnifier below the field. The row's first trigger drops
   the rounded right corner the theme gives a lone trigger. */
.search-wrap .x-form-twin-triggers {
    display: inline-flex !important;
    flex-direction: row !important;
    height: 100% !important;
    width: auto !important;
}

/* Specific enough to beat the start page rule that sizes every search panel trigger to 25px. */
.x-form-field-wrap.search-wrap .x-form-twin-triggers .x-form-trigger {
    height: 100% !important;
    width: 20px !important;
    flex: 0 0 20px !important;
}

.search-wrap .x-form-twin-triggers .x-form-trigger:not(:last-child) {
    border-radius: 0 !important;
}

/* A book title in a results table stays on one line and ends in "..."; the Search page table clamps it to two
   lines instead. */
.search-result-table-book {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* A refused search: the message right under the search field, in three short rows: the problem in bold red, the action
   in the secondary colour, the tips link. The field's red outline comes from the theme's invalid-field rule. The
   Text Filters block is a box item, which the start page justifies, so the text is aligned left here. */
.search-refusal {
    margin: 6px 0 4px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--acs-text-secondary, #5a6370);
    white-space: normal;
    text-align: left;
}

.search-refusal-problem {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--acs-error, #c53030);
}

/* "See search tips" reads as a link, though it is a button that opens the tips in the results
   pane. Keyboard focus also underlines it, since the theme removes focus outlines. */
.search-refusal-tips {
    display: block;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--acs-link-color, #00aeef);
    cursor: pointer;
}

.search-refusal-tips:hover {
    color: var(--acs-link-hover, #00c2ff);
}

.search-refusal-tips:focus-visible {
    color: var(--acs-link-hover, #00c2ff);
    text-decoration: underline;
}
