@charset "utf-8";
/* CSS Document */

body {
	background: #333333 /* url("images/tile_bg_cc_t1.jpg") repeat top center*/;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	font-family: monospace, serif;
	font-size: 62.5% /*= 10px*/;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

#container {
	width: 780px;
	background: #333 /* url("images/tile_bg_cc_t1.jpg") repeat top center*/;
/*	background: #cccccc;*/
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: center; /* this overrides the text-align: center on the body element. */
}

#header { 
	background: url("images/NameJanneTervonen.png") no-repeat top left;
	padding: 0 0 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	min-height: 120px;
	max-height: 120px;
	min-width: 790px;
	border: 0px solid #ffffff;
} 

#mainContent {
	padding: 0 50px 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
/*	background: #cccccc;*/
	min-height: 540px;
	max-height: 545px;
	min-width:710px;
	text-align:left;
	overflow: auto;
	border: 0px solid #ff0000;
}

#footer { 
	padding: 0 0 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	min-height: 136px;
	max-height: 136px;
	width: 790px;
	border: 0px solid #ffff00;
}

#title {
	margin: 9px auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#disclaimer {
	float: left;
	}

#flashcontent {
width: 710px; 
height:500px;
}

/* navigation */
#navContainer, #navContainerB {
	position: relative;
	width:100%;
	top: 0;
	margin: 0 0 0 10px;
	padding: 0;
}
#navContainer ul, #navContainerB ul {
	margin: 0 0 0 0px;
	padding: 0;
	list-style-type: none;
	text-align: center;
}
#navContainer ul li, #navContainerB ul li {
	padding: 0;
	margin: 0;
	display: block;
	float: left;
	text-align: center;
}
 span{
	display: none;
}
#navContainer ul li a {
	padding: 0;
	margin: 90px 42px 0 0;
	display: block;
	text-decoration: none;
	text-align: center;
}
#navContainerB ul li a {
	padding: 0;
	margin: 25px 22px 0 0;
	display: block;
	width: 125px;
	height: 80px;
	text-decoration: none;
	text-align: center;
}

html {/*only works for IE6 and higher*/
scrollbar-base-color:#333333;
scrollbar-track-color:#DDD;
}

/* Content Main Page*/
#frontImage {
/*	background:url("images/janne_tervonen_pic.jpg") center center no-repeat; ** this picture replaces the flash slide show on the front page */
	margin: auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: center; /* this overrides the text-align: center on the body element. */
	min-height:500px;
}

#slideShow {
	margin: auto; /* the auto margins (in conjunction with a width) center the page */
	padding: 20px 0 0 0;
	text-align: center; /* this overrides the text-align: center on the body element. */
	min-height:500px;
}

/* Content Contact Page */
#leftCollContact {
	float:left;
	marging: 0;
	padding: 0;
	text-align:left;
}
#rightCollContact {
	float:left;
	marging: 0;
	padding: 0 0 0 40px;
}
#gallery {
	text-align:center;
}

/* typography */
h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	font-size: 2.0em;
}
p, #mainContent td , #rightCollContact td{
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-size: 1.5em;
	font-weight:700;
}

table {
border: 0;
width: 730px;
text-align:center;
margin:0;
padding:0;
}

th {
	font-size:2.0em;
	font-weight: 900;
}

li {
	font-size: 1.5em;
	font-weight:700;
}

a	{
	text-decoration:underline;
	color: #000000;
}

td > a{
	text-decoration:none;
}

#disclaimer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0 0 10px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-size: 1.0em;
	text-align:left;
}

img {
	border:0;
}
