body {
    background-image: url("../img/bg.gif");
    background-repeat: repeat-x;
    background-position: 0px 0px;
    background-color: #ffffff;
    margin: 0px;
    padding: 0px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1em;
}

div#outer {
    width: 800px;
    margin: 0px auto 50px auto;
    position: relative;
}

div#header {
    width: 100%;
    height: 185px;
    position: relative;
    top: 0px;
    left: 0px;
}

div#header h1 {
    margin: 30px 0px 0px 0px;
    font-size: 150%;
    color: #ff7e12;
}

div#header p {
    margin: 10px 0px 0px 0px;
    font-size: 80%;
    color: #000000;
}

div#headerleft {
    width: 60%;
    height: 100px;
    float: left;
}

div#headerright {
    width: 39%;
    height: 100px;
    float: right;
    padding-top: 10px;
    position: relative;
}

div#headerright p {
    width: 800px;
    text-align: right;
    overflow: visible;
    white-space: nowrap;
    position: absolute;
    right: 0px;
}

div#headerright a {
    color: #03a2cc;
    padding: 0px 10px;
    text-decoration: none;
    border-left: 1px solid #03a2cc;
}

div#headerright a:first-child {
    border: none;
}

div#navi {
    width: 100%;
    height: 59px;
    float: right;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

div.tab,
    div.activetab {
    background-image: url("../img/inactivetab_left.gif");
    background-repeat: no-repeat;
    background-position: 0px 0px;

    width: 160px; /* remove for variable width tabs */
    height: 59px;
    float: left;

    margin-right: -1px;
}

div.tab:first-child {
    background-image: url("../img/inactivetab_left_noshadow.gif");
}

div.tab a,
    div.activetab a {
    background-image: url("../img/inactivetab_right.gif");
    background-repeat: no-repeat;
    background-position: 100% 0%;
    display: block;
    height: 40px;
    padding: 15px 20px 0px 20px;
    font-size: 110%;
    text-decoration: none;
    color: #00a2c9;
    white-space: nowrap;
    overflow: visible;
}

div.activetab {
    background-image: url("../img/activetab_left.gif");
}

div.activetab a {
    background-image: url("../img/activetab_right.gif");
    color: #ff7e12;
}

div#main {
    margin-top: 20px;
    margin-right:20px;
    padding: 0px 100px;
}

div#main h1 {
    font-size: 170%;
    font-weight: normal;
}

div#main h1.webquestlisting {
    font-size: 130%;
    margin-bottom: -10px;
}

div#main p {
    padding: 0px 0px;
    margin: 10px 0px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #000000;
}

div#pencilguy {
    background-image: url("../img/pencilguy.gif");
    position: absolute;
    top: 420px;
    left: 660px;
    width: 168px;
    height: 215px;
}

div#magnifierguy {
    background-image: url("../img/magnifierguy.gif");
    position: absolute;
    top: 90px;
    left: -60px;
    width: 166px;
    height: 201px;
}

div#main ul {
    margin: 10px 0px;
    padding: 0px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #ff7e12;
}

div#main ul li {
    padding: 0px 0px 0px 20px;
    margin: 0px 0px 25px 0px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    text-indent: 0px;
    background-image: url("../img/bullet.gif");
    background-repeat: no-repeat;
    background-position: 0px 10px;
}

div#main ul ul {
    margin: 10px 0px;
    padding: 0px;
    color: #000000;
    font-size: 100%;
}

div#main ul ul li {
    padding: 0px 20px 0px 0px;
    margin: 0px;
    background-image: none;
}

div#main ol {
    margin: 10px 0px 10px 25px;
    padding: 0px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #000000;
}

div#main ol li {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 15px 0px;
    list-style-image: none;
    list-style-position: outside;
    text-indent: 0px;
}

div#main ul.list {
    margin: 10px 0px 10px 18px;
    padding: 0px 50px 0px 0px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #000000;
}

div#main ul.list li {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 15px 0px;
    list-style-type: disc;
    list-style-image: none;
    list-style-position: outside;
    text-indent: 0px;
    background-image: none;
}

div#themes {
    margin: 0px 0px 40px;
    width: 593px;
    float: left;
    display: inline;
}

div#themes a {
    background-image: url("../img/themebox.gif");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    float: left;
    margin: 0px;
    padding: 12px 0px 0px 60px;
    width: 236px;
    height: 52px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #00a2c9;
}

form#numberform {
    display: block;
    position: absolute;
    top: 109px;
    left: 400px;
    width: 400px;
    height: 42px;
}

form#numberform label {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 90px;
    height: 27px;
    padding: 4px 0px 0px 0px;
    font-size: 100%;
    text-decoration: none;
    color: #000000;
}

form#numberform input#number {
    display: block;
    position: absolute;
    top: 0px;
    left: 140px;
    width: 150px;
    height: 27px;
    padding: 2px 4px 0px;
    font-family: "Trebuchet MS", sans-serif;
    border: 1px solid #00a2c9;
    font-size: 110%;
    line-height: 130%;
    text-decoration: none;
    color: #00a2c9;
}

