/*
 * $Id: style.css 1476 2010-03-17 02:52:58Z dmorton $
 *
 * MAIA MAILGUARD LICENSE v.1.0
 *
 * Copyright 2004 by Robert LeBlanc <rjl@renaissoft.com>
 * All rights reserved.
 *
 * PREAMBLE
 *
 * This License is designed for users of Maia Mailguard
 * ("the Software") who wish to support the Maia Mailguard project by
 * leaving "Maia Mailguard" branding information in the HTML output
 * of the pages generated by the Software, and providing links back
 * to the Maia Mailguard home page.  Users who wish to remove this
 * branding information should contact the copyright owner to obtain
 * a Rebranding License.
 *
 * DEFINITION OF TERMS
 *
 * The "Software" refers to Maia Mailguard, including all of the
 * associated PHP, Perl, and SQL scripts, documentation files, graphic
 * icons and logo images.
 *
 * GRANT OF LICENSE
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowledgment:
 *
 *    "This product includes software developed by Robert LeBlanc
 *    <rjl@renaissoft.com>."
 *
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. At least one of the following branding conventions must be used:
 *
 *    a. The Maia Mailguard logo appears in the page-top banner of
 *       all HTML output pages in an unmodified form, and links
 *       directly to the Maia Mailguard home page; or
 *
 *    b. The "Powered by Maia Mailguard" graphic appears in the HTML
 *       output of all gateway pages that lead to this software,
 *       linking directly to the Maia Mailguard home page; or
 *
 *    c. A separate Rebranding License is obtained from the copyright
 *       owner, exempting the Licensee from 4(a) and 4(b), subject to
 *       the additional conditions laid out in that license document.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

/* Banner row 1 */
.topbanner {
    background : #dfcfbf;
    font-size  : 42px;
    font-weight: bold;
    color      : #ffffff;
}

/* Banner row 2 */
.topbanner2 {
    background : #dfcfbf;
    font-size  : 16px;
    font-weight: bold;
    color      : #A50000;
}

/* Banner row 3 */
.topbanner3 {
    background : #dfcfbf;
    font-size  : 14px;
    font-weight: bold;
    color      : #A50000;
}

/* Banner row 4, including icon toolbar */
.topbanner4 {
    background : #dfcfbf;
    font-size  : 12px;
    font-weight: normal;
    color      : #A50000;
}

/* Banner row 5 */
.topbanner5 {
    background : #dfcfbf;
    font-size  : 14px;
    font-weight: normal;
}

/* Menu banner */
.menubanner {
    background : #dfcfbf;
    font-size  : 24px;
    font-weight: bold;
}

/* Menu header */
.menuheader {
    background : #dfcfbf;
    font-size  : 20px;
    font-weight: bold;
}

/* Menu body */
.menubody {
    background : #dfcfbf;
    font-size  : 16px;
    font-weight: bold;
}

/* Menu header (small) */
.menuheader2 {
    background : #F4F0EC;
    font-size  : 14px;
    font-weight: bold;
}

/* Menu body (small) */
.menubody2 {
    background : #F4F0EC;
    font-size  : 12px;
    font-weight: normal;
}

/* Lighter version of menu body */
.menulight {
    background : #efdfcf;
    font-size  : 16px;
    font-weight: normal;
}

/* "Whitelist" column in W/B list */
.whitelist {
    background : #dddddd;
    font-size  : 16px;
    font-weight: bold;
}

/* "Blacklist" column in W/B list */
.blacklist {
    background : #3a3a3a;
    font-size  : 16px;
    font-weight: bold;
}

