/* =========================================================

   Stylesheet für die Beispielsite aus "Einstieg in CSS"

   Datei: bildschirm.css
   Datum: ...
   Autor: ...
  
========================================================== */

@media screen {

  /* =======================================
  1. Allgemeine Styles
  ======================================= */
  body {
    
   color: white; 
    
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 87.5%; 
  } 
  
  h1, h2, h3, h4, h5, h6 { 
    font-family: 'Open Sans', Arial, sans-serif;
  }
  
  address {
    text-align: center;
    font-size: 85%;
    font-style: normal;
    
    line-height: 1.5;
  }
  
  /* Hyperlinks */ 
  a { text-decoration: none; } 
  main a { text-decoration: underline; }
  address a { text-decoration: underline; }
  
  a:link { color: #d90000; }
  a:visited { color: #cc6666; } 
  a:hover, a:focus { text-decoration: none; }
  a:active {
    background-color: #d90000;
    color: white;
  }

  main li{
  /* clear:both;rs*/
  }
  /* Klassen und IDs */
/*.inhaltsbereich {
	/*display: inline-block; rs*/
	width: 79%;
	height: auto;
} 

/*mobile*/  
@media (max-width:500px) { 
	.inhaltsbereich {
width:100%;
}
	img {
		max-width: 100%;
		width:100%;
		width: auto\9; /* ie8 */
		height: auto;
	}
	.navibereich{
	vertical-align: top;
    /*overflow: auto;
		display: inline-block;rs*/
		width: 100%;
		height: auto;
		background-color: lightsteelblue;
	
 }
  header {order: 1;}
  main {order: 2;}
article {order: 3;}
nav {order: 4;}
footer {order: 5;}

} 
@media (min-width:500px) and (max-width:768px) { 
		.inhaltsbereich {
width:100%;
}
	img {
		clear:both;
		width:50%;
		width: auto\9; /* ie8 */
		height: auto;
	}
	.navibereich{
	vertical-align: top;
    /* overflow: auto; rs*/
		/*display: inline-block;*/
		width: 100%;
		height: auto;
		background-color: lightsteelblue;
	}
}
	/*Desktop*/
@media (min-width:768px) {
	img {
		max-width: 100%;
		width:50%;
		width: auto\9; /* ie8 */
		height: auto;
	}
	.navibereich{
	    vertical-align: top;
    overflow: auto;
    /* display: inline-block; rs*/
    width: 20%;
    height: auto;
    background-color: lightsteelblue;
}
} 

  img.logo {
    display: inline;
    background-color: transparent;
    color: black;
    padding: 1px;
    border: 1px solid transparent; /* #d9d9d9;*/
  }
  
  p.slogan {
    /*position: absolute; */
    display: inline;
    top: 10px;
    right: 20px;
    padding: 5px 0; 
    margin-bottom: 0; 
   }
   
  p.slogan span { 
    color: #d90000; 
  }

  .floatlinks {
    float:left;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .floatrechts {
    float:right;
    margin-left: 10px;
    margin-bottom: 10px;
  }
  .bilderrahmen {
    padding: 3px;
    border: 3px solid windowFrame;
    border-radius: 5px;
  }
  
  .clearing { clear: both; } 
  
  /* Micro-Clearfix-Hack */ 
  .cf:before, 
  .cf:after {
    content: " ";
    display: table; 
  }
  .cf:after {
    clear: both; 
  }

  
  /* =======================================
  2. Styles für die Layoutbereiche
  ======================================= */
  
  div#wrapper {
   /* background-color: white;*/
    color: black;
   width: auto;
    margin: 10px auto;
  }

  header#kopfbereich {
  position: relative; 
    /*background-color: #f3c600;*/
    color: black;
    padding: 1px 20px; 
  }

  main#inhaltsbereich { 
    line-height: 1.5;
    padding: 10px; 
    background-color:lightsteelblue;
    border-radius: 4px;
    inhaltsbereich-shadow: 0px 2px 6px rgba(0,0,0,0.3);
  }
  
  footer#fussbereich {
    padding: 10px 20px 20px 20px;
    border-top: 1px solid #8c8c8c;
    margin-top: 0;
  }

  /* =======================================
3. Sonstige Styles
======================================= */

  div.kopf {
    padding: 25px 10px 0px 0;
    margin: 0 3px 3px 0;
   }

  div.kopf img {
    float: right;
    border-radius: 4px;                      
   /* box-shadow: 0px 2px 6px rgba(0,0,0,0.3); */
     box-shadow: 0px 2px 6px;
    margin-right: 5px;
    margin-bottom: 5px;
  }

  
} /* Ende @media – nicht löschen! */

/* ======================================
   E N D E  
====================================== */