/* Raw Marble shell theme for GNOME DE
Copyright (C) 2023  Vladyslav Hroshev

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>. */


stage {
  color: rgba(234, 243, 251, 1);
}

.workspace-background{
  border: 1px solid rgba(652, 652, 652, 0.03);
}


/* panel */
#panel{
  background-color: #1e1b16;
  height: 38px;
  font-size: 14px;
}

#panel:overview{
  background-color: transparent;
}

#panel .screencast-indicator,
#panel .remote-access-indicator {
  color: #cd9309; }

#panel .panel-button.screen-recording-indicator {
  background:#c01c28;
}

#panel .panel-button.screen-sharing-indicator {
  background: #cd9309;
}

#panel .panel-button.screen-recording-indicator:hover {
  background: rgba(192, 28, 40, 0.9);
}

#panel .panel-button.screen-sharing-indicator:hover {
  background: rgba(205, 147, 9, 0.9);
}

.panel-button,
.clock,
.clock-display StIcon{
  color: rgba(234, 243, 251, 1);
  border-radius: 14px;
  border: 4px solid transparent;
  background-color: #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}
.clock-display StIcon{
  padding: 8px;
  margin: 0;
}

#panel .power-status.panel-status-indicators-box StIcon {
  font-size: 14px;
}

.panel-button:hover,
.panel-button:hover .clock,
.panel-button:active,
.panel-button:overview, /* activites */
.panel-button:active .clock{
  background-color: #4e4639;
}

#panel .power-status.panel-status-indicators-box {
  font-size: 12px;
}

