/* Outside the box, we have a light blue "margin" of 1% */
html, body {
   margin: 0;
   font-size: 91%;
/*   font-size: 100.01%; */
   font-family: Verdana, Tahoma, sans-serif;
   background: #e7f3f7;
   color: black;
   padding: 1%;
}
a { color: #0c08ae; text-decoration: underline; }
a:visited { color: #df5d00; }

/* We took the orange of the links and headings off the logo */
h1, h2, h3, h4, h5, h6 { color: #df5d00; text-align:left; }
h1 { font-size: 1.1 em; }

table {
	margin-bottom: 1em;
	border: 1px solid gray;
	border-collapse: collapse;
}

tr, td, th {
	padding: 0.3em 0.5em;
	border: 1px solid gray;
	vertical-align: top;
}
th { background-color: #df5d00; }

.boff {
   border: 0px;
}

/* This is the main container one level below body. Everything goes here */
#container {
  font-size: 1em;
  max-width: 850px;
/*  margin: auto;*/
  border: 1px solid #aaa;
  border-top: 0;
  background: white;
}

ul { padding: 0; margin: 0; }

#company_name {
  background: url(/images/6.png) 0 0 no-repeat black;
/*  height: 64px; */
/* We pad the company name to the right: */
  padding: 0 20px 0 0;
  text-align: right;
/* We need this so the name does not glue to the top: */
  line-height: 64px;
  font-size: 32px;
/*  overflow: hidden; */
/* Plus we push the company as it is quite long */
  letter-spacing: -2px;
/*  margin: 0; */
}
/* Click on the company name leads to the contact form */
#company_name a {
  color: white;
  text-decoration: none;
}

pre {
	font-size:12px Courier;
}

code {
	font-size:12px;
}

/*
p form {
	margin-top:0px;
	margin-bottom:0px;
}
*/

input {
	border:1px solid #aaa;
	margin:2px 12px 2px 2px;
}

textarea {
	border:1px solid #aaa;
	margin:2px 12px 2px 2px;
	font-family:Verdana,sans-serif;
	font-size:10.75px;
	padding:1px;
}

select {
	border:1px solid #aaa;
	margin:2px 12px 2px 2px;
	font-family:Verdana,sans-serif;
	font-size:10.75px;
}

input:hover, textarea:hover, select:hover {
     border: 1px solid black;
     background-color: #eee;
} 
#nav {
/*	height:2.2em; */
        font-size: 0.9em;
/* this makes the height of the green strip: */
	line-height:32px; 
        text-align:right;
	margin: none;
        padding: none;
	background: url(/images/5.png) #287635;
}

#nav li {
        display:inline;
/*	padding: 3px 6px 3px 0px; */
/*      margin: 0 3px 0 0; */
	list-style-type:none;
/*	white-space:nowrap; */
/*        background-color: brown; */
}

#nav li a {
/* oben rechts unten links */
	padding: 3px 10px 3px 0px;
        margin: 0 3px 0 0;
	font-size: 1em;
	font-weight: bold;
	background-color: inherit;
	border-right: 1px solid white;
	color: white;
}

#nav li .active {
	color: #f4c300;
	text-decoration:none;
}

#nav li .dashoff {
     border: 0px;
}

#nav a:hover {
/* Links ists abgeschnitten... */
/*	background:#df5d00; */
	color:#df5d00;
	text-decoration:underline;
}

#content {
	float:left;
	width:500px;
        font-size: 0.9em;
        text-align:justify;
	padding:20px 0 0 20px;
        line-height:1.8em;
}

#content h1 { font-size: 1.4em; }
#content h2 { font-size: 1.3em; }

#contentbreit {
	float:left;
	width:720px;
	padding:20px 0 0 20px;
}

#contentbreit td {
	padding:3px;
}

#content ul, #content ol, #content dl {
	margin:0 5px 16px 35px;
}

