img.desaturate {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: url(../../../desaturate.svg#greyscale);
filter: gray;
-webkit-filter: grayscale(1);
}	

/* --------------- Tabshit ---------------------------------- */



/* Style the tab */
.tab {
  float: left;
  
  background-color: var(--grey);
  width: 50px;
  height: 300px;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: var(--fontdark);
  padding: 22px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 27px;
	text-align: center;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: none;
}

/* Create an active/current "tab button" class */
.tab button.active {
  color: <if $GLOBALS['mybb']->userfields['fid447'] then> background-color: {$GLOBALS['mybb']->userfields['fid447']};<else> background-color: var(--links); </if>;
}

/* Style the tab content */
.tabcontent {
  float: left;
  padding: 0px 12px;
  width: 500px;
	background-color: var(--grey);
  border-left: none;
  height: 300px;
	color: var(--fontdark);
}
		
		
		
		