@font-face {
    font-family: 'arialregular';
    src: url('../fonts/Arial_Regular.eot');
    src: url('../fonts/Arial_Regular.eot?#iefix') format('eot'),
         url('../fonts/Arial_Regular.woff2') format('woff2'),
         url('../fonts/Arial_Regular.woff') format('woff'),
         url('../fonts/Arial_Regular.ttf') format('truetype'),
         url('../fonts/Arial_Regular.svg#arialregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arialbold';
    src: url('../fonts/Arial_Bold.eot');
    src: url('../fonts/Arial_Bold.eot?#iefix') format('eot'),
         url('../fonts/Arial_Bold.woff2') format('woff2'),
         url('../fonts/Arial_Bold.woff') format('woff'),
         url('../fonts/Arial_Bold.ttf') format('truetype'),
         url('../fonts/Arial_Bold.svg#arialbold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'arialbold_italic';
    src: url('../fonts/Arial_Bold_Italic.eot');
    src: url('../fonts/Arial_Bold_Italic.eot?#iefix') format('eot'),
         url('../fonts/Arial_Bold_Italic.woff2') format('woff2'),
         url('../fonts/Arial_Bold_Italic.woff') format('woff'),
         url('../fonts/Arial_Bold_Italic.ttf') format('truetype'),
         url('../fonts/Arial_Bold_Italic.svg#arialbold_italic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'arialitalic';
    src: url('../fonts/Arial_Italic.eot');
    src: url('../fonts/Arial_Italic.eot?#iefix') format('eot'),
         url('../fonts/Arial_Italic.woff2') format('woff2'),
         url('../fonts/Arial_Italic.woff') format('woff'),
         url('../fonts/Arial_Italic.ttf') format('truetype'),
         url('../fonts/Arial_Italic.svg#arialitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'comfortaabold';
    src: url('../fonts/Comfortaa_Bold.eot');
    src: url('../fonts/Comfortaa_Bold.eot?#iefix') format('eot'),
         url('../fonts/Comfortaa_Bold.woff2') format('woff2'),
         url('../fonts/Comfortaa_Bold.woff') format('woff'),
         url('../fonts/Comfortaa_Bold.ttf') format('truetype'),
         url('../fonts/Comfortaa_Bold.svg#comfortaabold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'comfortaaregular';
    src: url('../fonts/Comfortaa_Regular.eot');
    src: url('../fonts/Comfortaa_Regular.eot?#iefix') format('eot'),
         url('../fonts/Comfortaa_Regular.woff2') format('woff2'),
         url('../fonts/Comfortaa_Regular.woff') format('woff'),
         url('../fonts/Comfortaa_Regular.ttf') format('truetype'),
         url('../fonts/Comfortaa_Regular.svg#comfortaaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'comfortaaregular';
    src: url('../fonts/Comfortaa_Regular.eot');
    src: url('../fonts/Comfortaa_Regular.eot?#iefix') format('eot'),
         url('../fonts/Comfortaa_Regular.woff2') format('woff2'),
         url('../fonts/Comfortaa_Regular.woff') format('woff'),
         url('../fonts/Comfortaa_Regular.ttf') format('truetype'),
         url('../fonts/Comfortaa_Regular.svg#comfortaaregular') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'comfortaathin';
    src: url('../fonts/Comfortaa_Thin.eot');
    src: url('../fonts/Comfortaa_Thin.eot?#iefix') format('eot'),
         url('../fonts/Comfortaa_Thin.woff2') format('woff2'),
         url('../fonts/Comfortaa_Thin.woff') format('woff'),
         url('../fonts/Comfortaa_Thin.ttf') format('truetype'),
         url('../fonts/Comfortaa_Thin.svg#comfortaathin') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dancing_script_otregular';
    src: url('../fonts/DancingScript-Regular.eot');
    src: url('../fonts/DancingScript-Regular.eot?#iefix') format('eot'),
         url('../fonts/DancingScript-Regular.woff2') format('woff2'),
         url('../fonts/DancingScript-Regular.woff') format('woff'),
         url('../fonts/DancingScript-Regular.ttf') format('truetype'),
         url('../fonts/DancingScript-Regular.svg#dancing_script_otregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	margin: 0 auto;
	padding: 0;
	background-color: #ccc;
    background-image: url('../images/siteBg.jpg');
    background-attachment: fixed;
    background-size: cover;
	background-position: center top;
	font-family: 'comfortaaregular', 'arialregular', sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #000;
}

h1, h2, h3, h4 {
	font-family: 'dancing_script_otregular', serif;
	font-weight: normal;
	color: #CE992A;
	margin-bottom: 20px;
}

h1 {
	font-size: 16px;
	line-height: 22px;
}

h2 {
	font-size: 14px;
	line-height: 20px;
}

h3 {
	font-size: 12px;
	line-height: 18px;
}

h4 {
	font-size: 10px;
	line-height: 16px;
}

hr {
	margin: 20px 0;
	border: none;
	border-top: 1px solid rgba(206,153,42,0.5) !important;
}

b {
	font-weight: bold;
}

i {
	font-family: 'arialitalic', sans-serif;
	font-style: italic;
}

fieldset {
	margin: 0;
	padding: 0 0 0 10px;
	border: 1px solid rgba(206,153,42,0.5);
}

legend {
	font-family: 'dancing_script_otregular', serif;
	font-size: 14px;
	font-weight: normal;
	color: #CE992A;
}

textarea, input {
	font-family: 'comfortaaregular', sans-serif;
	font-size: 14px;
	color: #333;
}

#wrapper {
	margin: 0 auto;
	padding: 10px;
	max-width: 940px;
	min-height: 740px;
	background-position: center;
}

#header {
	margin: 0 auto 10px auto;
	padding: 10px;
	max-width: 930px;
	height: 100px;
	text-align: left;
	background-color: rgba(255,255,255,0.5);
}

#header span {
	display: none;
}

#navigation {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #fff;
}

#navigation ul {
	margin: 0;
	padding: 0;
}

#navigation ul li {
	list-style-type: none;
	float: left;
}

#navigation ul li a {
	padding: 5px 15px;
	display: block;
	float: left;
	font-family: 'comfortaaregular', sans-serif;
	font-size: 16px;
	line-height: 18px;
	color: #333;
	text-decoration: none;
	background-color: #D6D6D6;
	border-right: 1px solid rgba(206,153,42,0.5);
}

