/***************************
 * Check and Radio buttons *
 ***************************/
* {
  padding: 0;
  -GtkToolButton-icon-spacing: 4;
  -GtkTextView-error-underline-color: #bf1717;
  -GtkScrolledWindow-scrollbar-spacing: 0;
  -GtkToolItemGroup-expander-size: 11;
  -GtkWidget-text-handle-width: 20;
  -GtkWidget-text-handle-height: 24;
  -GtkDialog-button-spacing: 4;
  -GtkDialog-action-area-border: 0;
  outline-color: alpha(currentColor, 0.3);
  outline-style: dashed;
  outline-offset: -3px;
  outline-width: 1px;
  -gtk-outline-radius: 2px;
  -gtk-secondary-caret-color: #2777ff;
}

/***************
 * Base States *
 ***************/
.background {
  color: #eeeeec;
  background-color: #16162e;
}

.background:backdrop {
  color: #888a8d;
  background-color: #16162e;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

/*
   These wildcard seems unavoidable, need to investigate.
   Wildcards are bad and troublesome, use them with care,
   or better, just don't.
   Everytime a wildcard is used a kitten dies, painfully.
*/
*:disabled {
  -gtk-icon-effect: dim;
}

.gtkstyle-fallback {
  color: #eeeeec;
  background-color: #16162e;
}

.gtkstyle-fallback:hover {
  color: #eeeeec;
  background-color: #383d4b;
}

.gtkstyle-fallback:active {
  color: #eeeeec;
  background-color: #0d0e11;
}

.gtkstyle-fallback:disabled {
  color: #888a8d;
  background-color: #1d1d2e;
}

.gtkstyle-fallback:selected {
  color: #ffffff;
  background-color: #2777ff;
}

.view,
iconview,
.view text,
iconview text,
textview text {
  color: white;
  background-color: #262643;
}

.view:backdrop,
iconview:backdrop,
.view text:backdrop,
iconview text:backdrop,
textview text:backdrop {
  color: #d4d5d7;
  background-color: #1c1c2b;
}

.view:backdrop:disabled,
iconview:backdrop:disabled,
.view text:backdrop:disabled,
iconview text:backdrop:disabled,
textview text:backdrop:disabled {
  color: #43495a;
}

.view:disabled,
iconview:disabled,
.view text:disabled,
iconview text:disabled,
textview text:disabled {
  color: #888a8d;
  background-color: #1d1d2e;
}

.view:selected:focus,
iconview:selected:focus,
.view:selected,
iconview:selected,
.view text:selected:focus,
iconview text:selected:focus,
textview text:selected:focus,
.view text:selected,
iconview text:selected,
textview text:selected {
  border-radius: 3px;
}

textview border {
  background-color: #333b52;
}

.rubberband,
rubberband,
.content-view rubberband,
.content-view .rubberband,
treeview.view rubberband,
flowbox rubberband {
  border: 1px solid #005af3;
  background-color: rgba(0, 90, 243, 0.2);
}

flowbox flowboxchild {
  padding: 3px;
}

flowbox flowboxchild:selected {
  outline-offset: -2px;
}

.content-view .tile {
  margin: 2px;
  background-color: black;
  border-radius: 0;
  padding: 0;
}

.content-view .tile:backdrop {
  background-color: #1e2128;
}

.content-view .tile:active,
.content-view .tile:selected {
  background-color: #2777ff;
}

.content-view .tile:disabled {
  background-color: #1d1d2e;
}

label {
  caret-color: currentColor;
}

label selection {
  background-color: #2777ff;
  color: #ffffff;
}

label:disabled {
  color: #888a8d;
}

button label:disabled {
  color: inherit;
}

label:disabled:backdrop {
  color: #43495a;
}

button label:disabled:backdrop {
  color: inherit;
}

label.error {
  color: #bf1717;
}

label.error:disabled {
  color: rgba(191, 23, 23, 0.5);
}

label.error:disabled:backdrop {
  color: rgba(191, 23, 23, 0.4);
}

.dim-label,
.budgie-notification .notification-body,
.budgie-switcher .notification-body,
.budgie-switcher-window .notification-body,
.budgie-osd .notification-body,
.titlebar:not(headerbar) .subtitle,
headerbar .subtitle,
label.separator {
  opacity: 0.55;
  text-shadow: none;
}

assistant .sidebar {
  background-color: #262643;
  border-top: 1px solid #0d0e11;
}

assistant .sidebar:backdrop {
  background-color: #1c1c2b;
  border-color: #0d0e11;
}

assistant.csd .sidebar {
  border-top-style: none;
}

assistant .sidebar label {
  padding: 6px 12px;
}

assistant .sidebar label.highlight {
  background-color: #4b4d54;
}

.osd .scale-popup,
.app-notification,
.app-notification.frame,
.csd popover.background.osd,
popover.background.osd,
.csd popover.background.touch-selection,
.csd popover.background.magnifier,
popover.background.touch-selection,
popover.background.magnifier,
.osd {
  color: white;
  border: none;
  background-color: #303340;
  background-clip: padding-box;
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
}

.osd .scale-popup:backdrop,
.app-notification:backdrop,
popover.background.osd:backdrop,
popover.background.touch-selection:backdrop,
popover.background.magnifier:backdrop,
.osd:backdrop {
  text-shadow: none;
  -gtk-icon-shadow: none;
}

/*********************
 * Spinner Animation *
 *********************/
@keyframes spin {
  to {
    -gtk-icon-transform: rotate(1turn);
  }
}

spinner {
  background: none;
  opacity: 0;
  -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
}

spinner:backdrop {
  color: #888a8d;
}

spinner:checked {
  opacity: 1;
  animation: spin 1s linear infinite;
}

spinner:checked:disabled {
  opacity: 0.5;
}

/**********************
 * General Typography *
 **********************/
.large-title {
  font-weight: 300;
  font-size: 24pt;
}

.title-1 {
  font-weight: 800;
  font-size: 20pt;
}

.title-2 {
  font-weight: 800;
  font-size: 15pt;
}

.title-3 {
  font-weight: 700;
  font-size: 15pt;
}

.title-4 {
  font-weight: 700;
  font-size: 13pt;
}

.heading {
  font-weight: 700;
  font-size: 11pt;
}

.body {
  font-weight: 400;
  font-size: 11pt;
}

.caption-heading {
  font-weight: 700;
  font-size: 9pt;
}

.caption {
  font-weight: 400;
  font-size: 9pt;
}

/****************
 * Text Entries *
 ****************/
spinbutton:not(.vertical),
entry {
  min-height: 28px;
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid;
  border-radius: 4px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: white;
  border-color: #0d0e11;
  background-color: #262643;
  box-shadow: inset 0 0 0 1px rgba(39, 119, 255, 0);
}

spinbutton:not(.vertical) image.left,
entry image.left {
  margin-right: 6px;
}

spinbutton:not(.vertical) image.right,
entry image.right {
  margin-left: 6px;
}

spinbutton.flat:not(.vertical),
entry.flat:focus,
entry.flat:backdrop,
entry.flat:disabled,
entry.flat {
  min-height: 0;
  padding: 2px;
  background-color: transparent;
  border-color: transparent;
  border-radius: 0;
}

spinbutton:focus:not(.vertical),
entry:focus {
  box-shadow: inset 0 0 0 1px #2777ff;
  border-color: #00348d;
}

spinbutton:disabled:not(.vertical),
entry:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-color: #1d1d2e;
  box-shadow: none;
}

spinbutton:backdrop:not(.vertical),
entry:backdrop {
  color: #d4d5d7;
  border-color: #0d0e11;
  background-color: #1c1c2b;
  box-shadow: none;
  transition: 200ms ease-out;
}

spinbutton:backdrop:disabled:not(.vertical),
entry:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-color: #1d1d2e;
  box-shadow: none;
}

spinbutton.error:not(.vertical),
entry.error {
  color: #bf1717;
  border-color: #200404;
}

spinbutton.error:focus:not(.vertical),
entry.error:focus {
  box-shadow: inset 0 0 0 1px #bf1717;
  border-color: #200404;
}

spinbutton.error:not(.vertical) selection,
entry.error selection {
  background-color: #bf1717;
}

spinbutton.warning:not(.vertical),
entry.warning {
  color: #fd7d00;
  border-color: #4b2500;
}

spinbutton.warning:focus:not(.vertical),
entry.warning:focus {
  box-shadow: inset 0 0 0 1px #fd7d00;
  border-color: #4b2500;
}

spinbutton.warning:not(.vertical) selection,
entry.warning selection {
  background-color: #fd7d00;
}

spinbutton:not(.vertical) image,
entry image {
  color: #c6c7c7;
}

spinbutton:not(.vertical) image:hover,
entry image:hover {
  color: #eeeeec;
}

spinbutton:not(.vertical) image:active,
entry image:active {
  color: #2777ff;
}

spinbutton:not(.vertical) image:backdrop,
entry image:backdrop {
  color: #75777c;
}

spinbutton:drop(active):not(.vertical),
entry:drop(active):focus,
entry:drop(active) {
  border-color: #19a187;
  box-shadow: inset 0 0 0 1px #19a187;
}

.osd spinbutton:not(.vertical),
.osd entry {
  color: white;
  border-color: black;
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
}

.osd spinbutton:focus:not(.vertical),
.osd entry:focus {
  color: white;
  border-color: #2777ff;
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px #2777ff;
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
}

.osd spinbutton:backdrop:not(.vertical),
.osd entry:backdrop {
  color: white;
  border-color: black;
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.osd spinbutton:disabled:not(.vertical),
.osd entry:disabled {
  color: #97999f;
  border-color: black;
  background-color: rgba(68, 72, 83, 0.5);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

spinbutton:not(.vertical) progress,
entry progress {
  margin: 2px -6px;
  background-color: transparent;
  background-image: none;
  border-radius: 0;
  border-width: 0 0 2px;
  border-color: #2777ff;
  border-style: solid;
  box-shadow: none;
}

spinbutton:not(.vertical) progress:backdrop,
entry progress:backdrop {
  background-color: transparent;
}

.linked:not(.vertical)>spinbutton:focus:not(.vertical)+spinbutton:not(.vertical),
.linked:not(.vertical)>spinbutton:focus:not(.vertical)+button,
.linked:not(.vertical)>spinbutton:focus:not(.vertical)+combobox>box>button.combo,
.linked:not(.vertical)>spinbutton:focus:not(.vertical)+entry,
.linked:not(.vertical)>entry:focus+button,
.linked:not(.vertical)>entry:focus+combobox>box>button.combo,
.linked:not(.vertical)>entry:focus+spinbutton:not(.vertical),
.linked:not(.vertical)>entry:focus+entry {
  border-left-color: #00348d;
}

.linked:not(.vertical)>spinbutton:focus.error:not(.vertical)+spinbutton:not(.vertical),
.linked:not(.vertical)>spinbutton:focus.error:not(.vertical)+button,
.linked:not(.vertical)>spinbutton:focus.error:not(.vertical)+combobox>box>button.combo,
.linked:not(.vertical)>spinbutton:focus.error:not(.vertical)+entry,
.linked:not(.vertical)>entry:focus.error+button,
.linked:not(.vertical)>entry:focus.error+combobox>box>button.combo,
.linked:not(.vertical)>entry:focus.error+spinbutton:not(.vertical),
.linked:not(.vertical)>entry:focus.error+entry {
  border-left-color: #200404;
}

.linked:not(.vertical)>spinbutton:drop(active):not(.vertical)+spinbutton:not(.vertical),
.linked:not(.vertical)>spinbutton:drop(active):not(.vertical)+button,
.linked:not(.vertical)>spinbutton:drop(active):not(.vertical)+combobox>box>button.combo,
.linked:not(.vertical)>spinbutton:drop(active):not(.vertical)+entry,
.linked:not(.vertical)>entry:drop(active)+button,
.linked:not(.vertical)>entry:drop(active)+combobox>box>button.combo,
.linked:not(.vertical)>entry:drop(active)+spinbutton:not(.vertical),
.linked:not(.vertical)>entry:drop(active)+entry {
  border-left-color: #19a187;
}

.linked.vertical>spinbutton:not(:disabled):not(.vertical)+entry:not(:disabled),
.linked.vertical>spinbutton:not(:disabled):not(.vertical)+spinbutton:not(:disabled):not(.vertical),
.linked.vertical>entry:not(:disabled)+entry:not(:disabled),
.linked.vertical>entry:not(:disabled)+spinbutton:not(:disabled):not(.vertical) {
  border-top-color: #1f222a;
}

.linked.vertical>spinbutton:not(:disabled):not(.vertical)+entry:not(:disabled):backdrop,
.linked.vertical>spinbutton:not(:disabled):not(.vertical)+spinbutton:not(:disabled):backdrop:not(.vertical),
.linked.vertical>entry:not(:disabled)+entry:not(:disabled):backdrop,
.linked.vertical>entry:not(:disabled)+spinbutton:not(:disabled):backdrop:not(.vertical) {
  border-top-color: #21232c;
}

.linked.vertical>spinbutton:disabled:not(.vertical)+spinbutton:disabled:not(.vertical),
.linked.vertical>spinbutton:disabled:not(.vertical)+entry:disabled,
.linked.vertical>entry:disabled+spinbutton:disabled:not(.vertical),
.linked.vertical>entry:disabled+entry:disabled {
  border-top-color: #1f222a;
}

.linked.vertical>spinbutton:not(.vertical)+spinbutton:focus:not(:only-child):not(.vertical),
.linked.vertical>spinbutton:not(.vertical)+entry:focus:not(:only-child),
.linked.vertical>entry+spinbutton:focus:not(:only-child):not(.vertical),
.linked.vertical>entry+entry:focus:not(:only-child) {
  border-top-color: #00348d;
}

.linked.vertical>spinbutton:not(.vertical)+spinbutton:focus.error:not(:only-child):not(.vertical),
.linked.vertical>spinbutton:not(.vertical)+entry:focus.error:not(:only-child),
.linked.vertical>entry+spinbutton:focus.error:not(:only-child):not(.vertical),
.linked.vertical>entry+entry:focus.error:not(:only-child) {
  border-top-color: #200404;
}

.linked.vertical>spinbutton:not(.vertical)+spinbutton:drop(active):not(:only-child):not(.vertical),
.linked.vertical>spinbutton:not(.vertical)+entry:drop(active):not(:only-child),
.linked.vertical>entry+spinbutton:drop(active):not(:only-child):not(.vertical),
.linked.vertical>entry+entry:drop(active):not(:only-child) {
  border-top-color: #19a187;
}

.linked.vertical>spinbutton:focus:not(:only-child):not(.vertical)+spinbutton:not(.vertical),
.linked.vertical>spinbutton:focus:not(:only-child):not(.vertical)+entry,
.linked.vertical>spinbutton:focus:not(:only-child):not(.vertical)+button,
.linked.vertical>spinbutton:focus:not(:only-child):not(.vertical)+combobox>box>button.combo,
.linked.vertical>entry:focus:not(:only-child)+spinbutton:not(.vertical),
.linked.vertical>entry:focus:not(:only-child)+entry,
.linked.vertical>entry:focus:not(:only-child)+button,
.linked.vertical>entry:focus:not(:only-child)+combobox>box>button.combo {
  border-top-color: #00348d;
}

.linked.vertical>spinbutton:focus.error:not(:only-child):not(.vertical)+spinbutton:not(.vertical),
.linked.vertical>spinbutton:focus.error:not(:only-child):not(.vertical)+entry,
.linked.vertical>spinbutton:focus.error:not(:only-child):not(.vertical)+button,
.linked.vertical>spinbutton:focus.error:not(:only-child):not(.vertical)+combobox>box>button.combo,
.linked.vertical>entry:focus.error:not(:only-child)+spinbutton:not(.vertical),
.linked.vertical>entry:focus.error:not(:only-child)+entry,
.linked.vertical>entry:focus.error:not(:only-child)+button,
.linked.vertical>entry:focus.error:not(:only-child)+combobox>box>button.combo {
  border-top-color: #200404;
}

.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+spinbutton:not(.vertical),
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+entry,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+combobox>box>button.combo,
.linked.vertical>entry:drop(active):not(:only-child)+spinbutton:not(.vertical),
.linked.vertical>entry:drop(active):not(:only-child)+entry,
.linked.vertical>entry:drop(active):not(:only-child)+button,
.linked.vertical>entry:drop(active):not(:only-child)+combobox>box>button.combo {
  border-top-color: #19a187;
}

spinbutton.error:not(.vertical),
entry.error {
  color: #bf1717;
}

treeview entry:focus:dir(rtl),
treeview entry:focus:dir(ltr) {
  background-color: #262643;
  transition-property: color, background;
}

treeview entry.flat,
treeview entry {
  border-radius: 0;
  background-image: none;
  background-color: #262643;
}

treeview entry.flat:focus,
treeview entry:focus {
  border-color: #2777ff;
}

.entry-tag {
  padding: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
  border-style: none;
  color: #262643;
  background-color: #8b8c90;
}

:dir(ltr) .entry-tag {
  margin-left: 8px;
  margin-right: -5px;
}

:dir(rtl) .entry-tag {
  margin-left: -5px;
  margin-right: 8px;
}

.entry-tag:hover {
  background-color: #a5a6a9;
}

:backdrop .entry-tag {
  color: #1c1c2b;
  background-color: #595b62;
}

.entry-tag.button {
  background-color: transparent;
  color: rgba(39, 42, 52, 0.7);
}

:not(:backdrop) .entry-tag.button:hover {
  border: 1px solid #8b8c90;
  color: #262643;
}

:not(:backdrop) .entry-tag.button:active {
  background-color: #8b8c90;
  color: rgba(39, 42, 52, 0.7);
}

/***********
 * Buttons *
 ***********/
@keyframes needs_attention {
  from {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#74a7ff), to(transparent));
  }

  to {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#2777ff), to(transparent));
  }
}

button.titlebutton,
notebook>header>tabs>arrow,
button {
  min-height: 24px;
  min-width: 16px;
  padding: 2px 6px;
  border: 1px solid;
  border-radius: 4px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.titlebutton,
button.sidebar-button,
notebook>header>tabs>arrow,
notebook>header>tabs>arrow.flat,
button.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  transition: none;
}

button.titlebutton:hover,
button.sidebar-button:hover,
notebook>header>tabs>arrow:hover,
button.flat:hover {
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-duration: 500ms;
}

button.titlebutton:hover:active,
button.sidebar-button:hover:active,
notebook>header>tabs>arrow:hover:active,
button.flat:hover:active {
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

notebook>header>tabs>arrow:hover,
button:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  -gtk-icon-effect: highlight;
}

notebook>header>tabs>arrow:active,
notebook>header>tabs>arrow:checked,
button:active,
button:checked {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  background-image: image(#0f1014);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  transition-duration: 50ms;
}

notebook>header>tabs>arrow:backdrop,
button:backdrop.flat,
button:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  transition: 200ms ease-out;
  -gtk-icon-effect: none;
}

notebook>header>tabs>arrow:backdrop:active,
notebook>header>tabs>arrow:backdrop:checked,
button:backdrop.flat:active,
button:backdrop.flat:checked,
button:backdrop:active,
button:backdrop:checked {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1a1d23);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

notebook>header>tabs>arrow:backdrop:disabled,
button:backdrop.flat:disabled,
button:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

notebook>header>tabs>arrow:backdrop:disabled:active,
notebook>header>tabs>arrow:backdrop:disabled:checked,
button:backdrop.flat:disabled:active,
button:backdrop.flat:disabled:checked,
button:backdrop:disabled:active,
button:backdrop:disabled:checked {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1a1d23);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.titlebutton:backdrop,
button.sidebar-button:backdrop,
notebook>header>tabs>arrow:backdrop,
button.titlebutton:disabled,
button.sidebar-button:disabled,
notebook>header>tabs>arrow:disabled,
button.flat:backdrop,
button.flat:disabled,
button.flat:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

notebook>header>tabs>arrow:disabled,
button:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

notebook>header>tabs>arrow:disabled:active,
notebook>header>tabs>arrow:disabled:checked,
button:disabled:active,
button:disabled:checked {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16181d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

notebook>header>tabs>arrow.image-button,
button.image-button {
  min-width: 24px;
  padding-left: 2px;
  padding-right: 2px;
}

notebook>header>tabs>arrow.text-button,
button.text-button {
  padding-left: 16px;
  padding-right: 16px;
}

notebook>header>tabs>arrow.text-button.image-button,
button.text-button.image-button {
  padding-left: 8px;
  padding-right: 8px;
}

notebook>header>tabs>arrow.text-button.image-button label,
button.text-button.image-button label {
  padding-left: 8px;
  padding-right: 8px;
}

combobox:drop(active) button.combo,
notebook>header>tabs>arrow:drop(active),
button:drop(active) {
  color: #19a187;
  border-color: #19a187;
  box-shadow: inset 0 0 0 1px #19a187;
}

row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled),
row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled) {
  color: #ffffff;
  border-color: transparent;
}

row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop,
row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop {
  color: #888a8d;
}


button.osd {
  min-width: 26px;
  min-height: 32px;
  color: white;
  border-radius: 5px;
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
  border: none;
  box-shadow: none;
}

button.osd.image-button {
  min-width: 34px;
}

button.osd:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#4a5063);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
  border: none;
  box-shadow: none;
}

button.osd:active,
button.osd:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
  border: none;
  box-shadow: none;
}

button.osd:disabled:backdrop,
button.osd:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  border: none;
}

button.osd:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  border: none;
}

.app-notification button,
.app-notification.frame button,
.csd popover.background.touch-selection button,
.csd popover.background.magnifier button,
popover.background.touch-selection button,
popover.background.magnifier button,
.osd button {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.app-notification button:hover,
popover.background.touch-selection button:hover,
popover.background.magnifier button:hover,
.osd button:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#4a5063);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.app-notification button:active,
popover.background.touch-selection button:active,
popover.background.magnifier button:active,
.app-notification button:checked,
popover.background.touch-selection button:checked,
popover.background.magnifier button:checked,
.osd button:active:backdrop,
.osd button:active,
.osd button:checked:backdrop,
.osd button:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}

.app-notification button:disabled,
popover.background.touch-selection button:disabled,
popover.background.magnifier button:disabled,
.osd button:disabled:backdrop,
.osd button:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.app-notification button:backdrop,
popover.background.touch-selection button:backdrop,
popover.background.magnifier button:backdrop,
.osd button:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.app-notification button.flat,
popover.background.touch-selection button.flat,
popover.background.magnifier button.flat,
.osd button.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: none;
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
}

.app-notification button.flat:hover,
popover.background.touch-selection button.flat:hover,
popover.background.magnifier button.flat:hover,
.osd button.flat:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#4a5063);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.app-notification button.flat:disabled,
popover.background.touch-selection button.flat:disabled,
popover.background.magnifier button.flat:disabled,
.osd button.flat:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  background-image: none;
  border-color: transparent;
  box-shadow: none;
}

.app-notification button.flat:backdrop,
popover.background.touch-selection button.flat:backdrop,
popover.background.magnifier button.flat:backdrop,
.osd button.flat:backdrop {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.app-notification button.flat:active,
popover.background.touch-selection button.flat:active,
popover.background.magnifier button.flat:active,
.app-notification button.flat:checked,
popover.background.touch-selection button.flat:checked,
popover.background.magnifier button.flat:checked,
.osd button.flat:active,
.osd button.flat:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}


button.suggested-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #186dff;
  border-bottom-color: #0054e4;
  background-image: image(#4b8dff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.suggested-action.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #2777ff;
}