form#numberform input#submit {
    border: none;
    background-color: #ff00ff;
    background-image: url("../img/searchbutton.gif");
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 170px;
    height: 42px;
    padding: 3px 0px 15px 10px;
    margin: 0px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 110%;
    text-decoration: none;
    text-align: left;
    color: #00a2c9;
}

div#main dl {
    margin: 10px 0px 10px 0px;
    padding: 0px;
    font-size: 110%;
    line-height: 150%;
    text-decoration: none;
    color: #000000;
}

div#main dl dt {
    color: #000000;
    line-height: 100%;
    padding: 0px;
}

div#main dl dd {
    color: #000000;
    line-height: 100%;
    padding: 6px 0px 20px 0px;
}

li a, dl a {
    font-size: 80%;
    font-weight: bold;
    color: #000000;
}

p em {
    font-weight: normal;
    font-style: normal;
    color: #ff7e12;
}

#categoryName {
    font-size: 170%;
}

#categoryParent {
    display: inline;
    font-size: 0.6em;
    padding-left: 30px;
}

fieldset {
    width: 500px;
    padding: 30px 20px;
    margin: 10px auto;
    border: 1px solid #00a2c9;
}

fieldset.login {
    width: 370px;
}

td.small {
    font-size: 70%;
    line-height: 15px;
    color: #00a2c9;
    padding-bottom: 5px;
}

legend {
    padding: 2px 20px;
    border: 1px solid #00a2c9;
}

input.submit {
    border: 1px solid #000000;
    width: 170px;
    width: auto;
    background: #ff7e12;
}

select {
    border: 1px solid #00a2c9;
    width: 200px;
}

form td {
    padding-right: 20px;
}

form table input {
    border: 1px solid #00a2c9;
    width: 200px;
    margin: 1px 0px;
}

form table input.submit {
    border: 1px solid #000000;
    width: 125px;
    background: #ff7e12;
    margin: 10px 0px;
}

td.alignLeft {
    text-align: left;
}

td.alignRight {
    text-align: right;
}

td.alignTop {
    vertical-align: top;
}

td.alignBottom {
    vertical-align: bottom;
}

form table select {
    border: 1px solid #00a2c9;
    width: 200px;
    margin: 1px 0px;
}

a:link {
    color: #00a2c9;
}

a:visited {
    color: #00a2c9;
}

a:hover {
    color: #00a2c9;
}

a:active {
    color: #00a2c9;
}

table.beWebquestlisting {
    border-spacing: 0px;
    border-collapse: collapse;
    border: 1px solid #00a2c9;
    margin: 0px 0px 20px -100px;
}

table.beWebquestlisting th,
    table.beWebquestlisting td {
    border-top: 1px solid #00a2c9;
    border-right: 1px dotted #00a2c9;
    padding: 2px 4px;
    white-space: nowrap;
}

table.beWebquestlisting a {
    font-size: 0.75em;
}

div.admin {
    width: 680px;
}

div.admin form {
    position: relative;
    padding: 0px 0px 10px 0px;
}

div.admin fieldset {
    width: 535px;
    padding: 30px 20px;
    margin: 10px 0px;
    border: 1px solid #00a2c9;
}

div.admin textarea,
    div.admin input {
    width: 535px;
    border: 1px solid #00a2c9;
    margin: 0px 0px 2px 0px;
}


table#continuativeLinks {
    width: 540px;
}

table#continuativeLinks td.inputcell {
    text-align: right;
    padding: 0px;
}

table#continuativeLinks td.inputcell input {
    width: 420px;
}

div.admin div.tableitems {
    margin-left: 0px;
}

div.admin input.radio {
    width: auto;
}

div.admin .notice {
    color: #00a2c9;
    margin-left: 10px;
}


div.admin input.submit {
    margin: 10px 0px 10px 0px;
    border: 1px solid #000000;
    width: auto;
    position: absolute;
    right: 1px;
}

div.admin h3 {
    margin-left: 0px;
}

hr {
    color: #000000;
    background-color: #000000;
    border: none;
    border-top: 1px solid #000000;
    height: 0px;
    padding: 0px;
    margin: 20px 2px 20px 0px;
}

div.teacherGeneral,
div.impressum{
    font-size: 0.80em;
    text-align: justify;
    width: 580px;
}

div.teacherGeneral h1,
div.impressum h1{
    font-size: 1.85em;
    color: #ff7e12;
}

div.teacherGeneral h2,
div.impressum h2{
    font-size: 1.40em;
}

div.teacherGeneral h3,
div.impressum h3{
    font-size: 1.20em;
    margin: 10px 0px -10px 0px;
}

div#contenttext {
    padding: 0px 10px 0px 10px;
}

div.teacher h1,
    div.teacher h2,
    h3.sourcelist {
    color: #ff7e12;
}

#formallogo{
    float:left;
    border:none;
    width: 100%;
}

#bmfsf{
    
    color: #999;
}
#bmfsf img{
    border: 1px dotted #999;
}
#bmfsf div{
    font-size:11px;
    width: 540px;
    text-align:left;
}





