/*** PANEL ***/

/*
* `.transparent-panel`
*/
#panel.transparent-panel {
    background: transparent;
    transition-duration: 500ms;
}

/*
* `.dark-panel`
*/
#panel.dark-panel {
    background-color: rgba(100, 100, 100, 0.35);
    box-shadow: none;
    transition-duration: 500ms;
}

/*
* `.light-panel`
*/
#panel.light-panel {
    background-color: rgba(200, 200, 200, 0.2);
    box-shadow: none;
    transition-duration: 500ms;
}

/*
* `.contrasted-panel`
*/
#panel.contrasted-panel {
    background-color: transparent;
    box-shadow: none;
    transition-duration: 500ms;
}

.contrasted-panel .panel-button,
.contrasted-panel .clock,
.contrasted-panel .clock-display StIcon {
    color: #ffffff;
    border-radius: 14px;
    border: 3px solid transparent;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}


.contrasted-panel .clock-display StIcon {
    padding: 8px;
    margin: 0;
}

.contrasted-panel .panel-button:hover,
.contrasted-panel .panel-button:hover .clock {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
}

.contrasted-panel .clock-display {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.contrasted-panel .clock {
    margin: 0 !important;
}


/*** DASH-TO-DOCK ***/

/*
* `.transparent-dash`
*/
.transparent-dash .dash-background {
    background-color: transparent !important;
}

/*
* `.light-dash`
*/
.light-dash .dash-background {
    background-color: rgba(200, 200, 200, 0.2) !important;
}

/*
* `.dark-dash`
*/
.dark-dash .dash-background {
    background-color: rgba(100, 100, 100, 0.35) !important;
}


/*** OVERVIEW ***/

/*
* Add transparency to the workspace animation (between workspaces)
*/
.blurred-overview .workspace-animation {
    background-color: transparent !important;
}


/*
* `.overview-components-transparent`
*/

.overview-components-transparent .workspace-thumbnail {
    border: 1px solid rgba(100, 100, 100, 0.35);
}

.overview-components-transparent .search-entry {
    color: white;
    background-color: rgba(0, 0, 0, 0);
    border-color: transparent;
    box-shadow: none;
}

.overview-components-transparent .search-entry .search-entry-icon {
    color: rgba(255, 255, 255, 0.65);
}

.overview-components-transparent .overview-tile,
.overview-components-transparent .overview-icon,
.overview-components-transparent .grid-search-result,
.overview-components-transparent .list-search-result,
.overview-components-transparent .search-provider-icon,
/* prevents the extension from interfering with Just Perfection */
.overview-components-transparent.just-perfection .search-section-content,
/* remove the rectangular background from the dash */
.overview-components-transparent #dash .overview-tile,
.overview-components-transparent #dashtopanelScrollview .overview-tile {
    background-color: transparent;
}

.overview-components-transparent .workspace-thumbnail,
.overview-components-transparent .search-section-content,
.overview-components-transparent .overview-tile.app-folder,
.overview-components-transparent .page-navigation-arrow,
.overview-components-transparent .app-folder-dialog .icon-button,
/* this shouldn't apply to Dash to Dock */
.overview-components-transparent StBoxLayout>StWidget>#dash>.dash-background {
    background-color: rgba(0, 0, 0, 0);
}

.overview-components-transparent .overview-tile:hover,
.overview-components-transparent .overview-tile:focus,
.overview-components-transparent .overview-tile:selected,
.overview-components-transparent .overview-tile:highlighted,
.overview-components-transparent .grid-search-result:hover,
.overview-components-transparent .grid-search-result:focus,
.overview-components-transparent .grid-search-result:selected,
.overview-components-transparent .grid-search-result:highlighted,
.overview-components-transparent .list-search-result:hover,
.overview-components-transparent .list-search-result:focus,
.overview-components-transparent .list-search-result:selected,
.overview-components-transparent .list-search-result:highlighted,
.overview-components-transparent .search-provider-icon:hover,
.overview-components-transparent .search-provider-icon:focus,
.overview-components-transparent .page-navigation-arrow:hover,
.overview-components-transparent .page-navigation-arrow:focus,
.overview-components-transparent .app-folder-dialog .icon-button:hover,
.overview-components-transparent .app-folder-dialog .icon-button:focus,
.overview-components-transparent #dash .overview-tile:hover .overview-icon,
.overview-components-transparent #dash .overview-tile:focus .overview-icon,
.overview-components-transparent #dash .show-apps:hover .overview-icon,
.overview-components-transparent #dash .show-apps:focus .overview-icon {
    background-color: rgba(230, 230, 230, 0.08);
}