/* "Remove" column in W/B list */
.remove {
    background : #a50000;
    font-size  : 16px;
    font-weight: bold;
}
/** Default Sizes, weights etc...
*/
/** Banners */
.spambanner, .suspected_spambanner, .virusbanner, .wlbanner, .blbanner, .fpbanner, .fnbanner, .hambanner, .suspected_hambanner, .bad_headerbanner, .banned_filebanner, .oversizedbanner, .userbanner {
	font-size: 20px;
	font-weight: bold;
	color: #000000;
}
/** Header */
.spamheader, .suspected_spamheader, .virusheader, .wlheader, .blheader, .fpheader, .fnheader, .hamheader, .suspected_hamheader, .bad_headerheader, .banned_fileheader, .oversizedheader, .userheader, .mailheader, .spamreportheader {
	font-size: 14px;
	color: #000000
}
/** Header2 */
.menuheader2, .spamheader2, .suspected_spamheader2, .virusheader2, .wlheader2, .blheader2, .fpheader2, .fnheader2, .hamheader2, .suspected_hamheader2, .bad_headerheader2, .banned_fileheader2, .oversizedheader2 {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}
/** Body */
.spambody, .suspected_spambody, .virusbody, .wlbody, .blbody, .fpbody, .fnbody, .hambody, .suspected_hambody, .bad_headerbody, .banned_filebody, .oversizedbody, .userbody {
	font-weight: normal;
	font-size: 14px;
	color: #000000;
}
/** Body_alt */
.suspected_spambody_alt, .virusbody_alt, .hambody_alt, .bad_headerbody_alt, .banned_filebody_alt {
	font-size: 14px;
	font-weight: normal;
	color: #000000;
}
/** Body2 */
.spambody2, .suspected_spambody2, .virusbody2, .wlbody2, .blbody2, .fpbody2, .fnbody2, .hambody2, .suspected_hambody2, .bad_headerbody2, .banned_filebody2, .oversizedbody2 {
	font-size: 12px;
	font-weight: normal;
	color: #000000;
}
/** Body3 */
.spambody3, .suspected_spambody3, .virusbody3, .wlbody3, .blbody3, .fpbody3, .fnbody3, .hambody3, .suspected_hambody3, .bad_headerbody3, .banned_filebody3, .oversizedbody3 {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}
/** Colors
*/
/** Confirmed Spam */
.spambanner {
    background : #FF8080;
}
.spamheader, .spamheader2 {
    background : #FF8080;
}
.spambody, .spambody2, .spambody3 {
    background : #FFEBEB;
}

/** Suspected Spam */
.suspected_spambanner {
    background : #FFB0B0;
}
.suspected_spamheader, .suspected_spamheader2 {
    background : #FFCCCC;
}
.suspected_spambody, .suspected_spambody2, .suspected_spambody3 {
    background : #FFEBEB;
}
.suspected_spambody_alt {
    background : #FFD9D9;
}

/** Viruses/Malware */
.virusbanner {
    background : #A6FFA6;
}
.virusheader, .virusheader2 {
    background : #CCFFCC;
}
.virusbody, .virusbody2, .virusbody3 {
    background : #E6FFE6;
}
.virusbody_alt {
    background : #D9FFD9;
}


/** Whitelisted Sender */
.wlbanner {
    background : #DDDDDD;
}
.wlheader, .wlheader2 {
    background : #DDDDDD;
}
.wlbody, .wlbody2, .wlbody3 {
    background : #EEEEEE;
}

/** Blacklisted Sender */
.blbanner {
    background : #555555;
}
.blheader, .blheader2 {
    background : #555555;
    color      : #EEEEEE;
}
.blbody, .blbody2, .blbody3 {
    background : #888888;
    color      : #FFFFFF;
}

/** False Positives */
.fpbanner {
    background : #A4AB41;
}
.fpheader, .fpheader2 {
    background : #A4AB41;
}
.fpbody, .fpbody2, .fpbody3 {
    background : #F7F794;
}

/** False Negatives */
.fnbanner {
    background : #FF5050;
}
.fnheader, .fnheader2 {
    background : #FF5050;
}
.fnbody, .fnbody2, .fnbody3 {
    background : #FFBFBF;
}

/** Confirmed Ham */
.hambanner {
    background : #DDDD00;
}
.hamheader, .hamheader2 {
    background : #FFFFCA;
}
.hambody, .hambody2, .hambody3 {
    background : #FFFFE0;
}
.hambody_alt {
    background : #FFFFD0;
}