#navigation ul li:last-child a {
	border-right: none;
}

#navigation ul li a:hover {
	background-color: rgba(228,206,50,0.8);
}

#navigation ul li a.active {
	background-color: #fff;
	color: #000;
	border-right: 1px solid #fff;
}

#content {
	margin: 0;
	padding: 10px;
	max-width: 940px;
	min-height: 530px;
	height: 100%;
	background-color: #fff;
	display: -webkit-flex; /* Safari */
	display: -ms-flex; /* IE 10 */
	-webkit-box-sizing: border-box; /* Safari, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	display: flex;
}

#leftCol {
	margin: 0 20px 0 0;
	padding: 10px 20px 10px 10px;
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
	float: left; /* IE 8 */
	-webkit-box-sizing: border-box; /* Safari, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	max-width: 60%;
	height: 100%;
}

#leftCol ul li {
	margin-left: -20px;
	list-style-image: url(../images/listStyleImg.png);
}

#leftCol ul li:first-child {
	margin-left: -40px;
	list-style-type: none;
	list-style-image: none;
}

#contact {
	font-family: 'arialregular', sans-serif;
	margin-bottom: 30px;
}

#contactForm {
	max-width: 400px;
	width: 100%;
}


#rightCol {
	margin: 0;
	padding: 10px;
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
	float: left; /* IE 8 */
	-webkit-box-sizing: border-box; /* Safari, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	max-width: 35%;
	height: 100%;
}
	
#banner {
	width: 150px;
	height: 75px;
	float: left;
	margin-bottom: 20px;
}

#footer {
	margin: 10px 0 0 0;
	padding: 5px 0;
	max-width: 940px;
	height: auto;
	color: #333;
	text-align: center;
	background-color: rgba(255,255,255,0.5);
}

iframe {
	max-width: 450px;
	width: 100%;
	height: 200px;
	border: 1px solid rgba(206,153,42,0.5);
}

.img {
	max-width: 100%;
}

.clear {
	clear: both;
}

.clearRight {
	clear: right;
}

.keywords {
	font-size: 12px;
}

.mandatory {
	color: #f00;
}

/* Näkymille, joiden leveys on 790-930px */

@media (min-width: 790px) and (max-width: 930px) {
 
    #wrapper {
		width: 770px;
	}
	
	#navigation ul li a {
        padding: 5px;
    }
	
	#banneri {
		width: 150px;
		height: 75px;
	}
	
	.siteImg {
		width: 240px;
		height: 360px;
	}
}

/* Näkymille, joiden leveys on 600-789px */

@media (min-width: 600px) and (max-width: 789px) {
 
    #wrapper {
		padding: 0;
		width: 570px;
	}
	
	#header {
		margin: 0;
		padding: 5px;
		width: 560px;
		height: auto;
		text-align: center;
	}
	
	#header img {
		width: 190px;
		height: 66px;
	}
	
	#navigation ul li {
		float: none;
	}
    
    #navigation ul li a {
        text-align: center;
		float: none;
        border-right: none;
		border-bottom: 1px solid rgba(206,153,42,0.5);
    }
    
	#navigation ul li:first-child a {
		border-top: 1px solid rgba(206,153,42,0.5);
	}
	
	#leftCol {
		margin: 0 10px 0 0;
		padding: 0;
	}
	
	#rightCol {
		margin: 0;
		padding: 10px 0 0 0;
	}
	
	.siteImg {
		max-width: 200px;
		max-height: 300px;
	}
	
    #footer {
		margin: 0;
		padding: 1px 0;
		width: 100%;
    }
}

/* Näkymille, joiden leveys on alle 599px */

@media (max-width: 599px) {
	
	#wrapper {
		padding: 0;
		max-width: 599px;
	}
	
	#header {
		margin: 0;
		padding: 5px 0;
		width: 100%;
		height: auto;
		text-align: center;
	}
	
	#header img {
		width: 190px;
		height: 66px;
	}
	
	#navigation ul li {
		float: none;
	}
    
    #navigation ul li a {
        text-align: center;
		float: none;
        border-right: none;
		border-bottom: 1px solid rgba(206,153,42,0.5);
    }
    
	#navigation ul li:first-child a {
		border-top: 1px solid rgba(206,153,42,0.5);
	}
	
	#content {
		margin: 0;
		padding: 0 0 0 10px;
		max-width: 589px;
		display: block;
	}
	
    #leftCol {
		margin: 0 auto;
        padding: 10px 0;
		max-width: 579px;
		flex: 0;
		float: none;
		border-bottom: 1px solid rgba(206,153,42,0.5);
		background-position: center;		
    }
    
	fieldset {
		width: 50%;
	}
	
	iframe {
		width: 299px;
	}
	
	#rightCol {
		margin: 0;
		padding: 10px 0;
		flex: 0;
		float: none;
		max-width: 584px;
	}
	
	.siteImg {
		background-position: center;
		max-width: 213px;
		max-height: 320px;
	}
		
    #footer {
		margin: 0;
		padding: 1px 0;
		width: 100%;
    }
}
