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

.background:backdrop {
  text-shadow: none;
  -gtk-icon-shadow: none;
}

dnd {
  color: #eeeeec;
}

.normal-icons {
  -gtk-icon-size: 16px;
}

.large-icons {
  -gtk-icon-size: 32px;
}

image:disabled {
  -gtk-icon-filter: opacity(0.5);
}

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

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

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

textview:drop(active) {
  caret-color: #19a187;
}

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

iconview {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

iconview {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

iconview:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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

iconview>dndtarget:drop(active) {
  border-style: solid;
  border-width: 1px;
  border-color: #00348d;
}

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

flowbox>flowboxchild {
  padding: 3px;
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

flowbox>flowboxchild {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

flowbox>flowboxchild:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

flowbox>flowboxchild:selected {
  outline-color: rgba(255, 255, 255, 0.3);
}

gridview>child {
  padding: 3px;
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

gridview>child {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

gridview>child:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

gridview>child:selected {
  outline-color: rgba(255, 255, 255, 0.3);
}

gridview>child box {
  border-spacing: 8px;
  margin: 12px;
}

coverflow cover {
  color: white;
  background-color: #262643;
  border: 1px solid black;
}

label {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

label {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

label:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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

label:disabled {
  color: #888a8d;
}

button label:disabled {
  color: inherit;
}

label.error {
  color: #bf1717;
}

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

.dim-label,
.titlebar:not(headerbar) .subtitle,
headerbar .subtitle,
spinbutton.vertical>text>text>placeholder,
spinbutton:not(.vertical)>text>placeholder,
entry>text>placeholder,
label.separator {
  opacity: 0.55;
  text-shadow: none;
}

window.assistant .sidebar {
  padding: 5px;
  border-top: 1px solid #0d0e11;
}

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

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

window.assistant .sidebar>label.highlight {
  background-color: #3b3e46;
  border-radius: 5px;
}

window.aboutdialog image.large-icons {
  -gtk-icon-size: 128px;
}

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

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

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

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.vertical>text,
spinbutton:not(.vertical),
entry {
  min-height: 32px;
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid;
  border-radius: 4px;
  border-spacing: 6px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: white;
  border-color: #0d0e11;
  background-color: #262643;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

spinbutton.vertical>text,
spinbutton:not(.vertical),
entry {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

spinbutton.vertical>text:focus-within,
spinbutton:focus-within:not(.vertical),
entry:focus-within {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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

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

spinbutton.vertical>text>text>block-cursor,
spinbutton:not(.vertical)>text>block-cursor,
entry>text>block-cursor {
  color: #262643;
  background-color: white;
}

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

spinbutton.vertical>text:focus-within>placeholder,
spinbutton:focus-within:not(.vertical)>placeholder,
entry:focus-within>placeholder {
  opacity: 0;
  /* We hide placeholders on focus */
}

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

spinbutton.vertical>text.error,
spinbutton.error:not(.vertical),
entry.error {
  color: #bf1717;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

spinbutton.vertical>text.error,
spinbutton.error:not(.vertical),
entry.error {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

spinbutton.vertical>text.error:focus-within,
spinbutton.error:focus-within:not(.vertical),
entry.error:focus-within {
  outline-color: rgba(191, 23, 23, 0.5);
  outline-width: 2px;
  outline-offset: -2px;
}

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

spinbutton.vertical>text.warning,
spinbutton.warning:not(.vertical),
entry.warning {
  color: #fd7d00;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

spinbutton.vertical>text.warning,
spinbutton.warning:not(.vertical),
entry.warning {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

spinbutton.vertical>text.warning:focus-within,
spinbutton.warning:focus-within:not(.vertical),
entry.warning:focus-within {
  outline-color: rgba(253, 125, 0, 0.5);
  outline-width: 2px;
  outline-offset: -2px;
}

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

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

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

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

spinbutton.vertical>text.password image.caps-lock-indicator,
spinbutton.password:not(.vertical) image.caps-lock-indicator,
entry.password image.caps-lock-indicator {
  color: #75777c;
}

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

.osd spinbutton.vertical>text,
.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;
  -gtk-icon-shadow: 0 1px black;
}

.osd spinbutton.vertical>text:focus-within,
.osd spinbutton:focus-within:not(.vertical),
.osd entry:focus-within {
  color: white;
  border-color: #2777ff;
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
}

.osd spinbutton.vertical>text:disabled,
.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;
}

spinbutton.vertical>text>progress,
spinbutton:not(.vertical)>progress,
entry>progress {
  margin-bottom: 2px;
}

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

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

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

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

spinbutton.vertical.linked>text+text:drop(active):not(:only-child),
spinbutton.vertical.linked>spinbutton:not(.vertical)+text:drop(active):not(:only-child),
spinbutton.vertical.linked>text+spinbutton:drop(active):not(:only-child):not(.vertical),
.linked.vertical>spinbutton:not(.vertical)+spinbutton:drop(active):not(:only-child):not(.vertical),
spinbutton.vertical.linked>text+entry:drop(active):not(:only-child),
.linked.vertical>spinbutton:not(.vertical)+entry:drop(active):not(:only-child),
spinbutton.vertical.linked>entry+text: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;
}

spinbutton.vertical.linked>text:drop(active):not(:only-child)+text,
spinbutton.vertical.linked>spinbutton:drop(active):not(:only-child):not(.vertical)+text,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+spinbutton:not(.vertical),
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+spinbutton:not(.vertical),
spinbutton.vertical.linked>text:drop(active):not(:only-child)+entry,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+entry,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+menubutton>button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+menubutton>button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+dropdown>button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+dropdown>button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+colorbutton>button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+colorbutton>button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+fontbutton>button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+fontbutton>button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+filechooserbutton>button,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+filechooserbutton>button,
spinbutton.vertical.linked>text:drop(active):not(:only-child)+combobox>box>button.combo,
.linked.vertical>spinbutton:drop(active):not(:only-child):not(.vertical)+combobox>box>button.combo,
spinbutton.vertical.linked>entry:drop(active):not(:only-child)+text,
.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)+menubutton>button,
.linked.vertical>entry:drop(active):not(:only-child)+dropdown>button,
.linked.vertical>entry:drop(active):not(:only-child)+colorbutton>button,
.linked.vertical>entry:drop(active):not(:only-child)+fontbutton>button,
.linked.vertical>entry:drop(active):not(:only-child)+filechooserbutton>button,
.linked.vertical>entry:drop(active):not(:only-child)+combobox>box>button.combo {
  border-top-color: #19a187;
}

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

treeview entry:focus-within:dir(rtl),
treeview entry:focus-within: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-within,
treeview entry:focus-within {
  border-color: #2777ff;
}

/*******************
 * Editable Labels *
 *******************/
editablelabel>stack>text {
  color: white;
  border-color: #0d0e11;
  background-color: #262643;
}

/***********
 * Buttons *
 ***********/
@keyframes needs_attention {
  from {
    background-image: radial-gradient(farthest-side, #74a7ff 0%, rgba(116, 167, 255, 0) 0%);
  }

  to {
    background-image: radial-gradient(farthest-side, #74a7ff 95%, rgba(116, 167, 255, 0));
  }
}

notebook>header>tabs>arrow,
windowcontrols button,
button {
  min-height: 24px;
  min-width: 16px;
  padding: 4px 9px;
  border: 1px solid;
  border-radius: 4px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #eeeeec;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: #0d0e11;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

notebook>header>tabs>arrow,
windowcontrols button,
button {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

notebook>header>tabs>arrow:focus:focus-visible,
button:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

notebook>header>tabs>arrow:hover,
button:hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  -gtk-icon-filter: brightness(1.2);
}

notebook>header>tabs>arrow.keyboard-activating,
notebook>header>tabs>arrow:active,
notebook>header>tabs>arrow:checked,
button.keyboard-activating,
button:active,
button:checked {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: image(#13151a);
  box-shadow: none;
  transition-duration: 50ms;
}

notebook>header>tabs>arrow:checked:hover,
button:checked:hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: image(#0d0e11);
  box-shadow: none;
}

notebook>header>tabs>arrow:checked:active,
button:checked:active {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: image(#08090b);
  box-shadow: none;
}

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

notebook>header>tabs>arrow:backdrop:not(:disabled),
button:backdrop.flat:not(:disabled),
button:backdrop:not(:disabled) {
  -gtk-icon-filter: 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(#1e2128);
  box-shadow: none;
}

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

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(#1e2128);
  box-shadow: none;
}

notebook>header>tabs>arrow:disabled,
button:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  -gtk-icon-filter: opacity(0.5);
}

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(#1a1c23);
  box-shadow: none;
}

button.sidebar-button,
notebook>header>tabs>arrow,
windowcontrols button,
notebook>header>tabs>arrow.flat,
button.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  transition: none;
}

button.sidebar-button:hover,
notebook>header>tabs>arrow:hover,
windowcontrols button:hover,
button.flat:hover {
  border-color: transparent;
  background-image: none;
  box-shadow: none;
  background-color: #333b52;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-duration: 500ms;
}

button.keyboard-activating.sidebar-button,
notebook>header>tabs>arrow.keyboard-activating,
windowcontrols button.keyboard-activating,
button.sidebar-button:active,
notebook>header>tabs>arrow:active,
windowcontrols button:active,
button.sidebar-button:checked,
notebook>header>tabs>arrow:checked,
windowcontrols button:checked,
button.flat.keyboard-activating,
button.flat:active,
button.flat:checked {
  border-color: transparent;
  background-image: none;
  box-shadow: none;
  background-color: #1c1e25;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button.sidebar-button:backdrop,
notebook>header>tabs>arrow:backdrop,
windowcontrols button:backdrop,
button.sidebar-button:disabled,
notebook>header>tabs>arrow:disabled,
windowcontrols button:disabled,
button.flat:backdrop,
button.flat:disabled,
button.flat:backdrop:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

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

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;
}

dropdown:drop(active) button.combo,
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;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  border: none;
  box-shadow: none;
}

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

button.osd.image-button:only-child {
  margin: 4px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

button.osd:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#1a1c23);
  background-clip: padding-box;
  border: none;
  box-shadow: none;
}

button.osd:active,
button.osd:checked {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#040405);
  background-clip: padding-box;
  box-shadow: none;
  border: none;
  box-shadow: none;
}

.app-notification button,
popover.background.touch-selection button,
popover.background.magnifier button,
.osd button {
  color: white;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
}

.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(#1a1c23);
  background-clip: padding-box;
}

.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(#040405);
  background-clip: padding-box;
  box-shadow: none;
}

.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;
}

.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: none;
  box-shadow: none;
  -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(#1a1c23);
  background-clip: padding-box;
}

.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;
  background-image: none;
  border-color: transparent;
  box-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(#040405);
  background-clip: padding-box;
  box-shadow: none;
}


button.suggested-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #0047c0;
  background-image: image(#4187ff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(0, 81, 218, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

button.suggested-action {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

button.suggested-action:focus:focus-visible {
  outline-color: rgba(255, 255, 255, 0.3);
  outline-width: 2px;
  outline-offset: -2px;
}

button.suggested-action.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: #2777ff;
}

button.suggested-action:hover {
  color: white;
  border-color: #0051da;
  background-image: linear-gradient(to top, #136aff 20%, #186dff 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(0, 81, 218, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.suggested-action:active,
button.suggested-action:checked {
  color: white;
  border-color: #0051da;
  background-image: image(#005cf8);
  box-shadow: none;
}

button.suggested-action.flat:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: rgba(39, 119, 255, 0.8);
}

button.suggested-action:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
}

button.suggested-action:disabled:active,
button.suggested-action:disabled:checked {
  color: #a4beeb;
  border-color: #0051da;
  background-image: image(#1c5dcd);
  box-shadow: none;
}

.osd button.suggested-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(39, 119, 255, 0.5));
  background-clip: padding-box;
}

.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;
}

.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;
}

.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;
}


button.destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #4b0909;
  background-image: image(#bd1616);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(98, 12, 12, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

button.destructive-action {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

button.destructive-action:focus:focus-visible {
  outline-color: rgba(255, 255, 255, 0.3);
  outline-width: 2px;
  outline-offset: -2px;
}

button.destructive-action.flat {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: #a61414;
}

button.destructive-action:hover {
  color: white;
  border-color: #620c0c;
  background-image: linear-gradient(to top, #941111 20%, #991212 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(98, 12, 12, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

button.destructive-action:active,
button.destructive-action:checked {
  color: white;
  border-color: #620c0c;
  background-image: image(#7d0f0f);
  box-shadow: none;
}

button.destructive-action.flat:disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: rgba(166, 20, 20, 0.8);
}

button.destructive-action:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
}

button.destructive-action:disabled:active,
button.destructive-action:disabled:checked {
  color: #c9a1a1;
  border-color: #620c0c;
  background-image: image(#791314);
  box-shadow: none;
}

.osd button.destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: black;
  background-color: transparent;
  background-image: image(rgba(166, 20, 20, 0.5));
  background-clip: padding-box;
}

.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;
}

.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;
}

.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;
}

stackswitcher>button>label {
  padding: 0 6px;
  margin: 0 -6px;
}

stackswitcher>button>image {
  padding: 3px 6px;
  margin: -3px -6px;
}


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


button.font>box {
  border-spacing: 6px;
}


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

menubutton.circular button,
button.circular {
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 9999px;
}

menubutton.circular button label,
button.circular label {
  padding: 0;
}

stacksidebar row.needs-attention>label,
stackswitcher>button.needs-attention>label,
stackswitcher>button.needs-attention>image {
  animation: needs_attention 150ms ease-in;
  background-image: radial-gradient(farthest-side, #74a7ff 96%, rgba(116, 167, 255, 0));
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position: right 3px, right 2px;
}

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

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

.linked:not(.vertical)>filechooserbutton>combobox:dir(rtl):not(:last-child)>box>button.combo,
.linked:not(.vertical)>appchooserbutton>combobox:dir(rtl):not(:last-child)>box>button.combo,
.linked:not(.vertical)>combobox:dir(rtl):not(:last-child)>box>button.combo,
.linked:not(.vertical)>filechooserbutton>combobox:dir(ltr):not(:first-child)>box>button.combo,
.linked:not(.vertical)>appchooserbutton>combobox:dir(ltr):not(:first-child)>box>button.combo,
.linked:not(.vertical)>combobox:dir(ltr):not(:first-child)>box>button.combo,
dropdown.linked button:nth-child(2):dir(ltr),
combobox.linked button:nth-child(2):dir(ltr),
.linked:not(.vertical)>menubutton:dir(rtl):not(:last-child)>button,
.linked:not(.vertical)>dropdown:dir(rtl):not(:last-child)>button,
.linked:not(.vertical)>colorbutton:dir(rtl):not(:last-child)>button,
.linked:not(.vertical)>fontbutton:dir(rtl):not(:last-child)>button,
.linked:not(.vertical)>filechooserbutton:dir(rtl):not(:last-child)>button,
.linked:not(.vertical)>menubutton:dir(ltr):not(:first-child)>button,
.linked:not(.vertical)>dropdown:dir(ltr):not(:first-child)>button,
.linked:not(.vertical)>colorbutton:dir(ltr):not(:first-child)>button,
.linked:not(.vertical)>fontbutton:dir(ltr):not(:first-child)>button,
.linked:not(.vertical)>filechooserbutton:dir(ltr):not(:first-child)>button,
spinbutton.vertical.linked:not(.vertical)>text:dir(rtl):not(:last-child),
.linked:not(.vertical)>spinbutton:dir(rtl):not(:last-child):not(.vertical),
.linked:not(.vertical)>entry:dir(rtl):not(:last-child),
.linked:not(.vertical)>button:dir(rtl):not(:last-child),
spinbutton.vertical.linked:not(.vertical)>text:dir(ltr):not(:first-child),
.linked:not(.vertical)>spinbutton:dir(ltr):not(:first-child):not(.vertical),
.linked:not(.vertical)>entry:dir(ltr):not(:first-child),
.linked:not(.vertical)>button:dir(ltr):not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.linked:not(.vertical)>filechooserbutton>combobox:dir(rtl):not(:first-child)>box>button.combo,
.linked:not(.vertical)>appchooserbutton>combobox:dir(rtl):not(:first-child)>box>button.combo,
.linked:not(.vertical)>combobox:dir(rtl):not(:first-child)>box>button.combo,
.linked:not(.vertical)>filechooserbutton>combobox:dir(ltr):not(:last-child)>box>button.combo,
.linked:not(.vertical)>appchooserbutton>combobox:dir(ltr):not(:last-child)>box>button.combo,
.linked:not(.vertical)>combobox:dir(ltr):not(:last-child)>box>button.combo,
dropdown.linked button:nth-child(2):dir(rtl),
combobox.linked button:nth-child(2):dir(rtl),
.linked:not(.vertical)>menubutton:dir(rtl):not(:first-child)>button,
.linked:not(.vertical)>dropdown:dir(rtl):not(:first-child)>button,
.linked:not(.vertical)>colorbutton:dir(rtl):not(:first-child)>button,
.linked:not(.vertical)>fontbutton:dir(rtl):not(:first-child)>button,
.linked:not(.vertical)>filechooserbutton:dir(rtl):not(:first-child)>button,
.linked:not(.vertical)>menubutton:dir(ltr):not(:last-child)>button,
.linked:not(.vertical)>dropdown:dir(ltr):not(:last-child)>button,
.linked:not(.vertical)>colorbutton:dir(ltr):not(:last-child)>button,
.linked:not(.vertical)>fontbutton:dir(ltr):not(:last-child)>button,
.linked:not(.vertical)>filechooserbutton:dir(ltr):not(:last-child)>button,
spinbutton.vertical.linked:not(.vertical)>text:dir(rtl):not(:first-child),
.linked:not(.vertical)>spinbutton:dir(rtl):not(:first-child):not(.vertical),
.linked:not(.vertical)>entry:dir(rtl):not(:first-child),
.linked:not(.vertical)>button:dir(rtl):not(:first-child),
spinbutton.vertical.linked:not(.vertical)>text:dir(ltr):not(:last-child),
.linked:not(.vertical)>spinbutton:dir(ltr):not(:last-child):not(.vertical),
.linked:not(.vertical)>entry:dir(ltr):not(:last-child),
.linked:not(.vertical)>button:dir(ltr):not(:last-child) {
  border-right-style: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.linked.vertical>filechooserbutton>combobox:not(:first-child)>box>button.combo,
.linked.vertical>appchooserbutton>combobox:not(:first-child)>box>button.combo,
.linked.vertical>combobox:not(:first-child)>box>button.combo,
.linked.vertical>menubutton:not(:first-child)>button,
.linked.vertical>dropdown:not(:first-child)>button,
.linked.vertical>colorbutton:not(:first-child)>button,
.linked.vertical>fontbutton:not(:first-child)>button,
.linked.vertical>filechooserbutton:not(:first-child)>button,
spinbutton.vertical.linked>text:not(:first-child),
.linked.vertical>spinbutton:not(:first-child):not(.vertical),
.linked.vertical>entry:not(:first-child),
.linked.vertical>button:not(:first-child) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.linked.vertical>filechooserbutton>combobox:not(:last-child)>box>button.combo,
.linked.vertical>appchooserbutton>combobox:not(:last-child)>box>button.combo,
.linked.vertical>combobox:not(:last-child)>box>button.combo,
.linked.vertical>menubutton:not(:last-child)>button,
.linked.vertical>dropdown:not(:last-child)>button,
.linked.vertical>colorbutton:not(:last-child)>button,
.linked.vertical>fontbutton:not(:last-child)>button,
.linked.vertical>filechooserbutton:not(:last-child)>button,
spinbutton.vertical.linked>text:not(:last-child),
.linked.vertical>spinbutton:not(:last-child):not(.vertical),
.linked.vertical>entry:not(:last-child),
.linked.vertical>button:not(:last-child) {
  border-bottom-style: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.scale-popup button:hover,
button.link,
button.link:hover,
button.link:active,
button.link:checked,
popover.menu box.circular-buttons button.circular.image-button.model,
list>row button.image-button:not(.flat),
.toolbar button,
modelbutton.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 {
  min-height: 26px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 4px;
}

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

modelbutton.flat:disabled {
  color: #888a8d;
}

modelbutton.flat arrow {
  background: none;
  min-width: 16px;
  min-height: 16px;
  opacity: 0.3;
}

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

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

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

/* oldstyle toolbar buttons */
.toolbar button {
  margin: 1px;
}

.toolbar button:hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

.toolbar button:active {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: image(#13151a);
  box-shadow: none;
}

.toolbar button:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
}

.toolbar button:backdrop {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#16162e);
  box-shadow: none;
}

.toolbar button:backdrop:disabled {
  color: #43495a;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
  box-shadow: none;
}

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 */
popover.menu box.circular-buttons button.circular.image-button.model,
list>row button.image-button:not(.flat) {
  border: 1px solid rgba(13, 14, 17, 0.5);
}

popover.menu box.circular-buttons button.circular.image-button.model:hover,
list>row button.image-button:not(.flat):hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

popover.menu box.circular-buttons button.circular.image-button.model:active,
popover.menu box.circular-buttons button.circular.image-button.model:checked,
list>row button.image-button:not(.flat):active,
list>row button.image-button:not(.flat):checked {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: image(#13151a);
  box-shadow: none;
}

popover.menu box.circular-buttons button.suggested-action.circular.image-button.model,
list>row button.image-button:not(.flat).suggested-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #0047c0;
  background-image: image(#4187ff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(0, 81, 218, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

popover.menu box.circular-buttons button.suggested-action.circular.image-button.model,
list>row button.image-button:not(.flat).suggested-action {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

popover.menu box.circular-buttons button.suggested-action.circular.image-button.model:focus:focus-visible,
list>row button.image-button:not(.flat).suggested-action:focus:focus-visible {
  outline-color: rgba(255, 255, 255, 0.3);
  outline-width: 2px;
  outline-offset: -2px;
}

popover.menu box.circular-buttons button.destructive-action.circular.image-button.model,
list>row button.image-button:not(.flat).destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #4b0909;
  background-image: image(#bd1616);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(98, 12, 12, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

popover.menu box.circular-buttons button.destructive-action.circular.image-button.model,
list>row button.image-button:not(.flat).destructive-action {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

popover.menu box.circular-buttons button.destructive-action.circular.image-button.model:focus:focus-visible,
list>row button.image-button:not(.flat).destructive-action:focus:focus-visible {
  outline-color: rgba(255, 255, 255, 0.3);
  outline-width: 2px;
  outline-offset: -2px;
}

/*********
 * Links *
 *********/
button.link,
link {
  color: #8db7ff;
  text-decoration: underline;
}

button.link:visited,
link:visited {
  color: #5a97ff;
}

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

button.link:hover,
link:hover {
  color: #c0d7ff;
}

*:selected button.link:hover,
*:selected link:hover {
  color: #f9fbff;
}

button.link:active,
link:active {
  color: #8db7ff;
}

*:selected button.link:active,
*:selected link:active {
  color: #e8f1ff;
}

button.link:disabled,
link:disabled {
  color: rgba(198, 198, 198, 0.8);
}

button.link:selected,
*:selected button.link,
link:selected,
*:selected link {
  color: #e8f1ff;
}

link {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

link {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

link:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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

button.link>label {
  text-decoration: underline;
}

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

spinbutton:not(.vertical) {
  padding: 0;
  border-spacing: 0;
  /* :not here just to bump specificity above that of the list button styling */
}

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

.osd spinbutton:not(.vertical)>text:backdrop:disabled,
spinbutton:not(.vertical)>text:backdrop:disabled {
  background-color: transparent;
}

spinbutton:not(.vertical)>button.image-button.up:not(.flat),
spinbutton:not(.vertical)>button.image-button.down:not(.flat) {
  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.image-button.up:not(.flat):dir(rtl),
spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(rtl) {
  border-style: none solid none none;
}

spinbutton:not(.vertical)>button.image-button.up:not(.flat):hover,
spinbutton:not(.vertical)>button.image-button.down:not(.flat):hover {
  color: #eeeeec;
  background-color: #181a20;
}

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

spinbutton:not(.vertical)>button.image-button.up:not(.flat):active,
spinbutton:not(.vertical)>button.image-button.down:not(.flat):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.image-button.up:not(.flat):dir(ltr):last-child,
spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(ltr):last-child {
  border-radius: 0 4px 4px 0;
}

spinbutton:not(.vertical)>button.image-button.up:not(.flat):dir(rtl):first-child,
spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(rtl):first-child {
  border-radius: 4px 0 0 4px;
}

.osd spinbutton:not(.vertical)>button.image-button.up:not(.flat),
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat) {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-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.image-button.up:not(.flat):dir(rtl),
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(rtl) {
  border-style: none solid none none;
}

.osd spinbutton:not(.vertical)>button.image-button.up:not(.flat):hover,
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat):hover {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: white;
  border-color: rgba(0, 0, 0, 0.5);
  background-color: #1a1c23;
  -gtk-icon-shadow: 0 1px black;
  box-shadow: none;
}

.osd spinbutton:not(.vertical)>button.image-button.up:not(.flat):disabled,
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat):disabled {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: #97999f;
  border-color: rgba(0, 0, 0, 0.5);
  -gtk-icon-shadow: none;
  box-shadow: none;
}

.osd spinbutton:not(.vertical)>button.image-button.up:not(.flat):dir(ltr):last-child,
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(ltr):last-child {
  border-radius: 0 4px 4px 0;
}

.osd spinbutton:not(.vertical)>button.image-button.up:not(.flat):dir(rtl):first-child,
.osd spinbutton:not(.vertical)>button.image-button.down:not(.flat):dir(rtl):first-child {
  border-radius: 4px 0 0 4px;
}

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

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

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

spinbutton.vertical>text>block-cursor {
  color: #262643;
  background-color: white;
}

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

spinbutton.vertical>button.up {
  border-bottom-style: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

spinbutton.vertical>button.down {
  border-top-style: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.osd spinbutton.vertical>button:first-child {
  color: white;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
}

.osd spinbutton.vertical>button:first-child:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#1a1c23);
  background-clip: padding-box;
}

.osd spinbutton.vertical>button:first-child:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#040405);
  background-clip: padding-box;
  box-shadow: none;
}

.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;
}

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

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

/**************
 * ComboBoxes *
 **************/
dropdown>popover.menu.background>contents {
  padding: 0;
}

dropdown>button>box {
  border-spacing: 6px;
}

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

dropdown>popover.menu>contents modelbutton,
combobox>popover.menu>contents modelbutton {
  padding-left: 9px;
  padding-right: 9px;
}

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

dropdown popover,
combobox popover {
  margin-top: 6px;
  padding: 0;
}

dropdown popover listview,
combobox popover listview {
  margin: 8px 0;
}

dropdown popover listview>row,
combobox popover listview>row {
  padding: 8px;
}

dropdown popover listview>row:selected,
combobox popover listview>row:selected {
  outline-color: rgba(255, 255, 255, 0.3);
  color: white;
  background-color: #3b3e46;
}

dropdown popover .dropdown-searchbar,
combobox popover .dropdown-searchbar {
  padding: 6px;
  border-bottom: 1px solid #0d0e11;
}

/************
 * Toolbars *
 ************/
searchbar>revealer>box,
.toolbar,
toolbar {
  padding: 4px;
  border-spacing: 4px;
  background-color: #16162e;
}

.osd .toolbar,
.osd toolbar {
  background-color: transparent;
}

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

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

.toolbar.horizontal>separator,
toolbar.horizontal>separator {
  margin: 4px 0;
}

.toolbar.vertical>separator,
toolbar.vertical>separator {
  margin: 0 4px;
}

searchbar>revealer>box {
  padding: 6px;
  border-spacing: 6px;
  border-width: 0 0 1px;
}

searchbar>revealer>box {
  border-style: solid;
  border-color: #0d0e11;
  background-color: #1c1e25;
}

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

/**************
 * GtkInfoBar *
 **************/
infobar>revealer>box {
  padding: 8px;
  border-spacing: 12px;
}

infobar.action:hover>revealer>box {
  background-color: #010101;
}

infobar.info>revealer>box,
infobar.question>revealer>box,
infobar.warning>revealer>box,
infobar.error>revealer>box {
  border-bottom: 1px solid #181a20;
  background-color: #080604;
}

infobar .close,
searchbar .close {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  min-width: 16px;
  min-height: 16px;
  padding: 4px;
  border-radius: 50%;
}

infobar .close:hover,
searchbar .close:hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

/*****************
 * Title buttons *
 *****************/
windowcontrols {
  border-spacing: 6px;
}

windowcontrols:not(.empty).start:dir(ltr),
windowcontrols:not(.empty).end:dir(rtl) {
  margin-right: 7px;
}

windowcontrols:not(.empty).start:dir(rtl),
windowcontrols:not(.empty).end:dir(ltr) {
  margin-left: 7px;
}

windowcontrols button {
  border-radius: 9999px;
  padding: 6px;
  margin: 0 2px;
  min-width: 0;
  min-height: 0;
}

windowcontrols button:hover {
  border-color: transparent;
  background-image: none;
  box-shadow: none;
  background-color: #0d0e11;
}

windowcontrols button:active,
windowcontrols button:checked {
  border-color: transparent;
  background-image: none;
  box-shadow: none;
  background-color: black;
}

/***************
 * Header bars *
 ***************/
.titlebar:not(headerbar),
headerbar {
  padding: 0 6px;
  min-height: 46px;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: black;
  border-radius: 0;
  background: #0d0e11 linear-gradient(to top, #16171d, #1a1c23);
  /* Darken switchbuttons for headerbars. issue #1588 */
}

.titlebar:backdrop:not(headerbar),
headerbar:backdrop {
  border-color: #0d0e11;
  background-color: #16162e;
  background-image: none;
  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(#1e2128);
  box-shadow: none;
}

.tiled .titlebar:not(headerbar),
.tiled-top .titlebar:not(headerbar),
.tiled-left .titlebar:not(headerbar),
.tiled-right .titlebar:not(headerbar),
.tiled-bottom .titlebar:not(headerbar),
.maximized .titlebar:not(headerbar),
.fullscreen .titlebar:not(headerbar),
.tiled headerbar,
.tiled-top headerbar,
.tiled-left headerbar,
.tiled-right headerbar,
.tiled-bottom 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) windowcontrols button,
.default-decoration.titlebar:not(headerbar) windowcontrols menubutton,
headerbar.default-decoration windowcontrols button,
headerbar.default-decoration windowcontrols menubutton {
  min-height: 26px;
  min-width: 26px;
  margin: 0;
  padding: 0;
}

.default-decoration.titlebar:not(headerbar) windowcontrols menubutton button,
headerbar.default-decoration windowcontrols menubutton button {
  min-height: 20px;
  min-width: 20px;
  margin: 0;
  padding: 4px;
}

.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>windowhandle>box,
headerbar>windowhandle>box>box.start,
headerbar>windowhandle>box>box.end {
  border-spacing: 6px;
}

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

headerbar menubutton>button {
  margin-top: 0px;
  margin-bottom: 0px;
}

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

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

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

window.devel headerbar.titlebar {
  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: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 *
 ************/
pathbar>button.text-button,
pathbar>button.image-button,
pathbar>button {
  padding-left: 4px;
  padding-right: 4px;
}

pathbar>button.text-button.image-button label {
  padding-left: 0;
  padding-right: 0;
}

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

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

pathbar>button image {
  padding-left: 4px;
  padding-right: 4px;
}

pathbar>button.slider-button {
  padding-left: 0;
  padding-right: 0;
}

/**************
 * Tree Views *
 **************/
columnview.view,
treeview.view {
  border-left-color: #4f5159;
  border-top-color: #4f5159;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

columnview.view,
treeview.view {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

columnview.view:focus:focus-visible,
treeview.view:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

columnview.view:selected:focus,
columnview.view:selected,
treeview.view:selected:focus,
treeview.view:selected {
  border-radius: 0;
  outline-color: rgba(255, 255, 255, 0.3);
}

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

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

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

columnview.view.separator,
treeview.view.separator {
  min-height: 2px;
  color: #4f5159;
}

columnview.view:backdrop,
treeview.view:backdrop {
  border-left-color: #3a3d46;
  border-top: #3a3d46;
}

columnview.view:drop(active),
treeview.view:drop(active) {
  box-shadow: none;
}

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

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

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

columnview.view.expander,
treeview.view.expander {
  min-width: 16px;
  min-height: 16px;
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
  color: #bebfc2;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

columnview.view>header>button sort-indicator,
treeview.view>header>button sort-indicator {
  min-height: 16px;
  min-width: 16px;
}

columnview.view>header>button sort-indicator.ascending,
treeview.view>header>button sort-indicator.ascending {
  -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

columnview.view>header>button sort-indicator.descending,
treeview.view>header>button sort-indicator.descending {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

columnview.view button.dnd:active,
columnview.view button.dnd:selected,
columnview.view button.dnd:hover,
columnview.view button.dnd,
columnview.view header.button.dnd:active,
columnview.view header.button.dnd:selected,
columnview.view header.button.dnd:hover,
columnview.view header.button.dnd,
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;
}

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

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

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

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

/***************
 * Popovers   *
 ***************/
popover.background {
  background-color: transparent;
  font: initial;
}

popover.background>arrow,
popover.background>contents {
  background-color: #1f222a;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.75);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

popover.background:backdrop {
  background-color: transparent;
}

popover.background>contents {
  padding: 8px;
  border-radius: 8px;
}

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

popover.background>contents separator {
  background-color: #13151a;
  margin: 3px;
}

popover.background>contents list separator {
  margin: 0;
}

.osd popover.background,
popover.background.touch-selection,
popover.background.magnifier {
  background-color: transparent;
}

.osd popover.background>arrow,
.osd popover.background>contents,
popover.background.touch-selection>arrow,
popover.background.touch-selection>contents,
popover.background.magnifier>arrow,
popover.background.magnifier>contents {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

magnifier {
  background-color: #262643;
}

/**********************
 * Popover Base Menus *
 **********************/
popover.menu {
  padding: 0;
}

popover.menu box.inline-buttons {
  padding: 0 12px;
}

popover.menu box.inline-buttons button.image-button.model {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  min-height: 30px;
  min-width: 30px;
  padding: 0;
  border: none;
  outline: none;
  transition: none;
}

popover.menu box.inline-buttons button.image-button.model:selected {
  background: image(#3b3e46);
}

popover.menu box.circular-buttons {
  padding: 12px 12px 6px;
}

popover.menu box.circular-buttons button.circular.image-button.model {
  padding: 11px;
}

popover.menu box.circular-buttons button.circular.image-button.model:focus {
  background-color: #3b3e46;
  border-color: #3b3e46;
}

popover.menu>arrow,
popover.menu.background>contents {
  background-color: #1f222a;
  padding: 5px;
}

popover.menu.background separator {
  margin: 6px 0;
}

popover.menu accelerator {
  color: alpha(currentColor, 0.55);
}

popover.menu accelerator:dir(ltr) {
  margin-left: 12px;
}

popover.menu accelerator:dir(rtl) {
  margin-right: 12px;
}

popover.menu check,
popover.menu radio {
  transform: scale(0.8);
  border-width: 1.2px;
  border-color: transparent;
  box-shadow: none;
  background-image: image(transparent);
  color: white;
}

popover.menu check:hover,
popover.menu radio:hover {
  transform: scale(0.8);
  border-width: 1.2px;
  color: white;
  box-shadow: none;
  background-image: image(transparent);
}

popover.menu check:active,
popover.menu radio:active {
  transform: scale(0.8);
  border-width: 1.2px;
  color: white;
  box-shadow: none;
  background-image: image(transparent);
}

popover.menu radio {
  border-color: #0d0e11;
}

popover.menu radio:active {
  border-color: rgba(13, 14, 17, 0.5);
}

popover.menu arrow.left,
popover.menu radio.left,
popover.menu check.left {
  margin-left: -2px;
  margin-right: 6px;
}

popover.menu arrow.right,
popover.menu radio.right,
popover.menu check.right {
  margin-left: 6px;
  margin-right: -2px;
}

popover.menu modelbutton {
  min-height: 30px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 5px;
}

popover.menu modelbutton:selected {
  color: white;
  background-color: #3b3e46;
}

popover.menu modelbutton:selected:active {
  background-color: #040405;
}

popover.menu label.title {
  font-weight: bold;
  padding: 4px 32px;
}

menubar {
  padding: 0px;
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
}

menubar>item {
  min-height: 16px;
  padding: 4px 8px;
}

menubar>item:selected {
  box-shadow: inset 0 -3px #2777ff;
  color: #8db7ff;
}

menubar>item:disabled {
  color: #888a8d;
  box-shadow: none;
}

menubar>item popover.menu.background>contents {
  padding: 5px;
}

menubar>item popover.menu popover.menu {
  padding: 0 0 4px 0;
}

menubar>item popover.menu.background popover.menu.background>contents {
  margin: 0;
  border-radius: 8px;
}

/*************
 * Notebooks *
 *************/
notebook {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

notebook>header>tabs>tab:checked {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

notebook:focus:focus-visible>header>tabs>tab:checked {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

notebook>header {
  padding: 1px;
  border-color: #0d0e11;
  border-width: 1px;
  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: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: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: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: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: none;
}

notebook>header>tabs>tab {
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 30px;
  min-width: 30px;
  padding: 3px 12px;
  color: #eeeeec;
  font-weight: normal;
  border-width: 1px;
  border-color: transparent;
}

notebook>header>tabs>tab:hover {
  color: #eeeeec;
  background-color: #121418;
}

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

notebook>header>tabs>tab:not(:checked) {
  outline-color: transparent;
}

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

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

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

notebook>header>tabs>tab button.flat {
  color: alpha(currentColor, 0.3);
  padding: 0;
  margin-top: 4px;
  margin-bottom: 4px;
  min-width: 20px;
  min-height: 20px;
}

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

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

notebook>header>tabs>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>tabs>tab {
  padding-bottom: 4px;
}

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

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

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

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>range>trough>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>range>trough>slider:hover {
  background-color: #c5c6c6;
}

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

scrollbar>range>trough>slider:disabled {
  background-color: transparent;
}

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

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

scrollbar>range.fine-tune.vertical>trough>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)>range>trough>slider {
  margin: 0;
  min-width: 3px;
  min-height: 3px;
  background-color: #eeeeec;
  border: 1px solid black;
}

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

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

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

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

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

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

/**********
 * Switch *
 **********/
switch {
  font-weight: bold;
  font-size: smaller;
  border: 1px solid #0d0e11;
  border-radius: 14px;
  color: #eeeeec;
  background-color: #16162e;
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
  /* only show i / o for the accessible theme */
}

switch {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

switch:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: 0;
}

headerbar switch {
  background-color: #0a0a0d;
}

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

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

switch>slider {
  color: #eeeeec;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: #0d0e11;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  margin: -1px;
  min-width: 24px;
  min-height: 24px;
  border: 1px solid;
  border-color: #0d0e11;
  border-radius: 50%;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

switch>image {
  color: transparent;
}

switch:hover>slider {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

switch:checked>slider {
  border: 1px solid #00348d;
}

switch:disabled>slider {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
}

row:selected switch {
  outline-color: rgba(255, 255, 255, 0.3);
}

/*************************
 * Check and Radio items *
 *************************/
.view.content-view.check:not(list),
iconview.content-view.check:not(list),
.content-view .tile check:not(list) {
  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 .tile check:hover:not(list) {
  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 .tile check:active:not(list) {
  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 .tile check:backdrop:not(list) {
  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 .tile check:checked:not(list) {
  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 .tile check:checked:hover:not(list) {
  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 .tile check:checked:active:not(list) {
  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 .tile check:backdrop:checked:not(list) {
  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 {
  border-spacing: 4px;
  border-radius: 4px;
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

checkbutton {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

checkbutton:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

checkbutton.text-button {
  padding: 4px;
}

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

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: #ffffff;
}

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

check:active,
radio:active {
  box-shadow: inset 0 1px black;
  background-image: image(#181a20);
}

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

check:checked,
radio:checked {
  background-clip: border-box;
  background-image: linear-gradient(to bottom, #4187ff 20%, #2777ff 90%);
  border-color: #00215a;
  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 black;
  background-image: image(#0e67ff);
}

check:checked:disabled,
radio:checked: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: #00215a;
  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 black;
  background-image: image(#0e67ff);
}

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

.osd check,
.osd radio {
  color: white;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
}

.osd check:hover,
.osd radio:hover {
  color: white;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
}

.osd check:active,
.osd radio:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#040405);
  background-clip: padding-box;
  box-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;
}


check {
  border-radius: 3px;
  -gtk-icon-size: 14px;
}

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

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

treeview.view radio:selected:focus,
treeview.view radio:selected,
radio {
  border-radius: 100%;
  -gtk-icon-size: 14px;
}

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

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

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

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

headerbar progressbar>trough,
headerbar scale>trough>fill,
headerbar scale>trough {
  background-color: #0a0a0d;
}

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

row:selected progressbar>trough,
row:selected scale>trough>fill,
row:selected scale>trough {
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #00348d;
}

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

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

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

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

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

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

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

scale {
  min-height: 10px;
  min-width: 10px;
  padding: 12px;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

scale>trough {
  outline: 0 solid transparent;
  outline-offset: 16px;
}

scale:focus:focus-visible>trough {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: 10px;
}

scale>trough {
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

scale>trough>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>trough>slider {
  margin: -6px;
}

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

scale>trough>fill:disabled {
  border-color: transparent;
  background-color: transparent;
}

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

.osd scale>trough>fill:disabled {
  border-color: transparent;
  background-color: transparent;
}

scale>trough>slider {
  color: #eeeeec;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: #0d0e11;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
  border-width: 1px;
  border-style: solid;
  border-radius: 100%;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: background, border, box-shadow;
}

scale>trough>slider:hover {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

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

scale>trough>slider:disabled {
  color: #888a8d;
  border-color: #0d0e11;
  background-image: image(#1d1d2e);
}

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

.osd scale>trough>slider {
  color: white;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: black;
  background-color: transparent;
  background-image: image(#303340);
  background-clip: padding-box;
  border-color: black;
  background-color: #303340;
}

.osd scale>trough>slider:hover {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#1a1c23);
  background-clip: padding-box;
  background-color: #303340;
}

.osd scale>trough>slider:active {
  color: white;
  border-color: black;
  background-color: transparent;
  background-image: image(#040405);
  background-clip: padding-box;
  box-shadow: none;
  background-color: #303340;
}

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

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

scale.horizontal>marks {
  color: alpha(currentColor, 0.55);
}

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

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

scale.horizontal>marks indicator {
  background-color: currentColor;
  min-height: 6px;
  min-width: 1px;
}

scale.horizontal>value.left {
  margin-right: 9px;
}

scale.horizontal>value.right {
  margin-left: 9px;
}

scale.horizontal.fine-tune>marks.top {
  margin-top: 3px;
}

scale.horizontal.fine-tune>marks.bottom {
  margin-bottom: 3px;
}

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

scale.vertical>marks {
  color: alpha(currentColor, 0.55);
}

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

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

scale.vertical>marks indicator {
  background-color: currentColor;
  min-height: 1px;
  min-width: 6px;
}

scale.vertical>value.top {
  margin-bottom: 9px;
}

scale.vertical>value.bottom {
  margin-top: 9px;
}

scale.vertical.fine-tune>marks.top {
  margin-left: 3px;
}

scale.vertical.fine-tune>marks.bottom {
  margin-right: 3px;
}

scale.vertical.fine-tune>marks indicator {
  min-height: 3px;
}

scale.horizontal.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-top: -11px;
}

scale.horizontal.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-top: -11px;
}

scale.horizontal.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-bottom: -11px;
}

scale.horizontal.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -7px -10px;
  margin-bottom: -11px;
}

scale.vertical.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-left: -11px;
}

scale.vertical.marks-before:not(.marks-after)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-left: -11px;
}

scale.vertical.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -10px -7px;
  margin-right: -11px;
}

scale.vertical.marks-after:not(.marks-before)>trough>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>trough>slider {
  margin: -10px -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>trough>slider:dir(ltr):hover,
scale.color.horizontal>trough>slider:dir(ltr):backdrop,
scale.color.horizontal>trough>slider:dir(ltr):disabled,
scale.color.horizontal>trough>slider:dir(ltr):backdrop:disabled,
scale.color.horizontal>trough>slider:dir(ltr),
scale.color.horizontal>trough>slider:dir(rtl):hover,
scale.color.horizontal>trough>slider:dir(rtl):backdrop,
scale.color.horizontal>trough>slider:dir(rtl):disabled,
scale.color.horizontal>trough>slider:dir(rtl):backdrop:disabled,
scale.color.horizontal>trough>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)>trough>slider:hover,
scale.color.vertical:dir(ltr)>trough>slider:backdrop,
scale.color.vertical:dir(ltr)>trough>slider:disabled,
scale.color.vertical:dir(ltr)>trough>slider:backdrop:disabled,
scale.color.vertical:dir(ltr)>trough>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)>trough>slider:hover,
scale.color.vertical:dir(rtl)>trough>slider:backdrop,
scale.color.vertical:dir(rtl)>trough>slider:disabled,
scale.color.vertical:dir(rtl)>trough>slider:backdrop:disabled,
scale.color.vertical:dir(rtl)>trough>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)>trough>slider,
scale.color.fine-tune.horizontal:dir(rtl)>trough>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)>trough>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)>trough>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 {
  min-width: 150px;
}

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

progressbar.vertical>trough {
  min-height: 80px;
}

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

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

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

progressbar>trough>progress {
  /* share most of scales' */
  /* override insensitive that is specific to progress */
  border-radius: 1.5px;
}

progressbar>trough>progress:disabled {
  background-color: #888a8d;
  border-color: #888a8d;
}

progressbar>trough>progress.left {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

progressbar>trough>progress.right {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

progressbar>trough>progress.top {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

progressbar>trough>progress.bottom {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

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>trough>progress {
  border-style: none;
  border-radius: 0;
}

progressbar>trough.empty>progress {
  all: unset;
}

/*************
 * Level Bar *
 *************/
levelbar.horizontal trough>block {
  min-height: 9px;
  border-radius: 5px;
}

levelbar.horizontal trough>block:dir(rtl) {
  border-radius: 0 5px 5px 0;
}

levelbar.horizontal trough>block:dir(ltr) {
  border-radius: 5px 0 0 5px;
}

levelbar.horizontal trough>block.empty,
levelbar.horizontal trough>block.full {
  border-radius: 5px;
}

levelbar.horizontal.discrete trough>block {
  min-height: 2px;
  margin: 1px;
  min-width: 24px;
  border-radius: 0;
}

levelbar.horizontal.discrete trough>block:first-child {
  border-radius: 2px 0 0 2px;
}

levelbar.horizontal.discrete trough>block:last-child {
  border-radius: 0 2px 2px 0;
}

levelbar.vertical trough>block {
  min-width: 9px;
  border-radius: 5px;
}

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

levelbar>trough {
  padding: 0;
}

levelbar>trough>block {
  border: 1px solid;
}

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

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

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

levelbar>trough>block.empty {
  background-color: #181a20;
  border-color: #181a20;
}

/****************
 * Print dialog *
*****************/
window.dialog.print drawing {
  color: #eeeeec;
  background: none;
  border: none;
  padding: 0;
}

window.dialog.print drawing paper {
  background: white;
  color: #2e3436;
  border: 1px solid #0d0e11;
}

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

/**********
 * Frames *
 **********/
frame,
.frame {
  border: 1px solid #0d0e11;
}

frame {
  border-radius: 7px;
}

frame>label {
  margin: 4px;
}

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

scrolledwindow>overshoot.top {
  background-image: radial-gradient(farthest-side at top, black 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at top, rgba(238, 238, 236, 0.07), rgba(238, 238, 236, 0));
  background-size: 100% 3%, 100% 50%;
  background-repeat: no-repeat;
  background-position: top;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow>overshoot.bottom {
  background-image: radial-gradient(farthest-side at bottom, black 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at bottom, rgba(238, 238, 236, 0.07), rgba(238, 238, 236, 0));
  background-size: 100% 3%, 100% 50%;
  background-repeat: no-repeat;
  background-position: bottom;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow>overshoot.left {
  background-image: radial-gradient(farthest-side at left, black 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at left, rgba(238, 238, 236, 0.07), rgba(238, 238, 236, 0));
  background-size: 3% 100%, 50% 100%;
  background-repeat: no-repeat;
  background-position: left;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow>overshoot.right {
  background-image: radial-gradient(farthest-side at right, black 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at right, rgba(238, 238, 236, 0.07), rgba(238, 238, 236, 0));
  background-size: 3% 100%, 50% 100%;
  background-repeat: no-repeat;
  background-position: right;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

scrolledwindow>junction {
  background: #0d0e11, linear-gradient(to bottom, transparent 1px, #262643 1px), linear-gradient(to right, transparent 1px, #262643 1px);
}

scrolledwindow>junction:dir(rtl) {
  background: #0d0e11, linear-gradient(to bottom, transparent 1px, #262643 1px), linear-gradient(to left, transparent 1px, #262643 1px);
}

separator {
  background: #181a20;
  min-width: 1px;
  min-height: 1px;
}

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

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

listview>row,
list>row {
  padding: 2px;
}

listview>row.expander,
list>row.expander {
  padding: 0px;
}

listview>row.expander .row-header,
list>row.expander .row-header {
  padding: 2px;
}

listview.horizontal row.separator,
listview.separators.horizontal>row:not(.separator),
list.horizontal row.separator,
list.separators.horizontal>row:not(.separator) {
  border-left: 1px solid #4f5159;
}

listview:not(.horizontal) row.separator,
listview.separators:not(.horizontal)>row:not(.separator),
list:not(.horizontal) row.separator,
list.separators:not(.horizontal)>row:not(.separator) {
  border-bottom: 1px solid #4f5159;
}

row {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

row {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

row:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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: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:selected {
  outline-color: rgba(255, 255, 255, 0.3);
}

columnview>listview>row {
  padding: 0;
}

columnview>listview>row>cell {
  padding: 8px 6px;
}

columnview>listview>row>cell:not(:first-child) {
  border-left: 1px solid transparent;
}

columnview.column-separators>listview>row>cell {
  border-left-color: #4f5159;
}

columnview.data-table>listview>row>cell {
  padding-top: 2px;
  padding-bottom: 2px;
}

treeexpander {
  border-spacing: 4px;
}

/********************************************************
 * Data Tables                                          *
 * treeview like tables with individual focusable cells *
 * https://gitlab.gnome.org/GNOME/gtk/-/issues/2929     *
 ********************************************************/
columnview row:not(:selected) cell editablelabel:not(.editing):focus-within {
  outline: 2px solid rgba(39, 119, 255, 0.7);
}

columnview row:not(:selected) cell editablelabel.editing:focus-within {
  outline: 2px solid #2777ff;
}

columnview row:not(:selected) cell editablelabel.editing text selection {
  color: #ffffff;
  background-color: #2777ff;
}

/*******************************************************
 * Rich Lists                                          *
 * Large list usually containing lots of widgets       *
 * https://gitlab.gnome.org/GNOME/gtk/-/issues/3073    *
 *******************************************************/
.rich-list {
  /* rich lists usually containing other widgets than just labels/text */
}

.rich-list>row {
  padding: 8px 12px;
  min-height: 32px;
  /* should be tall even when only containing a label */
}

.rich-list>row>box {
  border-spacing: 12px;
}

/*********************
 * App Notifications *
 *********************/
.app-notification {
  padding: 10px;
  border-spacing: 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 border {
  border: none;
}

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

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

expander:disabled {
  color: #888a8d;
}

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

expander-widget {
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

expander-widget>box>title {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

expander-widget:focus:focus-visible>box>title {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

expander-widget>box>title {
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 4px;
}

expander-widget>box>title:hover>expander {
  color: white;
}

.navigation-sidebar:not(decoration):not(window):drop(active):focus,
.navigation-sidebar:not(decoration):not(window):drop(active),
placessidebar:not(decoration):not(window):drop(active):focus,
placessidebar:not(decoration):not(window):drop(active),
stackswitcher:not(decoration):not(window):drop(active):focus,
stackswitcher:not(decoration):not(window):drop(active),
expander-widget:not(decoration):not(window):drop(active):focus,
expander-widget:not(decoration):not(window):drop(active) {
  box-shadow: none;
}

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

calendar>header {
  border-bottom: 1px solid #0d0e11;
}

calendar>header>button {
  border: none;
  box-shadow: none;
  background: none;
  border-radius: 0;
}

calendar>header>button:backdrop {
  background: none;
}

calendar>grid>label.today {
  box-shadow: inset 0px -2px #0d0e11;
}

calendar>grid>label.today:selected {
  box-shadow: none;
}

calendar>grid>label:focus {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-offset: -2px;
  outline-width: 2px;
  outline-style: solid;
}

calendar>grid>label.day-number {
  padding: 4px;
}

calendar>grid>label.day-number:selected {
  border-radius: 3px;
}

calendar>grid>label.day-number.other-month {
  color: alpha(currentColor, 0.3);
}

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

window.dialog.message box.dialog-vbox.vertical {
  border-spacing: 10px;
}

window.dialog.message label.title {
  font-weight: 800;
  font-size: 15pt;
}

window.dialog.message.csd.background {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

window.dialog.message.csd .dialog-action-area button {
  padding: 10px 14px;
  border-radius: 0;
  border-left-style: solid;
  border-right-style: none;
  border-bottom-style: none;
}

window.dialog.message.csd .dialog-action-area button:first-child {
  border-left-style: none;
  border-bottom-left-radius: 7px;
}

window.dialog.message.csd .dialog-action-area button:last-child {
  border-bottom-right-radius: 7px;
}

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

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

filechooserbutton>button>box {
  border-spacing: 6px;
}

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

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

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

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

.sidebar listview.view,
.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 list.separators:not(.horizontal)>row:not(.separator) {
  border-bottom: none;
}

stacksidebar row {
  padding: 10px 4px;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

stacksidebar row {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

stacksidebar row:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

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

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

stacksidebar row:selected {
  background-color: #3b3e46;
  border-radius: 5px;
  color: #eeeeec;
}

stacksidebar row:selected:hover:dir(ltr),
stacksidebar row:selected:hover:dir(rtl) {
  background-color: #2f3238;
}

stacksidebar row.activatable:active,
stacksidebar row.activatable:selected:active {
  box-shadow: none;
}

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

/**********************
 * Navigation Sidebar *
 **********************/
.navigation-sidebar {
  padding: 5px 0;
}

.navigation-sidebar>separator {
  margin: 5px;
}

.navigation-sidebar>row {
  min-height: 36px;
  padding: 0 8px;
  border-radius: 5px;
  margin: 0 5px 2px;
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

.navigation-sidebar>row {
  outline: 0 solid transparent;
  outline-offset: 4px;
}

.navigation-sidebar>row:focus-visible:focus-within {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: -2px;
}

.navigation-sidebar>row:hover {
  background-color: #2f3238;
}

.navigation-sidebar>row:selected {
  background-color: #3b3e46;
  color: inherit;
}

.navigation-sidebar>row:selected:hover {
  background-color: #2f3238;
}

.navigation-sidebar>row:disabled {
  color: #888a8d;
}

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

/* this should be more generic, only using .navigation-sidebar
   https://gitlab.gnome.org/GNOME/gtk/-/issues/2929
*/
placessidebar .navigation-sidebar>row {
  padding: 0;
}

placessidebar .navigation-sidebar>row>revealer {
  padding: 0 14px;
}

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

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

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

placessidebar .navigation-sidebar>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%;
}

placessidebar .navigation-sidebar>row:selected:active {
  box-shadow: none;
}

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

placessidebar .navigation-sidebar>row.sidebar-new-bookmark-row {
  color: #2777ff;
}

placessidebar .navigation-sidebar>row:drop(active):not(:disabled) {
  color: #19a187;
  box-shadow: inset 0 1px #19a187, inset 0 -1px #19a187;
}

placessidebar .navigation-sidebar>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>actionbar>revealer>box>box {
  border-spacing: 6px;
}

/*********
 * 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.wide {
  min-width: 5px;
  min-height: 5px;
  background-color: #16162e;
  background-image: image(#0d0e11), image(#0d0e11);
  background-size: 1px 1px, 1px 1px;
}

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;
}

/**************
 * GtkVideo *
 **************/
video {
  background: black;
}

video image.osd {
  min-width: 64px;
  min-height: 64px;
  border-radius: 32px;
}

/************
 * Tooltips *
 ************/
tooltip {
  padding: 6px 10px;
  border-radius: 7px;
  box-shadow: none;
}

tooltip.background {
  background-color: rgba(0, 0, 0, 0.8);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

tooltip>box {
  border-spacing: 6px;
}

/*****************
 * Color Chooser *
 *****************/
colorswatch {
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

colorswatch {
  outline: 0 solid transparent;
  outline-offset: 6px;
}

colorswatch:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 4px;
  outline-offset: -2px;
}

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>overlay {
  color: white;
}

colorswatch.dark.activatable:hover>overlay {
  border-color: #0d0e11;
}

colorswatch.light>overlay {
  color: black;
}

colorswatch.light.activatable:hover>overlay {
  border-color: #0d0e11;
}

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.activatable:hover>overlay {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.2);
}

colorswatch#add-color-button {
  border-radius: 5px 0 0 5px;
}

colorswatch#add-color-button:only-child {
  border-radius: 5px;
}

colorswatch#add-color-button>overlay {
  color: #eeeeec;
  outline-color: rgba(39, 119, 255, 0.7);
  border-color: #0d0e11;
  background-image: image(#1d1d3d);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

colorswatch#add-color-button.activatable:hover>overlay {
  color: #eeeeec;
  border-color: #0d0e11;
  background-image: linear-gradient(to top, #1e2128 20%, #20232b 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0px rgba(6, 7, 8, 0.75), 0 1px 2px rgba(0, 0, 0, 0.27);
}

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;
}

plane {
  transition: outline-width 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), outline-offset 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-property: outline, outline-width, outline-offset, outline-color;
  transition-duration: 300ms;
  animation-timing-function: ease-in-out;
}

plane {
  outline: 0 solid transparent;
  outline-offset: 6px;
}

plane:focus:focus-visible {
  outline-color: rgba(39, 119, 255, 0.7);
  outline-width: 2px;
  outline-offset: 2px;
}

colorchooser .popover.osd {
  border-radius: 5px;
}

/********
 * Misc *
 ********/
.content-view {
  background-color: #13151a;
}

.content-view:hover {
  -gtk-icon-filter: brightness(1.2);
}

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

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

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

.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 *
 *********************/
window {
  border-width: 0px;
}

window.csd {
  box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.75);
  margin: 0px;
  border-radius: 7px 7px 0 0;
}

window.csd: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;
}

window.csd.popup {
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.65);
}

window.csd.dialog.message {
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.65);
}

window.solid-csd {
  margin: 0;
  padding: 4px;
  border: solid 1px #0d0e11;
  border-radius: 0;
  box-shadow: inset 0 0 0 4px #0d0e11, inset 0 0 0 3px #1c1e25, inset 0 1px rgba(238, 238, 236, 0.07);
}

window.solid-csd:backdrop {
  box-shadow: inset 0 0 0 4px #0d0e11, inset 0 0 0 3px #16162e, inset 0 1px rgba(238, 238, 236, 0.07);
}

window.maximized,
window.fullscreen {
  border-radius: 0;
  box-shadow: none;
}

window.tiled,
window.tiled-top,
window.tiled-left,
window.tiled-right,
window.tiled-bottom {
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 0 0 20px transparent;
}

window:backdrop {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 0 0 20px transparent;
}

window.popup {
  box-shadow: none;
}

window.ssd {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}

tooltip.csd {
  border-radius: 5px;
  box-shadow: none;
}

.view:selected:focus,
.view:selected,
textview>text:selected:focus,
textview>text:selected,
textview>text>selection:focus,
textview>text>selection,
iconview:selected:focus,
iconview:selected,
flowbox>flowboxchild:selected,
gridview>child:selected,
entry>text>selection,
modelbutton.flat:selected,
spinbutton:not(.vertical)>text>selection,
spinbutton.vertical>text>text>selection,
spinbutton.vertical>text>selection,
columnview.view:selected:focus,
columnview.view:selected,
treeview.view:selected:focus,
treeview.view:selected,
row:selected,
calendar>grid>label.day-number:selected {
  background-color: #2777ff;
}

label:selected,
.view:selected:focus,
.view:selected,
textview>text:selected:focus,
textview>text:selected,
textview>text>selection:focus,
textview>text>selection,
iconview:selected:focus,
iconview:selected,
flowbox>flowboxchild:selected,
gridview>child:selected,
entry>text>selection,
modelbutton.flat:selected,
spinbutton:not(.vertical)>text>selection,
spinbutton.vertical>text>text>selection,
spinbutton.vertical>text>selection,
columnview.view:selected:focus,
columnview.view:selected,
treeview.view:selected:focus,
treeview.view:selected,
row:selected,
calendar>grid>label.day-number:selected {
  color: #ffffff;
}

label:disabled>selection,
label:disabled:selected,
.view:disabled:selected,
textview>text:disabled:selected:focus,
textview>text:disabled:selected,
textview>text>selection:disabled,
iconview:disabled:selected:focus,
iconview:disabled:selected,
flowbox>flowboxchild:disabled:selected,
gridview>child:disabled:selected,
entry>text>selection:disabled,
modelbutton.flat:disabled:selected,
spinbutton:not(.vertical)>text>selection:disabled,
spinbutton.vertical>text>text>selection:disabled,
spinbutton.vertical>text>selection:disabled,
columnview.view:disabled:selected,
treeview.view:disabled:selected,
row:disabled:selected,
calendar>grid>label.day-number:disabled:selected {
  color: #93bbff;
}

.monospace {
  font-family: monospace;
}

/**********************
 * Touch Copy & Paste *
 *********************/
cursor-handle {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  border-style: none;
  min-width: 20px;
  min-height: 24px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}

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"));
}

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"));
}

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"));
}

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"));
}

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"));
}

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"));
}

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"));
}

shortcuts-section {
  margin: 20px;
}

.shortcuts-search-results {
  margin: 20px;
  border-spacing: 24px;
}

shortcut {
  border-spacing: 6px;
}

shortcut>.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;
}

: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.circular {
  border-spacing: 12px;
}

stackswitcher.circular>button.circular,
stackswitcher.circular>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);
}

/* Drapshadow 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>contents {
  padding: 0;
}

.emoji-searchbar {
  padding: 6px;
  border-spacing: 6px;
  border-bottom: 1px solid #0d0e11;
}

.emoji-toolbar {
  padding: 6px;
  border-spacing: 6px;
  border-top: 1px solid #0d0e11;
}

button.emoji-section {
  border-color: transparent;
  border-width: 3px;
  border-style: none none solid;
  border-radius: 0;
  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;
}

button.emoji-section:hover {
  border-color: rgba(238, 238, 236, 0.1);
}

button.emoji-section:checked {
  border-color: #2777ff;
}

popover.emoji-picker emoji {
  font-size: x-large;
  padding: 6px;
  border-radius: 6px;
}

popover.emoji-picker emoji:focus,
popover.emoji-picker emoji:hover {
  background: #2777ff;
}

emoji-completion-row>box {
  border-spacing: 10px;
  padding: 2px 10px;
}

emoji-completion-row:focus,
emoji-completion-row:hover {
  background-color: #2777ff;
  color: #ffffff;
}

emoji-completion-row emoji:focus,
emoji-completion-row emoji:hover {
  background-color: #3b3e46;
}

popover.entry-completion>contents {
  padding: 0;
}

statusbar {
  padding: 6px 10px 6px 10px;
}

menubutton arrow {
  min-height: 16px;
  min-width: 16px;
}

menubutton arrow.none {
  -gtk-icon-source: -gtk-icontheme("open-menu-symbolic");
}

menubutton arrow.down {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

menubutton arrow.up {
  -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

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

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

/***************************
 * 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);
}

/**********
 * Button *
 **********/
windowcontrols button,
notebook>header>tabs>arrow,
button {
  padding: 2px 6px;
}

.titlebar:not(headerbar) stackswitcher button:checked:checked,
.titlebar:not(headerbar) button.toggle:active,
.titlebar:not(headerbar) button.toggle:checked,
headerbar stackswitcher button:checked:checked,
headerbar button.toggle:active,
headerbar button.toggle:checked,
button.flat:not(.link):hover,
button:active,
button:checked {
  background: #16162e;
  box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
}

.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:checked,
headerbar button.toggle:backdrop:active,
headerbar button.toggle:backdrop:checked,
button.flat:backdrop:not(.link):hover,
button:active:backdrop,
button:checked:backdrop {
  box-shadow: none;
}


button:disabled {
  box-shadow: none;
}


button.flat:not(.link):hover {
  transition: none;
}


button.flat:not(.link):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.image-button {
  padding-left: 2px;
  padding-right: 2px;
}


button.circular {
  min-height: 24px;
  min-width: 24px;
  padding: 2px;
}

/**********
 * Entry  *
 **********/
spinbutton:not(.vertical),
spinbutton.vertical>text,
entry {
  min-height: 28px;
}

spinbutton:not(:disabled):not(.vertical),
spinbutton.vertical>text:not(:disabled),
entry:not(:disabled) {
  box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
  background: #16162e;
}

spinbutton:backdrop:not(.vertical),
spinbutton.vertical>text:backdrop,
entry:backdrop {
  box-shadow: none;
  border-color: #0d0e11;
}

headerbar spinbutton:not(.vertical),
headerbar spinbutton.vertical>text,
headerbar entry {
  background: #262643;
}

/**********
 * Switch *
 **********/
switch {
  box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
}

switch:checked {
  border-right-width: 0;
  margin-right: 1px;
  box-shadow: inset 0 1px 3px -1px rgba(0, 0, 0, 0.6);
}

switch:checked,
switch:checked:backdrop {
  border-color: rgba(0, 0, 0, 0.2);
}

switch:checked slider {
  border-color: #0d0e11;
}

switch:checked slider:backdrop:not(:disabled) {
  border-color: #0d0e11;
}

switch:backdrop,
switch:disabled {
  box-shadow: none;
  border-color: #0d0e11;
}

switch:backdrop slider,
switch:disabled slider {
  border-color: #0d0e11;
}

/*************************
 * Check and Radio items *
 *************************/
check,
radio {
  background-image: linear-gradient(to bottom, #1e2128 20%, #1a1c23 90%);
  border-color: black;
}

check,
check:active,
radio,
radio:active {
  box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
}

check:checked,
check:indeterminate,
radio:checked,
radio:indeterminate {
  background-image: linear-gradient(to bottom, #2777ff 20%, #1d71ff 90%);
  border-color: #00348d;
  color: #ffffff;
}

check:checked,
check:checked:active,
check:indeterminate,
check:indeterminate:active,
radio:checked,
radio:checked:active,
radio:indeterminate,
radio:indeterminate:active {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.27);
}

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

check:disabled,
check:disabled:checked,
check:disabled:indeterminate,
check:disabled:backdrop,
check:disabled:backdrop:checked,
check:disabled:backdrop:indeterminate,
radio:disabled,
radio:disabled:checked,
radio:disabled:indeterminate,
radio:disabled:backdrop,
radio:disabled:backdrop:checked,
radio:disabled:backdrop:indeterminate {
  border-color: #0d0e11;
  background-image: image(#16162e);
  color: #eeeeec;
}

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;
}

/************
 * GtkScale *
 ************/
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), 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:backdrop,
switch slider:disabled,
scale slider:backdrop,
scale slider:disabled {
  border-color: #0d0e11;
  background-image: image(#16162e);
  box-shadow: none;
}

/*****************
 * Title buttons *
 *****************/
windowcontrols {
  margin: 0 5px;
}

windowcontrols.end {
  margin-left: 11px;
}

windowcontrols.right {
  margin-right: 11px;
}

windowcontrols button {
  color: transparent;
  background: #383d4b;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  border: 1px solid black;
  box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
  -gtk-icon-shadow: none;
  transition: all .2s;
}

windowcontrols button:hover {
  color: #eeeeec;
  background: #383d4b;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

windowcontrols button.close {
  color: black;
  background: #2777ff;
  border-color: transparent;
}

windowcontrols button.close:hover {
  color: white;
  background: #3d85ff;
}

windowcontrols button:backdrop,
windowcontrols button:backdrop:hover {
  color: transparent;
  background: transparent;
  box-shadow: none;
  border-color: #0d0e11;
  background: rgba(0, 0, 0, 0.3);
}

/***************
 * Header bars *
 ***************/
.titlebar:not(headerbar),
headerbar {
  min-height: 40px;
  border-color: black;
  background: #0d0e11 -gtk-scaled(url("assets/kali-headerbar-logo-dark.png"), url("assets/kali-headerbar-logo-dark@2.png")), 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;
}

.titlebar:backdrop:not(headerbar),
headerbar:backdrop {
  background-image: -gtk-scaled(url("assets/kali-headerbar-logo-dark.png"), url("assets/kali-headerbar-logo-dark@2.png"));
  background-repeat: no-repeat;
  background-position: left;
  box-shadow: none;
}

.dialog .titlebar:not(headerbar),
.dialog headerbar,
.dialog headerbar:backdrop {
  background: #16162e;
  border: 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;
}

/**************
 * 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);
  margin-left: -1px;
}

treeview.view header button:hover,
treeview.view header button:active {
  border-color: #0d0e11;
}

treeview.view header button:backdrop {
  box-shadow: none;
}

/*************
 * 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 {
  padding: 3px 12px;
  border: 1px solid transparent;
  margin: 3px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

notebook>header.top>tabs>tab:hover,
notebook>header.top>tabs>tab.reorderable-page:hover,
notebook>header.bottom>tabs>tab:hover,
notebook>header.bottom>tabs>tab.reorderable-page:hover,
notebook>header.left>tabs>tab:hover,
notebook>header.left>tabs>tab.reorderable-page:hover,
notebook>header.right>tabs>tab:hover,
notebook>header.right>tabs>tab.reorderable-page: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);
  transition-duration: 50ms;
}

notebook>header.top>tabs>tab:hover:backdrop,
notebook>header.top>tabs>tab.reorderable-page:hover:backdrop,
notebook>header.bottom>tabs>tab:hover:backdrop,
notebook>header.bottom>tabs>tab.reorderable-page:hover:backdrop,
notebook>header.left>tabs>tab:hover:backdrop,
notebook>header.left>tabs>tab.reorderable-page:hover:backdrop,
notebook>header.right>tabs>tab:hover:backdrop,
notebook>header.right>tabs>tab.reorderable-page:hover: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;
}

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);
  transition: 200ms ease-out;
}

notebook>header.top>tabs>tab:backdrop,
notebook>header.top>tabs>tab.reorderable-page:backdrop,
notebook>header.bottom>tabs>tab:backdrop,
notebook>header.bottom>tabs>tab.reorderable-page:backdrop,
notebook>header.left>tabs>tab:backdrop,
notebook>header.left>tabs>tab.reorderable-page:backdrop,
notebook>header.right>tabs>tab:backdrop,
notebook>header.right>tabs>tab.reorderable-page:backdrop {
  color: #888a8d;
}

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>tabs>tab {
  border-radius: 4px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 24px;
}

notebook>header>tabs>tab button.flat {
  margin-top: 1px;
  margin-bottom: 1px;
}

/**************
 * Scrollbars *
 **************/
scrollbar>range>trough>slider {
  min-width: 6px;
  min-height: 6px;
}

scrollbar>range.fine-tune>trough>slider {
  min-width: 3px;
  min-height: 3px;
}

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 0 10px;
  margin: 5px;
  border-radius: 7px;
  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;
}

/**********************
 * Window Decorations *
 *********************/
window.csd {
  border-radius: 8px 8px 5px 5px;
  border: 1px solid #262643;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(13, 14, 17, 0.75);
}

window.csd:backdrop {
  box-shadow: 0 2px 8px 0 transparent, 0 0 0 1px transparent, 0 0 0 3px rgba(0, 0, 0, 0.25);
}

window.csd.dialog.message,
window.csd.popup {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(13, 14, 17, 0.65);
  border-width: 0;
}

window.maximized,
window.fullscreen,
window.tiled,
window.tiled-top,
window.tiled-left,
window.tiled-right,
window.tiled-bottom {
  border-width: 0;
}

window.popup {
  border-width: 0;
}

window.ssd {
  box-shadow: 0 0 0 1px rgba(13, 14, 17, 0.75);
  border-width: 0;
}

tooltip.csd {
  border: 0;
}

/* 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;
}