/** Set display to none to prevent element "jumping" in screen **/
#taskmenu a.button-cpwebmail {
  display: none;
}

#taskmenu a.button-cpwebmail {
  background-image: url(images/cp-tool.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
}

html.dark-mode {
  #taskmenu a.button-cpwebmail {
    background-image: url(images/cp-tool-dark.svg);
  }
}

#toolbar-list-menu li a.button-cptrashempty {
  display: none;
}

#toolbar-list-menu li a.button-cptrashempty::before {
  font-size: 1.25em;
  display: block;
  font-family: Icons;
  font-style: normal;
  text-decoration: inherit;
  text-align: top;
  font-weight: 900;
  content: '\f794';
}

@media screen and (max-width: 480px) {
  #taskmenu a.button-cpwebmail {
    text-align: left;
    height: 47px;
    background-size: 10%;
    background-position-y: 11px;
    background-position-x: 9px;
    width: 100%;
  }

  #taskmenu a.button-cpwebmail > span {
    display: inline-block;
    width: 100px;
    line-height: 16px;
    margin-top: 6px;
    white-space: normal;
  }
}
