@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700|Open+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,500,700');
/* CSS Document */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}

.container {
	max-width: 1100px;
	width: 90%;
	margin: 0 auto;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

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

/* ---- Typografie ---------------- */
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}
p {
	line-height: 1.8rem;
	margin-bottom: 1.4rem;
}
h1 {
	font-family: 'Amatic SC', cursive, sans-serif;
	font-size: 22px;
	letter-spacing: 0.15rem;
	word-spacing: 0.2rem;
	width: 200px;
	padding-top: 3px;
}
h1 a {
	text-decoration: none;
	color: #fff;
}
h2 {
	font-family: 'Amatic SC', cursive, sans-serif;
	font-size: 300%;
	font-weight: 700;
	color: #fff;
	margin-bottom: 1.5rem;
	padding: 0.5rem 1.5rem;
	border-radius: 20px;
	display: inline-block;
}
h3 {
	font-family: 'Ubuntu', sans-serif;
	font-size: 120%;
	font-weight: 500;
	letter-spacing: 0.05rem;
	margin-bottom: 0.4rem;
	color: #207037;
	text-transform: uppercase;
}

.datenschutz, .impressum {
	padding-top: 100px;
	/* padding-bottom: 90px;*/
}
.datenschutz p, .impressum p {
	font-size: 0.9rem;
}
.impressum p {
	margin-bottom: 1rem;
	line-height: 1.6rem;
}
.datenschutz li {
	font-size: 0.9rem;
	line-height: 1.6rem;
	margin-bottom: 0.6rem;
	margin-left: 1rem;
}
.datenschutz li:nth-of-type(3) {
	margin-bottom: 1.4rem;
}
.impressum p strong {
	margin-top: 2rem;
}
.impressum p.last {
	margin-bottom: 1.6rem;
}
.datenschutz article p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}
.datenschutz .nomargin {
	margin-bottom: 0.5rem;
}
.datenschutz h2, .impressum h2 {
	color: #003F7E;
	padding-left: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 120%;
	text-transform: uppercase;
	margin-bottom: 1rem;
	letter-spacing: 0.05rem;
}
.datenschutz h3, .impressum h3 {
	color: #003F7E;
	font-size: 100%;
	margin-bottom: 0.25rem;
	line-height: 1.5rem;
}
.impressum h3 {
	margin-bottom: 1rem;
}
.datenschutz .tiedot {
	margin: 0;
	font-size: 0.8rem;
}
a.linkki {
	text-decoration: none;
	color: #003F7E;
}

/* ---- Topheader --------------------- */
#topheader {	
	background-color: #003F7E;
	height: 91px;
	position: fixed;
	z-index: 10;
	width: 100%;
}
#kopf {
	width: 90%;
	height: 91px;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	padding: 16px 0 14px;
}

/* ---- Imgheader ---------------------- */
#imgheader {
	background-image: url(../img/banneri_testi2.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: top center;
	height: 560px;
	position: relative;
	
}
h2.tervetuloa {
	font-size: 480%;
	padding: 0 0 10px 0;
	color: #003F7E;
	background-color: #fff;
	border-bottom: 5px dotted #BEDCF5;
	border-radius: 0;
}
p.headertext {
	font-size: 120%;
	line-height: 1.1rem;
	color: #003F7E;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;
	margin-bottom: 0.7rem;
	letter-spacing: 0.04rem;

}
p.headertext_eins {
	font-size: 150%;
	color: #003F7E;
	font-weight: 500;
	font-family: 'Ubuntu', sans-serif;
	letter-spacing: 0.1rem;
	margin-bottom: 0.7rem;
}

/* ---- Sections ------------------------ */
#linkeins, #linkzwei, #linkdrei, #linkvier, #linkfuenf {
	height: 91px;
	width: 60px;
	position: absolute;
	bottom: 0;
}
#eins, #zwei, #drei, #vier, #fuenf {
	padding: 50px 20px 70px;
	overflow: hidden;
	position: relative;
}
#zwei, #vier {
	background-color: #E4F1B7;
}
#fuenf {
	padding: 50px 0 0;
}

