* {
	/* `otf-font-awesome` is required to be installed for icons */
	font-family: Symbols Nerd Font, sans-serif;
	font-size: 14px;
}

tooltip {
	background: rgba(25, 25, 25, 0.9);
	border: solid 2px rgba(80, 80, 80, 0.9);
	border-radius: 0px;
	font-weight: normal;
}


window#waybar {
	color: #ffffff;
	background-color: rgba(0, 0, 0, 1.0);
	transition-property: background-color;
	transition-duration: .5s;
}

window#waybar.hidden {
	opacity: 0.2;
}

button {
	/* Use box-shadow instead of border so the text isn't offset */
	box-shadow: none;
	/* Avoid rounded borders under each button name */
	border: none;
	border-radius: 0;
}

/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
	background: inherit;
    transition: none;
}

#workspaces button {
	color: #999999;
	background-color: transparent;
	padding: 0 4px;
}

#workspaces button:hover {
    color: #ffffff;
	background-color: #2c2c2c;
}

#workspaces button.focused,
#workspaces button.active {
    color: #ffffff;
	font-weight: bold;
}

#workspaces button.urgent {
	color: #9b0000;
}

#mode,
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#bluetooth,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
	color: #ffffff;
	padding: 0 8px;
}

#window,
#workspaces {
	margin: 0 4px;
}

/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
	margin-left: 0;
}

/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
	margin-right: 0;
}

#battery.critical:not(.charging) {
	color: #9b0000
}
