/* Outside the box, we have a light blue "margin" of 1% */
body {
  color: black;
  margin: 0;
  padding: 0;
  font-size: 90%
  font-family: verdana, arial, sans-serif ;
}
a { color: #0c08ae; text-decoration: underline; }
a:visited { color: #990099; }

/* 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; }

/* This is the main container one level below body. Everything goes here */
#container {
  font-size: 1em;
  max-width: 900px;
  margin: 0 0 0 0;
  border-top: 0;
  background: white;
  font-family: verdana, arial, sans-serif ;
}

ul { padding: 0; margin: 0; }

#company_name {
/*  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: black;
  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;
}

#nav {
/*	height:2.2em; */
        font-size: 0.9em;
/* this makes the height of the green strip: */
	line-height:32px; 
        text-align:right;
	margin:0;
}

#nav li {
        display:inline;
	list-style-type:none;
	white-space:nowrap;
}

#nav li a {
	padding:0 10px;
	font-size:1em;
	font-weight:bold;
	background-color:inherit;
	border-right:1px solid grey;
        text-decoration:underline;
	color:grey;
}

#nav .active {
	color:black;
	text-decoration:none;
        font-size: 1.5 em;
        border: 1px 1px 1px 1px solid black;
}

#nav a:hover {
	background:#df5d00;
	color:white;
	text-decoration:underline;
}

#content {
	float:left;
	width:500px;
        font-size: 0.9em;
        text-align:justify;
	padding:20px 0 0 20px;
}

#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 {
        display:none;
}

#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 {
   display: none;
}

#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 {
	clear:both;
	padding:5px 0;
	margin:0;
	font-size:0.8em;
	color:black;
        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;
}

blockquote {
    background-color: #eee;
/*    margin: 1px 10px 10px 20px; */

    margin: 0 0 0 0;
    padding: 5px;
    border: 1px solid #aaa;
}

.box p {
	text-align:left;
}

div.bild {
	float:right;
	line-height:0.8em;

	margin:5px 0px 5px 10px;
	width:250px;
}

div.bild img {
	border:0px;
}

div.bildunterschrift {
	background:#ccc;
	text-align:center;
	width:242px;
	margin:0px;
	padding:4px;
	font-size:0.9em;
}

div.bildunterschrift p {
	padding:5px;
	text-align:center;
}

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;
}

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 */
}
