/*
  Geeneral styles
*/

body {
    font: 10pt Tahoma, "Lucida Grande", "Trebuchet MS", Helvetica, sans-serif;
    color: black;
    background: #333333;
}

select {
    clear: both;
    font-size: 8pt;
    vertical-align: bottom;
    padding: 2px 5px
}

select[multiple="multiple"] {
    width:80%;
    padding: 2px;
}

input, textarea {
    clear: both;
    font-size: 8pt;
    padding: 2px;
    width: 80%;
}

input[type=submit] {
    display: inline;
    padding: 2px 5px;
    font-size: 8pt;
    width: auto;
    vertical-align: bottom;
}

form {
    width: 100%;
}

table {
    empty-cells: show;
}

h2 {
    color: #FFB819;
}

a {
    color: #000000;
    background-color: transparent;
}

fieldset {
    padding:5px 5px 5px 25px;
}

fieldset legend {
    background:#FFFFFF none repeat scroll 0 0;
    color: black;
    font-size:12pt;
    font-weight:bold;
}

/*
     Paging styles
*/
.paging * {
    font-size: 90%;
}

.paging a {
    font-weight:normal;
    padding: 2px;
    margin:5px;
}

.paging > .disabled, .current {
    border: none;
}

/*
    Status error and complete
*/

.status_error {
    color: red;
}

.status_complete {
    color: teal;
}

/*
    Layout style
*/

#header{
    background: #333333;
    background-image:url(/admin/img/allg.png);
    background-repeat: no-repeat; 
    background-position: right center;
    height: 52px; /*Height of top section*/
    padding: 5px 10px;
}

#contentWrapper{
    float: left;
    width: 100%;
}

#content{
    margin-left: 180px; /*Set left margin to LeftColumnWidth*/
    min-height: 550px;
}

#leftContent{
    float: left;
    width: 180px; /*Width of left column*/
    margin-left: -100%;
    background: #333333;
}

#leftContentInner {
    margin: 10px; /*Margins for inner DIV inside the column (to provide padding)*/
    margin-top: 0;
}

#footer{
    clear: left;
    width: 100%;
    background: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 4px 0;
}

#header h1 {
    background: none;
    font-size: 16pt;
    color: #FFB819;
    padding: 0px;
    margin: 0px;
}

#header h1 a, #header h1 a:hover {
    background: none;
}

/*
 Apple Menue
*/
.applemenu{
    margin: 0;
    padding: 0;
    width: 160px; /*width of menu*/
    border: 1px solid #9A9A9A;
}

.applemenu div.silverheader a{
    background: black url(/admin/img/silvergradient.gif) repeat-x center left;
    font: normal 10pt Tahoma, "Lucida Grande", "Trebuchet MS", Helvetica, sans-serif;
    color: white;
    display: block;
    position: relative; /*To help in the anchoring of the ".statusicon" icon image*/
    width: auto;
    padding: 5px 0;
    padding-left: 8px;
    text-decoration: none;
}

.applemenu div.silverheader a:visited, .applemenu div.silverheader a:active{
    color: white;
}


.applemenu div.selected a, .applemenu div.silverheader a:hover{
    background-image: url(/admin/img/silvergradientover.gif);
    color: white;
}

.applemenu div.submenu{ /*DIV that contains each sub menu*/
    background: white;
    padding: 5px;
    height: 400px; /*Height that applies to all sub menu DIVs. A good idea when headers are toggled via "mouseover" instead of "click"*/
}

/*
 Arrow list menue
*/
.arrowlistmenu{
    width: 150px; /*width of menu*/
}

.arrowlistmenu .headerbar{
    font: normal 10pt Tahoma, "Lucida Grande", "Trebuchet MS", Helvetica, sans-serif;
    color: white;
    background: black url(/admin/img/titlebar.png) repeat-x center left;
    margin-bottom: 10px; /*bottom spacing between header and rest of content*/
    text-transform: uppercase;
    padding: 4px 0 4px 10px; /*header text is indented 10px*/
}

.arrowlistmenu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
    margin-left: -10px;
}

.arrowlistmenu ul li{
    padding-bottom: 2px; /*bottom spacing between menu items*/
}

.arrowlistmenu ul li a{
    color: #000000;
    background: url(/admin/img/arrowbullet.png) no-repeat center left; /*custom bullet list image*/
    display: block;
    padding: 2px 0;
    padding-left: 19px; /*link text is indented 19px*/
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #dadada;
    font-size: 8pt;
}

.arrowlistmenu ul li a:visited{
    color: #000000;
}

