@charset "utf-8";
/* CSS Document */

/* ===== Primary Styles ========================================================
   Author: Joni Kantonen (joni.kantonen@gmail.com)
   ========================================================================== */

	::-moz-selection { background: #d7181e; color: #fff; text-shadow: none; }
	::selection { background: #d7181e; color: #fff; text-shadow: none; }
    html { padding: 30px 10px; font-size: 14pt; line-height: 1.4; background: #f0f0f0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
    html, input { font-family: Arial, sans-serif; }
    body { max-width: 500px; _width: 500px; padding: 30px 20px 50px; border: 1px solid #b3b3b3; border-radius: 4px; margin: 0 auto; box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff; background: #fcfcfc; }
    h1 { margin: 0 10px; font-size: 50px; text-align: center; }
    h1 span { color: #bbb; }
    h3 { margin: 1.5em 0 0.5em; }
    p { margin: 1em 0; }
    ul { padding: 0 0 0 40px; margin: 1em 0; }

	/* CSS Menu */
	#cssmenu ul {margin: 0; padding: 7px 6px 0; background: #7d7d7d url(../img/overlay.png) repeat-x 0 -110px; line-height: 100%; border-radius: 1em; font: normal .8em/1.5em Arial, Helvetica, sans-serif; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4); -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);}
	#cssmenu li {margin: 0 0px; padding: 0 0 8px; float: left; position: relative; list-style: none; }
	#cssmenu a,
	#cssmenu a:link {font-weight: bold; color: #e7e5e5; text-decoration: none; display: block; padding:  8px 12px; margin: 0; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;	 text-shadow: 0 1px 1px rgba(0,0,0, .3); }
	#cssmenu a:hover {background: #000; color: #fff;}
	#cssmenu .active a, 
	#cssmenu li:hover > a {background: #ddd url(../img/overlay.png) repeat-x 0 -40px; color: #444; border-top: solid 1px #f8f8f8; -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2); -moz-box-shadow: 0 1px 1px rgba(0,0,0, .2); box-shadow: 0 1px 1px rgba(0,0,0, .2); text-shadow: 0 1px 0 rgba(255,255,255, 1); }
	#cssmenu .active a { color: #aaa; }
	#cssmenu ul ul li:hover a,
	#cssmenu li:hover li a {background: none; border: none; color: #666; -webkit-box-shadow: none; -moz-box-shadow: none;}
	#cssmenu ul ul a:hover {background: #8f8f8f url(../img/overlay.png) repeat-x 0 -100px !important; color: #fff !important; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; text-shadow: 0 1px 1px rgba(0,0,0, .1);}
	#cssmenu li:hover > ul {display: block;}
	#cssmenu ul ul {display: none; margin: 0; padding: 0; width: 185px; position: absolute; top: 40px; left: 0; background: #ddd url(../img/overlay.png) repeat-x 0 0; border: solid 1px #b4b4b4; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3); -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3); box-shadow: 0 1px 3px rgba(0,0,0, .3);}
	#cssmenu ul ul li {float: none; margin: 0; padding: 3px; }
	#cssmenu ul ul a {font-weight: normal; text-shadow: 0 1px 0 #fff; }
	#cssmenu ul:after {content: '.'; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
	* html #cssmenu  ul {height: 1%;}



html {
	color: #bbb; 
	font-family: Arial, sans-serif;
	background-color: #0d0d0d;
	background-image: url(../img/back.jpg);
	background-repeat: repeat;
}


body {
	max-width: 1200px;
	padding: 30px 30px 50px;
	border: 1px solid #b3b3b3;
	border-radius: 4px;
	margin: 0 auto;
	box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
	background: #240a0a;
}

header div#greybar {
	position: absolute;
	float: left;
	width: 380px;
	margin: 0;
	margin-top: 10px;
	margin-left: 280px;
	height: 40px;
	background: #ddd;
	z-index: 9;
}

header div#8px 15px {
	position: absolute;
	float:left;
	width: 510px;
	margin: 0;
	margin-top: 10px;
	margin-left: 150px;
	height: 40px;
	background: #ddd;
	z-index: 9;
}
header div#logo {
	float: left;
	position: relative;
	height: 36px;
	margin: 0;
	font-size: 50px;
	text-align: center;
	background-color: #d7181e;	/* Original */
	background-image: url(../img/logo_gradient_red.png);
	background-repeat: repeat-x;
	color: #ccc;
	display: inline;
	padding: 10px 30px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 9;
}
header div#logo a {
	text-decoration: none;
	color: #ccc;
}
header div#logo a:hover {
	text-decoration: underline;
	color: #ccc;
}