/* ---- eins info ----------- */
#eins {
	padding-bottom: 0;
}

#eins article {
	max-width: 650px;
	padding-bottom: 70px;
}
#eins .container {
	width: 90%;
	max-width: 1100px;
	background-image: url(../img/suomikoulu_logo.jpg);
	background-repeat: no-repeat;
	background-position: 570px bottom;
	background-size: contain;
	/*background-size: content;*/
}
#eins p:nth-child(4) {
	margin-bottom: 0;
}
#eins h2 {
	background-color: #465FB9;
}
#eins p:nth-child(4) {
	margin-bottom: 0;
}
#eins h2 {
	background-color: #465FB9;
}

/* ---- zwei schultage ------- */
.kalender {
	max-width: 760px;
	margin: 0 auto;
}
#zwei article {
	background-color: #fff;
	padding: 35px;
	text-align: center;
	border-radius: 20px;
	float:left;
	width: 47%;
	margin-right: 6%;
}
#zwei article:nth-of-type(2) {
	margin-right: 0;
}
#zwei article ul, #drei article ul {
	list-style: none;
	line-height: 1.7rem;
}
#zwei h2 {
	background-color: #51A04B;
}

/* ---- drei beitraege ------ */
#drei {
	background-image: url(../img/grafik1.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: top center !important;
	padding: 100px 20px;
}

#drei .textwrap {
	background-color: #fff;
	max-width: 760px;
	padding: 50px;
	border-radius: 20px;
	margin: 0 auto;
}

#drei h2 {
	background-color: #F0D400;
}

#drei h3 {
	color: #003F7E;
}

#vier h2 {
	background-color: #51A04B;
	margin-bottom: 2.5rem;
}

#fuenf h2 {
	background-color: #465FB9;
}

/* ---- vier galerie --------- */
ul.galerie li {
	width: 32%;
	float: left;
	list-style: none;
	margin-right: 2%;
	margin-bottom: 2%;
	border: 10px solid #fff;
	transition: all 0.5s;
	boxshadow: 0 0 0 4px;
}
ul.galerie li:hover {
	-ms-transform: rotate(4deg); /* IE 9 */
    -webkit-transform: rotate(4deg); /* Safari */
    transform: rotate(4deg);
}

ul.galerie li img {
	width: 100%;
	display: block;
}

/* ---- fuenf kontakt --------- */
#fuenf {
	background-color: #E2F0FB;
}
.kontakt_links {
	float: left;
	width: 50%;
	padding-right: 15%;
	padding-bottom: 70px;
}
.kontakt_rechts {
	float: left;
	width: 50%;
	padding-bottom: 70px;
}
form {
	max-width: 500px;
	margin: auto;
}
.formular {
	border-radius: 5px;
	line-height: 22px;
	background-color: #fff;
	border:2px solid #465FB9;
	padding: 13px;
	margin-bottom: 1%;
	width:95%;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}
textarea {
	margin-bottom: 0;
}
[type="submit"] {
	font-family: 'Amatic SC', cursive, sans-serif;
	width: 95%;
	background:#465FB9;
	border-radius:10px;
	border:0;
	cursor:pointer;
	color:white;
	font-size:30px;
	padding-top:8px;
	padding-bottom:8px;
	transition: all 0.3s;
	font-weight:700;
	letter-spacing: 0.15rem;
}
input[type="submit"]:hover { 
	background:#51A04B; 
}
h2.kontakt {
	background-color: transparent !important;
	color: #465FB9;
}
#fuenf .kontakt_links ul li {
	list-style: none;
}
#fuenf .kontakt_rechts ul li {
	list-style: none;
}
#fuenf .kontakt_links h3 {
	margin: 25px 0 10px;
	color: #465FB9;
}
#fuenf .kontakt_rechts h3 {
	margin: 25px 0 10px;
	color: #465FB9;
}
#fuenf .kontakt_links .abstand {
	margin-bottom: 1rem;
}
#fuenf .kontakt_rechts .abstand {
	margin-bottom: 1rem;
}
bold {
	font-weight: 700;
}
#fuenf iframe {
	width: 100%;
	height: 600px;
}

