/************************************************************************************
smaller than 1024
*************************************************************************************/
@media screen and (max-width: 1024px) {

p, li, a {font-size:15px; letter-spacing:0.02em; word-spacing:0.02em; line-height:1.4em;}

/* Breite des Textes */

	/* content */
	#content {
		width: 97%;
	}

/* Breite des Hauptbereichs */

.container .span-15 {
    width: 56%;
    margin-left: 2%;
    margin-right: 2%;
}

.container .span-16 {
    width: 65%;
}

/* Breite des rechten Sidebar-Suchbereichs (Google) */

.container .span-5 {
    width: 24%;
}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	/* header */
	#header {
		height: auto;
	}

	/* search form */
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}

	/* sidebar */
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}

}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}

}

/************************************************************************************
Mobile Device
*************************************************************************************/
@media only screen and (max-device-width: 480px) {
	
   /* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
   
   div#header,
   div#sidebar-left,
   div#sidebar-right,
   div#footer { display: none; }
   
   #content {
		width: 95%;
	}
	
	.container .span-15 {
    width: 100%;
}


}

