/**
 * ContextMenu plugin styles
 */

.contextRow td,
#mailboxlist li.contextRow,
#directorylistbox li.contextRow
{
  background-color: #C7E3EF;
}


ul.rcmcontextmenu
{
  padding-top: 3px;
  min-width: 220px;
}

ul.rcmcontextmenu li
{
  margin: 0;
}

ul.rcmcontextmenu li ul,
ul.rcmcontextmenu li div
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: auto;
  display: none;
  background-color: #fff;
  border: 1px solid #999;
  padding: 1px;
  z-index: 901;
  box-shadow: 0 2px 6px 0 #333;
  -moz-box-shadow: 0 2px 6px 0 #333;
  -webkit-box-shadow: 0 2px 6px 0 #333;
  -o-box-shadow: 0 2px 6px 0 #333;
}

ul.rcmcontextmenu li.conmentitle,
ul.rcmcontextmenu li.submenu
{
  padding: 6px 10px;
  cursor: default;
}

ul.rcmcontextmenu li.submenu
{
  position: relative;
}

ul.rcmcontextmenu li.submenu span {
  cursor: pointer;
}

ul.rcmcontextmenu li.sublink
{
  padding: 0 8px 0 0;
}


#rcmContextMenu li.topreply a span,
#rcmContextMenu li.markmessage a span,
#rcmAddressMenu li.contactgroup a span {
  text-indent: 10px;
  display: inline;
}

ul.rcmcontextmenu li.submenu:hover,
ul.rcmcontextmenu li.submenu:hover a.mainlink
{
  background-color: #00aad6;
  background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9));
  background: -o-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: -ms-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: linear-gradient(top, #00aad6 0%, #008fc9 100%);
}

ul.rcmcontextmenu li a
{
  padding: 6px 10px;
  margin-left: 0;
}



 ul.rcmcontextmenu li a.active:hover
{
  background-color: #00aad6;
  background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9));
  background: -o-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: -ms-linear-gradient(top, #00aad6 0%, #008fc9 100%);
  background: linear-gradient(top, #00aad6 0%, #008fc9 100%);
}

ul.rcmcontextmenu a.disabled
{
  opacity: 0.5;
  filter: alpha(opacity=50);
}

ul.rcmcontextmenu a.disabled span
{
  cursor: default;
}

ul.rcmcontextmenu a.disabled:hover
{
  background-color: #444444;
  background: -moz-linear-gradient(top, #444444 0%, #444444 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#444444));
  background: -o-linear-gradient(top, #444444 0%, #444444 100%);
  background: -ms-linear-gradient(top, #444444 0%, #444444 100%);
  background: linear-gradient(top, #444444 0%, #444444 100%);
}
ul.rcmcontextmenu li.conmentitle span,
ul.rcmcontextmenu li.submenu span
{
  display: inline;
  padding: 6px 10px 6px 10px;
}

ul.rcmcontextmenu li a span
{
  display: inline;
  padding: 6px 10px 6px 0px;
  cursor: pointer;
  text-overflow: ellipsis;
  max-width: 20em;
  overflow: hidden;
}

ul.rcmcontextmenu div.popupmenu
{
  height: 250px;
  padding: 0;
}

ul.rcmcontextmenu ul.scrollmenu {
  max-height: 190px;
  overflow-x: hidden;
  overflow-y: auto;
}

span.label {
  font-family: sans-serif;
  display:inline!important;
}

span.expand {
    display: inline!important;
    float: right;
    padding: 0!important;
}
