/* OpenVAS
 * $Id$
 * Description: CSS Style for OpenVAS Web-Site.
 *
 * Authors:
 * Jan-Oliver Wagner <jan-oliver.wagner@intevation.de>
 * Tim Brown <timb@openvas.org>
 *
 * Copyright:
 * Copyright (C) 2007 Intevation GmbH
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/* TEXT STYLES */

BODY {
    margin: 0px;
    background-color: #ffffff;
    font-family: sans-serif;
    font-size: 12px;
    margin-left: 10%;
    margin-right: 10%;
}

H1 {
    margin-top: 0px;
    font-size: 160%;
    font-weight: bold;
    color: black;
}

H2 {
    background-color:#afbce1;
    border-top: 2px solid #4169e1;
    border-bottom: 2px solid #4169e1;
    margin-top: 0px;
    padding: 2px;
    font-size: 125%;
    font-weight: bold;
}

H3 {
    background-color:#afbce1;
    border-bottom: 2px solid #4169e1;
    margin-bottom: 0px;
    font-size: 110%;
    font-weight: normal;
    font-style:italic;
    color: black;
    padding-left: 2px;
}

STRONG {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

A {
    color: #4169e1;
    font-weight: bold;
    text-decoration: none;
}

A:hover {
    color: #4169e1;
    text-decoration: none;
}

IMG {
    border: none;
    max-width: 100%;
}

.right {
    float: right;
}

.center {
    vertical-align: middle;
}

TD {
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

/* STRUCTURE ELEMENTS */

/* Head */

#header {
    clear: both;
}

#navbar {
    background-color: white;
    color: black;
    font-weight: bold;
    font-size: 80%;
    width: 100%;
    padding-left: 40px;
}

#navbar TD {
    text-align: right;
    vertical-align: bottom;
}

#navbar H1 {
    font-size: 200%;
    margin: 0px;
    padding: 0px;
}

/* colors */
.yellow {
    color: #fdba19;
}

.red {
    color: #fa050c;
}

/* Content */

#main {
    min-width: 250px;
    padding: 40px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 0px;
    line-height: 150%;
    margin-right: 250px;
}

#main TABLE {
    width:100%;
    border-spacing:0px;
    border-collapse: collapse;
    margin-top: 5px;
    margin-bottom: 5px;
}

#main TD {
    padding: 0px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #fa050c;
    border-bottom: 1px solid #fa050c;
}


#index TD {
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: left;
    vertical-align: top;
    border-top: 0px solid;
    border-bottom: 0px solid;
}


#boxes {
    float: right;
    width: 200px;
    padding: 10px;
}

.box {
    background-color: #afbce1;
    border-left: 4px solid #4169e1;
    padding: 10px;
    margin-bottom: 10px;
}

.box H1 {
    color: black;
    padding-bottom: 5px;
    border-bottom: 2px solid blue;
    margin-bottom: 5px;
    font-size: 120%;
}

.box h1 + h2 {
    margin-top:0;
}
.box h2 {
    color: black;
    padding: 0;
    border: 0;
    border-bottom: solid thin #4169e1;
    margin: 0;
    margin-top: 0.8em;
    font-size:100%;
}

.box h3 {
    border: 0;
    margin: 0;
    margin-top: 5px;
    font-size:100%;
}

.box ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: normal;
}

.box ul li {
    margin-top: 5px;
    color: #4169e1;
    font-weight: bold;
}

.box ul li P {
    margin-left: 1em;
    color: black;
}

.box ul li * A {
    color: black !important;
    font-weight: normal;
    text-decoration: none;
    border-bottom: thin dotted #4169e1;
}

.box P {
    margin: 0px;
    padding: 0px;
    margin-top: 5px;
}

.box INPUT {
  font-size: 50%;
  margin-bottom: 5px;
}

/* Timetables */
#timetable {
    border: 1px solid;
}

#timetable tr {
    border: 1px solid;
}

#timetable tr.odd {
    border: 1px solid;
    background-color: #CCCCCC;
}

#timetable th {
    border-bottom: 1px solid #000000;
}

#timetable td {
    text-align: center;
    border-top: 1px dash #000000;
    border-right: 1px solid #000000;
    border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    padding: 5px;
}

/* Footer */
#footer {
    background-color: white;
    height: 30px;
}

td.announce {
    text-align: right;
    align: right;
    width: 450px;
}

div.announce {
    float: right;
    vertical-align: middle;
    background-color: #ccffab;
    border-left: 4px solid #4169e1;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 150%;
    width: 450px;
}