/** Suspected Ham */
.suspected_hambanner {
    background : #FFFF00;
}
.suspected_hamheader, .suspected_hamheader2 {
    background : #FFFF00;
}
.suspected_hambody, .suspected_hambody2, .suspected_hambody3 {
    background : #FFFFE0;
}

/** Invalid Mail Headers */
.bad_headerbanner {
    background : #FFB040;
}
.bad_headerheader, .bad_headerheader2 {
    background : #FFE6BF;
}
.bad_headerbody, .bad_headerbody2, .bad_headerbody3 {
    background : #FFF0D9;
}
.bad_headerbody_alt {
    background : #FFEBCC;
}


/** Banned File Attachments */
.banned_filebanner {
    background : #C9BBFF;
}
.banned_fileheader, .banned_fileheader2 {
    background : #E0D9FF;
}
.banned_filebody, .banned_filebody2, .banned_filebody3 {
    background : #F5F2FF;
}
.banned_filebody_alt {
    background : #EBE6FF;
}


/** Oversized Items */
.oversizedbanner {
    background : #FF8080;
}
.oversizedheader, .oversizedheader2 {
    background : #FF8080;
}
.oversizedbody, .oversizedbody2, .oversizedbody3 {
    background : #C4F5D0;
}


/** User list */
.userbanner {
    background : #6FDBFF;
}
.userheader {
    background : #6FDBFF;
}
.userbody {
    background : #B0ECFF;
}


/* Raw (undecoded) mail, in Mail Viewer */
.rawmailhead {
    background : #999999;
    font-size  : 20px;
    font-weight: bold;
    color      : #FFFF80;
}

.rawmail {
    background : #FFFF80;
    font-size  : 16px;
    font-weight: normal;
}

/* MIME-decoded mail, in Mail Viewer */
.decodedmail {
    background : #ffffff;
    font-size  : 16px;
    font-weight: normal;
}

/* HTML tag overrides */
th, td, input {
   font-family: Arial, helvetica, arial, sans-serif;
}

h1 {
   position: relative;
   margin-left: 8px;
   margin-right: 10px;
   font-family: Arial, helvetica, arial, sans-serif;
   font-size: 24px;
   font-weight: bold;
}

h2 {
   position: relative;
   left: 8px;
   margin-right: 10px;
   font-family: Arial, helvetica, arial, sans-serif;
   font-size: 24px;
   font-weight: bold;
}

h3 {
   position: relative;
   left: 8px;
   margin-right: 10px;
   font-family: Arial, helvetica, arial, sans-serif;
   font-size: 20px;
   font-weight: bold;
}

h4 {
   position: relative;
   left: 8px;
   margin-right: 10px;
   font-family: Arial, helvetica, arial, sans-serif;
   font-size: 18px;
   font-weight: bold;
}

p {
   position: relative;
   left: 8px;
   margin-right: 10px;
}

body {
   color: #3D3D50;
   margin-top: 0px;
   margin-left: 0px;
   margin-right: 0px;
   font-weight: normal;
   font-family: Arial, helvetica, arial, sans-serif;
   font-size : 14px;
   min-width: 370px; 
}

a {
    text-decoration: none;
    color: #333333;
}
a:hover {
    text-decoration: underline;
    color: #111111;
}
img {
    text-decoration: none;
}
img:hover {
    text-decoration: none;
}

#menu {
    border-right: 1px solid #8A6432;
    border-bottom: 1px solid #8A6432;
    position: absolute;
    width: 175px;

}

#menu p {
text-align: center;
}

#menu li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:2px 0px;
padding:2px 0px;
text-align:center;
text-decoration:none;
}

#content {
    padding: 10px 25px 0 200px;
}

.statslink {
    text-decoration: underline;
}

.edit_icon {
text-decoration: none;
border: none;
width: 1.0em;
}

/* error or informational messages */
.messages {
    background: #FFF6BF none no-repeat;
    border-bottom: 2px solid #FFD324;
    border-top: 2px solid #FFD324;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 20px 5px 45px;
    text-align: center;
}

.spamreport { 
    background : #DDDDDD; 
    font-size  : 14px; 
    font-weight: normal; 

}

.HelpTip, .DisplayLinkURL {
    display: none;
}

