
@media only screen and (max-width: 986px) { /* = 970 + scrollbar       @media screen and (max-width: 969px) {*/

	/*.base { width: 99%; }*/

	/*#banner { width: 100%; }*/
	/*#banner-txt { padding-left: 15px; }*/

	h2 { font-size: 33px; }

	/*#home-reals figure { margin-right: 9px; }*/

	section.page #subnav { width: 190px; }
	section.page #subnav a { width: 185px; }

	article.activity { width: 49%; padding-right: 2%; }
}

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

	h2 { font-size: 28px; }

	#language {
		padding-top: 0;
		height: auto;
		position: absolute;
		right: 20px;
		top: 5px;
		z-index: 101;
	}
	#language a, #language a:hover { font-size: 15px; line-height: normal; padding-left: 10px; }

	/*section.page { padding: 30px 0; }*/

	#home-txt { padding-bottom: 20px; }
	#home-reals { padding-top: 20px; }

	article.activity { float: none; width: auto; padding-right: 0; margin-bottom: 10px; }

	article.ref { float: none; padding-right: 0; width: auto; overflow: hidden; }

	#form, #form-txt { display: block; width: auto; padding-right: 0; }
	#form { border-bottom: solid 1px #c8c8c8; padding-bottom: 10px; }
	#form-txt { width: auto; border-left: none; padding: 10px 0 0 0; }

	form, form p { width: auto; }
	form p input, form p textarea, form p select { width: 75%; }
	form p textarea { width: 95%; }
}

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

	/*#banner-txt { padding-left: 10px; }*/

	/*#home-reals figure { width: 225px; }
	#home-reals figure img { max-width: 100%; width: 100%; }
	#home-reals figure a { width: 225px; height: 148px; }
	#home-reals figure figcaption { left: -219px; width: 225px; padding: 5px; }*/
}

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

	h2 { font-size: 23px; }

	/*#nav a, #nav a:hover { font-size: 15px; padding: 0 10px; }
	#nav a:first-child, #nav a:hover:first-child { border-left: none; padding-left: 0; }
	#nav a:last-child, #nav a:hover:last-child { border-right: none; padding-right: 0; }*/
}

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

	h2 { font-size: 20px; }

	/*#nav a, #nav a:hover { font-size: 12px; padding: 0 5px; }
	#language a, #language a:hover { font-size: 12px; }*/

	#home-txt { font-size: 15px; line-height: 23px; }

	footer { position: relative; text-align: center; line-height: 25px; }
	#copy {
		float: none;
		display: inline-block;
		/*margin-top: 0;
		position: absolute;
		left: 50%;
		bottom: 5px;
		margin-left: -16px;*/
	}
}

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

	#wrapper { margin: 0 auto; height: auto; }
	#push { display: none; }
	footer { height: auto; line-height: normal; padding-bottom: 25px; }

	/*#logo { display: none; } #logo-mobile { display: block; }*/

	/*#nav a.history { display: none; }*/

	/*#banner, .ei-slider, #banner.banner-home { width: 100%; height: auto; }
	#banner-txt { display: none; }*/

	/*section.page { padding: 20px 0; }*/

	/*#home-reals figure { margin: 0 1px 1px 0; }*/
}

/*@media only screen and (max-width: 836px) {*/

@media only screen and (max-width: 585px) { /* change bigtime!! */

	body#top {
		/*background-image: none;*/
	}

	header { background-color: #fff; }

	/*header { height: 59px; }*/

	/*#logo-mobile { display: none; } #logo-mobile-small { display: block; }*/

	#nav-select { padding-top: 27px; }

	article.activity h3 { font-size: 15px; font-weight: bold; }
	article.activity figure { float: left; width: 140px; margin-right: 5px; } article.activity figure img { width: 140px; }
	article.activity h3 { padding-bottom: 5px; }

	article.ref { margin-bottom: 10px; }

	/*section.page aside { border-left: none; padding-left: 0; }*/

	#form img { width: 100%; max-width: 350px; height: auto; }
	#form div.error { width: auto; }
}

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

	#home-reals { padding-bottom: 0; }
	/*#home-reals figure { !*position: static;*! float: none; width: 100%; margin: 0 0 1px 0; }
	#home-reals figure a { width: 100%; height: auto; }
	#home-reals figure img { position: static; }
	#home-reals figure figcaption, #home-reals figure:hover figcaption { !*display: none;*! left: 0; bottom: 0; background-image: none; height: auto; }*/
}
