.pdf-view {
}

/* ------------------------------------------------------------------
 * Search Result List View
 */
.pdf-view > .border-pane > .tray > .search-result-list-view {
    -fx-pref-width: 300;
}

.pdf-view > .border-pane > .tray > .search-result-list-view .list-cell {
    -fx-padding: 10;
    -fx-text-fill: -fx-text-background-color;
}

.pdf-view > .border-pane > .tray > .search-result-list-view .list-cell .page-label {
    -fx-font-weight: bold;
}

.pdf-view > .border-pane > .tray > .search-result-list-view .list-cell .matches-label {
    -fx-font-size: .9em;
    -fx-text-fill: -fx-text-background-color;
    -fx-opacity: .5
}

.pdf-view > .border-pane > .tray > .search-result-list-view:focused .list-cell:focused .matches-label,
.pdf-view > .border-pane > .tray > .search-result-list-view:focused .list-cell:selected .matches-label {
}

.pdf-view > .border-pane > .tray > .search-result-list-view .list-cell .image-view-wrapper {
    -fx-padding: 2px;
    -fx-background-color: white;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, .1), 6, 0.2, 0, 0);;
}

.pdf-view > .border-pane > .tray > .search-result-list-view .list-cell .summary-label {
    -fx-font-size: .9em;
}

/* ------------------------------------------------------------------
 * Thumbnail List View
 */
.pdf-view > .border-pane > .tray > .thumbnail-list-view {
    -fx-pref-width: 200;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell,
.pdf-view > .border-pane > .tray > .thumbnail-list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell {
    -fx-background: rgb(245, 245, 245);
    -fx-background-color: -fx-background;
    -fx-padding: 20 20 10 10;
    -fx-cell-size: -1;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:odd,
.pdf-view > .border-pane > .tray > .thumbnail-list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:odd {
    -fx-background: rgb(245, 245, 245);
    -fx-background-color: -fx-background;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:selected,
.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:selected:focused,
.pdf-view > .border-pane > .tray > .thumbnail-list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:filled:selected {
    -fx-background: rgb(245, 245, 245);
    -fx-table-cell-border-color: derive(-fx-selection-bar, 20%);
    -fx-background-insets: 0px;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell .page-number-label,
.pdf-view > .border-pane > .tray > .thumbnail-list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell .page-number-label,
.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:selected .page-number-label,
.pdf-view > .border-pane > .tray > .thumbnail-list-view:focused > .virtual-flow > .clipped-container > .sheet > .list-cell:selected .page-number-label {
    -fx-text-fill: -fx-text-background-color;
    -fx-font-size: 10px;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell .image-view-wrapper {
    -fx-padding: 2px;
    -fx-background-color: white;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, .1), 6, 0.2, 0, 0);;
}

.pdf-view > .border-pane > .tray > .thumbnail-list-view > .virtual-flow > .clipped-container > .sheet > .list-cell:selected .image-view-wrapper {
    -fx-background-color: -fx-selection-bar, white;
    -fx-background-insets: 0, 2;
    -fx-background-radius: 2px;
}

.pdf-view > .border-pane > .tool-bar > .container > .search-field .ikonli-font-icon {
    -fx-opacity: .66;
    -fx-icon-color: -fx-text-background-color;
    -fx-icon-size: 16px;
}

.pdf-view > .border-pane > .tool-bar > .container > .search-field .ikonli-font-icon:hover {
    -fx-opacity: 1;
}

.pdf-view > .border-pane > .tool-bar > .container > .search-field .ikonli-font-icon:pressed {
    -fx-opacity: 1;
}

.pdf-view > .border-pane > .main-area > .search-navigator {
    -fx-background-color: aliceblue;
    -fx-padding: 5px 10px;
    -fx-fill-height: true;
    -fx-spacing: 10px;
    -fx-alignment: center-right;
}

.pdf-view > .border-pane > .main-area > .search-navigator > .search-result-label {
    -fx-text-fill: -fx-text-background-color;
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button {
    -fx-padding: 2 5;
    -fx-background-radius: 2, 2;
    -fx-background: -fx-base;
    -fx-background-color: gray, -fx-background;
    -fx-background-insets: 0, 1 1 1 1;
    -fx-text-fill: -fx-text-background-color;
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button:hover {
    -fx-background-color: rgba(0, 0, 0, .5), derive(aliceblue, -10%);
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button:pressed {
    -fx-background-color: rgba(0, 0, 0, .5), derive(aliceblue, -5%);
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button:disabled {
    -fx-opacity: 1;
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button .ikonli-font-icon {
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button.previous-search-result {
    -fx-background-radius: 3 0 0 3, 3 0 0 3;
}

.pdf-view > .border-pane > .main-area > .search-navigator > .button-box > .search-bar-button.next-search-result {
    -fx-background-radius: 0 3 3 0, 0 3 3 0;
    -fx-background-insets: 0, 1 1 1 0;
}

.pdf-view > .border-pane > .main-area > .scroll-pane .image-view-wrapper {
    -fx-background-color: white;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, .1), 6, 0.2, 0, 0);
}

.pdf-view > .border-pane > .main-area > .scroll-pane .bouncer {
}

.pdf-view > .border-pane > .tool-bar > .container .tool-bar-button .ikonli-font-icon {
    -fx-icon-size: 18px;
    -fx-icon-color: -fx-text-background-color;
}

.pdf-view > .border-pane > .tool-bar > .container > .page-control > .previous-page-button {
    -fx-background-radius: 3 0 0 3, 3 0 0 3, 2 0 0 2, 1 0 0 1;
}

.pdf-view > .border-pane > .tool-bar > .container > .page-control > .page-number-button {
    -fx-background-radius: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0;
    -fx-background-insets: 0 0 -1 0, 0, 1 0 1 0, 2 0 2 0;
}

.pdf-view > .border-pane > .tool-bar > .container > .page-control > .next-page-button {
    -fx-background-radius: 0 3 3 0, 0 3 3 0, 0 2 2 0, 0 1 1 0;
}

.pdf-view > .border-pane > .tool-bar > .container > .page-control .page-field {
    -fx-background-radius: 0;
    -fx-pref-column-count: 4;
}

.pdf-view > .border-pane > .tool-bar > .container > .page-control .page-field:invalid {
    -fx-background-color: red;
}