/* ---- Footer ------------------------- */
footer {
background: #003F7E;
padding: 1.5rem 1.5rem 0.8rem 1.5rem;
text-align: center;
width: 100%;
}
footer li {
color: #fff;
	list-style: none;
	display: inline;
	margin-right: 5%;
	line-height: 2rem;
}
footer li:nth-of-type(1) {
	line-height: 1rem;
}
footer a {
	color: #fff;
}
footer p {
	color: #fff;
	margin-bottom: 0;
	padding-top: 0.4rem;
	font-size: 10px;
}

.datenschutz article, .impressum article {
	padding: 30px 0;
}

/*NACH OBEN BUTTON*/
#myBtn {
  	display: none;
  	position: fixed;
	width: 35px;
	height: 35px;
  	bottom: 20px;
  	right: 20px;
  	z-index: 500;
  	font-size: 28px;
	font-weight: bold;
	text-align: center;
  	border: none;
  	outline: none;
  	background-color: rgba(0,0,0,0.3);
 	color: white;
  	cursor: pointer;
  	padding-top: 4px;
  	border-radius: 10px;
}

#myBtn:hover {
  	background-color: #003F7E;
}		

/* ++++ MOBIL +++++++++++++++++++++++ */
/* ++++ MOBIL +++++++++++++++++++++++ */
/* ++++ MOBIL +++++++++++++++++++++++ */

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

	#topnav .sprache li {
		display: none;
	}
	
	#topnav {
		display: none;
	}
	
	#topheader {
		height: 91px;
	}
	h1 {
		max-width: 60%;
		font-size: 22px;
	}
	h1 a {
		position: absolute;
		z-index: 500;
		height: 80px;
		width: 170px;
	}
	#page-container {
		position: relative;
		min-height: 100vh;
	}
	footer.fixed {
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 90px;
	}
	.datenschutz, .impressum {
		padding-bottom: 90px;
	}
	
	/* ---- MOBIL NAVI NEU ----*/

	.centered-navigation {
	  min-height: 60px;
	  z-index: 9999; 
	  text-align: right;
	}

	.centered-navigation .centered-navigation-mobile-menu {
	  color: #fff;
	  line-height: 60px;
	  margin: 0;
	  text-decoration: none;
	  display: block;
	  padding-bottom: 12px;
	}  
		 
	.centered-navigation .centered-navigation-wrapper:after {
	  content: "";
	  display: table;
	  clear: both; }

	.centered-navigation ul.centered-navigation-menu {
	  -webkit-transform-style: preserve-3d;
	  clear: both;
	  display: none;
	  margin: 0 auto;
	  overflow: visible;
	  padding: 0;
	  width: 100%;
	  z-index: 99999; }


	.centered-navigation ul li.nav-link {
	  /*background: rgb(50,50,50);*/
	  background: #465FB9;
	  display: block;
	  line-height: 60px;
	  overflow: hidden;
	  text-align: center;
	  width: 100%;
	  z-index: 9999;
	  /*border-bottom: 1px solid #666;*/
	  border-bottom: 1px solid #fff;
	 }
	 
	.centered-navigation ul li.nav-link:last-of-type {
		border-bottom: 0px;
	}

	  
	.centered-navigation ul li.nav-link a {
	  color: #fff;
	  display: block;
	  outline: none;
	  text-decoration: none; 
	}

	.centered-navigation ul li.nav-link a:focus, 
	.centered-navigation ul li.nav-link a:hover {
		/*background-color: rgb(40,40,40);*/
		background: #fff;
		color: #465FB9;
	}
	  
	.centered-navigation li.logo.nav-link {
	  display: none;
	  line-height: 0; 
	}
	
	/* ---- Imgheader mobil -------- */
	#imgheader {
		height: 300px;
		padding: 145px 20px 100px;
	}	
	h2.tervetuloa {
		font-size: 400%;
		margin: 0;
		padding: 2% 5%;
		border-radius: 20px;
		border: 0;
	}
	p.headertext {
		display: none;
	}
	p.headertext_eins {
		display: none;
	}

	/* ---- Sections mobil ---------- */
	/* ---- zwei ---- */
	.kalender {
		width: 100%;
	}
	#zwei article {
		float:none;
		width: 100%;
		padding: 40px 25px;
		margin-bottom: 6%;
		margin-right: 0%;
	}

	/* ---- drei ---- */
	#drei .textwrap {
		width: 100%;
		padding: 40px 25px;
		border-radius: 20px;
	}
	#drei {
	background-image: url(../img/grafik1_mob.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: top center !important;
	padding: 100px 20px;
}

	/* ---- vier galerie ------------- */
	ul.galerie li {
		width: 48%;
		margin-right: 3%;
		margin-bottom: 3%;
	}
	ul.galerie li:nth-of-type(2) {
			margin-right: 0;
		}
	ul.galerie li:nth-of-type(4) {
			margin-right: 0;
		}
	ul.galerie li:nth-of-type(6) {
		margin-right: 0;
	}

	/* ---- Section 5 Kontakt ---- */
	.kontakt_links {
		float: none;
		width: 100%;
		padding-bottom: 0;
	}
	.kontakt_rechts {
		float: none;
		width: 100%;
	}
	form p {
		margin-bottom: 1rem;	
	}
	h2.kontakt {
		padding: 50px 0 0;
	}
	.kontakt_links ul li.title {
		margin-bottom: 0.3rem;
	}
	#fuenf iframe {
		height: 300px;
	}
	
	/* ---- Footer ---- */
	footer li {
		font-size: 90%;
	}

}