.cache_submit_button_plain { 
    display: none;
}


/*squarebutton- a nice css button thanks to: 
Credits: Dynamic Drive CSS Library 
URL: http://www.dynamicdrive.com/style/ */

a.squarebutton{
display: block;
float: left;
font: normal 12px Arial; /* Change 12px as desired */
line-height: 15px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
height: 23px; /* Height of button background height */
padding-left: 28px; /* Width of left menu image */
text-decoration: none;
margin: 2px 5px 2px;
}

a.hambutton {
    background: transparent url('../images/square-gray-ham.gif') no-repeat top left;  
}

a.spambutton {
    background: transparent url('../images/square-gray-spam.gif') no-repeat top left;  
}

a.deletebutton {
    background: transparent url('../images/square-gray-delete.gif') no-repeat top left;  
}

a.resendbutton {
    background: transparent url('../images/square-gray-resend.gif') no-repeat top left;  
}

a.decodebutton {
    background: transparent url('../images/square-gray-decoded.gif') no-repeat top left;
}

a.rawbutton {
    background: transparent url('../images/square-gray-raw.gif') no-repeat top left;
}

a:link.squarebutton, a:visited.squarebutton, a:active.squarebutton{
color: #494949; /*button text color*/
}

a.squarebutton span{
background: transparent url('../images/square-gray-right.gif') no-repeat top right;
display: block;
padding: 4px 4px 4px 0; /*Set 9px below to match value of 'padding-left' value above*/
}

a.squarebutton:hover{ /* Hover state CSS */
background-position: bottom left;
}

a.squarebutton:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}

.buttonwrapper{ /* Container you can use to surround a CSS button to clear float */
overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
padding: 2px 0px;
}


/* Styles for sliding door sprite button, unimaginatively called fancybuttons here. */
a.fancybutton {
    position: relative;
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: visible; /* removes extra side padding in IE */
    display: inline-block;
}

a.fancybutton::-moz-focus-inner {
    border: none;  /* overrides extra padding in Firefox */
}

a.fancybutton span.fancybutton {
    position: relative;
    display: block;
    white-space: nowrap;
}

/* fancy button styling begins here */
a.fancybutton {
    background:url("../images/square-gray-sprite.png") no-repeat scroll right -56px transparent;
    font-size:1em;
    margin-right:5px;
    padding:0 15px 0 0;
    text-align:center;
    text-decoration:none;
}

a.fancybutton span.fancybutton {
    background:url("../images/square-gray-sprite.png") no-repeat scroll left top transparent;
    color:#000000;
    height:24px;
    padding:0 0 0 4px;
}

a.fancybutton img {
    border:medium none;
    height:18px;
    vertical-align:bottom;
    padding-right:4px;
}

a.fancybutton:hover, a.fancybuttonHover { /* the redundant class is used to apply the hover state with a script */
    background-position: right -84px;
}

a.fancybutton:hover span.fancybutton, a.fancybuttonHover span.fancybutton {
    background-position: 0 -28px;
}

td.fancybutton {
    padding: 4px 0 0 4px;
}

#message_detail fieldset, #view_headers {
    border:4px solid #AAAAAA;
    padding:6px;
}

#message_detail legend, #view_headers legend {
    color:#666666;
    padding:0 6px;
}

#view_full_headers, #view_smtp_sender {
    display: none;
}

.mailheader {
    color:maroon;
    font-weight:bold;
    padding-right:5px;
    text-align:right;
    vertical-align:top;
}

.wblist_link {
    color: #977;
    font-size: 10px;
    margin: 0px 5px 5px 5px;
}

span.wbWball {
    background: url('../images/redgreenballs.png') no-repeat 0 -18px;
    padding: 0 0 2px 22px;
}

span.wbBball {
    background: url('../images/redgreenballs.png') no-repeat 0 0;
    padding: 0 0 2px 22px;
}

span.wbblock {
    background:url("../images/blockallow.png") no-repeat scroll 0 0 transparent;
    display:inline-block;
    height:18px;
    padding-left:18px;
}