/* date-menu-mod */
.clock-display{
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.clock{
  margin: 0 !important;
}

/* clock fix by Aylur's widgets */
#panel .panel-button.clock-display{
  -natural-hpadding: 0;
  -minimum-hpadding: 0;
}
.datemenu-calendar-column{ padding-left: 0; padding-right: 0; } /* if notifications are hidden, make the column centered */
.datemenu-user{ padding: 30px;}
.datemenu-user > StButton{
  width: 160px;
  height: 160px;
  padding: 2px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.datemenu-user > StButton > StWidget{ border-radius: 99px; }
.datemenu-levels{ spacing: 8px; }


/* Activities Ripple */
.ripple-box {
  background-color:  #4e46397f;
  box-shadow: 0 0 2px 2px  #4e46397f;
}


/* POPOVERS */
.popup-menu-content, .candidate-popup-content {
  color: rgba(234, 243, 251, 1);
  background:  #1e1b16;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(652, 652, 652, 0.07);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}

.popup-menu-item, .app-menu {
  margin: 3px 1.5px;
}

.popup-menu-item:focus, .popup-menu-item:hover, .popup-menu-item:checked {
  background-color:  #4e4639 !important;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03) !important;
  color: rgba(234, 243, 251, 1);
}

.popup-menu-item:checked {
  border-radius: 12px 12px 0 0;
}

.popup-menu-item:active {
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
}

/* 44 separator margin fix */
.popup-separator-menu-item {
  padding: 0 !important;
}

.popup-separator-menu-item .popup-separator-menu-item-separator {
  height: 1px;
  margin: 6px 0;
  background-color: rgba(652, 652, 652, 0.1);
}

.popup-separator-menu-item-separator:ltr {
  margin-right: 4.5px; }
.popup-separator-menu-item-separator:rtl {
  margin-left: 4.5px; }

.popup-sub-menu {
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  border-radius: 0 0 12px 12px;
  margin: 0 0 2px 0;
}

.popup-sub-menu .popup-menu-item {
  margin: 0;
  color: rgba(234, 243, 251, 1);

}

.popup-sub-menu .popup-menu-item:last-child {
  border-radius: 0 0 12px 12px;
}

.popup-sub-menu .popup-menu-item:hover, .popup-sub-menu .popup-menu-item:focus {
  background-color:  #4e4639 !important;
}

.popup-menu-item:insensitive { color: rgba(234, 243, 251, 0.38); margin: 0; }

.popup-inactive-menu-item { color: rgba(234, 243, 251, 1); background-color: transparent; }

.popup-inactive-menu-item:insensitive { color: rgba(234, 243, 251, 0.67) !important; }

.calendar .calendar-nonwork-day { color: rgba(234, 243, 251, 1); }


/* calendar */
#calendarArea { padding: 0; }

.datemenu-calendar-column {
  spacing: 5px; }
  .datemenu-calendar-column:ltr {
    padding-left: 6px; }
  .datemenu-calendar-column:rtl {
    padding-right: 6px; }
  .datemenu-calendar-column .datemenu-displays-box {
    spacing: 5px; }

/* calendar header */
.datemenu-today-button {
  color: rgba(234, 243, 251, 0.67);
  background-color: none;
  border-radius: 12px;
}

.datemenu-today-button:hover {
  transition-duration: 100ms;
  background-color:  #4e4639;
}

.datemenu-today-button:focus {
  transition-duration: 100ms;
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 2px  #d9c4a1 !important;
}

.day-label {
  font-weight: 600;
}

.date-label {
  font-weight: 700;
}

/* calendar-days */
.calendar-day-base, .calendar-month-header .pager-button { 
  color: rgba(234, 243, 251, 1);
  border-radius: 10px;
}

.calendar-month-label{
  color: rgba(234, 243, 251, 1);
}

.calendar-day-base, .calendar .calendar-month-header .pager-button  { transition-duration: 100ms; }

.calendar-day-base:hover,
.calendar-day-base:focus,
.calendar-day-base:active:hover,
.calendar-day-base:selected:hover,
.calendar .calendar-month-header .pager-button:hover,
.calendar .calendar-month-header .pager-button:focus {
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.calendar-day-base:active,
.calendar-day-base:selected {
  background:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.calendar-today,
.calendar-today:selected {
  background-color:  #f5be48;
  color: rgba(234, 243, 251, 1) !important;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.calendar-today:hover,
.calendar-today:selected:hover {
  background-color:  #d9c4a1;
}

.calendar .calendar-day-with-events {
  background-image: url("calendar-today.svg");
  background-size: contain;
  font-weight: 700;
}


/* events */
.calendar {
  border-radius: 14px;
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03) !important;
  padding: 5px;
}


.events-button,
.world-clocks-button,
.weather-button {
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 0.67);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.events-button:focus,
.world-clocks-button:focus,
.weather-button:focus {
  box-shadow: inset 0 0 0 2px  #d9c4a1 !important;
}

.weather-button .weather-header,
.events-button .events-title,
.world-clocks-button .world-clocks-header { color: rgba(234, 243, 251, 1); }

.events-button .event-time { color: rgba(234, 243, 251, 0.67); }

.events-button:active,
.world-clock-button:active,
.weather-button:active { background-color:  #4e4639; }

.world-clocks-button .world-clocks-time,
.world-clocks-button .world-clocks-city,
.world-clocks-button .world-clocks-timezone { color: rgba(234, 243, 251, 0.67); }

.weather-button .weather-forecast-time { color: rgba(234, 243, 251, 0.67); }


/* message-list */
.message-list {
  border: none;
  padding: 0;
}

.message-list-sections:ltr {
  margin-right: 0px; }
.message-list-sections:rtl {
  margin-left: 0px;
}

.message {
  background:  #1e1b16;
  color: rgba(234, 243, 251, 1);
  border-radius: 18px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
}

.message:focus {
  box-shadow: inset 0 0 0 2px  #d9c4a1 !important;
}

.message-list .message {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  transition-duration: 100ms;
}

.message-list .message:hover {
  background-color:  #4e4639;
}

.message .message-body, .message-title {
  color: rgba(234, 243, 251, 1);
}

.message-dialog-content .message-dialog-title {
  font-weight: 700;
}

.message .message-secondary-bin > .event-time {
  color: rgba(234, 243, 251, 0.67);
}

.message-close-button {
  border-radius: 9px;
  color: rgba(234, 243, 251, 1);
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  transition-duration: 100ms;
}

.message-close-button:hover {
  background-color:  #4e4639;
}

.message-close-button:active {
  color: rgba(234, 243, 251, 0.67);
}


/* Media Controls */
.message-media-control {
  border-radius: 12px;
  padding: 0 14px;
  margin: 20px 2px;
  color: rgba(234, 243, 251, 1);
  transition-duration: 100ms;}
  .message-media-control:hover {
    background-color:  #4e4639;
    box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
    color: rgba(234, 243, 251, 1); }
  .message-media-control:insensitive {
    color: rgba(234, 243, 251, 0.38) }
  .message-media-control:last-child:ltr {
    margin-right: 20px; }
  .message-media-control:last-child:rtl {
    margin-left: 12px; }
  .message-media-control StIcon {
    icon-size: 1.09em;
  }

.media-message-cover-icon {
  icon-size: 3.2em !important;
  border-radius: 12px;
}

.media-message-cover-icon.fallback {
  color: rgba(234, 243, 251, 1);
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  border-radius: 12px;
  icon-size: 1.6em !important;
  padding: 0.79em;
}


/* Check Boxes */
.check-box StBoxLayout {
  spacing: .8em; }

.check-box StBin {
  width: 24px;
  height: 24px;
  background-image: url("checkbox-off.svg"); 
}

.check-box:focus StBin {
  background-image: url("checkbox-off-focused.svg"); 
}

.check-box:checked StBin {
  background-image: url("checkbox.svg"); 
}

.check-box:focus:checked StBin {
  background-image: url("checkbox-focused.svg");
}


/* Toggles */
.toggle-switch {
  background-image: url("./toggle-off.svg");
  background-color:  #4e4639;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03) !important;
}
.toggle-switch:checked {
  background-image: url("./toggle-on.svg");
  background-color:  #f5be48;
}


/* Do Not Distrub toggle */
.dnd-button {
  width: 48px;
  border-radius: 10px;
}

.dnd-button .toggle-switch {
  background-color:  #4e4639;
}

.dnd-button:hover .toggle-switch {
  background-color:  #4e4639;
}

.dnd-button .toggle-switch:checked {
  background-color:  #f5be48;
}

.dnd-button:hover .toggle-switch:checked {
  background-color:  #d9c4a1;
}

.dnd-button:focus {
  border-color: transparent;
}

.dnd-button:focus .toggle-switch {
  box-shadow: inset 0 0 0 1px  #d9c4a1 !important;
}


.button {
  color: rgba(234, 243, 251, 1);
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03); 
}

.button:insensitive {
  box-shadow: none;
  color: rgba(234, 243, 251, 0.67);
}

.button:hover, .button:active {
  background-color:  #4e4639;
}

.message-list-clear-button {
  border-radius: 9px;
  background-color:  #4e4639;
  padding: 3px 15px;
  color: rgba(234, 243, 251, 1);
}

.message-list-clear-button:focus {
  box-shadow: inset 0 0 0 2px  #d9c4a1 !important;
}

/* quick-settings */
.quick-settings {
  padding: 18px;
  border-radius: 24px;
}

.icon-button {
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
  transition-duration: 100ms;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.icon-button:hover {
	background-color:  #4e4639;
}


.quick-toggle, .quick-menu-toggle .quick-toggle { 
	color: rgba(234, 243, 251, 1);
  border-radius: 15px;
	background-color:  #4e4639;
	transition-duration: 100ms;
}

.quick-menu-toggle .quick-toggle:ltr {
  border-radius: 15px 0 0 15px; }
.quick-menu-toggle .quick-toggle:rtl {
  border-radius: 0 15px 15px 0; }
.quick-menu-toggle .quick-toggle:last-child {
  border-radius: 15px; 
}

.quick-menu-toggle .quick-toggle-arrow:ltr { border-radius: 0 15px 15px 0; }
.quick-menu-toggle .quicl-toggle-arrow:rtl { border-radius: 15px 0 0 15px; }

.quick-toggle:hover, .quick-menu-toggle .quick-toggle:hover, .quick-menu-toggle .quick-toggle-arrow:hover {
  background-color:  #4e4639;
}

.quick-toggle:checked, .quick-menu-toggle .quick-toggle:checked, .quick-menu-toggle .quick-toggle-arrow:checked { 
	color: rgba(234, 243, 251, 1);
	background-color:  #f5be48;
}

.quick-toggle:checked:hover, .quick-menu-toggle .quick-toggle:checked:hover, .quick-menu-toggle .quick-toggle-arrow:checked:hover {
	background-color:  #d9c4a1;
}

.quick-menu-toggle .quick-toggle-arrow:ltr {
  margin-left: 1px;
}
.quick-menu-toggle .quick-toggle-arrow:rtl {
  margin-right: 1px;
}

.quick-slider .slider-bin {
  padding: 2px 1px;
  margin: 0px;
  color: rgba(234, 243, 251, 1);
}
.quick-slider .slider-bin:focus {
  background-color:  #4e4639;
}

.icon-button:focus, .quick-toggle:focus, .slider-bin:focus { box-shadow: inset 0 0 0 2px  #d9c4a1 !important; }

.quick-toggle .quick-toggle-label {
  font-weight: 600;
}

.quick-slider .icon-button {
  background-color:  #1e1b16;
  box-shadow: none;
  padding: 6px;
  border-radius: 11px;
  transition-duration: 150ms;
}

.quick-slider .icon-button:hover { 
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.quick-toggle-menu {
  background-color:  #1e1b16;
  border-radius: 20px;
  color: rgba(234, 243, 251, 1);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

/* connect / disconnect text color */
.device-subtitle {
  color: rgba(234, 243, 251, 0.67); }

.quick-toggle-menu .header .icon {
  background-color:  #f5be48;
  border-radius: 12px;
  icon-size: 1.4em;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.level-bar {
  padding: 0;
  background-color:  #4e4639;
}

/* background apps */
.background-apps-quick-toggle {
  background-color: transparent;
}

.background-apps-quick-toggle:hover {
  background-color:  #4e4639;
}

.background-apps-quick-toggle:focus {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 2px  #d9c4a1;
}

.background-app-item .title {
  color: rgba(234, 243, 251, 1);
  font-weight: 600;
}

.background-app-item .close-button {
  color: rgba(234, 243, 251, 1);
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.background-app-item .close-button:hover {
  background-color:  #4e4639;
}


/* Notifications */
.notification-banner{
  background-color:  #1e1b16;
  color: rgba(234, 243, 251, 1);
}

.notification-button:active{
  background-color:  #f5be48;
  color: rgba(234, 243, 251, 1);
}


/* slider */
.slider,
.level {
  height: 16px;
  -barlevel-height: 16px;
  -barlevel-background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  /* fill */
  -barlevel-active-background-color:  #f5be48;
  /* overfill */
  -barlevel-overdrive-color: #c01c28;
  -barlevel-overdrive-separator-width: 2px;
  -slider-handle-radius: 7px;
}


/* Scroll bar */
StScrollBar {
  padding: 0; }
  StScrollView StScrollBar {
    min-width: 8px;
    min-height: 8px;}
  StScrollBar StBin#trough {
    border-radius: 0;
    background-color: transparent; }
  StScrollBar StButton#vhandle, StScrollBar StButton#hhandle {
    border-radius: 8px;
    background-color: rgba(57, 63, 70, 0.75);
    border: 3px solid transparent;
    transition-duration: 100ms; }
    StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover {
      background-color: rgba(56, 63, 71, 1); }
    StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
      background-color: rgba(78, 89, 100, 0.87); }


/* overview-ws-thumbnail */
.workspace-thumbnail {
  border: none;
  /* border-radius: 9px; */
  background-color:  #4e4639;
  border: 1px solid rgba(652, 652, 652, 0.03);
}

.workspace-thumbnails .placeholder {
  background-image: url("workspace-placeholder.svg");
  background-size: contain;
  width: 18px;
}

.workspace-thumbnail-indicator {
  background-color:  #4e46397f;
  border-color: rgba(234, 243, 251, 0.38);
  border-width: 1px;
  border-radius: 3px;
}


/* overview */
#overviewGroup, .workspace-animation {
  background-color:  #1e1b16;
}

.workspace-background {
  border-radius: 20px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}

.window-caption {
  spacing: 20px;
  border-radius: 10px;
  color: rgba(234, 243, 251, 1);
  background-color:  #1e1b16;
  border: 1px solid rgba(652, 652, 652, 0.03);
  padding: 4px 8px;
}


/* App icons */
.app-well-app.app-folder .overview-icon, .app-folder.grid-search-result .overview-icon, .app-well-app .overview-icon, .grid-search-result .overview-icon {
  box-shadow: inset 0 0 0 0px rgba(255, 255, 255, 0); /* fix default dash focused box-shadow*/
  transition-duration: 100ms;
  border-radius: 20px;
  color: rgba(234, 243, 251, 1); /* ubuntu fix */
}

.app-well-app:hover .overview-icon,
.app-well-app:focus .overview-icon,
.app-well-app:selected .overview-icon,
.show-apps:hover .overview-icon,
.show-apps:focus .overview-icon,
.app-well-app.app-folder .overview-icon {
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  background-color:  #4e4639;
}

.app-well-app.app-folder .overview-icon {
  background-color:  #4e4639;
}

.app-well-app:drop .overview-icon, .grid-search-result:drop .overview-icon,
.app-well-app.app-folder:drop .overview-icon, .app-folder.grid-search-result:drop .overview-icon {
  border: 2px solid  #d9c4a1;
  background-color:  #4e46397f;
}


/* folder dialog */
.app-folder-dialog {
  border-radius: 32px;
  background-color:  #1e1b16;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
}

.app-folder-dialog .app-well-app:hover .overview-icon,
.app-folder-dialog .app-well-app:focus .overview-icon {
  background-color:  #4e4639;
  box-shadow: inset 1px solid rgba(652, 652, 652, 0.03);
}

.app-folder-dialog .folder-name-container { color: rgba(234, 243, 251, 1); }

.app-folder-dialog .folder-name-container .folder-name-label {
  padding: 5px 7px;
  color: rgba(234, 243, 251, 1);
  font-weight: 700;
  transition-duration: 100ms;
}

.app-folder-dialog .folder-name-container .folder-name-entry {
  font-weight: 700;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
  background-color:  #4e4639;
  selection-background-color:  #f5be48;
  selected-color: rgba(234, 243, 251, 1); /* ubuntu fix */
}

.app-folder-dialog .folder-name-container .edit-folder-button {
  border-radius: 12px;
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.app-folder-dialog .folder-name-container .edit-folder-button:hover {
  background-color:  #4e4639;
}

.app-folder-dialog .folder-name-container .edit-folder-button:focus { box-shadow: inset 0 0 0 2px  #d9c4a1 !important; }

.page-indicator .page-indicator-icon { background-color: rgba(234, 243, 251, 0.67); }

.page-navigation-arrow {
  border-radius: 99px; 
  color: rgba(234, 243, 251, 1);
  transition-duration: 100ms;
}

.page-navigation-arrow > StIcon {
  margin: 0;
}

.page-navigation-arrow:hover {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.page-navigation-arrow:hover > StIcon {
  background-color: rgba(0, 0, 0, 0);
}

.page-navigation-arrow:active {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.page-navigation-hint.next:ltr, .page-navigation-hint.previous:rtl {
  background-gradient-start: rgba(226, 230, 234, 0.05);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.page-navigation-hint.previous:ltr, .page-navigation-hint.next:rtl {
  background-gradient-end: rgba(226, 230, 234, 0.05);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}


/* Dash */
#dash .dash-background {
  background-color: rgba(48, 51, 53, 0.7);
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
  padding: 4px 2px 4px 2px;
  border-radius: 21px;
}

#dashtodockContainer #dash .dash-background { 
  border: none;
  border-radius: 18px; /* ubuntu fix */
  transition-duration: 250ms;
}

#dashtodockContainer.overview #dash .dash-background {
  box-shadow: inset 0 0 0 1.5px rgba(652, 652, 652, 0.07);
  background-color: rgba(256, 256, 256, 0.12);
}


.dash-label {
  background-color:  #1e1b16;
  color: rgba(234, 243, 251, 1);
  border-radius: 11px;
  border: none; /* ubuntu fix */
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
}

.app-well-app-running-dot {
  width: 10px;
  height: 5px;
  border-radius: 5px;
  background:  #d9c4a1;
  transition-duration: 100ms;
}

#dash .app-well-app-running-dot {
  margin-bottom: 6px; }

.dash-item-container .app-well-app .overview-icon,
.dash-item-container .show-apps .overview-icon {
  border-radius: 21px;
}

#dash .app-well-app:hover .overview-icon,
#dash .app-well-app:focus .overview-icon,
#dash .app-well-app:selected .overview-icon,
#dash .show-apps:hover .overview-icon,
#dash .show-apps:focus .overview-icon {
  box-shadow: inset 0 0 4px 1px rgba(179, 192, 204, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ubuntu fix */
#dashtodockContainer #dash .app-well-app:hover .overview-icon,
#dashtodockContainer #dash .app-well-app:focus .overview-icon,
#dashtodockContainer #dash .app-well-app:selected .overview-icon,
#dashtodockContainer #dash .show-apps:hover .overview-icon,
#dashtodockContainer #dash .show-apps:focus .overview-icon,
#dashtodockContainer .show-apps:selected .overview-icon,
#dashtodockContainer .show-apps:selected:hover .overview-icon,
#dashtodockContainer .show-apps:active .overview-icon,
#dashtodockContainer .show-apps:checked .overview-icon,
#dashtodockContainer .app-well-app.focused .overview-icon {
  border-radius: 15px; /* ubuntu fix*/
}

#dashtodockContainer .app-well-app.focused .overview-icon,
.show-apps:selected .overview-icon,
.show-apps:selected:hover .overview-icon,
.show-apps:active .overview-icon,
.show-apps:checked .overview-icon {
  box-shadow: inset 0 0 4px 1px rgba(179, 192, 204, 0.4);
}

/* ubuntu fix */
#dashtodockContainer.bottom.extended #dash .dash-background, #dashtodockContainer.bottom.extended.dashtodock #dash .dash-background, #dashtodockContainer.bottom.extended.shrink #dash .dash-background,
#dashtodockContainer.top.extended #dash .dash-background, #dashtodockContainer.top.extended.dashtodock #dash .dash-background, #dashtodockContainer.top.extended.shrink #dash .dash-background,
#dashtodockContainer.left.extended #dash .dash-background, #dashtodockContainer.left.extended.dashtodock #dash .dash-background, #dashtodockContainer.left.extended.shrink #dash .dash-background,
#dashtodockContainer.right.extended #dash .dash-background, #dashtodockContainer.right.extended.dashtodock #dash .dash-background, #dashtodockContainer.right.extended.shrink #dash .dash-background {
  border-radius: 0;
  background-color: rgba(48, 51, 53, 0.7);
  box-shadow: none;
  transition-duration: 250ms;
}

/* animation fix */
#dashtodockContainer.bottom.extended.overview #dash .dash-background, #dashtodockContainer.bottom.extended.overview.dashtodock #dash .dash-background, #dashtodockContainer.bottom.extended.overview.shrink #dash .dash-background,
#dashtodockContainer.top.extended.overview #dash .dash-background, #dashtodockContainer.top.extended.overview.dashtodock #dash .dash-background, #dashtodockContainer.top.extended.overview.shrink #dash .dash-background,
#dashtodockContainer.left.extended.overview #dash .dash-background, #dashtodockContainer.left.extended.overview.dashtodock #dash .dash-background, #dashtodockContainer.left.extended.overview.shrink #dash .dash-background,
#dashtodockContainer.right.extended.overview #dash .dash-background, #dashtodockContainer.right.extended.overview.dashtodock #dash .dash-background, #dashtodockContainer.right.extended.overview.shrink #dash .dash-background {
  background-color:  #1e1b16; }

#dash .app-well-app:hover .app-well-app-running-dot { width: 15px; }

#dashtodockContainer .app-well-app.focused .app-well-app-running-dot { width: 20px; }

.dash-separator {
  box-shadow: 0 0 0 0.25px rgba(234, 243, 251, 0.38);
}

.show-apps .overview-icon {
  color: rgba(234, 243, 251, 1);
}


/* Search */
StEntry{
  border-radius: 13px;
  padding: 8px;
  transition-duration: 100ms;
  border: 1px solid rgba(652, 652, 652, 0.03);
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 0.67);
  selection-background-color:  #f5be48;
  selected-color: rgba(234, 243, 251, 1); /* ubuntu fix */  
}

StEntry StLabel {
  color: rgba(234, 243, 251, 1);
}

StEntry StLabel:insensitive {
  color: rgba(234, 243, 251, 0.67);
}

StEntry:hover, StEntry:focus, StEntry:active {
  border: 1px solid rgba(234, 243, 251, 0.38);
  background-color:  #4e4639;
  box-shadow: none;
}

StEntry:focus {
  color: rgba(234, 243, 251, 1);
}

.search-section-content{
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  border-radius: 15px;
  border: none;
  background-color:  #4e4639;
  color:rgba(234, 243, 251, 1);
}

.list-search-result .list-search-result-title { color: rgba(234, 243, 251, 1); } /* ubuntu fix */

.list-search-result .list-search-result-description { color: rgba(234, 243, 251, 0.67); }

.search-provider-icon .list-search-provider-content .list-search-provider-details {
  width: 120px;
  color: rgba(234, 243, 251, 1); }

.list-search-result:focus, .search-provider-icon:focus,
.list-search-result:hover, .search-provider-icon:hover,
.list-search-result:selected, .search-provider-icon:selected {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.list-search-result:active, .search-provider-icon:active{
  background-color:  #4e4639;
  color: rgba(234, 243, 251, 1);
}


/* OSD */
.modal-dialog {
  border-radius: 18px;
  background-color:  #1e1b16;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  color: rgba(234, 243, 251, 1);
}

.switcher-list,
.resize-popup,
.workspace-switcher,
.osd-window {
  border-radius: 18px;
  background:  #1e1b16;
  color: rgba(234, 243, 251, 1);
  box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.05);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
}

.ws-switcher-indicator { background-color: rgba(234, 243, 251, 0.67); }

.switcher-list .item-box:hover,
.switcher-list .item-box:focus,
.switcher-list .item-box:selected{
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.modal-dialog-linked-button, .notification-button, .hotplug-notification-item {
  padding: 10px 0 !important;
  border-radius: 12px !important;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  background-color:  #4e4639;
  color:rgba(234, 243, 251, 1);
  animation-duration: 100ms;
}

.modal-dialog-linked-button:first-child, .notification-button:first-child, .hotplug-notification-item:first-child {
  margin: 0 6px 12px 12px !important;
}

.modal-dialog-linked-button:last-child, .notification-button:last-child, .hotplug-notification-item:last-child {
  margin:  0 12px 12px 6px !important;
}

.modal-dialog-linked-button:first-child:last-child, .notification-button:first-child:last-child, .hotplug-notification-item:first-child:last-child {
  margin: 0 12px 12px 12px !important;
}

.modal-dialog-linked-button, .notification-button, .hotplug-notification-item {
  margin: 0 6px 12px 6px !important;
}

.modal-dialog-linked-button:hover,
.modal-dialog-linked-button:focus,
.notification-button:hover,
.notification-button:focus {
  background:  #4e4639;
  color: rgba(234, 243, 251, 1);
}

.modal-dialog-linked-button:last-child {
  background-color:  #f5be48;
}

.modal-dialog-linked-button:last-child:hover,
.modal-dialog-linked-button:last-child:focus {
  background-color:  #d9c4a1;
}

.modal-dialog .modal-dialog-linked-button:focus, .hotplug-notification-item:focus, .notification-banner .notification-button:focus {
  animation-duration: 100ms;
  box-shadow: inset 0 0 0 1px rgba(234, 243, 251, 0.38) !important; }
  .modal-dialog .modal-dialog-linked-button:focus:hover, .hotplug-notification-item:focus:hover, .notification-banner .notification-button:focus:hover, .modal-dialog .modal-dialog-linked-button:focus:active, .hotplug-notification-item:focus:active, .notification-banner .notification-button:focus:active {
    box-shadow: inset 0 0 0 1px rgba(234, 243, 251, 0.67) !important; }

.modal-dialog .modal-dialog-linked-button:insensitive, .hotplug-notification-item:insensitive, .notification-banner .notification-button:insensitive {
  color: rgba(234, 243, 251, 0.67);
  background-color:  #d9c4a1;
}

.prompt-dialog-password-entry {
  background-color:  #4e4639;
}

.nm-dialog-scroll-view{
  border: 1px solid rgba(652, 652, 652, 0.03);
}
.nm-dialog-item:selected{
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}
  


/* screenshot ui */
.screenshot-ui-panel {
  border-radius: 22px;
  background-color:  #1e1b16;
  border: 0; /* ubuntu fix */ 
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.07);
  color: rgba(234, 243, 251, 1);
}

.screenshot-ui-show-pointer-button, .screenshot-ui-type-button {
  border-radius: 15px;
  transition-duration: 100ms;
}

.screenshot-ui-show-pointer-button:checked, .screenshot-ui-type-button:checked,
.screenshot-ui-show-pointer-button:checked:hover, .screenshot-ui-type-button:checked:hover,
.screenshot-ui-show-pointer-button:checked:focus, .screenshot-ui-type-button:checked:focus {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  color: rgba(234, 243, 251, 1);
}

.screenshot-ui-show-pointer-button:hover, .screenshot-ui-type-button:hover,
.screenshot-ui-show-pointer-button:focus, .screenshot-ui-type-button:focus {
  background:  #4e4639;
  color: rgba(234, 243, 251, 1);
}

.screenshot-ui-show-pointer-button:insensitive, .screenshot-ui-type-button:insensitive {
  color: rgba(234, 243, 251, 0.38);
}

.screenshot-ui-show-pointer-button:hover, .screenshot-ui-type-button:hover,
.screenshot-ui-show-pointer-button:active, .screenshot-ui-type-button:active {
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.screenshot-ui-window-selector {
  background-color:  #4e4639;
}

.screenshot-ui-window-selector-window:hover .screenshot-ui-window-selector-window-border {
  border-color:  #f5be48;
}

.screenshot-ui-window-selector-window:checked .screenshot-ui-window-selector-window-border {
  border-color:  #f5be48;
  background-color:  #4e46397f;
}

.screenshot-ui-window-selector-window:checked .screenshot-ui-window-selector-check {
  color: rgba(234, 243, 251, 1);
  background-color:  #f5be48;
}

.screenshot-ui-capture-button {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 4px  #d9c4a1;
  padding: 4px; }
  .screenshot-ui-capture-button .screenshot-ui-capture-button-circle {
    background-color:  #d9c4a1;
    transition-duration: 100ms;
    border-radius: 99px; }
    .screenshot-ui-capture-button .screenshot-ui-capture-button-circle:hover, .screenshot-ui-capture-button .screenshot-ui-capture-button-circle:focus {
      background-color:  #53452a; }
  .screenshot-ui-capture-button:hover .screenshot-ui-capture-button-circle, .screenshot-ui-capture-button:focus .screenshot-ui-capture-button-circle {
    background-color:  #53452a; }
  .screenshot-ui-capture-button:cast .screenshot-ui-capture-button-circle {
    background-color: #c01c28; }
  .screenshot-ui-capture-button:cast:hover .screenshot-ui-capture-button-circle, .screenshot-ui-capture-button:cast:focus .screenshot-ui-capture-button-circle {
    background-color: #d61f2d; }
  .screenshot-ui-capture-button:cast:active .screenshot-ui-capture-button-circle { background-color: #a11722;}

.screenshot-ui-shot-cast-container {
  background-color:  #4e4639;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
}

.screenshot-ui-shot-cast-button {
  background-color: transparent;
  transition-duration: 100ms;
}

.screenshot-ui-shot-cast-button:hover, .screenshot-ui-shot-cast-button:focus, .screenshot-ui-shot-cast-button:active {
  background-color:  #4e4639;
}

.screenshot-ui-shot-cast-button:checked {
  background-color:  #d9c4a1;
  color: rgba(7, 25, 43, 0.87);
}

.screenshot-ui-tooltip {
  color: rgba(234, 243, 251, 1);
  background-color:  #1e1b16;
  box-shadow: inset 0 0 0 1px rgba(652, 652, 652, 0.03);
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  -y-offset: 24px;
}


/* Tiled window previews */
.tile-preview {
  background-color:  #4e46397f;
  border: 1px solid  #f5be48;
}

.window-close, .screenshot-ui-close-button {
  background-color:  #1e1b16;
  color: rgba(234, 243, 251, 1);
  border: 1px solid rgba(652, 652, 652, 0.03);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  transition-duration: 100ms;
}

.window-close:hover, .screenshot-ui-close-button:hover {
  background-color:  #4e4639;
}


/* Looking Glass | R.I.P. custom colors & light mode */
#LookingGlassDialog {
  border-radius: 14px;
  margin: 5px;
  background-color: #191919;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
}

#LookingGlassDialog .notebook-tab, #LookingGlassDialog > #Toolbar .lg-toolbar-button { border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }

#LookingGlassDialog > #Toolbar .lg-toolbar-button, #LookingGlassDialog .notebook-tab:selected { background-color: rgba(255, 255, 255, 0.08); }
#LookingGlassDialog > #Toolbar .lg-toolbar-button:hover { background-color: rgba(255, 255, 255, 0.13); }

.lg-dialog StEntry {
  background-color: rgba(48, 48, 48, 0.6);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  min-height: 16px;
  selection-background-color:  #f5be48;
  selected-color: #fff; }

.lg-extension {
  border-radius: 12px;
}

.lg-debug-flag-button .toggle-switch {
  margin: 5px;
  border-radius: 10px;
  height: 26px;
  padding: 0; }


/* Aylur's widgets */
.quick-settings.tweaked .media,
.quick-settings.tweaked .message,
.popup-menu-content .message,
.quick-settings.tweaked .quick-container {
  background-color:  #4e4639;
  border-radius: 16px;
  border: none;
}

.quick-settings.tweaked .quick-container .quick-slider { margin: 2.5px 0 2.5px 0; }
.quick-settings.tweaked .quick-container .quick-slider:first-child { margin: 0 0 2.5px 0; }
.quick-settings.tweaked .quick-container .quick-slider:last-child { margin: 2.5px 0 0 0; }
.quick-settings.tweaked .quick-container .quick-slider:first-child:last-child { margin: 0; }

.quick-settings.tweaked .media { font-weight: 500; }

.quick-settings.adjusted .quick-toggle .quick-toggle-arrow:ltr { border-radius: 0 36px 36px 0; }
.quick-settings.adjusted .quick-toggle .quick-toggle-arrow:rtl { border-radius: 36px 0 0 36px; }

.usage-level StIcon{ width: 1.29em; }