.overview-components-transparent .overview-tile:active,
.overview-components-transparent .overview-tile:focus:hover,
.overview-components-transparent .overview-tile:drop,
.overview-components-transparent .overview-tile:selected:hover,
.overview-components-transparent .overview-tile:highlighted:hover,
.overview-components-transparent .grid-search-result:active,
.overview-components-transparent .grid-search-result:focus:hover,
.overview-components-transparent .grid-search-result:selected:hover,
.overview-components-transparent .grid-search-result:highlighted:hover,
.overview-components-transparent .list-search-result:active,
.overview-components-transparent .list-search-result:focus:hover,
.overview-components-transparent .list-search-result:selected:hover,
.overview-components-transparent .list-search-result:highlighted:hover,
.overview-components-transparent .search-provider-icon:active,
.overview-components-transparent .search-provider-icon:focus:hover,
.overview-components-transparent .page-navigation-arrow:active,
.overview-components-transparent .page-navigation-arrow:focus:hover,
.overview-components-transparent .app-folder-dialog .icon-button:active,
.overview-components-transparent .app-folder-dialog .icon-button:focus:hover,
.overview-components-transparent #dash .overview-tile:active .overview-icon,
.overview-components-transparent #dash .overview-tile:focus:hover .overview-icon,
.overview-components-transparent #dash .overview-tile:drop .overview-icon,
.overview-components-transparent #dash .show-apps:checked .overview-icon {
    background-color: rgba(230, 230, 230, 0.12);
}

.overview-components-transparent .overview-tile:focus:active,
.overview-components-transparent .overview-tile:selected:active,
.overview-components-transparent .overview-tile:highlighted:active,
.overview-components-transparent .grid-search-result:focus:active,
.overview-components-transparent .grid-search-result:selected:active,
.overview-components-transparent .grid-search-result:highlighted:active,
.overview-components-transparent .list-search-result:focus:active,
.overview-components-transparent .list-search-result:selected:active,
.overview-components-transparent .list-search-result:highlighted:active,
.overview-components-transparent .search-provider-icon:focus:active,
.overview-components-transparent .page-navigation-arrow:focus:active,
.overview-components-transparent .app-folder-dialog .icon-button:focus:active,
.overview-components-transparent #dash .show-apps:checked .overview-icon:hover {
    background-color: rgba(230, 230, 230, 0.15);
}


/*
* `.overview-components-light`
*/

.overview-components-light .search-entry {
    color: white;
    background-color: rgba(200, 200, 200, 0.2);
    border-color: transparent;
    box-shadow: none;
}

.overview-components-light .search-entry .search-entry-icon {
    color: rgba(255, 255, 255, 0.65);
}

.overview-components-light .overview-tile,
.overview-components-light .overview-icon,
.overview-components-light .grid-search-result,
.overview-components-light .list-search-result,
.overview-components-light .search-provider-icon,
/* prevents the extension from interfering with Just Perfection */
.overview-components-light.just-perfection .search-section-content,
/* remove the rectangular background from the dash */
.overview-components-light #dash .overview-tile,
.overview-components-light #dashtopanelScrollview .overview-tile {
    background-color: transparent;
}

.overview-components-light .workspace-thumbnail,
.overview-components-light .search-section-content,
.overview-components-light .overview-tile.app-folder,
.overview-components-light .page-navigation-arrow,
.overview-components-light .app-folder-dialog .icon-button,
/* this shouldn't apply to Dash to Dock */
.overview-components-light StBoxLayout>StWidget>#dash>.dash-background {
    background-color: rgba(200, 200, 200, 0.2);
}