#content dt {
	font-weight:bold;
	margin-bottom:5px;
}

#content dd {
	margin:0 0 10px 15px;
}

#toolbox {
        margin: 0 0 0 0;
	float:right;
	text-align:left;
	width:270px;
	padding:10px 20px 0 0;
	font-size:0.8em;
	font-weight:bold;
}

#toolbox ul, #toolbox ol, #toolbox dl {
	margin:5px 0px 5px 25px;
}

#toolbox p {
	margin:0 0 3px 0;
}

#logo {
   height:165px;
   margin: 0 0 0 70px;
   background: url(/images/16.png) no-repeat;
}

#search {
   text-align:center;
}

#searchbar {
	margin:0 0 0 0;
        padding: 0 0 0 0;
        text-align:right;
  background-color: blue;
}

#searchbar form fieldset {
	margin:0 0 0 0;
	border:1px solid red;
  background-color:green;
}

#footer {
        background: url(/images/5.png) #287635;
	clear:both;
	padding:5px 0;
	margin:0;
	font-size:0.8em;
	color:white;
        overflow:hidden;
}

#footer p {
	padding:0;
	margin:0;
	text-align:center;
}

.splitcontentleft {
	float:left;
	width:48%;
}

.splitcontentright {
	float:right;
	width:48%;
}

.clear {
	clear:both;

}

.small {
	font-size:0.8em;
}

.hide {
	display:none;
}

.textcenter {
	text-align:center;
}

.textright {
	text-align:right;
}

.important {
	color:#f02025;

	background-color:inherit;
	font-weight:bold;
}

.box {
/*	margin:5px 2px 5px 10px; */
        margin: 0 0 10px 0;
	padding:5px;
	border:1px solid #aaa;
	background-color:#eee;
}
.box p {
	text-align:left;
}

.newsbox {
/*	margin:5px 2px 5px 10px; */
        margin: 0 0 10px 0;
	padding: 5px;
        padding-left: 15px;
	border:1px solid #aaa;
/*	background-color:#eee; */
}
.newsbox p {
	text-align:left;
}
blockquote {
    background-color: #eee;
/*    margin: 1px 10px 10px 20px; */

    margin: 0 0 0 0;
    padding: 5px;
    border: 1px solid #aaa;
}

select:focus, select:hover, textarea:focus, textarea:hover, .okbuttons:focus, .cancelbuttons:focus, .editbox:focus, .editbox:hover, .redbox:focus, .redbox:hover {
	border:1px solid black;
}

.dropdownbox {
	font-family:Verdana,sans-serif;
	font-size:10.75px;
}

.okbuttons, .cancelbuttons {
	font-family:Verdana,sans-serif;
	font-size:10.75px;
	border-top:1px solid #aaa;
	border-bottom:1px solid #aaa;
	border-left:1px solid #aaa;
	border-right:1px solid #aaa;
	padding:1px;
}

.okbuttons:hover, .cancelbuttons:hover {
	border:1px solid black;
	background-color:#A0E0A0;
	text-decoration:underline;
}

.editbox {
	font-family:Verdana,sans-serif;
	font-size:10.75px;
	border:1px solid #aaa;
	padding:1px;
}

.redbox {
	font-family:Verdana,sans-serif;
	font-size:10.75px;
	background-color:#ffcccc;
	border:1px solid #aaa;
	padding:1px;
}

.footnote {
     font-size: 0.9em;
     line-height: 1.2em;
}
a[href^="http://"]:before {
	background:url(/layout/link.gif) left no-repeat;
	padding-left:17px;
	content:"";
}

a[href^="http://avmatsim"]:before,
a[href^="http://www.avmatsim"]:before {
	background:inherit;
	padding-left:0;
}

a[href$=".pdf"] {
	background:url(/layout/pdf.png) right no-repeat;
	padding-right:22px;
	padding-top:3px; /* geht vielleicht besser über v-align baseline oder so */
}
