/***** Roundcube|Filters styles *****/


#filterslist
{
  position: absolute;
  left: 20px;
  top: 120px;
  bottom: 20px;
  border: 1px solid #999999;
  overflow: auto;
  /* css hack for IE */
  height: expression((parseInt(document.documentElement.clientHeight)-140)+'px');
}

#filters-table
{
  width: 100%;
  table-layout: fixed;
  /* css hack for IE */
  width: expression(document.getElementById('filterslist').clientWidth);
}

#filters-table tbody td
{
  cursor: pointer;
}

#filters-table tbody tr.disabled td
{
  color: #999999;
}

#filtersbuttons
{
  position: absolute;
  left: 20px;
  top: 85px;
}

#filtersetsbuttons
{
  position: absolute;
  left: 230px;
  top: 85px;
}

#filtersbuttons a,
#filtersetsbuttons a
{
  display: block;
  float: left;
}

#filtersbuttons a.button,
#filtersbuttons a.buttonPas,
#filtersetsbuttons a.button,
#filtersetsbuttons a.buttonPas
{
  display: block;
  float: left;
  width: 32px;
  height: 32px;
  padding: 0;
  margin-right: 3px;
  overflow: hidden;
  background: url(managesieve_toolbar.png) 0 0 no-repeat transparent;
  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
}

#filtersbuttons a.buttonPas,
#filtersetsbuttons a.buttonPas
{
  filter: alpha(opacity=35);
  opacity: 0.35;
}

#filtersbuttons a.add {
  background-position: 0px 0px;
}

#filtersbuttons a.addsel {
  background-position: 0 -32px;
}

#filtersbuttons a.del {
  background-position: -32px 0px;
}

#filtersbuttons a.delsel {
  background-position: -32px -32px;
}

#filtersbuttons a.up {
  background-position: -64px 0px;
}

#filtersbuttons a.upsel {
  background-position: -64px -32px;
}

#filtersbuttons a.down {
  background-position: -96px 0px;
}

#filtersbuttons a.downsel {
  background-position: -96px -32px;
}

#filtersetsbuttons a.setadd {
  background-position: -128px 0px;
}

#filtersetsbuttons a.setaddsel {
  background-position: -128px -32px;
}

#filtersetsbuttons a.setdel {
  background-position: -160px 0px;
}

#filtersetsbuttons a.setdelsel {
  background-position: -160px -32px;
}

#filtersetsbuttons a.setset {
  background-position: -192px 0px;
}

#filtersetsbuttons a.setsetsel {
  background-position: -192px -32px;
}

#filtersetsbuttons a.setget {
  background-position: -224px 0px;
}

#filtersetsbuttons a.setgetsel {
  background-position: -224px -32px;
}

#filtersetselect
{
  position: absolute;
  left: 375px;
  top: 90px;
}

#filter-box
{
  position: absolute;
  top: 120px;
  right: 20px;
  bottom: 20px;
  border: 1px solid #999999;
  overflow: hidden;
  /* css hack for IE */
  width: expression((parseInt(document.documentElement.clientWidth)-40-parseInt(document.getElementById('filterslist').offsetWidth))+'px');
  height: expression((parseInt(document.documentElement.clientHeight)-140)+'px');
}

#filter-frame
{
  border: none;
}

body.iframe
{
  min-width: 740px;
  width: expression(Math.max(740, document.documentElement.clientWidth)+'px');
}

#filter-form
{
  min-width: 650px;
  white-space: nowrap;
  padding: 20px 10px 10px 10px;
}

legend, label
{
  color: #666666;
}

#rules, #actions
{
  margin-top: 5px;
  padding: 0;
  border-collapse: collapse;
}

div.rulerow, div.actionrow
{
  width: auto;
  padding: 2px;
  white-space: nowrap;
  border: 1px solid #F2F2F2;
}

div.rulerow:hover, div.actionrow:hover
{
  padding: 2px;
  white-space: nowrap;
  background: #F9F9F9;
  border: 1px solid silver;
}

div.rulerow table, div.actionrow table
{
  padding: 0px;
  width: 100%;
}

td.rowbuttons
{
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

td.rowactions
{
  white-space: nowrap;
  width: 1%;
}

td.rowtargets
{
  white-space: nowrap;
  width: 98%;
  padding-left: 10px;
}

input.disabled, input.disabled:hover
{
  color: #999999;
}

input.error, textarea.error
{
  background-color: #FFFF88;
}

input.box,
input.radio
{
  border: 0;
}

span.label
{
  color: #666666;
  font-size: 10px;
  white-space: nowrap;
}

#footer
{
  padding-top: 5px;
  width: 100%;
}
  
#footer .footerleft
{
  padding-left: 2px;
  white-space: nowrap;
  float: left;
}

#footer .footerright
{
  padding-right: 2px;
  white-space: nowrap;
  text-align: right;
  float: right;
}

.itemlist
{
  line-height: 25px;
}

.itemlist input
{
  vertical-align: middle;
}

span.sieve.error
{
  color: red;
}

#managesieve-tip
{
  width: 200px;
}
