@media only screen and (max-width: 800px)  {

html, body {
background:0;
font-family: Verdana;
font-size: 101.1%;
text-align: center;
margin: 0;
padding: 0;
height: 100%;
}

#rahmen{
position: relative;
width: 96%;
min-height: 100%; /* Mindesthöhe für moderne Browser */
height:auto !important; /* Important Regel für moderne Browser */
height:100%; /* Mindesthöhe für den IE */
overflow: hidden !important; /* FF Scroll-leiste */ 
margin: auto;
text-align: left;
border: 0px solid red;
}

#logo{
position: relative;
width: 173px;
margin-top: 5px;
margin-left: 0;
border: 0px solid yellow;
}

#kopf{
position: relative;
float: none;
width: 100%;
height: auto;
background: 0;
border: 0px solid lavender;
}

#kopfbild {
position: relative;
width: inherit;
height: auto;
text-align: left;
margin-left: 0;
border: 0px solid green;}

#hauptnavi {
    border: 0 solid #0c2d96;
    height: auto;
    left:0;
    position: relative;
    top: 0;
    width: 100%;
}

#linkespalte ul.menu li {
    width: 100%;
}

#huelle {
position:relative;
float: none;
width: 100%;
margin-left: 0;
min-height: 100%; /* Mindesthöhe für moderne Browser */
height:auto !important; /* Important Regel für moderne Browser */
height:100%; /* Mindesthöhe für den IE */
overflow: hidden !important; /* FF Scroll-leiste */ 
background:0;
border: 0px solid orange;
}

#linkespalte {
position: relative;
margin-left: 0;
width: 100%;
height: auto;
min-height: auto;
float: none;
margin-top: 3px;
border: 0px solid #0C2D96;
}

#linkespalte.hide {
	display:none;
}

#linkespalte p {
margin-top: 0;
margin-bottom: 0.85em;
padding-left: 0;
line-height: 140%;
font-size: 0.70em;
color: #7f7f7f;
}

#linkespalte h1, #linkespalte h2, #linkespalte h3 {
color: #262692;
}

#linkespalte h1{
font-size: 1.0em;
margin-top: 1.6em;
padding-left: 0px;
margin-top: 10px;
}

#linkespalte h1+h2{
margin-top: 0;
}

#linkespalte h2{
font-size: 0.9em;
margin-top: 1.6em;
}

#linkespalte h3{
font-size: 0.70em;
padding-left:10px;
text-transform:uppercase;
letter-spacing:0.075em;
color: #ffffff;
background-color: #262692;
}


#linkespalte ul 
{
padding: 0;
margin:0;
padding-left: 17px;
list-style-type: square
}

#linkespalte li 
{
margin-top: 0;
margin-bottom: 0.65em;
line-height: 140%;
font-size: 0.80em;
color: #7f7f7f;
}

#linkespalte a:link { 
font-weight:bold;
}

/* -----HAUPTSPALTE -----*/

#hauptspalte {
position: relative;
width: 100%;
float: none;
padding-top: 0px;
padding-left: 0;
margin-top: 3%;
margin-left: 0;
min-height: 650px;
border-top: 14px solid #0C2D96;
}

.impressum {
float: left;
padding-top: 0px;
padding-left: 20px;
margin-left: 15px;
border: 0px solid #0C2D96;
}

#hauptspalte h1, #hauptspalte h2, #hauptspalte h3, .impressum h1, .impressum h2, .impressum h3 {
color: #262692;
}

#hauptspalte h1{
font-size: 0.9em;
margin-top: 1.6em;
padding-left: 0px;
margin-top: 10px;
margin-bottom:20px;
}

#hauptspalte h1+h2{
margin-top: 0;
}

#hauptspalte h2{
font-size: 0.75em;
margin-top: 1.6em;
}

#hauptspalte h3{
font-size: 0.75em;
padding-left:10px;
text-transform:uppercase;
letter-spacing:0.075em;
color: #ffffff;
background-color: #262692;
}

#hauptspalte p, .impressum p
{
margin-top: 0;
margin-bottom: 0.85em;
line-height: 140%;
font-size: 0.80em;
color: #7f7f7f;
text-align: left;
}

#hauptspalte ul 
{
padding: 0;
margin:0;
padding-left: 17px;
list-style-type: square
}

#hauptspalte li 
{
margin-top: 0;
margin-bottom: 0.85em;
margin-left: 15px;
padding-left: 5px;
line-height: 140%;
font-size: 0.80em;
color: #7f7f7f;
}

a:link { color:#262692; text-decoration: none; }


a:visited { color:#696969; text-decoration:underline; }


a:focus { color:#7f7f7f; text-decoration:underline; }


a:hover { color:#696969; text-decoration:underline; }


a:active { color:#7f7f7f; text-decoration:underline; }

a img { border:0px none; }

hr {
  border: 0 #262692 solid;
  border-top-width: 1px;
  clear: both;
  height: 0;
  margin-top: 20px;
}


.spalten{
float: left;
width:100%;
border: 0px solid red;
}

.sp-li{
max-width:100%;
float: none;
margin: 0 0 10% 0;
}

.sp-re{
max-width:100%;
float: none;
margin: 0 0 10% 0;
}

img {
max-width: 99%;  
height:auto;
}



}