.overview-components-light .overview-tile:hover,
.overview-components-light .overview-tile:focus,
.overview-components-light .overview-tile:selected,
.overview-components-light .overview-tile:highlighted,
.overview-components-light .grid-search-result:hover,
.overview-components-light .grid-search-result:focus,
.overview-components-light .grid-search-result:selected,
.overview-components-light .grid-search-result:highlighted,
.overview-components-light .list-search-result:hover,
.overview-components-light .list-search-result:focus,
.overview-components-light .list-search-result:selected,
.overview-components-light .list-search-result:highlighted,
.overview-components-light .search-provider-icon:hover,
.overview-components-light .search-provider-icon:focus,
.overview-components-light .page-navigation-arrow:hover,
.overview-components-light .page-navigation-arrow:focus,
.overview-components-light .app-folder-dialog .icon-button:hover,
.overview-components-light .app-folder-dialog .icon-button:focus,
.overview-components-light #dash .overview-tile:hover .overview-icon,
.overview-components-light #dash .overview-tile:focus .overview-icon,
.overview-components-light #dash .show-apps:hover .overview-icon,
.overview-components-light #dash .show-apps:focus .overview-icon {
    background-color: rgba(230, 230, 230, 0.2);
}

.overview-components-light .overview-tile:active,
.overview-components-light .overview-tile:focus:hover,
.overview-components-light .overview-tile:drop,
.overview-components-light .overview-tile:selected:hover,
.overview-components-light .overview-tile:highlighted:hover,
.overview-components-light .grid-search-result:active,
.overview-components-light .grid-search-result:focus:hover,
.overview-components-light .grid-search-result:selected:hover,
.overview-components-light .grid-search-result:highlighted:hover,
.overview-components-light .list-search-result:active,
.overview-components-light .list-search-result:focus:hover,
.overview-components-light .list-search-result:selected:hover,
.overview-components-light .list-search-result:highlighted:hover,
.overview-components-light .search-provider-icon:active,
.overview-components-light .search-provider-icon:focus:hover,
.overview-components-light .page-navigation-arrow:active,
.overview-components-light .page-navigation-arrow:focus:hover,
.overview-components-light .app-folder-dialog .icon-button:active,
.overview-components-light .app-folder-dialog .icon-button:focus:hover,
.overview-components-light #dash .overview-tile:active .overview-icon,
.overview-components-light #dash .overview-tile:focus:hover .overview-icon,
.overview-components-light #dash .overview-tile:drop .overview-icon,
.overview-components-light #dash .show-apps:checked .overview-icon {
    background-color: rgba(230, 230, 230, 0.25);
}

.overview-components-light .overview-tile:focus:active,
.overview-components-light .overview-tile:selected:active,
.overview-components-light .overview-tile:highlighted:active,
.overview-components-light .grid-search-result:focus:active,
.overview-components-light .grid-search-result:selected:active,
.overview-components-light .grid-search-result:highlighted:active,
.overview-components-light .list-search-result:focus:active,
.overview-components-light .list-search-result:selected:active,
.overview-components-light .list-search-result:highlighted:active,
.overview-components-light .search-provider-icon:focus:active,
.overview-components-light .page-navigation-arrow:focus:active,
.overview-components-light .app-folder-dialog .icon-button:focus:active,
.overview-components-light #dash .show-apps:checked .overview-icon:hover {
    background-color: rgba(230, 230, 230, 0.3);
}


/*
* `.overview-components-dark`
*/

.overview-components-dark .search-entry {
    color: white;
    background-color: rgba(100, 100, 100, 0.35);
    border-color: transparent;
    box-shadow: none;
}

.overview-components-dark .search-entry .search-entry-icon {
    color: rgba(255, 255, 255, 0.65);
}

.overview-components-dark .overview-tile,
.overview-components-dark .overview-icon,
.overview-components-dark .grid-search-result,
.overview-components-dark .list-search-result,
.overview-components-dark .search-provider-icon,
/* prevents the extension from interfering with Just Perfection */
.overview-components-dark.just-perfection .search-section-content,
/* remove the rectangular background from the dash */
.overview-components-dark #dash .overview-tile,
.overview-components-dark #dashtopanelScrollview .overview-tile {
    background-color: transparent;
}

.overview-components-dark .workspace-thumbnail,
.overview-components-dark .search-section-content,
.overview-components-dark .overview-tile.app-folder,
.overview-components-dark .page-navigation-arrow,
.overview-components-dark .app-folder-dialog .icon-button,
/* this shouldn't apply to Dash to Dock */
.overview-components-dark StBoxLayout>StWidget>#dash>.dash-background {
    background-color: rgba(100, 100, 100, 0.35);
}

