/* Virtmail styles */
/* $Header$ */

/* General stuff */
body
{
	color:              #000000;
	background-color:   #AAAAAA;
}

body div.main
{
	width:              90%;
	border:             10px #888888 outset;
	margin:             10px auto;
	padding:            0px 10px 20px 10px;
	text-align:         center; /* IE hack */
	color:              #000000;
	background-color:   #FAFAFA;
}

body div.login
{
	width:              66%; /* Override for login page */
}

body div.main div.main2
{
	text-align:         left; /* Undo IE hack */
	margin:             0;
	padding:            0;
	border:             0;
}

h1,h2,h3,h4,h5,h6
{
	font-variant:       small-caps;
}

img
{
	border:             0;
}

div.clear
{
	clear:              both;
	font-size:          .1em;
	line-height:        0;
}

.error
{
	color:              #FF0000;
}


/* Domain/user lists */
table.dulist
{
	width:              99%; /* Fudge for border */
	border:             1px #000000 outset;
	border-collapse:    collapse;
	empty-cells:        show;
	margin:             0 auto;
	text-align:         center; /* IE hack */
}

table.dulist tr
{
	text-align:         left; /* Undo IE hack */
}

table.dulist th
{
	text-align:         center;
}

table.dulist td, table.dulist th
{
	border:             1px #000000 solid;
	padding:            2px 4px;
}

/* User counts special bits */
table.dulist th.uhd
{
	border-bottom:      0;
	text-align:         center;
}
table.dulist th.ushd
{
	border-top:         0;
}
table.dulist th.uc_cur, table.dulist td.uc_cur
{
	text-align:         right;
	border-right:       0;
}
table.dulist th.uc_sls, table.dulist td.uc_sls
{
	text-align:         center;
	padding:            0;
	border-left:        0;
	border-right:       0;
}
table.dulist th.uc_max, table.dulist td.uc_max
{
	text-align:         left;
	border-left:        0;
}

table.dulist tr.even
{
	/* Inherit normal */
}

table.dulist tr.odd
{
	background-color:   #F0F0F0;
}

table.dulist td.quota, table.dulist td.doact
{
	text-align:         center;
}


/* Some things we don't need too big */
span.atdom, span.extra
{
	font-size:          .75em;
}

span.forward
{
	font-size:          .9em;
}


/* Some things we want to draw some attention to */
span.luname
{
	font-weight:        bold;
}


/* Some positioning */
div.dombody
{
	width:              95%;
	margin:             0 auto;
	text-align:         center; /* IE */
}

div.modelinks
{
	width:              25%;
	float:              right;
	text-align:         right;
	margin-bottom:      5px;
	border:             1px #AAAAAA dotted;
	color:              #000000;
	background-color:   #FDFDFD;
	text-align:         center;
	clear:              right;
}

div.duinfo
{
	width:              70%;
	text-align:         left;
}

div.dulist
{
	clear:              both;
	text-align:         left;
}

div.foot
{
	clear:              both;
	margin-top:         3em;
	text-align:         center;
	font-size:          .75em;
}

div.foot p
{   
	margin:             0;
	padding:            0;
}


/* Header logo type stuff */
div.pghead
{
	width:              95%;
	margin:             10px auto 0 auto;
	text-align:         center; /* IE hack, but we want it anyway */
}

div.pghead2
{
	width:              65%;
	float:              left;
	text-align:         right;
	clear:              none;
}

div.pglogo
{
	width:              33%;
	float:              right;
	text-align:         right;
	clear:              none;
}


/* Top-level nav links */
div.tlnav
{
	float:              right;
	text-align:         right;
	font-weight:        bold;
	font-variant:       small-caps;
}
div.tlnav ul
{
	padding:            .1em 0 .5em 0;
	margin:             0;
}
div.tlnav ul li
{
	padding:            1px 2px;
	margin:             0;
	border:             1px #AAAAAA dotted;
	list-style:         none;
	display:            inline;
	line-height:        1.6em;
}


/* Deactivate/reactivate stuff */
form.dereact
{
}

form.dereact input.act-yes
{
	background-color:   #66FF66;
}

form.dereact input.act-no
{
	background-color:   #FF6666;
}


/* Cutesy little usage bars */
div.usebar
{
	margin:             0;
	padding:            0;
	border:             0;
	font-size:          .1em;
	line-height:        0;
	height:             10px;
	width:              100px;
}

div.usebar div.bg
{
	height:             10px;
	width:              100px;
	background-color:   #000000;
}

div.usebar div.fg
{
	height:             10px;
	background-color:   #FF6666;
}