button.suggested-action:hover {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  border-bottom-color: #0047c0;
  background-image: linear-gradient(to top, #2274ff, #2c7aff 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.suggested-action:active,
button.suggested-action:checked {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  background-image: image(#005cf8);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

button.suggested-action:backdrop,
button.suggested-action.flat:backdrop {
  color: #d4e4ff;
  border-color: #005af3;
  background-image: image(#2777ff);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:backdrop:active,
button.suggested-action:backdrop:checked,
button.suggested-action.flat:backdrop:active,
button.suggested-action.flat:backdrop:checked {
  color: #d2dff7;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:backdrop:disabled,
button.suggested-action.flat:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:backdrop:disabled:active,
button.suggested-action:backdrop:disabled:checked,
button.suggested-action.flat:backdrop:disabled:active,
button.suggested-action.flat:backdrop:disabled:checked {
  color: #6d98e4;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action.flat:backdrop,
button.suggested-action.flat:disabled,
button.suggested-action.flat:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: rgba(39, 119, 255, 0.8);
}

button.suggested-action:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:disabled:active,
button.suggested-action:disabled:checked {
  color: #a4beeb;
  border-color: #005af3;
  background-image: image(#1c5dcd);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.osd button.suggested-action {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(39, 119, 255, 0.5));
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.suggested-action:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(39, 119, 255, 0.7));
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.suggested-action:active:backdrop,
.osd button.suggested-action:active,
.osd button.suggested-action:checked:backdrop,
.osd button.suggested-action:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#2777ff);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.suggested-action:disabled:backdrop,
.osd button.suggested-action:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.osd button.suggested-action:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(39, 119, 255, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}


button.destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #991212;
  border-bottom-color: #6b0d0d;
  background-image: image(#c61717);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(121, 14, 14, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.destructive-action.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #a61414;
}

button.destructive-action:hover {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #790e0e;
  border-bottom-color: #4b0909;
  background-image: linear-gradient(to top, #a21313, #ab1414 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(121, 14, 14, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.destructive-action:active,
button.destructive-action:checked {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #790e0e;
  background-image: image(#7d0f0f);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

button.destructive-action:backdrop,
button.destructive-action.flat:backdrop {
  color: #edd0d0;
  border-color: #790e0e;
  background-image: image(#a61414);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:backdrop:active,
button.destructive-action:backdrop:checked,
button.destructive-action.flat:backdrop:active,
button.destructive-action.flat:backdrop:checked {
  color: #e6d0d0;
  border-color: #790e0e;
  background-image: image(#811415);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:backdrop:disabled,
button.destructive-action.flat:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:backdrop:disabled:active,
button.destructive-action:backdrop:disabled:checked,
button.destructive-action.flat:backdrop:disabled:active,
button.destructive-action.flat:backdrop:disabled:checked {
  color: #ad6667;
  border-color: #790e0e;
  background-image: image(#811415);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action.flat:backdrop,
button.destructive-action.flat:disabled,
button.destructive-action.flat:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: rgba(166, 20, 20, 0.8);
}

button.destructive-action:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:disabled:active,
button.destructive-action:disabled:checked {
  color: #c9a1a1;
  border-color: #790e0e;
  background-image: image(#791314);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.osd button.destructive-action {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(166, 20, 20, 0.5));
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.destructive-action:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(166, 20, 20, 0.7));
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.destructive-action:active:backdrop,
.osd button.destructive-action:active,
.osd button.destructive-action:checked:backdrop,
.osd button.destructive-action:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#a61414);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd button.destructive-action:disabled:backdrop,
.osd button.destructive-action:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.osd button.destructive-action:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(166, 20, 20, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.stack-switcher>button {
  outline-offset: -3px;
}

.stack-switcher>button>label {
  padding-left: 6px;
  padding-right: 6px;
}

.stack-switcher>button>image {
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.stack-switcher>button.text-button {
  padding-left: 10px;
  padding-right: 10px;
}

.stack-switcher>button.image-button {
  padding-left: 2px;
  padding-right: 2px;
}

.stack-switcher>button.needs-attention:active>label,
.stack-switcher>button.needs-attention:active>image,
.stack-switcher>button.needs-attention:checked>label,
.stack-switcher>button.needs-attention:checked>image {
  animation: none;
  background-image: none;
}


button.font separator,
button.file separator {
  background-color: transparent;
}


button.font>box>box>label {
  font-weight: bold;
}

.primary-toolbar button {
  -gtk-icon-shadow: none;
}


button.circular {
  border-radius: 9999px;
  -gtk-outline-radius: 9999px;
  padding: 2px;
  /* circles instead of ellipses */
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}

button.circular label {
  padding: 0;
}

button.circular:not(.flat):not(.osd):not(:checked):not(:active):not(:disabled):not(:backdrop) {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d), linear-gradient(to top, black 25%, #0d0e11 50%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-color: transparent;
}

button.circular:hover:not(.osd):not(:checked):not(:active):not(:disabled):not(:backdrop) {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px), linear-gradient(to top, black 25%, #0d0e11 50%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-color: transparent;
}

stacksidebar row.needs-attention>label,
.stack-switcher>button.needs-attention>label,
.stack-switcher>button.needs-attention>image {
  animation: needs_attention 150ms ease-in;
  background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#74a7ff), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.45, to(rgba(0, 0, 0, 0.873255)), to(transparent));
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position: right 3px, right 2px;
}

stacksidebar row.needs-attention>label:backdrop,
.stack-switcher>button.needs-attention>label:backdrop,
.stack-switcher>button.needs-attention>image:backdrop {
  background-size: 6px 6px, 0 0;
}

stacksidebar row.needs-attention>label:dir(rtl),
.stack-switcher>button.needs-attention>label:dir(rtl),
.stack-switcher>button.needs-attention>image:dir(rtl) {
  background-position: left 3px, left 2px;
}

.inline-toolbar toolbutton>button {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

.inline-toolbar toolbutton>button:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

.inline-toolbar toolbutton>button:active,
.inline-toolbar toolbutton>button:checked {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  background-image: image(#0f1014);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.inline-toolbar toolbutton>button:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.inline-toolbar toolbutton>button:disabled:active,
.inline-toolbar toolbutton>button:disabled:checked {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16181d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.inline-toolbar toolbutton>button:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.inline-toolbar toolbutton>button:backdrop:active,
.inline-toolbar toolbutton>button:backdrop:checked {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1a1d23);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.inline-toolbar toolbutton>button:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.inline-toolbar toolbutton>button:backdrop:disabled:active,
.inline-toolbar toolbutton>button:backdrop:disabled:checked {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1a1d23);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.linked:not(.vertical)>combobox>box>button.combo,
filechooser .path-bar.linked>button,
.linked:not(.vertical)>spinbutton:not(.vertical),
.linked:not(.vertical)>entry,
.inline-toolbar button,
.linked>button,
toolbar.inline-toolbar toolbutton>button.flat {
  border-right-style: none;
  border-radius: 0;
  -gtk-outline-radius: 0;
}

.linked:not(.vertical)>combobox:first-child>box>button.combo,
combobox.linked button:nth-child(2):dir(rtl),
filechooser .path-bar.linked>button:dir(rtl):last-child,
filechooser .path-bar.linked>button:dir(ltr):first-child,
.linked:not(.vertical)>spinbutton:first-child:not(.vertical),
.linked:not(.vertical)>entry:first-child,
.inline-toolbar button:first-child,
.linked>button:first-child,
toolbar.inline-toolbar toolbutton:first-child>button.flat {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -gtk-outline-top-left-radius: 4px;
  -gtk-outline-bottom-left-radius: 4px;
}

.linked:not(.vertical)>combobox:last-child>box>button.combo,
combobox.linked button:nth-child(2):dir(ltr),
filechooser .path-bar.linked>button:dir(rtl):first-child,
filechooser .path-bar.linked>button:dir(ltr):last-child,
.linked:not(.vertical)>spinbutton:last-child:not(.vertical),
.linked:not(.vertical)>entry:last-child,
.inline-toolbar button:last-child,
.linked>button:last-child,
toolbar.inline-toolbar toolbutton:last-child>button.flat {
  border-right-style: solid;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -gtk-outline-top-right-radius: 4px;
  -gtk-outline-bottom-right-radius: 4px;
}

.linked:not(.vertical)>combobox:only-child>box>button.combo,
filechooser .path-bar.linked>button:only-child,
.linked:not(.vertical)>spinbutton:only-child:not(.vertical),
.linked:not(.vertical)>entry:only-child,
.inline-toolbar button:only-child,
.linked>button:only-child,
toolbar.inline-toolbar toolbutton:only-child>button.flat {
  border-style: solid;
  border-radius: 4px;
  -gtk-outline-radius: 4px;
}

.linked.vertical>combobox>box>button.combo,
.linked.vertical>spinbutton:not(.vertical),
.linked.vertical>entry,
.linked.vertical>button {
  border-style: solid solid none solid;
  border-radius: 0;
  -gtk-outline-radius: 0;
}

.linked.vertical>combobox:first-child>box>button.combo,
.linked.vertical>spinbutton:first-child:not(.vertical),
.linked.vertical>entry:first-child,
.linked.vertical>button:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  -gtk-outline-top-left-radius: 4px;
  -gtk-outline-top-right-radius: 4px;
}

.linked.vertical>combobox:last-child>box>button.combo,
.linked.vertical>spinbutton:last-child:not(.vertical),
.linked.vertical>entry:last-child,
.linked.vertical>button:last-child {
  border-bottom-style: solid;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  -gtk-outline-bottom-left-radius: 4px;
  -gtk-outline-bottom-right-radius: 4px;
}

.linked.vertical>combobox:only-child>box>button.combo,
.linked.vertical>spinbutton:only-child:not(.vertical),
.linked.vertical>entry:only-child,
.linked.vertical>button:only-child {
  border-style: solid;
  border-radius: 4px;
  -gtk-outline-radius: 4px;
}

.scale-popup button:backdrop:hover,
.scale-popup button:backdrop:disabled,
.scale-popup button:backdrop,
.scale-popup button:hover,
calendar.button,
button:link:hover,
button:link:active,
button:link:checked,
button:visited:hover,
button:visited:active,
button:visited:checked,
button:link,
button:visited,
list row button.image-button:not(.flat),
modelbutton.flat:backdrop,
modelbutton.flat:backdrop:hover,
modelbutton.flat,
.menuitem.button.flat {
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

/* menu buttons */
modelbutton.flat,
.menuitem.button.flat {
  min-height: 26px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 4px;
  outline-offset: -2px;
}

modelbutton.flat:hover,
.menuitem.button.flat:hover {
  background-color: #3b3e46;
}

modelbutton.flat arrow {
  background: none;
}

modelbutton.flat arrow:hover {
  background: none;
}

modelbutton.flat arrow.left {
  -gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}

modelbutton.flat arrow.right {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}

button.color {
  padding: 4px;
}

button.color colorswatch:only-child,
button.color colorswatch:only-child overlay {
  border-radius: 0;
}

/* list buttons */
/* tone down as per new designs, see issue #1473, #1748 */
list row button.image-button:not(.flat) {
  border: 1px solid rgba(13, 14, 17, 0.5);
}

list row button.image-button:not(.flat):hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

list row button.image-button:not(.flat):active,
list row button.image-button:not(.flat):checked {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  background-image: image(#0f1014);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

/*********
 * Links *
 *********/
button:link>label,
button:visited>label,
button:link,
button:visited,
*:link {
  color: #8db7ff;
}

button:link>label:visited,
button:visited>label:visited,
button:visited,
*:link:visited {
  color: #5a97ff;
}

*:selected button:link>label:visited,
*:selected button:visited>label:visited,
*:selected button:visited,
*:selected *:link:visited {
  color: #bdd5ff;
}

button:link>label:hover,
button:visited>label:hover,
button:hover:link,
button:hover:visited,
*:link:hover {
  color: #c0d7ff;
}

*:selected button:link>label:hover,
*:selected button:visited>label:hover,
*:selected button:hover:link,
*:selected button:hover:visited,
*:selected *:link:hover {
  color: #f9fbff;
}

button:link>label:active,
button:visited>label:active,
button:active:link,
button:active:visited,
*:link:active {
  color: #8db7ff;
}

*:selected button:link>label:active,
*:selected button:visited>label:active,
*:selected button:active:link,
*:selected button:active:visited,
*:selected *:link:active {
  color: #e8f1ff;
}

button:link>label:disabled,
button:visited>label:disabled,
button:disabled:link,
button:disabled:visited,
*:link:disabled,
*:link:disabled:backdrop {
  color: rgba(198, 198, 198, 0.8);
}

button:link>label:backdrop,
button:visited>label:backdrop,
button:backdrop:link,
button:backdrop:visited,
*:link:backdrop:backdrop:hover,
*:link:backdrop:backdrop:hover:selected,
*:link:backdrop {
  color: rgba(141, 183, 255, 0.9);
}

.selection-mode .titlebar:not(headerbar) .subtitle:link,
.selection-mode.titlebar:not(headerbar) .subtitle:link,
.selection-mode headerbar .subtitle:link,
headerbar.selection-mode .subtitle:link,
button:link>label:selected,
button:visited>label:selected,
button:selected:link,
button:selected:visited,
*:selected button:link>label,
*:selected button:visited>label,
*:selected button:link,
*:selected button:visited,
*:link:selected,
*:selected *:link {
  color: #e8f1ff;
}

button:link,
button:visited {
  text-shadow: none;
}

button:link:hover,
button:link:active,
button:link:checked,
button:visited:hover,
button:visited:active,
button:visited:checked {
  text-shadow: none;
}

button:link>label,
button:visited>label {
  text-decoration-line: underline;
}

/*****************
 * GtkSpinButton *
 *****************/
spinbutton {
  font-feature-settings: "tnum";
}

spinbutton:not(.vertical) {
  padding: 0;
}

.osd spinbutton:not(.vertical) entry,
spinbutton:not(.vertical) entry {
  min-width: 28px;
  margin: 0;
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

spinbutton:not(.vertical) entry:backdrop:disabled {
  background-color: transparent;
}

spinbutton:not(.vertical) button {
  min-height: 16px;
  margin: 0;
  padding-bottom: 0;
  padding-top: 0;
  color: #dadada;
  background-image: none;
  border-style: none none none solid;
  border-color: rgba(13, 14, 17, 0.3);
  border-radius: 0;
  box-shadow: none;
}

spinbutton:not(.vertical) button:dir(rtl) {
  border-style: none solid none none;
}

spinbutton:not(.vertical) button:hover {
  color: #eeeeec;
  background-color: rgba(238, 238, 236, 0.05);
}

spinbutton:not(.vertical) button:disabled {
  color: rgba(136, 138, 141, 0.3);
  background-color: transparent;
}

spinbutton:not(.vertical) button:active {
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2);
}

spinbutton:not(.vertical) button:backdrop {
  color: #7f8184;
  background-color: transparent;
  border-color: rgba(13, 14, 17, 0.3);
  transition: 200ms ease-out;
}

spinbutton:not(.vertical) button:backdrop:disabled {
  color: rgba(67, 73, 90, 0.3);
  background-color: transparent;
  background-image: none;
  border-style: none none none solid;
}

spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
  border-style: none solid none none;
}

spinbutton:not(.vertical) button:dir(ltr):last-child {
  border-radius: 0 4px 4px 0;
}

spinbutton:not(.vertical) button:dir(rtl):first-child {
  border-radius: 4px 0 0 4px;
}

.osd spinbutton:not(.vertical) button {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: white;
  border-style: none none none solid;
  border-color: rgba(0, 0, 0, 0.7);
  border-radius: 0;
  box-shadow: none;
  -gtk-icon-shadow: 0 1px black;
}

.osd spinbutton:not(.vertical) button:dir(rtl) {
  border-style: none solid none none;
}

.osd spinbutton:not(.vertical) button:hover {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: white;
  border-color: rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
  -gtk-icon-shadow: 0 1px black;
  box-shadow: none;
}

.osd spinbutton:not(.vertical) button:backdrop {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: white;
  border-color: rgba(0, 0, 0, 0.5);
  -gtk-icon-shadow: none;
  box-shadow: none;
}

.osd spinbutton:not(.vertical) button:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #97999f;
  border-color: rgba(0, 0, 0, 0.5);
  -gtk-icon-shadow: none;
  box-shadow: none;
}

.osd spinbutton:not(.vertical) button:dir(ltr):last-child {
  border-radius: 0 4px 4px 0;
}

.osd spinbutton:not(.vertical) button:dir(rtl):first-child {
  border-radius: 4px 0 0 4px;
}

spinbutton.vertical:disabled {
  color: #888a8d;
}

spinbutton.vertical:backdrop:disabled {
  color: #43495a;
}

spinbutton.vertical:drop(active) {
  border-color: transparent;
  box-shadow: none;
}

spinbutton.vertical entry {
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 0;
}

spinbutton.vertical button {
  min-height: 32px;
  min-width: 32px;
  padding: 0;
}

spinbutton.vertical button.up {
  border-radius: 4px 4px 0 0;
  border-style: solid solid none solid;
}

spinbutton.vertical button.down {
  border-radius: 0 0 4px 4px;
  border-style: none solid solid solid;
}

.osd spinbutton.vertical button:first-child {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd spinbutton.vertical button:first-child:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#4a5063);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd spinbutton.vertical button:first-child:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd spinbutton.vertical button:first-child:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.osd spinbutton.vertical button:first-child:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

treeview spinbutton:not(.vertical) {
  min-height: 0;
  border-style: none;
  border-radius: 0;
}

treeview spinbutton:not(.vertical) entry {
  min-height: 0;
  padding: 1px 2px;
}

/**************
 * ComboBoxes *
 **************/
combobox arrow {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
  min-height: 16px;
  min-width: 16px;
}

combobox:drop(active) {
  box-shadow: none;
}

/************
 * Toolbars *
 ************/
searchbar>revealer>box,
.location-bar,
.inline-toolbar,
toolbar {
  -GtkWidget-window-dragging: true;
  padding: 4px;
  background-color: #16162e;
}

toolbar {
  padding: 4px 3px 3px 4px;
}

.osd toolbar {
  background-color: transparent;
}

toolbar.osd {
  padding: 13px;
  border: none;
  border-radius: 5px;
  background-color: #303340;
}

toolbar.osd.left,
toolbar.osd.right,
toolbar.osd.top,
toolbar.osd.bottom {
  border-radius: 0;
}

toolbar.horizontal separator {
  margin: 0 7px 1px 6px;
}

toolbar.vertical separator {
  margin: 6px 1px 7px 0;
}

toolbar:not(.inline-toolbar):not(.osd)>*:not(.toggle):not(.popup)>* {
  margin-right: 1px;
  margin-bottom: 1px;
}

.inline-toolbar {
  padding: 3px;
  border-width: 0 1px 1px;
  border-radius: 0 0 5px 5px;
}

searchbar>revealer>box,
.location-bar {
  border-width: 0 0 1px;
  padding: 3px;
}

searchbar>revealer>box {
  margin: -6px;
  padding: 6px;
}

.inline-toolbar,
searchbar>revealer>box,
.location-bar {
  border-style: solid;
  border-color: #0d0e11;
  background-color: #1c1e25;
}

.inline-toolbar:backdrop,
searchbar>revealer>box:backdrop,
.location-bar:backdrop {
  border-color: #0d0e11;
  background-color: #16162e;
  box-shadow: none;
  transition: 200ms ease-out;
}

/***************
 * Header bars *
 ***************/
.titlebar:not(headerbar),
headerbar {
  padding: 0 6px;
  min-height: 40px;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: black;
  border-radius: 0;
  background: #0d0e11 linear-gradient(to top, #16171d, #1a1c23);
  box-shadow: inset 0 1px rgba(238, 238, 236, 0.07);
  /* Darken switchbuttons for headerbars. issue #1588 */
  /* hide the close button separator */
}

.titlebar:backdrop:not(headerbar),
headerbar:backdrop {
  border-color: #0d0e11;
  background-color: #16162e;
  background-image: none;
  box-shadow: inset 0 1px rgba(238, 238, 236, 0.07);
  transition: 200ms ease-out;
}

.titlebar:not(headerbar) .title,
headerbar .title {
  padding-left: 12px;
  padding-right: 12px;
  font-weight: bold;
}

.titlebar:not(headerbar) .subtitle,
headerbar .subtitle {
  font-size: smaller;
  padding-left: 12px;
  padding-right: 12px;
}

.titlebar:not(headerbar) stackswitcher button:checked,
.titlebar:not(headerbar) button.toggle:checked,
headerbar stackswitcher button:checked,
headerbar button.toggle:checked {
  background: image(#0f1014);
  border-color: #060708;
  border-top-color: black;
}

.titlebar:not(headerbar) stackswitcher button:checked:backdrop,
.titlebar:not(headerbar) button.toggle:checked:backdrop,
headerbar stackswitcher button:checked:backdrop,
headerbar button.toggle:checked:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1a1d23);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.selection-mode .titlebar:not(headerbar),
.selection-mode.titlebar:not(headerbar),
.selection-mode headerbar,
headerbar.selection-mode {
  color: #ffffff;
  border-color: #00348d;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.5);
  background: #2777ff linear-gradient(to top, #3b84ff, #468aff);
  box-shadow: inset 0 1px rgba(46, 123, 254, 0.535);
}

.selection-mode .titlebar:backdrop:not(headerbar),
.selection-mode.titlebar:backdrop:not(headerbar),
.selection-mode headerbar:backdrop,
headerbar.selection-mode:backdrop {
  background-color: #2777ff;
  background-image: none;
  box-shadow: inset 0 1px rgba(49, 125, 254, 0.442);
}

.selection-mode .titlebar:backdrop:not(headerbar) label,
.selection-mode.titlebar:backdrop:not(headerbar) label,
.selection-mode headerbar:backdrop label,
headerbar.selection-mode:backdrop label {
  text-shadow: none;
  color: #ffffff;
}

.selection-mode .titlebar:not(headerbar) button,
.selection-mode.titlebar:not(headerbar) button,
.selection-mode headerbar button,
headerbar.selection-mode button {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #186dff;
  border-bottom-color: #0054e4;
  background-image: image(#4b8dff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

.selection-mode button.titlebutton,
.selection-mode .titlebar:not(headerbar) button.flat,
.selection-mode.titlebar:not(headerbar) button.flat,
.selection-mode headerbar button.flat,
headerbar.selection-mode button.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.selection-mode .titlebar:not(headerbar) button:hover,
.selection-mode.titlebar:not(headerbar) button:hover,
.selection-mode headerbar button:hover,
headerbar.selection-mode button:hover {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  border-bottom-color: #0047c0;
  background-image: linear-gradient(to top, #2274ff, #2c7aff 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

.selection-mode .titlebar:not(headerbar) button:active,
.selection-mode .titlebar:not(headerbar) button:checked,
.selection-mode.titlebar:not(headerbar) button:active,
.selection-mode.titlebar:not(headerbar) button:checked,
.selection-mode headerbar button:active,
.selection-mode headerbar button:checked,
.selection-mode headerbar button.toggle:checked,
.selection-mode headerbar button.toggle:active,
headerbar.selection-mode button:active,
headerbar.selection-mode button:checked,
headerbar.selection-mode button.toggle:checked,
headerbar.selection-mode button.toggle:active {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  background-image: image(#005cf8);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.selection-mode .titlebar:not(headerbar) button:backdrop,
.selection-mode.titlebar:not(headerbar) button:backdrop,
.selection-mode headerbar button:backdrop.flat,
.selection-mode headerbar button:backdrop,
headerbar.selection-mode button:backdrop.flat,
headerbar.selection-mode button:backdrop {
  color: #d4e4ff;
  border-color: #005af3;
  background-image: image(#2777ff);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  -gtk-icon-effect: none;
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button:backdrop:active,
.selection-mode .titlebar:not(headerbar) button:backdrop:checked,
.selection-mode.titlebar:not(headerbar) button:backdrop:active,
.selection-mode.titlebar:not(headerbar) button:backdrop:checked,
.selection-mode headerbar button:backdrop.flat:active,
.selection-mode headerbar button:backdrop.flat:checked,
.selection-mode headerbar button:backdrop:active,
.selection-mode headerbar button:backdrop:checked,
headerbar.selection-mode button:backdrop.flat:active,
headerbar.selection-mode button:backdrop.flat:checked,
headerbar.selection-mode button:backdrop:active,
headerbar.selection-mode button:backdrop:checked {
  color: #d2dff7;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button:backdrop:disabled,
.selection-mode.titlebar:not(headerbar) button:backdrop:disabled,
.selection-mode headerbar button:backdrop.flat:disabled,
.selection-mode headerbar button:backdrop:disabled,
headerbar.selection-mode button:backdrop.flat:disabled,
headerbar.selection-mode button:backdrop:disabled {
  color: #739fec;
  border-color: #005af3;
  background-image: image(#276be1);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button:backdrop:disabled:active,
.selection-mode .titlebar:not(headerbar) button:backdrop:disabled:checked,
.selection-mode.titlebar:not(headerbar) button:backdrop:disabled:active,
.selection-mode.titlebar:not(headerbar) button:backdrop:disabled:checked,
.selection-mode headerbar button:backdrop:disabled:active,
.selection-mode headerbar button:backdrop:disabled:checked,
headerbar.selection-mode button:backdrop:disabled:active,
headerbar.selection-mode button:backdrop:disabled:checked {
  color: #6d98e4;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode button.titlebutton:backdrop,
.selection-mode button.titlebutton:disabled,
.selection-mode .titlebar:not(headerbar) button.flat:backdrop,
.selection-mode .titlebar:not(headerbar) button.flat:disabled,
.selection-mode.titlebar:not(headerbar) button.flat:backdrop,
.selection-mode.titlebar:not(headerbar) button.flat:disabled,
.selection-mode headerbar button.flat:backdrop,
.selection-mode headerbar button.flat:disabled,
.selection-mode headerbar button.flat:backdrop:disabled,
headerbar.selection-mode button.flat:backdrop,
headerbar.selection-mode button.flat:disabled,
headerbar.selection-mode button.flat:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.selection-mode .titlebar:not(headerbar) button:disabled,
.selection-mode.titlebar:not(headerbar) button:disabled,
.selection-mode headerbar button:disabled,
headerbar.selection-mode button:disabled {
  color: #93b5f0;
  border-color: #005af3;
  background-image: image(#276be1);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.selection-mode .titlebar:not(headerbar) button:disabled:active,
.selection-mode .titlebar:not(headerbar) button:disabled:checked,
.selection-mode.titlebar:not(headerbar) button:disabled:active,
.selection-mode.titlebar:not(headerbar) button:disabled:checked,
.selection-mode headerbar button:disabled:active,
.selection-mode headerbar button:disabled:checked,
headerbar.selection-mode button:disabled:active,
headerbar.selection-mode button:disabled:checked {
  color: #a4beeb;
  border-color: #005af3;
  background-image: image(#1c5dcd);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

.selection-mode .titlebar:not(headerbar) button.suggested-action,
.selection-mode.titlebar:not(headerbar) button.suggested-action,
.selection-mode headerbar button.suggested-action,
headerbar.selection-mode button.suggested-action {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button.suggested-action:hover,
.selection-mode.titlebar:not(headerbar) button.suggested-action:hover,
.selection-mode headerbar button.suggested-action:hover,
headerbar.selection-mode button.suggested-action:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button.suggested-action:active,
.selection-mode.titlebar:not(headerbar) button.suggested-action:active,
.selection-mode headerbar button.suggested-action:active,
headerbar.selection-mode button.suggested-action:active {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  background-image: image(#0f1014);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button.suggested-action:disabled,
.selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
.selection-mode headerbar button.suggested-action:disabled,
headerbar.selection-mode button.suggested-action:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button.suggested-action:backdrop,
.selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop,
.selection-mode headerbar button.suggested-action:backdrop,
headerbar.selection-mode button.suggested-action:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
.selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
.selection-mode headerbar button.suggested-action:backdrop:disabled,
headerbar.selection-mode button.suggested-action:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #00348d;
}

.selection-mode .titlebar:not(headerbar) .selection-menu,
.selection-mode.titlebar:not(headerbar) .selection-menu,
.selection-mode headerbar .selection-menu:backdrop,
.selection-mode headerbar .selection-menu,
headerbar.selection-mode .selection-menu:backdrop,
headerbar.selection-mode .selection-menu {
  border-color: rgba(39, 119, 255, 0);
  background-color: rgba(39, 119, 255, 0);
  background-image: none;
  box-shadow: none;
  min-height: 20px;
  padding: 4px 10px;
}

.selection-mode .titlebar:not(headerbar) .selection-menu arrow,
.selection-mode.titlebar:not(headerbar) .selection-menu arrow,
.selection-mode headerbar .selection-menu:backdrop arrow,
.selection-mode headerbar .selection-menu arrow,
headerbar.selection-mode .selection-menu:backdrop arrow,
headerbar.selection-mode .selection-menu arrow {
  -GtkArrow-arrow-scaling: 1;
}

.selection-mode .titlebar:not(headerbar) .selection-menu .arrow,
.selection-mode.titlebar:not(headerbar) .selection-menu .arrow,
.selection-mode headerbar .selection-menu:backdrop .arrow,
.selection-mode headerbar .selection-menu .arrow,
headerbar.selection-mode .selection-menu:backdrop .arrow,
headerbar.selection-mode .selection-menu .arrow {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
  color: rgba(255, 255, 255, 0.5);
  -gtk-icon-shadow: none;
}

.tiled .titlebar:not(headerbar),
.tiled-top .titlebar:not(headerbar),
.tiled-right .titlebar:not(headerbar),
.tiled-bottom .titlebar:not(headerbar),
.tiled-left .titlebar:not(headerbar),
.maximized .titlebar:not(headerbar),
.fullscreen .titlebar:not(headerbar),
.tiled headerbar,
.tiled-top headerbar,
.tiled-right headerbar,
.tiled-bottom headerbar,
.tiled-left headerbar,
.maximized headerbar,
.fullscreen headerbar {
  border-radius: 0;
}

.default-decoration.titlebar:not(headerbar),
headerbar.default-decoration {
  min-height: 28px;
  padding: 4px;
}

.default-decoration.titlebar:not(headerbar) button.titlebutton,
headerbar.default-decoration button.titlebutton {
  min-height: 26px;
  min-width: 26px;
  margin: 0;
  padding: 0;
}

.titlebar:not(headerbar) separator.titlebutton,
headerbar separator.titlebutton {
  opacity: 0;
}

.solid-csd .titlebar:dir(rtl):not(headerbar),
.solid-csd .titlebar:dir(ltr):not(headerbar),
.solid-csd headerbar:backdrop:dir(rtl),
.solid-csd headerbar:backdrop:dir(ltr),
.solid-csd headerbar:dir(rtl),
.solid-csd headerbar:dir(ltr) {
  margin-left: -1px;
  margin-right: -1px;
  margin-top: -1px;
  border-radius: 0;
  box-shadow: none;
}

headerbar entry,
headerbar spinbutton,
headerbar separator:not(.sidebar),
headerbar button {
  margin-top: 5px;
  margin-bottom: 5px;
}

headerbar switch {
  margin-top: 7px;
  margin-bottom: 7px;
}

headerbar.titlebar headerbar:not(.titlebar) {
  background: none;
  box-shadow: none;
}

.background .titlebar:backdrop,
.background .titlebar {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.background.tiled .titlebar:backdrop,
.background.tiled .titlebar,
.background.tiled-top .titlebar:backdrop,
.background.tiled-top .titlebar,
.background.tiled-right .titlebar:backdrop,
.background.tiled-right .titlebar,
.background.tiled-bottom .titlebar:backdrop,
.background.tiled-bottom .titlebar,
.background.tiled-left .titlebar:backdrop,
.background.tiled-left .titlebar,
.background.maximized .titlebar:backdrop,
.background.maximized .titlebar,
.background.solid-csd .titlebar:backdrop,
.background.solid-csd .titlebar {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

window separator:first-child+headerbar:backdrop,
window separator:first-child+headerbar,
window headerbar:first-child:backdrop,
window headerbar:first-child {
  border-top-left-radius: 7px;
}

window headerbar:last-child:backdrop,
window headerbar:last-child {
  border-top-right-radius: 7px;
}

window stack headerbar:first-child:backdrop,
window stack headerbar:first-child,
window stack headerbar:last-child:backdrop,
window stack headerbar:last-child {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

window.tiled headerbar,
window.tiled headerbar:first-child,
window.tiled headerbar:last-child,
window.tiled headerbar:only-child,
window.tiled headerbar:backdrop,
window.tiled headerbar:backdrop:first-child,
window.tiled headerbar:backdrop:last-child,
window.tiled headerbar:backdrop:only-child,
window.tiled-top headerbar,
window.tiled-top headerbar:first-child,
window.tiled-top headerbar:last-child,
window.tiled-top headerbar:only-child,
window.tiled-top headerbar:backdrop,
window.tiled-top headerbar:backdrop:first-child,
window.tiled-top headerbar:backdrop:last-child,
window.tiled-top headerbar:backdrop:only-child,
window.tiled-right headerbar,
window.tiled-right headerbar:first-child,
window.tiled-right headerbar:last-child,
window.tiled-right headerbar:only-child,
window.tiled-right headerbar:backdrop,
window.tiled-right headerbar:backdrop:first-child,
window.tiled-right headerbar:backdrop:last-child,
window.tiled-right headerbar:backdrop:only-child,
window.tiled-bottom headerbar,
window.tiled-bottom headerbar:first-child,
window.tiled-bottom headerbar:last-child,
window.tiled-bottom headerbar:only-child,
window.tiled-bottom headerbar:backdrop,
window.tiled-bottom headerbar:backdrop:first-child,
window.tiled-bottom headerbar:backdrop:last-child,
window.tiled-bottom headerbar:backdrop:only-child,
window.tiled-left headerbar,
window.tiled-left headerbar:first-child,
window.tiled-left headerbar:last-child,
window.tiled-left headerbar:only-child,
window.tiled-left headerbar:backdrop,
window.tiled-left headerbar:backdrop:first-child,
window.tiled-left headerbar:backdrop:last-child,
window.tiled-left headerbar:backdrop:only-child,
window.maximized headerbar,
window.maximized headerbar:first-child,
window.maximized headerbar:last-child,
window.maximized headerbar:only-child,
window.maximized headerbar:backdrop,
window.maximized headerbar:backdrop:first-child,
window.maximized headerbar:backdrop:last-child,
window.maximized headerbar:backdrop:only-child,
window.fullscreen headerbar,
window.fullscreen headerbar:first-child,
window.fullscreen headerbar:last-child,
window.fullscreen headerbar:only-child,
window.fullscreen headerbar:backdrop,
window.fullscreen headerbar:backdrop:first-child,
window.fullscreen headerbar:backdrop:last-child,
window.fullscreen headerbar:backdrop:only-child,
window.solid-csd headerbar,
window.solid-csd headerbar:first-child,
window.solid-csd headerbar:last-child,
window.solid-csd headerbar:only-child,
window.solid-csd headerbar:backdrop,
window.solid-csd headerbar:backdrop:first-child,
window.solid-csd headerbar:backdrop:last-child,
window.solid-csd headerbar:backdrop:only-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

window.csd>.titlebar:not(headerbar) {
  padding: 0;
  background-color: transparent;
  background-image: none;
  border-style: none;
  border-color: transparent;
  box-shadow: none;
}

.titlebar:not(headerbar) separator {
  background-color: #0d0e11;
}

window.devel headerbar.titlebar:not(.selection-mode) {
  background: #16162e cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(39, 119, 255, 0.1)), linear-gradient(to top, #13151a 3px, #181a20);
}

window.devel headerbar.titlebar:not(.selection-mode):backdrop {
  background: #16162e cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#16162e);
  /* background-color would flash */
}

/************
 * Pathbars *
 ************/
.path-bar button.text-button,
.path-bar button.image-button,
.path-bar button {
  padding-left: 4px;
  padding-right: 4px;
}

.path-bar button.text-button.image-button label {
  padding-left: 0;
  padding-right: 0;
}

.path-bar button.text-button.image-button label:last-child,
.path-bar button label:last-child {
  padding-right: 8px;
}

.path-bar button.text-button.image-button label:first-child,
.path-bar button label:first-child {
  padding-left: 8px;
}

.path-bar button image {
  padding-left: 4px;
  padding-right: 4px;
}

.path-bar button.slider-button {
  padding-left: 0;
  padding-right: 0;
}

/**************
 * Tree Views *
 **************/
treeview.view {
  border-left-color: #8b8c90;
  border-top-color: #16162e;
}

* {
  -GtkTreeView-horizontal-separator: 4;
  -GtkTreeView-grid-line-width: 1;
  -GtkTreeView-grid-line-pattern: '';
  -GtkTreeView-tree-line-width: 1;
  -GtkTreeView-tree-line-pattern: '';
  -GtkTreeView-expander-size: 16;
}

treeview.view:selected:focus,
treeview.view:selected {
  border-radius: 0;
}

treeview.view:selected:backdrop,
treeview.view:selected {
  border-left-color: #93bbff;
  border-top-color: rgba(238, 238, 236, 0.1);
}

treeview.view:disabled {
  color: #888a8d;
}

treeview.view:disabled:selected {
  color: #7dadff;
}

treeview.view:disabled:selected:backdrop {
  color: #5b93f3;
}

treeview.view:disabled:backdrop {
  color: #43495a;
}

treeview.view.separator {
  min-height: 2px;
  color: #16162e;
}

treeview.view.separator:backdrop {
  color: rgba(35, 37, 46, 0.1);
}

treeview.view:backdrop {
  border-left-color: #55585e;
  border-top: #16162e;
}

treeview.view:drop(active) {
  border-style: solid none;
  border-width: 1px;
  border-color: #00348d;
}

treeview.view:drop(active).after {
  border-top-style: none;
}

treeview.view:drop(active).before {
  border-bottom-style: none;
}

treeview.view.expander {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
  color: #bebfc2;
}

treeview.view.expander:dir(rtl) {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
}

treeview.view.expander:hover {
  color: white;
}

treeview.view.expander:selected {
  color: #bed6ff;
}

treeview.view.expander:selected:hover {
  color: #ffffff;
}

treeview.view.expander:selected:backdrop {
  color: #a0b9e3;
}

treeview.view.expander:checked {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

treeview.view.expander:backdrop {
  color: #6c6e73;
}

treeview.view.progressbar {
  background-color: #2777ff;
  background-image: image(#2777ff);
  box-shadow: none;
}

treeview.view.progressbar:selected:focus,
treeview.view.progressbar:selected {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  background-image: image(#262643);
}

treeview.view.progressbar:selected:focus:backdrop,
treeview.view.progressbar:selected:backdrop {
  background-color: #1c1c2b;
}

treeview.view.progressbar:backdrop {
  border-color: #1c1c2b;
  background-image: none;
  box-shadow: none;
}

treeview.view.trough {
  background-color: rgba(238, 238, 236, 0.1);
}

treeview.view.trough:selected:focus,
treeview.view.trough:selected {
  background-color: #005af3;
}

treeview.view header button {
  color: #8b8c90;
  background-color: #262643;
  font-weight: bold;
  text-shadow: none;
  box-shadow: none;
}

treeview.view header button:hover {
  color: #bdbdbe;
  box-shadow: none;
  transition: none;
}

treeview.view header button:active {
  color: #eeeeec;
  transition: none;
}

treeview.view button.dnd:active,
treeview.view button.dnd:selected,
treeview.view button.dnd:hover,
treeview.view button.dnd,
treeview.view header.button.dnd:active,
treeview.view header.button.dnd:selected,
treeview.view header.button.dnd:hover,
treeview.view header.button.dnd {
  padding: 0 6px;
  color: #262643;
  background-image: none;
  background-color: #2777ff;
  border-style: none;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #262643;
  text-shadow: none;
  transition: none;
}

treeview.view acceleditor>label {
  background-color: #2777ff;
}

treeview.view header button,
treeview.view header button:hover,
treeview.view header button:active {
  padding: 0 6px;
  background-image: none;
  border-style: none solid solid none;
  border-color: #4f5159;
  border-radius: 0;
  text-shadow: none;
}

treeview.view header button:disabled {
  border-color: #16162e;
  background-image: none;
}

treeview.view header button:backdrop {
  color: #55585e;
  border-color: #16162e;
  border-style: none solid solid none;
  background-image: none;
  background-color: #1c1c2b;
}

treeview.view header button:backdrop:disabled {
  border-color: #16162e;
  background-image: none;
}

treeview.view header button:last-child {
  border-right-style: none;
}

/*********
 * Menus *
 *********/
menubar,
.menubar {
  -GtkWidget-window-dragging: true;
  padding: 0px;
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
}

menubar:backdrop,
.menubar:backdrop {
  background-color: #16162e;
}

menubar>menuitem,
.menubar>menuitem {
  min-height: 16px;
  padding: 4px 8px;
}

menubar>menuitem menu:dir(rtl),
menubar>menuitem menu:dir(ltr),
.menubar>menuitem menu:dir(rtl),
.menubar>menuitem menu:dir(ltr) {
  border-radius: 0;
  padding: 0;
}

menubar>menuitem:hover,
.menubar>menuitem:hover {
  box-shadow: inset 0 -3px #2777ff;
  color: #8db7ff;
}

menubar>menuitem:disabled,
.menubar>menuitem:disabled {
  color: #888a8d;
  box-shadow: none;
}

menubar .csd.popup decoration,
.menubar .csd.popup decoration {
  border-radius: 0;
}

.background.popup {
  background-color: transparent;
}

menu,
.menu,
.context-menu {
  margin: 4px;
  padding: 4px 0px;
  background-color: #1f222a;
  border: 1px solid #0d0e11;
}

.csd menu,
.csd .menu,
.csd .context-menu {
  border: none;
  border-radius: 5px;
}

menu:backdrop,
.menu:backdrop,
.context-menu:backdrop {
  background-color: #282b35;
}

menu menuitem,
.menu menuitem,
.context-menu menuitem {
  min-height: 16px;
  min-width: 40px;
  padding: 4px 6px;
  text-shadow: none;
}

menu menuitem:hover,
.menu menuitem:hover,
.context-menu menuitem:hover {
  color: #ffffff;
  background-color: #2777ff;
}

menu menuitem:disabled,
.menu menuitem:disabled,
.context-menu menuitem:disabled {
  color: #888a8d;
}

menu menuitem:disabled:backdrop,
.menu menuitem:disabled:backdrop,
.context-menu menuitem:disabled:backdrop {
  color: #43495a;
}

menu menuitem:backdrop,
menu menuitem:backdrop:hover,
.menu menuitem:backdrop,
.menu menuitem:backdrop:hover,
.context-menu menuitem:backdrop,
.context-menu menuitem:backdrop:hover {
  color: #888a8d;
  background-color: transparent;
}

menu menuitem arrow,
.menu menuitem arrow,
.context-menu menuitem arrow {
  min-height: 16px;
  min-width: 16px;
}

menu menuitem arrow:dir(ltr),
.menu menuitem arrow:dir(ltr),
.context-menu menuitem arrow:dir(ltr) {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
  margin-left: 10px;
}

menu menuitem arrow:dir(rtl),
.menu menuitem arrow:dir(rtl),
.context-menu menuitem arrow:dir(rtl) {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
  margin-right: 10px;
}

menu menuitem label:dir(rtl),
menu menuitem label:dir(ltr),
.menu menuitem label:dir(rtl),
.menu menuitem label:dir(ltr),
.context-menu menuitem label:dir(rtl),
.context-menu menuitem label:dir(ltr) {
  color: inherit;
}

menu>arrow,
.menu>arrow,
.context-menu>arrow {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  min-height: 16px;
  min-width: 16px;
  padding: 4px;
  background-color: #1f222a;
  border-radius: 0;
}

menu>arrow.top,
.menu>arrow.top,
.context-menu>arrow.top {
  margin-top: -4px;
  border-bottom: 1px solid #3b3e46;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

menu>arrow.bottom,
.menu>arrow.bottom,
.context-menu>arrow.bottom {
  margin-top: 8px;
  margin-bottom: -12px;
  border-top: 1px solid #3b3e46;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

menu>arrow:hover,
.menu>arrow:hover,
.context-menu>arrow:hover {
  background-color: #3b3e46;
}

menu>arrow:backdrop,
.menu>arrow:backdrop,
.context-menu>arrow:backdrop {
  background-color: #282b35;
}

menu>arrow:disabled,
.menu>arrow:disabled,
.context-menu>arrow:disabled {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
}

menuitem accelerator {
  color: alpha(currentColor, 0.55);
}

menuitem check,
menuitem radio {
  min-height: 16px;
  min-width: 16px;
}

menuitem check:dir(ltr),
menuitem radio:dir(ltr) {
  margin-right: 7px;
}

menuitem check:dir(rtl),
menuitem radio:dir(rtl) {
  margin-left: 7px;
}

/***************
 * Popovers   *
 ***************/
popover.background {
  padding: 2px;
  background-color: #1f222a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.csd popover.background,
popover.background {
  border: 1px solid #0d0e11;
  border-radius: 8px;
}

.csd popover.background {
  background-clip: padding-box;
  border-color: rgba(0, 0, 0, 0.75);
}

popover.background:backdrop {
  background-color: #16162e;
  box-shadow: none;
}

popover.background>list,
popover.background>.view,
popover.background>iconview,
popover.background>toolbar {
  border-style: none;
  background-color: transparent;
}

.csd popover.background.touch-selection,
.csd popover.background.magnifier,
popover.background.touch-selection,
popover.background.magnifier {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

popover.background separator {
  margin: 3px;
}

popover.background list separator {
  margin: 0px;
}

/*************
 * Notebooks *
 *************/
notebook>header {
  padding: 1px;
  border-color: #0d0e11;
  border-width: 1px;
  background-color: #16162e;
}

notebook>header:backdrop {
  border-color: #0d0e11;
  background-color: #16162e;
}

notebook>header tabs {
  margin: -1px;
}

notebook>header.top {
  border-bottom-style: solid;
}

notebook>header.top>tabs {
  margin-bottom: -2px;
}

notebook>header.top>tabs>tab:hover {
  box-shadow: inset 0 -4px #0d0e11;
}

notebook>header.top>tabs>tab:backdrop {
  box-shadow: none;
}

notebook>header.top>tabs>tab:checked {
  box-shadow: inset 0 -4px #2777ff;
}

notebook>header.bottom {
  border-top-style: solid;
}

notebook>header.bottom>tabs {
  margin-top: -2px;
}

notebook>header.bottom>tabs>tab:hover {
  box-shadow: inset 0 4px #0d0e11;
}

notebook>header.bottom>tabs>tab:backdrop {
  box-shadow: none;
}

notebook>header.bottom>tabs>tab:checked {
  box-shadow: inset 0 4px #2777ff;
}

notebook>header.left {
  border-right-style: solid;
}

notebook>header.left>tabs {
  margin-right: -2px;
}

notebook>header.left>tabs>tab:hover {
  box-shadow: inset -4px 0 #0d0e11;
}

notebook>header.left>tabs>tab:backdrop {
  box-shadow: none;
}

notebook>header.left>tabs>tab:checked {
  box-shadow: inset -4px 0 #2777ff;
}

notebook>header.right {
  border-left-style: solid;
}

notebook>header.right>tabs {
  margin-left: -2px;
}

notebook>header.right>tabs>tab:hover {
  box-shadow: inset 4px 0 #0d0e11;
}

notebook>header.right>tabs>tab:backdrop {
  box-shadow: none;
}

notebook>header.right>tabs>tab:checked {
  box-shadow: inset 4px 0 #2777ff;
}

notebook>header.top>tabs>arrow {
  border-top-style: none;
}

notebook>header.bottom>tabs>arrow {
  border-bottom-style: none;
}

notebook>header.top>tabs>arrow,
notebook>header.bottom>tabs>arrow {
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 4px;
  padding-right: 4px;
}

notebook>header.top>tabs>arrow.down,
notebook>header.bottom>tabs>arrow.down {
  -gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}

notebook>header.top>tabs>arrow.up,
notebook>header.bottom>tabs>arrow.up {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}

notebook>header.left>tabs>arrow {
  border-left-style: none;
}

notebook>header.right>tabs>arrow {
  border-right-style: none;
}

notebook>header.left>tabs>arrow,
notebook>header.right>tabs>arrow {
  margin-top: -5px;
  margin-bottom: -5px;
  padding-top: 4px;
  padding-bottom: 4px;
}

notebook>header.left>tabs>arrow.down,
notebook>header.right>tabs>arrow.down {
  -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

notebook>header.left>tabs>arrow.up,
notebook>header.right>tabs>arrow.up {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

notebook>header>tabs>arrow {
  min-height: 16px;
  min-width: 16px;
  border-radius: 0;
}

notebook>header>tabs>arrow:hover:not(:active):not(:backdrop) {
  background-clip: padding-box;
  background-image: none;
  background-color: rgba(255, 255, 255, 0.3);
  border-color: transparent;
  box-shadow: none;
}

notebook>header>tabs>arrow:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

notebook>header tab {
  min-height: 30px;
  min-width: 30px;
  padding: 3px 12px;
  outline-offset: -5px;
  color: #eeeeec;
  font-weight: normal;
  border-width: 1px;
  border-color: transparent;
}

notebook>header tab:hover {
  color: #eeeeec;
  background-color: #1a1c23;
}

notebook>header tab:hover.reorderable-page {
  border-color: rgba(13, 14, 17, 0.3);
  background-color: rgba(35, 37, 46, 0.2);
}

notebook>header tab:backdrop {
  color: #5f6267;
}

notebook>header tab:backdrop.reorderable-page {
  border-color: transparent;
  background-color: transparent;
}

notebook>header tab:checked {
  color: #eeeeec;
}

notebook>header tab:checked.reorderable-page {
  border-color: rgba(13, 14, 17, 0.5);
  background-color: rgba(35, 37, 46, 0.5);
}

notebook>header tab:checked.reorderable-page:hover {
  background-color: rgba(35, 37, 46, 0.7);
}

notebook>header tab:backdrop:checked {
  color: #888a8d;
}

notebook>header tab:backdrop:checked.reorderable-page {
  border-color: #0d0e11;
  background-color: #16162e;
}

notebook>header tab button.flat {
  padding: 0;
  margin-top: 4px;
  margin-bottom: 4px;
  min-width: 20px;
  min-height: 20px;
}

notebook>header tab button.flat:hover {
  color: currentColor;
}

notebook>header tab button.flat,
notebook>header tab button.flat:backdrop {
  color: alpha(currentColor, 0.3);
}

notebook>header tab button.flat:last-child {
  margin-left: 4px;
  margin-right: -4px;
}

notebook>header tab button.flat:first-child {
  margin-left: -4px;
  margin-right: 4px;
}

notebook>header.top tabs,
notebook>header.bottom tabs {
  padding-left: 4px;
  padding-right: 4px;
}

notebook>header.top tabs:not(:only-child),
notebook>header.bottom tabs:not(:only-child) {
  margin-left: 3px;
  margin-right: 3px;
}

notebook>header.top tabs:not(:only-child):first-child,
notebook>header.bottom tabs:not(:only-child):first-child {
  margin-left: -1px;
}

notebook>header.top tabs:not(:only-child):last-child,
notebook>header.bottom tabs:not(:only-child):last-child {
  margin-right: -1px;
}

notebook>header.top tabs tab,
notebook>header.bottom tabs tab {
  margin-left: 4px;
  margin-right: 4px;
}

notebook>header.top tabs tab.reorderable-page,
notebook>header.bottom tabs tab.reorderable-page {
  border-style: none solid;
}

notebook>header.left tabs,
notebook>header.right tabs {
  padding-top: 4px;
  padding-bottom: 4px;
}

notebook>header.left tabs:not(:only-child),
notebook>header.right tabs:not(:only-child) {
  margin-top: 3px;
  margin-bottom: 3px;
}

notebook>header.left tabs:not(:only-child):first-child,
notebook>header.right tabs:not(:only-child):first-child {
  margin-top: -1px;
}

notebook>header.left tabs:not(:only-child):last-child,
notebook>header.right tabs:not(:only-child):last-child {
  margin-bottom: -1px;
}

notebook>header.left tabs tab,
notebook>header.right tabs tab {
  margin-top: 4px;
  margin-bottom: 4px;
}

notebook>header.left tabs tab.reorderable-page,
notebook>header.right tabs tab.reorderable-page {
  border-style: solid none;
}

notebook>header.top tab {
  padding-bottom: 4px;
}

notebook>header.bottom tab {
  padding-top: 4px;
}

notebook>stack:not(:only-child) {
  background-color: #262643;
}

notebook>stack:not(:only-child):backdrop {
  background-color: #1c1c2b;
}

/**************
 * Scrollbars *
 **************/
scrollbar {
  background-color: #262643;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  -GtkScrollbar-has-backward-stepper: false;
  -GtkScrollbar-has-forward-stepper: false;
}

scrollbar.top {
  border-bottom: 1px solid #0d0e11;
}

scrollbar.bottom {
  border-top: 1px solid #0d0e11;
}

scrollbar.left {
  border-right: 1px solid #0d0e11;
}

scrollbar.right {
  border-left: 1px solid #0d0e11;
}

scrollbar:backdrop {
  background-color: #1c1e25;
  border-color: #0d0e11;
  transition: 200ms ease-out;
}

scrollbar slider {
  min-width: 8px;
  min-height: 8px;
  margin: -1px;
  border: 4px solid transparent;
  border-radius: 10px;
  background-clip: padding-box;
  background-color: #9d9ea0;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

scrollbar slider:hover {
  background-color: #c5c6c6;
}

scrollbar slider:hover:active {
  background-color: #2777ff;
}

scrollbar slider:backdrop {
  background-color: #4b4e54;
}

scrollbar slider:disabled {
  background-color: transparent;
}

scrollbar.fine-tune slider {
  transition: none;
  min-width: 6px;
  min-height: 6px;
}

scrollbar.fine-tune.horizontal slider {
  border-width: 5px 4px;
}

scrollbar.fine-tune.vertical slider {
  border-width: 4px 5px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
  border-color: transparent;
  opacity: 0.4;
  background-color: transparent;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
  margin: 0;
  min-width: 3px;
  min-height: 3px;
  background-color: #eeeeec;
  border: 1px solid black;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
  min-width: 5px;
  min-height: 5px;
  background-color: #eeeeec;
  background-clip: padding-box;
  border-radius: 100%;
  border: 1px solid black;
  -gtk-icon-source: none;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
  margin: 0 2px;
  min-width: 40px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
  margin: 1px 2px;
  min-width: 5px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
  margin: 2px 0;
  min-height: 40px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
  margin: 2px 1px;
  min-height: 5px;
}

scrollbar.overlay-indicator.dragging,
scrollbar.overlay-indicator.hovering {
  opacity: 0.8;
}

scrollbar.horizontal slider {
  min-width: 40px;
}

scrollbar.vertical slider {
  min-height: 40px;
}

scrollbar button {
  padding: 0;
  min-width: 12px;
  min-height: 12px;
  border-style: none;
  border-radius: 0;
  transition-property: min-height, min-width, color;
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #9d9ea0;
}

scrollbar button:hover {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #c5c6c6;
}

scrollbar button:active,
scrollbar button:checked {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #2777ff;
}

scrollbar button:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: rgba(157, 158, 160, 0.2);
}

scrollbar button:backdrop {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: #4b4e54;
}

scrollbar button:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: rgba(75, 78, 84, 0.2);
}

scrollbar.vertical button.down {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

scrollbar.vertical button.up {
  -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

scrollbar.horizontal button.down {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}

scrollbar.horizontal button.up {
  -gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}

treeview~scrollbar.vertical {
  border-top: 1px solid #0d0e11;
  margin-top: -1px;
}

/**********
 * Switch *
 **********/
switch {
  outline-offset: -4px;
  border: 1px solid #0d0e11;
  border-radius: 14px;
  color: #eeeeec;
  background-color: #16162e;
  text-shadow: 0 1px rgba(0, 0, 0, 0.1);
  /* only show i / o for the accessible theme */
}

switch:checked {
  color: #ffffff;
  border-color: #00215a;
  background-color: #2777ff;
  text-shadow: 0 1px rgba(0, 52, 141, 0.5), 0 0 2px rgba(255, 255, 255, 0.6);
}

switch:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-color: #1d1d2e;
  text-shadow: none;
}

switch:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-color: #16162e;
  text-shadow: none;
  transition: 200ms ease-out;
}

switch:backdrop:checked {
  border-color: #00348d;
  background-color: #2777ff;
}

switch:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-color: #1d1d2e;
}

switch slider {
  margin: -1px;
  min-width: 24px;
  min-height: 24px;
  border: 1px solid;
  border-radius: 50%;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -gtk-outline-radius: 20px;
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #040405;
  background-image: linear-gradient(to bottom, #1c1c2b 20%, #16162e 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(26, 28, 35, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

switch image {
  color: transparent;
}

switch:hover slider {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #040405;
  background-image: linear-gradient(to bottom, #303340 20%, #262643 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(26, 28, 35, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

switch:checked>slider {
  border: 1px solid #00215a;
}

switch:disabled slider {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

switch:backdrop slider {
  transition: 200ms ease-out;
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

switch:backdrop:checked>slider {
  border-color: #00215a;
}

switch:backdrop:disabled slider {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

/*************************
 * Check and Radio items *
 *************************/
.view.content-view.check:not(list),
iconview.content-view.check:not(list),
.content-view:not(list) check {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: transparent;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: none;
  -gtk-icon-shadow: none;
}

.view.content-view.check:hover:not(list),
iconview.content-view.check:hover:not(list),
.content-view:not(list) check:hover {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: transparent;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: none;
  -gtk-icon-shadow: none;
}

.view.content-view.check:active:not(list),
iconview.content-view.check:active:not(list),
.content-view:not(list) check:active {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: transparent;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: none;
  -gtk-icon-shadow: none;
}

.view.content-view.check:backdrop:not(list),
iconview.content-view.check:backdrop:not(list),
.content-view:not(list) check:backdrop {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: transparent;
  background-color: #939393;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: none;
  -gtk-icon-shadow: none;
}

.view.content-view.check:checked:not(list),
iconview.content-view.check:checked:not(list),
.content-view:not(list) check:checked {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: white;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
  -gtk-icon-shadow: none;
}

.view.content-view.check:checked:hover:not(list),
iconview.content-view.check:checked:hover:not(list),
.content-view:not(list) check:checked:hover {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: white;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
  -gtk-icon-shadow: none;
}

.view.content-view.check:checked:active:not(list),
iconview.content-view.check:checked:active:not(list),
.content-view:not(list) check:checked:active {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: white;
  background-color: #2777ff;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
  -gtk-icon-shadow: none;
}

.view.content-view.check:backdrop:checked:not(list),
iconview.content-view.check:backdrop:checked:not(list),
.content-view:not(list) check:backdrop:checked {
  margin: 4px;
  min-width: 32px;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.8);
  background-color: #939393;
  border-radius: 5px;
  background-image: none;
  transition: 200ms;
  box-shadow: none;
  border-width: 0;
  -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
  -gtk-icon-shadow: none;
}

checkbutton.text-button,
radiobutton.text-button {
  padding: 2px 0;
  outline-offset: 0;
}

checkbutton.text-button label:not(:only-child):first-child,
radiobutton.text-button label:not(:only-child):first-child {
  margin-left: 4px;
}

checkbutton.text-button label:not(:only-child):last-child,
radiobutton.text-button label:not(:only-child):last-child {
  margin-right: 4px;
}

check,
radio {
  margin: 0 4px;
  min-height: 14px;
  min-width: 14px;
  border: 1px solid;
  -gtk-icon-source: none;
}

check:only-child,
radio:only-child {
  margin: 0;
}

popover check.left:dir(rtl),
popover radio.left:dir(rtl) {
  margin-left: 0;
  margin-right: 12px;
}

popover check.right:dir(ltr),
popover radio.right:dir(ltr) {
  margin-left: 12px;
  margin-right: 0;
}

check,
radio {
  background-clip: padding-box;
  background-image: linear-gradient(to bottom, #2e313d 20%, #16162e 90%);
  border-color: black;
  box-shadow: 0 1px rgba(0, 0, 0, 0.05);
  color: #eeeeec;
}

check:hover,
radio:hover {
  background-image: linear-gradient(to bottom, #363a48 10%, #2b2f3a 90%);
}

check:active,
radio:active {
  box-shadow: inset 0 1px 1px 0px black;
}

check:disabled,
radio:disabled {
  box-shadow: none;
  color: rgba(238, 238, 236, 0.7);
}

check:backdrop,
radio:backdrop {
  background-image: image(#16162e);
  box-shadow: none;
  color: #eeeeec;
}

check:backdrop:disabled,
radio:backdrop:disabled {
  box-shadow: none;
  color: rgba(238, 238, 236, 0.7);
}

check:checked,
radio:checked {
  background-clip: border-box;
  background-image: linear-gradient(to bottom, #4187ff 20%, #2777ff 90%);
  border-color: #2777ff;
  box-shadow: 0 1px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

check:checked:hover,
radio:checked:hover {
  background-image: linear-gradient(to bottom, #5594ff 10%, #3b84ff 90%);
}

check:checked:active,
radio:checked:active {
  box-shadow: inset 0 1px 1px 0px black;
}

check:checked:disabled,
radio:checked:disabled {
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
}

check:checked:backdrop,
radio:checked:backdrop {
  background-image: image(#2777ff);
  box-shadow: none;
  color: #ffffff;
}

check:checked:backdrop:disabled,
radio:checked:backdrop:disabled {
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
}

check:indeterminate,
radio:indeterminate {
  background-clip: border-box;
  background-image: linear-gradient(to bottom, #4187ff 20%, #2777ff 90%);
  border-color: #2777ff;
  box-shadow: 0 1px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

check:indeterminate:hover,
radio:indeterminate:hover {
  background-image: linear-gradient(to bottom, #5594ff 10%, #3b84ff 90%);
}

check:indeterminate:active,
radio:indeterminate:active {
  box-shadow: inset 0 1px 1px 0px black;
}

check:indeterminate:disabled,
radio:indeterminate:disabled {
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
}

check:indeterminate:backdrop,
radio:indeterminate:backdrop {
  background-image: image(#2777ff);
  box-shadow: none;
  color: #ffffff;
}

check:indeterminate:backdrop:disabled,
radio:indeterminate:backdrop:disabled {
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
}

check:backdrop,
radio:backdrop {
  transition: 200ms ease-out;
}

.osd check,
.osd radio {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd check:hover,
.osd radio:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd check:active,
.osd radio:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
}

.osd check:backdrop,
.osd radio:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.osd check:disabled,
.osd radio:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

menu menuitem check,
menu menuitem radio {
  margin: 0;
}

menu menuitem check,
menu menuitem check:hover,
menu menuitem check:disabled,
menu menuitem check:checked,
menu menuitem check:checked:hover,
menu menuitem check:checked:disabled,
menu menuitem check:indeterminate,
menu menuitem check:indeterminate:hover,
menu menuitem check:indeterminate:disabled,
menu menuitem radio,
menu menuitem radio:hover,
menu menuitem radio:disabled,
menu menuitem radio:checked,
menu menuitem radio:checked:hover,
menu menuitem radio:checked:disabled,
menu menuitem radio:indeterminate,
menu menuitem radio:indeterminate:hover,
menu menuitem radio:indeterminate:disabled {
  min-height: 14px;
  min-width: 14px;
  background-image: none;
  background-color: transparent;
  box-shadow: none;
  -gtk-icon-shadow: none;
  color: inherit;
  border-color: currentColor;
}


check {
  border-radius: 3px;
}

check:checked {
  -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")), -gtk-recolor(url("assets/check-symbolic.symbolic.png")));
}

check:indeterminate {
  -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png")));
}

treeview.view radio:selected:focus,
treeview.view radio:selected,
radio {
  border-radius: 100%;
}

treeview.view radio:checked:selected,
radio:checked {
  -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")), -gtk-recolor(url("assets/bullet-symbolic.symbolic.png")));
}

treeview.view radio:indeterminate:selected,
radio:indeterminate {
  -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png")));
}

radio:not(:indeterminate):not(:checked):active:not(:backdrop) {
  -gtk-icon-transform: scale(0);
}

check:not(:indeterminate):not(:checked):active:not(:backdrop) {
  -gtk-icon-transform: translate(6px, -3px) rotate(-45deg) scaleY(0.2) rotate(45deg) scaleX(0);
}

radio:active,
check:active {
  -gtk-icon-transform: scale(0, 1);
}

radio:checked:not(:backdrop),
radio:indeterminate:not(:backdrop),
check:checked:not(:backdrop),
check:indeterminate:not(:backdrop) {
  -gtk-icon-transform: unset;
  transition: 400ms;
}

menu menuitem radio:checked:not(:backdrop),
menu menuitem radio:indeterminate:not(:backdrop),
menu menuitem check:checked:not(:backdrop),
menu menuitem check:indeterminate:not(:backdrop) {
  transition: none;
}

treeview.view check:selected:focus,
treeview.view check:selected,
treeview.view radio:selected:focus,
treeview.view radio:selected {
  color: #ffffff;
}

/************
 * GtkScale *
 ************/
progressbar trough,
scale fill,
scale trough {
  border: 1px solid #0d0e11;
  border-radius: 3px;
  background-color: #16162e;
}

progressbar trough:disabled,
scale fill:disabled,
scale trough:disabled {
  background-color: #1d1d2e;
}

progressbar trough:backdrop,
scale fill:backdrop,
scale trough:backdrop {
  background-color: #16162e;
  border-color: #0d0e11;
  transition: 200ms ease-out;
}

progressbar trough:backdrop:disabled,
scale fill:backdrop:disabled,
scale trough:backdrop:disabled {
  background-color: #1d1d2e;
}

row:selected progressbar trough,
progressbar row:selected trough,
row:selected scale fill,
scale row:selected fill,
row:selected scale trough,
scale row:selected trough {
  border-color: #00348d;
}

.osd progressbar trough,
progressbar .osd trough,
.osd scale fill,
scale .osd fill,
.osd scale trough,
scale .osd trough {
  border-color: black;
  background-color: rgba(0, 0, 0, 0.8);
}

.osd progressbar trough:disabled,
progressbar .osd trough:disabled,
.osd scale fill:disabled,
scale .osd fill:disabled,
.osd scale trough:disabled,
scale .osd trough:disabled {
  background-color: rgba(68, 72, 83, 0.5);
}

progressbar progress,
scale highlight {
  border: 1px solid #00348d;
  border-radius: 3px;
  background-color: #2777ff;
}

progressbar progress:disabled,
scale highlight:disabled {
  background-color: transparent;
  border-color: transparent;
}

progressbar progress:backdrop,
scale highlight:backdrop {
  border-color: #00348d;
}

progressbar progress:backdrop:disabled,
scale highlight:backdrop:disabled {
  background-color: transparent;
  border-color: transparent;
}

row:selected progressbar progress,
progressbar row:selected progress,
row:selected scale highlight,
scale row:selected highlight {
  border-color: #00348d;
}

.osd progressbar progress,
progressbar .osd progress,
.osd scale highlight,
scale .osd highlight {
  border-color: black;
}

.osd progressbar progress:disabled,
progressbar .osd progress:disabled,
.osd scale highlight:disabled,
scale .osd highlight:disabled {
  border-color: transparent;
}

scale {
  min-height: 10px;
  min-width: 10px;
  padding: 12px;
}

scale fill,
scale highlight {
  margin: -1px;
}

scale slider {
  min-height: 18px;
  min-width: 18px;
  margin: -9px;
}

scale.fine-tune.horizontal {
  padding-top: 9px;
  padding-bottom: 9px;
  min-height: 16px;
}

scale.fine-tune.vertical {
  padding-left: 9px;
  padding-right: 9px;
  min-width: 16px;
}

scale.fine-tune slider {
  margin: -6px;
}

scale.fine-tune fill,
scale.fine-tune highlight,
scale.fine-tune trough {
  border-radius: 5px;
  -gtk-outline-radius: 7px;
}

scale trough {
  outline-offset: 2px;
  -gtk-outline-radius: 5px;
}

scale fill:backdrop,
scale fill {
  background-color: #0d0e11;
}

scale fill:disabled:backdrop,
scale fill:disabled {
  border-color: transparent;
  background-color: transparent;
}

.osd scale fill {
  background-color: #404040;
}

.osd scale fill:disabled:backdrop,
.osd scale fill:disabled {
  border-color: transparent;
  background-color: transparent;
}

scale slider {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: black;
  background-image: linear-gradient(to bottom, #1c1e25 20%, #16171d 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border: 1px solid black;
  border-radius: 100%;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: background, border, box-shadow;
}

scale slider:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: black;
  background-image: linear-gradient(to bottom, #16162e 20%, #1a1c23 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

scale slider:active {
  border-color: #00348d;
}

scale slider:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

scale slider:backdrop {
  transition: 200ms ease-out;
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

scale slider:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

row:selected scale slider:disabled,
row:selected scale slider {
  border-color: #00348d;
}

.osd scale slider {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: black;
  background-color: #303340;
}

.osd scale slider:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#4a5063);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
  background-color: #303340;
}

.osd scale slider:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(black);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  outline-color: rgba(255, 255, 255, 0.3);
  background-color: #303340;
}

.osd scale slider:disabled {
  color: #97999f;
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(68, 72, 83, 0.5));
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  background-color: #303340;
}

.osd scale slider:backdrop {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: none;
  text-shadow: none;
  -gtk-icon-shadow: none;
  background-color: #303340;
}

.osd scale slider:backdrop:disabled {
  background-color: #303340;
}

scale marks,
scale value {
  color: alpha(currentColor, 0.55);
  font-feature-settings: "tnum";
}

scale.horizontal marks.top {
  margin-bottom: 6px;
  margin-top: -12px;
}

scale.horizontal.fine-tune marks.top {
  margin-bottom: 6px;
  margin-top: -9px;
}

scale.horizontal marks.bottom {
  margin-top: 6px;
  margin-bottom: -12px;
}

scale.horizontal.fine-tune marks.bottom {
  margin-top: 6px;
  margin-bottom: -9px;
}

scale.vertical marks.top {
  margin-right: 6px;
  margin-left: -12px;
}

scale.vertical.fine-tune marks.top {
  margin-right: 6px;
  margin-left: -9px;
}

scale.vertical marks.bottom {
  margin-left: 6px;
  margin-right: -12px;
}

scale.vertical.fine-tune marks.bottom {
  margin-left: 6px;
  margin-right: -9px;
}

scale.horizontal indicator {
  min-height: 6px;
  min-width: 1px;
}

scale.horizontal.fine-tune indicator {
  min-height: 3px;
}

scale.vertical indicator {
  min-height: 1px;
  min-width: 6px;
}

scale.vertical.fine-tune indicator {
  min-width: 3px;
}

scale.horizontal.marks-before:not(.marks-after) slider {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-dark.png"), url("assets/slider-horz-scale-has-marks-above-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after) slider:hover {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover-dark.png"), url("assets/slider-horz-scale-has-marks-above-hover-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after) slider:active {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active-dark.png"), url("assets/slider-horz-scale-has-marks-above-active-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after) slider:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-above-insensitive-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after) slider:backdrop {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-dark.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after) slider:backdrop:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-top: -14px;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-top: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-dark.png"), url("assets/slider-horz-scale-has-marks-below-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider:hover {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-hover-dark.png"), url("assets/slider-horz-scale-has-marks-below-hover-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider:active {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-active-dark.png"), url("assets/slider-horz-scale-has-marks-below-active-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-below-insensitive-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider:backdrop {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-dark.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before) slider:backdrop:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive-dark.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive-dark@2.png"));
  min-height: 26px;
  min-width: 22px;
  margin-bottom: -14px;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-bottom: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-dark.png"), url("assets/slider-vert-scale-has-marks-above-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider:hover {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-hover-dark.png"), url("assets/slider-vert-scale-has-marks-above-hover-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider:active {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-active-dark.png"), url("assets/slider-vert-scale-has-marks-above-active-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-above-insensitive-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider:backdrop {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-dark.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after) slider:backdrop:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-left: -14px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-before:not(.marks-after).fine-tune slider {
  margin: -7px;
  margin-left: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-dark.png"), url("assets/slider-vert-scale-has-marks-below-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider:hover {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-hover-dark.png"), url("assets/slider-vert-scale-has-marks-below-hover-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider:active {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-active-dark.png"), url("assets/slider-vert-scale-has-marks-below-active-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-below-insensitive-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider:backdrop {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-dark.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before) slider:backdrop:disabled {
  margin: -10px;
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive-dark.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive-dark@2.png"));
  min-height: 22px;
  min-width: 26px;
  margin-right: -14px;
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: none;
}

scale.vertical.marks-after:not(.marks-before).fine-tune slider {
  margin: -7px;
  margin-right: -11px;
}

scale.color {
  min-height: 0;
  min-width: 0;
}

scale.color trough {
  background-image: image(#0d0e11);
  background-repeat: no-repeat;
}

scale.color.horizontal {
  padding: 0 0 15px 0;
}

scale.color.horizontal trough {
  padding-bottom: 4px;
  background-position: 0 -3px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

scale.color.horizontal slider:dir(ltr):hover,
scale.color.horizontal slider:dir(ltr):backdrop,
scale.color.horizontal slider:dir(ltr):disabled,
scale.color.horizontal slider:dir(ltr):backdrop:disabled,
scale.color.horizontal slider:dir(ltr),
scale.color.horizontal slider:dir(rtl):hover,
scale.color.horizontal slider:dir(rtl):backdrop,
scale.color.horizontal slider:dir(rtl):disabled,
scale.color.horizontal slider:dir(rtl):backdrop:disabled,
scale.color.horizontal slider:dir(rtl) {
  margin-bottom: -15px;
  margin-top: 6px;
}

scale.color.vertical:dir(ltr) {
  padding: 0 0 0 15px;
}

scale.color.vertical:dir(ltr) trough {
  padding-left: 4px;
  background-position: 3px 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

scale.color.vertical:dir(ltr) slider:hover,
scale.color.vertical:dir(ltr) slider:backdrop,
scale.color.vertical:dir(ltr) slider:disabled,
scale.color.vertical:dir(ltr) slider:backdrop:disabled,
scale.color.vertical:dir(ltr) slider {
  margin-left: -15px;
  margin-right: 6px;
}

scale.color.vertical:dir(rtl) {
  padding: 0 15px 0 0;
}

scale.color.vertical:dir(rtl) trough {
  padding-right: 4px;
  background-position: -3px 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

scale.color.vertical:dir(rtl) slider:hover,
scale.color.vertical:dir(rtl) slider:backdrop,
scale.color.vertical:dir(rtl) slider:disabled,
scale.color.vertical:dir(rtl) slider:backdrop:disabled,
scale.color.vertical:dir(rtl) slider {
  margin-right: -15px;
  margin-left: 6px;
}

scale.color.fine-tune.horizontal:dir(ltr),
scale.color.fine-tune.horizontal:dir(rtl) {
  padding: 0 0 12px 0;
}

scale.color.fine-tune.horizontal:dir(ltr) trough,
scale.color.fine-tune.horizontal:dir(rtl) trough {
  padding-bottom: 7px;
  background-position: 0 -6px;
}

scale.color.fine-tune.horizontal:dir(ltr) slider,
scale.color.fine-tune.horizontal:dir(rtl) slider {
  margin-bottom: -15px;
  margin-top: 6px;
}

scale.color.fine-tune.vertical:dir(ltr) {
  padding: 0 0 0 12px;
}

scale.color.fine-tune.vertical:dir(ltr) trough {
  padding-left: 7px;
  background-position: 6px 0;
}

scale.color.fine-tune.vertical:dir(ltr) slider {
  margin-left: -15px;
  margin-right: 6px;
}

scale.color.fine-tune.vertical:dir(rtl) {
  padding: 0 12px 0 0;
}

scale.color.fine-tune.vertical:dir(rtl) trough {
  padding-right: 7px;
  background-position: -6px 0;
}

scale.color.fine-tune.vertical:dir(rtl) slider {
  margin-right: -15px;
  margin-left: 6px;
}

/*****************
 * Progress bars *
 *****************/
progressbar {
  font-size: smaller;
  color: rgba(238, 238, 236, 0.4);
  font-feature-settings: "tnum";
}

progressbar.horizontal trough,
progressbar.horizontal progress {
  min-height: 2px;
}

progressbar.vertical trough,
progressbar.vertical progress {
  min-width: 2px;
}

progressbar.horizontal progress {
  margin: 0 -1px;
}

progressbar.vertical progress {
  margin: -1px 0;
}

progressbar:backdrop {
  box-shadow: none;
  transition: 200ms ease-out;
}

progressbar progress {
  border-radius: 1.5px;
}

progressbar progress.left {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

progressbar progress.right {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

progressbar progress.top {
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
}

progressbar progress.bottom {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

progressbar.osd {
  min-width: 3px;
  min-height: 3px;
  background-color: transparent;
}

progressbar.osd trough {
  border-style: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

progressbar.osd progress {
  border-style: none;
  border-radius: 0;
}

progressbar trough.empty progress {
  all: unset;
}

/*************
 * Level Bar *
 *************/
levelbar.horizontal block {
  min-height: 1px;
}

levelbar.horizontal.discrete block {
  margin: 0 1px;
  min-width: 32px;
}

levelbar.vertical block {
  min-width: 1px;
}

levelbar.vertical.discrete block {
  margin: 1px 0;
  min-height: 32px;
}

levelbar:backdrop {
  transition: 200ms ease-out;
}

levelbar trough {
  border: 1px solid;
  padding: 2px;
  border-radius: 3px;
  color: white;
  border-color: #0d0e11;
  background-color: #262643;
  box-shadow: inset 0 0 0 1px rgba(39, 119, 255, 0);
}

levelbar trough:backdrop {
  color: #d4d5d7;
  border-color: #0d0e11;
  background-color: #1c1c2b;
  box-shadow: none;
}

levelbar block {
  border: 1px solid;
  border-radius: 1px;
}

levelbar block.low {
  border-color: #fd7d00;
  background-color: #fd7d00;
}

levelbar block.low:backdrop {
  border-color: #fd7d00;
}

levelbar block.high,
levelbar block:not(.empty) {
  border-color: #2777ff;
  background-color: #2777ff;
}

levelbar block.high:backdrop,
levelbar block:not(.empty):backdrop {
  border-color: #2777ff;
}

levelbar block.full {
  border-color: #308e63;
  background-color: #308e63;
}

levelbar block.full:backdrop {
  border-color: #308e63;
}

levelbar block.empty {
  background-color: transparent;
  border-color: rgba(238, 238, 236, 0.1);
}

levelbar block.empty:backdrop {
  border-color: rgba(136, 138, 141, 0.15);
}

/****************
 * Print dialog *
*****************/
printdialog paper {
  color: #eeeeec;
  border: 1px solid #0d0e11;
  background: white;
  padding: 0;
}

printdialog paper:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
}

printdialog .dialog-action-box {
  margin: 12px;
}

/**********
 * Frames *
 **********/
frame>border,
.frame {
  box-shadow: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 1px solid #0d0e11;
}

frame>border.flat,
.frame.flat {
  border-style: none;
}

frame>border:backdrop,
.frame:backdrop {
  border-color: #0d0e11;
}

actionbar>revealer>box {
  padding: 6px;
  border-top: 1px solid #0d0e11;
}

actionbar>revealer>box:backdrop {
  border-color: #0d0e11;
}

scrolledwindow viewport.frame {
  border-style: none;
}

scrolledwindow overshoot.top {
  background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(black), to(rgba(0, 0, 0, 0))), -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(238, 238, 236, 0.07)), to(rgba(238, 238, 236, 0)));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.top:backdrop {
  background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(#0d0e11), to(rgba(13, 14, 17, 0)));
  background-size: 100% 5%;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.bottom {
  background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(black), to(rgba(0, 0, 0, 0))), -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(238, 238, 236, 0.07)), to(rgba(238, 238, 236, 0)));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.bottom:backdrop {
  background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#0d0e11), to(rgba(13, 14, 17, 0)));
  background-size: 100% 5%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.left {
  background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(black), to(rgba(0, 0, 0, 0))), -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(238, 238, 236, 0.07)), to(rgba(238, 238, 236, 0)));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.left:backdrop {
  background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(#0d0e11), to(rgba(13, 14, 17, 0)));
  background-size: 5% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.right {
  background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(black), to(rgba(0, 0, 0, 0))), -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(238, 238, 236, 0.07)), to(rgba(238, 238, 236, 0)));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow overshoot.right:backdrop {
  background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(#0d0e11), to(rgba(13, 14, 17, 0)));
  background-size: 5% 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow junction {
  border-color: transparent;
  border-image: linear-gradient(to bottom, #0d0e11 1px, transparent 1px) 0 0 0 1/0 1px stretch;
  background-color: #262643;
}

scrolledwindow junction:dir(rtl) {
  border-image-slice: 0 1 0 0;
}

scrolledwindow junction:backdrop {
  border-image-source: linear-gradient(to bottom, #0d0e11 1px, transparent 1px);
  background-color: #1c1e25;
  transition: 200ms ease-out;
}

separator {
  background: rgba(0, 0, 0, 0.1);
  min-width: 1px;
  min-height: 1px;
}

/*********
 * Lists *
 *********/
list {
  color: white;
  background-color: #262643;
  border-color: #0d0e11;
}

list:backdrop {
  color: #d4d5d7;
  background-color: #1c1c2b;
  border-color: #0d0e11;
}

list row {
  padding: 2px;
}

row {
  transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

row:hover {
  transition: none;
}

row:backdrop {
  transition: 200ms ease-out;
}

row.activatable.has-open-popup,
row.activatable:hover {
  background-color: rgba(238, 238, 236, 0.05);
}

row.activatable:active {
  box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

row.activatable:backdrop:hover {
  background-color: transparent;
}

row.activatable:selected:active {
  box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5);
}

row.activatable:selected.has-open-popup,
row.activatable:selected:hover {
  background-color: #3b83fd;
}

row.activatable:selected:backdrop {
  background-color: #2777ff;
}

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 10px;
  border-radius: 0 0 5px 5px;
  background-color: #303340;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px);
  background-clip: padding-box;
}

.app-notification:backdrop,
.app-notification.frame:backdrop {
  background-image: none;
  transition: 200ms ease-out;
}

.app-notification border,
.app-notification.frame border {
  border: none;
}

/*************
 * Expanders *
 *************/
expander title>arrow {
  min-width: 16px;
  min-height: 16px;
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}

expander title>arrow:dir(rtl) {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
}

expander title>arrow:hover {
  color: white;
}

expander title>arrow:disabled {
  color: #888a8d;
}

expander title>arrow:disabled:backdrop {
  color: #43495a;
}

expander title>arrow:checked {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

/************
 * Calendar *
 ***********/
calendar {
  color: white;
  border: 1px solid #0d0e11;
}

calendar:selected {
  border-radius: 3px;
}

calendar.header {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

calendar.header:backdrop {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

calendar.button {
  color: rgba(238, 238, 236, 0.45);
}

calendar.button:hover {
  color: #eeeeec;
}

calendar.button:backdrop {
  color: rgba(136, 138, 141, 0.45);
}

calendar.button:disabled {
  color: rgba(136, 138, 141, 0.45);
}

calendar.highlight {
  color: #888a8d;
}

calendar.highlight:backdrop {
  color: #43495a;
}

calendar:backdrop {
  color: #d4d5d7;
  border-color: #0d0e11;
}

calendar:indeterminate {
  color: alpha(currentColor, 0.1);
}

/***********
 * Dialogs *
 ***********/
messagedialog .titlebar {
  min-height: 20px;
  background-image: none;
  background-color: #16162e;
  border-style: none;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

messagedialog.csd.background {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

messagedialog.csd .dialog-action-area button {
  padding: 10px 14px;
  border-right-style: none;
  border-bottom-style: none;
  border-radius: 0;
  -gtk-outline-radius: 0;
}

messagedialog.csd .dialog-action-area button:first-child {
  border-left-style: none;
  border-bottom-left-radius: 6px;
  -gtk-outline-bottom-left-radius: 6px;
}

messagedialog.csd .dialog-action-area button:last-child {
  border-bottom-right-radius: 6px;
  -gtk-outline-bottom-right-radius: 6px;
}

filechooser .dialog-action-box {
  border-top: 1px solid #0d0e11;
}

filechooser .dialog-action-box:backdrop {
  border-top-color: #0d0e11;
}

filechooser #pathbarbox {
  border-bottom: 1px solid #16162e;
}

filechooserbutton:drop(active) {
  box-shadow: none;
  border-color: transparent;
}

/***********
 * Sidebar *
 ***********/
.sidebar {
  border-style: none;
  background-color: #333b52;
}

stacksidebar.sidebar:dir(ltr) list,
stacksidebar.sidebar.left list,
stacksidebar.sidebar.left:dir(rtl) list,
.sidebar:not(separator):dir(ltr),
.sidebar:not(separator).left {
  border-right: 1px solid #0d0e11;
  border-left-style: none;
}

stacksidebar.sidebar:dir(rtl) list,
stacksidebar.sidebar.right list,
.sidebar:not(separator):dir(rtl),
.sidebar:not(separator).right {
  border-left: 1px solid #0d0e11;
  border-right-style: none;
}

.sidebar:backdrop {
  background-color: #262933;
  border-color: #0d0e11;
  transition: 200ms ease-out;
}

.sidebar list {
  background-color: transparent;
}

paned .sidebar.left,
paned .sidebar.right,
paned .sidebar.left:dir(rtl),
paned .sidebar:dir(rtl),
paned .sidebar:dir(ltr),
paned .sidebar {
  border-style: none;
}

stacksidebar row {
  padding: 10px 4px;
}

stacksidebar row>label {
  padding-left: 6px;
  padding-right: 6px;
}

stacksidebar row.needs-attention>label {
  background-size: 6px 6px, 0 0;
}

separator.sidebar {
  background-color: #0d0e11;
}

separator.sidebar:backdrop {
  background-color: #0d0e11;
}

separator.sidebar.selection-mode,
.selection-mode separator.sidebar {
  background-color: #0047c0;
}

/****************
 * File chooser *
 ****************/
row image.sidebar-icon {
  opacity: 0.7;
}

placessidebar>viewport.frame {
  border-style: none;
}

placessidebar row {
  min-height: 36px;
  padding: 0px;
}

placessidebar row>revealer {
  padding: 0 14px;
}

placessidebar row:selected {
  color: #ffffff;
}

placessidebar row:disabled {
  color: #888a8d;
}

placessidebar row:backdrop {
  color: #888a8d;
}

placessidebar row:backdrop:selected {
  color: #d4d5d7;
}

placessidebar row:backdrop:disabled {
  color: #43495a;
}

placessidebar row image.sidebar-icon:dir(ltr) {
  padding-right: 8px;
}

placessidebar row image.sidebar-icon:dir(rtl) {
  padding-left: 8px;
}

placessidebar row label.sidebar-label:dir(ltr) {
  padding-right: 2px;
}

placessidebar row label.sidebar-label:dir(rtl) {
  padding-left: 2px;
}

button.sidebar-button {
  min-height: 26px;
  min-width: 26px;
  margin-top: 3px;
  margin-bottom: 3px;
  padding: 0;
  border-radius: 100%;
  -gtk-outline-radius: 100%;
}

button.sidebar-button:not(:hover):not(:active)>image,
button.sidebar-button:backdrop>image {
  opacity: 0.7;
}

placessidebar row:selected:active {
  box-shadow: none;
}

placessidebar row.sidebar-placeholder-row {
  padding: 0 8px;
  min-height: 2px;
  background-image: image(#19a187);
  background-clip: content-box;
}

placessidebar row.sidebar-new-bookmark-row {
  color: #2777ff;
}

placessidebar row:drop(active):not(:disabled) {
  color: #19a187;
  box-shadow: inset 0 1px #19a187, inset 0 -1px #19a187;
}

placessidebar row:drop(active):not(:disabled):selected {
  color: #ffffff;
  background-color: #19a187;
}

placesview .server-list-button>image {
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -gtk-icon-transform: rotate(0turn);
}

placesview .server-list-button:checked>image {
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -gtk-icon-transform: rotate(-0.5turn);
}

placesview row.activatable:hover {
  background-color: transparent;
}

placesview>actionbar>revealer>box>label {
  padding-left: 8px;
  padding-right: 8px;
}

/*********
 * Paned *
 *********/
paned>separator {
  min-width: 1px;
  min-height: 1px;
  -gtk-icon-source: none;
  border-style: none;
  background-color: transparent;
  background-image: image(#0d0e11);
  background-size: 1px 1px;
}

paned>separator:selected {
  background-image: image(#2777ff);
}

paned>separator:backdrop {
  background-image: image(#0d0e11);
}

paned>separator.wide {
  min-width: 5px;
  min-height: 5px;
  background-color: #16162e;
  background-image: image(#0d0e11), image(#0d0e11);
  background-size: 1px 1px, 1px 1px;
}

paned>separator.wide:backdrop {
  background-color: #16162e;
  background-image: image(#0d0e11), image(#0d0e11);
}

paned.horizontal>separator {
  background-repeat: repeat-y;
}

paned.horizontal>separator:dir(ltr) {
  margin: 0 -8px 0 0;
  padding: 0 8px 0 0;
  background-position: left;
}

paned.horizontal>separator:dir(rtl) {
  margin: 0 0 0 -8px;
  padding: 0 0 0 8px;
  background-position: right;
}

paned.horizontal>separator.wide {
  margin: 0;
  padding: 0;
  background-repeat: repeat-y, repeat-y;
  background-position: left, right;
}

paned.vertical>separator {
  margin: 0 0 -8px 0;
  padding: 0 0 8px 0;
  background-repeat: repeat-x;
  background-position: top;
}

paned.vertical>separator.wide {
  margin: 0;
  padding: 0;
  background-repeat: repeat-x, repeat-x;
  background-position: bottom, top;
}

/**************
 * GtkInfoBar *
 **************/
infobar {
  border-style: none;
}

infobar.action:hover>revealer>box {
  background-color: #010101;
  border-bottom: 1px solid #181a20;
}

infobar.info,
infobar.question,
infobar.warning,
infobar.error {
  text-shadow: none;
}

infobar.info:backdrop>revealer>box,
infobar.info>revealer>box,
infobar.question:backdrop>revealer>box,
infobar.question>revealer>box,
infobar.warning:backdrop>revealer>box,
infobar.warning>revealer>box,
infobar.error:backdrop>revealer>box,
infobar.error>revealer>box {
  background-color: #080604;
  border-bottom: 1px solid #181a20;
}

infobar.info:backdrop>revealer>box label,
infobar.info:backdrop>revealer>box,
infobar.info>revealer>box label,
infobar.info>revealer>box,
infobar.question:backdrop>revealer>box label,
infobar.question:backdrop>revealer>box,
infobar.question>revealer>box label,
infobar.question>revealer>box,
infobar.warning:backdrop>revealer>box label,
infobar.warning:backdrop>revealer>box,
infobar.warning>revealer>box label,
infobar.warning>revealer>box,
infobar.error:backdrop>revealer>box label,
infobar.error:backdrop>revealer>box,
infobar.error>revealer>box label,
infobar.error>revealer>box {
  color: #eeeeec;
}

infobar.info:backdrop,
infobar.question:backdrop,
infobar.warning:backdrop,
infobar.error:backdrop {
  text-shadow: none;
}

infobar.info button,
infobar.question button,
infobar.warning button,
infobar.error button {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.info button:hover,
infobar.question button:hover,
infobar.warning button:hover,
infobar.error button:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.info button:active,
infobar.info button:checked,
infobar.question button:active,
infobar.question button:checked,
infobar.warning button:active,
infobar.warning button:checked,
infobar.error button:active,
infobar.error button:checked {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  background-image: image(#0f1014);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

infobar.info button:disabled,
infobar.question button:disabled,
infobar.warning button:disabled,
infobar.error button:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

infobar.info button:backdrop,
infobar.question button:backdrop,
infobar.warning button:backdrop,
infobar.error button:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #0d0e11;
}

infobar.info button:backdrop:disabled,
infobar.question button:backdrop:disabled,
infobar.warning button:backdrop:disabled,
infobar.error button:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #0d0e11;
}

infobar.info button:backdrop label,
infobar.info button:backdrop,
infobar.info button label,
infobar.info button,
infobar.question button:backdrop label,
infobar.question button:backdrop,
infobar.question button label,
infobar.question button,
infobar.warning button:backdrop label,
infobar.warning button:backdrop,
infobar.warning button label,
infobar.warning button,
infobar.error button:backdrop label,
infobar.error button:backdrop,
infobar.error button label,
infobar.error button {
  color: #eeeeec;
}

infobar.info selection,
infobar.question selection,
infobar.warning selection,
infobar.error selection {
  background-color: #0d0e11;
}

infobar.info *:link,
infobar.question *:link,
infobar.warning *:link,
infobar.error *:link {
  color: #8db7ff;
}

/************
 * Tooltips *
 ************/
tooltip {
  padding: 4px;
  /* not working */
  border-radius: 5px;
  box-shadow: none;
  text-shadow: 0 1px black;
}

tooltip.background {
  background-color: rgba(0, 0, 0, 0.8);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

tooltip decoration {
  background-color: transparent;
}

tooltip * {
  padding: 4px;
  background-color: transparent;
  color: white;
}

/*****************
 * Color Chooser *
 *****************/
colorswatch:drop(active),
colorswatch {
  border-style: none;
}

colorswatch.top {
  border-top-left-radius: 5.5px;
  border-top-right-radius: 5.5px;
}

colorswatch.top overlay {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

colorswatch.bottom {
  border-bottom-left-radius: 5.5px;
  border-bottom-right-radius: 5.5px;
}

colorswatch.bottom overlay {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

colorswatch.left,
colorswatch:first-child:not(.top) {
  border-top-left-radius: 5.5px;
  border-bottom-left-radius: 5.5px;
}

colorswatch.left overlay,
colorswatch:first-child:not(.top) overlay {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

colorswatch.right,
colorswatch:last-child:not(.bottom) {
  border-top-right-radius: 5.5px;
  border-bottom-right-radius: 5.5px;
}

colorswatch.right overlay,
colorswatch:last-child:not(.bottom) overlay {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

colorswatch.dark {
  outline-color: rgba(255, 255, 255, 0.6);
}

colorswatch.dark overlay {
  color: white;
}

colorswatch.dark overlay:hover {
  border-color: #0d0e11;
}

colorswatch.dark overlay:backdrop {
  color: rgba(255, 255, 255, 0.5);
}

colorswatch.light {
  outline-color: rgba(0, 0, 0, 0.6);
}

colorswatch.light overlay {
  color: black;
}

colorswatch.light overlay:hover {
  border-color: #0d0e11;
}

colorswatch.light overlay:backdrop {
  color: rgba(0, 0, 0, 0.5);
}

colorswatch:drop(active) {
  box-shadow: none;
}

colorswatch:drop(active).light overlay {
  border-color: #19a187;
  box-shadow: inset 0 0 0 2px #0d0e11, inset 0 0 0 1px #19a187;
}

colorswatch:drop(active).dark overlay {
  border-color: #19a187;
  box-shadow: inset 0 0 0 2px #0d0e11, inset 0 0 0 1px #19a187;
}

colorswatch overlay {
  border: 1px solid #0d0e11;
}

colorswatch overlay:hover {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.2);
}

colorswatch overlay:backdrop,
colorswatch overlay:backdrop:hover {
  border-color: #0d0e11;
  box-shadow: none;
}

colorswatch#add-color-button {
  border-radius: 5px 5px 0 0;
}

colorswatch#add-color-button:only-child {
  border-radius: 5px;
}

colorswatch#add-color-button overlay {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

colorswatch#add-color-button overlay:hover {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

colorswatch#add-color-button overlay:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

colorswatch:disabled {
  opacity: 0.5;
}

colorswatch:disabled overlay {
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: none;
}

row:selected colorswatch {
  box-shadow: 0 0 0 2px #ffffff;
}

colorswatch#editor-color-sample {
  border-radius: 4px;
}

colorswatch#editor-color-sample overlay {
  border-radius: 4.5px;
}

colorchooser .popover.osd {
  border-radius: 5px;
}

/********
 * Misc *
 ********/
.content-view {
  background-color: #13151a;
}

.content-view:hover {
  -gtk-icon-effect: highlight;
}

.content-view:backdrop {
  background-color: #13151a;
}

.osd .scale-popup button.flat {
  border-style: none;
  border-radius: 5px;
}

.scale-popup button:hover {
  background-color: rgba(238, 238, 236, 0.1);
  border-radius: 5px;
}

/**********************
 * Window Decorations *
 *********************/
decoration {
  border-radius: 7px 7px 0 0;
  border-width: 0px;
  box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.75);
  margin: 10px;
}

decoration:backdrop {
  box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.75);
  transition: 200ms ease-out;
}

.maximized decoration,
.fullscreen decoration {
  border-radius: 0;
  box-shadow: none;
}

.tiled decoration,
.tiled-top decoration,
.tiled-right decoration,
.tiled-bottom decoration,
.tiled-left decoration {
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 0 0 20px transparent;
}

.tiled decoration:backdrop,
.tiled-top decoration:backdrop,
.tiled-right decoration:backdrop,
.tiled-bottom decoration:backdrop,
.tiled-left decoration:backdrop {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 0 0 20px transparent;
}

.popup decoration {
  box-shadow: none;
}

.ssd decoration {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}

.ssd decoration:backdrop {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}

.csd.popup decoration {
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.65);
}

tooltip.csd decoration {
  border-radius: 5px;
  box-shadow: none;
}

messagedialog.csd decoration {
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.65);
}

.solid-csd decoration {
  margin: 0;
  padding: 4px;
  background-color: #0d0e11;
  border: solid 1px #0d0e11;
  border-radius: 0;
  box-shadow: inset 0 0 0 3px #1c1e25, inset 0 1px rgba(238, 238, 236, 0.07);
}

.solid-csd decoration:backdrop {
  box-shadow: inset 0 0 0 3px #16162e, inset 0 1px rgba(238, 238, 236, 0.07);
}

button.titlebutton {
  text-shadow: 0 -1px rgba(0, 0, 0, 0.873255);
  -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.873255);
}

button.titlebutton:not(.appmenu) {
  border-radius: 9999px;
  padding: 5px;
  margin: 0 2px;
  min-width: 0;
  min-height: 0;
}

button.titlebutton:backdrop {
  -gtk-icon-shadow: none;
}

.selection-mode headerbar button.titlebutton,
.selection-mode .titlebar button.titlebutton,
headerbar.selection-mode button.titlebutton,
.titlebar.selection-mode button.titlebutton {
  text-shadow: 0 -1px rgba(0, 0, 0, 0.538824);
  -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.538824);
}

.selection-mode headerbar button.titlebutton:backdrop,
.selection-mode .titlebar button.titlebutton:backdrop,
headerbar.selection-mode button.titlebutton:backdrop,
.titlebar.selection-mode button.titlebutton:backdrop {
  -gtk-icon-shadow: none;
}

.view:selected:focus,
.view:selected,
.view text:selected:focus,
textview text:selected:focus,
.view text:selected,
textview text:selected,
.view text selection:focus,
.view text selection,
textview text selection:focus,
textview text selection,
iconview:selected:focus,
iconview:selected,
iconview text selection:focus,
iconview text selection,
flowbox flowboxchild:selected,
entry selection,
modelbutton.flat:selected,
.menuitem.button.flat:selected,
spinbutton:not(.vertical) selection,
treeview.view:selected:focus,
treeview.view:selected,
row:selected,
calendar:selected {
  background-color: #2777ff;
}

label:selected,
.selection-mode button.titlebutton,
.view:selected:focus,
.view:selected,
.view text:selected:focus,
textview text:selected:focus,
.view text:selected,
textview text:selected,
.view text selection:focus,
.view text selection,
textview text selection:focus,
textview text selection,
iconview:selected:focus,
iconview:selected,
iconview text selection:focus,
iconview text selection,
flowbox flowboxchild:selected,
entry selection,
modelbutton.flat:selected,
.menuitem.button.flat:selected,
spinbutton:not(.vertical) selection,
treeview.view:selected:focus,
treeview.view:selected,
row:selected,
calendar:selected {
  color: #ffffff;
}

label:disabled selection,
label:disabled:selected,
.selection-mode button.titlebutton:disabled,
.view:disabled:selected,
textview text:disabled:selected:focus,
.view text:disabled:selected,
textview text:disabled:selected,
.view text selection:disabled,
textview text selection:disabled:focus,
textview text selection:disabled,
iconview:disabled:selected:focus,
iconview:disabled:selected,
iconview text selection:disabled:focus,
iconview text selection:disabled,
flowbox flowboxchild:disabled:selected,
entry selection:disabled,
modelbutton.flat:disabled:selected,
.menuitem.button.flat:disabled:selected,
spinbutton:not(.vertical) selection:disabled,
treeview.view:disabled:selected,
row:disabled:selected,
calendar:disabled:selected {
  color: #93bbff;
}

filechooser placessidebar.sidebar row.sidebar-row:selected:backdrop,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:backdrop,
label:backdrop selection,
label:backdrop:selected,
.selection-mode button.titlebutton:backdrop,
.view:backdrop:selected,
textview text:backdrop:selected:focus,
.view text:backdrop:selected,
textview text:backdrop:selected,
.view text selection:backdrop,
textview text selection:backdrop:focus,
textview text selection:backdrop,
iconview:backdrop:selected:focus,
iconview:backdrop:selected,
iconview text selection:backdrop:focus,
iconview text selection:backdrop,
flowbox flowboxchild:backdrop:selected,
entry selection:backdrop,
modelbutton.flat:backdrop:selected,
.menuitem.button.flat:backdrop:selected,
spinbutton:not(.vertical) selection:backdrop,
treeview.view:backdrop:selected,
row:backdrop:selected,
calendar:backdrop:selected {
  color: #d4d5d7;
}

filechooser placessidebar.sidebar row.sidebar-row:disabled:selected:backdrop,
.nautilus-window placessidebar.sidebar row.sidebar-row:disabled:selected:backdrop,
label:backdrop selection:disabled,
label:backdrop:disabled:selected,
.selection-mode button.titlebutton:backdrop:disabled,
.view:backdrop:disabled:selected,
.view text:backdrop:disabled:selected,
textview text:backdrop:disabled:selected,
.view text selection:backdrop:disabled,
textview text selection:backdrop:disabled,
iconview:backdrop:disabled:selected,
iconview text selection:backdrop:disabled,
flowbox flowboxchild:backdrop:disabled:selected,
entry selection:backdrop:disabled,
modelbutton.flat:backdrop:disabled:selected,
.menuitem.button.flat:backdrop:disabled:selected,
spinbutton:not(.vertical) selection:backdrop:disabled,
row:backdrop:disabled:selected,
calendar:backdrop:disabled:selected {
  color: #5b93f3;
}

.monospace {
  font-family: monospace;
}

/**********************
 * Touch Copy & Paste *
 *********************/
cursor-handle {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  border-style: none;
}

cursor-handle.top:dir(ltr),
cursor-handle.bottom:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-dark.png"), url("assets/text-select-start-dark@2.png"));
  padding-left: 10px;
}

cursor-handle.bottom:dir(ltr),
cursor-handle.top:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-dark.png"), url("assets/text-select-end-dark@2.png"));
  padding-right: 10px;
}

cursor-handle.insertion-cursor:dir(ltr),
cursor-handle.insertion-cursor:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-dark.png"), url("assets/slider-horz-scale-has-marks-above-dark@2.png"));
}

cursor-handle.top:hover:dir(ltr),
cursor-handle.bottom:hover:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover-dark.png"), url("assets/text-select-start-hover-dark@2.png"));
  padding-left: 10px;
}

cursor-handle.bottom:hover:dir(ltr),
cursor-handle.top:hover:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover-dark.png"), url("assets/text-select-end-hover-dark@2.png"));
  padding-right: 10px;
}

cursor-handle.insertion-cursor:hover:dir(ltr),
cursor-handle.insertion-cursor:hover:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover-dark.png"), url("assets/slider-horz-scale-has-marks-above-hover-dark@2.png"));
}

cursor-handle.top:active:dir(ltr),
cursor-handle.bottom:active:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active-dark.png"), url("assets/text-select-start-active-dark@2.png"));
  padding-left: 10px;
}

cursor-handle.bottom:active:dir(ltr),
cursor-handle.top:active:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active-dark.png"), url("assets/text-select-end-active-dark@2.png"));
  padding-right: 10px;
}

cursor-handle.insertion-cursor:active:dir(ltr),
cursor-handle.insertion-cursor:active:dir(rtl) {
  -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active-dark.png"), url("assets/slider-horz-scale-has-marks-above-active-dark@2.png"));
}

.context-menu {
  font: initial;
}

.keycap {
  min-width: 20px;
  min-height: 25px;
  margin-top: 2px;
  padding-bottom: 3px;
  padding-left: 6px;
  padding-right: 6px;
  color: #eeeeec;
  background-color: #262643;
  border: 1px solid;
  border-color: #0d0e11;
  border-radius: 5px;
  box-shadow: inset 0 -3px #17191f;
  font-size: smaller;
}

.keycap:backdrop {
  background-color: #1c1c2b;
  color: #888a8d;
  transition: 200ms ease-out;
}

:not(decoration):not(window):drop(active):focus,
:not(decoration):not(window):drop(active) {
  border-color: #19a187;
  box-shadow: inset 0 0 0 1px #19a187;
  caret-color: #19a187;
}

stackswitcher button.text-button {
  min-width: 100px;
}

stackswitcher button.circular,
stackswitcher button.text-button.circular {
  min-width: 32px;
  min-height: 32px;
  padding: 0;
}

/*************
 * App Icons *
 *************/
/* Outline for low res icons */
.lowres-icon {
  -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1);
}

/* Dropshadow for large icons */
.icon-dropshadow {
  -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1);
}

/*********
 * Emoji *
 ********/
popover.emoji-picker {
  padding-left: 0;
  padding-right: 0;
}

popover.emoji-picker entry.search {
  margin: 3px 5px 5px 5px;
}

button.emoji-section {
  border-color: transparent;
  border-width: 3px;
  border-style: none none solid;
  border-radius: 0;
  margin: 2px 4px 2px 4px;
  padding: 3px 0 0;
  min-width: 32px;
  min-height: 28px;
  /* reset props inherited from the button style */
  background: none;
  box-shadow: none;
  text-shadow: none;
  outline-offset: -5px;
}

button.emoji-section:first-child {
  margin-left: 7px;
}

button.emoji-section:last-child {
  margin-right: 7px;
}

button.emoji-section:backdrop:not(:checked) {
  border-color: transparent;
}

button.emoji-section:hover {
  border-color: rgba(238, 238, 236, 0.1);
}

button.emoji-section:checked {
  border-color: #2777ff;
}

button.emoji-section label {
  padding: 0;
  opacity: 0.55;
}

button.emoji-section:hover label {
  opacity: 0.775;
}

button.emoji-section:checked label {
  opacity: 1;
}

popover.emoji-picker .emoji {
  font-size: x-large;
  padding: 6px;
}

popover.emoji-picker .emoji :hover {
  background: #2777ff;
  border-radius: 6px;
}

popover.emoji-completion arrow {
  border: none;
  background: none;
}

popover.emoji-completion contents row box {
  padding: 2px 10px;
}

popover.emoji-completion .emoji:hover {
  background: #3b3e46;
}

/***************************
 * Check and Radio buttons *
 ***************************/
row label.subtitle {
  font-size: smaller;
  opacity: 0.55;
  text-shadow: none;
}

row>box.header {
  margin-left: 12px;
  margin-right: 12px;
  min-height: 50px;
}

row>box.header>box.title {
  margin-top: 8px;
  margin-bottom: 8px;
}

row.expander {
  background-color: transparent;
}

row.expander list.nested>row {
  background-color: alpha(#16162e, 0.5);
  border-color: alpha(#0d0e11, 0.7);
  border-style: solid;
  border-width: 1px 0px 0px 0px;
}

row.expander image.expander-row-arrow {
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

row.expander:checked image.expander-row-arrow {
  -gtk-icon-transform: rotate(0turn);
}

row.expander:not(:checked) image.expander-row-arrow {
  opacity: 0.55;
  text-shadow: none;
}

row.expander:not(:checked) image.expander-row-arrow:dir(ltr) {
  -gtk-icon-transform: rotate(-0.25turn);
}

row.expander:not(:checked) image.expander-row-arrow:dir(rtl) {
  -gtk-icon-transform: rotate(0.25turn);
}

row.expander:checked image.expander-row-arrow:not(:disabled) {
  color: #2777ff;
}

row.expander image.expander-row-arrow:disabled {
  color: #888a8d;
}

flap>dimming,
deck>dimming,
leaflet>dimming {
  background: rgba(0, 0, 0, 0.24);
}

flap>border,
deck>border,
leaflet>border {
  min-width: 1px;
  min-height: 1px;
  background: #0d0e11;
}

flap>shadow,
deck>shadow,
leaflet>shadow {
  min-width: 56px;
  min-height: 56px;
}

flap>shadow.left,
deck>shadow.left,
leaflet>shadow.left {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02) 40px, rgba(0, 0, 0, 0) 56px), linear-gradient(to right, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 7px, rgba(0, 0, 0, 0) 24px);
}

flap>shadow.right,
deck>shadow.right,
leaflet>shadow.right {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02) 40px, rgba(0, 0, 0, 0) 56px), linear-gradient(to left, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 7px, rgba(0, 0, 0, 0) 24px);
}

flap>shadow.up,
deck>shadow.up,
leaflet>shadow.up {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02) 40px, rgba(0, 0, 0, 0) 56px), linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 7px, rgba(0, 0, 0, 0) 24px);
}

flap>shadow.down,
deck>shadow.down,
leaflet>shadow.down {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02) 40px, rgba(0, 0, 0, 0) 56px), linear-gradient(to top, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 7px, rgba(0, 0, 0, 0) 24px);
}

flap>outline,
deck>outline,
leaflet>outline {
  min-width: 1px;
  min-height: 1px;
  background: transparent;
}

avatar {
  border-radius: 9999px;
  -gtk-outline-radius: 9999px;
  font-weight: bold;
}

avatar.color1 {
  background-image: linear-gradient(#83b6ec, #337fdc);
  color: #cfe1f5;
}

avatar.color2 {
  background-image: linear-gradient(#7ad9f1, #0f9ac8);
  color: #caeaf2;
}

avatar.color3 {
  background-image: linear-gradient(#8de6b1, #29ae74);
  color: #cef8d8;
}

avatar.color4 {
  background-image: linear-gradient(#b5e98a, #6ab85b);
  color: #e6f9d7;
}

avatar.color5 {
  background-image: linear-gradient(#f8e359, #d29d09);
  color: #f9f4e1;
}

avatar.color6 {
  background-image: linear-gradient(#ffcb62, #d68400);
  color: #ffead1;
}

avatar.color7 {
  background-image: linear-gradient(#ffa95a, #ed5b00);
  color: #ffe5c5;
}

avatar.color8 {
  background-image: linear-gradient(#f78773, #e62d42);
  color: #f8d2ce;
}

avatar.color9 {
  background-image: linear-gradient(#e973ab, #e33b6a);
  color: #fac7de;
}

avatar.color10 {
  background-image: linear-gradient(#cb78d4, #9945b5);
  color: #e7c2e8;
}

avatar.color11 {
  background-image: linear-gradient(#9e91e8, #7a59ca);
  color: #d5d2f5;
}

avatar.color12 {
  background-image: linear-gradient(#e3cf9c, #b08952);
  color: #f2eade;
}

avatar.color13 {
  background-image: linear-gradient(#be916d, #785336);
  color: #e5d6ca;
}

avatar.color14 {
  background-image: linear-gradient(#c0bfbc, #6e6d71);
  color: #d8d7d3;
}

avatar.contrasted {
  color: #fff;
}

avatar.image {
  background: none;
}

viewswitchertitle viewswitcher {
  margin-left: 12px;
  margin-right: 12px;
}

statuspage>scrolledwindow>viewport>box {
  margin: 36px 12px;
}

statuspage>scrolledwindow>viewport>box>clamp:not(:last-child)>box {
  margin-bottom: 36px;
}

statuspage>scrolledwindow>viewport>box>clamp>box>.icon:not(:last-child) {
  margin-bottom: 36px;
}

statuspage>scrolledwindow>viewport>box>clamp>box>.title:not(:last-child) {
  margin-bottom: 12px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp,
preferencespage>scrolledwindow>viewport>clamp {
  margin: 0 12px;
  transition: margin-bottom 200ms ease;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp>list,
window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp>box>preferencesgroup,
preferencespage>scrolledwindow>viewport>clamp>list,
preferencespage>scrolledwindow>viewport>clamp>box>preferencesgroup {
  transition: margin-top 200ms ease;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.small,
preferencespage>scrolledwindow>viewport>clamp.small {
  margin-bottom: 18px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.small>list,
window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.small>box>preferencesgroup,
preferencespage>scrolledwindow>viewport>clamp.small>list,
preferencespage>scrolledwindow>viewport>clamp.small>box>preferencesgroup {
  margin-top: 18px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.medium,
preferencespage>scrolledwindow>viewport>clamp.medium {
  margin-bottom: 24px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.medium>list,
window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.medium>box>preferencesgroup,
preferencespage>scrolledwindow>viewport>clamp.medium>list,
preferencespage>scrolledwindow>viewport>clamp.medium>box>preferencesgroup {
  margin-top: 24px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.large,
preferencespage>scrolledwindow>viewport>clamp.large {
  margin-bottom: 30px;
}

window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.large>list,
window.preferences>deck>deck>box>stack>stack>scrolledwindow>viewport>clamp.large>box>preferencesgroup,
preferencespage>scrolledwindow>viewport>clamp.large>list,
preferencespage>scrolledwindow>viewport>clamp.large>box>preferencesgroup {
  margin-top: 30px;
}

preferencesgroup>box>label:not(:first-child) {
  margin-top: 6px;
}

preferencesgroup>box>box:not(:first-child) {
  margin-top: 12px;
}

tabbar .tab-indicator:not(.clickable) {
  background: none;
  box-shadow: none;
  border-color: transparent;
}

/***************************
 * Check and Radio buttons *
 ***************************/
popover.combo list {
  min-width: 200px;
}

window.csd.unified:not(.solid-csd) headerbar {
  border-radius: 0;
}

.windowhandle,
.windowhandle * {
  -GtkWidget-window-dragging: true;
}

popover.combo {
  padding: 0px;
}

popover.combo list {
  border-style: none;
  background-color: transparent;
}

popover.combo list>row {
  padding: 0px 12px 0px 12px;
  min-height: 50px;
}

popover.combo list>row:not(:last-child) {
  border-bottom: 1px solid alpha(#0d0e11, 0.5);
}

popover.combo list>row:first-child {
  border-top-left-radius: 8px;
  -gtk-outline-top-left-radius: 7px;
  border-top-right-radius: 8px;
  -gtk-outline-top-right-radius: 7px;
}

popover.combo list>row:last-child {
  border-bottom-left-radius: 8px;
  -gtk-outline-bottom-left-radius: 7px;
  border-bottom-right-radius: 8px;
  -gtk-outline-bottom-right-radius: 7px;
}

popover.combo overshoot.top {
  border-top-left-radius: 8px;
  -gtk-outline-top-left-radius: 7px;
  border-top-right-radius: 8px;
  -gtk-outline-top-right-radius: 7px;
}

popover.combo overshoot.bottom {
  border-bottom-left-radius: 8px;
  -gtk-outline-bottom-left-radius: 7px;
  border-bottom-right-radius: 8px;
  -gtk-outline-bottom-right-radius: 7px;
}

popover.combo scrollbar.vertical {
  padding-top: 2px;
  padding-bottom: 2px;
}

popover.combo scrollbar.vertical:dir(ltr) {
  border-top-right-radius: 8px;
  -gtk-outline-top-right-radius: 7px;
  border-bottom-right-radius: 8px;
  -gtk-outline-bottom-right-radius: 7px;
}

popover.combo scrollbar.vertical:dir(rtl) {
  border-top-left-radius: 8px;
  -gtk-outline-top-left-radius: 7px;
  border-bottom-left-radius: 8px;
  -gtk-outline-bottom-left-radius: 7px;
}

row.expander {
  padding: 0px;
}

row.expander image.expander-row-arrow:dir(ltr) {
  margin-left: 6px;
}

row.expander image.expander-row-arrow:dir(rtl) {
  margin-right: 6px;
}

keypad .digit {
  font-size: 200%;
  font-weight: bold;
}

keypad .letters {
  font-size: 70%;
}

keypad .symbol {
  font-size: 160%;
}

viewswitcher,
viewswitcher button {
  margin: 0;
  padding: 0;
}

viewswitcher button {
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
  font-size: 1rem;
}

viewswitcher button:not(:checked):not(:hover) {
  background: transparent;
}

viewswitcher button:not(:only-child):not(:last-child) {
  border-right-width: 0px;
}

viewswitcher button:not(only-child):first-child:not(:checked):not(:hover),
viewswitcher button:not(:checked):not(:hover)+button:not(:checked):not(:hover) {
  border-left-color: transparent;
}

viewswitcher button:not(only-child):last-child:not(:checked):not(:hover) {
  border-right-color: transparent;
}

viewswitcher button:not(:checked):hover:not(:backdrop) {
  background-image: image(lighter(#16162e));
}

viewswitcher button:not(only-child):first-child:not(:checked):hover,
viewswitcher button:not(:checked):hover+button:not(:checked):not(:hover),
viewswitcher button:not(:checked):not(:hover)+button:not(:checked):hover {
  border-left-color: shade(#0d0e11, 1.15);
}

viewswitcher button:not(only-child):last-child:not(:checked):hover {
  border-right-color: shade(#0d0e11, 1.15);
}

viewswitcher button:not(:checked):hover:backdrop {
  background-image: image(#16162e);
}

headerbar viewswitcher button:not(:checked):hover:not(:backdrop) {
  background-image: linear-gradient(to top, shade(alpha(#16162e, 0.7), 0.99) 2px, alpha(#16162e, 0.7));
}

headerbar viewswitcher button:not(:checked):not(only-child):first-child:hover,
headerbar viewswitcher button:not(:checked):hover+button:not(:checked):not(:hover),
headerbar viewswitcher button:not(:checked):not(:hover)+button:not(:checked):hover {
  border-left-color: #0d0e11;
}

headerbar viewswitcher button:not(:checked):not(only-child):last-child:hover {
  border-right-color: #0d0e11;
}

headerbar viewswitcher button:not(:checked):hover:backdrop {
  background-image: image(#16162e);
}

viewswitcher button>stack>box.narrow {
  font-size: 0.75rem;
  padding-top: 7px;
  padding-bottom: 5px;
}

viewswitcher button>stack>box.narrow image,
viewswitcher button>stack>box.narrow label {
  padding-left: 8px;
  padding-right: 8px;
}

viewswitcher button>stack>box.wide {
  padding: 8px 12px;
}

viewswitcher button>stack>box.wide label:dir(ltr) {
  padding-right: 7px;
}

viewswitcher button>stack>box.wide label:dir(rtl) {
  padding-left: 7px;
}

viewswitcher button>stack>box label.active {
  font-weight: bold;
}

viewswitcher button.needs-attention:active>stack>box label,
viewswitcher button.needs-attention:checked>stack>box label {
  animation: none;
  background-image: none;
}

viewswitcher button.needs-attention>stack>box label {
  animation: needs_attention 150ms ease-in;
  background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#3584e4), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(rgba(255, 255, 255, 0.769231)), to(transparent));
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position: right 0px, right 1px;
}

viewswitcher button.needs-attention>stack>box label:backdrop {
  background-size: 6px 6px, 0 0;
}

viewswitcher button.needs-attention>stack>box label:dir(rtl) {
  background-position: left 0px, left 1px;
}

viewswitcherbar actionbar>revealer>box {
  padding: 0;
}

list.content,
list.content list {
  background-color: transparent;
}

list.content list.nested>row:not(:active):not(:hover):not(:selected),
list.content list.nested>row:not(:active):hover:not(.activatable):not(:selected) {
  background-color: mix(#16162e, #262643, 0.5);
}

list.content list.nested>row:not(:active):hover.activatable:not(:selected) {
  background-color: mix(#eeeeec, #262643, 0.95);
}

list.content>row:not(.expander):not(:active):not(:hover):not(:selected),
list.content>row:not(.expander):not(:active):hover:not(.activatable):not(:selected),
list.content>row.expander row.header:not(:active):not(:hover):not(:selected),
list.content>row.expander row.header:not(:active):hover:not(.activatable):not(:selected) {
  background-color: #262643;
}

list.content>row:not(.expander):not(:active):hover.activatable:not(:selected),
list.content>row.expander row.header:not(:active):hover.activatable:not(:selected) {
  background-color: mix(#eeeeec, #262643, 0.95);
}

list.content>row,
list.content>row list>row {
  border-color: alpha(#0d0e11, 0.7);
  border-style: solid;
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

list.content>row:not(:last-child) {
  border-width: 1px 1px 0px 1px;
}

list.content>row:first-child,
list.content>row.expander:first-child row.header,
list.content>row.expander:checked,
list.content>row.expander:checked row.header,
list.content>row.expander:checked+row,
list.content>row.expander:checked+row.expander row.header {
  border-top-left-radius: 8px;
  -gtk-outline-top-left-radius: 7px;
  border-top-right-radius: 8px;
  -gtk-outline-top-right-radius: 7px;
}

list.content>row:last-child,
list.content>row.checked-expander-row-previous-sibling,
list.content>row.expander:checked {
  border-width: 1px;
}

list.content>row:last-child,
list.content>row.checked-expander-row-previous-sibling,
list.content>row.expander:checked,
list.content>row.expander:not(:checked):last-child row.header,
list.content>row.expander:not(:checked).checked-expander-row-previous-sibling row.header,
list.content>row.expander.empty:checked row.header,
list.content>row.expander list.nested>row:last-child {
  border-bottom-left-radius: 8px;
  -gtk-outline-bottom-left-radius: 7px;
  border-bottom-right-radius: 8px;
  -gtk-outline-bottom-right-radius: 7px;
}

list.content>row.expander:checked:not(:first-child),
list.content>row.expander:checked+row {
  margin-top: 6px;
}

button.list-button:not(:active):not(:checked):not(:hover) {
  background: none;
  border: 1px solid alpha(#0d0e11, 0.5);
  box-shadow: none;
}

window.csd.unified:not(.solid-csd):not(.fullscreen) headerbar {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

window.csd.unified:not(.solid-csd):not(.fullscreen) headerbar.selection-mode {
  box-shadow: none;
}

window.csd.unified:not(.solid-csd):not(.fullscreen)>decoration-overlay {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.065);
}

window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized),
window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized)>decoration,
window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized)>decoration-overlay {
  border-radius: 8px;
}

statuspage>scrolledwindow>viewport>box>clamp>box>.icon {
  color: rgba(238, 238, 236, 0.5);
}

statuspage>scrolledwindow>viewport>box>clamp>box>.icon:backdrop {
  color: rgba(136, 138, 141, 0.5);
}

tabbar .box {
  min-height: 38px;
  background: #0f1014;
  border-bottom: 1px solid black;
}

tabbar .box:backdrop {
  background-color: #0f1014;
  border-color: #0d0e11;
}

tabbar scrolledwindow.pinned undershoot {
  border: 0 solid black;
}

tabbar scrolledwindow.pinned:dir(rtl) undershoot.left {
  border-left-width: 1px;
}

tabbar scrolledwindow.pinned:dir(ltr) undershoot.right {
  border-right-width: 1px;
}

tabbar scrolledwindow.pinned:backdrop undershoot {
  border-color: #0d0e11;
}

tabbar scrolledwindow.pinned tabbox:dir(ltr) {
  padding-right: 1px;
  box-shadow: inset -1px 0 black;
}

tabbar scrolledwindow.pinned tabbox:dir(ltr):backdrop {
  box-shadow: inset -1px 0 #0d0e11;
}

tabbar scrolledwindow.pinned tabbox:dir(rtl) {
  padding-left: 1px;
  box-shadow: inset 1px 0 black;
}

tabbar scrolledwindow.pinned tabbox:dir(rtl):backdrop {
  box-shadow: inset 1px 0 #0d0e11;
}

tabbar undershoot {
  transition: none;
}

tabbar undershoot.left {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 20px);
}

tabbar undershoot.right {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 20px);
}

tabbar .needs-attention-left undershoot.left {
  background: linear-gradient(to right, rgba(39, 119, 255, 0.7), rgba(39, 119, 255, 0.5) 1px, rgba(39, 119, 255, 0) 20px);
}

tabbar .needs-attention-right undershoot.right {
  background: linear-gradient(to left, rgba(39, 119, 255, 0.7), rgba(39, 119, 255, 0.5) 1px, rgba(39, 119, 255, 0) 20px);
}

tabbar tab {
  border-style: solid;
  border-color: black;
  border-width: 0 1px 0 1px;
  transition: background 150ms ease-in-out;
  background-color: #16171d;
}

tabbar tab:checked {
  background-color: #16162e;
}

tabbar tab:checked:hover {
  background-color: #1c1c2b;
}

tabbar tab:hover {
  background-color: #1c1e25;
}

tabbar tab:backdrop {
  border-color: #0d0e11;
  background-color: #16171d;
}

tabbar tab:backdrop:checked {
  background-color: #16162e;
}

tabbar .start-action,
tabbar .end-action {
  background: #16171d;
  border-color: black;
  border-style: solid;
  transition: background 150ms ease-in-out;
}

tabbar .start-action:backdrop,
tabbar .end-action:backdrop {
  border-color: #0d0e11;
  background-color: #16171d;
}

tabbar .start-action button,
tabbar .end-action button {
  border: none;
  border-radius: 0;
}

tabbar .start-action:dir(ltr),
tabbar .end-action:dir(rtl) {
  border-right-width: 1px;
}

tabbar .start-action:dir(ltr)>*,
tabbar .end-action:dir(rtl)>* {
  margin-right: 1px;
}

tabbar .start-action:dir(rtl),
tabbar .end-action:dir(ltr) {
  border-left-width: 1px;
}

tabbar .start-action:dir(rtl)>*,
tabbar .end-action:dir(ltr)>* {
  margin-left: 1px;
}

.tab-drag-icon tab {
  min-height: 26px;
  background-color: #1c1c2b;
  box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(13, 14, 17, 0.9), inset 0 1px rgba(238, 238, 236, 0.07);
  margin: 25px;
}

tabbar tab,
.tab-drag-icon tab {
  padding: 6px;
}

tabbar tab.needs-attention,
.tab-drag-icon tab.needs-attention {
  background-image: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.8), rgba(39, 119, 255, 0.2) 15%, rgba(39, 119, 255, 0) 15%);
}

tabbar tab .tab-close-button,
tabbar tab .tab-indicator,
.tab-drag-icon tab .tab-close-button,
.tab-drag-icon tab .tab-indicator {
  padding: 0;
  margin: 0;
  min-width: 24px;
  min-height: 24px;
  border-radius: 99px;
  border: none;
  box-shadow: none;
  -gtk-icon-shadow: none;
  text-shadow: none;
  background: none;
}

tabbar tab .tab-close-button:hover,
tabbar tab .tab-indicator.clickable:hover,
.tab-drag-icon tab .tab-close-button:hover,
.tab-drag-icon tab .tab-indicator.clickable:hover {
  background: alpha(#eeeeec, 0.15);
}

tabbar tab .tab-close-button:active,
tabbar tab .tab-indicator.clickable:active,
.tab-drag-icon tab .tab-close-button:active,
.tab-drag-icon tab .tab-indicator.clickable:active {
  background: alpha(black, 0.2);
}

* {
  outline-style: solid;
  outline-offset: -4px;
  outline-width: 2px;
  -gtk-outline-radius: 3px;
  outline-color: alpha(currentColor, 0.07);
}

* button,
* button:hover,
* button:active,
* button:checked,
* button:focus {
  outline-color: alpha(currentColor, 0.07);
}

/**********
 * Button *
 **********/
.titlebar:not(headerbar) stackswitcher button:active,
.titlebar:not(headerbar) stackswitcher button:checked,
.titlebar:not(headerbar) button.toggle:active,
.titlebar:not(headerbar) button.toggle:checked,
headerbar stackswitcher button:active,
headerbar stackswitcher button:checked,
headerbar button.toggle:active,
headerbar button.toggle:checked,
button.flat:hover,
button:active,
button:checked {
  background: #16162e;
  box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
}

.titlebar:not(headerbar) stackswitcher button:backdrop:active,
.titlebar:not(headerbar) stackswitcher button:backdrop:checked,
.titlebar:not(headerbar) button.toggle:backdrop:active,
.titlebar:not(headerbar) button.toggle:backdrop:checked,
headerbar stackswitcher button:backdrop:active,
headerbar stackswitcher button:backdrop:checked,
headerbar button.toggle:backdrop:active,
headerbar button.toggle:backdrop:checked,
button.flat:backdrop:hover,
button:active:backdrop,
button:checked:backdrop {
  box-shadow: none;
}

button.flat {
  border-color: transparent;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button.flat:hover {
  transition: none;
}

button.flat:link,
button.flat:backdrop {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

button.suggested-action {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #186dff;
  border-bottom-color: #0054e4;
  background-image: image(#4b8dff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.suggested-action:hover {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  border-bottom-color: #0047c0;
  background-image: linear-gradient(to top, #2274ff, #2c7aff 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.suggested-action:active,
button.suggested-action:checked {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  background-image: image(#005cf8);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

button.suggested-action:backdrop,
button.suggested-action.flat:backdrop {
  color: #d4e4ff;
  border-color: #005af3;
  background-image: image(#2777ff);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:backdrop:active,
button.suggested-action:backdrop:checked,
button.suggested-action.flat:backdrop:active,
button.suggested-action.flat:backdrop:checked {
  color: #d2dff7;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:backdrop:disabled:active,
button.suggested-action:backdrop:disabled:checked,
button.suggested-action.flat:backdrop:disabled:active,
button.suggested-action.flat:backdrop:disabled:checked {
  color: #6d98e4;
  border-color: #005af3;
  background-image: image(#1e61d6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.suggested-action:disabled:active,
button.suggested-action:disabled:checked {
  color: #a4beeb;
  border-color: #005af3;
  background-image: image(#1c5dcd);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #991212;
  border-bottom-color: #6b0d0d;
  background-image: image(#c61717);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(121, 14, 14, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.destructive-action:hover {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #790e0e;
  border-bottom-color: #4b0909;
  background-image: linear-gradient(to top, #a21313, #ab1414 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(121, 14, 14, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.destructive-action:active,
button.destructive-action:checked {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #790e0e;
  background-image: image(#7d0f0f);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

button.destructive-action:backdrop,
button.destructive-action.flat:backdrop {
  color: #edd0d0;
  border-color: #790e0e;
  background-image: image(#a61414);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:backdrop:active,
button.destructive-action:backdrop:checked,
button.destructive-action.flat:backdrop:active,
button.destructive-action.flat:backdrop:checked {
  color: #e6d0d0;
  border-color: #790e0e;
  background-image: image(#811415);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:backdrop:disabled:active,
button.destructive-action:backdrop:disabled:checked,
button.destructive-action.flat:backdrop:disabled:active,
button.destructive-action.flat:backdrop:disabled:checked {
  color: #ad6667;
  border-color: #790e0e;
  background-image: image(#811415);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

button.destructive-action:disabled:active,
button.destructive-action:disabled:checked {
  color: #c9a1a1;
  border-color: #790e0e;
  background-image: image(#791314);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

/**********
 * Entry *
 **********/
spinbutton:not(.vertical),
entry {
  box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
  background-color: #16162e;
}

headerbar spinbutton:not(.vertical),
headerbar entry {
  background: #262643;
}

/**********
 * Switch *
 **********/
switch {
  box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
}

switch:checked {
  border-color: rgba(0, 0, 0, 0.2);
  border-right-width: 0;
  margin-right: 1px;
  box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, 0.6);
}

switch:backdrop,
switch:disabled {
  box-shadow: none;
  border-color: #0d0e11;
}

switch slider:checked {
  border-color: #0d0e11;
}

switch slider:checked:backdrop:not(:disabled) {
  border-color: #0d0e11;
}

switch slider:disabled {
  border-color: #0d0e11;
}

/*************************
 * Check and Radio items *
 *************************/
check,
menu menuitem check,
menu menuitem:hover check,
radio,
menu menuitem radio,
menu menuitem:hover radio {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

check:disabled,
check:disabled:checked,
check:disabled:indeterminate,
check:disabled:backdrop,
check:disabled:backdrop:checked,
check:disabled:backdrop:indeterminate,
menu menuitem check:disabled,
menu menuitem check:disabled:checked,
menu menuitem check:disabled:indeterminate,
menu menuitem check:disabled:backdrop,
menu menuitem check:disabled:backdrop:checked,
menu menuitem check:disabled:backdrop:indeterminate,
menu menuitem:hover check:disabled,
menu menuitem:hover check:disabled:checked,
menu menuitem:hover check:disabled:indeterminate,
menu menuitem:hover check:disabled:backdrop,
menu menuitem:hover check:disabled:backdrop:checked,
menu menuitem:hover check:disabled:backdrop:indeterminate,
radio:disabled,
radio:disabled:checked,
radio:disabled:indeterminate,
radio:disabled:backdrop,
radio:disabled:backdrop:checked,
radio:disabled:backdrop:indeterminate,
menu menuitem radio:disabled,
menu menuitem radio:disabled:checked,
menu menuitem radio:disabled:indeterminate,
menu menuitem radio:disabled:backdrop,
menu menuitem radio:disabled:backdrop:checked,
menu menuitem radio:disabled:backdrop:indeterminate,
menu menuitem:hover radio:disabled,
menu menuitem:hover radio:disabled:checked,
menu menuitem:hover radio:disabled:indeterminate,
menu menuitem:hover radio:disabled:backdrop,
menu menuitem:hover radio:disabled:backdrop:checked,
menu menuitem:hover radio:disabled:backdrop:indeterminate {
  border-color: #0d0e11;
  background-image: image(#16162e);
  color: #eeeeec;
}

check:checked,
check:indeterminate,
menu menuitem check:checked,
menu menuitem check:indeterminate,
radio:checked,
radio:indeterminate,
menu menuitem radio:checked,
menu menuitem radio:indeterminate {
  background-image: linear-gradient(to bottom, #2777ff 20%, #1d71ff 90%);
  border-color: #00348d;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.27);
  color: #ffffff;
}

check:checked:active,
check:indeterminate:active,
menu menuitem check:checked:active,
menu menuitem check:indeterminate:active,
radio:checked:active,
radio:indeterminate:active,
menu menuitem radio:checked:active,
menu menuitem radio:indeterminate:active {
  box-shadow: none;
}

check:checked:backdrop,
check:indeterminate:backdrop,
menu menuitem check:checked:backdrop,
menu menuitem check:indeterminate:backdrop,
radio:checked:backdrop,
radio:indeterminate:backdrop,
menu menuitem radio:checked:backdrop,
menu menuitem radio:indeterminate:backdrop {
  background-image: image(#2777ff);
}

switch slider,
scale slider {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.3), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-color: black;
}

switch:hover slider,
switch slider:active,
scale slider:active {
  background-image: image(#0f1014);
  border-color: #2777ff;
}

switch slider:disabled,
scale slider:disabled {
  border-color: #0d0e11;
}

/***************
 * Header bars *
 ***************/
headerbar {
  border-color: black;
  background: #0d0e11 linear-gradient(to top, #16171d, #1a1c23);
  box-shadow: inset 0 1px rgba(238, 238, 236, 0.07);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  background-repeat: no-repeat;
  background-position: left;
}

headerbar:backdrop {
  background-repeat: no-repeat;
  background-position: left;
  box-shadow: none;
}

.titlebar:not(headerbar) viewswitcher button>stack>box.narrow,
.titlebar:not(headerbar) hdyviewswitcher>button box.narrow,
headerbar viewswitcher button>stack>box.narrow,
headerbar hdyviewswitcher>button box.narrow {
  margin: -7px 0 -5px;
}

.titlebar:not(headerbar) viewswitcher button>stack>box.wide,
.titlebar:not(headerbar) hdyviewswitcher>button box.wide,
headerbar viewswitcher button>stack>box.wide,
headerbar hdyviewswitcher>button box.wide {
  margin: -8px 0;
}

dialog .titlebar:not(headerbar),
dialog headerbar,
dialog headerbar:backdrop {
  background: #16162e;
  border: 0;
  box-shadow: none;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu),
headerbar button.titlebutton:not(.appmenu) {
  color: transparent;
  background-image: -gtk-scaled(url("assets/titlebutton.png"), url("assets/titlebutton@2.png"));
  background-size: 8px;
  background-color: #383d4b;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  margin-left: 5px;
  padding: 0;
  min-width: 0;
  min-height: 0;
  border: 1px solid black;
  box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
  -gtk-icon-shadow: none;
  transition: all .2s;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu)+button.titlebutton,
headerbar button.titlebutton:not(.appmenu)+button.titlebutton {
  margin-left: 0;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
headerbar button.titlebutton:not(.appmenu):last-child {
  margin-right: 5px;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu):hover,
headerbar button.titlebutton:not(.appmenu):hover {
  background-color: #383d4b;
  border-color: transparent;
  box-shadow: 0 0 0 1px #0d0e11;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu):hover.minimize,
headerbar button.titlebutton:not(.appmenu):hover.minimize {
  background-image: -gtk-scaled(url("assets/minimize-dark.png"), url("assets/minimize-dark@2.png"));
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu):hover.maximize,
headerbar button.titlebutton:not(.appmenu):hover.maximize {
  background-image: -gtk-scaled(url("assets/maximize-dark.png"), url("assets/maximize-dark@2.png"));
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu).close,
headerbar button.titlebutton:not(.appmenu).close {
  background-color: #2777ff;
  background-image: -gtk-scaled(url("assets/close-black.png"), url("assets/close-black@2.png"));
  border-color: transparent;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu).close:hover,
headerbar button.titlebutton:not(.appmenu).close:hover {
  background-color: #5292ff;
  background-size: 6px;
}

.maximized .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.fullscreen .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.tiled .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.tiled-top .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.tiled-right .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.tiled-bottom .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.tiled-left .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
.maximized headerbar button.titlebutton:not(.appmenu):last-child,
.fullscreen headerbar button.titlebutton:not(.appmenu):last-child,
.tiled headerbar button.titlebutton:not(.appmenu):last-child,
.tiled-top headerbar button.titlebutton:not(.appmenu):last-child,
.tiled-right headerbar button.titlebutton:not(.appmenu):last-child,
.tiled-bottom headerbar button.titlebutton:not(.appmenu):last-child,
.tiled-left headerbar button.titlebutton:not(.appmenu):last-child {
  margin-right: 0;
}

.maximized .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.fullscreen .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.tiled .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.tiled-top .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.tiled-right .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.tiled-bottom .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.tiled-left .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child,
.maximized headerbar button.titlebutton:not(.appmenu):first-child,
.fullscreen headerbar button.titlebutton:not(.appmenu):first-child,
.tiled headerbar button.titlebutton:not(.appmenu):first-child,
.tiled-top headerbar button.titlebutton:not(.appmenu):first-child,
.tiled-right headerbar button.titlebutton:not(.appmenu):first-child,
.tiled-bottom headerbar button.titlebutton:not(.appmenu):first-child,
.tiled-left headerbar button.titlebutton:not(.appmenu):first-child {
  margin-left: 0;
}

.titlebar:not(headerbar) button.titlebutton:not(.appmenu):backdrop.maximize,
.titlebar:not(headerbar) button.titlebutton:not(.appmenu):backdrop.minimize,
.titlebar:not(headerbar) button.titlebutton:not(.appmenu):backdrop.close,
headerbar button.titlebutton:not(.appmenu):backdrop.maximize,
headerbar button.titlebutton:not(.appmenu):backdrop.minimize,
headerbar button.titlebutton:not(.appmenu):backdrop.close {
  box-shadow: none;
  border-color: #0d0e11;
  background-image: -gtk-scaled(url("assets/titlebutton.png"), url("assets/titlebutton@2.png"));
  background-color: rgba(0, 0, 0, 0.3);
}

.default-decoration.titlebar:not(headerbar),
headerbar.default-decoration {
  min-height: 0;
  padding: 6px;
  box-shadow: none;
  background: image(#181a20);
}

.default-decoration.titlebar:backdrop:not(headerbar),
headerbar.default-decoration:backdrop {
  background: image(#16162e);
}

.default-decoration.titlebar:not(headerbar) button.titlebutton,
headerbar.default-decoration button.titlebutton {
  min-height: 0;
  min-width: 0;
}

.default-decoration.titlebar:not(headerbar) button.titlebutton,
headerbar.default-decoration button.titlebutton,
headerbar.default-decoration button.titlebutton:last-child {
  margin: 0;
}

paned headerbar:first-child,
hdyleaflet headerbar:first-child,
headerbar.titlebar headerbar:first-child,
deck leaflet box:first-child headerbar:first-child,
leaflet>headerbar:first-child {
  border-color: #0d0e11;
  background: #262643;
  box-shadow: none;
}

paned headerbar:first-child:backdrop,
hdyleaflet headerbar:first-child:backdrop,
headerbar.titlebar headerbar:first-child:backdrop,
deck leaflet box:first-child headerbar:first-child:backdrop,
leaflet>headerbar:first-child:backdrop {
  background: #1c1c2b;
}

/**************
 * Tree Views *
 **************/
treeview.view {
  border-top-color: #0d0e11;
}

treeview.view:backdrop {
  border-top-color: #0d0e11;
}

treeview.view header button {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

treeview.view header button:hover,
treeview.view header button:active {
  border-color: #0d0e11;
}

treeview.view header button:backdrop {
  box-shadow: none;
}

/***************
 * Popovers   *
 ***************/
popover.background {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.csd popover.background,
popover.background {
  border-color: rgba(13, 14, 17, 0.75);
}

/*************
 * Notebooks *
 *************/
notebook>header {
  border: 0;
  padding: 0;
  background-color: #16162e;
}

notebook>header.top>tabs,
notebook>header.bottom>tabs,
notebook>header.left>tabs,
notebook>header.right>tabs {
  margin: 0;
}

notebook>header.top>tabs>tab,
notebook>header.top>tabs>tab.reorderable-page,
notebook>header.bottom>tabs>tab,
notebook>header.bottom>tabs>tab.reorderable-page,
notebook>header.left>tabs>tab,
notebook>header.left>tabs>tab.reorderable-page,
notebook>header.right>tabs>tab,
notebook>header.right>tabs>tab.reorderable-page {
  border: 1px solid transparent;
  margin: 3px;
}

notebook>header.top>tabs>tab:hover:not(:backdrop),
notebook>header.top>tabs>tab.reorderable-page:hover:not(:backdrop),
notebook>header.bottom>tabs>tab:hover:not(:backdrop),
notebook>header.bottom>tabs>tab.reorderable-page:hover:not(:backdrop),
notebook>header.left>tabs>tab:hover:not(:backdrop),
notebook>header.left>tabs>tab.reorderable-page:hover:not(:backdrop),
notebook>header.right>tabs>tab:hover:not(:backdrop),
notebook>header.right>tabs>tab.reorderable-page:hover:not(:backdrop) {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: linear-gradient(to top, #20232b, #333b52 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

notebook>header.top>tabs>tab:checked,
notebook>header.top>tabs>tab.reorderable-page:checked,
notebook>header.bottom>tabs>tab:checked,
notebook>header.bottom>tabs>tab.reorderable-page:checked,
notebook>header.left>tabs>tab:checked,
notebook>header.left>tabs>tab.reorderable-page:checked,
notebook>header.right>tabs>tab:checked,
notebook>header.right>tabs>tab.reorderable-page:checked {
  color: #eeeeec;
  outline-color: rgba(238, 238, 236, 0.3);
  border-color: #0d0e11;
  border-bottom-color: black;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(13, 14, 17, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

notebook>header.top>tabs>tab:checked:backdrop,
notebook>header.top>tabs>tab.reorderable-page:checked:backdrop,
notebook>header.bottom>tabs>tab:checked:backdrop,
notebook>header.bottom>tabs>tab.reorderable-page:checked:backdrop,
notebook>header.left>tabs>tab:checked:backdrop,
notebook>header.left>tabs>tab.reorderable-page:checked:backdrop,
notebook>header.right>tabs>tab:checked:backdrop,
notebook>header.right>tabs>tab.reorderable-page:checked:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

notebook>header.top {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) calc(100% - 2px), rgba(0, 0, 0, 0.05) calc(100% - 1px), rgba(0, 0, 0, 0.15));
}

notebook>header.bottom {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) calc(100% - 2px), rgba(0, 0, 0, 0.05) calc(100% - 1px), rgba(0, 0, 0, 0.15));
}

notebook>header.right {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) calc(100% - 2px), rgba(0, 0, 0, 0.05) calc(100% - 1px), rgba(0, 0, 0, 0.15));
}

notebook>header.left {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) calc(100% - 2px), rgba(0, 0, 0, 0.05) calc(100% - 1px), rgba(0, 0, 0, 0.15));
}

notebook>header tab {
  border-radius: 4px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 24px;
}

notebook>header tab button.flat {
  margin-top: 1px;
  margin-bottom: 1px;
}

/**************
 * Scrollbars *
 **************/
scrollbar slider {
  min-width: 6px;
  min-height: 6px;
}

/**************
 * GtkInfoBar *
 **************/
infobar,
infobar.info,
infobar.question,
infobar.warning,
infobar.error {
  border-style: none;
  text-shadow: none;
}

infobar:backdrop>revealer>box label,
infobar:backdrop>revealer>box,
infobar>revealer>box label,
infobar>revealer>box,
infobar.info:backdrop>revealer>box label,
infobar.info:backdrop>revealer>box,
infobar.info>revealer>box label,
infobar.info>revealer>box,
infobar.question:backdrop>revealer>box label,
infobar.question:backdrop>revealer>box,
infobar.question>revealer>box label,
infobar.question>revealer>box,
infobar.warning:backdrop>revealer>box label,
infobar.warning:backdrop>revealer>box,
infobar.warning>revealer>box label,
infobar.warning>revealer>box,
infobar.error:backdrop>revealer>box label,
infobar.error:backdrop>revealer>box,
infobar.error>revealer>box label,
infobar.error>revealer>box {
  color: #ffffff;
}

infobar:backdrop,
infobar.info:backdrop,
infobar.question:backdrop,
infobar.warning:backdrop,
infobar.error:backdrop {
  text-shadow: none;
}

infobar selection,
infobar.info selection,
infobar.question selection,
infobar.warning selection,
infobar.error selection {
  background-color: #0d0e11;
}

infobar *:link,
infobar.info *:link,
infobar.question *:link,
infobar.warning *:link,
infobar.error *:link {
  color: #8db7ff;
}

infobar.info:backdrop>revealer>box,
infobar.info>revealer>box,
infobar.info.action:hover:backdrop>revealer>box,
infobar.info.action:hover>revealer>box {
  background-color: #2777ff;
}

infobar.info button,
infobar.info button.flat,
infobar.info.action:hover button,
infobar.info.action:hover button.flat {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #186dff;
  border-bottom-color: #0054e4;
  background-image: image(#4b8dff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.info button:hover,
infobar.info button.flat:hover,
infobar.info.action:hover button:hover,
infobar.info.action:hover button.flat:hover {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  border-bottom-color: #0047c0;
  background-image: linear-gradient(to top, #2274ff, #2c7aff 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px 0px rgba(0, 90, 243, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.info button:active,
infobar.info button:checked,
infobar.info button.flat:active,
infobar.info button.flat:checked,
infobar.info.action:hover button:active,
infobar.info.action:hover button:checked,
infobar.info.action:hover button.flat:active,
infobar.info.action:hover button.flat:checked {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #005af3;
  background-image: image(#005cf8);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

infobar.info button:disabled,
infobar.info button.flat:disabled,
infobar.info.action:hover button:disabled,
infobar.info.action:hover button.flat:disabled {
  color: #93b5f0;
  border-color: #005af3;
  background-image: image(#276be1);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

infobar.info button:backdrop,
infobar.info button.flat:backdrop,
infobar.info.action:hover button:backdrop,
infobar.info.action:hover button.flat:backdrop {
  color: #d4e4ff;
  border-color: #005af3;
  background-image: image(#2777ff);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #005af3;
}

infobar.info button:backdrop:disabled,
infobar.info button.flat:backdrop:disabled,
infobar.info.action:hover button:backdrop:disabled,
infobar.info.action:hover button.flat:backdrop:disabled {
  color: #739fec;
  border-color: #005af3;
  background-image: image(#276be1);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #005af3;
}

infobar.info button:backdrop label,
infobar.info button:backdrop,
infobar.info button label,
infobar.info button,
infobar.info button.flat:backdrop label,
infobar.info button.flat:backdrop,
infobar.info button.flat label,
infobar.info button.flat,
infobar.info.action:hover button:backdrop label,
infobar.info.action:hover button:backdrop,
infobar.info.action:hover button label,
infobar.info.action:hover button,
infobar.info.action:hover button.flat:backdrop label,
infobar.info.action:hover button.flat:backdrop,
infobar.info.action:hover button.flat label,
infobar.info.action:hover button.flat {
  color: #ffffff;
}

infobar.question:backdrop>revealer>box,
infobar.question>revealer>box,
infobar.warning:backdrop>revealer>box,
infobar.warning>revealer>box,
infobar.question.action:hover:backdrop>revealer>box,
infobar.question.action:hover>revealer>box,
infobar.warning.action:hover:backdrop>revealer>box,
infobar.warning.action:hover>revealer>box {
  background-color: #fd7d00;
}

infobar.question button,
infobar.question button.flat,
infobar.warning button,
infobar.warning button.flat,
infobar.question.action:hover button,
infobar.question.action:hover button.flat,
infobar.warning.action:hover button,
infobar.warning.action:hover button.flat {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #ee7500;
  border-bottom-color: #bb5c00;
  background-image: image(#ff8f22);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px 0px rgba(202, 100, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.question button:hover,
infobar.question button.flat:hover,
infobar.warning button:hover,
infobar.warning button.flat:hover,
infobar.question.action:hover button:hover,
infobar.question.action:hover button.flat:hover,
infobar.warning.action:hover button:hover,
infobar.warning.action:hover button.flat:hover {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #ca6400;
  border-bottom-color: #974b00;
  background-image: linear-gradient(to top, #f87a00, #ff8003 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px 0px rgba(202, 100, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.question button:active,
infobar.question button:checked,
infobar.question button.flat:active,
infobar.question button.flat:checked,
infobar.warning button:active,
infobar.warning button:checked,
infobar.warning button.flat:active,
infobar.warning button.flat:checked,
infobar.question.action:hover button:active,
infobar.question.action:hover button:checked,
infobar.question.action:hover button.flat:active,
infobar.question.action:hover button.flat:checked,
infobar.warning.action:hover button:active,
infobar.warning.action:hover button:checked,
infobar.warning.action:hover button.flat:active,
infobar.warning.action:hover button.flat:checked {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #ca6400;
  background-image: image(#cf6600);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

infobar.question button:disabled,
infobar.question button.flat:disabled,
infobar.warning button:disabled,
infobar.warning button.flat:disabled,
infobar.question.action:hover button:disabled,
infobar.question.action:hover button.flat:disabled,
infobar.warning.action:hover button:disabled,
infobar.warning.action:hover button.flat:disabled {
  color: #eeb884;
  border-color: #ca6400;
  background-image: image(#dd7108);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

infobar.question button:backdrop,
infobar.question button.flat:backdrop,
infobar.warning button:backdrop,
infobar.warning button.flat:backdrop,
infobar.question.action:hover button:backdrop,
infobar.question.action:hover button.flat:backdrop,
infobar.warning.action:hover button:backdrop,
infobar.warning.action:hover button.flat:backdrop {
  color: #ffe5cc;
  border-color: #ca6400;
  background-image: image(#fd7d00);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #ca6400;
}

infobar.question button:backdrop:disabled,
infobar.question button.flat:backdrop:disabled,
infobar.warning button:backdrop:disabled,
infobar.warning button.flat:backdrop:disabled,
infobar.question.action:hover button:backdrop:disabled,
infobar.question.action:hover button.flat:backdrop:disabled,
infobar.warning.action:hover button:backdrop:disabled,
infobar.warning.action:hover button.flat:backdrop:disabled {
  color: #e9a35e;
  border-color: #ca6400;
  background-image: image(#dd7108);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #ca6400;
}

infobar.question button:backdrop label,
infobar.question button:backdrop,
infobar.question button label,
infobar.question button,
infobar.question button.flat:backdrop label,
infobar.question button.flat:backdrop,
infobar.question button.flat label,
infobar.question button.flat,
infobar.warning button:backdrop label,
infobar.warning button:backdrop,
infobar.warning button label,
infobar.warning button,
infobar.warning button.flat:backdrop label,
infobar.warning button.flat:backdrop,
infobar.warning button.flat label,
infobar.warning button.flat,
infobar.question.action:hover button:backdrop label,
infobar.question.action:hover button:backdrop,
infobar.question.action:hover button label,
infobar.question.action:hover button,
infobar.question.action:hover button.flat:backdrop label,
infobar.question.action:hover button.flat:backdrop,
infobar.question.action:hover button.flat label,
infobar.question.action:hover button.flat,
infobar.warning.action:hover button:backdrop label,
infobar.warning.action:hover button:backdrop,
infobar.warning.action:hover button label,
infobar.warning.action:hover button,
infobar.warning.action:hover button.flat:backdrop label,
infobar.warning.action:hover button.flat:backdrop,
infobar.warning.action:hover button.flat label,
infobar.warning.action:hover button.flat {
  color: #ffffff;
}

infobar.error:backdrop>revealer>box,
infobar.error>revealer>box,
infobar.error.action:hover:backdrop>revealer>box,
infobar.error.action:hover>revealer>box {
  background-color: #bf1717;
}

infobar.error:backdrop>revealer>box button,
infobar.error:backdrop>revealer>box button.flat,
infobar.error>revealer>box button,
infobar.error>revealer>box button.flat,
infobar.error.action:hover:backdrop>revealer>box button,
infobar.error.action:hover:backdrop>revealer>box button.flat,
infobar.error.action:hover>revealer>box button,
infobar.error.action:hover>revealer>box button.flat {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #b11515;
  border-bottom-color: #841010;
  background-image: image(#df1b1b);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px 0px rgba(145, 18, 18, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.error:backdrop>revealer>box button:hover,
infobar.error:backdrop>revealer>box button.flat:hover,
infobar.error>revealer>box button:hover,
infobar.error>revealer>box button.flat:hover,
infobar.error.action:hover:backdrop>revealer>box button:hover,
infobar.error.action:hover:backdrop>revealer>box button.flat:hover,
infobar.error.action:hover>revealer>box button:hover,
infobar.error.action:hover>revealer>box button.flat:hover {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #911212;
  border-bottom-color: #640c0c;
  background-image: linear-gradient(to top, #ba1616, #c41818 1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(145, 18, 18, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

infobar.error:backdrop>revealer>box button:active,
infobar.error:backdrop>revealer>box button:checked,
infobar.error:backdrop>revealer>box button.flat:active,
infobar.error:backdrop>revealer>box button.flat:checked,
infobar.error>revealer>box button:active,
infobar.error>revealer>box button:checked,
infobar.error>revealer>box button.flat:active,
infobar.error>revealer>box button.flat:checked,
infobar.error.action:hover:backdrop>revealer>box button:active,
infobar.error.action:hover:backdrop>revealer>box button:checked,
infobar.error.action:hover:backdrop>revealer>box button.flat:active,
infobar.error.action:hover:backdrop>revealer>box button.flat:checked,
infobar.error.action:hover>revealer>box button:active,
infobar.error.action:hover>revealer>box button:checked,
infobar.error.action:hover>revealer>box button.flat:active,
infobar.error.action:hover>revealer>box button.flat:checked {
  color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #911212;
  background-image: image(#961212);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
}

infobar.error:backdrop>revealer>box button:disabled,
infobar.error:backdrop>revealer>box button.flat:disabled,
infobar.error>revealer>box button:disabled,
infobar.error>revealer>box button.flat:disabled,
infobar.error.action:hover:backdrop>revealer>box button:disabled,
infobar.error.action:hover:backdrop>revealer>box button.flat:disabled,
infobar.error.action:hover>revealer>box button:disabled,
infobar.error.action:hover>revealer>box button.flat:disabled {
  color: #d48d8d;
  border-color: #911212;
  background-image: image(#a81a1b);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
}

infobar.error:backdrop>revealer>box button:backdrop,
infobar.error:backdrop>revealer>box button.flat:backdrop,
infobar.error>revealer>box button:backdrop,
infobar.error>revealer>box button.flat:backdrop,
infobar.error.action:hover:backdrop>revealer>box button:backdrop,
infobar.error.action:hover:backdrop>revealer>box button.flat:backdrop,
infobar.error.action:hover>revealer>box button:backdrop,
infobar.error.action:hover>revealer>box button.flat:backdrop {
  color: #f2d1d1;
  border-color: #911212;
  background-image: image(#bf1717);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #911212;
}

infobar.error:backdrop>revealer>box button:backdrop:disabled,
infobar.error:backdrop>revealer>box button.flat:backdrop:disabled,
infobar.error>revealer>box button:backdrop:disabled,
infobar.error>revealer>box button.flat:backdrop:disabled,
infobar.error.action:hover:backdrop>revealer>box button:backdrop:disabled,
infobar.error.action:hover:backdrop>revealer>box button.flat:backdrop:disabled,
infobar.error.action:hover>revealer>box button:backdrop:disabled,
infobar.error.action:hover>revealer>box button.flat:backdrop:disabled {
  color: #c66a6b;
  border-color: #911212;
  background-image: image(#a81a1b);
  text-shadow: none;
  -gtk-icon-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
  border-color: #911212;
}

infobar.error:backdrop>revealer>box button:backdrop label,
infobar.error:backdrop>revealer>box button:backdrop,
infobar.error:backdrop>revealer>box button label,
infobar.error:backdrop>revealer>box button,
infobar.error:backdrop>revealer>box button.flat:backdrop label,
infobar.error:backdrop>revealer>box button.flat:backdrop,
infobar.error:backdrop>revealer>box button.flat label,
infobar.error:backdrop>revealer>box button.flat,
infobar.error>revealer>box button:backdrop label,
infobar.error>revealer>box button:backdrop,
infobar.error>revealer>box button label,
infobar.error>revealer>box button,
infobar.error>revealer>box button.flat:backdrop label,
infobar.error>revealer>box button.flat:backdrop,
infobar.error>revealer>box button.flat label,
infobar.error>revealer>box button.flat,
infobar.error.action:hover:backdrop>revealer>box button:backdrop label,
infobar.error.action:hover:backdrop>revealer>box button:backdrop,
infobar.error.action:hover:backdrop>revealer>box button label,
infobar.error.action:hover:backdrop>revealer>box button,
infobar.error.action:hover:backdrop>revealer>box button.flat:backdrop label,
infobar.error.action:hover:backdrop>revealer>box button.flat:backdrop,
infobar.error.action:hover:backdrop>revealer>box button.flat label,
infobar.error.action:hover:backdrop>revealer>box button.flat,
infobar.error.action:hover>revealer>box button:backdrop label,
infobar.error.action:hover>revealer>box button:backdrop,
infobar.error.action:hover>revealer>box button label,
infobar.error.action:hover>revealer>box button,
infobar.error.action:hover>revealer>box button.flat:backdrop label,
infobar.error.action:hover>revealer>box button.flat:backdrop,
infobar.error.action:hover>revealer>box button.flat label,
infobar.error.action:hover>revealer>box button.flat {
  color: #ffffff;
}

/*********
 * Lists *
 *********/
row:selected,
row:selected:backdrop,
row:selected:active,
row.activatable:selected,
row.activatable:selected:backdrop,
row.activatable:selected:active {
  border-radius: 8px;
  background-color: #16162e;
  color: white;
  box-shadow: inset 0 0 0 9999px #3b3e46, inset 0 0 0 3px #262643;
}

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 5px 10px;
  margin: 20px;
  border-radius: 5px;
  border: 1px solid rgba(13, 14, 17, 0.65);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  background-image: none;
}

.app-notification:backdrop,
.app-notification.frame:backdrop {
  box-shadow: none;
}

/************
 * Calendar *
 ***********/
calendar {
  border-radius: 6px;
  border: 0;
  padding: 1px;
}

/***********
 * Dialogs *
 ***********/
messagedialog .titlebar:backdrop {
  background-image: none;
}

/***********
 * Sidebar *
 ***********/
.sidebar {
  background-color: #16162e;
}

stacksidebar row {
  padding: 7px 3px;
}

/****************
 * File chooser *
 ****************/
placessidebar row {
  min-height: 30px;
}

/**********************
 * Window Decorations *
 *********************/
decoration {
  border-radius: 8px 8px 5px 5px;
  border: 1px solid #262643;
  border-bottom-width: 2px;
  background: #16162e;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(13, 14, 17, 0.75);
}

decoration:backdrop {
  box-shadow: 0 2px 8px 0 transparent, 0 0 5px 3px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.75);
}

.maximized decoration,
.fullscreen decoration,
.tiled decoration,
.tiled-top decoration,
.tiled-right decoration,
.tiled-bottom decoration,
.tiled-left decoration {
  border-width: 0;
}

.popup decoration {
  border-width: 0;
}

.ssd decoration {
  box-shadow: 0 0 0 1px rgba(13, 14, 17, 0.75);
  border-width: 0;
}

.csd.popup decoration {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(13, 14, 17, 0.65);
  border-width: 0;
}

tooltip.csd decoration {
  border: 0;
}

messagedialog.csd decoration {
  border-width: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Nautilus */
@define-color disk_space_unknown #383c4a;
@define-color disk_space_used #2777ff;
@define-color disk_space_free white;

filechooser placessidebar.sidebar:dir(ltr),
.nautilus-window placessidebar.sidebar:dir(ltr) {
  background-image: linear-gradient(to right, #1a1c23 41px, #16162e 0);
}

filechooser placessidebar.sidebar:dir(rtl),
.nautilus-window placessidebar.sidebar:dir(rtl) {
  background-image: linear-gradient(to left, #1a1c23 41px, #16162e 0);
}

filechooser placessidebar.sidebar:backdrop,
.nautilus-window placessidebar.sidebar:backdrop {
  background-image: none;
}

filechooser placessidebar.sidebar row.sidebar-row:selected,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected {
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(39, 119, 255, 0.5);
  transition: box-shadow 200ms ease-out;
  background-color: #2777ff;
}

filechooser placessidebar.sidebar row.sidebar-row:selected:dir(ltr),
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:dir(ltr) {
  background-image: linear-gradient(to right, #005af3 35px, transparent 0);
}

filechooser placessidebar.sidebar row.sidebar-row:selected:dir(rtl),
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:dir(rtl) {
  background-image: linear-gradient(to left, #005af3 35px, transparent 0);
}

filechooser placessidebar.sidebar row.sidebar-row:selected revealer,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected revealer {
  padding-left: 8px;
  padding-right: 8px;
}

filechooser placessidebar.sidebar row.sidebar-row:selected revealer .sidebar-icon,
filechooser placessidebar.sidebar row.sidebar-row:selected revealer .sidebar-label,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected revealer .sidebar-icon,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected revealer .sidebar-label {
  color: #ffffff;
}

filechooser placessidebar.sidebar row.sidebar-row:selected:backdrop,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:backdrop {
  box-shadow: none;
  background-image: none;
}

filechooser placessidebar.sidebar row.sidebar-row:selected:backdrop,
filechooser placessidebar.sidebar row.sidebar-row:selected:backdrop .sidebar-icon,
filechooser placessidebar.sidebar row.sidebar-row:selected:backdrop .sidebar-label,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:backdrop,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:backdrop .sidebar-icon,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:backdrop .sidebar-label {
  color: #b1c2df;
}

filechooser placessidebar.sidebar row.sidebar-row .sidebar-icon,
.nautilus-window placessidebar.sidebar row.sidebar-row .sidebar-icon {
  padding-right: 20px;
}

.nautilus-window .floating-bar {
  color: #ffffff;
  background-color: #2777ff;
  border-color: #00348d;
  margin: 10px;
  box-shadow: 0 1px 4px rgba(39, 119, 255, 0.5);
  transition: background-color 200ms ease-out;
}

.nautilus-window .floating-bar:backdrop {
  color: inherit;
  box-shadow: none;
  border-color: #0d0e11;
}

.nautilus-window .floating-bar.bottom.left,
.nautilus-window .floating-bar.bottom.right {
  border-radius: 4px;
  border-style: solid;
}

.path-bar-box:backdrop {
  border-color: #0d0e11;
}

box.nautilus-path-bar>scrolledwindow {
  background-color: #262643;
}

box.nautilus-path-bar>button {
  box-shadow: none;
}

/* GNOME TERMINAL */
terminal-window notebook scrollbar,
.mate-terminal notebook scrollbar {
  background: #262643;
}

/* GNOME TWEAKS */
list.tweak-categories separator {
  background: transparent;
}

/* XFCE4 PANEL */
.xfce4-panel.background {
  background: rgba(35, 37, 46, 0.8);
}

.xfce4-panel button {
  border: 0;
  border-radius: 0;
  min-width: 30px;
  box-shadow: none;
  text-shadow: none;
  background: transparent;
  color: #eeeeec;
}

.xfce4-panel button:hover {
  background: rgba(0, 0, 0, 0.2);
}

.xfce4-panel button:not(#whiskermenu-button):checked,
.xfce4-panel button:not(#whiskermenu-button):active {
  box-shadow: inset 0 -2px 0 #2777ff;
  background: rgba(0, 0, 0, 0.2);
}

.xfce4-panel.vertical button:not(#whiskermenu-button):checked,
.xfce4-panel.vertical button:not(#whiskermenu-button):active {
  box-shadow: inset 2px 0 0 #2777ff;
}

/* XFCE4 NOTIFICATIONS & LOGOUT DIALOG */
#XfceNotifyWindow,
.xfsm-logout-dialog,
.xfsm-logout-dialog button {
  border: 1px solid #0d0e11;
  border-bottom-width: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  -gtk-icon-style: symbolic;
}

.xfsm-logout-dialog>.vertical>.horizontal button {
  margin: 8px;
}

#whiskermenu-window entry {
  border-radius: 100px;
  border: 2px solid #2777ff;
  box-shadow: none;
}

#whiskermenu-window button {
  transition-duration: 0s;
}

#whiskermenu-window button:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: transparent;
  border-bottom-color: #1c1e25;
}

#whiskermenu-window button:checked {
  border-color: transparent;
}

#whiskermenu-window scrolledwindow.frame {
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 7px 10px;
  margin: 0 5px;
}

#whiskermenu-window scrolledwindow.frame,
#whiskermenu-window scrolledwindow.frame iconview:not(:hover):not(:focus) {
  background: #1c1e25;
}

#whiskermenu-window scrolledwindow.frame treeview {
  background: transparent;
  border-radius: 4px;
}

#whiskermenu-window scrolledwindow.frame treeview:hover,
#whiskermenu-window scrolledwindow.frame treeview:active,
#whiskermenu-window scrolledwindow.frame treeview:selected {
  background-color: rgba(0, 0, 0, 0.27);
  color: inherit;
}

/* XFCE4 panel action */
#XfcePanelWindowWrapper>widget>box>#xfce-panel-button>image {
  -gtk-icon-style: symbolic;
  -gtk-icon-transform: scale(0.7);
}

/* XFCE4 workspace switcher */
wnck-pager {
  background-color: #3d4251;
}

wnck-pager:selected {
  background-color: black;
}

wnck-pager:hover {
  background-color: black;
}

/* LightDM */
.lightdm-gtk-greeter #panel_window {
  background: rgba(35, 37, 46, 0.8);
  color: #eeeeec;
  text-shadow: none;
  -gtk-icon-shadow: none;
}

.lightdm-gtk-greeter #login_window {
  border: 0;
  background-color: rgba(35, 37, 46, 0.8);
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
}

.lightdm-gtk-greeter #login_window entry {
  background: rgba(35, 37, 46, 0.4);
  border-color: rgba(35, 37, 46, 0.3);
  min-height: 32px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.lightdm-gtk-greeter #login_window entry image {
  margin: 0;
}

.lightdm-gtk-greeter #login_window #buttonbox_frame {
  padding-top: 20px;
  background: #16162e;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.27);
}

.lightdm-gtk-greeter #login_window #buttonbox_frame button {
  border: 0;
  color: #ffffff;
  text-shadow: none;
}

.lightdm-gtk-greeter #login_window #buttonbox_frame #cancel_button {
  background: rgba(0, 0, 0, 0.27);
  box-shadow: none;
  color: #eeeeec;
}

.lightdm-gtk-greeter #login_window #buttonbox_frame #login_button {
  background: #2777ff;
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2);
}

/* XFCE4 desktop */
XfdesktopIconView.view {
  background-color: transparent;
  color: white;
  text-shadow: 0 1px 3px black;
}

XfdesktopIconView.view:active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  text-shadow: 0 1px 3px black;
}

/* Thunar */
.thunar .warning {
  margin: -7px 0;
}

.budgie-container {
  background-color: transparent;
}

*:drop(active):focus,
*:drop(active) {
  box-shadow: inset 0 0 0 1px #2777ff;
}

.budgie-panel {
  background-color: #262643;
  color: white;
  font-weight: normal;
}

.budgie-panel image {
  -gtk-icon-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.budgie-panel label {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.budgie-panel .alert {
  color: #2777ff;
}

.budgie-panel:backdrop {
  color: white;
  background-color: rgba(39, 42, 52, 0.8);
}

.budgie-panel.transparent {
  background-color: rgba(39, 42, 52, 0.8);
  color: white;
}

.budgie-panel button {
  min-height: 16px;
  min-width: 16px;
  padding: 0;
  border-radius: 0;
}

.budgie-panel.horizontal button {
  padding: 0 4px;
}

.budgie-panel.vertical button {
  padding: 4px 0;
}

.budgie-panel separator {
  background-color: rgba(238, 238, 236, 0.4);
}

.budgie-panel.vertical #tasklist-button {
  min-height: 32px;
}

.budgie-panel .end-region {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0px;
}

.budgie-panel .end-region separator {
  background-color: rgba(255, 255, 255, 0.15);
}

.budgie-panel .end-region label {
  font-weight: 700;
  color: white;
}

.budgie-panel button.flat.launcher {
  padding: 0;
  border-radius: 0;
  border: none;
  background-image: radial-gradient(circle farthest-corner at center, alpha(#eeeeec, 0) 100%, transparent 0%), image(alpha(#eeeeec, 0));
  background-position: center center;
}

.budgie-panel button.flat.launcher>image {
  opacity: 0.87;
}

.budgie-panel button.flat.launcher:hover {
  -gtk-icon-effect: highlight;
}

.budgie-panel button.flat.launcher:hover>image {
  opacity: 1.0;
}

.budgie-panel button.flat.launcher:active>image {
  opacity: 1.0;
}

.budgie-panel button.flat.launcher:checked {
  background-color: transparent;
}

.budgie-panel button.flat.launcher:checked:hover {
  -gtk-icon-effect: highlight;
}

.budgie-panel button.flat.launcher:checked>image {
  opacity: 1.0;
}

.budgie-panel .unpinned button.flat.launcher:hover,
.budgie-panel .pinned button.flat.launcher.running:hover {
  -gtk-icon-effect: highlight;
}

.budgie-panel .unpinned button.flat.launcher>image,
.budgie-panel .pinned button.flat.launcher.running>image {
  background-size: 2px 2px;
  background-repeat: no-repeat;
  opacity: 1.0;
}

.budgie-panel .unpinned button.flat.launcher:hover>image,
.budgie-panel .unpinned button.flat.launcher:active>image,
.budgie-panel .unpinned button.flat.launcher:checked>image,
.budgie-panel .pinned button.flat.launcher.running:hover>image,
.budgie-panel .pinned button.flat.launcher.running:active>image,
.budgie-panel .pinned button.flat.launcher.running:checked>image {
  background-image: none;
}

.top .budgie-panel button#tasklist-button:hover,
.top .budgie-panel button.flat.launcher:hover {
  box-shadow: inset 0 2px alpha(#eeeeec, 0.4);
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

.top .budgie-panel button#tasklist-button:active,
.top .budgie-panel button#tasklist-button:checked,
.top .budgie-panel button.flat.launcher:active,
.top .budgie-panel button.flat.launcher:checked {
  box-shadow: inset 0 2px #2777ff;
}

.top .budgie-panel .unpinned button.flat.launcher>image,
.top .budgie-panel .pinned button.flat.launcher.running>image {
  background-image: image(#2777ff);
  background-position: top center;
}

.top .budgie-panel .unpinned button.flat.launcher:hover,
.top .budgie-panel .unpinned button.flat.launcher:active,
.top .budgie-panel .unpinned button.flat.launcher:checked,
.top .budgie-panel .pinned button.flat.launcher.running:hover,
.top .budgie-panel .pinned button.flat.launcher.running:active,
.top .budgie-panel .pinned button.flat.launcher.running:checked {
  box-shadow: inset 0 2px #2777ff;
}

.bottom .budgie-panel button#tasklist-button:hover,
.bottom .budgie-panel button.flat.launcher:hover {
  box-shadow: inset 0 -2px alpha(#eeeeec, 0.4);
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

.bottom .budgie-panel button#tasklist-button:active,
.bottom .budgie-panel button#tasklist-button:checked,
.bottom .budgie-panel button.flat.launcher:active,
.bottom .budgie-panel button.flat.launcher:checked {
  box-shadow: inset 0 -2px #2777ff;
}

.bottom .budgie-panel .unpinned button.flat.launcher>image,
.bottom .budgie-panel .pinned button.flat.launcher.running>image {
  background-image: image(#2777ff);
  background-position: bottom center;
}

.bottom .budgie-panel .unpinned button.flat.launcher:hover,
.bottom .budgie-panel .unpinned button.flat.launcher:active,
.bottom .budgie-panel .unpinned button.flat.launcher:checked,
.bottom .budgie-panel .pinned button.flat.launcher.running:hover,
.bottom .budgie-panel .pinned button.flat.launcher.running:active,
.bottom .budgie-panel .pinned button.flat.launcher.running:checked {
  box-shadow: inset 0 -2px #2777ff;
}

.left .budgie-panel button#tasklist-button:hover,
.left .budgie-panel button.flat.launcher:hover {
  box-shadow: inset 2px 0 alpha(#eeeeec, 0.4);
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

.left .budgie-panel button#tasklist-button:active,
.left .budgie-panel button#tasklist-button:checked,
.left .budgie-panel button.flat.launcher:active,
.left .budgie-panel button.flat.launcher:checked {
  box-shadow: inset 2px 0 #2777ff;
}

.left .budgie-panel .unpinned button.flat.launcher>image,
.left .budgie-panel .pinned button.flat.launcher.running>image {
  background-image: image(#2777ff);
  background-position: left center;
}

.left .budgie-panel .unpinned button.flat.launcher:hover,
.left .budgie-panel .unpinned button.flat.launcher:active,
.left .budgie-panel .unpinned button.flat.launcher:checked,
.left .budgie-panel .pinned button.flat.launcher.running:hover,
.left .budgie-panel .pinned button.flat.launcher.running:active,
.left .budgie-panel .pinned button.flat.launcher.running:checked {
  box-shadow: inset 2px 0 #2777ff;
}

.right .budgie-panel button#tasklist-button:hover,
.right .budgie-panel button.flat.launcher:hover {
  box-shadow: inset -2px 0 alpha(#eeeeec, 0.4);
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

.right .budgie-panel button#tasklist-button:active,
.right .budgie-panel button#tasklist-button:checked,
.right .budgie-panel button.flat.launcher:active,
.right .budgie-panel button.flat.launcher:checked {
  box-shadow: inset -2px 0 #2777ff;
}

.right .budgie-panel .unpinned button.flat.launcher>image,
.right .budgie-panel .pinned button.flat.launcher.running>image {
  background-image: image(#2777ff);
  background-position: right center;
}

.right .budgie-panel .unpinned button.flat.launcher:hover,
.right .budgie-panel .unpinned button.flat.launcher:active,
.right .budgie-panel .unpinned button.flat.launcher:checked,
.right .budgie-panel .pinned button.flat.launcher.running:hover,
.right .budgie-panel .pinned button.flat.launcher.running:active,
.right .budgie-panel .pinned button.flat.launcher.running:checked {
  box-shadow: inset -2px 0 #2777ff;
}

.top .shadow-block {
  background-color: transparent;
  background-image: linear-gradient(to bottom, alpha(#000000, 0.23), alpha(#000000, 0.08), transparent);
}

.bottom .shadow-block {
  background-color: transparent;
  background-image: linear-gradient(to top, alpha(#000000, 0.23), alpha(#000000, 0.08), transparent);
}

.left .shadow-block {
  background-color: transparent;
  background-image: linear-gradient(to right, alpha(#000000, 0.23), alpha(#000000, 0.08), transparent);
}

.right .shadow-block {
  background-color: transparent;
  background-image: linear-gradient(to left, alpha(#000000, 0.23), alpha(#000000, 0.08), transparent);
}

.budgie-popover {
  border-style: none;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.28);
  border-radius: 6px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.28);
  background-color: #16162e;
}

.budgie-popover .container {
  padding: 2px;
}

.budgie-popover border {
  border: none;
}

.budgie-popover list {
  background-color: transparent;
}

.budgie-popover row {
  padding: 0;
}

.budgie-popover row:hover {
  box-shadow: none;
}

.budgie-popover:not(.budgie-menu) button.flat:not(.image-button) {
  min-height: 28px;
  padding: 0 8px;
  color: #eeeeec;
  font-weight: normal;
}

.budgie-popover:not(.budgie-menu) button.flat:not(.image-button):disabled {
  color: #888a8d;
}

.budgie-popover.budgie-menu .container {
  padding: 0;
}

.budgie-popover.user-menu .container {
  padding: 8px;
}

.budgie-popover.user-menu separator {
  margin: 4px 0;
}

.budgie-popover.sound-popover separator {
  margin: 3px 0;
}

.budgie-popover.night-light-indicator .container {
  padding: 8px;
}

.budgie-popover.places-menu .container {
  padding: 8px;
}

.budgie-popover.places-menu .places-list:not(.always-expand) {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #0d0e11;
}

.budgie-popover.places-menu .alternative-label {
  padding: 3px;
  font-size: 15px;
}

.budgie-popover.workspace-popover .container {
  padding: 2px 8px 8px;
}

.budgie-popover.workspace-popover separator {
  margin: 4px 0;
}

.budgie-popover.workspace-popover flowboxchild {
  padding: 0;
}

.workspace-switcher .workspace-layout {
  border: 0 solid rgba(35, 37, 46, 0.8);
}

.top .workspace-switcher .workspace-layout:dir(ltr),
.bottom .workspace-switcher .workspace-layout:dir(ltr) {
  border-left-width: 1px;
}

.top .workspace-switcher .workspace-layout:dir(rtl),
.bottom .workspace-switcher .workspace-layout:dir(rtl) {
  border-right-width: 1px;
}

.left .workspace-switcher .workspace-layout,
.right .workspace-switcher .workspace-layout {
  border-top-width: 1px;
}

.workspace-switcher .workspace-item,
.workspace-switcher .workspace-add-button {
  border: 0 solid rgba(24, 26, 32, 0.8);
}

.top .workspace-switcher .workspace-item:dir(ltr),
.bottom .workspace-switcher .workspace-item:dir(ltr),
.top .workspace-switcher .workspace-add-button:dir(ltr),
.bottom .workspace-switcher .workspace-add-button:dir(ltr) {
  border-right-width: 1px;
}

.top .workspace-switcher .workspace-item:dir(rtl),
.bottom .workspace-switcher .workspace-item:dir(rtl),
.top .workspace-switcher .workspace-add-button:dir(rtl),
.bottom .workspace-switcher .workspace-add-button:dir(rtl) {
  border-left-width: 1px;
}

.left .workspace-switcher .workspace-item,
.right .workspace-switcher .workspace-item,
.left .workspace-switcher .workspace-add-button,
.right .workspace-switcher .workspace-add-button {
  border-bottom-width: 1px;
}

.workspace-switcher .workspace-item.current-workspace {
  background-color: rgba(24, 26, 32, 0.8);
}

.workspace-switcher .workspace-add-button:hover {
  box-shadow: none;
}

.workspace-switcher .workspace-add-button:active {
  background-image: none;
}

.workspace-switcher .workspace-add-button:active image {
  margin: 1px 0 -1px;
}

.budgie-panel .workspace-switcher .workspace-icon-button {
  min-height: 24px;
  min-width: 24px;
  padding: 0;
  border-radius: 6px;
}

.budgie-menu.background {
  padding: 0;
  background-color: #262643;
}

.budgie-menu scrollbar,
.budgie-menu entry.search {
  background-color: transparent;
}

.budgie-menu entry.search {
  border-style: none;
  border-bottom: 1px solid #0d0e11;
  border-radius: 999px;
  box-shadow: none;
  font-size: 120%;
  padding-top: 6px;
  padding-bottom: 6px;
}

.budgie-menu button {
  min-height: 32px;
  padding: 0 8px;
  border-radius: 0;
  color: #eeeeec;
  font-weight: normal;
}

.budgie-menu row {
  padding: 0;
}

.budgie-menu row:hover {
  box-shadow: none;
}

button.budgie-menu-launcher {
  color: white;
  border: none;
}

button.budgie-menu-launcher:hover {
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

popover.background.user-menu {
  padding: 8px;
}

popover.background.user-menu .content-box {
  background-color: transparent;
}

popover.background.user-menu separator {
  margin: 4px 0;
}

popover.background.user-menu row {
  padding: 0;
  box-shadow: none;
  background-image: none;
}

button.raven-trigger {
  color: white;
  border: none;
}

button.raven-trigger:hover {
  background-color: rgba(238, 238, 236, 0.4);
  border: none;
}

popover.background.places-menu {
  padding: 8px;
}

popover.background.places-menu .name-button.text-button {
  padding-left: 8px;
  padding-right: 8px;
}

popover.background.places-menu .name-button.text-button image:dir(ltr) {
  margin-right: 3px;
}

popover.background.places-menu .name-button.text-button image:dir(rtl) {
  margin-left: 3px;
}

popover.background.places-menu .places-section-header>image:dir(ltr) {
  margin: 0 -2px 0 5px;
}

popover.background.places-menu .places-section-header>image:dir(rtl) {
  margin: 0 5px 0 -2px;
}

popover.background.places-menu .places-list {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #0d0e11;
  background-color: transparent;
}

popover.background.places-menu row {
  padding: 0;
  box-shadow: none;
  background-image: none;
}

frame.raven-frame>border {
  border-style: none;
  box-shadow: none;
}

.raven {
  background-color: #16162e;
  color: #eeeeec;
  padding: 6px 0 0 0;
  border: none;
}

.raven .raven-header {
  min-height: 32px;
  padding: 3px;
}

.raven .raven-header.top {
  padding: 2px 0;
  background-color: #16162e;
  color: #eeeeec;
}

.raven .raven-header.top stackswitcher button {
  margin: -6px 0;
  min-height: 32px;
}

.raven .raven-header.bottom {
  border-top: 1px solid #0d0e11;
}

.raven viewport.frame .raven-header {
  margin-top: -8px;
}

.raven .raven-background {
  border-style: solid none;
  border-width: 1px;
  border-color: #0d0e11;
  background-color: #262643;
}

.raven scrolledwindow.raven-background {
  border-bottom-style: none;
}

.raven .powerstrip button {
  margin: 2px 0 1px;
  padding: 10px;
}

.raven .option-subtitle {
  font-size: smaller;
}

calendar.raven-calendar {
  border-style: none;
  background-color: transparent;
}

calendar.raven-calendar:selected {
  border-radius: 6px;
  background-color: #16162e;
}

.raven-mpris {
  background-color: rgba(35, 37, 46, 0.8);
  color: #eeeeec;
}

.raven-mpris label {
  min-height: 24px;
}

.budgie-notification-window,
.budgie-osd-window {
  background-color: transparent;
  color: white;
  border-radius: 6px;
}

.budgie-notification-window .drop-shadow,
.budgie-osd-window .drop-shadow {
  background-color: #303340;
}

.budgie-notification,
.budgie-switcher,
.budgie-switcher-window,
.budgie-osd {
  background-color: #303340;
  color: white;
}

.budgie-notification .notification-title,
.budgie-switcher .notification-title,
.budgie-switcher-window .notification-title,
.budgie-osd .notification-title {
  font-size: 110%;
  color: white;
}

.budgie-notification .notification-body,
.budgie-switcher .notification-body,
.budgie-switcher-window .notification-body,
.budgie-osd .notification-body {
  color: white;
}

.budgie-osd .budgie-osd-text {
  font-size: 120%;
}

.budgie-switcher-window .drop-shadow {
  margin: 8px 8px 16px;
  border-radius: 6px;
  background-color: #303340;
  box-shadow: rgba(0, 0, 0, 0.28);
}

.budgie-switcher-window .drop-shadow label.budgie-switcher-title {
  color: white;
}

.budgie-switcher-window .drop-shadow label.budgie-switcher-title:dir(ltr) {
  padding: 0 0 0 6px;
}

.budgie-switcher-window .drop-shadow label.budgie-switcher-title:dir(rtl) {
  padding: 0 6px 0 0;
}

.drop-shadow {
  margin: 5px 9px;
  padding: 3px;
  border-radius: 2px;
  box-shadow: none;
  background-color: #16162e;
}

.budgie-run-dialog,
.budgie-polkit-dialog,
.budgie-session-dialog {
  border-radius: 6px;
  background-color: #16162e;
}

.budgie-session-dialog label:not(:last-child),
.budgie-session-dialog .dialog-title {
  font-size: 120%;
}

.budgie-session-dialog .linked.horizontal>button {
  padding: 8px 16px;
  border-top: 1px solid #0d0e11;
  border-radius: 6px;
}

.budgie-session-dialog .linked.horizontal>button:first-child {
  border-bottom-left-radius: 2px;
}

.budgie-session-dialog .linked.horizontal>button:last-child {
  border-bottom-right-radius: 2px;
}

.budgie-polkit-dialog .message {
  color: #eeeeec;
}

.budgie-polkit-dialog .failure {
  color: #a61414;
}

.budgie-run-dialog {
  background-color: #262643;
  border-style: none;
}

.budgie-run-dialog entry.search {
  font-size: 120%;
  box-shadow: none;
  background-color: transparent;
  border-style: none;
  border-bottom: 1px solid #0d0e11;
  border-radius: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.budgie-run-dialog list .dim-label,
.budgie-run-dialog list label.separator,
.budgie-run-dialog list headerbar .subtitle,
headerbar .budgie-run-dialog list .subtitle,
.budgie-run-dialog list .titlebar:not(headerbar) .subtitle,
.titlebar:not(headerbar) .budgie-run-dialog list .subtitle,
.budgie-run-dialog list .budgie-notification .notification-body,
.budgie-notification .budgie-run-dialog list .notification-body,
.budgie-run-dialog list .budgie-osd .notification-body,
.budgie-osd .budgie-run-dialog list .notification-body,
.budgie-run-dialog list .budgie-switcher-window .notification-body,
.budgie-switcher-window .budgie-run-dialog list .notification-body,
.budgie-run-dialog list .budgie-switcher .notification-body,
.budgie-switcher .budgie-run-dialog list .notification-body {
  opacity: 1;
}

.budgie-run-dialog scrolledwindow {
  border-top: 1px solid #0d0e11;
}

/* GTK NAMED COLORS
   ----------------
   use responsibly! */
/*
widget text/foreground color */
@define-color theme_fg_color #eeeeec;
/*
text color for entries, views and content in general */
@define-color theme_text_color white;
/*
widget base background color */
@define-color theme_bg_color #16162e;
/*
text widgets and the like base background color */
@define-color theme_base_color #262643;
/*
base background color of selections */
@define-color theme_selected_bg_color #2777ff;
/*
text/foreground color of selections */
@define-color theme_selected_fg_color #ffffff;
/*
base background color of insensitive widgets */
@define-color insensitive_bg_color #1d1d2e;
/*
text foreground color of insensitive widgets */
@define-color insensitive_fg_color #888a8d;
/*
insensitive text widgets and the like base background color */
@define-color insensitive_base_color #262643;
/*
widget text/foreground color on backdrop windows */
@define-color theme_unfocused_fg_color #888a8d;
/*
text color for entries, views and content in general on backdrop windows */
@define-color theme_unfocused_text_color white;
/*
widget base background color on backdrop windows */
@define-color theme_unfocused_bg_color #16162e;
/*
text widgets and the like base background color on backdrop windows */
@define-color theme_unfocused_base_color #1c1c2b;
/*
base background color of selections on backdrop windows */
@define-color theme_unfocused_selected_bg_color #2777ff;
/*
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #ffffff;
/*
insensitive color on backdrop windows*/
@define-color unfocused_insensitive_color #43495a;
/*
widgets main borders color */
@define-color borders #0d0e11;
/*
widgets main borders color on backdrop windows */
@define-color unfocused_borders #0d0e11;
/*
these are pretty self explicative */
@define-color warning_color #fd7d00;
@define-color error_color #bf1717;
@define-color success_color #308e63;
/*
these colors are exported for the window manager and shouldn't be used in applications,
read if you used those and something break with a version upgrade you're on your own... */
@define-color wm_title shade(#eeeeec, 1.8);
@define-color wm_unfocused_title #888a8d;
@define-color wm_highlight rgba(0, 0, 0, 0);
@define-color wm_borders_edge rgba(238, 238, 236, 0.07);
@define-color wm_bg_a shade(#16162e, 1.2);
@define-color wm_bg_b #16162e;
@define-color wm_shadow alpha(black, 0.35);
@define-color wm_border alpha(black, 0.18);
@define-color wm_button_hover_color_a shade(#16162e, 1.3);
@define-color wm_button_hover_color_b #16162e;
@define-color wm_button_active_color_a shade(#16162e, 0.85);
@define-color wm_button_active_color_b shade(#16162e, 0.89);
@define-color wm_button_active_color_c shade(#16162e, 0.9);
/* content view background such as thumbnails view in Photos or Boxes */
@define-color content_view_bg #262643;
/* Very contrasty background for text views (@theme_text_color foreground) */
@define-color text_view_bg #1a1c23;

.open-document-selector-treeview:hover {
  background-color: alpha(@theme_fg_color, 0.05);
}

.open-document-selector-treeview:selected:hover {
  background-color: @theme_selected_bg_color;
}

/* Only normal state is handle */
.open-document-selector-name-label {
  color: @theme_fg_color;
}

/* Only normal state is handle */
.open-document-selector-path-label {
  color: @theme_unfocused_fg_color;
  font-size: smaller;
}

/* Only normal state is handle */
.open-document-selector-match {
  color: shade (@theme_fg_color, 0.6);
  background-color: alpha(@warning_color, 0.4);
}

.gedit-document-panel {
  background-color: @sidebar_bg;
}

.gedit-document-panel:backdrop {
  color: #b0b2b2;
}

.gedit-document-panel row:selected:backdrop {
  background-color: #8b8e8f;
}

.gedit-document-panel-group-row,
.gedit-document-panel-group-row:hover {
  border-top: 1px solid alpha(currentColor, 0.3);
}

.gedit-document-panel-group-row:first-child,
.gedit-document-panel-group-row:first-child:hover {
  border-top: 0px;
}

/* Try to look as the notebook tab close button */
.gedit-document-panel row button.flat {
  padding: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  min-width: 18px;
  min-height: 18px;
  color: alpha(currentColor, 0.3);
}

.gedit-document-panel row:hover button.flat {
  color: alpha(currentColor, 0.5);
}

.gedit-document-panel row button.flat:hover {
  color: @theme_fg_color;
}

statusbar {
  border-top: 1px solid @borders;
}

.gedit-search-slider {
  background-color: @theme_base_color;
  padding: 6px;
  border-color: @borders;
  border-radius: 0 0 3px 3px;
  border-width: 0 1px 1px 1px;
  border-style: solid;
}

.gedit-search-entry-occurrences-tag {
  background-color: @theme_base_color;
  background-image: none;
  color: shade (@theme_unfocused_fg_color, 0.8);
  border: 0px;
  margin: 2px;
  padding: 2px;
}

.nautilus-window,
.nautilus-window notebook,
.nautilus-window notebook>stack {
  background: @theme_base_color;
}

.nautilus-empty-state-icon {
  opacity: 0.50;
}

.nautilus-canvas-item {
  border-radius: 5px;
}

.nautilus-canvas-item.thumbnail {
  -gtk-icon-shadow: 0px 1px 2px @borders,
    1px 0px 0px alpha(@borders, 0.25),
    -1px 0px 0px alpha(@borders, 0.25),
    0px 2px 0px alpha(@borders, 0.5);
}

.nautilus-canvas-item.dim-label {
  color: mix (@theme_fg_color, @theme_bg_color, 0.50);
}

.nautilus-canvas-item.dim-label:selected {
  color: mix (@theme_selected_fg_color, @theme_selected_bg_color, 0.20);
}

/* Toolbar */

/* Here we use the .button background-image colors from Adwaita, but ligthen them,
 * since is not possible to use lighten () in common css. */
@keyframes needs_attention_keyframes {
  0% {
    background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0);
    border-color: @borders;
  }

  /* can't do animation-direction, so holding the color on two keyframes */
  30% {
    background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color);
    border-color: @theme_fg_color;
  }

  90% {
    background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color);
    border-color: @theme_fg_color;
  }

  100% {
    background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0);
    border-color: @borders;
  }
}

.nautilus-operations-button-needs-attention {
  animation: needs_attention_keyframes 2s ease-in-out;
}

.nautilus-operations-button-needs-attention-multiple {
  animation: needs_attention_keyframes 3s ease-in-out;
  animation-iteration-count: 3;
}

/* Remove white background and highlight on hover which GTK adds by default
 * to GtkListBox. TODO: Switch to GtkListView and drop this CSS hack. */
.operations-list,
.operations-list> :hover {
  background: none;
}

.disclosure-button {
  padding-left: 4px;
  padding-right: 4px;
}

/* Path bar */

.nautilus-path-bar scrolledwindow {
  border-radius: 5px 0px 0px 5px;
  border: 1px @borders solid;
  border-right-width: 0px;
  background-color: @theme_bg_color;
}

.nautilus-path-bar scrolledwindow undershoot.left {
  border-radius: 5px 0px 0px 5px;
  background: linear-gradient(to right, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
}

.nautilus-path-bar scrolledwindow undershoot.right {
  background: linear-gradient(to left, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
}

.nautilus-path-bar>button,
.path-buttons-box button {
  margin: 0px;
}

.path-buttons-box button {
  background-image: none;
  box-shadow: none;
  border-radius: 5px;
  border-width: 0px;
  -gtk-icon-shadow: none;
}

.path-buttons-box button:not(.current-dir):not(:backdrop):hover {
  background: alpha(@theme_fg_color, 0.15);
  box-shadow: inset 0 0 0 2px @theme_bg_color;
}

.path-buttons-box button:not(.current-dir):not(:backdrop):hover * {
  opacity: 1;
}

/* Make the tags fit into the box */
entry.search>* {
  margin: 5px;
}

/* Sidebar */

.nautilus-window .sidebar-row:selected {
  background: mix(@theme_bg_color, @theme_fg_color, 0.07);
}

.nautilus-window .sidebar-row:selected,
.nautilus-window .sidebar-row:selected image,
.nautilus-window .sidebar-row:selected label {
  color: mix(@theme_fg_color, @theme_text_color, 0.5);
}

.nautilus-window .sidebar-row:selected:backdrop {
  background: mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.07);
}

.nautilus-window .sidebar-row:selected:backdrop,
.nautilus-window .sidebar-row:selected:backdrop label {
  color: mix(@theme_unfocused_fg_color, @theme_unfocused_text_color, 0.15);
}

/* Floating status bar */
.floating-bar {
  padding: 1px;
  background-color: @theme_base_color;
  border-width: 1px;
  border-style: solid solid none;
  border-color: @borders;
  border-radius: 8px 8px 0 0;
}

.floating-bar.bottom.left {
  /* axes left border and border radius */
  border-left-style: none;
  border-top-left-radius: 0;
}

.floating-bar.bottom.right {
  /* axes right border and border radius */
  border-right-style: none;
  border-top-right-radius: 0;
}

.floating-bar:backdrop {
  background-color: @theme_unfocused_base_color;
  border-color: @unfocused_borders;
}

.floating-bar button {
  padding: 0px;
}

@define-color disk_space_unknown #888a85;
@define-color disk_space_used #729fcf;
@define-color disk_space_free #eeeeec;

.disk-space-display {
  border-style: solid;
  border-width: 2px;
}

.disk-space-display.unknown {
  background-color: @disk_space_unknown;
  border-color: shade(@disk_space_unknown, 0.7);
  color: @disk_space_unknown;
}

.disk-space-display.unknown.border {
  color: shade(@disk_space_unknown, 0.7);
}

.disk-space-display.used {
  background-color: @disk_space_used;
  border-color: shade(@disk_space_used, 0.7);
  color: @disk_space_used;
}

.disk-space-display.used.border {
  color: shade(@disk_space_used, 0.7);
}

.disk-space-display.free {
  background-color: @disk_space_free;
  border-color: shade(@disk_space_free, 0.7);
  color: @disk_space_free;
}

.disk-space-display.free.border {
  color: shade(@disk_space_free, 0.7);
}

/* As a workaround for GtkTreeView showing thick border above first row when
 * horizontal grid lines are enabled, we add them using CSS instead. Exclude the
 * drop targets to let through the default feedback style. */
.nautilus-list-view .view:not(:drop(active)) {
  border-bottom: 1px solid @theme_bg_color;
}

.nautilus-list-view.thumbnail {
  -gtk-icon-shadow: 0px 1px 2px @borders,
    1px 0px 0px alpha(@borders, 0.25),
    -1px 0px 0px alpha(@borders, 0.25),
    0px 2px 0px alpha(@borders, 0.5);
}

.search-information {
  background-color: @theme_selected_bg_color;
  color: white;
  padding: 2px;
}

@define-color conflict_bg #fef6b6;

.conflict-row {
  background: @conflict_bg;
  color: black;
}

.conflict-row:hover {
  background-color: shade(@conflict_bg, 0.9);
}

.conflict-row:selected {
  background: @theme_selected_bg_color;
  color: @theme_selected_fg_color;
}

/* Icon view */
flowbox {
  padding: 18px
}

flowboxchild {
  padding: 0px;
}

flowboxchild:selected {
  background-color: transparent;
  outline-color: transparent;
}

flowboxchild .thumbnail {
  margin: 4px;
  box-shadow: 0px 1px 2px 0px alpha(@borders, 0.5),
    0px 0px 0px 1px alpha(@borders, 0.5),
    0px 2px 0px 0px alpha(@borders, 0.5);
  border-radius: 2px;
}

.icon-ui-labels-box {
  padding: 2px 4px;
  border-radius: 4px;
}

flowboxchild:selected .icon-ui-labels-box {
  color: @theme_selected_fg_color;
  background-color: @theme_selected_bg_color;
}

flowboxchild:selected image {
  -gtk-icon-effect: dim;
  /* GTK 3 only */
  /* GTK 4 TODO: Replace previous line with the following one:
  -gtk-icon-filter: opacity(0.5);
  */
  -gtk-icon-shadow: 0px 0px @theme_selected_bg_color;
}