.arrowlistmenu ul li a:hover{ /*hover state CSS*/
    color: #FFb819;
    background-color: #ededed;
}

/*
  Styles for 3d table header
*/

.blackTH th {
    background: black url(/admin/img/silvergradient.gif) repeat-x center left;
    color: white;
    border-top: none;
    border-left: none;
    /*position: relative;*/ /*To help in the anchoring of the ".statusicon" icon image*/
    width: auto;
    text-decoration: none;
}

.blackTH a {
    background: black url(/admin/img/silvergradient.gif) repeat-x center left;
    color: white;
    display: block;
    /*position: relative;*/ /*To help in the anchoring of the ".statusicon" icon image*/
    width: auto;
    text-decoration: none;
}

.blackTH a:hover {
    background: black url(/admin/img/silvergradient.gif) repeat-x center left;
    background: inherit;
    color: #ffb819;
    display: block;
    /*position: relative;*/ /*To help in the anchoring of the ".statusicon" icon image*/
    width: auto;
    text-decoration: none;
}

/*
    ##### Quarantine Mail CSS ####
*/

/* autoComplete styles */

div.auto_complete {
    position:absolute;
    width:250px;
    background-color:white;
    border:1px solid #888;
    margin:0px;
    padding:0px;
    font-size: 8pt;
    z-index: 99999;
}
div.auto_complete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}
div.auto_complete ul li.selected { background-color: #ffb;}
div.auto_complete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    height:16px;
    cursor:pointer;
}



/* SearchTabel and Form stylesheets */

#QuarantineMailSearchTable {
    width:auto;
    border-right: none;
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-style: none;
    padding: 4px;
    text-align: left;
    vertical-align: top;
}

#QuarantineMailSearchTable tr , #QuarantineMailSearchTable td {
    background: #fff;
    border-right: none;
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-style: none; 
    padding: 4px;
    text-align: left;
    vertical-align: top;
    /*font-size: 10px;*/
}

#QuarantineMailIndexForm input, #QuarantineMailIndexForm select {
    display:inline;
    /*font-size:8pt;*/
    /*width:150px;*/
}


/*
    Key Management
*/
#keyImportLog {
    color: white;
    width: 70%;
    background: black;
    opacity:0.8;
    border:1px solid #666666;
    padding:2px;
    position:absolute;
    left: 190px;
    top: 120px;
    overflow:auto;
    z-index: 5;
}

#keyImportLog a {
    font-size: 6pt;
    color: white;
    background-color: black;
}

#keyImportLog h1 {
    margin: 0.5em;
    font-size: 14pt;
    color: #FFB819;
    background-color: black;
}

#keyImportLog #log {
    font-size: 8pt;
    border: 1px solid gray;
    margin: 1em;
    padding: 0.5em;
}

#keyImportLog pre {
    font-size: 8pt;
    text-align: left;
    padding: 0;
    margin: 0;
    color: #ffffff;
    background: #000000;
}

#keyImportInfo .success {
   margin: 1em 0;
   padding: 0.8em;
}

/*
    Keymanagement
*/

.detailedKeyInfo {
    
}

.detailedKeyInfo table tr td {
    border-top: 1px solid #CCCCCC;
    text-align: left;
}

.verified_unknown {
    padding: 0;
    color: red;
}

.verified_ok {
    padding: 0;
    color: green;
}

.verified_failure {
    padding: 0;
    color: red;
}

.trust_check {
    padding: 0;
}

.trust_trust {
    color: green;
    padding: 0;
}

.trust_untrust {
    color: red;
    padding: 0;
}

/*
    RuleUsers
*/
.ruleUsersIndex form {
    width: 100%;
}

#ruleUsersSearchDiv {
}

#ruleUsersSearchDiv p {

    margin-right: 20px;
    display: inline;
}

#ruleUsersPager {
    margin-top: 10px;
}

#configsIndex label{
    display: inline;
}

#configsIndex input{
    float: right;
    width: 45%;
}
#configsIndex input[type=submit]{
    float: left;
}

#configsIndex select{
    float: right;
    width: 45%;
}

#configsIndex p{
    width: 50%;
}

.ruleUsersTable {
    border: none;
}


.ruleUserPagesRow td{
    background-color: white;
    border-top: 1px solid #CCCCCC;
    border-right: none;
    text-align: left;
}

.ruleUserActionRow td{
    background-color: white;
    border: none;
    text-align: center;
}

/*
    Rules
*/
#rulesIndex form{
    width: 100%;
    min-width: 880px;
}