.overview-components-dark .overview-tile:hover,
.overview-components-dark .overview-tile:focus,
.overview-components-dark .overview-tile:selected,
.overview-components-dark .overview-tile:highlighted,
.overview-components-dark .grid-search-result:hover,
.overview-components-dark .grid-search-result:focus,
.overview-components-dark .grid-search-result:selected,
.overview-components-dark .grid-search-result:highlighted,
.overview-components-dark .list-search-result:hover,
.overview-components-dark .list-search-result:focus,
.overview-components-dark .list-search-result:selected,
.overview-components-dark .list-search-result:highlighted,
.overview-components-dark .search-provider-icon:hover,
.overview-components-dark .search-provider-icon:focus,
.overview-components-dark .page-navigation-arrow:hover,
.overview-components-dark .page-navigation-arrow:focus,
.overview-components-dark .app-folder-dialog .icon-button:hover,
.overview-components-dark .app-folder-dialog .icon-button:focus,
.overview-components-dark #dash .overview-tile:hover .overview-icon,
.overview-components-dark #dash .overview-tile:focus .overview-icon,
.overview-components-dark #dash .show-apps:hover .overview-icon,
.overview-components-dark #dash .show-apps:focus .overview-icon {
    background-color: rgba(120, 120, 120, 0.35);
}

.overview-components-dark .overview-tile:active,
.overview-components-dark .overview-tile:focus:hover,
.overview-components-dark .overview-tile:drop,
.overview-components-dark .overview-tile:selected:hover,
.overview-components-dark .overview-tile:highlighted:hover,
.overview-components-dark .grid-search-result:active,
.overview-components-dark .grid-search-result:focus:hover,
.overview-components-dark .grid-search-result:selected:hover,
.overview-components-dark .grid-search-result:highlighted:hover,
.overview-components-dark .list-search-result:active,
.overview-components-dark .list-search-result:focus:hover,
.overview-components-dark .list-search-result:selected:hover,
.overview-components-dark .list-search-result:highlighted:hover,
.overview-components-dark .search-provider-icon:active,
.overview-components-dark .search-provider-icon:focus:hover,
.overview-components-dark .page-navigation-arrow:active,
.overview-components-dark .page-navigation-arrow:focus:hover,
.overview-components-dark .app-folder-dialog .icon-button:active,
.overview-components-dark .app-folder-dialog .icon-button:focus:hover,
.overview-components-dark #dash .overview-tile:active .overview-icon,
.overview-components-dark #dash .overview-tile:focus:hover .overview-icon,
.overview-components-dark #dash .overview-tile:drop .overview-icon,
.overview-components-dark #dash .show-apps:checked .overview-icon {
    background-color: rgba(120, 120, 120, 0.4);
}

.overview-components-dark .overview-tile:focus:active,
.overview-components-dark .overview-tile:selected:active,
.overview-components-dark .overview-tile:highlighted:active,
.overview-components-dark .grid-search-result:focus:active,
.overview-components-dark .grid-search-result:selected:active,
.overview-components-dark .grid-search-result:highlighted:active,
.overview-components-dark .list-search-result:focus:active,
.overview-components-dark .list-search-result:selected:active,
.overview-components-dark .list-search-result:highlighted:active,
.overview-components-dark .search-provider-icon:focus:active,
.overview-components-dark .page-navigation-arrow:focus:active,
.overview-components-dark .app-folder-dialog .icon-button:focus:active,
.overview-components-dark #dash .show-apps:checked .overview-icon:hover {
    background-color: rgba(120, 120, 120, 0.45);
}


/*** APPFOLDER DIALOG ***/

/*
* `.appfolder-dialogs-transparent`
*/

.appfolder-dialogs-transparent {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    box-shadow: none;
}

.appfolder-dialogs-transparent .folder-name-entry {
    color: white;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    box-shadow: none;
}

/*
* `.appfolder-dialogs-light`
*/

.appfolder-dialogs-light {
    background-color: rgba(200, 200, 200, 0.2);
    border: none;
    box-shadow: none;
}

.appfolder-dialogs-light .folder-name-entry {
    color: white;
    background-color: rgba(200, 200, 200, 0.2);
    border: 0;
    box-shadow: none;
}


/*
* `.appfolder-dialogs-dark`
*/

.appfolder-dialogs-dark {
    background-color: rgba(100, 100, 100, 0.35);
    border: none;
    box-shadow: none;
}