span.wballow {
    background:url("../images/blockallow.png") no-repeat scroll 0 -18px transparent;
    display:inline-block;
    height:18px;
    padding-left:18px;
}


.DisplayLink {
    cursor: pointer;
}

.DisplayLink_scheme {
    color: black;
}

.DisplayLink_host {
    color: red;
}
.DisplayLink_port {
    color: orange;
}
.DisplayLink_user {
    color: black;
}
.DisplayLink_pass {
    color: black;
}
.DisplayLink_path {
    color: green;
}
.DisplayLink_query {
    color: blue;
}
.DisplayLink_fragment {
    color: grey;
}

/*.simple-tip { position: absolute; background-color: #ccf; border: 1px solid #339; padding: 6px; z-index: 105;}*/
/*Tooltip and Pointer CSS*/
.simple-tip {
    padding: .8em;
    z-index: 9999;
    border-width: 2px !important;
    position: absolute;
}

.ui-list-table td, .ui-table-top, #statschart td {
    border-bottom: 1px solid #8A6432;
}

.ui-list-table td {

}

td.list-toggle {
    width: 25px;
    padding: 0;
}

.pager {
    float: right;
}

.toggles {
    padding: 5px 0 5px 10px;
}

.toggles a {text-decoration: underline;}

.toggles, .pager {
    font-size: 0.8em;
    font-weight: normal;
}

#logo {
    text-align: center;
}

#logo img {
    width: 125px;
    height: 125px;
}

#rightpanel {
    position:absolute;
    right:0px;
    width:200px;
}

#protectioncontrol {
    margin:5px 0;
    min-width:188px;
    width:188px;
}

#protectioncontrol li.submitrow {
    text-align: center;
    
    border-top: none;
    margin: auto;
}

#protectioncontrol .protection_row {
    text-align: center;
    width: 80%;
    height: 40px;
    margin: auto;
}

#protectioncontrol span {
    display: block;
    text-align: center;
}
#welcome {
    width:200px;
}

#maincontent {
    margin:5px 200px 0 0;
}

#welcomestats {
    clear: both;
    margin: 5px;
}

#welcomestats td {
     text-align: left;
}

.styledform {
    display: inline-block;
    min-width: 510px;
    margin-top: 10px;
}


#form_accordion .styledform {
    margin-top: 0;
}

.styledform fieldset {
  border: none;
  text-align: left;
}
.styledform legend {
  padding: 5px;
  font-weight: bold;
}
.styledform label {
  display: inline-block;
  line-height: 1.4;
  vertical-align: top;
  padding: 0 10px 0 0;
  text-align: right;
}
.styledform fieldset ol {
  margin: 0;
  padding: 0;
}

.styledform fieldset table {
   /* float: left;*/
}

.styledform .ui-icon {
    display: inline-block;
} 

.styledform fieldset li {
  border-top:1px solid #E0CFC2;
  list-style: none;
  padding: 5px;
  margin: 0;
}

.styledform fieldset li p{
    color:#8A6432;
    font-size:0.75em;
    text-align: right;
    padding-right: 20px;
}

.styledform fieldset li.submitrow {
    text-align: right;
}


.styledform fieldset fieldset {
  border: none;
  margin: 3px 0 0;
}
.styledform fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}
.styledform fieldset fieldset label {
  display: block;
  width: auto;
}
.styledform em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}
.styledform label {
  width: 175px; /* Width of labels */
}

.styledform label.extendedquestion {
    width: auto;
    padding: 0px 10px;
}

.styledform fieldset fieldset label {
  margin-left: 123px; /* Width plus 3 (html space) */
}

#userlist-table {
/*    width: auto;*/
}

#quickview div.ui-widget-header {
    padding: 5px 0;
}

#quickview div.submitrow {
    text-align: right;
}

#cachelistwrapper, #cachelistwrapper form {
    width: 100%;
}

#cachelistwrapper table, #quickview table {
  width: 100%;
}

table, tr, td, th {
    border-style: none;
    border-width: 0;
    border-collapse: collapse;
    padding: 0px;
    border: none;
    border-spacing: 0px;
}

td {
    padding: 5px;
}