body {
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #f6f6f6;
	background-image:url(/templates/esh/img/bg_page.jpg);
	background-repeat: repeat-x;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	/* 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 */
	color: #000205;
	/* line-height: 17px; */
}

h1 { 
	color: #4C3327; 
	font-size: 21px; 
	font-weight: bold;
	margin: 0;
	padding: 0 0 0 0;
}

p {
	padding: 0;
	margin-top: 1em;
}

h2 { 
	color: #4C3327; 
	font-size: 17px; 
	font-weight: bold;
	margin: 0;
	padding: 12px 0 5px 0;
}

a { 	
	/*color: #DDBED1; */
	color: #C896B5;
	text-decoration: none; 
}

a:link { 
	color: #C896B5;
	text-decoration: none; 
}

a:visited { 
	color: #C896B5;
	text-decoration: none; 
}

a:hover { 
	color: #4C3327;
	text-decoration: underline;
}

#container { 
	width: 800px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */	
	/* margin: 0 auto; */
	/* border: 1px solid red; */
	text-align: left; /* this overrides the text-align: center on the body element. */
	padding: 10px 0 0 20px; 
} 

#langNav {
	width: 783px;
	text-align: right;
}

#langNav a, #langNav a:link, #langNav a:visited {
	color: #000205;
	font-weight: bold;
}

#langNav a:hover { 
	text-decoration: none; 
}

#header {
	width: 769px; /* 800- shadows */
	margin: 0; 
	padding: 11px 0 0 14px;
	/* border: solid 1px red; */
} 

#header 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 */
}

#logo {
	float: left;
}

.topImg {
	float: left;
	padding: 0 0 0 9px;	
}

#topRightImg {
	float: right;
	margin: 0;
}

#navAndContent{
	margin: 0;
	padding: 0;
	background-image: url(/templates/esh/img/bg_navandcontent.jpg);
	background-repeat: repeat-y; 
	/* border: solid 1px pink; */
}

#topShadow {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 12px;
	background-image: url(/templates/esh/img/bg_topshadow.jpg);
	background-repeat: no-repeat;
	font-size: 1px;
}

#leftShadow {
	float: left;
	width: 14px;
	height: 214px;
	background-image: url(/templates/esh/img/bg_leftshadow.jpg);
	background-repeat: no-repeat;
	/* border: solid 1px black; */
}

#rightShadow {
	float: right;
	width: 18px;
	height: 214px;
	background-image:url(/templates/esh/img/bg_rightshadow.jpg);
	background-repeat: no-repeat;
	/* border: solid 1px black; */
}

#bottomShadow {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 17px;
	background-image: url(/templates/esh/img/bg_bottomshadow.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	/* border: solid 1px white; */
}

#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 240px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */	
	padding: 0 35px 10px 7px;
	/* border: solid 1px blue; */
}

.mainNavLink{
	width: 213px; /* navipalkin leveys 240px; */
	/* height: 15px; */
	background-color: #ebeaeb;
	padding: 4px 0 4px 27px;
	margin: 5px 0 0 0;
}

.mainNavLink a, .mainNavLink a:link, .mainNavLink a:visited {
	color: #000205;
	font-weight: bold;
}

.mainNavLink a:hover { 
	text-decoration: none; 
}

.mainNavLinkSelected{
	width: 213px;
	background-color: #4c3327;
	padding: 4px 0 4px 27px;
	margin: 5px 0 0 0;
}

.mainNavLinkSelected a, .mainNavLinkSelected a:link, .mainNavLinkSelected a:visited {
	color: #ffffff;
	font-weight: bold;
}

.mainNavLinkSelected a:hover { 
	text-decoration: none; 
}

.subNavLink {
	padding: 4px 0 0 34px;
}


.subNavLink a, .subNavLink a:link, .subNavLink a:visited {
	color: #000205;
	font-weight: bold;
}

.subNavLink a:hover { 
	/*color: #DDBED1;*/
	color: #C896B5;
	text-decoration: none; 
}

#mainContent { 
	float: left;
	/* margin: 0 0 0 305px;  the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 25px 0 15px 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	/* border: solid 1px green; */
	width: 460px;
} 

.frontboxes {
	
}

.frontbox {	
	width: 184px; /* leveys 214px */
	padding: 17px 10px 20px 20px;
	vertical-align: top;
	color: #4c3327;
	background-color: #ddbed1;
}

.frontbox h1 {
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 0px;
}

.frontbox p {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.frontbox a, .frontbox a:link, .frontbox a:visited {
	color: #4c3327;
}

.frontboxCenter {
	width: 22px;
	padding: 0;
}

#footer { 
	text-align: right;
	padding: 0 18px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	color: #485152;
} 

#footer 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: 0 0 0 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#footer a, #footer a:link, #footer a:visited {
	color: #485152;
}

#footer a:hover { 
	color: #485152;
	text-decoration: none; 
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