/* ++++ Breite 651-940px +++++++++++++++++++++++ */
@media screen and (min-width:651px) and (max-width:940px) {
	
	#topnav {
		display: none;
	}
	
	#topnav .sprache li {
		display: none;
	}
	
	#topheader {
		height: 91px;
	}
	h1 {
		max-width: 60%;
		font-size: 22px;
	}
	h1 a {
		position: absolute;
		z-index: 500;
		height: 80px;
		width: 170px;
	}
	#page-container {
		position: relative;
		min-height: 100vh;
	}
	#page-container {
		position: relative;
		min-height: 100vh;
	}
	footer.fixed {
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 70px;
	}
	.datenschutz, .impressum {
		padding-bottom: 70px;
	}


	/* ---- MOBIL NAVI NEU ----*/

	.centered-navigation {
	  min-height: 60px;
	  z-index: 9999; 
	  text-align: right;
	}

	.centered-navigation .centered-navigation-mobile-menu {
	  color: #fff;
	  line-height: 60px;
	  margin: 0;
	  text-decoration: none;
	  display: block;
	  padding-bottom: 12px;
	}  
		 
	.centered-navigation .centered-navigation-wrapper:after {
	  content: "";
	  display: table;
	  clear: both; }

	.centered-navigation ul.centered-navigation-menu {
	  -webkit-transform-style: preserve-3d;
	  clear: both;
	  display: none;
	  margin: 0 auto;
	  overflow: visible;
	  padding: 0;
	  width: 100%;
	  z-index: 99999; }


	.centered-navigation ul li.nav-link {
	  /*background: rgb(50,50,50);*/
	  background: #465FB9;
	  display: block;
	  line-height: 60px;
	  overflow: hidden;
	  text-align: center;
	  width: 100%;
	  z-index: 9999;
	  border-bottom: 1px solid #fff;
	 }
	 
	.centered-navigation ul li.nav-link:last-of-type {
		border-bottom: 0px;
	}

	  
	.centered-navigation ul li.nav-link a {
	  color: #fff;
	  display: block;
	  outline: none;
	  text-decoration: none; 
	}

	.centered-navigation ul li.nav-link a:focus, 
	.centered-navigation ul li.nav-link a:hover {
		/*background-color: rgb(40,40,40);*/
		background: #fff;
		color: #465FB9;
	}
	  
	.centered-navigation li.logo.nav-link {
	  display: none;
	  line-height: 0; 
	}

	
	/* ---- Imgheader desktop ----- */
	
	#imgheader .textwrap {
		background-color: #fff;
		width: 350px;
		height: 300px;
		padding: 35px;
		border-radius: 20px;
		text-align: center;
	}
	#imgheader .container {
		height: 560px;
		padding: 160px 0 100px;
	}

	/* ---- galerie desktop -------- */
	ul.galerie li:nth-of-type(3) {
		margin-right: 0;
	}

	ul.galerie li:nth-of-type(6) {
		margin-right: 0;
	}
	#fuenf iframe {
		height: 450px;
	}
}