#rulesIndex ul{
    list-style-type: none; margin: 0px 0px;
}

#rulesIndex table{
    border: none;
}

#rulesIndex select{
    vertical-align: middle;
}


#rulesIndex td{
    border: 1px solid #cccccc;
    vertical-align: middle;
    white-space: nowrap;
}

.ruleDetTable td{
    text-align: right;
}

.ruleDetHead td{
    background: #cccccc;
    font-weight: bold;
    text-align: center;
}

#rulesIndex .error-message{
    white-space: normal;
}


.ruleDetTable input[type=text]{
    width: auto;
    min-width: 200px;
}

.ruleDetTable input[type=checkbox]{
    float: none;
}

.tryspan {
    color: #55cc55;
}

.mustspan {
    color: #eeee55;
}

.forcespan {
    color: #6666ff;
}

/*
    Admin-Verwaltung
*/

#AdminsIndex input[type=password] {
    margin-right: 20px;
    text-align: left;
    width: 30%;
}


#AdminsIndex div.submit {
    margin-left: 10px;
}

#AdminsIndex form {
    width: 100%;
}


/*
    Log-Ausgabe
*/

#Logs textarea {
    width: 100%;
}

/*
    Flash-Message
*/
.modal {
    text-align: center;
    border: 8px solid black;
    display: block;
    width: 350px;
    height: 100px;
    vertical-align:middle;
    margin: auto;
    position: relative;
    top: 200px;
    z-index: 3;
}

.goodflash {
    border: 10px solid #004000;
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:green none repeat scroll 0 0;
    color:#FFFFFF;
}

.badflash {
    border: 10px solid #800000;
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:red none repeat scroll 0 0;
    color:#FFFFFF;
}

/*
    GPG Schlüssel
*/
.gpgSubKeysTable {
    font-size: 8pt;
}

/* Boldbuttons */

a.boldbuttons{
background: transparent url('/admin/img/roundedge-gray-left.gif') no-repeat top left;
display: block;
float: left;
/*font: bold 13px Arial;*/ /* Change 13px as desired */
line-height: 22px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 30px) */
height: 30px; /* Height of button background height */
padding-left: 8px; /* Width of left menu image */
text-decoration: none;

}

a:link.boldbuttons, a:visited.boldbuttons, a:hover.boldbuttons, a:active.boldbuttons{
color: white; /*button text color*/
}

a.boldbuttons span{
background: transparent url('/admin/img/roundedge-gray-right1600.gif') no-repeat top right;
display: block;
padding: 4px 10px 4px 2px; /*Set 10px to be equal or greater than'padding-left' value above*/
}

a:hover.boldbuttons{ /* Hover state CSS */
text-decoration: underline;
}


.buttonwrapper{ /* Container you can use to surround a CSS button to clear float */
overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
width: 100%;
}
/**
 * Styles for JUP
 */
#JupPatchesList {
    border: 1px solid #f4f4f4;
    max-height: 300px;
    overflow: auto;
    overflow: expression("scroll"); /* ie hack */
}

#JupUpdate {
    color: white;
    width: 80%;
    background: black;
    opacity:0.9;
    border:1px solid #666666;
    padding:2px;
    position:absolute;
    left: 190px;
    top: 120px;
    overflow:auto;
    z-index: 5;
}


#JupUpdate a {
    font-size: 6pt;
    color: white;
    background-color: black;
}

#JupUpdate h1 {
    margin: 0.5em;
    font-size: 14pt;
    color: #FFB819;
    background-color: black;
}

#JupUpdate #log {
    font-size: 8pt;
    border: 1px solid gray;
    margin: 1em;
    padding: 0.5em;
}

#JupUpdate pre {
    font-size: 8pt;
    text-align: left;
    padding: 0;
    margin: 0;
    color: #ffffff;
    background: #000000;
}

#JupDetInnerScrolling {
    max-height: 400px;
    overflow: auto;
}

#JupPatchInfo {
    margin-right: 1em;
    margin-top: 1em;
}

.jup_patch_info {
    color: #000;
}

#JupUpdateButton {
    margin: 10px;
    width: 20%;
    text-align:center;
}

#JupRefreshButton {
    margin: 10px;
    width: 20%;
    text-align:center;
}

#JupConfigButton {
    margin: 10px;
    width: 20%;
    text-align:center;
}

.gpg_sig {
    font-size: 8pt;
    font-weight: normal;
}

.gpg_rev {
    font-size: 8pt;
    font-weight: normal;
}

.gpg_uid {
    font-size: 8pt;
    font-weight: normal;
}