.appfolder-dialogs-dark .folder-name-entry {
    color: white;
    background-color: rgba(100, 100, 100, 0.35);
    border: 0;
    box-shadow: none;
}


/*** PANEL LIGHT TEXT ***/

/*
* `.panel-light-text`, adapted from gnome-shell-light.css
*/

#panel.panel-light-text .panel-button,
#panel.panel-light-text .panel-button.clock-display,
#panel.panel-light-text .netSpeedLabel {
    color: #f6f5f4;
    box-shadow: none;
}

#panel.panel-light-text .panel-button:active,
#panel.panel-light-text .panel-button:focus,
#panel.panel-light-text .panel-button:checked,
#panel.panel-light-text .panel-button.clock-display:active .clock,
#panel.panel-light-text .panel-button.clock-display:focus .clock,
#panel.panel-light-text .panel-button.clock-display:checked .clock {
    box-shadow: inset 0 0 0 100px rgba(246, 245, 244, 0.25);
}

#panel.panel-light-text .panel-button:active:hover,
#panel.panel-light-text .panel-button:focus:hover,
#panel.panel-light-text .panel-button:checked:hover,
#panel.panel-light-text .panel-button.clock-display:active:hover,
#panel.panel-light-text .panel-button.clock-display:focus:hover,
#panel.panel-light-text .panel-button.clock-display:checked:hover,
#panel.panel-light-text .panel-button.clock-display:active .clock:hover,
#panel.panel-light-text .panel-button.clock-display:focus .clock:hover,
#panel.panel-light-text .panel-button.clock-display:checked .clock:hover {
    box-shadow: inset 0 0 0 100px rgba(246, 245, 244, 0.35);
}

#panel.panel-light-text .panel-button:hover,
#panel.panel-light-text .panel-button.clock-display:hover,
#panel.panel-light-text .panel-button.clock-display:hover .clock {
    box-shadow: inset 0 0 0 100px rgba(246, 245, 244, 0.2);
}

#panel.panel-light-text .panel-button#panelActivities .workspace-dot {
    background-color: #f6f5f4;
}

#panel.panel-light-text .panel-button.clock-display:active,
#panel.panel-light-text .panel-button.clock-display:focus,
#panel.panel-light-text .panel-button.clock-display:checked,
#panel.panel-light-text .panel-button.clock-display:hover {
    box-shadow: none !important;
}

#panel.panel-light-text .panel-button.screen-recording-indicator {
    color: #f6f5f4;
    box-shadow: inset 0 0 0 100px rgba(192, 28, 40, 0.8);
}

#panel.panel-light-text .panel-button.screen-recording-indicator:active,
#panel.panel-light-text .panel-button.screen-recording-indicator:focus,
#panel.panel-light-text .panel-button.screen-recording-indicator:checked {
    box-shadow: inset 0 0 0 100px #c01c28;
}

#panel.panel-light-text .panel-button.screen-recording-indicator:active:hover,
#panel.panel-light-text .panel-button.screen-recording-indicator:focus:hover,
#panel.panel-light-text .panel-button.screen-recording-indicator:checked:hover {
    box-shadow: inset 0 0 0 100px rgba(192, 28, 40, 0.95);
}

#panel.panel-light-text .panel-button.screen-recording-indicator:hover {
    box-shadow: inset 0 0 0 100px rgba(192, 28, 40, 0.9);
}

#panel.panel-light-text .panel-button.screen-sharing-indicator {
    color: #282828;
    box-shadow: inset 0 0 0 100px rgba(255, 120, 0, 0.8);
}

#panel.panel-light-text .panel-button.screen-sharing-indicator:active,
#panel.panel-light-text .panel-button.screen-sharing-indicator:focus,
#panel.panel-light-text .panel-button.screen-sharing-indicator:checked {
    box-shadow: inset 0 0 0 100px #ff7800;
}

#panel.panel-light-text .panel-button.screen-sharing-indicator:active:hover,
#panel.panel-light-text .panel-button.screen-sharing-indicator:focus:hover,
#panel.panel-light-text .panel-button.screen-sharing-indicator:checked:hover {
    box-shadow: inset 0 0 0 100px rgba(255, 120, 0, 0.95);
}

#panel.panel-light-text .panel-button.screen-sharing-indicator:hover {
    box-shadow: inset 0 0 0 100px rgba(255, 120, 0, 0.9);
}