header div#cssmenu {
	float: right;
	position: relative;
	margin: 0;
	padding: 0;
	z-index: 9;
}

h1, h2 {
	font-size: 20pt;
}
h1 { color: white; }
p { margin: 1em 0; }

a {
	color: white;
}
a:visited {
	color: #888;
}

div#main {
	clear:both;
	border-left: 1px solid #240a0a;
	border-right: 1px solid #240a0a;
	overflow: hidden;
	padding: 20px 0px 50px;
	text-align:justify;
	
}
div#main h2 {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 30px;
}
div#photo_content {
	overflow:hidden;
	float:right;
}
div#photos img.hidden {
	display:none;
}
div#photos img.active {
	width:400px;
	border:1px solid black;	
	display:block;
}
div#photos {
	border: 1px solid #ccc;
	padding: 20px;	
	overflow:hidden;
	margin-left: 20px;
}
span#phototext {
	float:right;
	display:block;
	font-size: 10pt;
}

div#text_content {
	border: 1px solid #ccc;
	padding: 0px;
	overflow: hidden;
}
div#text_content div.text {
	padding: 20px;
	overflow: hidden; 
	text-align: right;
	height: 336px;
}

div#main img.logo {
	float:left;
	padding-right: 40px;
	padding-bottom: 2px;
	height: 110px;
}

footer {
	clear:both;
	color: #ccc;
	overflow: hidden;
	height: 100px;
	background-color: #330402;
	border: 1px solid #000;
}
footer div {
	text-align: center;
	color: #ccc;
}
footer div img {
	float:left;
	height: 80px;
	margin-left: 10px;
}
footer div h3 {
	margin: 10px;
	font-size: 12pt;
}
footer div#contact {
	width: 800px;
	overflow:hidden;
	margin:auto;
	text-align:center;
}
footer div#contact ul {
	font-size: 9pt;
	font-weight: normal;
	margin: 0px 15px;
	float: left;
	color: #ccc;
}
footer a {
	color: white;
}
footer a:visited {
	color: #888;
}
footer div#contact ul.punainen {
	background:#d91920;
	padding: 10px 30px;
	color: #ccc;
	font-weight: bold;
}
footer div#contact ul li {
	list-style:none;
}



/* Layouts for different screens */

/*		Default Layout: 992px. */
body {
	max-width: 1032px;
	padding: 30px;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}


/* SLIDESHOW */

#slideshow_outer {
	width:1030px;
	overflow:hidden;
}

#slideshow {
	float: left;
	border: solid 1px #333333;
	overflow: hidden;
	position: relative;
	margin-bottom: 10px;
	clear: both;
}

#slideshow #navWrapper {
	position: absolute;
	top: 0;
	left: 0;
	height: 10px;
	padding: 15px 10px 0px 10px;
	z-index: 11;
	text-align: center;
}

#slideshow #nav {
	margin: 0 auto;
	width: 160px;
	height: 10px;
	z-index: 11;
	position: relative;
}

#slideshow #nav a {
	float: left;
	width: 7px;
	height: 7px;
	background-color: transparent;
	background-image: url('../img/slideshow_menu.png');
	background-repeat: no-repeat;
	background-position: right top;
	font-size: 0;
	line-height: 0;
	z-index: 11;
	position: relative;
	margin: 0px 15px 0px 0px;
}

#slideshow #nav a.activeSlide {
	background-position: left top;
}

#slideshow #slides {
	float: left;
	width: 1030px;
	height: 300px;
}

#slideshow #teksti_kuvanpaalla {
	position: absolute;
	top: 0px;
	left: 0;
	width: 551px;
	height: 149px;
	z-index: 10;
	padding: 10px 30px 0px 50px;
	/*background-image: url('../img/slideshow_text.png');*/
	background-position: left top;
	background-repeat: no-repeat;
}

#slideshow #teksti_kuvanpaalla .isoteksti {
	float: left;
	width: 100%;
	padding-bottom: 5px;
	color: #ffffff;
	font-size: 230%;
	line-height: 32px;
	font-family: Georgia;
}

a#prev {
	position: absolute;
	top: 135px;
	left: 0;
	width: 29px;
	height: 48px;
	z-index: 15;
	background-image: url('../img/prev.gif');
	background-position: left top;
	background-repeat: no-repeat;
}

#slideshow a:hover {
	background-position: left -48px;
}

a#next {
	position: absolute;
	top: 135px;
	right: 0;
	width: 29px;
	height: 48px;
	z-index: 15;
	background-image: url('../img/next.gif');
	background-position: left top;
	background-repeat: no-repeat;
}