/**
 * Farben:
 *
 * light: #ffffff
 * alt light: #dedbd6
 * dark: #000000
 * alt dark: #4c4439
 * hilite: #2f5385
 * alt hilite: #f24048
 */

/**
 * Allgemeine Formate
 */

/* Tabellen */
table {
    border-spacing: 1px;
}
table th {
    padding: 0.2ex;
    padding-left: 0.5em;
    padding-right: 0.5em;
    background-color: #4c4439; /* alt dark */
    font-weight: normal;
    color: #ffffff; /* light */
}
table.rahmen tr td {
    padding: 0.2ex;
    padding-left: 0.5em;
    padding-right: 0.5em;
    background-color: #dedbd6; /* alt light */
}
table.blind {
    margin: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
}
table.blind td {
    padding: 0px;
    background: transparent;
}


/* Links */
a:link {
    color: #2f5385; /* hilite */
    text-decoration: underline;
}
a:visited {
    color: #4c4439; /* alt dark */
}
a:hover, a:active {
    color: #2f5385; /* hilite */
    text-decoration: none;
}
table th a:link {
    color: #ffffff; /* light */
    text-decoration: underline;
}

table th a:visited {
    color: #dedbd6; /* alt light */
    text-decoration: underline;
}
table th a:hover, div#path a:active {
    color: #ffffff; /* light color */
    text-decoration: none;
}

/* Bilder */
img {
    border: none;
}

/**
 * Spezielle Formate
 */

/* Unterstes Element */
body {
    margin: 0px;
    background-color: #ffffff; /* light */
    font-family: sans-serif;
    font-size: 0.8em;
}

/* Kopfzeile */
div#head {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 1ex;
    background-color: #2f5385; /* hilite */
    background-image: url('bg.jpg');
    /*font-size: 150%;*/
    color: #dedbd6; /* alt light */
}
div#head a:link, div#head a:visited, div#head a:active, div#head a:hover {
    color: #dedbd6; /* alt light */
    text-decoration: none;
}

/* Bildleiste */
div#imgbar {
    height: 100px;
    border-top: 4px solid #f24048; /* alt hilite */
    background-image: url('http://koenig-karlmann-gymnasium.de/templates/klike/bar.jpg');
}

/* Pfad-Zeile */
table#menu {
    width: 100%;
}
table#menu td {
    width: 20%;
    border-top: 4px solid #f24048; /* alt hilite */
    border-bottom: 4px solid #f24048; /* alt hilite */
    padding: 0.5ex;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #dedbd6; /* alt light */
    text-align: center;
}

/* Navigationsspalte */
td#nav {
    padding-top: 1ex;
    padding-bottom: 1ex;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #2f5385; /* hilite */
    background-image: url('bg.jpg');
    vertical-align: top;
    color: #dedbd6; /* alt light */
}
td#nav a:link {
    text-decoration: none;
    color: #ffffff; /* light */
}
td#nav a:visited {
    text-decoration: none;
    color: #dedbd6; /* alt light */
}
td#nav a:active, td#nav a:hover {
    text-decoration: underline;
    color: #ffffff; /* light */
}
td#nav ul {
    list-style-type: none;
    padding-left: 0em;
    margin-left: 0em;
}
td#nav ul ul {
    padding-left: 1.5em;
}

/* Inhalts-Spalte */
td#content {
    width: 100%;
    padding-top: 1ex;
    padding-bottom: 1ex;
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: top;
}

div#path {
    margin-bottom: 2ex;
    padding-bottom: 1ex;
    border-bottom: solid black 1px;
}

div#service {
    clear: both;
    margin-top: 2ex;
    padding-top: 1ex;
    border-top: solid black 1px;
}

/* Autor-Zeile */
div#author {
    border-top: 4px solid #da3a41; /* alt hilite */
    border-bottom: 4px solid #da3a41; /* alt hilite */
    padding: 0.5ex;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #dedbd6; /* alt light */
    text-align: right;
}

/* Technische-Informationen */
div#tech {
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 1ex;
    background-color: #2f5385; /* hilite */
    background-image: url('http://koenig-karlmann-gymnasium.de/templates/klike/bg.jpg');
    color: #dedbd6; /* alt light */
    text-align: center;
    font-size: 80%;
}
div#tech a:link {
    text-decoration: underline;
    color: #ffffff; /* light */
}
div#tech a:visited {
    text-decoration: underline;
    color: #dedbd6; /* alt light */
}
div#tech a:active, div#tech a:hover {
    text-decoration: none;
    color: #ffffff; /* light */
}

/**
 * Seitenspezifische Formate
 */

/* Startseite */
table#start {
    width: 100%;
}

table#start td {
    width: 50%;
    vertical-align: top;
    background-color: inherit;
    padding: 0.5em;
}