/* ++++ DESKTOP +++++++++++++++++++++++ */
/* ++++ DESKTOP +++++++++++++++++++++++ */
/* ++++ DESKTOP +++++++++++++++++++++++ */

@media screen and (min-width:941px) {
	
	.centered-navigation {
		display: none;
	}
	
	/* ---- Navigation desktop ---- */
	#topnav {
		position: absolute;
		bottom: 0px;
		right: 0px;
	}
	#topnav ul {
		list-style: none;
	}
	#topnav ul li {
		display: inline;
	}
	#topnav ul li a {
		text-decoration: none;
		color: #fff;
		float: left;
		padding: 0.6rem 1.5rem 0.4rem 1.5rem;
		margin-left: 1rem;
		text-transform: uppercase;
		line-height: 2.5rem;
		font-family: 'Ubuntu', sans-serif;
		font-weight: 500;
		letter-spacing: 0.08rem;
		transition: all 0.4s;
	}
	#topnav ul.navi li:nth-of-type(1) a:hover{
		background: #465FB9;
		border-radius: 15px;
		transform: translateY(10px);
	}
	
	#topnav ul.navi li:nth-of-type(2) a:hover{
		background: #51A04B;
		border-radius: 15px;
		transform: translateY(10px);
	}
	
	#topnav ul.navi li:nth-of-type(3) a:hover {
		background: #F0D400;
		border-radius: 15px;
		transform: translateY(10px);
	}
	#topnav ul.navi li:nth-of-type(4) a:hover{
		background: #465FB9;
		border-radius: 15px;
		transform: translateY(10px);
	}
	
	/* ---- Sprache ----*/
	.sprache {
		position: absolute;
		right: 0;
		bottom: 40px;
		padding-right: 1.8rem;
	}
	
	#topnav .sprache li {
		padding: 0.2rem;
		font-family: 'Ubuntu', sans-serif;
		font-weight: 500;
		color: #fff;
		font-size: 0.6rem;
		letter-spacing: 0.02rem;
	}

	#topnav .sprache li a {
		padding: 0rem;
		margin: 0;
		font-family: 'Ubuntu', sans-serif;
		font-weight: 500;
		color: #fff;
		font-size: 0.6rem;
		float: none;
		letter-spacing: 0.02rem;
	}

	#topnav .sprache li a:hover {
		text-decoration: underline;
		transform: none;
		border-radius: 5px;
	}
	
	/* ---- Imgheader desktop ----- */
	
	#imgheader .textwrap {
		background-color: #fff;
		width: 350px;
		height: 300px;
		padding: 35px;
		border-radius: 20px;
		text-align: center;
	}
	#imgheader .container {
		height: 560px;
		padding: 160px 0 100px;
	}

	/* ---- galerie desktop -------- */
	ul.galerie li:nth-of-type(3) {
		margin-right: 0;
	}
	ul.galerie li:nth-of-type(6) {
		margin-right: 0;
	}
	
	/* ---- footer desktop impressum tiedostot -------- */
	footer.fixed {
		position: fixed;
		left: 0;
		bottom: 0;
	}
}

